/* =====================================================================
   Advanced Orthopedics & Sports Medicine Center · Home de producción
   Dirección congelada: Option B · Sky Motion (design/design.md §3)
   Premisa: "Range of motion". Gesto firma: arco punteado de rango de movimiento.
   Comentarios en español; contenido en inglés. Sin librerías.
   ===================================================================== */

/* ---------- 1. TOKENS (contraste AA anotado) ---------- */
/* QA-004: respaldos métricos (Arial ajustada) para que el swap de Google Fonts no mueva el layout. Ratios medidos en Chromium. */
@font-face {
  font-family: "Schibsted Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 500 800;
  size-adjust: 104%;
  ascent-override: 94%;
  descent-override: 25%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Instrument Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 400 500;
  size-adjust: 102.4%;
  ascent-override: 95%;
  descent-override: 24%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Instrument Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600 700;
  size-adjust: 97.6%;
  ascent-override: 99%;
  descent-override: 26%;
  line-gap-override: 0%;
}
:root {
  --ao-ink-navy: #0e1c4d; /* texto/titulares · sobre --sky-50 15.3:1 ✔ · sobre blanco 16.6:1 ✔ */
  --ao-navy: #1b2a80; /* azul del sello · sobre --sky-50 11.1:1 ✔ · blanco encima 12.4:1 ✔ */
  --motion-blue: #2d5bd7; /* ACENTO ÚNICO · blanco encima 5.9:1 ✔ · sobre --sky-50 5.4:1 ✔ */
  --motion-blue-200: #8fb0f2; /* trazo del arco sobre navy (decorativo, no texto) */
  --sky-50: #f3f8ff; /* canvas */
  --sky-100: #e3eefd; /* navy encima 13.6:1 ✔ */
  --sky-200: #c9ddf9; /* píldora highlight · navy encima 12.0:1 ✔ */
  --sky-300: #a9c8f3;
  --slate: #43506e; /* texto secundario · sobre --sky-50 7.9:1 ✔ · sobre blanco 8.4:1 ✔ */
  --on-navy: #c7d3ee; /* texto secundario sobre --ao-ink-navy 11.4:1 ✔ */
  --on-navy-2: #d5e2fa; /* sobre --ao-navy 9.6:1 ✔ */
  --line: #d3e0f3;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.66); /* glass con respaldo semisólido: navy encima ≥ 12:1 ✔ */
  --glass-strong: rgba(255, 255, 255, 0.82);
  --glass-dark: rgba(255, 255, 255, 0.08); /* tarjetas sobre navy: texto blanco ≥ 12:1 ✔ */
  --sample: #ffe9a8;
  --sample-ink: #4a3500; /* rótulo "Sample" 9.9:1 ✔ */

  --gutter: clamp(16px, 4vw, 60px); /* INVARIANTE: margen lateral ≤ 60 px */
  --pad: clamp(20px, 3.2vw, 56px); /* padding interno de paneles */
  --r-xl: 36px;
  --r-l: 24px;
  --r-m: 16px;
  --f-display: "Schibsted Grotesk", "Schibsted Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Instrument Sans", "Instrument Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tap: 52px;
  --bar-h: 68px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --shadow-1: 0 12px 32px -20px rgba(14, 28, 77, 0.45);
  --shadow-2: 0 28px 60px -30px rgba(14, 28, 77, 0.55);

  --padding-block: 4rem;
}

/* ---------- 2. BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--sky-50);
  color: var(--ao-ink-navy);
  font: 400 1.125rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}


/* ---------- CUSTOM SCROLLBAR ---------- */

:root {
  scrollbar-color: var(--motion-blue) var(--sky-100);
  scrollbar-width: thin;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--sky-100);
}

::-webkit-scrollbar-thumb {
  background: var(--motion-blue);
  border: 2px solid var(--sky-100);
  border-radius: 0;
  transition: background-color 0.25s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--ao-ink-navy);
}

/* Eliminar flechas */
::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

/* Esquina entre scroll horizontal y vertical */
::-webkit-scrollbar-corner {
  background: var(--sky-100);
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  margin: 0;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2.1rem, 4.6vw, 4.2rem);
  line-height: 1.02;
  font-weight: 700;
}
h3 {
  font-size: 1.55rem;
  line-height: 1.15;
  font-weight: 700;
}
:focus-visible {
  outline: 3px solid var(--motion-blue);
  outline-offset: 3px;
  border-radius: 8px;
}
.on-dark :focus-visible,
.on-dark:focus-visible {
  outline-color: #fff;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  margin: -1px;
}
.skip {
  position: fixed;
  left: var(--gutter);
  top: -80px;
  z-index: 100;
  background: var(--ao-ink-navy);
  color: #fff;
  padding: 0.9rem 1.2rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.skip:focus {
  transform: translateY(96px);
}
.wrap {
  padding-inline: var(--gutter);
}
.measure {
  max-width: 60ch;
}
.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
mark {
  background: var(--sky-200);
  color: var(--ao-ink-navy);
  padding: 0 0.32em 0.04em;
  border-radius: 999px;
  white-space: nowrap;
}
mark.mk-blue {
  background: var(--motion-blue);
  color: #fff;
}
.kicker {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  font: 600 1rem/1 var(--f-body);
  color: var(--motion-blue);
  letter-spacing: 0.01em;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.on-dark .kicker {
  color: var(--motion-blue-200);
}
.tbd {
  border-bottom: 2px dashed currentColor;
  cursor: help;
}
.lead {
  font-size: 1.25rem;
  color: var(--slate);
}
.muted {
  color: var(--slate);
}

/* ---------- 3. BOTONES (≥ 52 px) ---------- */
.btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: var(--tap);
  padding: 0 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 1.0625rem/1 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.btn .icon {
  width: 20px;
  height: 20px;
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn-solid {
  background: var(--ao-ink-navy);
  color: #fff;
}
.btn-solid:hover {
  background: var(--ao-navy);
  box-shadow: 0 14px 28px -14px rgba(14, 28, 77, 0.7);
}
.btn-blue {
  background: var(--motion-blue);
  color: #fff;
}
.btn-blue:hover {
  box-shadow: 0 14px 28px -14px rgba(45, 91, 215, 0.8);
}
.btn-blue[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-outline {
  border-color: var(--ao-ink-navy);
  color: var(--ao-ink-navy);
  background: transparent;
}
.btn-outline:hover {
  background: var(--ao-ink-navy);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--ao-ink-navy);
}
.btn-white:hover {
  box-shadow: 0 14px 28px -14px rgba(0, 0, 0, 0.5);
}
.btn-outline-w {
  border-color: rgba(255, 255, 255, 0.8);
  color: #fff;
  background: transparent;
}
.btn-outline-w:hover {
  background: #fff;
  color: var(--ao-ink-navy);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 48px;
  font-weight: 600;
  color: var(--motion-blue);
  text-decoration: none;
}
.link-arrow .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover .icon,
.link-arrow:focus-visible .icon {
  transform: translateX(4px);
}
.on-dark .link-arrow {
  color: #fff;
}
.ctas {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* ---------- 4. TOPBAR ---------- */
.top {
  font-size: 1rem;
  color: var(--slate);
}
.top .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.4rem 1.4rem;
  flex-wrap: wrap;
  padding-block: 0.55rem;
}
.top span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.top .icon {
  width: 17px;
  height: 17px;
  color: var(--motion-blue);
}
.top a {
  color: var(--ao-ink-navy);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -10px;
  transition: all .2s ease-in;
}
.top a:hover {
  color: var(--motion-blue-200);
}

/* ---------- 5. HEADER + MEGA MENÚ ---------- */
.header {
  position: sticky;
  top: 10px;
  z-index: 40;
  height: 76px;
}
.bar {
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
  padding: 0 10px 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-1);
  transition: min-height 0.35s var(--ease);
}
.bar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 18px 40px -18px rgba(14, 28, 77, 0.55);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.header.is-compact .bar {
  min-height: 62px;
}
.header.is-compact .bar::after {
  opacity: 1;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
  min-height: 48px;
}
.brand picture {
  transition: transform 0.35s var(--ease);
  transform-origin: left center;
}
.header.is-compact .brand picture {
  transform: scale(0.88);
}
.brand img {
  width: 54px;
  height: 54px;
}
.brand b {
  font: 700 1.06rem/1.1 var(--f-display);
  color: var(--ao-navy);
  display: block;
  letter-spacing: -0.01em;
}
.brand small {
  font-size: 0.9rem;
  color: var(--slate);
  display: block;
}
.nav {
  display: flex;
  gap: 0.15rem;
  align-items: center;
}
.nav > a,
.nav > button,
.nav .dd > button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 48px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.0625rem;
  padding: 0 0.95rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s;
}
.nav > a:hover,
.nav > button:hover,
.nav > button[aria-expanded="true"],
.nav .dd > button:hover,
.nav .dd > button[aria-expanded="true"] {
  background: var(--sky-100);
}
.nav > button .icon,
.nav .dd > button .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}
.nav > button[aria-expanded="true"] .icon,
.nav .dd > button[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}
/* Dropdowns del menú (About Us, Locations, Patient Resources): mismo cristal que el mega menú */
.dd {
  position: relative;
}
.dd-panel {
  position: absolute;
  left: 50%;
  top: calc(100% + 24px);
  min-width: 300px;
  border-radius: var(--r-l);
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid #fff;
  box-shadow: var(--shadow-2);
  padding: 0.7rem;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -10px);
  transition:
    opacity 0.25s var(--ease),
    transform 0.3s var(--ease),
    visibility 0s linear 0.3s;
  z-index: 5;
}
.dd-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -26px;
  height: 26px;
}
.dd-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition:
    opacity 0.25s var(--ease),
    transform 0.3s var(--ease),
    visibility 0s;
}
.dd-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.dd-panel a {
  display: block;
  text-decoration: none;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  transition:
    background-color 0.2s,
    transform 0.25s var(--ease);
}
.dd-panel a:hover,
.dd-panel a:focus-visible,
.dd-panel a[aria-current="page"] {
  background: var(--sky-100);
}
.dd-panel a:hover,
.dd-panel a:focus-visible {
  transform: translateX(3px);
}
.dd-panel a b {
  display: block;
  font-weight: 600;
  font-size: 1.0625rem;
  white-space: nowrap;
}
.dd-panel a span:not(.sr-only) {
  display: block;
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.4;
}
.menu-btn {
  display: none;
  width: var(--tap);
  height: var(--tap);
  border-radius: 50%;
  border: 0;
  background: var(--sky-100);
  color: var(--ao-ink-navy);
  cursor: pointer;
  place-items: center;
}

.mega {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(100% + 10px);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid #fff;
  box-shadow: var(--shadow-2);
  padding: clamp(20px, 2.6vw, 40px);
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition:
    opacity 0.28s var(--ease),
    transform 0.32s var(--ease),
    visibility 0s linear 0.32s;
}
.mega.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.28s var(--ease),
    transform 0.32s var(--ease),
    visibility 0s;
}
.mega-intro .mega-title {
  font: 700 clamp(1.8rem, 2.4vw, 2.4rem)/1.05 var(--f-display);
  letter-spacing: -0.025em;
  margin: 0;
}
.mega-intro p {
  color: var(--slate);
  margin: 0.8rem 0 1rem;
}
.mega-col .mega-h {
  color: var(--ao-ink-navy);
  font: 700 1.15rem/1.15 var(--f-display);
  letter-spacing: -0.02em;
  margin: 0 0 0.3rem;
}
.mega-col > p {
  font-size: 1rem;
  color: var(--slate);
  margin-bottom: 0.8rem;
}
.mega-col a {
  display: block;
  text-decoration: none;
  padding: 0.55rem 0.7rem;
  margin-inline: -0.7rem;
  border-radius: 12px;
  transition:
    background-color 0.2s,
    transform 0.25s var(--ease);
}
.mega-col a:hover,
.mega-col a:focus-visible {
  background: var(--sky-100);
  transform: translateX(3px);
}
.mega-col a b {
  display: block;
  font-weight: 600;
  font-size: 1.0625rem;
}
.mega-col a span {
  display: block;
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.4;
}

/* Drawer móvil */
.drawer {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: calc(100% + 8px);
  max-height: calc(100dvh - 120px);
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: var(--r-l);
  background: #fff;
  padding: 0.4rem 1.2rem 1.2rem;
  box-shadow: var(--shadow-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.25s var(--ease),
    transform 0.3s var(--ease),
    visibility 0s linear 0.3s;
}
.drawer.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.25s var(--ease),
    transform 0.3s var(--ease),
    visibility 0s;
}
.drawer > a,
.drawer > button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  min-height: 56px;
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.drawer > button .icon {
  transition: transform 0.3s var(--ease);
}
.drawer > button[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}
.drawer .sub {
  display: grid;
  gap: 0;
  padding: 0.3rem 0 0.6rem 0.8rem;
  border-bottom: 1px solid var(--line);
}
.drawer .sub[hidden] {
  display: none;
}
.drawer .sub a {
  display: flex;
  align-items: center;
  min-height: 48px;
  text-decoration: none;
  font-size: 1.0625rem;
}
.drawer .sub b {
  font: 700 1rem/1 var(--f-body);
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.8rem;
}
.drawer .btn {
  width: 100%;
  margin-top: 1rem;
}

/* ---------- 6. HERO ---------- */
.hero {
  padding-top: 18px;
}
.stage {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(110% 90% at 88% 6%, #ffffff 0%, rgba(255, 255, 255, 0) 55%), linear-gradient(180deg, #cfe2fb 0%, #e4effd 58%, #f3f8ff 100%);
  padding: clamp(24px, 3.6vw, 56px) var(--pad) var(--pad);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(240px, 21vw, 560px);
  gap: clamp(12px, 2vw, 32px);
  align-items: end;
}
.hero-copy {
  position: relative;
  z-index: 3;
  padding-bottom: clamp(8px, 2vw, 32px);
  container-type: inline-size;
}
.tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid #fff;
  font-weight: 600;
  font-size: 1rem;
}
.tag i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--motion-blue);
}
.hero h1 {
  font: 800 clamp(1.8rem, 10.1cqi, 10.5rem)/1.02 var(--f-display);
  letter-spacing: -0.045em;
  margin-top: clamp(18px, 2.6vw, 36px);
}
.hero h1 .l {
  display: block;
  padding-block: 0.035em;
}
.hero h1 mark {
  display: inline-block;
  line-height: 1;
  padding: 0.02em 0.24em 0.1em;
  margin-left: -0.05em;
}
.hero-sub {
  font-size: 1.25rem;
  color: var(--slate);
  max-width: 31em;
  margin-top: clamp(18px, 2vw, 28px);
}
.hero-sub strong {
  color: var(--ao-ink-navy);
  font-weight: 600;
}
.hero-sub .s-short {
  display: none;
}
.hero .ctas {
  margin-top: 1.4rem;
}
/* Figura: sujeto recortado a la derecha + arco de rango de movimiento */
.hero-figure {
  position: relative;
  z-index: 2;
  height: clamp(440px, 44vw, 1040px);
  align-self: end;
}
.rom {
  position: absolute;
  left: -54%;
  bottom: 2%;
  width: 167%;
  height: auto;
  overflow: visible;
  pointer-events: none;
  z-index: 3;
}
.rom .r-base {
  fill: none;
  stroke: rgba(45, 91, 215, 0.18);
  stroke-width: 3.5;
  stroke-dasharray: 2 12;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.rom .r-path {
  fill: none;
  stroke: var(--motion-blue);
  stroke-width: 4;
  stroke-dasharray: 2 12;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.rom .r-mask {
  fill: none;
  stroke: #fff;
  stroke-width: 40;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
}
.rom .r-tick {
  stroke: var(--ao-ink-navy);
  stroke-width: 2.5;
  opacity: 0.55;
}
.rom .r-lab {
  font: 700 24px var(--f-body);
  fill: var(--ao-navy);
}
.rom .r-arm {
  stroke: var(--ao-ink-navy);
  stroke-width: 2;
  opacity: 0.35;
  stroke-dasharray: 6 8;
}
.rom .r-dot {
  fill: var(--motion-blue);
}
.rom .r-halo {
  fill: var(--motion-blue);
  opacity: 0.18;
}
.deg {
  position: absolute;
  z-index: 4;
  left: -40%;
  top: 12%;
  padding: 0.75rem 1rem;
  border-radius: 18px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid #fff;
  box-shadow: var(--shadow-1);
  font: 700 clamp(1.6rem, 2.4vw, 2.4rem)/1 var(--f-display);
  color: var(--ao-ink-navy);
  font-variant-numeric: tabular-nums;
}
.deg small {
  display: block;
  font: 500 1rem/1.3 var(--f-body);
  color: var(--slate);
  margin-top: 0.25rem;
}
/* Stats glass */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(16px, 2.4vw, 32px);
  position: relative;
  z-index: 3;
}
.stat {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--r-l);
  padding: 1.1rem 1.3rem;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.6rem;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background-color 0.3s;
}
.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-1);
  background: var(--glass-strong);
}
.stat b {
  font: 700 clamp(1.5rem, 2.3vw, 2.2rem)/1.05 var(--f-display);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat b.sm {
  font-size: clamp(1.3rem, 1.8vw, 1.75rem);
}
.stat > span {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.4;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .stat,
  .tag,
  .deg,
  .bar {
    background: rgba(255, 255, 255, 0.94);
  }
}

/* ---------- 7. QUICK TASKS (trust bar versión B) ---------- */
.quick {
  padding-block: clamp(20px, 2.4vw, 32px) 0;
}
.quick ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.qcard {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 92px;
  padding: 1rem 1.2rem;
  border-radius: var(--r-l);
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s;
}
.qcard:hover,
.qcard:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-1);
  border-color: var(--sky-300);
}
.qcard .ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--sky-100);
  color: var(--motion-blue);
  flex: none;
}
.qcard b {
  display: block;
  font: 700 1.125rem/1.2 var(--f-display);
}
.qcard span {
  display: block;
  font-size: 1rem;
  color: var(--slate);
}
.qcard .go {
  margin-left: auto;
  color: var(--motion-blue);
  transition: transform 0.3s var(--ease);
}
.qcard:hover .go,
.qcard:focus-visible .go {
  transform: translateX(4px);
}

/* ---------- 8. SECCIONES · ritmo ---------- */
.block {
  padding-block: var(--padding-block);
}
.head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.2rem 3rem;
  align-items: end;
  margin-bottom: clamp(28px, 3.6vw, 56px);
}
.head h2 {
  margin-top: 1rem;
}
.head p {
  color: var(--slate);
}
.band-white {
  background: #fff;
}
.panel {
  margin-inline: var(--gutter);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

/* Hilo conductor: divisor de arco con lectura de grados */
.arc-div {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-inline: var(--gutter);
  height: 64px;
  color: var(--motion-blue);
}
.arc-div .deg-read {
  font: 700 1rem/1 var(--f-display);
  color: var(--ao-ink-navy);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  min-width: 4.6ch;
}
.arc-div svg {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  height: 64px;
  overflow: visible;
}
.arc-div .a-base {
  fill: none;
  stroke: var(--line);
  stroke-width: 3;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.arc-div .a-path {
  fill: none;
  stroke: var(--motion-blue);
  stroke-width: 3.5;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.arc-div .a-mask {
  fill: none;
  stroke: #fff;
  stroke-width: 30;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
}
.arc-div .a-dot {
  fill: var(--motion-blue);
}

/* ---------- 9. WELCOME / ABOUT ---------- */
.welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
}
.photo-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3.4;
  background: var(--sky-100);
}
.photo-frame > picture {
  position: absolute;
  inset: 0;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-frame .float {
  position: absolute;
  left: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  display: flex;
  gap: 0.3rem;
  align-items: center;
  flex-wrap: wrap;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-m);
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid #fff;
  font-weight: 600;
  font-size: 1rem;
}
.photo-frame .float .icon {
  color: var(--motion-blue);
}
.welcome-copy h2 {
  margin: 1rem 0 1.4rem;
}
.welcome-copy p + p {
  margin-top: 1rem;
}
.welcome-copy p {
  color: var(--slate);
}
.welcome-copy .ctas {
  margin-top: 1.8rem;
}

/* ---------- 10. WHAT WE TREAT ---------- */
.treat-meta {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
  font-weight: 600;
}
.treat-meta b {
  font: 800 2.2rem/1 var(--f-display);
  color: var(--motion-blue);
  margin-right: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.treat {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.tc {
  position: relative;
  border-radius: var(--r-l);
  overflow: hidden;
  min-height: 560px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.4rem;
  background: var(--ao-navy);
  isolation: isolate;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.tc:hover,
.tc:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}
.tc picture {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.tc picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.1s var(--ease);
}
.tc:hover picture img,
.tc:focus-within picture img {
  transform: scale(1.09);
}
.tc::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(14, 28, 77, 0.2) 0%, rgba(14, 28, 77, 0.12) 18%, rgba(14, 28, 77, 0.72) 36%, rgba(14, 28, 77, 0.9) 52%, rgba(14, 28, 77, 0.96) 100%);
} /* scrim reforzado (QA-005): H3 ≥ 3:1 y .cat ≥ 4.5:1 medidos sobre foto */
.tc .tc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tc .num {
  font: 800 1.15rem/1 var(--f-display);
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow:
    0 1px 10px rgba(8, 16, 48, 0.7),
    0 1px 2px rgba(8, 16, 48, 0.6);
}
.tc svg.mini {
  display: block;
  overflow: visible;
  filter: drop-shadow(0 1px 6px rgba(8, 16, 48, 0.55));
}
.tc svg.mini path {
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-dasharray: 2 6;
  stroke-linecap: round;
}
.tc svg.mini circle {
  fill: #fff;
}
.tc h3 {
  font-size: clamp(1.5rem, 1.8vw, 1.85rem);
  margin-bottom: 0.4rem;
}
.tc h3 a {
  text-decoration: none;
}
.tc .cat {
  color: #e3ebfb;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.tc ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tc li a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.tc li a:hover,
.tc li a:focus-visible {
  background: #fff;
  color: var(--ao-ink-navy);
}
.center {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 3vw, 44px);
}

/* ---------- 11. HOW IT WORKS (panel navy) ---------- */
.how {
  background: radial-gradient(80% 120% at 100% 0%, rgba(75, 120, 230, 0.55) 0%, rgba(75, 120, 230, 0) 55%), linear-gradient(140deg, #1b2a80, #0e1c4d);
  color: #fff;
  padding: clamp(48px, 6vw, 96px) var(--pad);
}
.how .head p {
  color: var(--on-navy);
}
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.steps .path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}
.steps .p-base {
  fill: none;
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 2.5;
  stroke-dasharray: 1 11;
  stroke-linecap: round;
}
.steps .p-path {
  fill: none;
  stroke: #fff;
  stroke-width: 3.5;
  stroke-dasharray: 1 11;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(140, 180, 255, 0.8));
}
.steps .p-mask {
  fill: none;
  stroke: #fff;
  stroke-width: 24;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
}
.step-c {
  position: relative;
  background: var(--glass-dark);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-l);
  padding: 1.6rem;
  margin-top: 64px;
  transition:
    transform 0.35s var(--ease),
    background-color 0.35s;
}
.step-c:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
}
.step-c .n {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--ao-ink-navy);
  font: 800 1.3rem var(--f-display);
  margin: -62px 0 1.1rem;
  box-shadow: 0 0 0 8px rgba(45, 91, 215, 0.35);
}
.step-c p {
  color: var(--on-navy);
  margin-top: 0.6rem;
}

/* ---------- 12. WHY CHOOSE US ---------- */
.why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}
.why-media {
  position: sticky;
  top: 120px;
}
.why-media .photo-frame {
  aspect-ratio: 4/4.2;
}
.gauge {
  position: absolute;
  right: clamp(12px, 2vw, 24px);
  top: clamp(12px, 2vw, 24px);
  width: clamp(150px, 13vw, 200px);
  padding: 0.9rem;
  border-radius: var(--r-l);
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid #fff;
  text-align: center;
}
.gauge svg {
  width: 100%;
  height: auto;
  overflow: visible;
}
.gauge .g-base {
  fill: none;
  stroke: var(--line);
  stroke-width: 8;
  stroke-linecap: round;
}
.gauge .g-val {
  fill: none;
  stroke: var(--motion-blue);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
}
.gauge b {
  display: block;
  font: 800 1.9rem/1 var(--f-display);
  margin-top: -0.4rem;
  font-variant-numeric: tabular-nums;
}
.gauge > span {
  font-size: 1rem;
  color: var(--slate);
}
.why-list {
  display: grid;
  gap: 14px;
  margin-top: clamp(24px, 3vw, 40px);
}
.why-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1.4rem;
  border-radius: var(--r-l);
  background: #fff;
  border: 1px solid var(--line);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.why-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-1);
}
.why-item .ic {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--ao-ink-navy);
  color: #fff;
}
.why-item .ic .icon {
  width: 26px;
  height: 26px;
}
.why-item p {
  color: var(--slate);
  margin-top: 0.4rem;
}

/* ---------- 13. INSURANCE (textura glow) ---------- */
.ins {
  padding: clamp(44px, 6vw, 96px) var(--pad);
  background: var(--sky-100);
}
.ins .bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.ins .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ins-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.ins h2 {
  margin: 1rem 0 1.2rem;
}
.ins .lead {
  color: var(--ao-ink-navy);
}
.ins .ctas {
  margin-top: 1.6rem;
}
.logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.logo-slot {
  min-height: 104px;
  border-radius: var(--r-m);
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1.5px dashed rgba(45, 91, 215, 0.45);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.8rem;
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.3;
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s;
}
.logo-slot:hover {
  transform: translateY(-3px);
  background: var(--glass-strong);
}
.logo-slot.first {
  grid-column: span 2;
  border-style: solid;
  border-color: #fff;
  background: var(--glass-strong);
  color: var(--ao-ink-navy);
  font-weight: 600;
  font-size: 1.0625rem;
}
.logo-slot.first b {
  display: block;
  font: 800 1.5rem/1.1 var(--f-display);
}
.cov-note {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--ao-ink-navy);
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}
.cov-note .icon {
  color: var(--motion-blue);
  margin-top: 0.15rem;
}

/* ---------- 14. PROVIDERS ---------- */
.prov {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 14px;
}
.pc {
  display: grid;
  grid-template-columns: minmax(0, min(400px, 44%)) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 36px);
  align-items: stretch;
  border-radius: var(--r-xl);
  background: var(--sky-50);
  border: 1px solid var(--line);
  padding: clamp(14px, 1.4vw, 20px);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.pc:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-1);
}
.pc .ph {
  border-radius: var(--r-l);
  overflow: hidden;
  max-width: 400px;
  background: var(--sky-100);
}
.pc .ph picture {
  height: 100%;
}
.pc .ph img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: 50% 25%;
}
.pc .body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.6rem 0.4rem 0.6rem 0;
}
.pc h3 {
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
}
.pc .role {
  align-self: flex-start;
  display: inline-block;
  margin: 0.7rem 0 1rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--sky-200);
  font-weight: 600;
  font-size: 1rem;
}
.pc p {
  color: var(--slate);
}
.pc .train {
  font-size: 1rem;
  margin-top: 0.8rem;
}
.pc .ctas {
  margin-top: 1.4rem;
}
.team {
  margin-top: clamp(28px, 3.4vw, 52px);
}
.team-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.team-head h3 {
  font-size: 1.4rem;
}

/* ---------- 15. TESTIMONIOS (carrusel) ---------- */
.reviews {
  padding: clamp(44px, 6vw, 96px) var(--pad);
  background: var(--sky-100);
}
.reviews .bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.reviews .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 50%;
}
.reviews .bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(243, 248, 255, 0.97) 0%, rgba(243, 248, 255, 0.92) 45%, rgba(243, 248, 255, 0.55) 100%);
}
.car-ctrl {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.car-ctrl button {
  width: var(--tap);
  height: var(--tap);
  border-radius: 50%;
  border: 2px solid var(--ao-ink-navy);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ao-ink-navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    background-color 0.2s,
    color 0.2s,
    transform 0.25s var(--ease),
    opacity 0.2s;
}
.car-ctrl button:hover:not([disabled]) {
  background: var(--ao-ink-navy);
  color: #fff;
  transform: translateY(-2px);
}
.car-ctrl button[disabled] {
  opacity: 0.35;
  cursor: default;
}
.track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 14px) / 2.3);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 14px;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.track::-webkit-scrollbar {
  display: none;
}
.rv {
  scroll-snap-align: start;
  background: #fff;
  border-radius: var(--r-l);
  padding: 1.6rem;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 0;
  min-height: 300px;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.rv:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-1);
}
.rv blockquote {
  margin: 0;
  font: 500 1.3rem/1.45 var(--f-display);
  letter-spacing: -0.01em;
  flex: 1;
}
.rv cite {
  font-style: normal;
  color: var(--slate);
  font-size: 1rem;
}
.sample {
  align-self: flex-start;
  font: 700 1rem/1.15 var(--f-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--sample);
  color: var(--sample-ink);
  padding: 0.45rem 0.65rem;
  border-radius: 6px;
}
.dots {
  display: flex;
  gap: 8px;
  margin-top: 1rem;
}
.dots span {
  height: 6px;
  width: 22px;
  border-radius: 6px;
  background: rgba(14, 28, 77, 0.18);
  transition:
    background-color 0.3s,
    transform 0.3s;
}
.dots span.on {
  background: var(--motion-blue);
}
.rev-foot .link-arrow {
  color: var(--ao-ink-navy);
  background: #fff;
  padding: 0 1.1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-1);
} /* navy sobre blanco 16.6:1 ✔ */
.rev-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* ---------- 16. LOCATIONS ---------- */
.loc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.map {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--sky-100);
  min-height: 460px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  isolation: isolate;
}
.map .map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.85) hue-rotate(-4deg);
}
.map-bar {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.map-bar > * {
  pointer-events: auto;
}
.map-tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-1);
}
.map-tabs button {
  font: 600 1rem/1 var(--f-body);
  color: var(--ao-ink-navy);
  background: transparent;
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 1rem;
  cursor: pointer;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease);
}
.map-tabs button:hover {
  background: var(--sky-100);
}
.map-tabs button[aria-selected="true"] {
  background: var(--ao-ink-navy);
  color: #fff;
}
.map .map-open {
  box-shadow: var(--shadow-1);
}
.locs-list {
  display: grid;
  gap: 12px;
}
.lc {
  border-radius: var(--r-l);
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.3rem 1.4rem;
  display: grid;
  gap: 0.35rem;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s;
}
.lc:hover,
.lc:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-1);
  border-color: var(--sky-300);
}
.lc {
  cursor: pointer;
}
.lc.is-active {
  border-color: var(--motion-blue);
  box-shadow:
    0 0 0 1px var(--motion-blue),
    var(--shadow-1);
}
.lc h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.lc .badge {
  font: 600 1rem/1 var(--f-body);
  background: var(--sky-100);
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  color: var(--ao-ink-navy);
  letter-spacing: 0;
}
.lc p {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--slate);
}
.lc p .icon {
  color: var(--motion-blue);
  margin-top: 0.2rem;
  width: 19px;
  height: 19px;
}
.lc p a {
  color: var(--ao-ink-navy);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -10px;
  transition: all .2s ease-in;
}
.lc p a:hover {
  color: var(--motion-blue);
}
.lc .links {
  display: flex;
  gap: 0.4rem 1.4rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

/* ---------- 17. RESOURCES ---------- */
.res {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.rc {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 540px;
  border: 1px solid var(--line);
  background: var(--sky-50);
  isolation: isolate;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.rc:hover,
.rc:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2);
}
.rc .media {
  position: relative;
  height: 260px;
  overflow: hidden;
  flex: none;
}
.rc .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.rc:hover .media img,
.rc:focus-within .media img {
  transform: scale(1.06);
}
.rc .body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.rc .body p {
  color: var(--slate);
}
.rc .body .link-arrow {
  margin-top: auto;
}
.rc.pamph .media {
  background: linear-gradient(160deg, #cfe2fb, #e9f1fd);
}
.rc.pamph .media picture {
  position: absolute;
  width: 44%;
  top: 14%;
  box-shadow: 0 18px 30px -16px rgba(14, 28, 77, 0.5);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.6s var(--ease);
}
.rc.pamph .media picture:nth-child(1) {
  left: 12%;
  transform: rotate(-6deg);
}
.rc.pamph .media picture:nth-child(2) {
  right: 12%;
  transform: rotate(5deg) translateY(10px);
}
.rc.pamph:hover .media picture:nth-child(1),
.rc.pamph:focus-within .media picture:nth-child(1) {
  transform: rotate(-9deg) translate(-8px, -6px);
}
.rc.pamph:hover .media picture:nth-child(2),
.rc.pamph:focus-within .media picture:nth-child(2) {
  transform: rotate(8deg) translate(8px, 0);
}
.rc.pamph .media img {
  height: auto;
}
.rc.faq {
  background: var(--ao-ink-navy);
  color: #fff;
  border-color: transparent;
}
.rc.faq .media {
  display: grid;
  place-items: center;
}
.rc.faq .media .bgt {
  position: absolute;
  inset: 0;
  opacity: 0.35;
}
.rc.faq .media .bgt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rc.faq .q {
  position: relative;
  display: grid;
  gap: 8px;
  width: min(84%, 340px);
}
.rc.faq .q span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  background: rgba(14, 28, 77, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1rem;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.rc.faq .q span:nth-child(2) {
  margin-left: 12%;
}
.rc.faq .body p {
  color: var(--on-navy);
}
.rc.faq .link-arrow {
  color: #fff;
}

/* ---------- 18. CTA FINAL (split) ---------- */
.cta-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 560px;
  background: linear-gradient(135deg, #1b2a80, #0e1c4d);
}
.cta-copy {
  position: relative;
  padding: clamp(40px, 5.4vw, 96px) var(--pad);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.cta-copy > svg {
  position: absolute;
  right: -18%;
  bottom: -30%;
  width: 90%;
  height: auto;
  pointer-events: none;
  opacity: 0.9;
}
.cta-copy > svg path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 2.5;
  stroke-dasharray: 2 12;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.cta-copy > svg circle {
  fill: #fff;
}
.cta-copy h2 {
  max-width: 14ch;
  position: relative;
}
.cta-copy p {
  color: var(--on-navy-2);
  max-width: 46ch;
  margin-top: 1.2rem;
  position: relative;
}
.cta-copy .ctas {
  position: relative;
  margin-top: 2rem;
}
.cta-copy .hours {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1.4rem;
  font-size: 1rem;
  color: var(--on-navy-2);
  position: relative;
}
.cta-photo {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}
.cta-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 30%;
  transform: scale(1.08);
  will-change: transform;
}

/* ---------- 19. FOOTER ---------- */
.footer {
  margin-top: var(--padding-block);
  background: var(--ao-ink-navy);
  color: var(--on-navy);
  padding-top: clamp(48px, 6vw, 80px);
  overflow: hidden;
}
.footer a {
  color: #fff;
  text-decoration: none;
  transition: all .2s ease-in;
}
.footer a:hover {
  color: var(--motion-blue-200);
}
.f-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.8fr)) minmax(0, 1.3fr);
  gap: 2rem;
}
.f-seal {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.f-seal img {
  width: 84px;
  height: 84px;
}
.footer h2 {
  margin: 0 0 1rem;
  font: 700 1.0625rem/1 var(--f-display);
  color: #fff;
  letter-spacing: 0;
}
.footer ul {
  display: grid;
  gap: 0.25rem;
  font-size: 1rem;
}
.footer ul a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}
.footer .f-brand p {
  font-size: 1rem;
}
.footer .f-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  font: 700 1.3rem/1 var(--f-display);
  margin-top: 0.6rem;
}
.footer .f-locs li {
  line-height: 1.45;
  padding-bottom: 0.6rem;
}
.footer .f-locs li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -10px;
} /* QA-S15: área táctil 44 px */
.footer .f-locs b {
  color: #fff;
  font-family: var(--f-display);
}
.wordmark {
  font: 800 8.1vw/0.82 var(--f-display);
  letter-spacing: -0.055em;
  color: rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  margin-top: clamp(28px, 4vw, 56px);
  user-select: none;
  transform: translateX(-0.04em);
}
.f-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: 1.4rem 1.8rem;
  font-size: 1rem;
}
.f-legal nav {
  display: flex;
  gap: 0.2rem 1.4rem;
  flex-wrap: wrap;
}
.f-legal nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.f-legal .copy a {
  text-decoration: underline;
}

/* ---------- 20. BARRA MÓVIL ---------- */
.mbar {
  display: none;
}

/* ---------- 21. MODAL ---------- */
dialog.appt {
  width: calc(100vw - 2 * var(--gutter));
  max-width: none;
  max-height: calc(100dvh - 2 * var(--gutter));
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--r-xl);
  background: var(--sky-50);
  color: var(--ao-ink-navy);
  overflow: auto;
  overscroll-behavior: contain;
}
dialog.appt::backdrop {
  background: rgba(14, 28, 77, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
dialog.appt[open] {
  animation: dlgIn 0.45s var(--ease);
}
dialog.appt[open]::backdrop {
  animation: fadeIn 0.35s ease;
}
dialog.appt.closing {
  animation: dlgOut 0.25s ease forwards;
}
dialog.appt.closing::backdrop {
  animation: fadeOut 0.25s ease forwards;
}
@keyframes dlgIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes dlgOut {
  to {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
}
@keyframes fadeOut {
  to {
    opacity: 0;
  }
}
.appt-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  min-height: min(720px, calc(100dvh - 2 * var(--gutter)));
}
.appt-side {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #cfe2fb, #f3f8ff);
  padding: clamp(24px, 3.6vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.appt-side h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.5rem);
}
.appt-side p {
  color: var(--slate);
}
.appt-side .call a {
  color: var(--ao-ink-navy);
  font-weight: 700;
  text-decoration: none;
  transition: all .2s ease-in-out;
}
.appt-side .call a:hover{
  color: var(--motion-blue);
}
.appt-side .em {
  margin-top: auto;
  background: #fff;
  border-radius: var(--r-m);
  padding: 1rem;
  font-size: 1rem;
  color: var(--ao-ink-navy);
  display: flex;
  gap: 0.6rem;
}
.appt-side .em .icon {
  color: var(--motion-blue);
  margin-top: 0.15rem;
}
.appt-main {
  padding: clamp(24px, 3.6vw, 52px);
  background: #fff;
  position: relative;
}
.appt .x {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: var(--tap);
  height: var(--tap);
  border-radius: 50%;
  border: 0;
  background: var(--sky-100);
  cursor: pointer;
  color: var(--ao-ink-navy);
  display: grid;
  place-items: center;
  transition:
    transform 0.25s var(--ease),
    background-color 0.2s;
}
.appt .x:hover {
  transform: rotate(90deg);
  background: var(--sky-200);
}
.progress {
  display: flex;
  gap: 6px;
  margin-bottom: 1.2rem;
  padding-right: 64px;
}
.progress span {
  height: 6px;
  flex: 1;
  border-radius: 6px;
  background: var(--line);
  overflow: hidden;
  position: relative;
}
.progress span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--motion-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.progress span.on::after {
  transform: scaleX(1);
}
.step {
  animation: stepIn 0.4s var(--ease);
}
.step[hidden] {
  display: none;
}
@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.step h3 {
  padding-right: 64px;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
}
.hint {
  color: var(--slate);
  margin: 0.4rem 0 1.4rem;
  font-size: 1rem;
}
.choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.choice button {
  min-height: 170px;
  border-radius: var(--r-l);
  border: 2px solid var(--line);
  background: var(--sky-50);
  text-align: left;
  padding: 1.3rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  justify-content: space-between;
  transition:
    border-color 0.2s,
    background-color 0.2s,
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.choice button:hover,
.choice button:focus-visible {
  border-color: var(--motion-blue);
  background: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-1);
}
.choice .ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--ao-ink-navy);
  color: #fff;
}
.choice b {
  font: 700 1.55rem/1.1 var(--f-display);
  display: block;
}
.choice span.t {
  color: var(--slate);
  font-size: 1rem;
}
.locs {
  border: 0;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 10px;
}

.locs p .wpcf7-form-control-wrap .wpcf7-form-control{
    border: 0;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 10px;
}

.locs label {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  min-height: 68px;
  border: 2px solid var(--line);
  border-radius: var(--r-m);
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.locs label:hover {
  border-color: var(--sky-300);
}

.locs label:has(input:checked) {
  border-color: var(--motion-blue);
  background: var(--sky-50);
}
.locs input {
  width: 22px;
  height: 22px;
  accent-color: var(--motion-blue);
  flex: none;
}
.locs small {
  display: block;
  color: var(--slate);
  font-size: 1rem;
}
.packet {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: var(--r-m);
  background: var(--sky-100);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.packet .icon {
  color: var(--motion-blue);
  margin-top: 0.1rem;
}
.packet a {
  font-weight: 700;
  color: var(--ao-navy);
}
.consent {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--slate);
  margin: 0.2rem 0 0.4rem;
  cursor: pointer;
  min-height: 48px;
}
.consent input {
  width: 22px;
  height: 22px;
  margin: 0.15rem 0 0;
  accent-color: var(--motion-blue);
  flex: none;
}
.consent a {
  color: var(--ao-navy);
  font-weight: 600;
}
.field-err {
  color: #b42318;
  font-size: 1rem;
  min-height: 1.4em;
} /* #B42318 sobre blanco 6.5:1 ✔ */
.amelia {
  border: 2px dashed var(--motion-blue);
  border-radius: var(--r-l);
  padding: 1.4rem;
  color: var(--slate);
  background: var(--sky-50);
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
}
.amelia .spin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--sky-200);
  border-top-color: var(--motion-blue);
  margin: 0 auto 0.8rem;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.back {
  background: none;
  border: 0;
  color: var(--motion-blue);
  font-weight: 600;
  font-size: 1.0625rem;
  min-height: var(--tap);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.4rem;
}
.row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1rem;
}

/* ---------- 22. MOTION: reveals escalonados ---------- */
.js .rv-up {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .rv-up.in {
  opacity: 1;
  transform: none;
}
.js .rv-fade {
  opacity: 0;
  transition: opacity 1s ease;
  transition-delay: var(--d, 0s);
}
.js .rv-fade.in {
  opacity: 1;
}
.js .rv-scale {
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.9s var(--ease),
    transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .rv-scale.in {
  opacity: 1;
  transform: none;
}
/* Entrada del hero al cargar */
.js .hero h1 .l {
  opacity: 0;
  transform: translateY(0.4em);
  animation: lineIn 0.9s var(--ease) forwards;
}
.js .hero h1 .l:nth-child(2) {
  animation-delay: 0.12s;
}
.js .hero h1 .l:nth-child(3) {
  animation-delay: 0.24s;
}
@keyframes lineIn {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pulse {
  0% {
    transform: scale(0.6);
    opacity: 0.7;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .js .rv-up,
  .js .rv-fade,
  .js .rv-scale,
  .js .hero h1 .l {
    opacity: 1;
    transform: none;
  }
  .track {
    scroll-behavior: auto;
  }
}

/* ---------- 23. RESPONSIVE (mobile-first ajustado por rangos) ---------- */
@media (max-width: 1280px) {
  .f-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .f-grid .f-brand {
    grid-column: 1/-1;
  }
  .f-grid .f-locs-col {
    grid-column: span 3;
  }
  .f-locs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem !important;
  }
}
/* Menú de 6 ítems con dropdowns: cabe sin apretar el logo desde 1366 px; por debajo, drawer */
@media (max-width: 1365px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: inline-grid;
  }
  .mega {
    display: none;
  }
}
@media (max-width: 1180px) {
  .treat {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tc {
    min-height: 470px;
  }
  .prov {
    grid-template-columns: 1fr;
  }
  .logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .logo-slot.first {
    grid-column: span 3;
  }
  .res {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .res .rc.faq {
    grid-column: span 2;
    min-height: 0;
  }
  .res .rc.faq {
    flex-direction: row;
  }
  .res .rc.faq .media {
    width: 45%;
    height: auto;
    min-height: 280px;
  }
  .track {
    grid-auto-columns: calc((100% - 14px) / 2.15);
  }
  .quick ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  body {
    padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
  }
  .mbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
    background: rgba(243, 248, 255, 0.95);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform 0.4s var(--ease);
  }
  .mbar.show {
    transform: none;
  }
  .mbar .btn {
    width: 100%;
    padding: 0 0.8rem;
  }
  .head,
  .welcome,
  .why,
  .ins-grid,
  .loc-grid,
  .cta-split,
  .appt-in {
    grid-template-columns: 1fr;
  }
  .why-media {
    position: relative;
    top: 0;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .steps .path {
    display: none;
  }
  .step-c {
    margin-top: 44px;
  }
  .cta-photo {
    min-height: 340px;
  }
  .cta-copy > svg {
    width: 120%;
  }
  .appt-side .em {
    margin-top: 0;
  }
  .map {
    min-height: 420px;
  }
}
@media (max-width: 640px) {
  .top .hide-s {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-figure {
    height: 380px;
    margin-top: 0.5rem;
  }
  .rom {
    left: -6%;
    width: 112%;
  }
  .deg {
    left: 0;
    top: 2%;
  }
  .brand small {
    display: none;
  }
  .brand img {
    width: 46px;
    height: 46px;
  }
  .brand b {
    font-size: 1rem;
  }
  .bar {
    min-height: 64px;
  }
  .stage {
    padding-inline: 16px;
    padding-top: 20px;
  }
  .tags .tag:nth-child(2) {
    display: none;
  }
  .hero-sub .s-long {
    display: none;
  }
  .hero-sub .s-short {
    display: inline;
  }
  .hero .ctas .btn,
  .ctas .btn {
    width: 100%;
  }
  .stat {
    min-height: 108px;
    padding: 1rem;
  }
  .quick ul {
    grid-template-columns: 1fr;
  }
  .qcard {
    min-height: 76px;
  }
  .treat,
  .res,
  .choice {
    grid-template-columns: 1fr;
  }
  .tc {
    min-height: 440px;
  }
  .res .rc.faq {
    grid-column: auto;
    flex-direction: column;
  }
  .res .rc.faq .media {
    width: auto;
    min-height: 0;
    height: 240px;
  }
  .rc {
    min-height: 0;
  }
  .rc .media {
    height: 220px;
  }
  .pc {
    grid-template-columns: 1fr;
  }
  .pc .ph {
    max-width: none;
  }
  .pc .ph img {
    aspect-ratio: 4/3.6;
  }
  .logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .logo-slot.first {
    grid-column: span 2;
  }
  .track {
    grid-auto-columns: 88%;
  }
  .f-grid {
    grid-template-columns: 1fr 1fr;
  }
  .f-grid .f-locs-col {
    grid-column: 1/-1;
  }
  .f-locs {
    grid-template-columns: 1fr;
  }
  .gauge {
    width: 132px;
    padding: 0.6rem;
  }
  .gauge b {
    font-size: 1.5rem;
  }
  .choice button {
    min-height: 132px;
  }
  .arc-div {
    height: 52px;
  }
}

/* Mapa en móvil: el SVG pasa a flujo normal y sube el tamaño de las etiquetas */
@media (max-width: 640px) {
  .map {
    min-height: 380px;
  }
}

/* ===== Correcciones QA v2 ===== */
/* QA-007: CTA del header visible hasta 901 px; por debajo manda la barra móvil */
@media (max-width: 900px) {
  .bar > .btn-solid {
    display: none;
  }
}
@media (max-width: 640px) {
  .header {
    height: 64px;
  }
  .header.is-compact .bar {
    min-height: 56px;
  }
}
/* QA-008: la barra móvil se oculta mientras el drawer está abierto */
.drawer-open .mbar {
  transform: translateY(110%) !important;
}
.drawer {
  max-height: calc(100dvh - 190px);
}
/* QA-009: modal en móvil: tarea primero, cierre fijo arriba a la derecha, panel lateral compacto debajo */
@media (max-width: 900px) {
  .appt-in {
    min-height: 0;
  }
  .appt-main {
    order: 1;
    padding-top: 20px;
  }
  .appt-side {
    order: 2;
    padding: 18px 20px 22px;
    gap: 0.6rem;
  }
  .appt-side .kicker,
  .appt-side > p:not(.call):not(.em) {
    display: none;
  }
  .appt-side h2 {
    font-size: 1.6rem;
  }
  .appt .x {
    position: sticky;
    top: 10px;
    float: right;
    margin: -6px -6px 0 8px;
  }
  .progress {
    padding-right: 0;
  }
  .step h3 {
    padding-right: 0;
  }
  .choice button {
    min-height: 112px;
    padding: 1rem;
  }
  .choice {
    gap: 10px;
  }
}
@media (max-width: 640px) {
  .choice {
    grid-template-columns: 1fr 1fr;
  }
  .choice b {
    font-size: 1.25rem;
  }
  .choice .ic {
    width: 40px;
    height: 40px;
  }
}
/* QA-033: modal ultra-wide con columna de tarea más amplia y alto mínimo mayor */
@media (min-width: 1921px) {
  .appt-in {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
    min-height: min(760px, calc(100dvh - 2 * var(--gutter)));
  }
  .appt-main > .step,
  .appt-main > .progress {
    max-width: 1100px;
  }
}
/* QA-016: en tablet el badge vuelve dentro de la columna */
@media (max-width: 1180px) {
  .deg {
    left: -14%;
    top: 4%;
  }
}
@media (max-width: 640px) {
  .deg {
    left: 0;
    top: 2%;
  }
}
/* El CTA del drawer no hereda el reset de .drawer>button (texto blanco sobre blanco) */
.drawer > button.btn-solid {
  background: var(--ao-ink-navy);
  color: #fff;
  border: 0;
  justify-content: center;
  gap: 0.55rem;
  min-height: var(--tap);
  border-radius: 999px;
  margin-top: 1rem;
}

/* ===== Reseñas reales de Google (2026-10-27) ===== */
.rv .g-src {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font: 600 1rem/1 var(--f-body);
  color: var(--slate);
}
.rv .g-src svg {
  width: 18px;
  height: 18px;
}
.stars {
  display: inline-flex;
  color: #f5a623;
}
.stars svg {
  width: 100px;
  height: 20px;
  fill: currentColor;
}
.rv-score {
  background: linear-gradient(160deg, #1b2a80, #0e1c4d);
  border-color: transparent;
  color: #fff;
}
.rv-score .g-src,
.rv-score cite,
.rv-score .score-note {
  color: var(--on-navy);
}
.rv-score .score {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
}
.rv-score .score b {
  font: 700 clamp(3.4rem, 6vw, 4.6rem)/1 var(--f-display);
  letter-spacing: -0.03em;
}
.rv-score .stars-wrap {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}
.rv-score .score-note {
  flex: 1;
  margin: 0;
}
.rv-score strong {
  color: #fff;
}
.rev-disclaimer {
  margin-top: 0.8rem;
  font-size: 1rem;
  color: var(--slate);
}

/* ===== v6 · HERO CON VIDEO (pedido del usuario) =====
   El video llena el panel redondeado (.stage, mismo radio y gutter). Degradado navy desde la izquierda:
   el texto pasa a claro. Contraste medido sobre el frame más claro (ver QA-HOME.md, sección v6). */
.stage-video {
  background: linear-gradient(135deg, #1b2a80, #0e1c4d);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-media picture,
.hero-media img,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 30%;
}
.hero-video {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-video.is-playing {
  opacity: 1;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 28, 77, 0.94) 0%, rgba(14, 28, 77, 0.9) 34%, rgba(14, 28, 77, 0.74) 48%, rgba(14, 28, 77, 0.34) 62%, rgba(14, 28, 77, 0) 76%),
    linear-gradient(0deg, rgba(14, 28, 77, 0.7) 0%, rgba(14, 28, 77, 0) 32%);
}
.stage-video .hero-grid,
.stage-video .stats {
  position: relative;
  z-index: 2;
}
.stage-video .tag {
  background: rgba(14, 28, 77, 0.62);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.stage-video .tag i {
  background: var(--motion-blue-200);
}
.stage-video h1 {
  color: #fff;
} /* blanco sobre navy ≥ .74 → ≥ 7:1 */
.stage-video .hero-sub {
  color: var(--on-navy-2);
} /* #D5E2FA sobre navy ≥ .9 → ≥ 9:1 */
.stage-video .hero-sub strong {
  color: #fff;
}
.stage-video .ctas .btn-solid {
  background: var(--motion-blue);
  color: #fff;
} /* 5.9:1 */
.stage-video .ctas .btn-solid:hover {
  background: #3a68e6;
}
.stage-video .ctas .btn-outline {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
  background: rgba(14, 28, 77, 0.55);
}
.stage-video .ctas .btn-outline:hover {
  background: #fff;
  color: var(--ao-ink-navy);
}
.stage-video .hero-figure {
  height: clamp(400px, 34vw, 760px);
}
/* Arco en claro, superpuesto junto al hombre */
.stage-video .rom {
  left: -30%;
  width: 150%;
  bottom: 0;
}
.stage-video .rom .r-base {
  stroke: rgba(255, 255, 255, 0.35);
}
.stage-video .rom .r-path {
  stroke: #fff;
}
.stage-video .rom .r-tick {
  stroke: #fff;
  opacity: 0.85;
}
.stage-video .rom .r-lab {
  fill: #fff;
  paint-order: stroke;
  stroke: rgba(14, 28, 77, 0.55);
  stroke-width: 4px;
}
.stage-video .rom .r-arm {
  stroke: #fff;
  opacity: 0.55;
}
.stage-video .rom .r-dot {
  fill: #fff;
  stroke: var(--motion-blue);
  stroke-width: 4px;
}
.stage-video .rom .r-halo {
  fill: #fff;
  opacity: 0.25;
}
.stage-video .deg {
  left: auto;
  right: 4%;
  top: 6%;
}
.stage-video .stat {
  background: rgba(255, 255, 255, 0.86);
} /* slate sobre glass .86 ≥ 6:1 aun sobre fondo oscuro */
@media (max-width: 1180px) {
  .stage-video .deg {
    right: 0;
    left: auto;
    top: 2%;
  }
}
@media (max-width: 1180px) {
  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(14, 28, 77, 0.95) 0%, rgba(14, 28, 77, 0.92) 50%, rgba(14, 28, 77, 0.72) 64%, rgba(14, 28, 77, 0.2) 82%, rgba(14, 28, 77, 0) 92%),
      linear-gradient(0deg, rgba(14, 28, 77, 0.7) 0%, rgba(14, 28, 77, 0) 32%);
  }
}
/* Móvil: el video queda arriba como bloque y el texto entra sobre el fundido a navy */
@media (max-width: 640px) {
  .hero-media {
    position: relative;
    inset: auto;
    height: 360px;
    margin: -20px -16px -1px;
  }
  .hero-media::after {
    inset: 0 0 -2px;
  }
  .hero-media picture,
  .hero-media img,
  .hero-video {
    object-position: 58% 22%;
  }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(14, 28, 77, 0.15) 0%, rgba(14, 28, 77, 0) 30%, rgba(14, 28, 77, 0.55) 62%, #0e1c4d 100%);
  }
  .stage-video {
    background: #0e1c4d;
  }
  .stage-video .hero-grid {
    margin-top: -96px;
  }
  .stage-video .hero-figure {
    position: absolute;
    top: -190px;
    right: -12px;
    width: 46%;
    height: 150px;
    margin: 0;
  }
  .stage-video .rom {
    left: -10%;
    width: 120%;
  }
  .stage-video .deg {
    display: none;
  }
  .stage-video .tags {
    margin: 0;
  }
}

/* ===== v6 · CARRUSEL DEL EQUIPO ===== */
.team-actions {
  display: flex;
  align-items: center;
  gap: 1rem 1.4rem;
  flex-wrap: wrap;
}
.team-track {
  --gap: 14px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--gap)) / 4);
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 14px;
  margin: 0;
  list-style: none;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.team-track::-webkit-scrollbar {
  display: none;
}
.tm {
  scroll-snap-align: start;
}
.tm figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-l);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--sky-100);
  isolation: isolate;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.tm figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-1);
}
.tm picture,
.tm img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.tm img {
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform 0.8s var(--ease);
}
.tm figure:hover img {
  transform: scale(1.04);
}
.tm figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 0.85rem 1rem;
  border-radius: var(--r-m);
  background: rgba(14, 28, 77, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
} /* blanco sobre navy .82 ≥ 9:1 */
.tm figcaption b {
  display: block;
  font: 700 1.25rem/1.2 var(--f-display);
  letter-spacing: -0.01em;
}
.tm figcaption small {
  display: block;
  font-size: 1rem;
  color: #d5e2fa;
  line-height: 1.35;
  margin-top: 0.15rem;
}
@media (max-width: 1180px) {
  .team-track {
    grid-auto-columns: calc((100% - 2 * var(--gap)) / 3);
  }
}
@media (max-width: 900px) {
  .team-track {
    grid-auto-columns: calc((100% - var(--gap)) / 2);
  }
}
@media (max-width: 640px) {
  .team-track {
    grid-auto-columns: 80%;
  }
  .team-head {
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .team-track {
    scroll-behavior: auto;
  }
}

/* ===== v6 · LOGOS DE ASEGURADORAS (VALIDAR lista con el cliente) ===== */
.logo-slot.logo-img {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #fff;
  padding: 1.1rem 1.3rem;
  box-shadow: 0 10px 24px -20px rgba(14, 28, 77, 0.5);
}
.logo-slot.logo-img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 52px;
  max-width: 150px;
  object-fit: contain;
  margin: auto;
  transition: transform 0.35s var(--ease);
}
.logo-slot.logo-img:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-1);
}
.logo-slot.logo-img:hover img {
  transform: scale(1.04);
}
@media (max-width: 640px) {
  .logo-slot.logo-img img {
    max-height: 44px;
  }
}
/* bcbs-crop.webp: recorte sin márgenes de bcbs.webp (FUENTES.md) */
.logo-slot.logo-img img[src*="bcbs"] {
  max-width: 170px;
}
@media (max-width: 640px) {
  .hero-media {
    overflow: visible;
  }
  .stage-video .hero-figure {
    top: -150px;
    right: -10px;
    width: 40%;
    height: 120px;
  }
}

/* ===== v7 · VIDEO DE FONDO EN "HOW IT WORKS" ===== */
.how-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
}
.how-media picture,
.how-media img,
.how-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.how-video {
  opacity: 0;
  transition: opacity 0.9s ease;
}
.how-video.is-playing {
  opacity: 1;
}
/* Overlay navy retirado (prueba del usuario 2026-10-27). Para volver: .how-media::after{background:rgba(14,28,77,.78)} */

/* ===== v8 · HOW IT WORKS: sin overlay + coreografía 1→2→3 ===== */
.how .head h2,
.how .head p,
.how .kicker {
  text-shadow:
    0 2px 18px rgba(8, 16, 48, 0.75),
    0 1px 3px rgba(8, 16, 48, 0.6);
}
.how .head p {
  color: #fff;
}
.how .kicker {
  color: #dce7ff;
}
.step-c {
  z-index: 1;
  background: rgba(14, 28, 77, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-color: rgba(255, 255, 255, 0.22);
}
.step-c p {
  color: #e1e9fb;
}
.step-c .n {
  position: relative;
  z-index: 2;
}
/* Estado inicial (solo con JS y sin movimiento reducido) */
.js .how[data-how] .step-c {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.8s var(--ease),
    background-color 0.35s;
}
.js .how[data-how] .step-c .n {
  transform: scale(0.4);
  opacity: 0;
  transition:
    transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.4s ease,
    box-shadow 0.6s ease;
}
.js .how[data-how] .p-mask {
  transition: stroke-dashoffset 2.1s cubic-bezier(0.65, 0, 0.35, 1) 0.35s;
}
/* Secuencia: tarjeta 1 → trazo hacia 2 → tarjeta 2 → trazo hacia 3 → tarjeta 3 */
.js .how.is-in .step-c {
  opacity: 1;
  transform: none;
}
.js .how.is-in .step-c .n {
  transform: none;
  opacity: 1;
}
.js .how.is-in [data-step="0"],
.js .how.is-in [data-step="0"] .n {
  transition-delay: 0.1s;
}
.js .how.is-in [data-step="1"],
.js .how.is-in [data-step="1"] .n {
  transition-delay: 1.15s;
}
.js .how.is-in [data-step="2"],
.js .how.is-in [data-step="2"] .n {
  transition-delay: 2.2s;
}
.js .how.is-in .p-mask {
  stroke-dashoffset: 0;
}
/* Pulso único del anillo al llegar el trazo */
@keyframes ringPop {
  0% {
    box-shadow: 0 0 0 0 rgba(140, 180, 255, 0.9);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(140, 180, 255, 0);
  }
}
.js .how.is-in .step-c .n {
  animation: ringPop 0.9s ease-out both;
}
.js .how.is-in [data-step="0"] .n {
  animation-delay: 0.35s;
}
.js .how.is-in [data-step="1"] .n {
  animation-delay: 1.4s;
}
.js .how.is-in [data-step="2"] .n {
  animation-delay: 2.45s;
}
.step-c:hover {
  transform: translateY(-5px) !important;
  background: rgba(14, 28, 77, 0.68);
}
@media (prefers-reduced-motion: reduce) {
  .js .how[data-how] .step-c,
  .js .how[data-how] .step-c .n {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
  .js .how[data-how] .p-mask {
    stroke-dashoffset: 0;
    transition: none;
  }
} /* Al terminar la secuencia, sin retrasos para el hover */
.js .how.is-done .step-c,
.js .how.is-done .step-c .n {
  transition-delay: 0s !important;
}

/* ===== v11 · TARJETAS WHAT WE TREAT: clic en toda la tarjeta + expansión al hover ===== */
/* Toda la tarjeta lleva a la página de la categoría (enlace del H3 estirado); las píldoras quedan por encima */
.tc h3 a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}
.tc h3 a:focus-visible {
  outline: none;
}
.tc:has(h3 a:focus-visible) {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.tc ul,
.tc li a {
  position: relative;
  z-index: 2;
}
.tc {
  cursor: pointer;
}
/* Bloque "más información": se despliega con grid-rows 0fr→1fr */
.tc .more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.55s var(--ease),
    opacity 0.4s ease,
    margin 0.55s var(--ease);
}
.tc .more > div {
  overflow: hidden;
}
.tc .more p {
  color: #e3ebfb;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 0.8rem;
}
.tc .more-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  padding-bottom: 2px;
}
.tc .more-cta .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}
.tc:hover .more-cta .icon {
  transform: translateX(4px);
}
@media (hover: hover) and (pointer: fine) and (min-width: 1181px) {
  .treat {
    display: flex;
    gap: 14px;
  }
  .treat .tc {
    flex: 1 1 0;
    min-width: 0;
    transition:
      flex-grow 0.6s var(--ease),
      transform 0.4s var(--ease),
      box-shadow 0.4s var(--ease);
  }
  .treat:hover .tc {
    flex-grow: 0.82;
  }
  .treat .tc:hover,
  .treat .tc:focus-within {
    flex-grow: 1.55;
  }
  .tc:hover .more,
  .tc:focus-within .more {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 1rem;
    transition-delay: 0.12s;
  }
}
/* Sin hover (táctil) o pantallas medianas: la información extra siempre visible */
@media (hover: none), (max-width: 1180px) {
  .tc .more {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .treat .tc,
  .tc .more {
    transition: none;
  }
}
/* v12 · botón pausa/reproducir del autoplay de carruseles */
.car-ctrl .car-pause {
  border-width: 1.5px;
  opacity: 0.85;
}
.car-ctrl .car-pause .icon {
  width: 18px;
  height: 18px;
}
.car-ctrl .car-pause[hidden] {
  display: none;
}

/* ===== v13 · TARJETAS WHAT WE TREAT: anillo centrado con el número + expansión fluida ===== */
/* Anillo de puntos alrededor del número (avance 25/50/75/100 %), número centrado en ambos ejes */
.tc .tc-top {
  justify-content: flex-start;
}
.tc .dial {
  position: relative;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: none;
}
.tc .dial .ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 1px 6px rgba(8, 16, 48, 0.55));
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.tc .ring path,
.tc .ring .full {
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-dasharray: 0.1 6.2;
  stroke-linecap: round;
}
.tc .ring circle:not(.full) {
  fill: #fff;
}
.tc .dial .num {
  position: relative;
  font-size: 1.05rem;
  line-height: 1;
}
.tc:hover .dial .ring,
.tc:focus-within .dial .ring {
  transform: rotate(18deg);
}

/* Expansión sin reacomodo: texto con ancho fijo (el de la tarjeta más estrecha) y foto a tamaño fijo
   (el de la tarjeta expandida); la tarjeta solo "descubre" más imagen. Curva y duración únicas. */
@media (hover: hover) and (pointer: fine) and (min-width: 1181px) {
  .treat {
    container-type: inline-size;
    --tc-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --tc-dur: 0.65s;
  }
  .treat .tc {
    transition:
      flex-grow var(--tc-dur) var(--tc-ease),
      transform var(--tc-dur) var(--tc-ease),
      box-shadow var(--tc-dur) var(--tc-ease);
  }
  .treat .tc > div:not(.tc-top) {
    width: calc((100cqw - 42px) * 0.82 / 4.01 - 2.8rem);
    flex: none;
  }
  .treat .tc picture img {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: calc((100cqw - 42px) * 1.55 / 4.01);
    max-width: none;
    translate: -50% 0;
  }
  .tc .more {
    transition:
      grid-template-rows var(--tc-dur) var(--tc-ease),
      margin var(--tc-dur) var(--tc-ease),
      opacity 0.35s ease;
  }
  .tc .more > div {
    transform: translateY(10px);
    transition: transform var(--tc-dur) var(--tc-ease);
  }
  .tc:hover .more,
  .tc:focus-within .more {
    transition-delay: 0s, 0s, 0.18s;
  }
  .tc:hover .more > div,
  .tc:focus-within .more > div {
    transform: none;
  }
}

/* ===== v14 · EXPANSIÓN SOLO CON TRANSFORM (sin reacomodo de layout) =====
   Anula la expansión por flex-grow (v11/v13): la tarjeta se amplía con scale, la foto hace zoom y el bloque de
   texto, desplazado hacia abajo en reposo (la info extra queda oculta bajo el borde), sube con translateY. */
@media (hover: hover) and (pointer: fine) and (min-width: 1181px) {
  .treat {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
  .treat .tc > div:not(.tc-top) {
    width: auto;
  }
  .treat .tc picture img {
    position: static;
    width: 100%;
    translate: none;
  }
  .treat .tc {
    transition:
      transform var(--tc-dur) var(--tc-ease),
      box-shadow var(--tc-dur) var(--tc-ease);
    will-change: transform;
  }
  .treat .tc:hover,
  .treat .tc:focus-within {
    transform: translateY(-8px) scale(1.035) !important;
    z-index: 3;
    box-shadow: 0 30px 60px -28px rgba(14, 28, 77, 0.55);
  }
  /* Info extra siempre renderizada: el cuerpo se desplaza --more-h hacia abajo en reposo */
  .tc .more,
  .tc:hover .more,
  .tc:focus-within .more {
    grid-template-rows: 1fr;
    margin-top: 1rem;
    transition: opacity 0.45s ease;
  }
  .tc .more > div,
  .tc:hover .more > div,
  .tc:focus-within .more > div {
    transform: none;
    transition: none;
  }
  .tc .tc-body {
    transform: translateY(var(--more-h, 0px));
    transition: transform var(--tc-dur) var(--tc-ease);
  }
  .tc:hover .tc-body,
  .tc:focus-within .tc-body {
    transform: none;
  }
  .tc:hover .more,
  .tc:focus-within .more {
    opacity: 1;
    transition-delay: 0.12s;
  }
  /* Scrim un poco más alto al subir el texto */
  .tc::after {
    transition: opacity var(--tc-dur) var(--tc-ease);
  }
  .tc::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(14, 28, 77, 0) 10%, rgba(14, 28, 77, 0.55) 30%, rgba(14, 28, 77, 0.35) 60%);
    opacity: 0;
    transition: opacity var(--tc-dur) var(--tc-ease);
  }
  .tc:hover::before,
  .tc:focus-within::before {
    opacity: 1;
  }
}

/* ===== v15 · EXPANSIÓN AMPLIA Y FLUIDA (flex-grow como en v11, sin reacomodo de contenido) =====
   - El ancho de las tarjetas se anima con flex-grow (1.55 / .82).
   - El cuerpo de texto tiene ancho fijo = ancho de contenido en reposo (--tc-col): nunca se reacomoda.
   - En las tarjetas que se encogen, el cuerpo se escala (--tc-shrink, calculado en JS) en vez de partir líneas.
   - La foto mide siempre el ancho de la tarjeta expandida y se recorta: no se reescala.
   - La info extra sigue entrando por translateY (v14). */
@media (hover: hover) and (pointer: fine) and (min-width: 1181px) {
  .treat {
    display: flex;
    container-type: inline-size;
    --tc-col: calc((100cqw - 42px - 11.2rem) / 4);
  }
  .treat .tc {
    flex: 1 1 0;
    min-width: 0;
    transition:
      flex-grow var(--tc-dur) var(--tc-ease),
      transform var(--tc-dur) var(--tc-ease),
      box-shadow var(--tc-dur) var(--tc-ease);
  }
  .treat:hover .tc {
    flex-grow: 0.82;
  }
  .treat .tc:hover,
  .treat .tc:focus-within {
    flex-grow: 1.55;
    transform: translateY(-6px) !important;
  }
  .treat .tc > div.tc-body {
    width: var(--tc-col);
    flex: none;
    transform-origin: 0 100%;
    transform: translateY(var(--more-h, 0px)) scale(1);
    transition: transform var(--tc-dur) var(--tc-ease);
  }
  .treat:hover .tc > div.tc-body {
    transform: translateY(calc(var(--more-h, 0px) * var(--tc-shrink, 0.79))) scale(var(--tc-shrink, 0.79));
  }
  .treat .tc:hover > div.tc-body,
  .treat .tc:focus-within > div.tc-body {
    transform: none;
  }
  .treat .tc .tc-top {
    transform-origin: 0 0;
    transition: transform var(--tc-dur) var(--tc-ease);
  }
  .treat:hover .tc:not(:hover):not(:focus-within) .tc-top {
    transform: scale(var(--tc-shrink, 0.79));
  }
  .treat .tc picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: calc((100cqw - 42px - 11.2rem) * 1.55 / 4.01 + 2.8rem);
    max-width: none;
    translate: none;
  }
}

/* ===== v18 · TARJETA EXPANDIDA A ANCHO COMPLETO (reacomodo único, oculto por un fundido) =====
   Al entrar: el cuerpo se desvanece (0–.14s), cambia al ancho de la tarjeta expandida mientras es invisible
   y reaparece subiendo (.3–.75s). Al salir, lo mismo hacia el ancho de reposo. */
@keyframes tcSwapIn {
  0% {
    opacity: 1;
  }
  18% {
    opacity: 0;
    translate: 0 0;
  }
  45% {
    opacity: 0;
    translate: 0 12px;
  }
  100% {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes tcSwapOut {
  0% {
    opacity: 1;
  }
  22% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@media (hover: hover) and (pointer: fine) and (min-width: 1181px) {
  .treat .tc > div.tc-body {
    transition:
      transform var(--tc-dur) var(--tc-ease),
      width 0s linear 0.13s;
  }
  .treat .tc.tc-leaving > div.tc-body {
    animation: tcSwapOut 0.55s ease both;
  }
  .treat .tc:hover > div.tc-body,
  .treat .tc:focus-within > div.tc-body {
    width: calc((100cqw - 42px - 11.2rem) * 1.55 / 4.01);
    animation: tcSwapIn 0.75s ease both;
    transition:
      transform var(--tc-dur) var(--tc-ease),
      width 0s linear 0.13s;
  }
  /* En las tarjetas que se encogen no hay intercambio de ancho: sin animación de fundido */
  .treat:hover .tc:not(:hover):not(:focus-within) > div.tc-body {
    animation: none;
  }
  .tc .more {
    transition: opacity 0.3s ease 0.35s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .treat .tc > div.tc-body {
    animation: none !important;
  }
}

/* ===== v20 · WHY CHOOSE US: tarjeta flotante de experiencia (sustituye al medidor 135°) ===== */
@media (min-width: 901px) {
  .why-media {
    position: sticky;
  }
} /* QC R1 QA-043: en ≤900px la foto va en el flujo */
.exp-card {
  position: absolute;
  z-index: 2;
  right: clamp(-34px, -2.2vw, -16px);
  top: clamp(28px, 4vw, 56px);
  display: grid;
  justify-items: center;
  gap: 0.2rem;
  min-width: clamp(170px, 14vw, 210px);
  padding: 1.2rem 1.4rem 1.3rem;
  border-radius: var(--r-l);
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid #fff;
  box-shadow: 0 24px 50px -24px rgba(14, 28, 77, 0.45);
  text-align: center;
  animation: expFloat 6s ease-in-out infinite;
}
.exp-card .exp-ring {
  width: 58px;
  height: 58px;
  margin-bottom: 0.35rem;
}
.exp-card .exp-ring svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.exp-card .exp-ring .full {
  fill: none;
  stroke: var(--motion-blue);
  stroke-width: 2.6;
  stroke-dasharray: 0.1 6.2;
  stroke-linecap: round;
}
.exp-card .exp-ring circle:not(.full) {
  fill: var(--motion-blue);
}
.exp-card b {
  font: 800 clamp(2.4rem, 3.4vw, 3.2rem)/1 var(--f-display);
  color: var(--ao-ink-navy);
  letter-spacing: -0.03em;
}
.exp-card > span:last-child {
  font-size: 1rem;
  line-height: 1.3;
  color: var(--slate);
  max-width: 13ch;
}
@keyframes expFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@media (max-width: 900px) {
  .exp-card {
    right: 12px;
    top: -22px;
    min-width: 150px;
    padding: 0.9rem 1.1rem 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .exp-card {
    animation: none;
  }
}
/* v21 · tarjeta de experiencia abajo (no tapa caras) + encuadre de la foto de consulta */
.exp-card {
  top: auto;
  bottom: clamp(28px, 4vw, 56px);
}
.why-media .photo-frame img {
  object-position: 62% 40%;
}
@media (max-width: 900px) {
  .exp-card {
    top: auto;
    bottom: -22px;
  }
}

/* ===== QC Ronda 1 · correcciones técnicas ===== */
/* QA-013: el aviso del New Patient Packet respeta [hidden] (display:flex lo anulaba) */
.packet[hidden] {
  display: none;
}
/* QA-010: links legales encima del copyright; en móvil, bloque legal centrado */
.f-legal {
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.6rem;
}
@media (max-width: 640px) {
  .f-legal {
    align-items: center;
    text-align: center;
  }
  .f-legal nav {
    justify-content: center;
  }
}
/* QA-046: el subtítulo de How it works va sobre vidrio navy local (sin overlay general sobre el video) */
.how .head p {
  justify-self: start;
  max-width: 46ch;
  padding: 0.85rem 1.15rem;
  border-radius: var(--r-m);
  background: rgba(14, 28, 77, 0.62);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-shadow: none;
}
/* QA-055: H1 de la Home mínimo 38 px en móvil */
@media (max-width: 640px) {
  .hero h1 {
    font-size: max(2.4rem, 10.1cqi);
  }
  /* "Medicaid accepted" no cabe en una línea a 38 px en 375-390: el resaltado se parte en dos líneas */
  .hero h1 mark {
    display: inline;
    white-space: normal;
    padding-inline: 0.14em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
}
/* Página actual en el menú (también en la Home, que no carga pages.css) */
.nav > a[aria-current="page"],
.nav > button.is-current,
.nav .dd > button.is-current {
  background: var(--sky-100);
  box-shadow: inset 0 -2px 0 var(--motion-blue);
}
.drawer a[aria-current="page"] {
  color: var(--motion-blue);
}
/* Menú de 6 ítems: sin saltos de línea y más compacto en laptops */
.nav > a,
.nav > button,
.nav .dd > button {
  white-space: nowrap;
}
@media (max-width: 1599px) {
  .bar {
    gap: 0.6rem;
  }
  .nav {
    gap: 0;
  }
  .nav > a,
  .nav > button,
  .nav .dd > button {
    padding: 0 0.62rem;
    font-size: 1rem;
  }
  .nav > button .icon,
  .nav .dd > button .icon {
    width: 16px;
    height: 16px;
  }
  .bar > .btn-solid {
    padding-inline: 1.15rem;
  }
}
.dd-panel {
  width: max-content;
  max-width: min(420px, 90vw);
}
.dd-panel a span:not(.sr-only) {
  white-space: nowrap;
}
/* QC R2 QA-017: hero móvil más corto para que el H1 completo quepa en la primera pantalla de iPhone SE / 15 */
@media (max-width: 640px) {
  .hero-media {
    height: 240px;
  }
  .stage-video .hero-figure {
    top: -118px;
    height: 96px;
    width: 34%;
  }
}
/* QC R2 QA-019: el área de servicio también se ve en teléfonos (versión corta, 2ª fila del top header) */
.top .show-s {
  display: none;
}
@media (max-width: 640px) {
  .top .show-s {
    display: inline-flex;
  }
  .top .wrap {
    gap: 0 1rem;
    padding-block: 0.35rem;
  }
}
/* ---------- QC Ronda 2 ---------- */
/* QA-007 (Home): enlace de reseñas equilibrado en 2 líneas como mucho */
.link-arrow {
  text-wrap: balance;
}
/* QA-008: el wordmark del footer no toca la línea de .f-legal */
.wordmark {
  margin-bottom: 0.28em;
  line-height: 0.9;
}
/* QA-004: aviso médico arriba, copyright como línea final */
.f-legal .f-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}
/* QA-010: CTA del mega menú en una línea con la flecha pegada */
.mega-intro .link-arrow {
  white-space: nowrap;
  gap: 6px;
}
/* QA-011: áreas táctiles de 44 px como mínimo */
.footer ul a {
  min-height: 44px;
}
.consent a,
main a[href^="tel:"]:not(.btn):not(.link-arrow) {
  display: inline-block;
  padding-block: 12px;
  margin-block: -12px;
}
.tc h3 a {
  display: inline-block;
  min-height: 44px;
  padding-block: 6px;
}
/* QA-020: pestañas y "Open in Google Maps" en una barra propia bajo el mapa; el logo y los créditos de Google quedan libres */
.map {
  display: flex;
  flex-direction: column;
}
.map .map-frame {
  position: relative;
  inset: auto;
  flex: 1 1 auto;
  height: auto;
  min-height: 360px;
}
.map-bar {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  padding: 12px 14px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.map-tabs {
  background: var(--sky-50);
}
@media (max-width: 640px) {
  .map .map-frame {
    min-height: 300px;
  }
}
/* ---------- Trust & Credibility Bar (docx: 4 elementos; sustituye a las tarjetas de tarea rápida y a los stats del hero) ---------- */
.trust {
  padding-block: clamp(20px, 2.4vw, 32px) 0;
}
.trust ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tcard {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  min-height: 104px;
  padding: 1.1rem 1.3rem;
  border-radius: var(--r-l);
  background: #fff;
  border: 1px solid var(--line);
}
.tcard .ic {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--sky-100);
  color: var(--motion-blue);
  flex: none;
}
.tcard .ic .icon {
  width: 24px;
  height: 24px;
}
.tcard b {
  display: block;
  font: 700 clamp(1.15rem, 1.35vw, 1.4rem)/1.15 var(--f-display);
  letter-spacing: -0.015em;
  color: var(--ao-ink-navy);
  font-variant-numeric: tabular-nums;
}
.tcard b + span {
  display: block;
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.4;
  margin-top: 0.25rem;
}
@media (max-width: 1180px) {
  .trust ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .trust ul {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .tcard {
    min-height: 0;
    padding: 0.9rem 1rem;
  }
  .tcard .ic {
    width: 44px;
    height: 44px;
  }
}
/* Hero sin stats: en escritorio ocupa exactamente la primera pantalla (bajo el header) y el H1 y el arco escalan con la altura */
@media (min-width: 901px) {
  .stage-video {
    height: calc(100svh - 153px);
    min-height: 520px;
    max-height: 980px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .hero .stage-video h1 {
    font-size: max(2.6rem, min(10.1cqi, calc((100svh - 520px) / 3.4)));
  }
  .stage-video .hero-figure {
    height: min(44vw, calc(100svh - 280px));
  }
}
/* ---------- Modal: solicitud de cita con fecha preferida (feedback cliente 2026-10-29 punto 6) ---------- */
.fld {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}
.fld label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ao-ink-navy);
}
.fld .opt {
  font-weight: 400;
  color: var(--slate);
}
.fld input,
.fld select,
.fld textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--line);
  border-radius: var(--r-m);
  background: #fff;
  font: 400 1.0625rem/1.4 var(--f-body);
  color: var(--ao-ink-navy);
  transition: border-color 0.2s;
}
.fld textarea {
  min-height: 96px;
  resize: vertical;
}
.fld input:focus-visible,
.fld select:focus-visible,
.fld textarea:focus-visible {
  outline: 3px solid var(--motion-blue);
  outline-offset: 1px;
  border-color: var(--motion-blue);
}
.fld [aria-invalid="true"] {
  border-color: #b42318;
}
.fld-hint {
  font-size: 1rem;
  color: var(--slate);
  margin: 0;
}
.fld .field-err {
  margin: 0;
  min-height: 1.2em;
}
.fld-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 1rem;
}
.fld-wide {
  grid-column: 1/-1;
}
.ap-note {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: var(--r-m);
  background: var(--sky-50);
  border: 1px solid var(--sky-200);
  font-size: 1rem;
  margin: 0.4rem 0;
}
.ap-note .icon {
  color: var(--motion-blue);
  margin-top: 0.1rem;
  flex: none;
}
#ap-send-err a {
  color: #b42318;
  font-weight: 700;
}
.ap-done {
  text-align: center;
  padding: clamp(12px, 3vw, 40px) 0;
  outline: none;
}
.ap-done .ic {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  background: var(--sky-100);
  color: var(--motion-blue);
}
.ap-done .ic .icon {
  width: 34px;
  height: 34px;
}
.ap-done h3 {
  padding-right: 0;
}
.ap-done p {
  color: var(--slate);
  max-width: 34em;
  margin: 0.8rem auto 0;
}
.ap-done p strong {
  color: var(--ao-ink-navy);
}
.ap-done .row {
  justify-content: center;
  margin-top: 1.6rem;
}
.ap-preview {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  background: var(--sample, #fff4d6);
  color: var(--sample-ink, #6b4e00);
  font-weight: 600;
}
.ap-preview[hidden] {
  display: none;
}
@media (max-width: 640px) {
  .fld-grid {
    grid-template-columns: 1fr;
  }
}
/* ---------- Feedback cliente 2 (2026-11-02): What We Treat con 3 categorías (sin cirugía) ---------- */
@media (min-width: 1181px) {
  .treat {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.mega {
  grid-template-columns: minmax(220px, 0.9fr) repeat(3, minmax(0, 1fr));
}
@media (min-width: 641px) and (max-width: 1180px) {
  .treat .tc:last-child:nth-child(odd) {
    grid-column: 1/-1;
  }
}
/* Tarjetas expansibles: 2 huecos de 14px (28px), padding 2×1.4rem×3 = 8.4rem, suma de flex-grow 1.55 + 2×.82 = 3.19 */
@media (hover: hover) and (pointer: fine) and (min-width: 1181px) {
  .treat {
    --tc-col: calc((100cqw - 28px - 8.4rem) / 3);
  }
  .treat .tc picture img {
    width: calc((100cqw - 28px - 8.4rem) * 1.55 / 3.19 + 2.8rem);
  }
}

/* ---------- QC Ronda 3 (v40) ---------- */
/* QA-016: el hero de escritorio crece con su contenido; las etiquetas nunca quedan bajo el borde superior */
@media (min-width: 901px) {
  .stage-video {
    height: auto;
    min-height: min(980px, max(520px, calc(100svh - 153px)));
    max-height: none;
    padding-top: clamp(28px, 3vw, 44px);
  }
}
/* QA-014: en teléfonos el CTA principal entra en la primera pantalla (video más bajo y menos aire sobre el H1) */
@media (max-width: 640px) {
  .hero-media {
    height: 170px;
  }
  .stage-video .hero-grid {
    margin-top: -64px;
  }
  .stage-video .hero-figure {
    top: -92px;
    height: 80px;
    width: 30%;
  }
  .hero h1 {
    margin-top: 12px;
  }
  .hero-sub {
    margin-top: 10px;
    font-size: 1rem;
  }
  /* el H1 ya dice qué es y dónde: la etiqueta sobra en teléfonos y empuja el CTA */
  .stage-video .tags {
    display: none;
  }
  .hero .ctas {
    margin-top: 1rem;
  }
}
/* QA-015: en tablet y móvil el degradado cubre el título y el contador de las tarjetas What We Treat */
@media (max-width: 1180px) {
  .tc::after {
    background: linear-gradient(180deg, rgba(14, 28, 77, 0.5) 0%, rgba(14, 28, 77, 0.62) 16%, rgba(14, 28, 77, 0.84) 32%, rgba(14, 28, 77, 0.94) 50%, rgba(14, 28, 77, 0.97) 100%);
  }
}
/* QA-032: foco de teclado visible en las tarjetas (azul sobre fondo claro) */
.tc:has(h3 a:focus-visible) {
  outline: 3px solid var(--motion-blue);
  outline-offset: 3px;
}
/* QA-030: las reseñas llegan hasta el borde del panel y se desvanecen en vez de cortarse en seco */
.reviews .track {
  margin-right: calc(-1 * var(--pad));
  padding-right: var(--pad);
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 72px), transparent);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 72px), transparent);
}
/* QA-025: en móvil cada tarjeta de reseña mide lo que su texto */
@media (max-width: 640px) {
  .reviews .track {
    align-items: start;
  }
}
/* QA-008: con el menú abierto el header es opaco y la página queda bajo un velo */
.drawer-open .bar {
  background: #fff;
}
html.drawer-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 39;
  background: rgba(14, 28, 77, 0.35);
}
/* QA-007: footer centrado en teléfonos */
@media (max-width: 640px) {
  .f-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .f-grid .f-locs-col {
    grid-column: auto;
  }
  .f-seal {
    margin-inline: auto;
  }
  .footer ul {
    justify-items: center;
  }
  .footer .f-locs {
    justify-items: center;
  }
}
/* QA-006: áreas táctiles de 44 px */
.footer ul a {
  min-width: 44px;
  justify-content: center;
}
.f-legal .copy a {
  display: inline-block;
  padding-block: 12px;
  margin-block: -12px;
}
main a[href="tel:911"] {
  padding-inline: 10px;
  margin-inline: -10px;
}
.map-tabs button {
  min-height: 44px;
  flex: 0 0 auto;
}
/* QA-002 / QA-003 / QA-011: modal con barra superior fija (logo en móvil, progreso y X) y botones siempre a la vista */
.appt-top {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  margin: calc(-1 * clamp(24px, 3.6vw, 52px)) calc(-1 * clamp(24px, 3.6vw, 52px)) 1.2rem;
  padding: 14px clamp(24px, 3.6vw, 52px) 10px;
}
.appt-top .progress {
  flex: 1;
  margin: 0;
  padding: 0;
}
.appt .appt-top .x {
  position: static;
  flex: none;
  float: none;
  margin: 0;
}
.appt-seal-m {
  display: none;
  width: 40px;
  height: 40px;
  flex: none;
}
.appt-seal {
  display: block;
}
.appt-seal img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
}
.step h3 {
  padding-right: 0;
}
.appt .step .row {
  position: sticky;
  display: none;
  bottom: 0;
  z-index: 4;
  background: #fff;
  margin: 0.4rem calc(-1 * clamp(24px, 3.6vw, 52px)) 0;
  padding: 12px clamp(24px, 3.6vw, 52px);
  box-shadow: 0 -10px 16px -14px rgba(14, 28, 77, 0.35);
}
.appt .ap-done .row {
  position: static;
  box-shadow: none;
}
@media (min-width: 361px) {
  .appt .step .row {
    flex-wrap: nowrap;
  }
}
dialog.appt {
  overflow-x: hidden;
}
@media (min-width: 901px) {
  dialog.appt {
    overflow: hidden;
    height: min(760px, calc(100dvh - 2 * var(--gutter)));
  }
  .appt-in {
    height: 100%;
    min-height: 0;
  }
  .appt-main {
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  /* el sticky se mide desde el borde de contenido de .appt-main: se compensa su padding */
  .appt-top {
    top: calc(-1 * clamp(24px, 3.6vw, 52px));
  }
  .appt .step .row {
    bottom: calc(-1 * clamp(24px, 3.6vw, 52px));
  }
}
@media (min-width: 1921px) {
  dialog.appt {
    height: min(800px, calc(100dvh - 2 * var(--gutter)));
  }
}
@media (max-width: 900px) {
  .appt-top {
    margin: -20px calc(-1 * clamp(24px, 3.6vw, 52px)) 1rem;
    padding: 10px clamp(24px, 3.6vw, 52px);
  }
  .appt-seal-m {
    display: block;
  }
  .appt-seal {
    display: none;
  }
}
/* QA-005: campo de fecha con ícono y texto guía también en iPhone */
.date-wrap {
  position: relative;
}
.date-wrap input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  min-height: 52px;
  text-align: left;
  padding-right: 48px;
  position: relative;
}
.date-wrap input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}
.date-wrap input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  opacity: 0;
  cursor: pointer;
}
.date-wrap input[type="date"]:invalid::-webkit-datetime-edit {
  color: transparent;
}
.date-wrap .date-ph {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate);
  pointer-events: none;
  font-size: 1.0625rem;
}
.date-wrap input:valid ~ .date-ph {
  display: none;
}
.date-wrap > .icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--motion-blue);
  pointer-events: none;
}
/* QA-024: los select tienen el mismo aspecto que los campos de texto en iOS */
.fld select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;

}

/* ---------- QC Ronda 4 (v41) ---------- */
/* QA-002 / QA-013: lo que recibe foco o se muestra con error nunca queda bajo las barras fijas del modal */
dialog.appt {
  scroll-padding: 96px 0 120px;
}
/* QA-010: en escritorio la barra de botones queda a ras del borde inferior en todos los pasos */
@media (min-width: 901px) {
  .appt-main {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
    scroll-padding: 96px 0 120px;
  }
  .appt-main > .step:not([hidden]) {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
  }
  .appt .step .row {
    margin-top: auto;
    bottom: 0;
    padding-bottom: 22px;
  }
  .appt .ap-done {
    padding-bottom: clamp(24px, 3.6vw, 52px);
  }
}
/* QA-003: el texto guía se oculta en cuanto el campo de fecha tiene foco o valor; el formato nativo solo se esconde sin foco */
.date-wrap input[type="date"]:invalid::-webkit-datetime-edit {
  color: inherit;
}
.date-wrap input[type="date"]:invalid:not(:focus)::-webkit-datetime-edit {
  color: transparent;
}
.date-wrap input:focus ~ .date-ph {
  display: none;
}
/* QA-011: submenús opacos */
.dd-panel {
  background: #fff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
/* QA-018: títulos de What We Treat a la misma altura */
/* la tarjeta con más etiquetas ocupa 3 filas de chips: todas reservan ese alto */
@media (min-width: 1181px) {
  .treat .tc ul {
    min-height: 160px;
    align-content: flex-start;
  }
}
@media (min-width: 641px) and (max-width: 1180px) {
  .treat .tc {
    justify-content: flex-start;
    gap: clamp(110px, 16vw, 190px);
  }
}
/* QA-019: botones de las tarjetas de proveedores alineados al pie */
.pc .body {
  justify-content: flex-start;
}
.pc .body > .ctas:last-child {
  margin-top: auto;
  padding-top: 1rem;
}
/* QA-021: el arco del CTA final no toca los botones */
.cta-copy > svg {
  right: -34%;
  bottom: -46%;
  width: 84%;
}
.cta-copy > *:not(svg) {
  position: relative;
  z-index: 1;
}
/* QA-016 / QA-023: en teléfonos el arco del hero no va sobre la cara y en pantallas de 375 px o menos el CTA entra con la barra de Safari */
@media (max-width: 640px) {
  .stage-video .hero-figure {
    display: none;
  }
}
@media (max-width: 400px) {
  .hero-media {
    height: 112px;
  }
  .stage-video .hero-grid {
    margin-top: -48px;
  }
  .hero-sub {
    margin-top: 8px;
  }
  .hero .ctas {
    margin-top: 0.8rem;
  }
}
/* QA-017: enlace a las reseñas en una línea en teléfonos */
@media (max-width: 430px) {
  .rev-foot .link-arrow {
    white-space: nowrap;
    font-size: 0.95rem;
    padding: 0 1rem;
    width: 100%;
    justify-content: center;
  }
}
/* QA-009: el separador viaja con el dato que sigue */
.nw {
  white-space: nowrap;
}
/* el teléfono del modal no se parte en dos líneas */
.appt-side .call a {
  white-space: nowrap;
}

/* Feedback de estructura 2026-11-04: enlace al directorio del equipo bajo las tarjetas de proveedores (sin carrusel en la Home) */
.prov-more {
  margin-top: clamp(18px, 2vw, 28px);
  display: flex;
  justify-content: flex-end;
}

/* ---------- QC Ronda 5 (v43) ---------- */
/* QA-003: versión corta de los CTA largos en teléfonos */
.btn .bs {
  display: none;
}
@media (max-width: 430px) {
  .btn .bl {
    display: none;
  }
  .btn .bs {
    display: inline;
  }
}
/* QA-008: anillo de foco en todas las paradas del campo de fecha (también en el selector invisible de Chrome) */
.date-wrap:focus-within input[type="date"] {
  outline: 3px solid var(--motion-blue);
  outline-offset: 1px;
  border-color: var(--motion-blue);
}
/* QA-014: pestañas del mapa con área táctil holgada en teléfonos */
@media (max-width: 640px) {
  .map-tabs button {
    min-height: 48px;
  }
}
/* Barrido R5: botones de una línea en columnas estrechas (tarjetas de proveedores a 1280) y en teléfonos */
.pc .ctas .btn {
  white-space: nowrap;
  padding-inline: 1.05rem;
  font-size: 1rem;
}
@media (max-width: 430px) {
  .btn {
    padding-inline: 18px;
  }
}
/* Barrido R5: pestañas del mapa con 46 px en todos los anchos */
.map-tabs button {
  min-height: 46px;
}

/* ---------- QC Ronda 6 (v44) ---------- */
/* QA-001: los teléfonos dentro del texto son inline (no inline-block), así el separador pegado con espacios de no separación no puede quedar al borde de línea; el área táctil se mantiene con el padding */
main a[href^="tel:"]:not(.btn):not(.link-arrow),
a.tel-inline {
  display: inline;
  white-space: nowrap;
}
/* QA-006: lo que recibe foco nunca queda bajo la barra fija inferior */
@media (max-width: 900px) {
  html {
    scroll-padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
}
/* QA-004: los paneles redondeados de la Home dejan el mismo aire debajo que arriba */
/* .panel.reviews {
  margin-bottom: clamp(16px, 2vw, 28px);
} */
/* El teléfono inline conserva 44 px de área táctil (padding vertical que no altera el renglón) */
main a[href^="tel:"]:not(.btn):not(.link-arrow),
a.tel-inline {
  padding-block: 13px;
}

/* ===== Feedback del equipo 2026-11-04 (v46) ===== */
/* G2: el top header queda fijo al hacer scroll; el header y los offsets se corren su alto real (--top-h, main.js) */
.top {
  position: sticky;
  top: 0;
  z-index: 42;
  background: var(--sky-50);
}
.header {
  top: calc(var(--top-h, 42px) + 6px);
}
html {
  scroll-padding-top: calc(var(--top-h, 42px) + 110px);
}
@media (max-width: 900px) {
  .drawer {
    max-height: calc(100dvh - 190px - var(--top-h, 0px));
  }
}
/* En teléfonos, al bajar, el top header queda en una fila (teléfono y horario) */
@media (max-width: 640px) {
  html.is-scrolled .top .show-s:last-of-type {
    display: none;
  }
}
/* Home 1: hero más contenido; el titular deja el protagonismo a los botones */
@media (min-width: 901px) {
  .hero .stage-video h1 {
    font-size: max(2.4rem, min(6.8cqi, calc((100svh - 520px) / 4.6)));
  }
  .stage-video .hero-figure {
    height: min(36vw, calc(100svh - 330px));
  }
}
.stage-video .tag {
  min-height: 34px;
  font-size: 0.95rem;
  padding: 0.3rem 0.9rem;
}
.hero .ctas .btn {
  min-height: 56px;
  padding-inline: 1.6rem;
  font-size: 1.0625rem;
}
@media (max-width: 640px) {
  .hero h1 {
    font-size: max(2.1rem, 8.6cqi);
  }
}

/* G3: selector tipo Amelia: calendario mensual + horarios (mismos tokens del modal) */
.fld-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ao-ink-navy);
}
.am-pick {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1.2rem;
  margin-top: 1rem;
}
.am-cal {
  border: 2px solid var(--line);
  border-radius: var(--r-l);
  padding: 0.8rem;
  background: #fff;
}
.am-cal[aria-invalid="true"] {
  border-color: #b42318;
}
.am-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.am-cal-head b {
  font: 700 1.0625rem/1.2 var(--f-display);
  color: var(--ao-ink-navy);
}

.am-cal-head p br{
  display: none;
}
.am-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--sky-100);
  color: var(--ao-ink-navy);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.am-nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.am-nav .icon {
  width: 18px;
  height: 18px;
}
.am-dow p,
.am-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.am-dow p br{
  display: none;
}
.am-dow span {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
  padding: 0.2rem 0;
}
.am-day {
  aspect-ratio: 1;
  min-height: 40px;
  border: 0;
  border-radius: 12px;
  background: var(--sky-50);
  color: var(--ao-ink-navy);
  font: 600 1rem/1 var(--f-body);
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
}
.am-day:hover:not(:disabled) {
  background: var(--sky-200);
}
.am-day:disabled {
  background: transparent;
  color: #a3aec4;
  cursor: default;
}
.am-day[aria-pressed="true"] {
  background: var(--motion-blue);
  color: #fff;
}
.am-slot-g {
  margin: 0.2rem 0 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.am-slot-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 0.6rem;
}
.am-slot {
  min-height: 44px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ao-ink-navy);
  font: 600 0.95rem/1 var(--f-body);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background-color 0.2s,
    color 0.2s;
}
.am-slot:hover {
  border-color: var(--motion-blue);
}
.am-slot[aria-checked="true"] {
  background: var(--motion-blue);
  border-color: var(--motion-blue);
  color: #fff;
}
.am-slots[aria-invalid="true"] .am-slot {
  border-color: #f2b8b5;
}
@media (max-width: 640px) {
  .am-pick {
    grid-template-columns: 1fr;
  }
  .am-day {
    min-height: 38px;
  }
}
/* G1: paso propio del New Patient Packet (HushForms) al final del flujo de nuevo paciente */
.ap-packet {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  text-align: left;
  margin: 1.4rem auto 0;
  max-width: 36em;
  padding: 1.2rem 1.3rem;
  border-radius: var(--r-l);
  background: var(--sky-50);
  border: 1px solid var(--sky-200);
}
.ap-packet[hidden] {
  display: none;
}
.ap-packet .ic {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--sky-100);
  color: var(--motion-blue);
}
.ap-packet b {
  display: block;
  font: 700 1.15rem/1.25 var(--f-display);
  color: var(--ao-ink-navy);
}
.ap-packet p {
  margin: 0.4rem 0 1rem !important;
  color: var(--slate);
  text-align: left;
}
.am-pick .fld {
  align-content: start;
}
/* ===== Correcciones móvil Soraya 2026-11-04 (v47) ===== */
/* #1: en teléfonos el top header va en UNA línea (teléfono · horario con AM/PM · área), también al hacer scroll */
@media (max-width: 640px) {
  .top {
    font-size: clamp(0.625rem, 2.95vw, 0.8rem);
  }
  .top .wrap {
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
    padding-block: 0.15rem;
    white-space: nowrap;
  }
  .top span {
    gap: 0.22rem;
    flex: none;
  }
  .top .icon {
    width: 12px;
    height: 12px;
    flex: none;
  }
  .top a {
    font-size: inherit;
  }
  html.is-scrolled .top .show-s:last-of-type {
    display: inline-flex;
  }
}
@media (max-width: 359px) {
  .top .icon {
    display: none;
  }
  .top .wrap {
    gap: 0.3rem;
  }
}
/* #1: el titular del hero ya no se monta sobre la foto en teléfonos (empieza debajo de la imagen) */
@media (max-width: 640px) {
  .stage-video .hero-grid {
    margin-top: 2px;
  }
  .hero-media {
    height: 150px;
  }
  .hero h1 {
    margin-top: 6px;
  }
}
@media (max-width: 400px) {
  .hero-media {
    height: 120px;
  }
}
/* #7: "Meet Our Team" es un botón (como los demás CTA) y hay menos aire entre proveedores y reseñas */
.prov-more .btn .icon {
  width: 18px;
  height: 18px;
}
@media (max-width: 900px) {
  .prov-more {
    justify-content: center;
  }
  .prov-more .btn {
    width: 100%;
    justify-content: center;
  }
  #providers.block {
    padding-bottom: 36px;
  }
  #providers + .reviews {
    margin-top: 16px !important;
  }
}
/* Revisión 2026-11-05: aviso del New Patient Packet en el paso de datos */
.ap-packet-note[hidden] {
  display: none;
}
.ap-packet-note {
  margin: 0.2rem 0 1rem;
}
.ap-packet-note a {
  color: var(--ao-ink-navy);
  font-weight: 700;
  text-underline-offset: 3px;
}
.f-fax {
  margin-top: 1rem;
  font-size: 0.95rem;
  opacity: 0.85;
}
/* Revisión 2026-11-05: hero móvil más alto; las pills del titular ya no se tocan entre líneas */
@media (max-width: 640px) {
  .hero h1 {
    line-height: 1.08;
  }
  .hero h1 .l {
    padding-block: 0.1em;
  }
  .hero h1 .l + .l {
    margin-top: 0.06em;
  }
  .hero h1 mark {
    display: inline-block;
    line-height: 1.02;
    padding: 0.04em 0.2em 0.12em;
    margin-left: -0.04em;
    max-width: 100%;
  }
  .hero-media {
    height: 170px;
  }
  .hero-sub {
    margin-top: 16px;
  }
  .hero .ctas {
    margin-top: 1.3rem;
  }
  .stage-video {
    padding-bottom: 8px;
  }
}
@media (max-width: 400px) {
  .hero-media {
    height: 140px;
  }
}
@media (max-width: 359px) {
  .hero-media {
    height: 110px;
  }
}
@media (max-width: 640px) {
  .hero h1 mark {
    white-space: nowrap;
  }
}
@media (max-width: 359px) {
  .hero h1 {
    font-size: 1.72rem;
  }
}
/* Cliente 2026-11-06: nuevo hero (mujer); en teléfonos se encuadra la cara completa en la franja superior */
@media (max-width: 640px) {
  .hero-media picture,
  .hero-media img,
  .hero-video {
    object-position: 60% 15%;
  }
} /* montaje hero 2026-11-06: las caras quedan en el 5-25% superior del recorte 4:5 */


@media(max-width: 768px){
  .hero h1{
    text-align: center;
  }
  .stage-video .hero-sub{
    text-align: center;
  }
  .welcome .photo-frame{
    order: 2;
  }
  .welcome .welcome-copy{
    order: 1;
    text-align: center;
  }
  #treat .head{
    text-align: center;
  }
  .cards-treat{
    text-align: center;
  }

  .cards-treat .tc-top{
    justify-content: center;
  }

  .cards-treat.tc ul{
    justify-content: center;
  }
  .why .why-media{
    order: 2;
  }
  .why div:last-child{
    order: 1;
    text-align: center;
  }
  .why .why-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .panel{
    text-align: center;
  }

  #providers{
    text-align: center;
  }
  #providers .role{
    margin-inline: auto;
  }
  #track.track{
    grid-auto-columns: 100%;
  }
  .car-ctrl{
    justify-content: center;
  }
  .rev-foot{
    justify-content: center;
  }
  #locations .head{
    text-align: center;
  }
  .lc h3{
    text-align: center;
    justify-content: center;
  }
  .lc .links{
    justify-content: center;
  }
  #resources .head{
    text-align: center;
  }
  #resources .res{
    justify-content: center;
    text-align: center;
  }
  #resources .res .link-arrow{
    align-items: center;
    justify-content: center;
  }
  #contact #cta-h{
    margin-inline: auto;
  }
  #contact .hours{
    justify-content: center;
  }
  .sub-hero .crumbs ol{
    text-align: center;
    justify-content: center;
  }
  .sub-hero .sh-copy{
    text-align: center;
  }
  .pg-sec .pg-split .pg-fig{
    order: 2 !important;
  }
  .pg-sec .pg-split > div:last-child{
    order: 1;
    text-align: center;
  }
  .our-mission .pg-head{
    text-align: center;
  }
  .our-mission .pg-sub h3{
    justify-content: center;
  }
  .our-mission .pg-sub{
    text-align: center;
  }

  ul.pg-mini li{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .our-values .pg-head{
    text-align: center;
  }
  .our-values .pg-cards article{
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .our-team .pg-head{
    text-align: center;
  }
  .our-team .pg-provs article{
    text-align: center;
  }
  .our-team .pg-provs article .role{
    margin-inline: auto;
  }
  .our-team ul{
    text-align: start;
  }
  .pg-note{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center !important;
  }
  .map-bar{
    justify-content: center;
  }
  .pg-cta-split .cta-copy .kicker{
    justify-content: center;
    text-align: center;
  }
  .pg-cta-split .cta-copy ul{
    text-align: start;
  }
  .our-team-carousel .pg-head{
    text-align: center;
  }
  .pg-head{
    text-align: center;
  }
  .pg-team-car .team-head{
    text-align: center;
    justify-content: center !important;
  }
  .pg-team-car .team-track{
    grid-auto-columns: 100% !important;
  }
  .dots{
    justify-content: center;
  }
  .pg-card{
    align-items: center;
    text-align: center;
  }
  .section-about .pg-doc .ph{
    order: 2;
  }

  .section-about .pg-doc > div:last-child{
    order: 1;
    text-align: center;
  }
  .pg-body > p{
    text-align: center;
  }
  .pg-alert p{
    text-align: start;
  }
  .pg-vsteps li{
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .pg-vsteps li span{
    margin-inline: auto;
  }
  .pg-doc .prose{
    text-align: center;
  }
  .pg-disclaimer{
    text-align: center;
  }
  .pg-loc .info{
    text-align: center;
  }
  .pg-loc .info div dt{
    justify-content: center;
  }
  .pg-provs article{
    text-align: center;
  }
  .pg-provs article .role{
    margin-inline: auto;
  }
  .pg-subs .pg-sub h3{
    justify-content: center;
  }
  .pg-card ul{
    text-align: start;
  }
  .pg-contact .contact-head{
    text-align: center;
  }
  .pg-form br{
    display: none;
  }

}
#contactForm p br{
  display: none;
}

.wpcf7-form-control.wpcf7-acceptance span label{
  display: flex;
  gap: 5px;
}

.wpcf7-form-control.wpcf7-acceptance .wpcf7-list-item{
  margin: 0px;
}


/* 2026-11-13 · Aviso fijo en el modal de citas: la fecha es solo tentativa y la confirma la oficina (visible en todos los pasos) */
.ap-tentative{display:flex;gap:.6rem;align-items:flex-start;margin:0 0 1.1rem;padding:.75rem 1rem;border-radius:var(--r-m);background:#FFF7E6;border:1px solid #F5D9A0;color:var(--ao-ink-navy);font-size:.98rem;line-height:1.4}
.ap-tentative .icon{flex:none;width:18px;height:18px;margin-top:.12rem;color:#B26B00}
.ap-tentative b{font-weight:700}
@media (max-width:640px){.ap-tentative{font-size:.9rem;padding:.6rem .8rem;margin-bottom:.8rem}}
/* el aviso vive dentro de la barra fija superior del modal: siempre visible al hacer scroll */
.appt-top{flex-wrap:wrap}
.appt-top .ap-tentative{flex:1 0 100%;margin:2px 0 0}

.wpcf7-list-item{
  margin: 0px;
}

.fieldset-cf7mls > br{
  display: none;
}

.fld-wide p br{
  display: none;
}

[type="checkbox"]{
      max-width: max-content;
      min-height: fit-content !important;
    margin: 7px 7px 0px 0px;
}

.ap-note{display:flex;gap:.7rem;align-items:flex-start;padding:.9rem 1rem;border-radius:var(--r-m);background:var(--sky-50);border:1px solid var(--sky-200);font-size:1rem;margin:.4rem 0}
.ap-note .icon{color:var(--motion-blue);margin-top:.1rem;flex:none}

.footer a{
    transition: all .3s ease-in !important;

}


/* Seguros: dos grupos rotulados (Medicaid primero). Tarjetas blancas y logos normalizados a la misma altura */
.logos-h{margin:0 0 .6rem;font:700 1rem/1.3 var(--f-body);letter-spacing:.04em;text-transform:uppercase;color:var(--ao-ink-navy)}
.logos+.logos-h{margin-top:1.2rem}
/* Medicaid en 2x2 con tarjetas más grandes que las comerciales: es el mensaje principal de la sección */
.logos-mcd{grid-template-columns:repeat(2,minmax(0,1fr))}
.logos-com{grid-template-columns:repeat(3,minmax(0,1fr))}
.logos-mcd .logo-slot.logo-img{background:#fff;min-height:104px;padding:1rem 1.2rem}
.logos-mcd picture{display:flex;justify-content:center;align-items:center;width:100%}
.logos-mcd .logo-slot.logo-img img{width:auto;height:60px;max-width:100%;max-height:none;object-fit:contain}
@media (max-width:1180px){.logos-mcd .logo-slot.logo-img img{height:52px}}
@media (max-width:640px){.logos-mcd,.logos-com{grid-template-columns:repeat(2,minmax(0,1fr))}.logos-mcd .logo-slot.logo-img{min-height:84px;padding:.8rem}.logos-mcd .logo-slot.logo-img img{height:40px}}


/* ===== SIGNS & SYMPTOMS · PREMIUM HOVER ===== */
@media (hover: hover) and (pointer: fine) {
  .sign-symptoms .pg-check li {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    transition:
      transform 0.35s var(--ease),
      border-color 0.35s ease,
      box-shadow 0.35s var(--ease),
      background-color 0.35s ease;
  }



  /* Hover principal */
  .sign-symptoms .pg-check li:hover {
    transform: translateY(-4px);
    background-color: #fff;
    border-color: var(--sky-300);
    box-shadow:
      0 12px 28px -16px rgba(45, 91, 215, 0.28),
      0 4px 12px -8px rgba(14, 28, 77, 0.12);
  }



  /* Animación del check */
  .sign-symptoms .pg-check li .icon {
    color: var(--motion-blue);
    transition:
      transform 0.35s var(--ease),
      filter 0.35s ease;
  }

  .sign-symptoms .pg-check li:hover .icon {
    transform: scale(1.16);
    filter: drop-shadow(0 2px 4px rgba(45, 91, 215, 0.25));
  }
}

/* Accesibilidad: reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  .sign-symptoms .pg-check li,
  .sign-symptoms .pg-check li::before,
  .sign-symptoms .pg-check li .icon {
    transition: none;
  }
}



/* ===== DIAGNOSIS · PROFESSIONAL CARD HOVER ===== */
@media (hover: hover) and (pointer: fine) {

  .diagnosis .pg-vsteps li {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-l);
    background: var(--sky-50);
    transition:
      background-color 0.35s var(--ease),
      border-color 0.35s var(--ease),
      box-shadow 0.35s var(--ease),
      transform 0.35s var(--ease);
  }

  /* Reflejo azul sutil */
  .diagnosis .pg-vsteps li::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      110deg,
      rgba(201, 221, 249, 0.55),
      rgba(255, 255, 255, 0.85)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
  }

  /* Elevación y cambio de fondo */
  .diagnosis .pg-vsteps li:hover {
    transform: translateY(-4px);
    background: var(--sky-100);
    border-color: var(--sky-300);
    box-shadow:
      0 16px 32px -20px rgba(14, 28, 77, 0.3),
      0 6px 16px -12px rgba(45, 91, 215, 0.25);
  }

  .diagnosis .pg-vsteps li:hover::before {
    opacity: 1;
  }

  /* Número: navy a azul */
  .diagnosis .pg-vsteps li .n {
    position: relative;
    z-index: 1;
    transition:
      background-color 0.35s var(--ease),
      color 0.35s ease,
      transform 0.35s var(--ease),
      box-shadow 0.35s var(--ease);
  }

  .diagnosis .pg-vsteps li:hover .n {
    background: var(--motion-blue);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(45, 91, 215, 0.3);
  }

  /* Contenido por encima del reflejo */
  .diagnosis .pg-vsteps li > div {
    position: relative;
    z-index: 1;
  }

  .diagnosis .pg-vsteps li b {
    transition: color 0.3s ease;
  }

  .diagnosis .pg-vsteps li:hover b {
    color: var(--motion-blue);
  }

  .diagnosis .pg-vsteps li p {
    transition: color 0.3s ease;
  }
}

/* Accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .diagnosis .pg-vsteps li,
  .diagnosis .pg-vsteps li::before,
  .diagnosis .pg-vsteps li .n,
  .diagnosis .pg-vsteps li b,
  .diagnosis .pg-vsteps li p {
    transition: none;
  }
}

.wpcf7-acceptance a{
  text-decoration: none;
  transition: all .2s ease-in-out;
  color: var(--motion-blue);
}

.wpcf7-acceptance a:hover{
  color: var(--motion-blue-200);
}

.ap-packet-note a{
   text-decoration: none;
  transition: all .2s ease-in-out;
}


.ap-packet-note a:hover{
    color: var(--motion-blue);
}


/* ==========================================
   ADVANCED ORTHOPEDICS - CONTACT FORM 7 SELECTS
   ========================================== */

@supports (appearance: base-select) {

  .wpcf7 select.wpcf7-select,
  .wpcf7 select.wpcf7-select::picker(select) {
    appearance: base-select;
  }

  /* Select principal */
  .wpcf7 select.wpcf7-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    width: 100%;
    padding: 11px 15px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background-color: var(--white);
    color: var(--ao-ink-navy);
    font-family: var(--f-body);
    font-size: 16px;
    cursor: pointer;
    transition:
      border-color .2s ease,
      box-shadow .2s ease,
      background-color .2s ease;
  }

  /* Hover */
  .wpcf7 select.wpcf7-select:hover {
    border-color: var(--motion-blue);
  }

  /* Focus */
  .wpcf7 select.wpcf7-select:focus {
    outline: none;
    border-color: var(--motion-blue);
    box-shadow: 0 0 0 3px rgba(45, 91, 215, .12);
  }

  /* Lista desplegable */
  .wpcf7 select.wpcf7-select::picker(select) {
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 6px;
    margin-top: 6px;
    box-shadow: var(--shadow-1);
    opacity: 0;
    transform: translateY(-6px);
    transition:
      opacity .18s ease,
      transform .18s ease,
      overlay .18s allow-discrete,
      display .18s allow-discrete;
  }

  /* Lista abierta */
  .wpcf7 select.wpcf7-select:open::picker(select) {
    opacity: 1;
    transform: translateY(0);
  }

  @starting-style {
    .wpcf7 select.wpcf7-select:open::picker(select) {
      opacity: 0;
      transform: translateY(-6px);
    }
  }

  /* Opciones */
  .wpcf7 select.wpcf7-select option {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--f-body);
    color: var(--ao-ink-navy);
    background: var(--white);
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
  }

  /* Hover y focus de opciones */
  .wpcf7 select.wpcf7-select option:hover,
  .wpcf7 select.wpcf7-select option:focus {
    background: var(--sky-50) !important;
    color: var(--ao-ink-navy) !important;
    outline: none;
  }

  /* Opción seleccionada */
  .wpcf7 select.wpcf7-select option:checked,
  .wpcf7 select.wpcf7-select option:checked:hover {
    background: var(--ao-navy) !important;
    color: var(--white) !important;
  }

  /* Ocultar checkmark nativo */
  .wpcf7 select.wpcf7-select option::checkmark {
    display: none;
  }

  /* Icono del select */
  .wpcf7 select.wpcf7-select::picker-icon {
    color: var(--motion-blue);
    transition: transform .25s ease;
  }

  /* Icono cuando está abierto */
  .wpcf7 select.wpcf7-select:open::picker-icon {
    transform: rotate(180deg);
  }
}


/* ==========================================
   APPOINTMENT MODAL - FIXED NAVIGATION
   ========================================== */

/* Panel derecho como layout vertical */
.appt-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

/* Barra superior */
.appt-main > .appt-top {
  flex: 0 0 auto;
}

/* Área de contenido desplazable */
.appt-main > .appt-flow:not([hidden]),
.appt-main > .step:not([hidden]):not(.appt-flow) {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 24px;
}

/* Ocultar navegación original de CF7 */
.appt-flow .cf7mls-btns,
.appt-flow .row {
  display: none !important;
}

/* Footer externo */
.appt-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  background: var(--white);
  border-top: 1px solid rgba(14, 28, 77, .08);
  box-shadow: 0 -12px 22px -18px rgba(14, 28, 77, .22);
  z-index: 5;
}

/* Respetar el atributo hidden */
.appt-actions[hidden] {
  display: none !important;
}

/* Botón principal */
.appt-actions [data-appt-next] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 158px;
}

/* Botón Back */
.appt-actions [data-appt-back] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--motion-blue);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 12px 8px;
}

/* Hover Back */
.appt-actions [data-appt-back]:hover {
  color: var(--ao-navy);
}

/* Iconos */
.appt-actions .icon {
  width: 18px;
  height: 18px;
}


.pt-0{
  padding-top: 0px !important;
}

.pb-0{
  padding-bottom: 0px !important;
}

#insurance, .panel.reviews{
  margin-top: var(--padding-block);
    margin-bottom: var(--padding-block);
}


.panel.cta-split.pg-cta{
    margin-top: calc(var(--padding-block)*2);

}

.margin-block{
  margin-block: var(--padding-block) !important;
}

#insurance-billing{
  margin-block: var(--padding-block) !important;
}

.pg-panel{
    margin-block: var(--padding-block) !important;

}



/* ---------- FAQ · Luxury Active State ---------- */

.faq-list .faq[open] {
  background: linear-gradient(120deg, #0E1C4D 0%, #1B2A80 55%, #2D5BD7 100%);
  border: 1px solid rgba(143, 176, 242, .7);
  border-radius: var(--r-m);
  padding: 10px;
  box-shadow:
    0 18px 38px -16px rgba(14, 28, 77, .5),
    inset 0 1px 0 rgba(255, 255, 255, .16);
}

/* Pregunta */
.faq-list .faq[open] summary {
  color: #fff;
  background: transparent;
  padding: 1rem 1.2rem;
}

/* Icono */
.faq-list .faq[open] summary .icon {
  background: #fff;
  color: var(--ao-ink-navy);
  transform: rotate(180deg);
}

/* Respuesta integrada en el degradado */
.faq-list .faq[open] .faq-a {
  background: transparent;
  color: #fff;
  padding: 1rem 1.2rem 1.2rem;
  margin-top: 0;
}

/* Texto de respuesta */
.faq-list .faq[open] .faq-a p {
  color: #fff;
}

/* Enlaces telefónicos */



/* Transiciones */
.faq-list .faq {
  transition:
    background .35s var(--ease),
    border-color .35s var(--ease),
    box-shadow .35s var(--ease);
}

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

/* Enlaces telefónicos */
.faq-list .faq[open] .faq-a a {
  color: #DCE7FF;
  font-weight: 700;
  text-decoration: none;
  transition: color .25s ease;
}

.faq-list .faq[open] .faq-a a:hover {
  color: #8FB0F2;
}

@media(max-width:768px){
  .treat-meta{
    flex-direction: column;
    align-items: center;
  }

  .treat-meta span{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
}