/* =========================================================================
   SaludAware — Site styles (multipágina)
   Construido sobre tokens.css + base.css.
   Reúne los componentes del "Template 04 — Patient First" y añade la
   navegación multipágina, cabeceras de página interior y las secciones
   propias de Servicios, Equipo, Planes y Contacto.

   NOTA WIX: todo el comportamiento de "reserva" es visual (mockup). En Wix
   Studio se sustituye por Wix Bookings / un formulario nativo.
   ========================================================================= */

/* ===== Navegación multipágina ============================================ */
.nav a.active { color: var(--sa-green); font-weight: 600; }

/* Botón hamburguesa (solo móvil) */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: #fff;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px;
  background: var(--sa-ink);
  border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú móvil desplegable */
.mobile-menu {
  display: none;
  border-bottom: 1px solid var(--border);
  background: rgba(244, 249, 249, 0.98);
  backdrop-filter: blur(14px);
}
.mobile-menu.open { display: block; }
.mobile-menu nav { display: flex; flex-direction: column; padding: 12px 0 20px; }
.mobile-menu a {
  font-family: var(--font-sans); font-size: 16px; color: var(--sa-ink);
  text-decoration: none; padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a.active { color: var(--sa-green); font-weight: 600; }
.mobile-menu .btn { margin-top: 18px; justify-content: center; }

/* ===== Cabecera de página interior (page hero) =========================== */
.page-hero {
  position: relative;
  padding: clamp(56px, 7vw, 104px) 0 clamp(40px, 5vw, 64px);
  overflow: hidden;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--border);
}
.page-hero__halftone {
  position: absolute; top: -30%; right: -12%;
  width: 55%; max-width: 720px;
  opacity: 0.35; pointer-events: none; z-index: 0;
}
.page-hero__inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: 0.98; letter-spacing: -0.028em;
  color: var(--sa-ink);
  margin: 20px 0 0; text-wrap: balance;
}
.page-hero h1 em { font-style: normal; color: var(--sa-green); }
.page-hero__lede {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.62; color: var(--fg-muted);
  max-width: 560px; margin: 22px 0 0;
}
/* ===== Píldora / chips reutilizables ===================================== */
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 11px;
  border-radius: var(--r-pill);
  background: var(--sa-green); color: var(--sa-cream);
  font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.hero-pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sa-green-light);
  box-shadow: 0 0 0 3px rgba(205, 222, 190, 0.3);
}
.trust-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; background: #fff;
  border: 1px solid var(--border); border-radius: var(--r-pill);
  font-family: var(--font-sans); font-size: 13px; color: var(--sa-ink);
}
.trust-chip img {
  width: 18px; height: 18px;
  filter: brightness(0) saturate(100%) invert(31%) sepia(15%) saturate(1428%) hue-rotate(125deg) brightness(94%) contrast(86%);
}

/* =========================================================================
   COMPONENTES DEL TEMPLATE 04 (reutilizados en varias páginas)
   ========================================================================= */

/* ---- HERO editorial de portada (home) ---------------------------------- */
.t4-hero { position: relative; padding: clamp(52px, 6.5vw, 104px) 0 clamp(44px, 5vw, 76px); overflow: hidden; }
.t4-hero__halftone { position: absolute; top: -12%; right: -16%; width: 68%; max-width: 980px; opacity: 0.42; pointer-events: none; z-index: 0; }
.t4-hero__iso { position: absolute; bottom: -22%; left: -8%; width: 460px; opacity: 0.05; pointer-events: none; z-index: 0; }
.t4-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(40px, 5vw, 84px); align-items: center; }
.t4-hero__pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 11px; border-radius: var(--r-pill);
  background: var(--sa-green); color: var(--sa-cream);
  font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 22px;
}
.t4-hero__pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sa-green-light); box-shadow: 0 0 0 3px rgba(205, 222, 190, 0.3); }
.t4-hero__title { font-family: var(--font-display); font-size: clamp(46px, 5.6vw, 94px); line-height: 0.97; letter-spacing: -0.028em; color: var(--sa-ink); margin: 0 0 24px; text-wrap: balance; }
.t4-hero__title em { font-style: normal; color: var(--sa-green); }
.t4-hero__lede { font-family: var(--font-sans); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.62; color: var(--fg-muted); max-width: 460px; margin: 0 0 30px; }
.t4-hero__trust { display: flex; flex-wrap: wrap; gap: 10px; }
.t4-trust-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-pill); font-family: var(--font-sans); font-size: 13px; color: var(--sa-ink); }
.t4-trust-chip img { width: 18px; height: 18px; filter: brightness(0) saturate(100%) invert(31%) sepia(15%) saturate(1428%) hue-rotate(125deg) brightness(94%) contrast(86%); }

/* ---- Foto del héroe (retrato Dr. Rodríguez) ---------------------------- */
.hero-portrait {
  position: relative; aspect-ratio: 4/5;
  border-radius: var(--r-2xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, var(--sa-green-light) 0%, var(--sa-green-100) 100%);
}
.hero-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,32,35,0.42) 0%, transparent 45%); z-index: 1; }
.hero-portrait__tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 15px; border-radius: var(--r-pill);
  background: rgba(244, 249, 249, 0.94); backdrop-filter: blur(8px);
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 500; color: var(--sa-ink);
}
.hero-portrait__tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sa-green); box-shadow: 0 0 0 4px rgba(41,96,91,0.18); }
.hero-portrait__sello { position: absolute; top: 18px; right: 18px; width: 84px; z-index: 2; }

/* ---- Widget de reserva premium (contacto / home) ----------------------- */
.h4-booking { position: relative; background: #fff; border-radius: var(--r-2xl); border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; }
.h4-booking::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--sa-green); z-index: 1; }
.h4-booking__form { padding: 26px; }
.h4-booking__head { display: flex; justify-content: space-between; align-items: center; padding: 2px 2px 16px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.h4-booking__head h3 { font-family: var(--font-display); font-size: 25px; letter-spacing: -0.015em; margin: 0; color: var(--sa-ink); font-weight: 400; }
.h4-booking__status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 11px; color: var(--sa-green); letter-spacing: 0.08em; text-transform: uppercase; }
.h4-booking__status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sa-green); box-shadow: 0 0 0 4px rgba(41,96,91,0.16); }
.h4-seg-row { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg); padding: 4px; border-radius: var(--r-pill); margin-bottom: 16px; }
.h4-seg { padding: 11px 16px; font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--fg-muted); border-radius: var(--r-pill); text-align: center; cursor: pointer; border: 0; background: transparent; transition: all var(--dur-fast) var(--ease-out); }
.h4-seg.active { background: var(--sa-green); color: var(--sa-cream); }
.h4-field { margin-bottom: 14px; }
.h4-field-label { font-family: var(--font-sans); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 8px; display: block; }
.h4-select {
  width: 100%; font-family: var(--font-sans); font-size: 15px; color: var(--sa-ink);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 13px 16px; outline: none; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2329605B' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.h4-select:focus { border-color: var(--sa-green); }
.h4-dates { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.h4-date { padding: 9px 4px 11px; text-align: center; background: var(--bg); border: 1px solid transparent; border-radius: var(--r-md); cursor: pointer; transition: all var(--dur-fast) var(--ease-out); }
.h4-date__dow { font-family: var(--font-sans); font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); display: block; margin-bottom: 5px; }
.h4-date__num { font-family: var(--font-display); font-size: 21px; color: var(--sa-ink); letter-spacing: -0.015em; display: block; line-height: 1; }
.h4-date.active { background: var(--sa-green); border-color: var(--sa-green); }
.h4-date.active .h4-date__dow, .h4-date.active .h4-date__num { color: var(--sa-cream); }
.h4-date.disabled { opacity: 0.42; cursor: not-allowed; text-decoration: line-through; text-decoration-color: var(--fg-subtle); }
.h4-date:not(.active):not(.disabled):hover { border-color: var(--sa-green); }
.h4-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 12px; }
.h4-time { padding: 9px 4px; text-align: center; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-pill); cursor: pointer; font-family: var(--font-mono); font-size: 12px; color: var(--sa-ink); transition: all var(--dur-fast) var(--ease-out); }
.h4-time.active { background: var(--sa-green); color: var(--sa-cream); border-color: var(--sa-green); }
.h4-time:not(.active):hover { border-color: var(--sa-green); }
.h4-booking__submit { width: 100%; margin-top: 20px; justify-content: center; }
.h4-booking__foot { text-align: center; margin-top: 12px; font-family: var(--font-sans); font-size: 12px; color: var(--fg-muted); }
.h4-booking__success { display: none; text-align: center; padding: 38px 26px; }
.h4-booking.is-done .h4-booking__form { display: none; }
.h4-booking.is-done .h4-booking__success { display: block; }
.h4-booking__success img { width: 64px; margin: 0 auto 18px; display: block; }
.h4-booking__success h3 { font-family: var(--font-display); font-size: 28px; font-weight: 400; letter-spacing: -0.015em; color: var(--sa-ink); margin: 0 0 8px; }
.h4-booking__success p { font-family: var(--font-sans); font-size: 14px; color: var(--fg-muted); margin: 0 auto 20px; max-width: 280px; line-height: 1.55; }
.h4-booking__success strong { color: var(--sa-green); }
.h4-booking__reset { background: none; border: 0; cursor: pointer; font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--sa-green); }

/* ---- Accesos rápidos --------------------------------------------------- */
.t4-quick { position: relative; z-index: 2; margin-top: 45px; margin-bottom: -50px; }
.t4-quick__bar { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--r-xl); background: #fff; overflow: hidden; box-shadow: var(--shadow-lg); }
.t4-quick__card { display: flex; gap: 13px; align-items: center; padding: 20px 22px; text-decoration: none; border-right: 1px solid var(--border); transition: background var(--dur-fast) var(--ease-out); cursor: pointer; }
.t4-quick__card:last-child { border-right: none; }
.t4-quick__card:hover { background: var(--sa-green-50); opacity: 1; }
.t4-quick__icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: var(--r-pill); background: var(--sa-green-100); display: flex; align-items: center; justify-content: center; }
.t4-quick__icon img { width: 22px; height: 22px; filter: brightness(0) saturate(100%) invert(31%) sepia(15%) saturate(1428%) hue-rotate(125deg) brightness(94%) contrast(86%); }
.t4-quick__txt { flex: 1; min-width: 0; }
.t4-quick__txt strong { display: block; font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: var(--sa-ink); line-height: 1.25; margin-bottom: 3px; }
.t4-quick__txt span { display: block; font-family: var(--font-sans); font-size: 12.5px; color: var(--fg-muted); line-height: 1.3; }

/* ---- Especialidades / Servicios (tarjetas) ----------------------------- */
.t4-spec { padding: clamp(64px, 8vw, 120px) 0; background: #fff; position: relative; }
.t4-spec--tint { background: var(--bg-tint); }
.t4-spec__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
.t4-spec__head h2 { font-family: var(--font-display); font-size: clamp(40px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -0.025em; margin: 18px 0 0; text-wrap: balance; }
.t4-spec__head p { font-family: var(--font-sans); font-size: 16px; line-height: 1.6; color: var(--fg-muted); margin: 0; max-width: 420px; }
.t4-spec__filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.t4-spec-filter { padding: 9px 18px; border-radius: var(--r-pill); background: var(--bg); border: 1px solid var(--border); font-family: var(--font-sans); font-size: 13px; color: var(--sa-ink); cursor: pointer; transition: all var(--dur-fast) var(--ease-out); }
.t4-spec-filter.active { background: var(--sa-green); color: var(--sa-cream); border-color: var(--sa-green); }
.t4-spec-filter:hover:not(.active) { border-color: var(--sa-green); opacity: 1; }
.t4-spec__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.t4-spec-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px 26px 24px; display: flex; flex-direction: column; transition: all var(--dur-base) var(--ease-out); position: relative; }
.t4-spec-card.is-hidden { display: none; }
.t4-spec-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sa-green-300); }
.t4-spec-card__head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.t4-spec-card__icon { width: 56px; height: 56px; border-radius: var(--r-pill); background: var(--sa-green-100); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.t4-spec-card__icon img { width: 30px; height: 30px; filter: brightness(0) saturate(100%) invert(31%) sepia(15%) saturate(1428%) hue-rotate(125deg) brightness(94%) contrast(86%); }
.t4-spec-card__avail { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: var(--r-pill); background: rgba(41, 96, 91, 0.08); font-family: var(--font-sans); font-size: 11px; font-weight: 500; color: var(--sa-green); letter-spacing: 0.04em; margin-left: auto; }
.t4-spec-card__avail .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sa-green); }
.t4-spec-card__title { font-family: var(--font-display); font-size: 26px; line-height: 1.05; letter-spacing: -0.01em; color: var(--sa-ink); margin: 0 0 8px; font-weight: 400; }
.t4-spec-card__desc { font-family: var(--font-sans); font-size: 14px; line-height: 1.55; color: var(--fg-muted); margin: 0 0 22px; }
.t4-spec-card__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--border); margin-top: auto; }
.t4-spec-card__next { font-family: var(--font-sans); font-size: 12px; color: var(--fg-muted); }
.t4-spec-card__next strong { color: var(--sa-ink); font-weight: 500; }
.t4-spec-card__cta { font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--sa-green); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; text-decoration: none; transition: gap var(--dur-fast) var(--ease-out); }
.t4-spec-card:hover .t4-spec-card__cta { gap: 12px; }

/* ---- Telemedicina viñetas ---------------------------------------------- */
.telebanner__bullets { list-style: none; padding: 0; margin: 6px 0 30px; display: flex; flex-direction: column; gap: 13px; }
.telebanner__bullets li { display: flex; gap: 13px; align-items: flex-start; font-family: var(--font-sans); font-size: 14.5px; color: var(--sa-cream); line-height: 1.5; }
.telebanner__bullets img { width: 21px; height: 21px; flex-shrink: 0; filter: brightness(0) invert(1) opacity(0.85); }

/* ---- Equipo (tarjetas) ------------------------------------------------- */
.t4-team { padding: clamp(64px, 8vw, 120px) 0; }
.t4-team__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.t4-team__head h2 { font-family: var(--font-display); font-size: clamp(40px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -0.025em; margin: 18px 0 0; text-wrap: balance; }
.t4-team__head p { font-family: var(--font-sans); font-size: 16px; line-height: 1.6; color: var(--fg-muted); margin: 0; max-width: 420px; }
.t4-team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.t4-doctor { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; transition: all var(--dur-base) var(--ease-out); }
.t4-doctor:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.t4-doctor__photo { aspect-ratio: 4/5; background: linear-gradient(160deg, var(--sa-green-light) 0%, var(--sa-green-100) 100%); position: relative; overflow: hidden; }
.t4-doctor__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.t4-doctor__photo::after { content: ""; position: absolute; inset: 0; background: url('../assets/halftone-2.png') center / cover; mix-blend-mode: multiply; opacity: 0.12; pointer-events: none; }
.t4-doctor__photo span.placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 88px; color: var(--sa-green); letter-spacing: -0.04em; opacity: 0.92; }
.t4-doctor__body { padding: 20px 22px 24px; }
.t4-doctor__name { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.015em; color: var(--sa-ink); margin: 0 0 4px; }
.t4-doctor__role { font-family: var(--font-sans); font-size: 13px; color: var(--sa-green); margin: 0 0 16px; letter-spacing: 0.02em; }
.t4-doctor__avail { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--bg); font-family: var(--font-sans); font-size: 11.5px; color: var(--fg-muted); letter-spacing: 0.04em; }
.t4-doctor__avail .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sa-green); }
.t4-doctor--soon { border-style: dashed; }
.t4-doctor--soon .t4-doctor__photo { background: var(--bg-tint); }

/* ---- Info cards (planes / horario / ubicación) ------------------------- */
.t4-info { padding: clamp(56px, 7vw, 96px) 0; background: var(--bg-tint); position: relative; overflow: hidden; }
.t4-info__halftone { position: absolute; top: -25%; right: -10%; width: 50%; max-width: 680px; opacity: 0.3; pointer-events: none; z-index: 0; }
.t4-info__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.t4-info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px 28px; }
.t4-info-card__icon { width: 52px; height: 52px; border-radius: var(--r-pill); background: var(--sa-green); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.t4-info-card__icon img { width: 28px; height: 28px; filter: brightness(0) invert(1); }
.t4-info-card h3 { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.015em; margin: 0 0 12px; font-weight: 400; }
.t4-info-card p, .t4-info-card ul { font-family: var(--font-sans); font-size: 14px; line-height: 1.7; color: var(--fg); margin: 0; padding: 0; list-style: none; }
.t4-info-card li { display: flex; justify-content: space-between; gap: 16px; }
.t4-info-card li span { color: var(--fg-muted); }
.t4-info-card__plans { display: flex; flex-wrap: wrap; gap: 6px; }
.t4-info-card__plan { padding: 6px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-pill); font-family: var(--font-sans); font-size: 12px; color: var(--sa-ink); }

/* ---- FAQ --------------------------------------------------------------- */
.t4-faq { padding: clamp(64px, 8vw, 120px) 0; }
.t4-faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(48px, 6vw, 88px); align-items: start; }
.t4-faq__head h2 { font-family: var(--font-display); font-size: clamp(36px, 3.8vw, 52px); line-height: 1.02; letter-spacing: -0.025em; margin: 18px 0 22px; text-wrap: balance; }
.t4-faq__head p { font-family: var(--font-sans); font-size: 16px; color: var(--fg-muted); line-height: 1.6; max-width: 360px; margin: 0 0 24px; }
.t4-faq__list { border-top: 1px solid var(--border); }
.t4-faq__item { padding: 24px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.t4-faq__q { display: flex; justify-content: space-between; gap: 24px; font-family: var(--font-display); font-size: 22px; letter-spacing: -0.015em; color: var(--sa-ink); align-items: center; }
.t4-faq__q-toggle { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 16px; color: var(--sa-green); flex-shrink: 0; }
.t4-faq__item.open .t4-faq__q-toggle { background: var(--sa-green); color: var(--sa-cream); border-color: var(--sa-green); }
.t4-faq__a { font-family: var(--font-sans); font-size: 15px; line-height: 1.6; color: var(--fg-muted); max-width: 600px; margin-top: 14px; display: none; }
.t4-faq__item.open .t4-faq__a { display: block; }

/* =========================================================================
   SECCIONES PROPIAS DE PÁGINAS INTERIORES
   ========================================================================= */

/* ---- Bloque de secciones genérico -------------------------------------- */
.section-head { max-width: 640px; margin: 0 0 clamp(32px, 4vw, 56px); }
.section-head h2 { font-family: var(--font-display); font-size: clamp(34px, 3.8vw, 54px); line-height: 1.03; letter-spacing: -0.025em; color: var(--sa-ink); margin: 16px 0 0; text-wrap: balance; }
.section-head p { font-family: var(--font-sans); font-size: 16px; line-height: 1.6; color: var(--fg-muted); margin: 16px 0 0; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Grupos de servicios por categoría --------------------------------- */
.svc-group { margin-bottom: clamp(40px, 5vw, 72px); scroll-margin-top: 100px; }
.svc-group:last-child { margin-bottom: 0; }
.svc-group__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.svc-group__head h2 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.02em; color: var(--sa-ink); margin: 0; font-weight: 400; }
.svc-group__count { font-family: var(--font-mono); font-size: 13px; color: var(--fg-subtle); }
.svc-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.svc-jump a { padding: 9px 18px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--border); font-family: var(--font-sans); font-size: 13px; color: var(--sa-ink); text-decoration: none; transition: all var(--dur-fast) var(--ease-out); }
.svc-jump a:hover { border-color: var(--sa-green); color: var(--sa-green); opacity: 1; }

/* Tarjeta de servicio simple (sin disponibilidad) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 26px 24px; display: flex; flex-direction: column; transition: all var(--dur-base) var(--ease-out); }
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sa-green-300); }
.svc-card__icon { width: 48px; height: 48px; border-radius: var(--r-pill); background: var(--sa-green-100); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.svc-card__icon img { width: 26px; height: 26px; filter: brightness(0) saturate(100%) invert(31%) sepia(15%) saturate(1428%) hue-rotate(125deg) brightness(94%) contrast(86%); }
.svc-card__title { font-family: var(--font-display); font-size: 22px; line-height: 1.1; letter-spacing: -0.01em; color: var(--sa-ink); margin: 0 0 8px; font-weight: 400; }
.svc-card__desc { font-family: var(--font-sans); font-size: 13.5px; line-height: 1.55; color: var(--fg-muted); margin: 0 0 20px; }
.svc-card__cta { margin-top: auto; font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--sa-green); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap var(--dur-fast) var(--ease-out); }
.svc-card:hover .svc-card__cta { gap: 12px; }

/* ---- CTA en banda ------------------------------------------------------- */
.cta-band { padding: clamp(56px, 7vw, 96px) 0; background: var(--sa-green); position: relative; overflow: hidden; }
.cta-band__iso { position: absolute; right: -6%; bottom: -30%; width: 380px; opacity: 0.08; pointer-events: none; filter: brightness(0) invert(1); }
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(32px, 3.6vw, 52px); line-height: 1.03; letter-spacing: -0.025em; color: var(--sa-cream); margin: 0; text-wrap: balance; }
.cta-band p { font-family: var(--font-sans); font-size: 16px; line-height: 1.6; color: var(--sa-green-light); margin: 16px 0 0; max-width: 440px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .cta-band__actions { justify-content: flex-start; } }

/* =========================================================================
   PÁGINA: SOBRE NOSOTROS
   ========================================================================= */
.about-intro { padding: clamp(56px, 7vw, 100px) 0; }
.about-intro__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about-intro__media { position: relative; aspect-ratio: 4/5; border-radius: var(--r-2xl); overflow: visible; box-shadow: var(--shadow-lg); background: var(--sa-green-100); }
.about-intro__media-inner { position: absolute; inset: 0; border-radius: var(--r-2xl); overflow: hidden; }
.about-intro__media-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.about-intro__media-sello { position: absolute; bottom: -34px; right: -30px; width: 132px; z-index: 2; transform: rotate(-8deg); filter: drop-shadow(0 14px 28px rgba(22,32,35,0.28)); }
.about-intro__copy h2 { font-family: var(--font-display); font-size: clamp(34px, 4vw, 56px); line-height: 1.02; letter-spacing: -0.025em; color: var(--sa-ink); margin: 16px 0 22px; text-wrap: balance; }
.about-intro__copy p { font-family: var(--font-sans); font-size: 17px; line-height: 1.62; color: var(--fg); margin: 0 0 18px; max-width: 520px; }

/* 5 P's — la esencia Patient First */
.about-p5 { padding: clamp(56px, 7vw, 100px) 0; background: var(--sa-green); }
.about-p5 .section-head h2 { color: var(--sa-cream); }
.about-p5 .section-head p { color: var(--sa-green-light); }
.about-p5 .eyebrow-mark { color: var(--sa-green-light); }
.about-p5 .eyebrow-mark::before { background: var(--sa-green-light); }
.about-p5__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 40px; }
.about-p5__card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 22px; }
.about-p5__num { font-family: var(--font-display); font-size: 40px; color: var(--sa-green-300); line-height: 1; letter-spacing: -0.02em; }
.about-p5__card h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.015em; color: var(--sa-ink); margin: 14px 0 8px; font-weight: 400; }
.about-p5__card p { font-family: var(--font-sans); font-size: 13.5px; line-height: 1.5; color: var(--fg-muted); margin: 0; }

/* Métricas / stats */
.about-stats { padding: clamp(48px, 6vw, 80px) 0; }
.about-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.about-stat { display: flex; flex-direction: column; padding: 0 32px; border-right: 1px solid var(--border); }
.about-stat:first-child { padding-left: 0; }
.about-stat:last-child { border-right: none; padding-right: 0; }
.about-stat__eyebrow { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-subtle); }
.about-stat__num { font-family: var(--font-display); font-size: clamp(42px, 4.4vw, 64px); line-height: 1; color: var(--sa-green); letter-spacing: -0.02em; margin-top: 14px; }
.about-stat__accent { color: var(--sa-green-300); }
.about-stat__desc { font-family: var(--font-sans); font-size: 13px; color: var(--fg-muted); margin-top: 12px; line-height: 1.35; }

/* =========================================================================
   PÁGINA: EQUIPO — feature del proveedor + galería
   ========================================================================= */
.team-feature { padding: clamp(56px, 7vw, 100px) 0; }
.team-feature__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.team-feature__photo { position: relative; aspect-ratio: 4/5; border-radius: var(--r-2xl); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--sa-green-100); }
.team-feature__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.team-feature__eyebrow { margin-bottom: 6px; }
.team-feature h2 { font-family: var(--font-display); font-size: clamp(36px, 4.2vw, 60px); line-height: 1; letter-spacing: -0.025em; color: var(--sa-ink); margin: 14px 0 6px; }
.team-feature__role { font-family: var(--font-sans); font-size: 15px; color: var(--sa-green); font-weight: 500; margin: 0 0 22px; letter-spacing: 0.02em; }
.team-feature p { font-family: var(--font-sans); font-size: 16px; line-height: 1.62; color: var(--fg); margin: 0 0 18px; max-width: 520px; }
.team-feature__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; }
.team-feature__tag { padding: 7px 14px; border-radius: var(--r-pill); background: var(--bg-tint); border: 1px solid var(--border); font-family: var(--font-sans); font-size: 12.5px; color: var(--sa-ink); }

.team-gallery { padding: 0 0 clamp(56px, 7vw, 100px); }
.team-gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.team-gallery__item { aspect-ratio: 3/4; border-radius: var(--r-lg); overflow: hidden; background: var(--sa-green-100); }
.team-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.team-gallery__item:hover img { transform: scale(1.05); }

/* Nota editable (aviso para el dueño del sitio, se oculta fácil en Wix) */
.edit-note { margin: 14px 0 0; padding: 12px 16px; border-left: 3px solid var(--sa-green-300); background: var(--sa-green-50); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-family: var(--font-sans); font-size: 12.5px; color: var(--fg-muted); line-height: 1.5; }
.edit-note strong { color: var(--sa-green); }

/* =========================================================================
   PÁGINA: PLANES
   ========================================================================= */
.plans-lead { padding: clamp(56px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); }
.plans-lead__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.plans-lead__copy h2 { font-family: var(--font-display); font-size: clamp(32px, 3.8vw, 52px); line-height: 1.03; letter-spacing: -0.025em; color: var(--sa-ink); margin: 16px 0 20px; text-wrap: balance; }
.plans-lead__copy p { font-family: var(--font-sans); font-size: 17px; line-height: 1.62; color: var(--fg); margin: 0 0 16px; max-width: 500px; }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: clamp(24px, 3vw, 40px) 0 clamp(56px, 7vw, 96px); }
.plan-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 32px 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; transition: all var(--dur-base) var(--ease-out); }
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sa-green-300); }
.plan-card__badge { width: 54px; height: 54px; border-radius: var(--r-pill); background: var(--sa-green-100); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 24px; color: var(--sa-green); }
.plan-card__name { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.015em; color: var(--sa-ink); margin: 0; font-weight: 400; }
.plan-card__type { font-family: var(--font-sans); font-size: 13px; color: var(--fg-muted); margin: 0; }
.plan-card__check { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: 12px; color: var(--sa-green); font-weight: 500; margin-top: auto; }
.plan-card__check .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sa-green); }

.plans-private { padding: clamp(48px, 6vw, 80px) 0; background: var(--bg-tint); }
.plans-private__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.plans-private__grid h2 { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -0.02em; color: var(--sa-ink); margin: 14px 0 16px; }
.plans-private__grid p { font-family: var(--font-sans); font-size: 16px; line-height: 1.6; color: var(--fg); margin: 0 0 14px; }
.plans-check-list { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 14px; }
.plans-check-list li { display: flex; gap: 12px; align-items: flex-start; font-family: var(--font-sans); font-size: 15px; color: var(--fg); }
.plans-check-list li::before { content: "✓"; color: var(--sa-green); font-weight: 700; flex-shrink: 0; }

/* =========================================================================
   PÁGINA: CONTACTO
   ========================================================================= */
.contact-main { padding: clamp(48px, 6vw, 88px) 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 0.95fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
.contact-info h2 { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.04; letter-spacing: -0.02em; color: var(--sa-ink); margin: 14px 0 18px; text-wrap: balance; }
.contact-info > p { font-family: var(--font-sans); font-size: 16px; line-height: 1.62; color: var(--fg-muted); margin: 0 0 28px; max-width: 440px; }
.contact-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.contact-item { display: flex; gap: 16px; align-items: center; font-family: var(--font-sans); font-size: 15px; color: var(--sa-ink); }
.contact-item__icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--r-pill); background: var(--sa-green); display: flex; align-items: center; justify-content: center; }
.contact-item__icon img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
.contact-item strong { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sa-green); font-weight: 500; margin-bottom: 2px; }
.contact-item a { color: var(--sa-ink); text-decoration: none; }
.contact-item a:hover { color: var(--sa-green); opacity: 1; }

.contact-hours { border: 1px solid var(--border); border-radius: var(--r-xl); background: #fff; padding: 24px 26px; margin-bottom: 24px; }
.contact-hours h3 { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.015em; margin: 0 0 14px; font-weight: 400; }
.contact-hours ul { list-style: none; padding: 0; margin: 0; font-family: var(--font-sans); font-size: 14px; }
.contact-hours li { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; }
.contact-hours li span { color: var(--fg-muted); }

.map-embed { border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--border); background: var(--sa-green-100); position: relative; aspect-ratio: 16/7; }
.map-embed::after { content: "Mapa próximamente"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-size: 13px; color: var(--sa-green); background: repeating-linear-gradient(45deg, var(--sa-green-50), var(--sa-green-50) 12px, var(--sa-green-100) 12px, var(--sa-green-100) 24px); }
.map-embed.has-map::after { content: none; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Formulario de contacto (visual) */
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--r-2xl); box-shadow: var(--shadow-sm); padding: clamp(24px, 3vw, 36px); }
.contact-form__head { margin-bottom: 22px; }
.contact-form__head h3 { font-family: var(--font-display); font-size: 26px; letter-spacing: -0.015em; margin: 0 0 6px; font-weight: 400; }
.contact-form__head p { font-family: var(--font-sans); font-size: 14px; color: var(--fg-muted); margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-field label { font-family: var(--font-sans); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sa-ink); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-sans); font-size: 15px; color: var(--sa-ink);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 13px 16px; outline: none; width: 100%;
  transition: all var(--dur-fast) var(--ease-out);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--sa-green); box-shadow: 0 0 0 3px rgba(41,96,91,0.12); background: #fff; }
.contact-form__submit { width: 100%; justify-content: center; margin-top: 6px; }
.contact-form__foot { font-family: var(--font-sans); font-size: 12px; color: var(--fg-muted); text-align: center; margin: 12px 0 0; }
.contact-form.is-done .contact-form__body { display: none; }
.contact-form__success { display: none; text-align: center; padding: 30px 10px; }
.contact-form.is-done .contact-form__success { display: block; }
.contact-form__success img { width: 60px; margin: 0 auto 16px; display: block; }
.contact-form__success h3 { font-family: var(--font-display); font-size: 26px; font-weight: 400; letter-spacing: -0.015em; margin: 0 0 8px; }
.contact-form__success p { font-family: var(--font-sans); font-size: 14px; color: var(--fg-muted); margin: 0 auto; max-width: 300px; line-height: 1.55; }

/* Aviso de mockup Wix */
.wix-note {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 20px; padding: 14px 18px;
  border: 1px dashed var(--sa-green-300); border-radius: var(--r-md);
  background: var(--sa-green-50);
  font-family: var(--font-sans); font-size: 12.5px; color: var(--fg-muted); line-height: 1.5;
}
.wix-note strong { color: var(--sa-green); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .t4-hero__grid { grid-template-columns: 1fr; }
  .h4-booking, .hero-portrait { max-width: 520px; }
  .t4-spec__grid, .svc-grid { grid-template-columns: 1fr 1fr; }
  .t4-quick__bar { grid-template-columns: 1fr 1fr; }
  .t4-quick__card:nth-child(2) { border-right: none; }
  .t4-quick__card:nth-child(1), .t4-quick__card:nth-child(2) { border-bottom: 1px solid var(--border); }
  .about-p5__grid { grid-template-columns: repeat(3, 1fr); }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .team-gallery__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .t4-spec__head, .t4-spec__grid, .svc-grid, .t4-team__head, .t4-team__grid,
  .t4-info__grid, .t4-faq__grid, .about-intro__grid, .about-stats__grid,
  .team-feature__grid, .plans-lead__grid, .plans-private__grid, .contact-grid,
  .cta-band__inner, .form-row { grid-template-columns: 1fr; }
  .t4-team__grid { grid-template-columns: 1fr 1fr; }
  .about-stats__grid { gap: 24px; }
  .about-stat { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 16px; }
  .about-intro__media-sello { width: 100px; right: 16px; bottom: -24px; }
}
@media (max-width: 560px) {
  .t4-spec__grid, .svc-grid { grid-template-columns: 1fr; }
  .t4-quick__bar { grid-template-columns: 1fr; }
  .t4-quick__card { border-right: none; border-bottom: 1px solid var(--border); }
  .t4-quick__card:last-child { border-bottom: none; }
  .t4-team__grid { grid-template-columns: 1fr; }
  .about-p5__grid { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .team-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
