:root {
    --blue: #1498c4;
    --blue-2: #0c6f96;
    --ink: #07141c;
    --muted: #444444;
    --line: #dcdcdc;
    --sand: #f6f6f6;
    --paper: #ffffff;
    --ancho: 1180px;
    --fuente: "Mona Sans", "Segoe UI", sans-serif;
    --cursiva: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--fuente);
    font-size: 16px;
    line-height: 1.65;
}
img { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { font-weight: 650; letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 0.7rem; }
h1 em, h2 em { font-family: var(--cursiva); font-style: italic; font-weight: 500; color: #7ec8e3; letter-spacing: -0.03em; }
.seccion h2 em, .seccion--arena h2 em { color: #1490b8; }
h1 { font-size: clamp(2.7rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 650; }
h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
p { margin: 0 0 0.85rem; }
.container { width: min(var(--ancho), calc(100% - 2.5rem)); margin: 0 auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: #fff; padding: 0.5rem 0.8rem; z-index: 30; }
.skip-link:focus { top: 1rem; }
.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--blue);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.75rem;
}
.lead { font-size: 1.12rem; max-width: 40rem; color: rgba(255,255,255,0.88); }

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--blue); color: #fff; text-decoration: none; border: 0; border-radius: 999px;
    padding: 0.95rem 1.45rem; font: 700 0.98rem/1 var(--fuente); cursor: pointer;
}
.btn:hover { background: var(--blue-2); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--claro { background: #fff; color: var(--blue); }
.btn--claro:hover { background: var(--sand); color: var(--blue-2); }
.btn--small { padding: 0.72rem 1.05rem; }

.site-header {
    position: sticky; top: 0; z-index: 30;
    background: #011018;
    color: #fff;
}
body.home .site-header {
    position: absolute;
    left: 0; right: 0; top: 0;
    background: linear-gradient(180deg, rgba(7, 16, 24, 0.55), rgba(7, 16, 24, 0));
    border-radius: 0;
}
body.home .menu-pills {
    background: rgba(7, 18, 28, 0.42);
    border-radius: 0.9rem;
    padding: 0.28rem;
    backdrop-filter: blur(8px);
}
body.home .site-header.is-fijo {
    position: fixed;
    background: #07141c;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    animation: baja-menu 0.45s ease;
}
body.home .site-header.is-fijo .menu-pills {
    background: transparent;
    padding: 0;
    backdrop-filter: none;
}
@keyframes baja-menu {
    from { transform: translateY(-100%); }
    to { transform: none; }
}
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 5.6rem; gap: 1rem; }
.logo { display: flex; align-items: center; color: #fff; text-decoration: none; flex: 0 0 auto; }
.logo img { height: 74px; width: auto; display: block; }
.carga {
    position: fixed; inset: 0; z-index: 80; background: #f3f6f8;
    display: grid; place-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.carga img { width: min(240px, 70vw); height: auto; animation: pulso 1.3s ease-in-out infinite; }
.carga.is-done { opacity: 0; visibility: hidden; }
@keyframes pulso {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.04); opacity: 0.82; }
}
.nav { display: flex; align-items: center; gap: 0.7rem; }
.menu-pills { display: flex; gap: 0.2rem; list-style: none; margin: 0; padding: 0; }
.menu-pills > li { position: relative; }
.menu-pills > li > a {
    display: inline-flex; align-items: center; gap: 0.35rem;
    color: #fff; text-decoration: none; font-weight: 800; font-size: 0.78rem;
    letter-spacing: 0.06em; text-transform: uppercase;
    padding: 0.72rem 0.85rem; border-radius: 0.7rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.menu-pills > li.has-sub > a::after {
    content: ""; width: 0.4rem; height: 0.4rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: translateY(-1px) rotate(45deg);
}
.menu-pills > li.is-current > a,
.menu-pills > li > a:hover,
.menu-pills > li:focus-within > a { background: #fff; color: #011018; }
.sub {
    position: absolute; top: calc(100% + 0.7rem); left: 0; min-width: 240px;
    background: #fff; color: var(--ink); border-radius: 1rem; padding: 0.45rem;
    box-shadow: 0 18px 40px rgba(1,16,24,0.16);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 5;
}
.menu-pills > li:hover > .sub,
.menu-pills > li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; color: var(--ink); text-decoration: none; font-weight: 700; padding: 0.55rem 0.75rem; border-radius: 0.6rem; }
.sub a:hover { background: #f3f7fb; color: var(--blue); }
.header-book { display: flex; align-items: center; gap: 0.55rem; color: #fff; text-decoration: none; margin-left: 0.4rem; }
.header-book small { display: block; font-size: 0.68rem; letter-spacing: 0.04em; color: rgba(255,255,255,0.7); }
.header-book strong { font-size: 0.95rem; letter-spacing: -0.02em; }
.header-book__icon {
    position: relative; width: 2.4rem; height: 2.4rem; border-radius: 50%;
    display: grid; place-items: center; flex: 0 0 auto;
}
.header-book__icon svg { position: relative; z-index: 1; width: 1.05rem; height: 1.05rem; fill: #fff; }
.onda {
    position: absolute; inset: 0; border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.75);
    animation: onda 1.5s ease-out infinite;
}
.onda--2 { animation-delay: 0.55s; }
@keyframes onda {
    0% { transform: scale(0.7); opacity: 0.85; }
    100% { transform: scale(1.7); opacity: 0; }
}
.btn.btn-arrow {
    border-radius: 0.7rem;
    padding: 0.38rem 0.38rem 0.38rem 1.15rem;
    gap: 0.85rem;
    overflow: hidden;
}
.btn-arrow__texto {
    display: grid;
    height: 1.15em;
    overflow: hidden;
    line-height: 1.15;
}
.btn-arrow__texto span,
.btn-arrow__texto::after {
    display: block;
    transition: transform 0.45s cubic-bezier(.2, .7, .2, 1);
}
.btn-arrow__texto::after { content: attr(data-texto); }
.btn-arrow:hover .btn-arrow__texto span,
.btn-arrow:hover .btn-arrow__texto::after { transform: translateY(-100%); }
.btn-arrow > span[aria-hidden] {
    width: 2.35rem; height: 2.35rem; border-radius: 0.5rem;
    background: #fff; color: #111;
    display: grid; place-items: center; font-size: 1rem; flex: 0 0 auto;
    transition: background 0.35s ease, color 0.35s ease;
}
.btn-arrow:hover > span[aria-hidden] { background: #111; color: #fff; }
.abre-panel {
    width: 2.7rem; height: 2.7rem; margin-left: 0.35rem;
    border: 1px solid rgba(255,255,255,0.45); border-radius: 0.7rem;
    background: transparent; color: #fff; cursor: pointer;
    display: grid; place-items: center;
    transition: background 0.3s ease, border-radius 0.3s ease, border-color 0.3s ease;
}
.abre-panel svg { width: 1rem; height: 1rem; fill: currentColor; }
.abre-panel:hover, .abre-panel[aria-expanded="true"] {
    background: var(--blue); border-color: var(--blue); border-radius: 50%;
}
.velo { position: fixed; inset: 0; z-index: 40; background: rgba(7, 20, 28, 0.35); }
.panel-clinica {
    position: fixed; z-index: 45; top: 0; right: 0; bottom: 0;
    width: min(380px, 92vw); background: #07141c; color: #fff;
    padding: 4.5rem 1.6rem 2rem; overflow: auto;
    animation: entra-panel 0.4s ease;
}
.panel-clinica img { height: 110px; width: auto; display: block; margin-bottom: 0.8rem; }
.panel-clinica p, .panel-clinica a { color: rgba(255,255,255,0.88); }
.panel-clinica h2 { font-size: 1.6rem; margin: 1.2rem 0 0.8rem; }
.panel-clinica ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.panel-clinica li { display: flex; gap: 0.75rem; align-items: flex-start; }
.panel-clinica li > span {
    width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--blue); color: #fff;
    display: grid; place-items: center; flex: 0 0 auto; font-weight: 700;
}
.panel-cerrar {
    position: absolute; top: 1.1rem; right: 1.1rem;
    width: 2.6rem; height: 2.6rem; border-radius: 0.55rem;
    border: 1px solid rgba(255,255,255,0.45); background: transparent; color: #fff;
    font-size: 1.4rem; line-height: 1; cursor: pointer;
    transition: background 0.3s ease, border-radius 0.3s ease;
}
.panel-cerrar:hover { background: var(--blue); border-color: var(--blue); border-radius: 50%; }
@keyframes entra-panel { from { transform: translateX(100%); } to { transform: none; } }
.nav-toggle {
    display: none; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: #fff;
    border-radius: 999px; padding: 0.45rem 0.85rem; font: 700 0.95rem/1 var(--fuente);
}

.hero { position: relative; min-height: 100vh; background: #071820; overflow: hidden; }
.hero-slide {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    opacity: 0; z-index: 0;
    transition: opacity 1.5s ease;
    pointer-events: none;
}
.hero-foto {
    position: absolute; inset: -4%;
    background-size: cover; background-position: center;
    will-change: transform;
    transform: scale(1) translate(0, 0);
}
.hero-slide::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}
.hero-slide.is-active { opacity: 1; z-index: 1; pointer-events: auto; }
.hero-slide.is-sale { opacity: 0; z-index: 2; }
.hero-slide.is-active.dir-1 .hero-foto { animation: ken1 6s ease-out forwards; }
.hero-slide.is-active.dir-2 .hero-foto { animation: ken2 6s ease-out forwards; }
.hero-slide.is-active.dir-3 .hero-foto { animation: ken3 6s ease-out forwards; }
.hero-slide.is-sale.dir-1 .hero-foto { transform: scale(1.15) translate(2%, -2%); }
.hero-slide.is-sale.dir-2 .hero-foto { transform: scale(1.05) translate(-3%, 0); }
.hero-slide.is-sale.dir-3 .hero-foto { transform: scale(1.12) translate(3%, -3%); }
@keyframes ken1 {
    from { transform: scale(1) translate(0, 0); }
    to { transform: scale(1.15) translate(2%, -2%); }
}
@keyframes ken2 {
    from { transform: scale(1.15) translate(0, 0); }
    to { transform: scale(1.05) translate(-3%, 0); }
}
@keyframes ken3 {
    from { transform: scale(1) translate(-2%, 3%); }
    to { transform: scale(1.12) translate(3%, -3%); }
}
.hero__content { position: relative; z-index: 2; padding: 7.5rem 0 4rem; color: #fff; max-width: 760px; }
.hero h1 { font-size: clamp(3.2rem, 6.4vw, 5.6rem); font-weight: 650; letter-spacing: -0.045em; }
.hero__sello {
    display: inline-flex; align-items: center; gap: 0.55rem;
    margin: 0 0 0.8rem; padding: 0.28rem 0.7rem 0.28rem 0.28rem;
    border: 1px solid rgba(255,255,255,0.35); border-radius: 999px;
    font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
}
.hero__sello span { background: var(--blue); color: #fff; border-radius: 999px; padding: 0.28rem 0.55rem; }
.hero .lead { color: rgba(255,255,255,0.9); font-size: 1.05rem; max-width: 34rem; }
.hero-slide.is-active .hero__content > * { animation: hero-sube 0.9s cubic-bezier(.2,.7,.2,1) both; }
.hero-slide.is-active .hero__content > *:nth-child(2) { animation-delay: 0.16s; }
.hero-slide.is-active .hero__content > *:nth-child(3) { animation-delay: 0.32s; }
@keyframes hero-sube {
    from { opacity: 0; transform: translateY(36px); }
    to { opacity: 1; transform: none; }
}
.hero__dots { position: absolute; z-index: 2; left: 50%; bottom: 1.4rem; transform: translateX(-50%); display: flex; gap: 0.45rem; }
.hero__dots span { width: 2.2rem; height: 0.28rem; background: rgba(255,255,255,0.35); border-radius: 99px; transition: background 0.3s ease; }
.hero__dots span.is-active { background: #fff; }
.to-top {
    position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 25;
    width: 3rem; height: 3rem; border: 0; border-radius: 0.7rem;
    background: var(--blue); color: #fff; font-size: 1.2rem; cursor: pointer;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.cinta { overflow: hidden; background: #fff; padding: 0.4rem 0 0.2rem; }
.cinta__pista { display: flex; gap: 2.5rem; width: max-content; animation: cinta 28s linear infinite; }
.cinta span {
    font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 750; letter-spacing: -0.05em;
    text-transform: uppercase; color: var(--ink); line-height: 1;
}
@keyframes cinta { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.features { margin-top: 0; position: relative; z-index: 3; padding-top: 2.2rem; }
.features__grid, .rejilla, .cuidados, .hours__grid { display: grid; gap: 1rem; }
.features__grid { grid-template-columns: repeat(3, 1fr); }
.feature, .opinion, .tarifa, .entrada, .persona {
    background: #fff; border: 1px solid var(--line); border-radius: 1.4rem; padding: 1.5rem 1.35rem 1.3rem;
    box-shadow: 0 18px 40px rgba(1, 16, 24, 0.06);
}
.feature span { display: block; color: var(--blue); font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; }
.feature p, .entrada p, .persona p, .opinion p { color: var(--muted); }

.hours { background: var(--ink); color: #fff; margin-top: 2.5rem; }
.hours__grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; align-items: center; padding: 1.35rem 0; }
.hours p { margin: 0; }
.hours__label { font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.78rem; color: #8ecdf3; }

.seccion { padding: 5.2rem 0; }
.seccion--arena { background: var(--sand); }
.seccion__cabecera { max-width: 40rem; margin-bottom: 1.8rem; }
.seccion__cabecera p:last-child { color: var(--muted); }
.acerca { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
.acerca__foto { min-height: 460px; border-radius: 1.6rem; background-size: cover; background-position: center; }
.acerca__cifra { font-size: 4.5rem; font-weight: 800; letter-spacing: -0.05em; color: var(--blue); line-height: 0.9; margin: 0 0 0.4rem; }
.rejilla { grid-template-columns: repeat(3, 1fr); }
.servicios-foto { grid-template-columns: repeat(3, 1fr); }
.servicio-card { color: inherit; text-decoration: none; background: #fff; border-radius: 1.4rem; overflow: hidden; border: 1px solid var(--line); display: block; }
.servicio-card:hover { border-color: var(--blue); }
.servicio-card__foto { display: block; height: 210px; background-size: cover; background-position: center; }
.servicio-card__cuerpo { display: block; padding: 1.15rem 1.15rem 1.3rem; }
.servicio-card p { color: var(--muted); }
.banda { background: var(--blue); color: #fff; }
.banda__inner { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; padding: 3.2rem 0; }
.banda h2, .banda p { margin: 0; }
.banda p { margin-top: 0.45rem; color: rgba(255,255,255,0.88); }
.cuidados { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cuidados__marca { display: block; width: 2.6rem; height: 2.6rem; border-radius: 0.7rem; background: var(--blue); margin-bottom: 0.8rem; }
.equipo-foto { grid-template-columns: repeat(4, 1fr); }
.doctor h3 { margin-bottom: 0.15rem; }
.doctor > p { color: var(--blue); font-weight: 750; margin: 0; }
.doctor > p + p { color: var(--muted); font-weight: 500; margin-top: 0.45rem; }
.doctor__foto { display: block; height: 280px; border-radius: 1.2rem; background-size: cover; background-position: center top; margin-bottom: 0.8rem; }
.opinion { margin: 0; }
.opinion footer { display: flex; flex-direction: column; color: var(--muted); }
.tarifa { display: flex; flex-direction: column; border-radius: 1.5rem; }
.tarifa ul { padding-left: 1.1rem; color: var(--muted); flex: 1; }
.tarifa__precio span { font-size: 3.2rem; font-weight: 800; letter-spacing: -0.04em; }
.tarifa--destacada { background: var(--blue); color: #fff; border-color: var(--blue); }
.tarifa--destacada ul, .tarifa--destacada .tarifa__precio { color: #fff; }
.entrada__fecha { color: var(--muted); font-size: 0.9rem; }
.entrada h3 a, .entrada h2 a { color: inherit; text-decoration: none; }
.enlace { font-weight: 800; text-decoration: none; }
.seccion--cierre { background: var(--sand); }
.cierre { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2rem; align-items: start; }
.page-hero { padding: 4.5rem 0 2rem; background: var(--ink); color: #fff; }
.page-hero .lead { color: rgba(255,255,255,0.8); }
.page-hero .eyebrow { color: #8ecdf3; }
.prose { max-width: 46rem; }
.prose--nota { margin-top: 1.4rem; color: var(--muted); }
.lista-servicios { display: grid; gap: 1.2rem; }
.servicio { display: grid; grid-template-columns: 220px 1fr; gap: 1.2rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 1.3rem; overflow: hidden; }
.servicio__foto { min-height: 160px; background-size: cover; background-position: center; }
.servicio > div { padding: 1rem 1.2rem 1.1rem 0; }
.persona--ancha { display: grid; grid-template-columns: 140px 1fr; gap: 1rem; align-items: center; }
.persona__foto { height: 160px; border-radius: 1rem; background-size: cover; background-position: center top; }
.cargo { color: var(--blue); font-weight: 800; }
.formulario { background: #fff; border-radius: 1.4rem; padding: 1.3rem; border: 1px solid var(--line); }
.formulario__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.formulario label, .check { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 700; margin-bottom: 0.8rem; }
.check { flex-direction: row; align-items: flex-start; font-weight: 500; }
.formulario input, .formulario select, .formulario textarea {
    width: 100%; border: 1px solid var(--line); border-radius: 0.8rem; padding: 0.75rem 0.8rem;
    font: 500 1rem/1.4 var(--fuente); color: var(--ink); background: #fff;
}
.hp { position: absolute; left: -9999px; }
.aviso { padding: 0.75rem 0.85rem; border-radius: 0.8rem; }
.aviso--ok { background: #e7f6ee; color: #0d5c38; }
.aviso--error { background: #fdecea; color: #8a2a1d; }
.paginacion { margin-top: 1.5rem; }
.paginacion .nav-links { display: flex; gap: 0.8rem; }
.site-footer { background: var(--ink); color: #d5e2ea; padding: 3rem 0 5.5rem; border-radius: 2rem 2rem 0 0; }
.site-footer a { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: 1.5rem; }
.footer__logo { height: 96px; width: auto; display: block; margin-bottom: 0.6rem; }
.site-footer h2 { color: #fff; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu a { text-decoration: none; }
.footer__base { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 1.4rem; padding-top: 1rem; }
.mobile-cta { display: none; }
.entrada--lista { margin-bottom: 1rem; }
.icono { display: none; }

@media (max-width: 980px) {
    .features__grid, .acerca, .rejilla, .servicios-foto, .equipo-foto, .cuidados, .footer__grid, .cierre, .formulario__grid, .hours__grid {
        grid-template-columns: 1fr 1fr;
    }
    .hours__grid { grid-template-columns: 1fr 1fr; }
    .banda__inner { flex-direction: column; align-items: flex-start; }
    .servicio { grid-template-columns: 1fr; }
    .servicio > div { padding: 1rem 1.1rem 1.2rem; }
}
@media (max-width: 760px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: #011018; padding: 0.8rem 1.2rem 1.1rem; flex-direction: column; align-items: stretch;
    }
    .nav.is-open { display: flex; }
    .menu-pills { flex-direction: column; }
    .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 0.4rem 0.6rem; }
    .sub a { color: #fff; }
    .header-book { margin: 0.4rem 0; }
    body.home .site-header,
    body.home .site-header.is-fijo { position: sticky; background: #07141c; animation: none; }
    body.home .menu-pills { background: transparent; padding: 0; backdrop-filter: none; }
    .header__inner { position: relative; }
    .hero { min-height: 78vh; }
    .hero__content { padding: 6rem 0 5rem; }
    .features { margin-top: 0; padding-top: 1.4rem; }
    .to-top { bottom: 4.6rem; }
    .features__grid, .acerca, .rejilla, .servicios-foto, .equipo-foto, .cuidados, .footer__grid, .cierre, .formulario__grid, .hours__grid, .persona--ancha {
        grid-template-columns: 1fr;
    }
    .mobile-cta {
        display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
        background: #fff; border-top: 1px solid var(--line);
    }
    .mobile-cta a { text-align: center; padding: 0.95rem; text-decoration: none; font-weight: 800; color: var(--ink); }
    .mobile-cta a:last-child { background: var(--blue); color: #fff; }
    body { padding-bottom: 3.4rem; }
    .logo img { height: 58px; }
}
.blog-banner {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
    background: #07141c 70% 68% / cover no-repeat;
    color: #fff;
}
.blog-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 20, 28, 0.78) 0%, rgba(7, 20, 28, 0.22) 46%, rgba(7, 20, 28, 0.05) 100%);
}
.blog-banner .container { position: relative; z-index: 1; padding: 5.2rem 0 2.4rem; }
.blog-banner h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); margin: 0 0 1.1rem; }
.miga {
    position: relative;
    bottom: -1.45rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    background: #fff;
    color: var(--ink);
    border-radius: 0.75rem;
    padding: 0.62rem 0.95rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(1, 16, 24, 0.08);
}
.miga a, .miga span { color: var(--ink); text-decoration: none; }
.miga a { display: inline-flex; align-items: center; gap: 0.35rem; }
.miga svg { display: block; }
.blog-seccion { padding-top: 2.8rem; }
.blog-cuerpo { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 2.4rem; align-items: start; }
.nota-tarjeta { margin: 0 0 2.8rem; }
.nota-tarjeta__foto, .nota__foto {
    display: block;
    border-radius: 0.75rem;
    overflow: hidden;
    margin: 0 0 1rem;
}
.nota-tarjeta__foto img, .nota__foto {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}
.nota-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.55rem;
    margin: 0 0 0.45rem;
    color: #6d7780;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.nota-meta a { color: inherit; text-decoration: none; }
.nota-meta a:hover { color: var(--blue); }
.nota-tarjeta h2 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); margin: 0.2rem 0 0.55rem; }
.nota-tarjeta h2 a { color: inherit; text-decoration: none; }
.nota-tarjeta h2 a:hover { color: var(--blue); }
.nota-tarjeta > p { color: #4b5563; max-width: 46rem; }
.btn-leer {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    border: 0;
    border-radius: 0.4rem;
    padding: 0.7rem 0.7rem 0.7rem 1.05rem;
    font: 700 0.95rem/1 var(--fuente);
    cursor: pointer;
}
.btn-leer:hover { background: var(--blue-2); color: #fff; }
.btn-leer span {
    display: grid;
    place-items: center;
    width: 1.85rem;
    height: 1.85rem;
    border: 1.5px solid rgba(255,255,255,0.85);
    border-radius: 0.2rem;
}
button.btn-leer { padding: 0.85rem 1.15rem; }
.nota__titulo { font-size: clamp(1.7rem, 3vw, 2.35rem); margin: 0.35rem 0 1rem; }
.blog-seccion .prose { max-width: none; }
.nota__cuerpo { color: #243039; }
.nota__cuerpo > p:first-of-type::first-letter {
    float: left;
    font-family: var(--cursiva);
    font-size: 3.5rem;
    line-height: 0.8;
    padding: 0.15rem 0.45rem 0 0;
    color: var(--blue);
    font-weight: 600;
}
.nota__cuerpo ul { list-style: none; padding: 0; }
.nota__cuerpo ul li { margin: 0 0 0.45rem; }
.nota__cuerpo ul li::before { content: "✓"; color: var(--blue); font-weight: 800; margin-right: 0.45rem; }
.blog-lateral { display: grid; gap: 1rem; }
.lateral-caja {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    padding: 1.05rem 1.1rem 1.15rem;
}
.lateral-caja h2 {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 1.15rem;
    margin: 0 0 0.35rem;
}
.lateral-icono { width: 1.05rem; height: 1.05rem; fill: var(--blue); flex: 0 0 auto; }
.lateral-buscar { display: flex; border: 1px solid var(--line); border-radius: 0.55rem; overflow: hidden; }
.lateral-buscar input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 0.75rem 0.85rem;
    font: 500 0.95rem/1.2 var(--fuente);
    color: var(--ink);
}
.lateral-buscar button {
    width: 2.9rem;
    border: 0;
    background: var(--blue);
    color: #fff;
    cursor: pointer;
}
.lateral-buscar svg { width: 1rem; height: 1rem; fill: none; stroke: #fff; stroke-width: 2; }
.reciente {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 0.7rem;
    align-items: center;
    margin-top: 0.85rem;
    color: inherit;
    text-decoration: none;
}
.reciente img { width: 74px; height: 64px; object-fit: cover; border-radius: 0.45rem; }
.reciente strong { display: block; font-size: 0.92rem; line-height: 1.3; letter-spacing: -0.02em; }
.reciente small { color: #6d7780; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.lateral-lista { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.lateral-lista li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    border-bottom: 1px solid var(--line);
    padding: 0.62rem 0;
}
.lateral-lista a {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}
.lateral-lista a::before { content: "›"; color: var(--blue); margin-right: 0.4rem; font-weight: 800; }
.lateral-lista span { color: #6d7780; font-size: 0.85rem; }
.etiquetas { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.7rem; }
.etiquetas a {
    text-decoration: none;
    border: 1px solid var(--line);
    border-radius: 0.4rem;
    padding: 0.28rem 0.55rem;
    color: var(--ink);
    font-size: 0.85rem;
    font-weight: 650;
}
.etiquetas a:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.comentarios { margin-top: 2.2rem; padding-top: 0.4rem; }
.comentarios__lista { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.comentarios__lista li { border-bottom: 1px solid var(--line); padding: 0.8rem 0; }
.comentarios__form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 1rem; }
.comment-form-comment, .comment-form-url, .comment-form-cookies-consent, .form-submit, .comment-notes, .logged-in-as { grid-column: 1 / -1; }
.comentarios__form label { display: block; font-weight: 750; margin-bottom: 0.35rem; }
.comentarios__form input[type="text"],
.comentarios__form input[type="email"],
.comentarios__form input[type="url"],
.comentarios__form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 0.45rem;
    padding: 0.75rem 0.8rem;
    font: 500 1rem/1.4 var(--fuente);
    color: var(--ink);
    background: #fff;
}
.comentarios__form textarea { min-height: 140px; resize: vertical; }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 0.5rem; }
.comment-form-cookies-consent label { font-weight: 500; margin: 0; }
.solo-lectores {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.paginacion .page-numbers {
    display: inline-flex;
    min-width: 2.2rem;
    height: 2.2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.4rem;
    text-decoration: none;
    color: var(--ink);
    font-weight: 750;
    padding: 0 0.45rem;
}
.paginacion .current, .paginacion a.page-numbers:hover { background: var(--blue); color: #fff; }

@media (max-width: 860px) {
    .blog-cuerpo, .comentarios__form { grid-template-columns: 1fr; }
    .nota-tarjeta__foto img, .nota__foto { height: 220px; }
    .blog-banner { min-height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
    .cinta__pista, .carga img, .hero-slide.is-active .hero__content > *, .onda, .site-header.is-fijo, .panel-clinica { animation: none; }
    .hero-foto, .hero-slide { transition: none; animation: none; }
}

/* Doctora */
.doctora { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 3.2rem; align-items: center; }
.doctora__video {
    aspect-ratio: 9 / 16;
    border-radius: 1.6rem;
    overflow: hidden;
    background: var(--ink);
    box-shadow: 0 26px 60px rgba(7, 20, 28, 0.18);
}
.doctora__video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.doctora__nombre { margin: 0 0 1rem; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.doctora__nombre span { display: block; margin-top: 0.15rem; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
.doctora__lista { margin: 0 0 1.5rem; padding-left: 1.1rem; color: var(--muted); }
.doctora__lista li { margin-bottom: 0.4rem; }

/* Casos reales */
.casos { grid-template-columns: repeat(3, 1fr); }
.caso .servicio-card__foto { height: 300px; }
.caso h3 { margin: 0 0 0.45rem; }
.equipo-foto--una { grid-template-columns: minmax(0, 400px); justify-content: center; }

@media (max-width: 1024px) {
    .casos { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .doctora { grid-template-columns: 1fr; gap: 2rem; }
    .doctora__video { width: 100%; max-width: 300px; margin: 0 auto; }
    .casos { grid-template-columns: 1fr; }
    .caso .servicio-card__foto { height: 240px; }
}

/* Menu: evitar que "La especialista" se parta en dos lineas */
.menu-pills > li > a { white-space: nowrap; }
@media (min-width: 761px) and (max-width: 1180px) {
    .menu-pills { gap: 0; }
    .menu-pills > li > a { padding: 0.62rem 0.5rem; font-size: 0.72rem; }
    .header-book { flex: 0 0 auto; }
    .header-book strong { white-space: nowrap; }
    .header-book small { display: none; }
    .header-book + .btn-arrow { flex: 0 0 auto; }
}

/* Tabletas y portatiles estrechos: el menu completo no cabe, se usa el desplegable */
@media (min-width: 761px) and (max-width: 1099px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        display: none; position: absolute; left: 0; right: 0; top: 100%;
        background: #011018; padding: 0.8rem 1.2rem 1.1rem; flex-direction: column; align-items: stretch;
    }
    .nav.is-open { display: flex; }
    .menu-pills { flex-direction: column; }
    .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 0.4rem 0.6rem; }
    .sub a { color: #fff; }
    .header-book { margin: 0.4rem 0; }
    body.home .menu-pills { background: transparent; padding: 0; backdrop-filter: none; }
    .header__inner { position: relative; }
}

/* Contacto */
.contacto { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 3.5rem; align-items: start; }
.contacto h2 { margin-bottom: 0.9rem; }
.contacto__intro { color: var(--muted); margin-bottom: 1.4rem; }
.horario-tabla { width: 100%; border-collapse: collapse; margin: 0 0 1.2rem; }
.horario-tabla th, .horario-tabla td { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
.horario-tabla th { text-align: left; font-weight: 750; }
.horario-tabla td { text-align: right; color: var(--muted); font-weight: 650; }
.contacto__nota { color: var(--muted); font-size: 0.95rem; }
.contacto-bloques { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.contacto-bloque {
    display: block; background: #fff; border: 1px solid var(--line); border-radius: 1.3rem;
    padding: 1.6rem 1.4rem; color: inherit; text-decoration: none;
    transition: border-color 0.25s ease, transform 0.25s ease;
}
.contacto-bloque:hover { border-color: var(--blue); transform: translateY(-3px); }
.contacto-bloque__icono {
    display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem;
    border-radius: 0.85rem; background: rgba(20, 152, 196, 0.12); color: var(--blue); margin-bottom: 0.85rem;
}
.contacto-bloque__icono svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contacto-bloque h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.contacto-bloque p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.mapa { line-height: 0; }
.mapa iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Entrada suave de secciones al hacer scroll */
.revelar { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.revelar.es-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .revelar { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 980px) {
    .contacto { grid-template-columns: 1fr; gap: 2.4rem; }
    .contacto-bloques { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .contacto-bloques { grid-template-columns: 1fr; }
    .mapa iframe { height: 320px; }
}

/* Ficha de servicio */
.ficha-seccion { padding-top: 2.6rem; }
.ficha { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.ficha__foto {
    display: block; height: 380px; margin: 0 0 1.8rem;
    border-radius: 1.4rem; background-size: cover; background-position: center;
}
.ficha__principal > h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin: 0.4rem 0 1rem; }
.ficha__texto p { color: #243039; margin: 0 0 1rem; max-width: 46rem; }
.ficha__texto p:first-child::first-letter {
    float: left; font-family: var(--cursiva); font-size: 3.4rem; line-height: 0.85;
    padding: 0.15rem 0.45rem 0 0; color: var(--blue); font-weight: 600;
}
.ficha__mini { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0 2.4rem; }
.mini-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.4rem 1.3rem; }
.mini-card__num { position: absolute; top: 1rem; right: 1.1rem; font-size: 0.78rem; font-weight: 800; color: var(--blue); letter-spacing: 0.06em; }
.mini-card h3 { font-size: 1.05rem; margin: 0 0 0.4rem; padding-right: 2rem; }
.mini-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.ficha__subtitulo { font-size: clamp(1.35rem, 2vw, 1.75rem); margin: 0 0 1rem; }
.ficha__check { list-style: none; padding: 0; margin: 0 0 2.4rem; }
.ficha__check li { position: relative; padding-left: 1.8rem; margin-bottom: 0.6rem; color: #243039; }
.ficha__check li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 800; }
.faq { display: grid; gap: 0.75rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 0.9rem; padding: 0 1.2rem; }
.faq__item summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; font-weight: 750; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    color: var(--blue); font-weight: 800; font-size: 1.25rem; line-height: 1;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin: 0; padding: 0 0 1.1rem; color: var(--muted); }
.ficha__lateral { display: grid; gap: 1.2rem; align-content: start; }
.ficha-caja { background: #fff; border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.3rem 1.2rem 1.5rem; }
.ficha-caja h2 { font-size: 1.15rem; margin: 0 0 0.9rem; }
.ficha-caja__nota { color: var(--muted); font-size: 0.93rem; margin: 0 0 1rem; }
.ficha-lista { list-style: none; margin: 0; padding: 0; }
.ficha-lista li { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; border-bottom: 1px solid var(--line); }
.ficha-lista li:last-child { border-bottom: 0; }
.ficha-lista a { display: block; padding: 0.7rem 0; color: inherit; text-decoration: none; font-weight: 700; font-size: 0.95rem; }
.ficha-lista li span { color: var(--blue); }
.ficha-lista li:hover a, .ficha-lista .is-actual a { color: var(--blue); }
.ficha-lista .is-actual { background: #eaf6fb; border-radius: 0.6rem; padding: 0 0.6rem; }
.ficha__lateral .formulario__grid { grid-template-columns: 1fr; }
.ficha__lateral .formulario input,
.ficha__lateral .formulario select,
.ficha__lateral .formulario textarea { font-size: 0.95rem; }

@media (max-width: 1024px) {
    .ficha { grid-template-columns: 1fr; }
    .ficha__lateral { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .ficha__mini { grid-template-columns: 1fr; }
    .ficha__lateral { grid-template-columns: 1fr; }
    .ficha__foto { height: 240px; }
}

/* Casos de uso */
.casos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.caso-card {
    position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3.4;
    border-radius: 1.3rem; text-decoration: none; color: #fff;
}
.caso-card__foto { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.6s ease; }
.caso-card:hover .caso-card__foto { transform: scale(1.05); }
.caso-card__velo { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 20, 28, 0.05) 35%, rgba(7, 20, 28, 0.84) 100%); }
.caso-card__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.3rem 1.4rem; }
.caso-card__cat {
    display: inline-block; margin-bottom: 0.6rem; padding: 0.3rem 0.7rem;
    background: rgba(255, 255, 255, 0.94); color: var(--ink);
    border-radius: 999px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
}
.caso-card h3 { margin: 0; color: #fff; font-size: 1.25rem; line-height: 1.2; }
.caso-aviso { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: #6d7780; font-size: 0.88rem; }
.caso-aviso span { display: block; margin-top: 0.4rem; color: var(--ink); font-weight: 700; }

@media (max-width: 980px) {
    .casos-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .casos-grid { grid-template-columns: 1fr; }
    .caso-card { aspect-ratio: 4 / 3; }
}
