/* ============================================================
   TÉTHYS — contactos
   ============================================================ */

.contactos-page .therapy-hero-inner {
  width: min(100%, 22rem);
}

.contactos-page .therapy-hero-panel h1 {
  margin-top: auto;
  margin-bottom: auto;
  text-align: left;
}

.contactos-info {
  align-items: stretch;
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr);
  gap: 0;
  background: #dac7ba;
  color: #7a4e56;
  padding-top: clamp(4rem, 7vw, 7rem);
  padding-bottom: clamp(4rem, 7vw, 7rem);
  padding-left: 0;
  padding-right: 0;
}

.contactos-details {
  width: 100%;
  justify-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
  height: 100%;
  padding: 0 clamp(2.4rem, 5vw, 5rem);
}

.contactos-details h2 {
  color: #7a4e56;
  margin-bottom: 0;
}

.contactos-form-card > .therapy-loc-label,
.contactos-details .therapy-loc-label {
  color: #7a4e56;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contactos-details .therapy-loc-city {
  color: rgba(122,78,86,0.62);
}

.contactos-details .therapy-info-row {
  border-color: rgba(122,78,86,0.22);
}

.contactos-details .therapy-info-row:last-of-type {
  border-bottom: 1px solid rgba(122,78,86,0.22);
}

.contactos-details .therapy-info-row span:first-child {
  color: rgba(122,78,86,0.68);
}

.contactos-channel {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.contactos-channel img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  filter: invert(36%) sepia(13%) saturate(1184%) hue-rotate(294deg) brightness(83%) contrast(83%);
  opacity: 1;
}

.contactos-details .therapy-info-row span:last-child,
.contactos-details .therapy-info-row a,
.contactos-info .therapy-loc-text,
.contactos-info .therapy-loc-place p:not(.therapy-loc-city) {
  color: #7a4e56;
}

.contactos-details .therapy-info-row:first-of-type {
  margin-top: -0.5rem;
}

.contactos-details .therapy-loc-block {
  padding-top: 0.25rem;
}

.contactos-details .therapy-loc-divider {
  background: rgba(122,78,86,0.22);
}

.contactos-form-card {
  width: min(100%, 44rem);
  justify-self: end;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-right: clamp(2.4rem, 5vw, 5rem);
}

.contactos-form {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
  flex: 1;
}

.contactos-field {
  display: grid;
  gap: 0.42rem;
}

.contactos-field label {
  color: rgba(122,78,86,0.62);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contactos-form input,
.contactos-form select,
.contactos-form textarea {
  width: 100%;
  border-color: rgba(122,78,86,0.18);
  border-style: solid;
  border-width: 1px;
  border-radius: 8px;
  background: rgba(250,242,225,0.58);
  color: #7a4e56;
  font-family: var(--font-b);
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.35;
  outline: none;
  min-height: 2.65rem;
  padding: 0.48rem 0.75rem;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.contactos-form input:focus,
.contactos-form select:focus,
.contactos-form textarea:focus {
  border-color: rgba(122,78,86,0.62);
  background: rgba(250,242,225,0.78);
}

.contactos-form textarea {
  min-height: 17rem;
  resize: vertical;
}

.contactos-form input::placeholder,
.contactos-form textarea::placeholder {
  color: rgba(122,78,86,0.48);
}

.contactos-form button {
  justify-self: start;
  background: #9e6f79;
  width: max-content;
  min-width: 13rem;
  border: 1px solid #9e6f79;
  border-radius: 999px;
  color: var(--cream);
  font-family: var(--font-b);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-top: 1.6rem;
  padding: 0.95rem 2rem;
  text-transform: none;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.contactos-form button:hover {
  background: #805259;
  border-color: #805259;
}

@media (max-width: 900px) {
  .contactos-info {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 1.5rem;
  }

  .contactos-form-card,
  .contactos-details {
    width: 100%;
    justify-self: stretch;
    margin-right: 0;
    padding: 0;
  }

  .contactos-form-card {
    order: 1;
  }

  .contactos-details {
    order: 2;
  }
}

@media (max-width: 600px) {
  .contactos-info {
    gap: 2.5rem;
    padding: 3rem 1.5rem;
  }

  .contactos-form {
    gap: 0.9rem;
  }

  .contactos-form textarea {
    min-height: 12rem;
  }

  .contactos-form button {
    width: 100%;
    justify-self: stretch;
    min-width: 0;
  }

  .contactos-details .therapy-info-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .contactos-details .therapy-info-row span:last-child {
    justify-self: start;
  }
}
