/* Fuentes alojadas en la página (media/fuentes/): los mismos .woff2 que servía Google Fonts. Licencia SIL OFL 1.1 (ver media/fuentes/). */
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("media/fuentes/cormorant-garamond-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("media/fuentes/cormorant-garamond-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("media/fuentes/cormorant-garamond-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("media/fuentes/manrope-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Umbral. La forma es la de en.lienjang.com, medida en MEDIDAS.md (±10 %); la identidad es de Umbral (LANDING.md, sección 3).
   Tamaños en px como la original, con un corte a 1080 px (escritorio / celular) y otro a 767 px para el carrusel. */

:root {
  --blanco: #ffffff;
  --gris: #eceeee;          /* gris agua: la clínica */
  --gris-menu: #f4f5f5;
  --tinte: #e7edec;         /* programas y banda de datos del pie */
  --tinta: #1b2021;
  --texto2: #5b6263;        /* bajadas y etiquetas */
  --casi-negro: #151a1b;
  --petroleo: #3f5d60;      /* donde Lienjang pone su dorado */
  --petroleo-claro: #c5d3d2;
  --petroleo-hondo: #34504f; /* hover del botón de color */
  --linea-osc: #626b6c;     /* bordes sobre el casi negro */
  --borde-campo: #8c9596;   /* campos del formulario: 3:1 sobre blanco */
  --error: #a3342b;
  --tx-res: #6c5f57;        /* espacio reservado: color propio, distinto del activo */
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --interletra: -1px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--blanco); color: var(--tinta); font: 400 16px/1.5 var(--sans); letter-spacing: -.01em; caret-color: var(--petroleo); }
::selection { background: var(--petroleo); color: var(--blanco); }
html { scrollbar-color: var(--petroleo) var(--gris); }
/* La original usa −1 px en todo (con Noto Sans KR). En Manrope eso aprieta el texto chico: queda −1 px solo en los títulos en serif,
   −0,01 em en el texto corrido y 0 en lo de 14 px o menos (enlaces, botones, etiquetas). */
.barra-enlace, .boton, .tarjeta-frase, .tarjeta-etiquetas span, .etiquetas > span, .pie-enlaces a { letter-spacing: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; letter-spacing: inherit; color: inherit; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.solo-lector { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html.js .sin-js, html:not(.js) .solo-js { display: none !important; }
:focus-visible { outline: 2px solid var(--petroleo); outline-offset: 3px; }
.saltar { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--blanco); border-radius: 999px; }
.saltar:focus { top: 16px; }

/* ===== Espacio reservado honesto (presets/espacio-reservado-honesto): color propio, rótulo y línea punteada ===== */
.pendiente { display: inline-block; white-space: nowrap; padding-top: 2px; border-top: 1px dashed currentColor; color: var(--tx-res); font-weight: 600; }
.marco { display: grid; place-content: center; gap: 8px; padding: 20px; border: 1px dashed var(--tx-res); color: var(--tx-res); text-align: center; font-size: 15px; font-weight: 600; letter-spacing: 0; }
.marco .rotulo { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.etiqueta-ejemplo { position: absolute; right: 12px; bottom: 12px; z-index: 3; padding: 4px 8px 3px; border-radius: 4px; background: var(--blanco); color: var(--tinta); font-size: 12px; line-height: 1.3; letter-spacing: 0; pointer-events: none; }
.etiqueta-ejemplo--arriba { top: 12px; bottom: auto; left: 12px; right: auto; }
.tarjeta-foto .etiqueta-ejemplo { top: 12px; bottom: auto; }
html.js .tarjeta:not(.activa) .etiqueta-ejemplo { display: none; }

/* ===== Botón píldora (168 × 52, borde de 1 px, 14 px / 500). La flecha se estira una vez con hover o foco ===== */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 168px; height: 52px; padding: 5px 26px; border: 1px solid var(--tinta); border-radius: 999px; background: transparent; color: var(--tinta); font-size: 14px; font-weight: 500; line-height: 1.5; text-decoration: none; cursor: pointer; }
.boton-flecha { position: relative; display: inline-block; width: 24px; height: 1px; background: currentColor; transition: width .4s ease; }
.boton-flecha::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; transform: rotate(35deg); transform-origin: right top; }
.boton:hover .boton-flecha, .boton:focus-visible .boton-flecha { width: 48px; }
.boton--color { background: var(--petroleo); border-color: var(--petroleo); color: var(--blanco); }
.boton:not(.boton--color):hover { background: rgba(63, 93, 96, .07); }
.boton--color:hover { background: var(--petroleo-hondo); border-color: var(--petroleo-hondo); }
.boton { transition: background-color .25s ease, border-color .25s ease; }
.boton-caja { margin-top: 50px; text-align: center; }

/* ===== 0. Barra: píldora flotante de 1280 × 66 a 40 px, logo centrado; al bajar, barra completa de 88 px con el logo a la izquierda ===== */
.barra { position: fixed; inset: 0 0 auto; z-index: 20; pointer-events: none; }
.barra-caja { position: relative; display: flex; align-items: center; justify-content: center; height: 66px; margin: 40px 80px 0; padding: 0 44px; background: var(--blanco); border-radius: 999px; pointer-events: auto;
  transition: margin .35s ease, height .35s ease, border-radius .35s ease, padding .35s ease, box-shadow .35s ease; }
.marca { font-family: var(--serif); font-size: 37px; font-weight: 600; line-height: 1; letter-spacing: .3em; padding-left: .3em; text-transform: uppercase; text-decoration: none; color: var(--tinta); }
.barra .marca { transition: transform .35s ease; }
.barra-der { position: absolute; right: 44px; top: 0; bottom: 0; display: flex; align-items: center; gap: 24px; }
.barra-enlace { font-size: 14px; text-decoration: none; color: var(--tinta); }
.barra-enlace:hover { text-decoration: underline; text-underline-offset: 4px; }
.barra-menu { display: grid; align-content: space-between; width: 44px; height: 44px; padding: 12px 9.5px; border: 0; background: none; cursor: pointer; }
.barra-menu span { display: block; height: 1.5px; background: var(--petroleo); }
.barra.asentada .barra-caja { margin: 0; height: 88px; border-radius: 0; padding: 0 50px; justify-content: flex-start; box-shadow: 0 1px 12px rgba(21, 26, 27, .08); }
.barra.asentada .barra-der { right: 50px; }
html:not(.js) .barra-caja { margin: 0; height: 88px; border-radius: 0; padding: 0 50px; justify-content: flex-start; }

/* ===== 1. Portada: alto ventana − 80, velo del 35 %, línea de 16 px (+0,08 em) y nombre de clamp(52, 6vw, 100) ===== */
.portada { position: relative; display: grid; place-items: center; height: calc(100vh - 80px); height: calc(100dvh - 80px); min-height: 520px; overflow: hidden; background: var(--casi-negro); color: var(--blanco); text-align: center; }
.portada-foto, .portada-foto img { position: absolute; inset: 0; width: 100%; height: 100%; }
.portada-foto img { object-fit: cover; }
.portada::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0, 0, 0, .35); }
.portada-texto { position: relative; z-index: 2; padding: 0 20px; }
.portada-linea { margin-bottom: 18px; font-size: 16px; line-height: 1.2; letter-spacing: .08em; color: rgba(255, 255, 255, .9); }
.portada-nombre { font-family: var(--serif); font-size: clamp(52px, 6vw, 100px); font-weight: 600; line-height: 1.1; letter-spacing: var(--interletra); text-shadow: 0 2px 28px rgba(21, 26, 27, .55); }
/* La sombra separa el nombre de la línea de luz del arco (el peor punto, a 1440, queda en 3,1:1 sin ella) */
html.vivo .portada-texto { animation: entra 1.4s ease-out both; }
@keyframes entra { from { opacity: 0; transform: translateY(12px); } }

/* ===== 2. Tu asesora personal: foto a sangre, 310 px de aire, bloque de 520 px pegado a x 20 ===== */
.asesora { position: relative; padding: 310px 0; overflow: hidden; background: var(--casi-negro); color: var(--blanco); }
.asesora-foto, .asesora-foto img { position: absolute; inset: 0; width: 100%; height: 100%; }
.asesora-foto img { object-fit: cover; object-position: 60% center; }
/* Como en la original, la izquierda se funde a oscuro: tapa la franja de cortina y deja el texto sobre la pared */
.asesora::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(21, 26, 27, .94) 0%, rgba(21, 26, 27, .9) 30%, rgba(21, 26, 27, .72) 44%, rgba(21, 26, 27, .3) 54%, rgba(21, 26, 27, 0) 64%); }
.asesora-caja { position: relative; z-index: 2; max-width: 1440px; margin: 0 auto; padding: 0 20px; }
.asesora-texto { max-width: 520px; }
.asesora h2 { font-family: var(--serif); font-size: 48px; font-weight: 700; line-height: 1.1; letter-spacing: var(--interletra); }
.asesora-desc { margin: 40px 0 60px; font-size: 18px; line-height: 27px; color: rgba(255, 255, 255, .8); }
.rasgos { display: flex; flex-direction: column; gap: 24px; }
.rasgos li { display: flex; align-items: center; gap: 16px; }
.rasgo-ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--linea-osc); border-radius: 50%; color: var(--petroleo-claro); }
.rasgos strong { display: block; font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1; }
.rasgos li > span:last-child > span { display: block; margin-top: 6px; font-size: 16px; line-height: 1.2; color: rgba(255, 255, 255, .78); }

/* ===== Cabezas de sección centradas: título serif 48 / 700 y bajada serif 24 ===== */
.cabeza { text-align: center; padding: 0 20px; }
.cabeza h2 { font-family: var(--serif); font-size: 48px; font-weight: 700; line-height: 58px; letter-spacing: var(--interletra); }
.bajada, .cabeza-etiqueta { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 34px; color: var(--texto2); }
.bajada { margin-top: 14px; }
.cabeza-etiqueta { margin-bottom: 14px; }

/* ===== Flechas visibles de los carruseles (no están en la original: accesibilidad) ===== */
.flecha { position: absolute; z-index: 20; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(27, 32, 33, .18); border-radius: 50%; background: var(--blanco); color: var(--petroleo); cursor: pointer; box-shadow: 0 2px 8px rgba(21, 26, 27, .12); }
.flecha--ant svg { transform: scaleX(-1); }
.flecha:hover { border-color: var(--petroleo); }

/* ===== 3. La clínica: gris agua, abanico con la foto del centro de 883 × 589 ===== */
.clinica { padding: 180px 0; overflow: hidden; background: var(--gris); }
.abanico { position: relative; height: 589px; margin-top: 64px; outline-offset: 8px; touch-action: pan-y; }
.abanico-pista { position: relative; height: 100%; }
.abanico-foto { position: absolute; left: 50%; top: 0; width: 883px; height: 589px; margin-left: -441.5px; overflow: hidden; border-radius: 24px; background: var(--petroleo-claro); }
.abanico-foto img { width: 100%; height: 100%; object-fit: cover; }
html.js .abanico-foto { opacity: .25; transition: transform .4s ease, opacity .4s ease; cursor: grab; }
html.js .abanico-foto.activa { opacity: 1; cursor: auto; }
html.js .abanico-foto:not(.activa) .etiqueta-ejemplo { display: none; }
html.js .abanico-foto.sin-transicion { transition: none; }
.abanico .flecha { top: calc(50% - 23px); }
.abanico .flecha--ant { left: max(12px, calc(50% - 441.5px - 70px)); }
.abanico .flecha--sig { right: max(12px, calc(50% - 441.5px - 70px)); }
/* Sin JS: las seis fotos en fila, con scroll horizontal nativo */
html:not(.js) .abanico { height: auto; }
html:not(.js) .abanico-pista { display: flex; gap: 20px; overflow-x: auto; padding: 0 20px; scroll-snap-type: x mandatory; }
html:not(.js) .abanico-foto { position: relative; left: 0; flex: none; margin: 0; scroll-snap-align: center; }

/* ===== 4. Programas: tinte, título a la izquierda (38 %), dos tarjetas de 303 × 400 ===== */
.programas { padding: 180px 0; background: var(--tinte); }
.programas-caja { display: flex; align-items: center; justify-content: space-between; gap: 80px; max-width: 1440px; margin: 0 auto; padding: 0 100px; }
.programas-titulo { width: 38%; }
.programas-titulo h2 { font-family: var(--serif); font-size: 48px; font-weight: 700; line-height: 1.15; letter-spacing: var(--interletra); }
.programas-titulo p { margin-top: 24px; font-size: 24px; line-height: 34px; color: var(--texto2); }
.programas-lista { display: flex; gap: 28px; }
.programa { position: relative; display: block; width: 303px; height: 400px; overflow: hidden; border: 2px solid transparent; border-radius: 20px; text-decoration: none; color: var(--blanco);
  background: linear-gradient(var(--petroleo), var(--petroleo)) padding-box, linear-gradient(135deg, var(--petroleo), #eef2f2, #8fa7a8) border-box; }
.programa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Velo de abajo: en la original no está (la foto es cálida y clara); acá hace falta para que el texto blanco pase AA */
.programa::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(21, 26, 27, .86) 0%, rgba(21, 26, 27, .76) 55%, rgba(21, 26, 27, .66) 70%, rgba(21, 26, 27, 0) 88%); }
.programa-texto { position: absolute; left: 24px; right: 24px; bottom: 28px; z-index: 2; text-align: center; }
.programa-nombre { display: block; font-size: 22px; font-weight: 700; line-height: 33px; }
.programa-desc { display: block; margin-top: 14px; font-size: 16px; line-height: 24px; color: rgba(255, 255, 255, .92); }
.etiquetas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.etiquetas > span { min-width: 86px; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .75); border-radius: 999px; font-size: 14px; line-height: 16.8px; }
.etiqueta-flecha { display: grid; place-items: center; }
.etiqueta-flecha svg { width: 14px; height: 14px; }
.programa:hover .etiqueta-flecha, .programa:focus-visible .etiqueta-flecha { background: rgba(255, 255, 255, .16); }

/* ===== 5. Tratamientos: 8 tarjetas de 280 × 360 (la del centro, 420) con paso de (ancho − 52) / 5 + 13 ===== */
.tratamientos { padding: 180px 0; overflow: hidden; }
.carrusel { --paso: calc((100vw - 52px) / 5 + 13px); position: relative; margin-top: 50px; outline-offset: 8px; touch-action: pan-y; }
.carrusel-pista { position: relative; height: 420px; }
.tarjeta { position: absolute; left: 50%; top: 0; width: 280px; margin-left: -140px; }
html.js .tarjeta { transition: transform .8s ease; }
html.js .tarjeta.sin-transicion { transition: none; }
.tarjeta-foto { position: relative; width: 280px; height: 360px; margin-top: 30px; overflow: hidden; border-radius: 16px; background: var(--casi-negro); transition: height .6s ease, margin-top .6s ease; }
.tarjeta.activa .tarjeta-foto { height: 420px; margin-top: 0; }
.tarjeta-foto img { width: 100%; height: 100%; object-fit: cover; }
.tarjeta-etiquetas { position: absolute; left: 20px; bottom: 20px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.tarjeta-etiquetas span { padding: 5px 8px; border-radius: 999px; background: rgba(21, 26, 27, .62); color: var(--blanco); font-size: 14px; font-weight: 500; line-height: 21px; }
.tarjeta-texto { position: absolute; left: 0; right: 0; top: 452px; text-align: center; }
html.js .tarjeta-texto { opacity: 0; transform: translateY(8px); visibility: hidden; transition: opacity .35s ease .1s, transform .35s ease .1s, visibility 0s linear .45s; }
html.js .tarjeta.activa .tarjeta-texto { opacity: 1; transform: none; visibility: visible; transition: opacity .35s ease .1s, transform .35s ease .1s, visibility 0s; }
.tarjeta-frase { font-size: 14px; font-weight: 600; line-height: 21px; color: var(--petroleo); }
.tarjeta h3 { font-size: 22px; font-weight: 500; line-height: 33px; color: var(--tinta); }
.tarjeta-texto > p:not(.tarjeta-frase) { margin-top: 12px; font-size: 16px; line-height: 24px; color: var(--tinta); }
.tarjeta-texto .boton { margin-top: 50px; }
.carrusel-pista { margin-bottom: 330px; }   /* lugar para el texto de la tarjeta del centro */
.carrusel .flecha { top: calc(210px - 23px); }
.carrusel .flecha--ant { left: max(8px, calc(50% - 140px - 70px)); }
.carrusel .flecha--sig { right: max(8px, calc(50% - 140px - 70px)); }
/* Sin JS: una fila con scroll horizontal nativo y todos los textos visibles */
html:not(.js) .carrusel-pista { display: flex; gap: 13px; height: auto; margin-bottom: 0; overflow-x: auto; padding: 0 20px; scroll-snap-type: x mandatory; }
html:not(.js) .tarjeta { position: relative; left: 0; flex: none; margin: 0; scroll-snap-align: center; }
html:not(.js) .tarjeta-texto { position: static; margin-top: 32px; }

/* ===== 6. Novedades: cuatro cuadrados de 370 × 370, separados 13 px ===== */
.novedades { padding: 180px 0; overflow: hidden; }
/* Tratamientos y Novedades comparten el fondo blanco: sin un cambio de color que las separe, los dos aires
   (180 + 180) se leían como un hueco. Entre las dos queda un solo aire, el que se ve entre las demás secciones. */
.tratamientos + .novedades { padding-top: 0; }
.novedades-lista { display: flex; justify-content: center; gap: 13px; margin-top: 64px; }   /* escritorio: quieta y centrada, se corta de los dos lados como la original */
.novedades-lista::-webkit-scrollbar { display: none; }
.portada .etiqueta-ejemplo { right: auto; left: 12px; }
.novedades-lista > li { flex: none; width: 370px; scroll-snap-align: center; }
.novedades-lista .marco { height: 370px; background: var(--blanco); }
.novedad-nombre { margin-top: 14px; font-size: 24px; font-weight: 500; line-height: 34px; }
.novedad-nombre .pendiente { font-size: 18px; }

/* ===== 7. Pie: banda de datos (tinte) y banda de color (petróleo) ===== */
.pie-datos { display: flex; justify-content: center; align-items: flex-start; gap: 50px; padding: 60px 20px; background: var(--tinte); }
.pie-marca { flex: none; width: 160px; align-self: center; font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--petroleo); }
.pie-contacto { flex: none; min-width: 168px; }
.pie-tel span { display: block; font-size: 26px; font-weight: 300; line-height: 31px; }
.pie-tel strong { display: inline-block; margin-top: 10px; font-size: 22px; font-weight: 700; }
.pie-horas { margin-top: 24px; font-size: 16px; line-height: 21px; }
.pie-horas dt { font-weight: 700; }
.pie-horas dd { margin-top: 4px; }
.cierre-boton { margin-top: 28px; }
.pie-mapa { flex: none; width: 550px; height: 200px; align-self: center; border-radius: 6px; background: var(--blanco); }
.pie-direccion { flex: 0 1 412px; }
.pie-nombre { font-size: 20px; font-weight: 500; line-height: 24px; color: var(--texto2); }
.pie-dato { margin-top: 12px; font-size: 20px; font-weight: 500; line-height: 28px; }
.nota-sinjs { flex-basis: 100%; }
.pie-banda { padding: 56px 20px 64px; background: var(--petroleo); color: var(--blanco); text-align: center; }
.pie-legal { font-size: 16px; font-weight: 500; line-height: 1.6; }
.pie-legal b { font-weight: 800; }
.pie-banda .aviso { margin-top: 10px; font-size: 16px; color: rgba(255, 255, 255, .88); }
.pie-enlaces { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 38px; margin-top: 36px; }
.pie-enlaces a { display: inline-block; padding: 4px 0; font-size: 14px; font-weight: 500; text-decoration: none; }
.pie-enlaces a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ===== Flotantes: columna fija a 60 px de la derecha y 110 de abajo, círculos de 46 px ===== */
.flotantes { position: fixed; right: 60px; bottom: 110px; z-index: 15; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.flotantes-lista { display: flex; flex-direction: column; gap: 12px; transition: opacity .35s ease, transform .35s ease, visibility 0s linear 0s; }
.flotantes.plegada .flotantes-lista { opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s; }
.flotante { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(27, 32, 33, .14); border-radius: 50%; background: var(--blanco); color: var(--petroleo); cursor: pointer; box-shadow: 0 2px 10px rgba(21, 26, 27, .14); }
.flotante svg { width: 22px; height: 22px; }
.flotante--plegar { background: var(--petroleo); border-color: rgba(255, 255, 255, .7); color: var(--blanco); }
.flotante--plegar .ico-abrir, .flotantes.plegada .flotante--plegar .ico-cerrar { display: none; }
.flotantes.plegada .flotante--plegar .ico-abrir { display: block; }

/* ===== Aviso de demo ===== */
dialog { border: 0; padding: 0; color: var(--tinta); }
dialog::backdrop { background: rgba(21, 26, 27, .55); }
.aviso-demo { width: min(92vw, 440px); padding: 32px; border-radius: 16px; background: var(--blanco); }
.aviso-demo h2 { font-family: var(--serif); font-size: 32px; font-weight: 700; line-height: 1.1; }
.aviso-demo p { margin: 14px 0 24px; line-height: 1.6; }
.nota-sinjs { margin: 0; padding: 16px; border: 1px dashed var(--tx-res); border-radius: 8px; color: var(--tinta); }
.nota-sinjs:target { outline: 2px solid var(--petroleo); }

/* ===== Menú a pantalla completa: columnas con título 20 / 800 e ítems 16 / 500 ===== */
.menu { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 40px 80px; background: var(--gris-menu); overflow-y: auto; }
.menu::backdrop { background: transparent; }
html.vivo .menu[open] { animation: menu-entra .35s ease both; }
@keyframes menu-entra { from { opacity: 0; transform: translateY(-12px); } }
.menu-cabeza { display: flex; align-items: center; justify-content: space-between; }
.menu-cabeza .marca { font-size: 35px; padding-left: 0; }
.menu-cerrar { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; background: none; color: var(--petroleo); cursor: pointer; }
.menu-cerrar svg { width: 32px; height: 32px; stroke-width: 1.2; }
.menu-columnas { display: flex; flex-wrap: wrap; gap: 40px 56px; margin-top: 60px; }
.menu-titulo { font-size: 20px; font-weight: 800; line-height: 20px; text-decoration: none; color: var(--tinta); }
.menu-columnas ul { display: grid; gap: 16px; margin-top: 36px; }
.menu-columnas li a { font-size: 16px; font-weight: 500; line-height: 21px; text-decoration: none; color: var(--texto2); }
.menu-columnas a:hover { color: var(--petroleo); text-decoration: underline; text-underline-offset: 4px; }
.menu-pie { display: none; }

/* ===== Consulta: panel anclado a la columna de flotantes (donde Lienjang tiene su chat) ===== */
.pc { position: fixed; inset: auto 122px 110px auto; width: 400px; max-width: calc(100vw - 32px); max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); margin: 0; overflow: hidden; border-radius: 16px; background: var(--blanco); box-shadow: 0 18px 50px rgba(21, 26, 27, .28); }
.pc[open] { display: flex; flex-direction: column; }
.pc::backdrop { background: rgba(21, 26, 27, .35); }
html.vivo .pc[open] { animation: pc-entra .35s ease both; }
html.vivo .pc.pc-cerrando { opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .3s ease; }
@keyframes pc-entra { from { opacity: 0; transform: translateY(12px); } }
.pc-cabeza { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 14px 24px; background: var(--petroleo); color: var(--blanco); }
.pc-cabeza h2 { font-family: var(--serif); font-size: 28px; font-weight: 700; line-height: 1.1; letter-spacing: 0; }
.pc-cerrar { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--blanco); cursor: pointer; }
.pc-cerrar:focus-visible { outline-color: var(--blanco); }
.pc-cuerpo { padding: 18px 24px 24px; overflow-y: auto; }
.pc-intro { font-size: 15px; line-height: 1.5; color: var(--texto2); }
.pc-form { display: grid; gap: 14px; margin-top: 16px; }
.pc-fila label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.opcional { font-weight: 400; color: var(--texto2); }
.pc-fila input, .pc-fila select { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--borde-campo); border-radius: 8px; background: var(--blanco); color: var(--tinta); font: 400 16px var(--sans); letter-spacing: 0; }
.pc-fila select { appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--blanco) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f5d60' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px 18px; }
.pc-fila input:hover, .pc-fila select:hover { border-color: var(--petroleo); }
.pc-fila input:focus-visible, .pc-fila select:focus-visible { outline-offset: 1px; }
[aria-invalid="true"] { border-color: var(--error) !important; }
.error { display: flex; gap: 6px; align-items: center; margin-top: 6px; color: var(--error); font-size: 14px; letter-spacing: 0; }
.error svg { flex: none; width: 16px; height: 16px; }
.pc-resumen:not(:empty) { padding: 12px; border: 1px solid var(--error); border-radius: 8px; color: var(--error); font-size: 14px; letter-spacing: 0; }
.pc-resumen p { display: flex; gap: 6px; align-items: center; font-weight: 600; }
.pc-resumen svg { width: 16px; height: 16px; }
.pc-resumen ul { margin-top: 6px; padding-left: 22px; list-style: disc; }
.casilla label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; letter-spacing: 0; cursor: pointer; }
.casilla input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--petroleo); }
.pc-enviar .boton { width: 100%; }
.pc-resultado:empty { display: none; }
.pc-resultado h3 { font-family: var(--serif); font-size: 26px; font-weight: 700; }
.pc-resultado p { margin-top: 10px; line-height: 1.55; }
.pc-resultado .boton { margin-top: 18px; }

/* =================================== Tablet y celular (como la original: un corte a 1080) =================================== */
@media (max-width: 1080px) {
  html { scroll-padding-top: 60px; }
  .barra { background: var(--blanco); }
  .barra-caja, .barra.asentada .barra-caja, html:not(.js) .barra-caja { margin: 0; height: 50px; padding: 0 16px; border-radius: 0; justify-content: center; box-shadow: none; }
  .marca { font-size: 24px; }
  .barra-enlace { display: none; }
  .barra-der, .barra.asentada .barra-der { right: 4px; }
  .portada { height: 100vh; height: 100svh; margin-top: 50px; }
  .portada-linea { margin-bottom: 12px; font-size: 13px; line-height: 1.6; }
  .portada-nombre { font-size: 42px; }

  .asesora { padding: 100px 0 250px; text-align: center; }
  .asesora-foto img { object-position: center bottom; }
  .asesora::before { background: linear-gradient(180deg, rgba(21, 26, 27, .97) 0%, rgba(21, 26, 27, .9) 52%, rgba(21, 26, 27, .35) 72%, rgba(21, 26, 27, 0) 86%); }
  .asesora-texto { max-width: 350px; margin: 0 auto; }
  .asesora h2 { font-size: 32px; }
  .asesora-desc { margin: 24px 0 40px; font-size: 16px; line-height: 24px; }
  .rasgos { width: fit-content; margin: 0 auto; text-align: left; }

  .clinica, .programas, .tratamientos, .novedades { padding: 100px 0; }
  .cabeza h2 { font-size: 32px; line-height: 48px; }
  .bajada, .cabeza-etiqueta { font-size: 15px; line-height: 27px; letter-spacing: 1px; }
  .bajada { margin-top: 14px; }
  .cabeza-etiqueta { margin-bottom: 12px; }
  .abanico { margin-top: 54px; }

  .programas-caja { flex-direction: column; gap: 40px; padding: 0 20px; }
  .programas-titulo { width: 100%; text-align: center; }
  .programas-titulo h2 { font-size: 32px; }
  .programas-titulo p { margin-top: 14px; font-size: 16px; line-height: 27px; }
  .programas-lista { flex-direction: column; gap: 10px; }
  .programa-nombre { font-size: 18px; line-height: 27px; }
  .programa-desc { font-size: 14px; line-height: 21px; }

  .carrusel { --paso: calc((100vw - 28px) / 3 + 14px); }
  .tarjeta h3 { font-size: 18px; line-height: 27px; }
  .tarjeta-texto > p:not(.tarjeta-frase) { font-size: 14px; line-height: 21px; }
  .carrusel-pista { margin-bottom: 300px; }

  .novedades-lista { justify-content: flex-start; padding: 0 calc(50% - 152px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .novedades-lista > li { width: 304px; }
  .novedades-lista .marco { height: 304px; }
  .novedad-nombre { font-size: 16px; line-height: 27px; }
  .novedad-nombre .pendiente { font-size: 15px; }

  .pie-datos { flex-direction: column; align-items: stretch; gap: 32px; padding: 80px 24px 60px; }
  .pie-mapa { order: -1; width: 100%; height: 200px; }
  .pie-marca { order: 3; align-self: flex-start; }
  .pie-direccion { order: 0; flex: none; }
  .pie-nombre { font-size: 28px; line-height: 33.6px; }
  .pie-dato { font-size: 18px; line-height: 1.4; }
  .pie-contacto { order: 1; }
  .pie-tel span { font-size: 18px; line-height: 21.6px; }
  .pie-tel strong { font-size: 26px; }
  .pie-horas { font-size: 18px; line-height: 23.4px; }
  .pie-banda { padding: 40px 24px 120px; }
  .pie-legal { font-size: 13px; }
  .pie-banda .aviso { font-size: 12px; }

  /* Medidos en la original a 390: círculos de unos 32 px, separados 16, a 20 px del borde */
  .flotantes { right: 20px; bottom: 40px; gap: 16px; }
  .flotantes-lista { gap: 16px; }
  .flotante { width: 32px; height: 32px; }
  .flotante svg { width: 17px; height: 17px; }
  .pc { inset: auto 12px 88px 12px; width: auto; max-width: none; max-height: calc(100svh - 150px); }

  .menu { padding: 0; background: var(--blanco); }
  .menu[open] { display: flex; flex-direction: column; }
  .menu-cabeza { padding: 4px 4px 0 20px; }
  .menu-cabeza .marca { font-size: 22px; }
  .menu-columnas { flex: 1; flex-direction: column; flex-wrap: nowrap; align-items: center; gap: 0; margin-top: 24px; }
  .menu-columnas ul { display: none; }
  .menu-titulo { display: block; padding: 14px 20px; font-size: 20px; font-weight: 700; line-height: 24px; text-align: center; }
  .menu-pie { display: flex; justify-content: center; align-items: center; height: 56px; background: var(--petroleo); color: var(--blanco); font-size: 15px; font-weight: 600; }
  .menu-pie .pendiente { color: var(--blanco); }
}
@media (max-width: 767px) {
  .carrusel { --paso: 292px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* Bloque reservado que explica la serie de marcos de Novedades (lo pide el preset de espacio reservado; no está en la original) */
.reservado { color: var(--tx-res); border-top: 1px dashed currentColor; padding-top: 12px; }
.reservado .rotulo { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.novedades-nota { width: min(520px, calc(100% - 40px)); margin: 24px auto 0; text-align: center; font-size: 15px; line-height: 1.5; letter-spacing: 0; }
.novedades-nota + .boton-caja { margin-top: 24px; }
