/* Doctor Online MX v2 — /sitio-web-clinica (estilos propios de la página) */

/* ---------- Hero ---------- */
.page-clinica .s-hero h1 { font-size: clamp(2rem, 8.4cqi, 4.1rem); }
/* El acento del H1 usa --sky (el color de acento sobre fondo oscuro): el azul eléctrico sobre night apenas llega a 3.5:1 */
.page-clinica .s-hero h1 em { font-style: normal; }
@media (max-width: 559px) {
  .cl-hero__badge { display: none; }
  .page-clinica .s-hero__lead { font-size: 1rem; line-height: 1.5; margin-top: 1rem; }
  .page-clinica .s-hero__price { margin-top: 1.25rem; }
  .page-clinica .s-hero__ctas { margin-top: 1.4rem; }
}

/* Maqueta: sitio de una clínica multi-doctor (laptop + celular) */
.devices--clinic { max-width: 640px; transition: transform .7s var(--ease-out); transform-style: preserve-3d; }
.devices--clinic .laptop__screen { container-type: inline-size; }
.devices--clinic .phone__screen { container-type: inline-size; }

.cl-site { height: 100%; display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; background: #fff; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: max(5px, 1.62cqi); line-height: 1.25; }
.cl-site__bar { display: flex; align-items: center; gap: .5em; padding: .65em 1em; background: #F1F4F9; }
.cl-site__bar i { width: .8em; height: .8em; border-radius: 50%; background: #D3DAE6; }
.cl-site__bar span { margin-left: 1em; padding: .2em 1.4em; border-radius: 999px; background: #fff; color: var(--ink-3); font-size: .9em; }
.cl-site__nav { display: flex; align-items: center; gap: 1.8em; padding: .95em 2em; font-size: .95em; color: var(--ink-2); border-bottom: 1px solid #EEF1F6; }
.cl-site__nav b { display: inline-flex; align-items: center; gap: .55em; margin-right: auto; color: var(--ink); font-weight: 700; }
.cl-site__nav em { font-style: normal; padding: .45em 1.2em; border-radius: 999px; background: var(--electric); color: #fff; font-weight: 650; }
.cl-logo { display: inline-grid; place-items: center; width: 2em; height: 2em; border-radius: .6em; background: var(--electric); color: #fff; font-size: .8em; font-weight: 800; letter-spacing: -.02em; }
.cl-site__hero { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.6em; align-items: center; padding: 0 0 0 2em; background: linear-gradient(180deg, #fff, #EEF4FF); overflow: hidden; }
.cl-site__hero div { display: grid; gap: .8em; padding: 1em 0; }
.cl-site__hero span { color: var(--electric); font-weight: 650; font-size: .9em; }
.cl-site__hero b { font-size: 2.15em; line-height: 1.06; letter-spacing: -.03em; }
.cl-site__hero em { justify-self: start; font-style: normal; padding: .65em 1.4em; border-radius: 999px; background: var(--electric); color: #fff; font-weight: 650; }
.cl-site__hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 1.4em 0 0 0; }
.cl-site__docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9em; padding: .9em 2em 1.3em; background: #fff; }
.cl-site__docs > p { grid-column: 1 / -1; font-weight: 750; font-size: 1.05em; letter-spacing: -.01em; }
.cl-doc { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); column-gap: .75em; row-gap: .15em; align-items: center; padding: .7em; border-radius: 1em; background: #fff; box-shadow: 0 0 0 1px #E2E8F3, 0 .6em 1.4em -1em rgba(0, 38, 128, .35); animation: cl-pop .8s var(--ease-out) both; animation-delay: calc(1.05s + var(--i, 0) * .15s); }
.cl-doc .cl-ph { grid-row: 1 / span 3; width: 3.4em; }
.cl-doc b { font-size: .95em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cl-doc > span:not(.cl-ph) { color: var(--ink-3); font-size: .82em; }
.cl-doc i { justify-self: start; font-style: normal; padding: .2em .8em; border-radius: 999px; background: var(--electric-050); color: var(--electric); font-weight: 650; font-size: .78em; }
@keyframes cl-pop { from { opacity: 0; transform: translateY(.8em) scale(.97); } }

/* Retrato circular (y recorte de la foto de equipo para la tercera doctora) */
.cl-ph { position: relative; display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--paper-2); }
.cl-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.cl-ph--crop img { position: absolute; width: 280%; max-width: none; height: auto; left: -166%; top: -32%; object-fit: initial; }

.cl-mobile { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; gap: .6em; padding-bottom: 1em; background: #fff; text-align: center; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: max(5px, 4.9cqi); color: var(--ink); line-height: 1.2; }
.cl-mobile > img { width: 100%; height: 41%; object-fit: cover; object-position: 50% 25%; }
.cl-mobile > b { margin-top: .35em; font-size: 1.2em; letter-spacing: -.02em; }
.cl-mobile > span { color: var(--ink-3); font-size: .8em; }
.cl-mobile em { display: inline-flex; align-items: center; gap: .3em; padding: .55em .95em; border-radius: 999px; background: var(--wa); color: #fff; font-style: normal; font-weight: 650; font-size: .8em; }
.cl-mobile em .i { width: 1.1em; height: 1.1em; }
.cl-mobile__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .3em; padding: 0 .6em; }
.cl-mobile__chips i { font-style: normal; padding: .25em .6em; border-radius: 999px; background: var(--electric-050); color: var(--electric-600); font-size: .7em; font-weight: 650; }
.cl-mobile__doc { display: flex; align-items: center; gap: .5em; width: 86%; margin-top: .1em; padding: .55em; border-radius: .8em; box-shadow: 0 0 0 1px #E2E8F3; text-align: left; }
.cl-mobile__doc img { width: 2.7em; height: 2.7em; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.cl-mobile__doc b { display: block; font-size: .78em; }
.cl-mobile__doc small { color: var(--electric); font-size: .7em; font-weight: 650; }
.cl-mobile__branch { display: flex; align-items: center; gap: .5em; width: 86%; padding: .65em .6em; border-radius: .8em; background: var(--electric-050); text-align: left; }
.cl-mobile__branch .i { flex: none; width: 1.5em; height: 1.5em; padding: .3em; border-radius: 50%; background: #fff; color: var(--electric); }
.cl-mobile__branch b { display: block; font-size: .74em; }
.cl-mobile__branch small { color: var(--ink-3); font-size: .66em; }

/* Tarjetas flotantes alrededor de la maqueta (solo escritorio) */
.float-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem .55rem .55rem; border-radius: 16px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 0 0 1px rgba(11, 29, 59, .08), 0 18px 40px -18px rgba(0, 38, 128, .45); font-size: .8rem; line-height: 1.2; animation: cl-float-in 1s var(--ease-out) both; }
.float-card img { width: 2.4rem; height: 2.4rem; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.float-card b { display: block; font-weight: 650; color: var(--ink); }
.float-card small { color: var(--ink-3); font-size: .74rem; }
.float-card em { font-style: normal; margin-left: .2rem; padding: .35rem .7rem; border-radius: 999px; background: var(--electric); color: #fff; font-weight: 650; font-size: .74rem; white-space: nowrap; }
.float-card--doc { left: 4%; bottom: -3.4rem; animation-delay: 1.5s; }
.float-card--branch { right: 3%; top: -5%; animation-delay: 1.75s; }
@media (min-width: 1024px) { .devices--clinic .ex-label { bottom: auto; top: -2.4rem; } .devices--clinic { margin-bottom: 2.5rem; } }
.float-card__pin { width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--electric-050); color: var(--electric); }
.float-card__pin .i { width: 1.1rem; height: 1.1rem; }
@keyframes cl-float-in { from { opacity: 0; transform: translateY(12px) scale(.96); } }
@media (max-width: 1023px) { .float-card { display: none; } }

/* ---------- Las 6 páginas (explorador con pantalla fija en escritorio) ---------- */
.cl-pages { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
.cl-pages__intro { display: grid; gap: .6rem; }
.cl-pages__list { display: grid; list-style: none; padding: 0; margin: 0; }
.cl-page { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line); }
.cl-page .i-box { width: 2.75rem; height: 2.75rem; border-radius: 14px; display: grid; place-items: center; background: var(--electric-050); color: var(--electric); transition: background-color .35s var(--ease-out), color .35s var(--ease-out); }
.cl-page h4 { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .6rem; font-size: 1.08rem; font-weight: 640; font-stretch: var(--semi-wide); letter-spacing: -.012em; line-height: 1.25; }
.cl-page h4 .badge { font-stretch: 100%; }
.cl-page p { margin-top: .3rem; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.5; }
.cl-page .why-line { display: block; margin-top: .55rem; font-size: var(--fs-xs); color: var(--electric-600); font-weight: 560; }
.cl-pages__stage { display: none; }
.cl-pages__cta { margin-top: 2.25rem; }
@media (min-width: 760px) and (max-width: 1023px) { .cl-pages__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } }
@media (min-width: 1024px) {
  .cl-pages { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(2.5rem, 1rem + 3vw, 4.5rem); row-gap: 1rem; align-items: start; }
  .cl-pages__intro, .cl-pages__list { grid-column: 1; }
  .cl-pages__list { padding-bottom: 4rem; }
  .cl-pages__stage { display: block; position: sticky; top: calc(var(--header-h) + 2rem); grid-column: 2; grid-row: 1 / span 2; }
  .cl-page { position: relative; padding: 1.5rem 1.25rem 1.5rem 1rem; margin-left: -1rem; border-top: 0; border-radius: var(--r-card); transition: background-color .35s var(--ease-out), box-shadow .35s var(--ease-out); }
  .cl-page + .cl-page::before { content: ""; position: absolute; top: 0; left: 1rem; right: 1.25rem; height: 1px; background: var(--line); transition: opacity .3s var(--ease-out); }
  .cl-page.is-active { background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-2); }
  .cl-page.is-active::before, .cl-page.is-active + .cl-page::before { opacity: 0; }
  .cl-page.is-active .i-box { background: var(--electric); color: #fff; }
}

.cl-browser { position: relative; border-radius: 18px; background: #fff; overflow: hidden; box-shadow: var(--shadow-3), 0 0 0 1px var(--line); container-type: inline-size; }
.cl-browser__bar { display: flex; align-items: center; gap: .45rem; padding: .7rem 1rem; background: #EEF2F8; border-bottom: 1px solid var(--line); }
.cl-browser__bar > i { width: .65rem; height: .65rem; border-radius: 50%; background: #D3DAE6; }
.cl-browser__bar > span { display: flex; align-items: center; gap: .4rem; flex: 1; max-width: 21rem; margin-left: .9rem; padding: .32rem .85rem; border-radius: 999px; background: #fff; color: var(--ink-2); font-size: .8rem; font-variant-numeric: tabular-nums; }
.cl-browser__bar > span .i { width: .8rem; height: .8rem; color: var(--ink-3); }
.cl-browser__screen { position: relative; aspect-ratio: 16 / 9.9; overflow: hidden; background: #fff; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: 1.5cqi; line-height: 1.25; }
.cl-browser__nav { position: absolute; z-index: 3; inset: 0 0 auto 0; height: 4.2em; display: flex; align-items: center; gap: 1.8em; padding: 0 2.2em; background: rgba(255, 255, 255, .94); border-bottom: 1px solid #EEF1F6; font-size: .95em; color: var(--ink-2); }
.cl-browser__nav b { display: inline-flex; align-items: center; gap: .55em; margin-right: auto; color: var(--ink); font-weight: 700; }
.cl-browser__nav span { position: relative; transition: color .3s var(--ease-out); }
.cl-browser__nav span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.55em; height: 2px; border-radius: 2px; background: var(--electric); transform: scaleX(0); transition: transform .4s var(--ease-out); }
.cl-browser__nav span.on { color: var(--electric); font-weight: 650; }
.cl-browser__nav span.on::after { transform: none; }
.cl-browser__nav em { font-style: normal; padding: .45em 1.2em; border-radius: 999px; background: var(--electric); color: #fff; font-weight: 650; }
.cl-pages__stage .ex-label { left: 1rem; bottom: auto; top: calc(100% + .75rem); }

.pg { position: absolute; inset: 4.2em 0 0 0; padding: 2em 2.2em; opacity: 0; visibility: hidden; transform: translateY(1.2em) scale(.985); transition: opacity .5s var(--ease-out), transform .7s var(--ease-out), visibility 0s linear .5s; }
.pg.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s var(--ease-out), transform .7s var(--ease-out), visibility 0s; }
.pg__title { display: block; font-size: 1.8em; font-weight: 750; letter-spacing: -.025em; margin-bottom: .8em; }

/* Inicio */
.pg--home { padding: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.pg-home__hero { position: relative; overflow: hidden; }
.pg-home__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.pg-home__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 20, 51, .9) 0%, rgba(6, 20, 51, .66) 42%, rgba(6, 20, 51, 0) 78%); }
.pg-home__hero div { position: relative; z-index: 1; display: grid; gap: 1em; align-content: center; height: 100%; max-width: 56%; padding: 0 2.4em; }
.pg-home__hero span { color: var(--sky); font-weight: 650; font-size: .95em; }
.pg-home__hero b { color: #fff; font-size: 2.7em; line-height: 1.04; letter-spacing: -.035em; }
.pg-home__hero p { display: flex; gap: .7em; }
.pg-home__hero em, .pg-home__hero i { font-style: normal; padding: .7em 1.4em; border-radius: 999px; font-weight: 650; }
.pg-home__hero em { background: var(--electric); color: #fff; }
.pg-home__hero i { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.pg-home__strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1em; padding: 1.4em 2.2em; background: #fff; }
.pg-home__strip span { display: flex; align-items: center; gap: .6em; padding: .9em 1em; border-radius: 1em; box-shadow: 0 0 0 1px #E2E8F3; font-weight: 650; font-size: .95em; }
.pg-home__strip .i { width: 1.6em; height: 1.6em; padding: .3em; border-radius: .5em; background: var(--electric-050); color: var(--electric); }

/* Servicios */
.pg-svc__tabs { display: flex; gap: .5em; margin-bottom: 1.3em; }
.pg-svc__tabs span { padding: .45em 1.1em; border-radius: 999px; box-shadow: inset 0 0 0 1px #DCE3EE; color: var(--ink-2); font-weight: 600; }
.pg-svc__tabs .on { background: var(--electric); color: #fff; box-shadow: none; }
.pg-svc__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1em; }
.pg-svc__grid span { display: grid; gap: .55em; padding: 1.1em; border-radius: 1em; background: #fff; box-shadow: 0 0 0 1px #E2E8F3; }
.pg-svc__grid .i { width: 2.2em; height: 2.2em; padding: .45em; border-radius: .6em; background: var(--electric-050); color: var(--electric); }
.pg-svc__grid b { font-size: 1.02em; }
.pg-svc__grid i { display: block; height: .5em; border-radius: 1em; background: #EDF1F7; }
.pg-svc__grid i + i { width: 62%; }
.pg-svc__cta { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-top: 1.3em; padding: 1.1em 1.3em; border-radius: 1em; background: linear-gradient(90deg, var(--electric-050), #F3F7FF); }
.pg-svc__cta b { display: block; font-size: 1.05em; }
.pg-svc__cta small { color: var(--ink-3); font-size: .85em; }
.pg-svc__cta em { display: inline-flex; align-items: center; gap: .45em; padding: .65em 1.3em; border-radius: 999px; background: var(--wa); color: #fff; font-style: normal; font-weight: 650; white-space: nowrap; }
.pg-svc__cta .i { width: 1.2em; height: 1.2em; }

/* Doctores */
.pg-docs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1em; }
.pg-docs__grid > div { display: grid; justify-items: center; gap: .35em; padding: 1.1em 1em 1.2em; border-radius: 1.1em; background: #fff; box-shadow: 0 0 0 1px #E2E8F3, 0 1em 2em -1.6em rgba(0, 38, 128, .4); text-align: center; }
.pg-docs__grid .cl-ph { width: 54%; margin-bottom: .35em; box-shadow: 0 0 0 .25em var(--electric-050); }
.pg-docs__grid b { font-size: 1.08em; }
.pg-docs__grid small { color: var(--electric); font-weight: 650; font-size: .85em; }
.pg-docs__ced { display: flex; align-items: center; gap: .4em; color: var(--ink-3); font-size: .78em; }
.pg-docs__ced i { width: 4.5em; height: .5em; border-radius: 1em; background: #EDF1F7; }
.pg-docs__grid .bar { display: block; width: 88%; height: .45em; border-radius: 1em; background: #EDF1F7; }
.pg-docs__grid .bar--s { width: 64%; }
.pg-docs__grid p { display: flex; flex-wrap: wrap; justify-content: center; gap: .4em; margin-top: .45em; }
.pg-docs__grid em, .pg-docs__grid u { font-style: normal; text-decoration: none; padding: .4em .9em; border-radius: 999px; font-weight: 650; font-size: .82em; }
.pg-docs__grid em { background: var(--electric); color: #fff; }
.pg-docs__grid u { box-shadow: inset 0 0 0 1px #CFE0F7; color: #0B8DAB; }

/* Testimonios */
.pg-rev__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1em; }
.pg-rev__grid > div { display: grid; align-content: start; gap: .6em; padding: 1.15em 1.25em; border-radius: 1em; background: #fff; box-shadow: 0 0 0 1px #E2E8F3; }
.pg-stars { display: flex; gap: .15em; color: #F5B301; }
.pg-stars svg { width: 1.3em; height: 1.3em; fill: currentColor; }
.pg-rev__grid i { display: block; height: .5em; border-radius: 1em; background: #EDF1F7; }
.pg-rev__grid i.s { width: 58%; }
.pg-rev__grid small { margin-top: .4em; color: var(--ink-3); font-size: .8em; font-weight: 600; }
.pg-rev__links { display: flex; gap: .7em; margin-top: 1.4em; }
.pg-rev__links u { text-decoration: none; padding: .55em 1.2em; border-radius: 999px; box-shadow: inset 0 0 0 1px #DCE3EE; font-weight: 650; color: var(--ink); }

/* Galería */
.pg-gal__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, 9.5em); gap: .7em; }
.pg-gal__grid span { overflow: hidden; border-radius: .9em; background: var(--paper-2); }
.pg-gal__grid .big { grid-column: span 2; grid-row: span 2; }
.pg-gal__grid img { width: 100%; height: 100%; object-fit: cover; }
.pg-gal__lightbox { position: absolute; right: 2.2em; bottom: 1.8em; display: flex; align-items: center; gap: .6em; padding: .7em; border-radius: 1.2em; background: rgba(6, 20, 51, .92); box-shadow: 0 1.5em 3em -1em rgba(6, 20, 51, .6); }
.pg-gal__photo { width: 10em; aspect-ratio: 1; border-radius: .8em; overflow: hidden; }
.pg-gal__photo img { width: 100%; height: 100%; object-fit: cover; }
.pg-gal__arrow { width: 2em; height: 2em; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.3em; line-height: 1; }

/* Contacto */
.pg--contact { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.6em; }
.pg-ct__map { position: relative; border-radius: 1.2em; overflow: hidden; background: #E9F0FB; background-image: linear-gradient(rgba(11, 29, 59, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 29, 59, .05) 1px, transparent 1px); background-size: 2.4em 2.4em; }
.pg-ct__map .road { position: absolute; background: #fff; box-shadow: 0 0 0 1px #D6E2F5; }
.pg-ct__map .road--a { left: -5%; right: -5%; top: 46%; height: 1.1em; transform: rotate(-8deg); }
.pg-ct__map .road--b { top: -5%; bottom: -5%; left: 52%; width: 1em; transform: rotate(12deg); }
.pg-ct__map .road--c { left: 10%; right: 30%; top: 78%; height: .7em; }
.pg-ct__map .pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -100%); display: grid; justify-items: center; }
.pg-ct__map .pin::before { content: ""; width: 2.1em; height: 2.1em; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--electric); box-shadow: 0 .6em 1.2em -.4em rgba(0, 85, 255, .7), inset 0 0 0 .55em var(--electric), inset 0 0 0 1em #fff; }
.pg-ct__map .pin b { margin-top: .5em; padding: .25em .7em; border-radius: 999px; background: #fff; box-shadow: 0 .4em 1em -.5em rgba(0, 38, 128, .5); font-size: .85em; }
.pg-ct__side { display: grid; align-content: start; gap: .8em; }
.pg-ct__side .pg__title { margin-bottom: .1em; }
.pg-ct__card { display: grid; gap: .45em; padding: 1em 1.1em; border-radius: 1em; box-shadow: 0 0 0 1px #E2E8F3; }
.pg-ct__card b, .pg-ct__card span { display: flex; align-items: center; gap: .45em; }
.pg-ct__card span { color: var(--ink-3); font-size: .88em; }
.pg-ct__card .i { width: 1.2em; height: 1.2em; color: var(--electric); }
.pg-ct__card i { display: block; height: .5em; width: 70%; border-radius: 1em; background: #EDF1F7; }
.pg-ct__side em { justify-self: start; display: inline-flex; align-items: center; gap: .45em; margin-top: .3em; padding: .7em 1.3em; border-radius: 999px; background: var(--wa); color: #fff; font-style: normal; font-weight: 650; }
.pg-ct__side em .i { width: 1.2em; height: 1.2em; }

/* ---------- Capacidades + comparativa ---------- */
.cl-cmp { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding: clamp(1.25rem, .9rem + 1.6vw, 2.25rem); border-radius: var(--r-panel); background: var(--card); box-shadow: var(--shadow-2), 0 0 0 1px var(--line); }
.cl-cmp__table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-small); line-height: 1.45; }
.cl-cmp__table caption { caption-side: top; text-align: left; padding-bottom: 1.25rem; }
.cl-cmp__table th, .cl-cmp__table td { text-align: left; vertical-align: top; padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
.cl-cmp__table thead th { font-weight: 640; font-stretch: var(--semi-wide); color: var(--ink); border-bottom: 1.5px solid var(--line-strong); }
.cl-cmp__table thead th .badge { margin-left: .4rem; vertical-align: middle; font-stretch: 100%; }
.cl-cmp__table tbody th { width: 17%; font-weight: 600; color: var(--ink-3); }
.cl-cmp__table td { color: var(--ink-2); }
.cl-cmp__table .is-you { background: rgba(0, 85, 255, .045); color: var(--ink); }
.cl-cmp__table thead .is-you { border-radius: 14px 14px 0 0; color: var(--electric-600); }
.cl-cmp__table tbody tr:last-child > * { border-bottom: 0; }
.cl-cmp__table tbody tr:last-child .is-you { border-radius: 0 0 14px 14px; }
.cl-cmp__table b { color: var(--ink); font-weight: 700; }
.cl-cmp__alt { display: flex; align-items: center; gap: .65rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--ink-2); }
.cl-cmp__alt .i { color: var(--electric); }
@media (max-width: 639px) {
  .cl-cmp__table, .cl-cmp__table thead, .cl-cmp__table tbody { display: block; }
  .cl-cmp__table caption { display: block; }
  .cl-cmp__table thead td { display: none; }
  .cl-cmp__table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .cl-cmp__table th, .cl-cmp__table td { padding: .6rem .7rem; }
  .cl-cmp__table thead th { font-size: var(--fs-xs); line-height: 1.3; }
  .cl-cmp__table thead th .badge { display: none; }
  .cl-cmp__table tbody th { grid-column: 1 / -1; width: auto; padding: .85rem .7rem .15rem; border-bottom: 0; font-size: var(--fs-xs); }
  .cl-cmp__table tbody tr:last-child th { border-bottom: 0; }
  .cl-cmp__table tbody tr:last-child .is-you { border-radius: 0 0 12px 0; }
  .cl-cmp__table thead .is-you { border-radius: 12px 12px 0 0; }
}

/* ---------- Clínicas dentales y de estética ---------- */
.cl-niche__panel { display: grid; gap: 1.5rem; padding: clamp(.85rem, .6rem + 1vw, 1.4rem); border-radius: var(--r-panel); background: var(--paper-2); overflow: hidden; }
.cl-niche__photo { margin: 0; }
.cl-niche__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; border-radius: 20px; }
.cl-niche__copy { display: grid; gap: 1rem; align-content: center; padding: .25rem .4rem .6rem; }
.cl-niche__cards { display: grid; gap: .85rem; margin-top: .35rem; }
.cl-niche__cards > div { padding: 1.1rem 1.2rem; border-radius: var(--r-card); background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.cl-niche__cards h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.05rem; font-weight: 640; font-stretch: var(--semi-wide); letter-spacing: -.01em; }
.cl-niche__cards h3 .i { color: var(--electric); }
.cl-niche__cards p { margin-top: .4rem; font-size: var(--fs-small); color: var(--ink-2); line-height: 1.5; }
@media (min-width: 700px) { .cl-niche__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .cl-niche__panel { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(2rem, 1rem + 2.5vw, 3.5rem); align-items: center; }
  .cl-niche__photo img { aspect-ratio: 1; }
  .cl-niche__copy { padding: 1rem 1.5rem 1rem 0; }
}

/* ---------- Banda técnica: cómo te entiende Google ---------- */
.cl-tech__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 2rem + 2vw, 4rem); align-items: center; }
.cl-tech .section-head { margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
@media (min-width: 1100px) { .cl-tech__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); } }

.cl-graph { margin: 0; }
.cl-graph__box { position: relative; aspect-ratio: 1.08; border-radius: var(--r-panel); background:
  radial-gradient(48% 46% at 50% 50%, rgba(0, 85, 255, .32), rgba(0, 85, 255, 0) 72%),
  linear-gradient(rgba(143, 182, 255, .06) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(90deg, rgba(143, 182, 255, .06) 1px, transparent 1px) 0 0 / 32px 32px,
  rgba(255, 255, 255, .02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.cl-graph__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cl-graph__lines line { stroke: var(--sky); stroke-opacity: .6; stroke-width: .32; stroke-linecap: round; }
.cl-graph__core { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: .3rem; padding: 1.05rem 1.4rem; border-radius: 22px; background: var(--electric); color: #fff; text-align: center; box-shadow: 0 0 0 10px rgba(0, 85, 255, .16), 0 0 0 22px rgba(0, 85, 255, .07), 0 24px 50px -14px rgba(0, 85, 255, .8); }
.cl-graph__core b { font-size: 1.05rem; font-weight: 700; font-stretch: var(--wide); letter-spacing: -.02em; white-space: nowrap; }
.cl-graph__core small { font-size: .78rem; color: rgba(255, 255, 255, .82); }
.cl-graph__icon { width: 2.5rem; height: 2.5rem; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); margin-bottom: .15rem; }
.cl-graph__node { position: absolute; z-index: 2; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: .4rem; width: 8.4rem; padding: .7rem .6rem .75rem; border-radius: 18px; background: rgba(11, 29, 59, .94); box-shadow: inset 0 0 0 1px rgba(143, 182, 255, .26), 0 16px 34px -16px rgba(0, 0, 0, .7); text-align: center; color: #fff; line-height: 1.2; }
.cl-graph__node .cl-ph { width: 2.75rem; box-shadow: 0 0 0 2px rgba(143, 182, 255, .45); }
.cl-graph__node b { display: block; font-size: .8rem; font-weight: 620; }
.cl-graph__node small { display: block; margin-top: .15rem; font-size: .72rem; color: var(--sky); }
.cl-graph__node--place { display: flex; width: auto; gap: .55rem; padding: .5rem .9rem .5rem .5rem; border-radius: 999px; text-align: left; white-space: nowrap; }
.cl-graph__pin { width: 2.1rem; height: 2.1rem; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(143, 182, 255, .16); color: var(--sky); }
.cl-graph__pin .i { width: 1.05rem; height: 1.05rem; }
.cl-graph figcaption, .cl-graph > figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-top: 1rem; font-size: var(--fs-xs); color: rgba(255, 255, 255, .66); }
.cl-graph figcaption span { padding: .2rem .6rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .8); font-weight: 600; }

/* Entrada: las líneas se dibujan y los nodos aparecen en orden (una sola vez) */
.motion-ready .cl-graph__lines line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease-out) calc(.35s + var(--i, 0) * .1s); }
.motion-ready .cl-graph.is-in .cl-graph__lines line { stroke-dashoffset: 0; }
.motion-ready .cl-graph__node, .motion-ready .cl-graph__core { transition: opacity .6s var(--ease-out), scale .8s var(--ease-out); transition-delay: calc(.6s + var(--i, 0) * .1s); }
.motion-ready .cl-graph__core { transition-delay: .2s; }
.motion-ready .cl-graph:not(.is-in) .cl-graph__node, .motion-ready .cl-graph:not(.is-in) .cl-graph__core { opacity: 0; scale: .88; }

@media (max-width: 759px) {
  .cl-graph__box { aspect-ratio: auto; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; padding: 1rem .8rem; }
  .cl-graph__lines { display: none; }
  .cl-graph__core, .cl-graph__node { position: relative; left: auto; top: auto; transform: none; }
  .cl-graph__node { grid-column: span 2; width: auto; padding: .65rem .35rem .7rem; }
  .cl-graph__node b { font-size: .76rem; }
  .cl-graph__core { grid-column: 1 / -1; grid-row: 2; justify-self: center; margin: 1.1rem 0; }
  .cl-graph__core::before, .cl-graph__core::after { content: ""; position: absolute; left: 50%; width: 2px; height: 1.1rem; background: rgba(143, 182, 255, .5); }
  .cl-graph__core::before { bottom: 100%; }
  .cl-graph__core::after { top: 100%; }
  .cl-graph__node--place { grid-column: span 3; grid-row: 3; padding: .45rem .6rem .45rem .45rem; white-space: normal; }
  .cl-graph__node--place + .cl-graph__node--place { grid-column: 4 / span 3; }
}

/* ---------- Formulario: separa el párrafo de los pasos (service.css pone margin:0 a .s-mini-steps y anula el ritmo de .stack) ---------- */
.page-clinica .stack > .s-mini-steps { margin-top: var(--stack, 1rem); }

/* ---------- Precio: qué incluye agrupado ---------- */
/* En escritorio el precio y su botón acompañan la lista larga de incluidos (overflow: clip no rompe el sticky) */
@media (min-width: 1024px) and (min-height: 760px) {
  .s-price.cl-price { overflow: clip; }
  .cl-price .s-price__main { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.cl-inc { display: grid; gap: 1.6rem; }
.cl-inc__title { font-size: 1rem; font-weight: 640; }
.cl-inc__groups { display: grid; gap: 1.4rem 2rem; margin-top: -.6rem; }
.cl-inc__label { margin: 0 0 .6rem; font-size: var(--fs-xs); font-weight: 650; color: var(--electric-600); }
.cl-inc__group .ticks + .cl-inc__label { margin-top: 1.3rem; }
.cl-inc__no { display: grid; gap: .85rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
@media (min-width: 640px) {
  .cl-inc__groups { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .cl-inc__no .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
}

/* Celular: lo técnico de "Qué incluye" se pliega */
.cl-inc__more > summary { display: none; }
@media (max-width: 639px) {
  .cl-inc__more > summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 48px; padding: .7rem 1rem; border-radius: 14px; background: var(--electric-050); color: var(--electric-600); font-weight: 620; font-size: var(--fs-small); line-height: 1.3; list-style: none; cursor: pointer; }
  .cl-inc__more > summary::-webkit-details-marker { display: none; }
  .cl-inc__more > summary::after { content: ""; flex: none; width: 9px; height: 9px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease-out); }
  .cl-inc__more[open] > summary { margin-bottom: 1.1rem; }
  .cl-inc__more[open] > summary::after { margin-top: 4px; transform: rotate(225deg); }
  .cl-inc__opened, .cl-inc__more[open] .cl-inc__closed { display: none; }
  .cl-inc__more[open] .cl-inc__opened { display: inline; }
}

/* =====================================================================
   v3 — alto impacto: explorador oscuro, capacidades en galería horizontal,
   precio como clímax oscuro, proceso y preguntas en dos columnas
   ===================================================================== */
.page-clinica .s-hero .badge--solid { background: var(--electric); color: #fff; box-shadow: none; }
.cl-why { overflow: clip; }

/* ---------- Explorador de las 6 páginas sobre fondo oscuro ---------- */
.cl-pages-sec { overflow: clip; }
.cl-pages-sec .section-head .t-d2 { max-width: 14ch; }
.cl-pages-sec .cl-page h4 { color: #fff; }
.cl-pages-sec .cl-page p { color: rgba(255, 255, 255, .72); }
.cl-pages-sec .cl-page .why-line { color: var(--sky); }
.cl-pages-sec .cl-page .i-box { background: rgba(143, 182, 255, .12); color: var(--sky); }
.cl-pages-sec .cl-browser { box-shadow: 0 60px 120px -40px rgba(0, 40, 160, .85), 0 0 0 1px rgba(255, 255, 255, .16); }
.cl-pages-sec .cl-pages__stage .ex-label { background: var(--night); color: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1px rgba(143, 182, 255, .38); }
@media (min-width: 1024px) {
  .cl-pages-sec .cl-page.is-active { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(143, 182, 255, .32), 0 30px 60px -40px rgba(0, 85, 255, .8); }
  .cl-pages-sec .cl-page.is-active .i-box { background: var(--electric); color: #fff; }
}
.cl-pages__hint { display: none; }
/* Celular y tableta: la pantalla va arriba y las 6 páginas se deslizan debajo; la pantalla sigue a la tarjeta */
@media (max-width: 1023px) {
  .cl-pages__intro { order: 0; }
  .cl-pages__stage { display: block; order: 1; margin-bottom: 2.4rem; }
  .cl-pages__list { order: 2; display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: .35rem var(--gutter) .9rem; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .cl-pages__list::-webkit-scrollbar { display: none; }
  .cl-pages__hint { order: 3; display: flex; align-items: center; gap: .5rem; margin-top: -.6rem; font-size: var(--fs-xs); color: rgba(255, 255, 255, .55); }
  .cl-pages__hint::after { content: ""; width: 2.2rem; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--sky), rgba(143, 182, 255, 0)); }
  .cl-pages-sec .cl-page { flex: 0 0 min(80%, 320px); scroll-snap-align: start; grid-template-columns: minmax(0, 1fr); align-content: start; gap: .8rem; padding: 1.2rem 1.15rem 1.3rem; border-top: 0; border-radius: var(--r-card); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); transition: box-shadow .3s var(--ease-out), background-color .3s var(--ease-out); }
  .cl-pages-sec .cl-page.is-active { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1.5px rgba(143, 182, 255, .6); }
  .cl-pages-sec .cl-page.is-active .i-box { background: var(--electric); color: #fff; }
  .cl-pages__cta { margin-top: 1.5rem; }
}
@media (max-width: 559px) { .cl-browser__bar { padding: .5rem .75rem; } .cl-browser__bar > span { font-size: .7rem; padding: .25rem .7rem; } }

/* ---------- Capacidades: galería horizontal clara ---------- */
.cl-capsg.section { padding-block: 0 2.5rem; overflow: clip; }
@media (max-width: 759px) { .cl-capsg.section { padding-bottom: 1.5rem; } }
.cl-capsg .hg__pin { position: relative; isolation: isolate; }
/* base.css: ol[class] { padding: 0 } gana a .hg__track; se repone el margen lateral con más especificidad */
.cl-capsg .hg__track { align-items: stretch; padding: .5rem max(var(--gutter), calc((100vw - var(--wrap)) / 2)) 1.25rem; }
.cl-capsg .hg__head .t-d2 { max-width: 15ch; }
.cl-capsg__tools { display: grid; justify-items: end; gap: .6rem; }
.cl-capsg__note { font-size: var(--fs-xs); color: var(--ink-2); }
@media (max-width: 1023px) { .cl-capsg__tools { justify-items: start; } }

.cl-capi { position: relative; display: flex; flex-direction: column; justify-content: flex-end; width: min(86vw, 420px); min-height: 520px; border-radius: 28px; overflow: hidden; background: radial-gradient(90% 60% at 50% 20%, rgba(0, 85, 255, .45), rgba(0, 85, 255, 0)), linear-gradient(170deg, #0B1D3B, #040B20 62%); box-shadow: 0 40px 80px -40px rgba(0, 38, 128, .7); color: #fff; }
.cl-capi__img { position: absolute; left: 0; top: -6%; width: 100%; height: 74%; max-width: none; object-fit: cover; object-position: 50% 42%; -webkit-mask-image: linear-gradient(180deg, #000 52%, transparent 96%); mask-image: linear-gradient(180deg, #000 52%, transparent 96%); pointer-events: none; }
.cl-capi__body { position: relative; display: grid; gap: .9rem; padding: 1.6rem 1.6rem 1.7rem; }
.cl-capi .badge { background: rgba(143, 182, 255, .16); color: var(--sky); }
.cl-capi__text { font-size: var(--fs-small); line-height: 1.55; color: rgba(255, 255, 255, .82); }

.cl-cap { position: relative; display: flex; flex-direction: column; border-radius: 28px; overflow: hidden; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-2); transform-style: preserve-3d; transition: box-shadow .35s var(--ease-out); }
.cl-cap:hover { box-shadow: 0 0 0 1.5px var(--electric), var(--shadow-3); }
.cl-cap__visual { position: relative; flex: none; height: 270px; display: flex; align-items: center; justify-content: center; padding: 1.25rem; overflow: hidden; container-type: inline-size; background: radial-gradient(70% 70% at 50% 45%, rgba(0, 85, 255, .16), rgba(0, 85, 255, 0) 72%), linear-gradient(180deg, #E6EEFC, #F7FAFF); border-bottom: 1px solid var(--line); }
.cl-cap__text { display: grid; gap: .5rem; align-content: start; padding: 1.25rem 1.5rem 1.5rem; }
.cl-cap__text h3 { display: flex; align-items: center; gap: .65rem; font-family: var(--font-display); word-spacing: .07em; font-size: 1.38rem; font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); }
.cl-cap__text h3 .i { flex: none; width: 2.15rem; height: 2.15rem; padding: .5rem; border-radius: 11px; background: var(--electric-050); color: var(--electric); }
.cl-cap__text p { font-size: var(--fs-small); line-height: 1.5; color: var(--ink-2); }
.cl-cap .why-line { font-size: var(--fs-xs); font-weight: 560; line-height: 1.45; color: var(--electric-600); }

/* Mini visuales (maquetas DOM, tipografía del sistema) */
.cl-cv { position: relative; z-index: 1; width: 100%; max-width: 300px; padding: 1.1em; border-radius: 1.3em; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(11, 29, 59, .07), 0 26px 44px -26px rgba(0, 38, 128, .5); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: clamp(10px, 4.3cqi, 14.5px); line-height: 1.25; }
.cl-cv-doc { display: grid; justify-items: center; gap: .35em; text-align: center; }
.cl-cv-doc .cl-ph { width: 5.2em; margin-bottom: .3em; box-shadow: 0 0 0 .3em var(--electric-050); }
.cl-cv-doc b { font-size: 1.12em; font-weight: 700; }
.cl-cv-doc small { color: var(--electric); font-weight: 650; font-size: .85em; }
.cl-cv-doc__ced { display: flex; align-items: center; gap: .4em; color: var(--ink-3); font-size: .8em; }
.cl-cv-doc__ced i { width: 4.5em; height: .5em; border-radius: 1em; background: #EDF1F7; }
.cl-cv-doc__btns { display: flex; gap: .4em; margin-top: .45em; }
.cl-cv-doc__btns em, .cl-cv-doc__btns u { font-style: normal; text-decoration: none; padding: .45em .9em; border-radius: 999px; font-weight: 650; font-size: .84em; }
.cl-cv-doc__btns em { background: var(--electric); color: #fff; }
.cl-cv-doc__btns u { box-shadow: inset 0 0 0 1px #CFE0F7; color: #0B7A94; }

.cl-cv-svc { display: grid; gap: .5em; }
.cl-cv-svc__tabs { display: flex; gap: .35em; margin-bottom: .2em; }
.cl-cv-svc__tabs b { padding: .35em .8em; border-radius: 999px; box-shadow: inset 0 0 0 1px #DCE3EE; color: var(--ink-2); font-weight: 600; font-size: .82em; white-space: nowrap; }
.cl-cv-svc__tabs b.on { background: var(--electric); color: #fff; box-shadow: none; }
.cl-cv-svc__row { display: flex; align-items: center; gap: .6em; padding: .65em .7em; border-radius: .8em; box-shadow: 0 0 0 1px #E2E8F3; font-weight: 650; font-size: .92em; }
.cl-cv-svc__row .i { flex: none; width: 1.8em; height: 1.8em; padding: .4em; border-radius: .5em; background: var(--electric-050); color: var(--electric); }

.cl-cv-map { display: grid; padding: 0; overflow: hidden; }
.cl-cv-map__area { position: relative; height: 10.5em; overflow: hidden; background: #E9F0FB; background-image: linear-gradient(rgba(11, 29, 59, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 29, 59, .05) 1px, transparent 1px); background-size: 2em 2em; }
.cl-cv-map__area .road { position: absolute; background: #fff; box-shadow: 0 0 0 1px #D6E2F5; }
.cl-cv-map__area .road--a { left: -5%; right: -5%; top: 48%; height: 1em; transform: rotate(-8deg); }
.cl-cv-map__area .road--b { top: -5%; bottom: -5%; left: 52%; width: .9em; transform: rotate(12deg); }
.cl-cv-map__area .road--c { left: 10%; right: 30%; top: 84%; height: .6em; }
.cl-cv-pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -100%); display: grid; justify-items: center; }
.cl-cv-pin::before { content: ""; width: 1.9em; height: 1.9em; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--electric); box-shadow: inset 0 0 0 .5em var(--electric), inset 0 0 0 .95em #fff, 0 .5em 1em -.3em rgba(0, 85, 255, .7); }
.cl-cv-pin b { margin-top: .45em; padding: .2em .65em; border-radius: 999px; background: #fff; box-shadow: 0 .4em 1em -.5em rgba(0, 38, 128, .55); font-size: .8em; }
.cl-cv-map__row { display: flex; align-items: center; gap: .5em; padding: .85em 1em; font-size: .88em; }
.cl-cv-map__row .i { flex: none; width: 1.2em; height: 1.2em; color: var(--electric); }

.cl-cv-cal { display: grid; gap: .8em; }
.cl-cv-cal__doc { display: flex; align-items: center; gap: .6em; }
.cl-cv-cal__doc img { width: 2.8em; height: 2.8em; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.cl-cv-cal__doc b { display: block; font-size: .98em; }
.cl-cv-cal__doc small { color: var(--electric); font-weight: 650; font-size: .8em; }
.cl-cv-cal__slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4em; }
.cl-cv-cal__slots i { font-style: normal; text-align: center; padding: .5em 0; border-radius: .6em; box-shadow: inset 0 0 0 1px #DCE3EE; font-weight: 650; font-size: .84em; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.cl-cv-cal__slots i.on { background: var(--electric); color: #fff; box-shadow: 0 .5em 1em -.5em rgba(0, 85, 255, .85); }
.cl-cv-cal em { font-style: normal; text-align: center; padding: .65em; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: .9em; }

.cl-cv-team { padding: 0; overflow: hidden; }
.cl-cv-team img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; }
.cl-cv-team__cap { display: grid; gap: .4em; padding: .85em 1em 1em; }
.cl-cv-team__cap b { font-weight: 700; }
.cl-cv-team__cap i { display: block; height: .45em; border-radius: 1em; background: #EDF1F7; }
.cl-cv-team__cap i.s { width: 60%; }

.cl-cv-grow { display: grid; gap: .55em; justify-items: start; }
.cl-cv-grow__avatars { display: flex; align-items: center; margin-bottom: .35em; }
.cl-cv-grow__avatars .cl-ph { width: 3em; flex: none; box-shadow: 0 0 0 .2em #fff; }
.cl-cv-grow__avatars .cl-ph + .cl-ph, .cl-cv-grow__avatars b { margin-left: -.7em; }
.cl-cv-grow__avatars b { position: relative; width: 3em; height: 3em; border-radius: 50%; display: grid; place-items: center; background: var(--electric); color: #fff; font-weight: 800; font-size: 1em; box-shadow: 0 0 0 .2em #fff, 0 .6em 1.2em -.5em rgba(0, 85, 255, .9); }
.cl-cv-grow__chip { display: inline-flex; align-items: center; gap: .45em; padding: .45em .85em; border-radius: 999px; background: var(--electric-050); color: var(--electric-600); font-weight: 650; font-size: .86em; }
.cl-cv-grow__chip .i { width: 1.1em; height: 1.1em; }

@media (min-width: 1024px) {
  .cl-capsg.is-pinned .hg__pin { height: 100svh; min-height: 0; justify-content: flex-start; padding-block: calc(var(--header-h) + 1.25rem) 1.75rem; }
  .cl-capsg.is-pinned .hg__head { margin-bottom: 1.4rem; }
  .cl-capsg.is-pinned .hg__head .t-d2 { font-size: clamp(2.2rem, 1rem + 2.5vw, 3.8rem); max-width: 22ch; }
  .cl-capsg.is-pinned .hg__viewport { flex: 1; min-height: 0; display: flex; }
  .cl-capsg.is-pinned .hg__track { height: 100%; padding-block: 0; }
  .cl-capsg.is-pinned .hg__track > * { height: 100%; min-height: 0; }
  .cl-capsg.is-pinned .cl-cap { width: clamp(300px, 25vw, 360px); }
  .cl-capsg.is-pinned .cl-capi { width: clamp(340px, 30vw, 440px); }
  .cl-capsg.is-pinned .cl-cap__visual { flex: 1 1 auto; height: auto; min-height: 0; }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .cl-capsg.is-pinned .cl-cap__text { padding-block: 1rem 1.2rem; }
  .cl-capsg.is-pinned .cl-capi__body { padding: 1.25rem 1.4rem 1.4rem; gap: .7rem; }
}

/* ---------- Comparativa en su propia sección ---------- */
.cl-cmpsec { padding-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.cl-cmpsec .cl-cmp { margin-top: 0; }

/* ---------- Nicho: sube como tarjeta sobre la banda de especialidades ---------- */
.cl-niche.stack-panel { padding-block: clamp(3rem, 2.4rem + 2.4vw, 4.75rem) clamp(4.5rem, 3.6rem + 3vw, 6.5rem); }

/* ---------- Banda técnica ---------- */
.cl-tech { overflow: clip; }
.cl-tech .t-d2 { max-width: 19ch; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.6rem); }

/* ---------- Banda cinética ---------- */
.cl-band { padding-bottom: calc(clamp(1.25rem, .9rem + 1.6vw, 2.5rem) + 2.5rem); }
@media (max-width: 759px) { .cl-band { padding-bottom: calc(clamp(1.25rem, .9rem + 1.6vw, 2.5rem) + 1.5rem); } }

/* ---------- Proceso (secuencia real: los números sí cuentan) ---------- */
.cl-proc .section-head .t-d2 { max-width: 16ch; }
.cl-proc .cluster { margin-top: 2rem; }
.cl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 900px) { .cl-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
.cl-steps li { position: relative; display: grid; gap: .35rem; align-content: start; padding: 1.4rem 1.3rem 1.5rem; border-radius: 24px; background: var(--card); box-shadow: 0 0 0 1px var(--line), var(--shadow-2); overflow: hidden; }
.cl-steps__n { font-family: var(--font-display); font-weight: 600; font-size: clamp(3.2rem, 2.2rem + 3.6vw, 6.4rem); line-height: .9; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px rgba(0, 85, 255, .5); margin-bottom: .5rem; }
.cl-steps b { font-family: var(--font-display); word-spacing: .07em; font-size: clamp(1.08rem, .95rem + .5vw, 1.35rem); font-weight: 600; line-height: 1.15; color: var(--ink); }
.cl-steps li > span:last-child { justify-self: start; margin-top: .45rem; padding: .3rem .75rem; border-radius: 999px; background: var(--electric-050); color: var(--electric-600); font-weight: 620; font-size: var(--fs-xs); line-height: 1.3; }
.cl-steps li:last-child { background: radial-gradient(90% 80% at 80% 0%, rgba(0, 85, 255, .55), rgba(0, 85, 255, 0) 70%), linear-gradient(160deg, #0B1D3B, #040B20); box-shadow: 0 30px 60px -30px rgba(0, 40, 160, .7); }
.cl-steps li:last-child b { color: #fff; }
.cl-steps li:last-child .cl-steps__n { -webkit-text-stroke-color: rgba(143, 182, 255, .8); }
.cl-steps li:last-child > span:last-child { background: var(--electric); color: #fff; }
.motion-ready .cl-steps[data-reveal]:not(.is-in) { opacity: 1; transform: none; }
.motion-ready .cl-steps:not(.is-in) li { opacity: 0; transform: translateY(26px); }
.motion-ready .cl-steps.is-in li { transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * .1s); }

/* ---------- Precio: tarjeta oscura con brillo ---------- */
.cl-precio { padding-top: 0; }
.s-price.cl-price { background: radial-gradient(70% 60% at 88% 0%, rgba(0, 85, 255, .5), rgba(0, 85, 255, 0) 70%), linear-gradient(165deg, #0B1D3B 0%, #040B20 72%); color: rgba(255, 255, 255, .8); isolation: isolate; box-shadow: 0 60px 120px -50px rgba(0, 40, 160, .8), inset 0 0 0 1px rgba(143, 182, 255, .3); }
.s-price.cl-price::before { background: radial-gradient(closest-side, rgba(62, 207, 191, .16), rgba(62, 207, 191, 0)); }
.cl-price > .fx-aurora { position: absolute; z-index: -1; }
.cl-price .cl-price__big .price__num { font-size: clamp(3.6rem, 2.3rem + 5vw, 7rem); text-shadow: 0 0 70px rgba(0, 85, 255, .6); }
.cl-price .s-price__pills li { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.cl-price .s-price__pills .i { color: var(--sky); }
.cl-price .s-pay li { color: rgba(255, 255, 255, .84); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); }
.cl-price .cl-inc__title { color: #fff; }
.cl-price .cl-inc__label { color: var(--sky); }
.cl-price .ticks--no li { color: rgba(255, 255, 255, .64); }
.cl-price .ticks--no li::before { background: rgba(255, 255, 255, .08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AFC0DD' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 55% no-repeat; }
@media (max-width: 639px) { .cl-price .cl-inc__more > summary { background: rgba(143, 182, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(143, 182, 255, .22); } }

/* ---------- Preguntas en dos columnas ---------- */
.cl-faq { position: relative; padding-top: 0; overflow: clip; }
/* Fondo con diseño: puntos y un brillo eléctrico suave detrás del título fijo */
.cl-faq::before { content: ""; position: absolute; z-index: 0; left: -12%; top: -8%; width: min(70vw, 760px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 85, 255, .11), rgba(0, 85, 255, 0) 72%); pointer-events: none; }
.cl-faq__dots { -webkit-mask-image: radial-gradient(40% 60% at 14% 34%, #000 0%, transparent 72%); mask-image: radial-gradient(40% 60% at 14% 34%, #000 0%, transparent 72%); }
.cl-faq__grid { display: grid; gap: 2rem; }
.cl-faq__head { display: grid; gap: 1rem; align-content: start; }
.cl-faq__head .t-d2 { max-width: 10ch; }
@media (min-width: 1024px) {
  .cl-faq__grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 4rem; align-items: start; }
  .cl-faq__head { position: sticky; top: calc(var(--header-h) + 2rem); }
}

/* ---------- Formulario ---------- */
.cl-form { overflow: clip; }
.cl-form .t-d2 { max-width: 14ch; }

@media (prefers-reduced-motion: reduce) {
  .motion-ready .cl-steps li { opacity: 1 !important; transform: none !important; }
}

/* Anillos de profundidad detrás de cada maqueta */
.cl-cap__visual::before { content: ""; position: absolute; left: 50%; top: 50%; width: 62%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 85, 255, .14), 0 0 0 2.4rem rgba(0, 85, 255, .035), 0 0 0 4.8rem rgba(0, 85, 255, .025); pointer-events: none; }

/* Comparativa: en celular arranca plegada (el resumen repite la pregunta del encabezado) */
.cl-cmp__fold > summary { display: none; }
@media (max-width: 639px) {
  .cl-cmp__fold > summary { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; list-style: none; cursor: pointer; }
  .cl-cmp__fold > summary::-webkit-details-marker { display: none; }
  .cl-cmp__q { font-family: var(--font-display); word-spacing: .07em; font-size: var(--fs-h3); font-weight: 600; line-height: 1.16; color: var(--ink); }
  .cl-cmp__more { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .55rem 1rem; border-radius: 14px; background: var(--electric-050); color: var(--electric-600); font-weight: 620; font-size: var(--fs-small); }
  .cl-cmp__more::after { content: ""; width: 8px; height: 8px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .3s var(--ease-out); }
  .cl-cmp__fold[open] .cl-cmp__more::after { margin-top: 3px; transform: rotate(225deg); }
  .cl-cmp__fold[open] > summary { margin-bottom: 1rem; }
  .cl-cmp__fold .cl-cmp__table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cl-cmp__fold:not([open]) .cl-cmp__opened, .cl-cmp__fold[open] .cl-inc__closed { display: none; }
  .cl-cmp__fold .cl-inc__opened { display: none; }
  .cl-cmp__fold[open] .cl-inc__opened { display: inline; }
}

/* Celular: lo técnico en 2 x 2 y la foto del nicho más baja */
@media (max-width: 759px) {
  .cl-tech__feats { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
  .cl-tech__feats li { grid-template-columns: minmax(0, 1fr); gap: .6rem; padding: 1.1rem 0; }
  .cl-tech__feats h3 { font-size: 1rem; }
  .cl-tech__feats p { font-size: var(--fs-xs); }
  .cl-niche__photo img { aspect-ratio: 2 / 1; }
}
