/* Dra. Karoll Rincón — portada como salonbeauty.cl, secciones mezcla de mimo (mascotas) y uabiertai.
   Azul noche + rosa como acento, una tipografía (Outfit). */
:root {
  --noche: #0a0b10;        /* fondo de la portada, igual al fondo del video */
  --navy: #0b1a33;
  --navy-2: #16305a;
  --azul: #2f5ea8;
  --cielo: #e8f1fb;        /* franjas celestes (uabiertai) */
  --cielo-2: #d4e5f7;
  --rosa: #c2457a;         /* botones (contraste AA con blanco) */
  --rosa-hover: #a8386a;
  --rosa-suave: #fbe8f0;
  --crema: #fdf7f2;
  --tinta: #0f1d36;
  --gris: #56627a;
  --linea: #e3e8f0;
  --wa: #15803d;
  --radio: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --f: 'Outfit', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body { font: 400 1.0625rem/1.6 var(--f); color: var(--tinta); background: #fff; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--rosa); outline-offset: 3px; border-radius: 8px; }
.contenedor { width: min(1180px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); color: var(--navy); }
h2 em { font-style: normal; color: var(--rosa); }
.antetitulo { font-size: .78rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--azul); margin-bottom: .8rem; }

/* Botones píldora */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: 0 1.6rem; border-radius: 999px; font-weight: 600; font-size: 1rem; border: 1px solid transparent; transition: transform .25s var(--ease), background .2s, border-color .2s, box-shadow .25s; }
.boton:hover { transform: translateY(-2px); }
.boton:active { transform: translateY(0) scale(.98); }
.boton i { font-size: 1.2em; }
.boton-rosa { background: var(--rosa); color: #fff; box-shadow: 0 10px 26px -10px rgb(194 69 122 / .7); }
.boton-rosa:hover { background: var(--rosa-hover); }
.boton-borde { border-color: rgb(255 255 255 / .35); color: #fff; }
.boton-borde:hover { border-color: #fff; background: rgb(255 255 255 / .08); }
.boton-navy { background: var(--navy); color: #fff; }
.boton-navy:hover { background: var(--navy-2); }
.boton-blanco { background: #fff; color: var(--navy); }
.boton-ancho { width: 100%; }

/* ================= Intro (salonbeauty) ================= */
.intro { position: fixed; inset: 0; z-index: 200; background: var(--noche); overflow: hidden; cursor: pointer; display: none; will-change: transform; }
.con-intro .intro { display: block; }
.intro-fondo { position: absolute; inset: 0; opacity: 0; animation: intro-aparece .9s ease-out .15s forwards; background: radial-gradient(110% 90% at 72% 40%, #13284d 0%, #0b1a33 45%, var(--noche) 85%); }
.intro-video { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.intro-fondo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 11 16 / .7) 0%, rgb(10 11 16 / .2) 50%, transparent 100%); }
.intro-marca { position: absolute; top: 50%; left: clamp(24px, 7vw, 140px); transform: translateY(-50%); display: flex; align-items: center; gap: clamp(14px, 1.8vw, 26px); color: #fff; opacity: 0; animation: intro-aparece .8s ease-out .6s forwards; }
.intro-mono { display: grid; place-items: center; width: clamp(64px, 7vw, 108px); aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .75); font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 2.4rem); letter-spacing: .06em; }
.intro-nombre { display: grid; font-weight: 400; font-size: clamp(1.4rem, 3.2vw, 3.2rem); letter-spacing: .16em; line-height: 1; white-space: nowrap; }
.intro-nombre small { font-size: .32em; letter-spacing: .5em; margin-top: .9em; color: #f3c3d6; }
.intro-saltar { position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(16px, 4vh, 40px); display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: 0 1.3rem; border-radius: 999px; border: 1px solid rgb(255 255 255 / .4); background: rgb(10 11 16 / .35); backdrop-filter: blur(8px); color: #fff; font-weight: 500; font-size: .92rem; cursor: pointer; opacity: 0; animation: intro-aparece .5s ease-out .4s forwards; }
.intro-saltar:hover { background: rgb(255 255 255 / .16); }
.intro.sale { transform: translateX(100%); transition: transform .8s var(--ease-io); pointer-events: none; }
@keyframes intro-aparece { to { opacity: 1; } }

/* ================= Barra superior ================= */
.barra { position: absolute; inset: 0 0 auto; z-index: 60; background: rgb(255 255 255 / .06); border-bottom: 1px solid rgb(255 255 255 / .08); color: #cfd7e6; font-size: .84rem; }
.barra-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.barra a, .barra span { display: inline-flex; align-items: center; gap: .4rem; }
.barra-firma { padding: .2rem .8rem; border-radius: 999px; background: #fff; color: var(--navy); font-size: .8rem; }

/* ================= Cabecera ================= */
.cab { position: absolute; top: 38px; left: 0; right: 0; z-index: 50; color: #fff; transition: background .3s, box-shadow .3s, transform .35s var(--ease); }
.cab.fija { position: fixed; top: 0; background: rgb(255 255 255 / .94); color: var(--navy); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 8px 30px -18px rgb(11 26 51 / .35); animation: cab-baja .45s var(--ease); }
@keyframes cab-baja { from { transform: translateY(-100%); } }
.cab-in { display: flex; align-items: center; gap: 20px; height: 82px; }
.cab.fija .cab-in { height: 70px; }
.marca { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.marca-mono { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid currentColor; font-weight: 400; font-size: 1rem; letter-spacing: .06em; flex: none; }
.marca-tx { display: grid; font-weight: 600; font-size: 1.12rem; line-height: 1.1; }
.marca-tx small { font-weight: 400; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; opacity: .75; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .16); background: rgb(255 255 255 / .06); backdrop-filter: blur(10px); }
.cab.fija .nav { border-color: var(--linea); background: #fff; }
.nav a { padding: .55rem .95rem; border-radius: 999px; font-size: .93rem; font-weight: 500; transition: background .2s, color .2s; }
.nav a:hover { background: rgb(255 255 255 / .12); }
.cab.fija .nav a:hover { background: var(--cielo); }
.nav i { font-size: 1.15rem; vertical-align: -3px; }
.nav .firma-menu { display: none; }
.cab-cta { min-height: 46px; padding: 0 1.3rem; font-size: .93rem; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; background: none; color: inherit; font-size: 1.4rem; cursor: pointer; place-items: center; }

/* ================= Portada (salonbeauty) ================= */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; background: var(--noche); color: #fff; overflow: hidden; isolation: isolate; }
.hero-chica { position: absolute; top: 0; right: 0; bottom: 0; width: min(64%, 1100px); z-index: -1; background: url(media/hero-poster.webp) center 30% / cover no-repeat; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0; transition: opacity 1s; }
.hero-video.suena { opacity: 1; }
.hero-chica::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--noche) 0%, rgb(10 11 16 / .55) 22%, transparent 48%), linear-gradient(0deg, var(--noche) 0%, transparent 28%); }
.hero-in { padding-top: 150px; flex: 1; display: flex; align-items: center; }
.hero-texto { max-width: 600px; }
.hero .antetitulo { color: #f3c3d6; }
.hero h1 { display: grid; gap: .6rem; margin-bottom: 1.2rem; }
.hero-marca { font-size: clamp(.95rem, 1.3vw, 1.15rem); font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: #cfd7e6; }
.hero-titulo { font-size: clamp(2.7rem, 5.6vw, 4.9rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.02; }
.hero-titulo em { font-style: normal; color: #f3a6c4; }
.hero-parrafo { color: #d3d9e6; font-size: 1.1rem; max-width: 34rem; margin-bottom: 1.8rem; }
.hero-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.4rem; }
.hero-datos { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-dato { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .95rem; border-radius: 999px; border: 1px solid rgb(255 255 255 / .14); background: rgb(255 255 255 / .05); font-size: .9rem; color: #e3e8f0; }
.hero-dato i { font-size: 1.1rem; color: #f3a6c4; }
a.hero-dato:hover { border-color: rgb(255 255 255 / .4); }
.hero-pie { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px; padding-block: 24px 32px; }
.hero-destacados { display: flex; gap: 14px; }
.hero-dest { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 46px 8px 8px; border-radius: 18px; background: #fff; color: var(--navy); min-width: 236px; transition: transform .3s var(--ease); }
.hero-dest:hover { transform: translateY(-4px); }
.hero-dest img { width: 60px; height: 72px; object-fit: cover; border-radius: 12px; }
.hero-dest span { display: grid; line-height: 1.2; }
.hero-dest small { font-size: .76rem; color: var(--gris); }
.hero-dest strong { font-size: 1rem; font-weight: 600; }
.hero-dest i { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--rosa); color: #fff; font-style: normal; font-size: .85rem; }
.hero-bajar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .3); color: #fff; font-size: 1.2rem; }
.hero-doc { justify-self: end; display: flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border-radius: 999px; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .18); backdrop-filter: blur(10px); }
.hero-doc img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 2px solid #fff; }
.hero-doc span { display: grid; line-height: 1.2; }
.hero-doc small { font-size: .76rem; color: #cfd7e6; }
.hero-doc strong { font-weight: 600; }

/* entrada de la portada */
.hero-texto > *, .hero-pie > * { opacity: 0; transform: translateY(24px); }
.listo .hero-texto > *, .listo .hero-pie > * { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.listo .hero-texto > :nth-child(2) { transition-delay: .08s; }
.listo .hero-texto > :nth-child(3) { transition-delay: .16s; }
.listo .hero-texto > :nth-child(4) { transition-delay: .24s; }
.listo .hero-texto > :nth-child(5) { transition-delay: .32s; }
.listo .hero-pie > * { transition-delay: .45s; }

/* ================= Accesos en círculo (mimo) ================= */
.accesos { padding-block: clamp(48px, 6vw, 80px) 0; }
.resultados { padding-block: clamp(48px, 6vw, 80px) clamp(24px, 3vw, 40px); }
.circulos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.circulos a { display: grid; justify-items: center; text-align: center; gap: 4px; }
.circulo { width: min(150px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid #fff; box-shadow: 0 14px 30px -16px rgb(11 26 51 / .45); margin-bottom: 10px; transition: transform .4s var(--ease); }
.circulo img { width: 100%; height: 100%; object-fit: cover; }
.c1 { background: #fde2ec; } .c2 { background: #e2edfb; } .c3 { background: #fdf0dc; } .c4 { background: #e4f4ee; } .c5 { background: #ece6fb; } .c6 { background: #fde2ec; }
.circulos a:hover .circulo { transform: translateY(-6px) rotate(-3deg); }
.circulos b { font-weight: 600; color: var(--navy); line-height: 1.2; }
.circulos small { font-size: .86rem; color: var(--gris); }
.intro-sec { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.intro-sec p { color: var(--gris); }

/* ================= Cintas diagonales (mimo) ================= */
.cintas { position: relative; height: 200px; overflow: hidden; }
.cinta { position: absolute; left: -5%; right: -5%; overflow: hidden; padding: 14px 0; }
.cinta-a { top: 58px; background: var(--rosa); color: #fff; transform: rotate(-3deg); z-index: 2; }
.cinta-b { top: 100px; background: var(--navy); color: #fff; transform: rotate(2deg); }
.cinta-pista { display: flex; align-items: center; gap: 24px; width: max-content; font-weight: 700; font-size: 1.3rem; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; animation: cinta 38s linear infinite; }
.cinta-b .cinta-pista { animation-direction: reverse; animation-duration: 44s; }
.cinta-pista i { font-size: 1.1rem; opacity: .85; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ================= Secciones ================= */
.sec { padding-block: clamp(56px, 7vw, 100px); }
.sec-cab { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 3.5vw, 48px); }
.sec-cab > p { max-width: 30rem; color: var(--gris); }
.sec-cab-centro { justify-content: center; text-align: center; }

/* Tratamientos: tarjetas con cabecera de color + lista + foto (uabiertai) */
.tratamientos { background: var(--crema); }
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.area { display: flex; flex-direction: column; border-radius: var(--radio); overflow: hidden; background: #fff; box-shadow: 0 18px 40px -28px rgb(11 26 51 / .45); }
.area header { display: flex; align-items: center; gap: 12px; padding: 18px 20px; }
.area header i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; font-size: 1.25rem; }
.area h3 { font-size: 1.2rem; }
.area-1 header { background: var(--navy); color: #fff; } .area-1 header i { color: var(--navy); }
.area-2 header { background: var(--rosa-suave); color: var(--rosa-hover); }
.area-3 header { background: var(--cielo); color: var(--navy); }
.area-4 header { background: #efe9fb; color: #5b3fa0; }
.area ul { padding: 18px 20px 20px; display: grid; gap: 8px; flex: 1; }
.area li { position: relative; padding-left: 16px; font-size: .97rem; color: #33405a; }
.area li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--rosa); }
.area-foto { position: relative; display: block; aspect-ratio: 4 / 3.4; overflow: hidden; }
.area-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.area:hover .area-foto img { transform: scale(1.06); }
.area-ir { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy); font-size: 1.15rem; box-shadow: 0 6px 16px rgb(0 0 0 / .18); transition: background .2s, color .2s; }
.area:hover .area-ir { background: var(--rosa); color: #fff; }

/* ¿Qué te preocupa? (mimo) */
.preocupa { background: var(--cielo); }
.preocupa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.preocupa-bajada { color: var(--gris); margin: .8rem 0 1.6rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips button { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: 0 1.15rem; border-radius: 999px; border: 1.5px solid transparent; background: #fff; color: var(--navy); font-weight: 600; font-size: .98rem; cursor: pointer; box-shadow: 0 6px 18px -12px rgb(11 26 51 / .4); transition: transform .2s var(--ease), border-color .2s, background .2s; }
.chips button i { color: var(--azul); font-size: 1.15rem; }
.chips button:hover { transform: translateY(-2px); }
.chips button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.chips button[aria-pressed="true"] i { color: #f3a6c4; }
.resultado { min-height: 340px; border-radius: var(--radio); background: #fff; box-shadow: 0 24px 50px -30px rgb(11 26 51 / .45); overflow: hidden; }
.resultado-vacio { height: 100%; min-height: 340px; display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--gris); font-weight: 500; }
.resultado-vacio i { font-size: 2.4rem; color: var(--cielo-2); }
.res-item { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px; border-bottom: 1px solid var(--linea); animation: res-entra .5s var(--ease); }
.res-item:last-of-type { border-bottom: 0; }
.res-item img { width: 120px; height: 120px; object-fit: cover; border-radius: 16px; }
.res-item b { display: block; font-size: 1.1rem; color: var(--navy); margin-bottom: 4px; }
.res-item p { font-size: .94rem; color: var(--gris); line-height: 1.45; }
.res-pie { padding: 16px; background: var(--rosa-suave); }
@keyframes res-entra { from { opacity: 0; transform: translateY(10px); } }

/* Plasma */
.plasma-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4.5vw, 64px); align-items: stretch; }
.plasma-foto { position: relative; min-height: 380px; }
.plasma-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 72%; border-radius: var(--radio); }
.plasma-sello { position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 600; font-size: .92rem; box-shadow: 0 10px 24px -12px rgb(0 0 0 / .4); }
.plasma-sello i { color: #d39b2a; }
.plasma-tx { align-self: center; }
.plasma-tx h2 { margin-bottom: 1rem; }
.plasma-tx > p { color: var(--gris); margin-bottom: 1.4rem; }
.beneficios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 1.8rem; }
.beneficios li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--cielo); font-size: .96rem; line-height: 1.35; color: var(--navy); }
.beneficios i { color: var(--rosa); font-size: 1.25rem; flex: none; }

/* La doctora: franja celeste con recorte (uabiertai) */
.doctora { background: linear-gradient(180deg, #fff 0, #fff 70px, var(--cielo) 70px); overflow: hidden; margin-top: clamp(16px, 3vw, 40px); }
.doctora-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: end; }
.doctora-tx { padding-block: 130px 72px; }
.doctora-tx h2 { margin-bottom: 1rem; }
.doctora-tx > p { color: #3b4864; max-width: 38rem; margin-bottom: 1.4rem; }
.doctora-datos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 1.6rem; }
.doctora-datos li { display: grid; gap: 6px; padding: 14px; border-radius: 16px; background: #fff; }
.doctora-datos i { font-size: 1.5rem; color: var(--rosa); }
.doctora-datos span { display: grid; font-size: .86rem; color: var(--gris); line-height: 1.35; }
.doctora-datos b { color: var(--navy); font-size: .96rem; }
.doctora-foto { width: 100%; max-width: 420px; justify-self: center; height: auto; }

/* Primera visita: bloque de color (mimo) */
.visita { background: var(--rosa); color: #fff; overflow: hidden; }
.visita-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4.5vw, 64px); align-items: stretch; padding-block: clamp(56px, 7vw, 96px); }
.visita-tx { align-self: center; }
.visita-foto { position: relative; min-height: 380px; }
.visita h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.visita-tx > p { margin: .8rem 0 1.6rem; color: #fde4ee; font-size: 1.08rem; }
.pasos { display: grid; gap: 10px; margin-bottom: 1.8rem; max-width: 520px; }
.pasos li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgb(255 255 255 / .16); }
.pasos li > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--rosa); font-weight: 700; flex: none; }
.pasos b { display: block; font-weight: 600; }
.pasos small { font-size: .9rem; color: #fde4ee; }
.visita-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; border-radius: 200px 200px var(--radio) var(--radio); border: 8px solid rgb(255 255 255 / .25); }

/* Certificaciones */
.logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1000px; margin-inline: auto; }
.logos li { display: grid; place-items: center; padding: 22px; min-height: 140px; border-radius: 18px; border: 1px solid var(--linea); background: #fff; transition: border-color .2s, transform .3s var(--ease); }
.logos li:hover { border-color: var(--azul); transform: translateY(-3px); }
.logos img { width: min(100%, 270px); height: 90px; object-fit: contain; }

/* Banda de foto */
.banda { position: relative; isolation: isolate; color: #fff; min-height: clamp(380px, 46vw, 560px); display: flex; align-items: flex-end; overflow: hidden; }
.banda-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; z-index: -2; }
.banda::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(11 26 51 / .85) 0%, rgb(11 26 51 / .4) 45%, transparent 70%); }
.banda-in { padding-block: 56px; }
.banda h2 { color: #fff; max-width: 14ch; }
.banda h2 em { color: #f3a6c4; }
.banda p { margin-top: .8rem; color: #dbe3f0; font-size: 1.1rem; }

/* Contacto: banda azul sobre foto con tarjeta blanca (uabiertai) */
.contacto { position: relative; isolation: isolate; color: #fff; padding-block: clamp(64px, 9vw, 120px); overflow: hidden; }
.contacto-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.contacto::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgb(11 26 51 / .84); }
.contacto-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.contacto h2 { color: #fff; }
.contacto h2 em { color: #f3a6c4; }
.contacto-tx p { margin-top: 1rem; color: #dbe3f0; font-size: 1.1rem; }
.contacto-tarjeta { display: grid; gap: 10px; padding: 22px; border-radius: var(--radio); background: #fff; color: var(--navy); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
.contacto-fila { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; border: 1px solid var(--linea); transition: border-color .2s; }
.contacto-fila:hover { border-color: var(--rosa); }
.contacto-fila > span:nth-child(2) { display: grid; flex: 1; line-height: 1.25; }
.contacto-fila small { color: var(--gris); font-size: .84rem; }
.ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-size: 1.4rem; color: #fff; flex: none; }
.ico-wa { background: var(--wa); }
.ico-ig { background: var(--rosa); }

/* Pie */
.pie { background: var(--cielo); color: var(--navy); }
.pie-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-block: 48px; }
.pie-cols > div + div { border-left: 1px solid var(--cielo-2); padding-left: 32px; }
.pie-txt { margin-top: 14px; color: var(--gris); font-size: .95rem; }
.pie h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; margin-bottom: 12px; }
.pie h3 i { color: var(--rosa); }
.pie-cols a:not(.marca) { display: block; padding: 4px 0; color: #3b4864; }
.pie-cols a:not(.marca):hover { color: var(--rosa); }
.pie-barra { background: var(--navy); color: #cfd7e6; font-size: .9rem; }
.pie-barra-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 16px; padding-right: 150px; }
.firma { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border-radius: 999px; background: linear-gradient(135deg, var(--rosa), #e07aa3); color: #fff; font-weight: 600; font-size: .86rem; }

/* Sello giratorio (mimo) y WhatsApp */
.sello { position: fixed; left: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: #fff; box-shadow: 0 10px 30px -10px rgb(11 26 51 / .45); }
.sello svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: gira 18s linear infinite; }
.sello text { font: 600 9.6px var(--f); letter-spacing: .14em; fill: var(--navy); }
.sello i { font-size: 1.6rem; color: var(--rosa); }
@keyframes gira { to { transform: rotate(360deg); } }
.wa-flot { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; font-size: 1.9rem; box-shadow: 0 10px 26px -8px rgb(0 0 0 / .4); transition: transform .25s var(--ease); }
.wa-flot:hover { transform: scale(1.07); }

/* Aparición al hacer scroll */
.js .rev { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rev.visto { opacity: 1; transform: none; }

/* ================= Tablet / móvil ================= */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: stretch; gap: 4px; padding: 100px 24px 32px; border: 0; border-radius: 0; background: var(--navy); color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .cab.fija .nav { background: var(--navy); border: 0; }
  .nav.abierto { opacity: 1; visibility: visible; }
  .nav a { font-size: 1.3rem; padding: .9rem 1rem; }
  .cab.fija .nav a:hover { background: rgb(255 255 255 / .1); }
  .nav .firma-menu { display: inline-flex; justify-content: center; margin-top: 1rem; font-size: .95rem; }
  .menu-btn { display: grid; }
  .menu-abierto .cab { color: #fff; }
  .cab-cta { display: none; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .circulos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-pie { grid-template-columns: 1fr auto; }
  .hero-bajar { display: none; }
}
@media (max-width: 860px) {
  .barra .barra-centro { display: none; }
  .barra a { white-space: nowrap; }
  .sello { display: none !important; }
  .hero-chica { width: 100%; bottom: auto; height: 62svh; background-image: url(media/hero-movil-poster.webp); background-position: 55% 25%; }
  .hero-video { object-position: 55% 25%; }
  .hero-chica::after { background: linear-gradient(0deg, var(--noche) 0%, rgb(10 11 16 / .35) 38%, transparent 70%); }
  .hero-in { padding-top: 46svh; align-items: flex-end; }
  .hero-titulo { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .hero-parrafo { font-size: 1rem; }
  .hero-acciones .boton { flex: 1 1 auto; }
  .hero-pie { grid-template-columns: 1fr; padding-bottom: 96px; }
  .hero-destacados { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero-dest { min-width: 0; flex-direction: column; align-items: flex-start; padding: 8px 8px 12px; }
  .hero-dest img { width: 100%; height: 90px; }
  .hero-dest i { top: 14px; right: 14px; bottom: auto; }
  .hero-dest strong { font-size: .92rem; }
  .hero-doc { justify-self: start; }
  .intro-sec, .preocupa-grid, .plasma-grid, .doctora-in, .visita-in, .contacto-in { grid-template-columns: 1fr; }
  .circulos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; }
  .circulo { border-width: 4px; }
  .circulos b { font-size: .9rem; }
  .circulos small { font-size: .78rem; }
  .cintas { height: 140px; }
  .cinta-a { top: 36px; }
  .cinta-b { top: 68px; }
  .cinta-pista { font-size: 1rem; }
  .areas { gap: 10px; }
  .area header { padding: 12px; gap: 8px; }
  .area header i { width: 32px; height: 32px; font-size: 1rem; }
  .area h3 { font-size: 1rem; }
  .area ul { padding: 12px; gap: 6px; }
  .area li { font-size: .85rem; padding-left: 12px; }
  .area li::before { width: 5px; height: 5px; }
  .area-ir { width: 36px; height: 36px; right: 10px; bottom: 10px; }
  .chips button { min-height: 44px; font-size: .9rem; padding: 0 .95rem; }
  .res-item { grid-template-columns: 88px 1fr; gap: 12px; }
  .res-item img { width: 88px; height: 88px; }
  .beneficios { grid-template-columns: 1fr 1fr; gap: 8px; }
  .beneficios li { font-size: .86rem; padding: 10px; }
  .plasma-foto { min-height: 0; aspect-ratio: 4 / 3; }
  .resultado, .resultado-vacio { min-height: 180px; }
  .visita-foto { min-height: 0; aspect-ratio: 4 / 3; }
  .visita-foto img { border-radius: var(--radio); }
  .doctora-foto { max-width: 250px !important; }
  .doctora-tx { padding-block: 100px 8px; }
  .doctora-datos { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .doctora-datos li { padding: 10px; }
  .doctora-datos span { font-size: .78rem; }
  .doctora-datos b { font-size: .86rem; }
  .doctora-foto { max-width: 300px; }
  .visita-foto { max-width: 420px; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .logos li { min-height: 110px; padding: 14px; }
  .logos img { height: 64px; }
  .banda { min-height: 420px; }
  .banda-foto { object-position: 78% center; }
  .banda::after { background: linear-gradient(0deg, rgb(11 26 51 / .9) 0%, rgb(11 26 51 / .3) 60%, transparent 100%); }
  .pie-cols { grid-template-columns: 1fr; gap: 20px; }
  .pie-cols > div + div { border-left: 0; padding-left: 0; border-top: 1px solid var(--cielo-2); padding-top: 20px; }
  .pie-barra-in { padding-right: 0; padding-bottom: 96px; justify-content: center; text-align: center; }
  .sello { width: 74px; height: 74px; }
  .sello text { font-size: 9.6px; }
  .intro-fondo { bottom: auto; height: 70%; }
  .intro-video { object-position: 50% 30%; }
  .intro-fondo::after { background: linear-gradient(180deg, transparent 55%, var(--noche) 100%); }
  .intro-marca { top: auto; bottom: 10%; left: 50%; transform: translateX(-50%); flex-direction: column; text-align: center; }
  .intro-nombre { font-size: clamp(1.25rem, 6.4vw, 1.8rem); letter-spacing: .12em; }
  .intro-saltar { top: 16px; bottom: auto; right: 16px; }
}
@media (max-width: 420px) {
  .circulos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .barra { font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
