/* =========================
   TOKENS
========================= */


:root {
  --polar: #0DACEE;
  --turquesa: #6AD7DE;
  --snow: #F8FAFC;
  --navy: #1D2643;
  --indigo: #03045F;

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(3, 4, 95, .08);

  --body: 1rem;
  /* 16px mobile */
}

@media (min-width:768px) {
  :root {
    --body: 1.125rem;
  }

  /* 18px desktop */
}

/* =========================
   BASE / RESET
========================= */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}


body {
  margin: 0;
  background: #ffffff;
  color: var(--navy);
  font-family: Avenir, "Avenir Next", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: var(--body);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding: 3.25rem 0;
}

@media (min-width:768px) {
  .section {
    padding: 4.5rem 0;
  }
}

.section-snow {
  background: var(--snow);
}

.mt-8 {
  margin-top: .5rem;
}

.mt-16 {
  margin-top: 1rem;
}

.mt-24 {
  margin-top: 1.5rem;
}

.center {
  text-align: center;
}

/* =========================
   TYPE
========================= */


.h1,
.h2,
.h3 {
  font-family: "Unbounded", system-ui, sans-serif;
  margin: 0;
}

.h1 {
  line-height: 1.12;
}

.h1 {
  font-size: 2.15rem;
  letter-spacing: -.02em;
}

.h2 {
  font-size: 1.55rem;
  letter-spacing: -.02em;
}

.h3 {
  font-size: 1.05rem;
}

@media (min-width:768px) {
  .h1 {
    font-size: 3.15rem;
  }

  .h2 {
    font-size: 2.05rem;
  }

  .h3 {
    font-size: 1.15rem;
  }
}

.kicker {
  margin: 0 0 .75rem;
  font-weight: 500;
  opacity: .75;
}

.lead {
  margin: .75rem 0 0;
  max-width: 52ch;
}

.p-muted {
  opacity: .78;
  margin: 0;
}

.accent {
  color: var(--polar);
}

.accent2 {
  color: var(--turquesa);
}

/* =========================
   HEADER / NAV
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(29, 38, 67, .08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}

.brand-mark {
  width: 150px;
  height: auto;
  display: flex;
}

.brand-logo {
  width: 100%;
  height: auto;
  display: block;
}

/* Desktop nav */
.nav-links {
  display: none;
  gap: 1.5rem;
  font-size: .95rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  opacity: .78;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--polar);
  opacity: 1;
}

/* ✅ FORCE: CTA hidden on mobile (override any .btn display rules) */
.nav-cta {
  display: none !important;
}

/* Hamburger */
.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-lines {
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

/* =========================
   MOBILE MENU
========================= */
.mobile-menu[hidden] {
  display: none;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.mobile-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 28, .55);
}

.mobile-menu__panel {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  max-width: 520px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  border-radius: 18px;
  border: 1px solid rgba(29, 38, 67, .1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
  padding: 16px;
  animation: menuIn .18s ease-out forwards;
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
}

.mobile-menu__links a {
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
}

.mobile-menu__links a:hover {
  background: rgba(29, 38, 67, .06);
}

.mobile-menu__cta {
  margin-top: 12px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Desktop breakpoint */
@media (min-width:768px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-flex !important;
  }

  /* ✅ revive CTA only on desktop */
  .nav-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }
}

/* Scroll lock */
.no-scroll {
  overflow: hidden;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--polar);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--polar);
  border-color: rgba(13, 172, 238, .55);
}

.btn-light {
  background: #fff;
  color: var(--navy);
  border-color: rgba(255, 255, 255, .35);
}

.btn-wide {
  width: min(560px, 100%);
  justify-content: center;
}

/* =========================
   HERO
========================= */
.hero {
  padding-top: 2.75rem;
}

@media (min-width:768px) {
  .hero {
    padding-top: 3.75rem;
  }
}

.hero-grid {
  display: grid;
  gap: 2.25rem;
}

@media (min-width:768px) {
  .hero-grid {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 3rem;
  }
}

.hero-actions {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
  margin-top: 1.35rem;
}

.doctor-card {
  margin-top: 1.35rem;
  display: flex;
  grid-template-columns: 52px 1fr;
  gap: .9rem;
  align-items: start;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid rgba(29, 38, 67, .06);
  box-shadow: 0 8px 22px rgba(29, 38, 67, .06);
  max-width: 560px;
}

.doctor-sub {
  font-size: .85rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: .01em;
  opacity: .75;
}


.doctor-avatar {
  width: 12rem;
  height: 18rem;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(13, 172, 238, .10);
}

/* ✅ HERO IMAGE: más chico sin recortar la cara */
.hero-media {
  display: flex;
  justify-content: center;
  /* o flex-end si lo quieres pegado a la derecha */
}

.hero .hero-photo {
  width: min(420px, 100%);
  /* 👈 esto lo hace más chico */
  aspect-ratio: 3 / 4;
  /* 👈 mantiene proporción "retrato" */
  height: auto;
  /* 👈 NO forzar altura */
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Desktop: todavía más chico si lo quieres 25%+ menos */
@media (min-width:768px) {
  .hero .hero-photo {
    width: min(460px, 100%);
    /* ajusta: 420–520 según tu gusto */
  }
}

.hero .hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* si se recorta arriba/abajo, prueba "center top" */
  display: block;
}


/* =========================
   DOCTOR CARD (FIX)
   - avatar más grande tipo “thumb”
   - alineación como el mock
========================= */

.doctor-card {
  margin-top: 1.35rem;
  display: flex;
  grid-template-columns: 64px 1fr;
  /* avatar más ancho */
  gap: 1rem;
  align-items: center;
  /* centra verticalmente */
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.05rem 1.15rem;
  border: 1px solid rgba(29, 38, 67, .06);
  box-shadow: 0 8px 22px rgba(29, 38, 67, .06);
  max-width: 560px;
}

.doctor-avatar {
  width: 8rem;
  height: 8rem;
  border-radius: 18px;
  /* más “cardy”, menos sticker */
  overflow: hidden;
  background: rgba(13, 172, 238, .10);
  flex: 0 0 auto;
}

.doctor-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  /* sube tantito el encuadre (evita cortar cara) */
  display: block;
}

/* Tipos dentro de la card (por si se te movieron) */
.doctor-title {
  margin: 0;
  font-weight: 800;
  font-size: .95rem;
}

.doctor-name {
  margin: .15rem 0 0;
  font-weight: 600;
  font-size: .95rem;
}

/* lo que ya querías: 2px más chico + italic */
.doctor-sub {
  margin: .35rem 0 0;
  opacity: .72;
  font-size: .825rem;
  /* ~2px menos vs 0.95rem */
  font-style: italic;
  line-height: 1.35;
}



/* =========================
   QUIÉNES SOMOS
========================= */

.qs-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width:768px) {
  .qs-grid {
    grid-template-columns: 1.15fr .85fr;
    align-items: start;
    gap: 3rem;
  }
}

/* LISTA PRINCIPAL */
.qs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.25rem;
}

.qs-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: .85rem;
  align-items: start;
}

/* baseline tipográfico */
.qs-list span {
  font-weight: 400;
  line-height: 1.55;
  color: var(--navy);
  opacity: .9;
}

/* énfasis semántico */
.qs-list strong {
  font-weight: 700;
  color: var(--navy);
}

/* iconos */
.qs-list i {
  font-size: 1.05rem;
  color: var(--polar);
  margin-top: .2rem;
}

/* ítem fuerte (statement) */
.qs-strong span {
  opacity: 1;
}

.qs-strong strong {
  font-weight: 800;
  color: var(--indigo);
}

/* CARD LATERAL */
.qs-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(29, 38, 67, .06);
  box-shadow: var(--shadow);
  padding: 1.75rem;
}

@media (min-width:768px) {
  .qs-card {
    padding: 2rem;
  }
}


/* =========================================
   ABOUT – PAGE HEAD (parallax hero)
   Scoped: .page-head.parallax-head
========================================= */

.page-head.parallax-head {
  position: relative;
  padding: 4.25rem 0 4rem;
  overflow: hidden;
}

/* Fondo con foto */
.page-head.parallax-head .page-head-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(13, 172, 238, .92), rgba(106, 215, 222, .78)),
    url("../img/team.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}


/* Parallax solo en desktop (mobile sufre con background-attachment:fixed) */
@media (min-width: 900px) {
  .page-head.parallax-head .page-head-bg {
    background-attachment: fixed;
  }
}

/* Contenido arriba del overlay */
.page-head.parallax-head .page-head-inner {
  position: relative;
  z-index: 1;
}

.page-head.parallax-head .page-head-grid {
  display: grid;
  align-items: end;
}

/* Tipografía/colores como mock */
.page-head.parallax-head .page-head-eyebrow {
  color: rgba(255, 255, 255, .85);
  opacity: 1;
  margin: 0 0 .9rem;
}

.page-head.parallax-head .page-head-title {
  color: #fff;
  margin: 0;
}

.page-head.parallax-head .page-head-lead {
  margin: 1.15rem 0 0;
  max-width: 72ch;
  color: rgba(255, 255, 255, .88);
  line-height: 1.65;
}

/* Ajustes responsive */
@media (max-width: 640px) {
  .page-head.parallax-head {
    padding: 3.25rem 0 3rem;
  }
}




/* =========================
   OBESIDAD CARDS
========================= */
.cards-3 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width:768px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(29, 38, 67, .06);
  box-shadow: 0 8px 22px rgba(29, 38, 67, .05);
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(13, 172, 238, .12);
  color: var(--polar);
  margin-bottom: .9rem;
}

.info-icon i {
  font-size: 1.15rem;
}

/* =========================
   SPLIT / CÓMO TRABAJAMOS
========================= */
.split {
  display: grid;
  gap: 1.75rem;
}

@media (min-width:768px) {
  .split {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 2.5rem;
  }
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: .9rem;
  padding: .75rem 0;
}

.step-num {
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 700;
  color: var(--turquesa);
  font-size: 1.6rem;
}

.step-title {
  margin: 0;
  font-weight: 400;
  font-family: "Unbounded", system-ui, sans-serif;
}

.step-body p {
  margin: .25rem 0 0;
}

.link {
  display: inline-block;
  color: var(--polar);
  font-weight: 700;
}

.link:hover {
  filter: brightness(.95);
}

.media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}

@media (min-width:768px) {
  .media {
    min-height: 420px;
  }
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   DARK SECTION: TRATAMIENTOS
========================= */
.section-dark {
  background: linear-gradient(180deg, #121A38, #0B1233);
  color: #fff;
}

.h2-inverted {
  color: #fff;
}

.p-inverted {
  color: rgba(255, 255, 255, .78);
}

.dark-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.treat-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width:768px) {
  .treat-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}


.treat-title {
  margin: 0;
  font-weight: 800;
  color: rgba(106, 215, 222, .95);
  font-family: "Unbounded", system-ui, sans-serif;
}

.treat-sub {
  margin: .35rem 0 0;
  opacity: .78;
  font-size: .92rem;
}

/* =========================
   INCLUDE BOX
========================= */
.include-box {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0B1233, #121A38);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  display: grid;
  gap: 1.25rem;
  color: #fff;
}

@media (min-width:768px) {
  .include-box {
    grid-template-columns: 1.1fr .9fr;
    align-items: start;
    padding: 2.25rem;
  }
}

.include-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .8rem;
}

.include-list li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  color: rgba(255, 255, 255, .88);
}

.include-list i {
  color: var(--turquesa);
  margin-top: .2rem;
}

.include-right {
  display: grid;
  gap: 1rem;
}

.pill {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: .85rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, .12);
}

.pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(106, 215, 222, .14);
  color: #fff;
}

.pill-title {
  margin: 0;
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 700;
}

.pill-sub {
  margin: .25rem 0 0;
  color: rgba(255, 255, 255, .75);
  font-size: .92rem;
}

/* =========================
   INFRA (SNOW)
========================= */

/* wrapper único = 1 borde + 1 sombra + 1 radio */
.infra-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(29, 38, 67, .06);
  box-shadow: var(--shadow);
  background: #fff;
}

/* ya NO queremos separación entre card e imagen */
.infra {
  display: grid;
  grid-template-columns: 1fr;
  /* mobile: 1 columna */
  gap: 0;
  /* <- pegadito */
  align-items: stretch;
}

/* en mobile: card arriba, imagen abajo */
.infra-card {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 1.75rem;
}

/* GRID de items: 1 columna en mobile */
.infra-grid {
  display: grid;
  grid-template-columns: 1fr;
  /* mobile */
  gap: .75rem;
}

.infra-item {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem .9rem;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.3;
}

.infra-item i {
  color: var(--polar);
}

/* Imagen */
.infra-media {
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  min-height: 320px;
}

.infra-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* desktop: 2 columnas pegadas + items en 2 columnas */
@media (min-width:768px) {
  .infra {
    grid-template-columns: 1fr 1fr;
  }

  .infra-media {
    min-height: 100%;
  }

  .infra-grid {
    grid-template-columns: repeat(2, 1fr);
    /* desktop */
    gap: 1rem 1.25rem;
  }
}


/* =========================
   FAQ
========================= */
.faq {
  max-width: 860px;
  margin-inline: auto;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {

  border-radius: 2rem;
  border: 1px solid rgba(29, 38, 67, .08);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  color: rgba(29, 38, 67, .35);
  font-size: 1.1rem;
  transition: transform .2s ease, color .2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--polar);
}

.faq-body {
  padding: 0 1.4rem 1.25rem;
}

.faq-body p {
  margin: .85rem 0 0;
}

/* =========================
   CTA
========================= */
.cta {
  max-width: 900px;
  margin-inline: auto;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(29, 38, 67, .08);
  background: #fff;
}

.footer {
  display: grid;
  gap: 1rem;
  align-items: center;
}

@media (min-width:768px) {
  .footer {
    grid-template-columns: 1fr auto auto;
  }
}

.footer-left {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
}

.footer-links {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  opacity: .72;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--polar);
}

.footer-right {
  opacity: .72;
  font-size: .95rem;
}

/* =========================
   PARALLAX SECTION (Certificaciones)
   Reemplaza el bloque anterior "Perfil clínico"
========================= */

.parallax-section {
  position: relative;
  overflow: hidden;
  color: #fff;
}

/* imagen de fondo */
.parallax-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image:
    url("../img/procedimiento.jpg");
  background-size: cover;
  background-position: center;
  transform: translate3d(0, var(--parallaxY, 0px), 0) scale(1.08);
  will-change: transform;
}

/* overlay gradiente */
.parallax-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(135deg,
      rgba(13, 172, 238, .88),
      rgba(106, 215, 222, .88));
}

/* contenido arriba del overlay */
.parallax-section .container {
  position: relative;
  z-index: 2;
}

/* accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .parallax-section::before {
    transform: translate3d(0, 0, 0) scale(1.08) !important;
  }
}

/* =========================
   CERTIFICACIONES – CARD + GRID
========================= */

.certs-card {
  background: var(--snow);
  color: var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.25rem;
  max-width: 980px;
  margin-inline: auto;
}

@media (min-width:768px) {
  .certs-card {
    padding: 2.25rem 2.25rem;
  }
}

.certs-card .h2 {
  color: var(--navy);
}

/* Grid responsive */
.certs-grid {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  /* mobile */
  align-items: stretch;
}

@media (min-width:768px) {
  .certs-grid {
    grid-template-columns: repeat(3, 1fr);
    /* desktop */
    gap: 1.15rem;
  }
}

/* “badge” */
.cert-badge {
  margin: 0;
  border: none;
  padding: .95rem;
  display: grid;
  place-items: center;
  min-height: 110px;
}

@media (min-width:768px) {
  .cert-badge {
    min-height: 140px;
    padding: 1.05rem;
  }
}

/* Logos */
.cert-badge img {
  width: 100%;
  height: auto;
  max-height: 90px;
  /* controla “altura” uniforme */
  object-fit: contain;
  /* no recorta */
  display: block;
}

@media (min-width:768px) {
  .cert-badge img {
    max-height: 105px;
  }
}

/* =========================
   PERFIL CLÍNICO – SNOW CONTAINER
========================= */

/* el content-stack se vuelve tarjeta */
.parallax-section .content-stack {
  background: var(--snow);
  color: var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  max-width: 860px;
  margin-inline: auto;
}

/* desktop: más aire */
@media (min-width:768px) {
  .parallax-section .content-stack {
    padding: 2.25rem 2.5rem;
  }
}

/* reset de textos dentro del snow */
.parallax-section .content-stack .h2 {
  color: var(--navy);
}

.parallax-section .content-stack p,
.parallax-section .content-stack strong {
  color: var(--navy);
}

/* quote vuelve a modo claro */
.parallax-section .content-stack .quote {
  background: rgba(13, 172, 238, .08);
  border: 1px solid rgba(13, 172, 238, .25);
}

.parallax-section .content-stack .quote-text {
  color: var(--navy);
}


/* =========================
   INTERNAL PAGES (minimal)
========================= */
.page-head {
  padding-top: 2.25rem;
}

@media (min-width:768px) {
  .page-head {
    padding-top: 3rem;
  }
}

.page-head-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width:768px) {
  .page-head-grid {
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 3rem;
  }
}

.page-actions {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
}

.page-split {
  display: grid;
  gap: 2rem;
}

@media (min-width:768px) {
  .page-split {
    grid-template-columns: 1.15fr .85fr;
    align-items: start;
    gap: 3rem;
  }
}

.page-aside {
  position: relative;
}

.page-profile {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(29, 38, 67, .06);
  box-shadow: var(--shadow);
  background: #fff;
}

.page-profile-media {}

.page-profile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-profile-body {
  padding: 1.25rem 1.35rem 1.45rem;
}

.team-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width:768px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.team-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.05rem 1.15rem;
  border: 1px solid rgba(29, 38, 67, .06);
  box-shadow: 0 8px 22px rgba(29, 38, 67, .05);
}


/* =========================
   SERVICE CARD – DIVIDER
========================= */

.service-card {
  display: grid;
  gap: 1rem;
}

/* bloque superior (especialidad) */
.service-top {
  display: grid;
  gap: .6rem;
}

/* línea divisoria sutil */
.service-divider {
  height: 1px;
  border: none;
  background: var(--snow);
  /* 👈 clave */
  margin: .25rem 0 .75rem;
}

/* bloque inferior (especialista) */
.service-person {
  display: flex;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  align-items: center;
}


/* =========================
   PAGE: DIRECCIÓN MÉDICA
   (module, DS-friendly)
========================= */

/* Utils faltantes (solo lo mínimo) */
.mt-12 {
  margin-top: .75rem;
}

.mb-0 {
  margin-bottom: 0;
}

.nowrap {
  white-space: nowrap;
}

/* ancho de lectura para reemplazar inline max-width */
.measure-72 {
  max-width: 72ch;
}

.measure-82 {
  max-width: 82ch;
}

/* Page head: si ya existe page-head-grid, solo afinamos */
.page-head {
  padding-top: 2.25rem;
}

@media (min-width:768px) {
  .page-head {
    padding-top: 3rem;
  }
}

/* eyebrow (equivalente a kicker pero con tu naming) */
.eyebrow {
  margin: 0 0 .75rem;
  font-weight: 500;
  opacity: .75;
}

/* doctor hero */
.doctor-hero {
  margin: 0;
}

.doctor-hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: rgba(29, 38, 67, .04);
  aspect-ratio: 3 / 4;
}

.doctor-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.caption {
  font-size: .95rem;
}

/* stacks */
.content-stack {
  display: grid;
  gap: 1rem;
}

@media (min-width:768px) {
  .content-stack {
    gap: 1.15rem;
  }
}

/* grid 2 (reusable) */
.grid-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width:768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
  }
}

/* section head (título + lead) */
.section-head {
  display: grid;
  gap: .5rem;
  margin-bottom: 1.25rem;
}

/* Card (compatible con tu info-card / qs-card visualmente) */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(29, 38, 67, .06);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-head {
  padding: 1.25rem 1.25rem 0;
}

@media (min-width:768px) {
  .card-head {
    padding: 1.5rem 1.5rem 0;
  }
}

.card-body {
  padding: 1.15rem 1.25rem 1.35rem;
}

@media (min-width:768px) {
  .card-body {
    padding: 1.25rem 1.5rem 1.65rem;
  }
}

/* Card alternativa (muted) */
.card-muted {
  background: var(--snow);
  border-color: rgba(29, 38, 67, .06);
}

/* Quote */
.quote {
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 172, 238, .20);
  background: rgba(13, 172, 238, .08);
  padding: 1.25rem 1.35rem;
}

.quote-text {
  margin: 0;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -.01em;
}

/* Listas */
.list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: .6rem;
}

.list li {
  opacity: .92;
}

/* Nested list */
.list-nested {
  margin-top: .6rem;
  padding-left: 1.15rem;
  gap: .45rem;
}

/* H4 helper (por si no existe en tu DS) */
.h4 {
  margin: 0;
  font-family: "Unbounded", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

/* Sección de contraste (sin inventar nuevo tema oscuro agresivo) */
.section-contrast {
  background: var(--snow);
  border-top: 1px solid rgba(29, 38, 67, .06);
}








/* =========================================
   ENDOBESS — PAGE 4 (Tratamientos)
   Tokens + Layout + Components
========================================= */
/* =====================================================
   PAGE: TRATAMIENTOS (solo estilos de la página)
   - Usa tokens existentes (polar/turquesa/snow/navy/indigo)
   - No redefine :root, reset ni buttons globales
===================================================== */

/* ===== Helpers (si NO existen ya en tu global, déjalos; si sí, puedes borrar) ===== */
.p-muted {
  opacity: .78;
}

.mt-32 {
  margin-top: 2rem;
}

.measure-70 {
  max-width: 70ch;
}

.measure-80 {
  max-width: 80ch;
}

/* ===== HERO (solo refinamientos si tu hero ya existe) ===== */
.hero-media figcaption {
  padding: .75rem 1rem;
  opacity: .75;
  font-size: .95rem;
}

/* ===== INCLUYE (cards ya existen: .cards-3 + .info-card + .info-icon) ===== */
/* si aquí no necesitas overrides, puedes borrar este bloque */
.cards .info-card {
  height: 100%;
}





/* =========================
   FAQ (reusa formato index)
========================= */

.faq {
  max-width: 980px;
}

.faq-list {
  display: grid;
  gap: .9rem;
}

.faq-item {
  border: 1px solid rgba(29, 38, 67, .10);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 10px 28px rgba(3, 4, 95, .06);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  padding: 1.05rem 1.15rem;
  font-weight: 800;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex: 0 0 auto;
  color: var(--polar);
  transition: transform .18s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  /* plus => x */
}

.faq-body {
  padding: 0 1.15rem 1.1rem;
  border-top: 1px solid rgba(29, 38, 67, .08);
}

.faq-body p {
  margin: .85rem 0 0;
}

.faq-body ul {
  margin: .85rem 0 0;
  padding-left: 1.1rem;
}

@media (prefers-reduced-motion: reduce) {
  .faq-icon {
    transition: none;
  }
}





/* =====================================================
   FOOTER (ya existe en tu global)
   — sin overrides
===================================================== */
/*BOTONES FLOTANTES */
.flotante-fijo {
  position: fixed;
  bottom: 25px;
  z-index: 9999;
  transition: all 0.3s ease;
}

.flotante-fijo img {
  width: 60px;
  /* Tamaño ideal para móviles y desktop */
  height: auto;
  filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.3));
}

.flotante-fijo.left {
  left: 20px;
}

.flotante-fijo.right {
  right: 20px;
}

/* Efecto al pasar el mouse */
.flotante-fijo:hover {
  transform: translateY(-5px);
  /* Se eleva un poco */
  filter: brightness(1.1);
}