/* =========================================================
   CHERRY DIGITAL — Premium Utilitarian Minimalism
   Warm monochrome · editorial serif · single cherry accent
   ========================================================= */

:root {
    /* Canvas & surfaces */
    --bg:        #FBFBFA;   /* warm bone */
    --bg-alt:    #F7F6F3;
    --surface:   #FFFFFF;

    /* Ink */
    --ink:       #1A1A1A;
    --ink-soft:  #55534E;
    --ink-muted: #8A8781;

    /* Structure */
    --line:      #EAE8E3;
    --line-soft: rgba(0,0,0,0.06);

    /* Accent — Cherry (used sparingly) */
    --cherry:    #C42438;
    --cherry-ink:#9F2F2D;
    --cherry-pale:#FBECEC;

    /* Motion */
    --ease:      cubic-bezier(0.16, 1, 0.3, 1);
    --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);

    --maxw: 1160px;
    --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: 'Plus Jakarta Sans', 'Helvetica Neue', system-ui, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--cherry); color: #fff; }

a { color: inherit; text-decoration: none; }

/* ---------- Ambient depth ---------- */
.ambient {
    position: fixed; inset: 0; z-index: -2; pointer-events: none;
    background:
        radial-gradient(60vw 60vw at 78% -5%, rgba(196,36,56,0.05), transparent 60%),
        radial-gradient(50vw 50vw at -5% 30%, rgba(160,120,90,0.04), transparent 60%);
    animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift {
    from { transform: translate3d(0,0,0) scale(1); }
    to   { transform: translate3d(0,-2%,0) scale(1.05); }
}
.grain {
    position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 1;
    width: 100%; height: 100%;
    mix-blend-mode: multiply;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cherry-ink);
    margin-bottom: 1.1rem;
}
.eyebrow-invert { color: rgba(255,255,255,0.6); }
.hero .eyebrow { font-size: 1.1rem; letter-spacing: 0.14em; margin-bottom: 1.4rem; }

.section-title {
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 500;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
}
.section-sub {
    margin-top: 1.1rem;
    max-width: 56ch;
    color: var(--ink-soft);
    font-size: 1.02rem;
}

/* ---------- Layout ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 6vw; position: relative; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.container { max-width: var(--maxw); margin: 0 auto; }
.container-narrow { max-width: 760px; }
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Navbar ---------- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem 6vw;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s var(--ease);
}
/* El tinte + blur van en un pseudo-elemento: si van directo en .navbar,
   backdrop-filter convierte a .navbar en containing block de sus hijos
   position:fixed (el .nav-links del menú móvil), rompiendo el drawer a
   pantalla completa (queda del tamaño de la barra, no del viewport). */
.navbar::before {
    content: '';
    position: absolute; inset: 0; z-index: -1;
    background: rgba(251,251,250,0.72);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    transition: background 0.4s var(--ease);
}
.navbar.scrolled { border-bottom-color: var(--line); }

.logo {
    font-family: 'Newsreader', serif;
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}
.logo .dot { color: var(--cherry); }

/* Logo image chip (top-left) — el fondo negro del PNG se integra */
.logo-chip {
    display: inline-flex; align-items: center;
    height: 54px; padding: 5px 13px;
    background: #060606;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.16);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.logo-chip:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,0.22); }
.logo-chip img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a {
    font-size: 0.92rem; font-weight: 500; color: var(--ink-soft);
    transition: color 0.25s var(--ease); position: relative;
}
.nav-links a:not(.btn-nav)::after {
    content: ''; position: absolute; left: 0; bottom: -4px; height: 1.5px; width: 0;
    background: var(--cherry); transition: width 0.3s var(--ease);
}
.nav-links a:not(.btn-nav):hover { color: var(--ink); }
.nav-links a:not(.btn-nav):hover::after { width: 100%; }

.btn-nav {
    color: #fff !important;
    background: rgba(26, 26, 26, 0.7);
    padding: 0.55rem 1.3rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s var(--ease), background 0.4s var(--ease),
                backdrop-filter 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn-nav:hover {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(16px) saturate(200%);
    -webkit-backdrop-filter: blur(16px) saturate(200%);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 6px 18px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}
.btn-nav:active {
    transform: translateY(0) scale(0.98);
}

.burger {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px;
}
.burger span { width: 22px; height: 2px; background: var(--ink); transition: transform 0.35s var(--ease-soft), opacity 0.2s; }
.burger.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.burger.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn-solid, .btn-ghost, .btn-outline {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.95rem; font-weight: 600; cursor: pointer;
    transition: transform 0.3s var(--ease), background 0.4s var(--ease), 
                border-color 0.4s var(--ease), color 0.4s var(--ease),
                box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.btn-solid {
    background: rgba(26, 26, 26, 0.75);
    color: #fff;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.12);
}
.btn-solid:hover {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(16px) saturate(200%);
    -webkit-backdrop-filter: blur(16px) saturate(200%);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 8px 24px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
}
.btn-solid:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.15);
}
.btn-arrow {
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(255,255,255,0.18);
    transition: transform 0.25s var(--ease), background 0.3s var(--ease);
}
.btn-solid:hover .btn-arrow {
    transform: translate(2px,-2px);
    background: rgba(255,255,255,0.25);
}
.btn-block { width: 100%; justify-content: center; margin-top: auto; }

.btn-ghost {
    color: var(--ink);
    padding: 0.85rem 1.4rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 4px 16px rgba(0, 0, 0, 0.06);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(16px) saturate(200%);
    -webkit-backdrop-filter: blur(16px) saturate(200%);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}
.btn-ghost:active {
    transform: translateY(0) scale(0.98);
}

.btn-outline {
    justify-content: center;
    width: 100%;
    margin-top: auto;
    color: var(--ink);
    padding: 0.8rem 1.4rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(234, 232, 227, 0.8);
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.04);
}
.btn-outline:hover {
    background: rgba(26, 26, 26, 0.85);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}
.btn-outline:active {
    transform: translateY(0) scale(0.98);
}

/* ---------- Hero ---------- */
.hero {
    min-height: 100dvh;
    display: flex; align-items: center;
    padding: 7rem 6vw 4rem;
    position: relative;
}
.hero-grid {
    width: 100%; max-width: var(--maxw); margin: 0 auto;
    display: grid; grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-inner { max-width: 620px; }
.hero-title {
    font-family: 'Newsreader', Georgia, serif;
    font-weight: 500;
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    line-height: 1.03;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--cherry); font-weight: 400; }
.hero-lead {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--ink-soft);
    max-width: 52ch;
    margin-bottom: 2.4rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.5rem; }
.hero-meta {
    display: flex; flex-wrap: wrap; gap: 2.5rem; list-style: none;
    padding-top: 2rem; border-top: 1px solid var(--line);
}
.hero-meta li { font-size: 0.92rem; color: var(--ink-muted); }
.hero-meta strong {
    display: block; font-family: 'Newsreader', serif; font-size: 1.9rem;
    font-weight: 600; color: var(--ink); letter-spacing: -0.02em; line-height: 1;
    margin-bottom: 0.3rem;
}

/* ---------- Servicios: dispositivos con texto DENTRO de la pantalla ----------
   Fila-carrusel: en pantallas anchas se centran los 3; en las estrechas se desliza. */
.devices {
    display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center;
    justify-content: safe center;
    gap: clamp(1.1rem, 2.5vw, 2.4rem);
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    padding-bottom: 0.75rem; perspective: 1600px;
}
.devices::-webkit-scrollbar { display: none; }
.svc-row {
    display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
    flex: 0 0 auto; scroll-snap-align: center;
}
.svc-word { display: flex; align-items: center; gap: 0.5rem; }
.svc-index {
    font-family: 'JetBrains Mono', monospace; font-size: 0.78rem;
    letter-spacing: 0.2em; color: var(--cherry-ink);
}
.svc-big { display: none; }

.device-wrap { display: flex; justify-content: center; align-items: center; }
.device {
    width: var(--dw); max-width: 100%;
    transform-style: preserve-3d;
    transition: transform 0.4s var(--ease-soft);
}
.device--phone  { --dw: 224px; --sc-top: 2.3%; --sc-right: 4.7%;  --sc-bottom: 2.3%; --sc-left: 4.7%;  --scr-radius: 30px; }
.device--laptop { --dw: 520px; --sc-top: 5%;   --sc-right: 21%;   --sc-bottom: 31.5%; --sc-left: 21%;  --scr-radius: 6px;  }
.device--tablet { --dw: 320px; --sc-top: 2.8%; --sc-right: 3.75%; --sc-bottom: 2.8%; --sc-left: 3.75%; --scr-radius: 14px; }

.device-frame { position: relative; width: 100%; animation: floatY 7s ease-in-out infinite; }
.svc-row:nth-child(2) .device-frame { animation-delay: -2.3s; }
.svc-row:nth-child(3) .device-frame { animation-delay: -4.6s; }
.device--phone  .device-frame { aspect-ratio: 340 / 690; }
.device--laptop .device-frame { aspect-ratio: 820 / 520; }
.device--tablet .device-frame { aspect-ratio: 480 / 640; }
.device-frame > img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    z-index: 2; pointer-events: none;
    filter: drop-shadow(0 30px 45px rgba(0,0,0,0.22));
}

/* Pantalla (contenido real dentro del dispositivo).
   Tipografía en cqw = proporcional al ancho de la pantalla,
   así el texto crece automáticamente cuando el dispositivo es más grande. */
.device-screen {
    position: absolute;
    top: var(--sc-top); right: var(--sc-right); bottom: var(--sc-bottom); left: var(--sc-left);
    z-index: 1; overflow: hidden;
    background: #fff; border-radius: var(--scr-radius);
    container-type: inline-size;
}
.screen-page {
    height: 100%; overflow: hidden;
    padding: 6cqw 6cqw;
    display: flex; flex-direction: column;
    background:
        radial-gradient(120% 60% at 100% 0, rgba(196,36,56,0.06), transparent 60%),
        #ffffff;
}
.device--phone .screen-page { justify-content: center; }
.scr-kicker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3.4cqw; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--cherry-ink); margin-bottom: 3cqw;
}
.screen-page h3 {
    font-family: 'Newsreader', serif; font-weight: 600;
    font-size: 8cqw; line-height: 1.12; letter-spacing: -0.01em;
    margin-bottom: 3cqw;
}
.screen-page p { color: var(--ink-soft); font-size: 5.1cqw; line-height: 1.4; }
.screen-page .scr-cta { color: var(--cherry-ink); font-weight: 700; margin-top: 3.5cqw; }
.screen-page .feature-list { margin: 4cqw 0 0; gap: 2.4cqw; }
.screen-page .feature-list li { font-size: 5.1cqw; padding-left: 8cqw; }
.screen-page .feature-list li::before { top: 0.4em; width: 4cqw; height: 4cqw; }

/* La laptop es apaisada (poca altura): texto un poco más compacto */
.device--laptop .screen-page { padding: 4.5cqw 5cqw; }
.device--laptop .scr-kicker { font-size: 2.9cqw; margin-bottom: 2cqw; }
.device--laptop .screen-page h3 { font-size: 6.4cqw; margin-bottom: 2.4cqw; }
.device--laptop .screen-page p { font-size: 4.1cqw; line-height: 1.34; }
.device--laptop .scr-cta { margin-top: 2.6cqw; }

/* Reflejo/glare sutil */
.device-glare {
    position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: 12px;
    background: linear-gradient(120deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.14) 48%, rgba(255,255,255,0) 56%);
    opacity: 0; transition: opacity 0.4s var(--ease);
}
.device:hover .device-glare { opacity: 1; }

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ---------- Hero: par de cerezas (carrusel dentro de la principal) ----------
   Geometría en un lienzo 100×95: cereza A (carrusel) abajo-izquierda,
   cereza B (imagen fija) arriba-derecha, tallos que se unen en (52,8) + hoja. */
.hero-media {
    width: 100%; max-width: 540px; margin-inline: auto;
    position: relative; aspect-ratio: 100 / 95;
}
.cherry-art {
    position: absolute; inset: 0; width: 100%; height: 100%;
    overflow: visible; z-index: 1; pointer-events: none;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.10));
}
.cherry { position: absolute; aspect-ratio: 1 / 1; border-radius: 50%; }
.cherry-b {
    width: 47%; right: 1%; bottom: 22%; z-index: 2;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(0,0,0,0.14);
}
.cherry-b img {
    display: block; width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(0.18) contrast(1.02) brightness(1.02) sepia(0.04);
}
.cherry-a { width: 62%; left: 0; bottom: 0; z-index: 3; }
/* Brillo tipo cereza (reflejo superior-izquierdo) */
.cherry-gloss {
    position: absolute; inset: 0; border-radius: 50%; z-index: 5; pointer-events: none;
    background: radial-gradient(42% 32% at 30% 20%, rgba(255,255,255,0.45), rgba(255,255,255,0) 70%);
}

.carousel { position: relative; height: 100%; }
.carousel-viewport {
    overflow: hidden;
    width: 100%; aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: none;
    background: var(--bg-alt);
    box-shadow: 0 26px 50px rgba(0,0,0,0.16);
}
.carousel-track, .slide { height: 100%; }
/* Dots debajo de la cereza principal */
.cherry-a .carousel-dots {
    position: absolute; left: 50%; bottom: -2.2rem;
    transform: translateX(-50%); margin: 0;
}
/* El rótulo no aplica dentro de la cereza */
.hero-media .slide figcaption { display: none; }
.carousel-track {
    display: flex;
    transition: transform 0.7s var(--ease-soft);
    will-change: transform;
}
.slide {
    position: relative;
    min-width: 100%;
    margin: 0;
}
.slide img {
    display: block;
    width: 100%;
    height: 100%;              /* llena la caja cuadrada del viewport */
    object-fit: cover;
    /* desaturado cálido para integrarse al monocromo editorial */
    filter: grayscale(0.18) contrast(1.02) brightness(1.02) sepia(0.04);
}
.slide figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    display: flex; flex-direction: column; gap: 0.2rem;
    padding: 2.6rem 1.6rem 1.4rem;
    color: #fff;
    background: linear-gradient(to top, rgba(20,18,16,0.74), rgba(20,18,16,0) 100%);
}
.slide-kicker {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: #f6c9cd;
}
.slide-cap {
    font-family: 'Newsreader', serif; font-weight: 500;
    font-size: clamp(1.1rem, 2.2vw, 1.45rem); letter-spacing: -0.01em; line-height: 1.15;
}
.carousel-dots {
    display: flex; align-items: center; justify-content: center; gap: 0.55rem;
    margin-top: 1.1rem;
}
.carousel-dots button {
    width: 8px; height: 8px; padding: 0; border: none; cursor: pointer;
    border-radius: 9999px; background: var(--line);
    transition: width 0.3s var(--ease), background 0.3s var(--ease);
}
.carousel-dots button.active { width: 26px; background: var(--cherry); }

/* ---------- Pricing: baraja giratoria (deck 3D) ---------- */
.pricing {
    position: relative;
    height: var(--deck-h, 700px);
    perspective: 1400px;
}
.plan {
    display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 18px; padding: 2.2rem 2rem;
    position: absolute; top: 18px; left: 50%;
    width: min(420px, 92%);
    transition: transform 0.65s var(--ease-soft), opacity 0.5s var(--ease), box-shadow 0.4s var(--ease);
    will-change: transform;
    box-shadow: 0 14px 34px rgba(0,0,0,0.05);
}
/* Posiciones del giro */
.plan.pos-front { transform: translateX(-50%); z-index: 40; opacity: 1; }
.plan.pos-right { transform: translate(calc(-50% + 58%), 14px) scale(0.86); z-index: 20; opacity: 0.5; }
.plan.pos-left  { transform: translate(calc(-50% - 58%), 14px) scale(0.86); z-index: 20; opacity: 0.5; }
.plan.pos-back  { transform: translate(-50%, -22px) scale(0.78); z-index: 10; opacity: 0.28; }
.plan.pos-front:hover { transform: translate(-50%, -6px); box-shadow: 0 22px 55px rgba(0,0,0,0.09); }
/* Las tarjetas no frontales invitan al clic y bloquean sus enlaces */
.plan:not(.pos-front) { cursor: pointer; }
.plan:not(.pos-front) a, .plan:not(.pos-front) button { pointer-events: none; }
.plan-featured.pos-front {
    border: 1px solid var(--ink);
    box-shadow: 0 24px 60px rgba(0,0,0,0.10);
}
.badge-new { background: var(--ink); }
/* Navegación del deck: flechas a los lados, centradas verticalmente */
.deck-arrow {
    position: absolute; top: 50%; z-index: 50;
    transform: translateY(-50%);
}
.deck-arrow:hover { transform: translateY(-50%) scale(1.08); }
.deck-arrow:active { transform: translateY(-50%) scale(0.95); }
.deck-arrow-prev { left: 0; }
.deck-arrow-next { right: 0; }
.pricing-nav {
    display: flex; align-items: center; justify-content: center;
    margin-top: 1.2rem;
}
.deck-dots { margin-top: 0; }
.plan-badge {
    position: absolute; top: -13px; left: 2rem;
    background: var(--cherry); color: #fff;
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    padding: 0.4rem 0.9rem; border-radius: 9999px;
}
.plan-name { font-family: 'Newsreader', serif; font-weight: 600; font-size: 1.75rem; letter-spacing: -0.01em; }
.plan-tag { color: var(--ink-muted); font-size: 0.9rem; margin-top: 0.35rem; min-height: 2.6em; }
.plan-price { display: flex; align-items: baseline; gap: 0.4rem; margin: 1.4rem 0 0.3rem; }
.plan-price .amount { font-family: 'Newsreader', serif; font-size: 2.7rem; font-weight: 600; letter-spacing: -0.03em; }
.plan-price .currency { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: var(--ink-muted); }
.plan-breakdown {
    font-size: 0.8rem; color: var(--ink-muted);
    padding-bottom: 1.4rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--line);
}
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.6rem; }
.feature-list li {
    position: relative; padding-left: 1.7rem;
    font-size: 0.92rem; color: var(--ink-soft);
}
.feature-list li::before {
    content: ''; position: absolute; left: 0; top: 0.42em;
    width: 8px; height: 8px; border-radius: 2px;
    background: var(--cherry-pale);
    box-shadow: inset 0 0 0 1.5px var(--cherry);
}
.plan-delivery {
    font-size: 0.85rem; color: var(--ink); font-weight: 600; margin-bottom: 0.4rem;
}
.plan-delivery span {
    font-family: 'JetBrains Mono', monospace; font-weight: 400; font-size: 0.7rem;
    text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-muted);
    margin-right: 0.5rem;
}
.plan-extra { font-size: 0.8rem; color: var(--cherry-ink); margin-bottom: 1.4rem; }
.plan .btn-outline, .plan .btn-solid { margin-top: auto; }
.plan-featured .plan-tag,
.plan-featured .plan-extra:last-of-type { margin-bottom: 1.6rem; }

/* ---------- Comparativa table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 680px; }
.compare th, .compare td { padding: 0.95rem 1.1rem; text-align: center; font-size: 0.9rem; }
.compare thead th {
    font-family: 'Newsreader', serif; font-size: 1.05rem; font-weight: 600;
    border-bottom: 1px solid var(--line); background: var(--bg-alt);
}
.compare thead th:first-child { text-align: left; }
.compare tbody th {
    text-align: left; font-weight: 500; color: var(--ink); font-size: 0.9rem;
}
.compare tbody tr { border-top: 1px solid var(--line); }
.compare td { color: var(--ink-soft); }
.compare .col-featured { background: rgba(196,36,56,0.035); }
.compare thead .col-featured { background: var(--cherry-pale); color: var(--cherry-ink); }
.compare .yes { color: var(--cherry-ink); font-weight: 600; }
.compare .no { color: var(--ink-muted); }
.compare .row-price th, .compare .row-price td {
    font-family: 'Newsreader', serif; font-size: 1.15rem; font-weight: 600; color: var(--ink);
    border-top: 2px solid var(--ink);
}

/* ---------- Conceptos (carrusel educativo) ---------- */
.concepts { position: relative; }
.concepts-track {
    display: flex; gap: 1.1rem;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    padding: 0.4rem 0 1.2rem;
    scroll-padding-left: 0;
}
.concepts-track::-webkit-scrollbar { display: none; }
.concept-card {
    flex: 0 0 300px; scroll-snap-align: start;
    display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 16px; padding: 1.8rem;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.concept-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(0,0,0,0.06); border-color: #ddd9d2; }
.concept-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px;
    background: var(--cherry-pale); color: var(--cherry-ink);
    margin-bottom: 1.1rem;
}
.concept-card h4 { font-family: 'Newsreader', serif; font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; margin-bottom: 0.6rem; }
.concept-card > p { color: var(--ink-soft); font-size: 0.92rem; }
.concept-card strong { color: var(--ink); }

/* Tarjeta simulador */
.concept-sim { flex-basis: 340px; background: var(--ink); color: #fff; border-color: var(--ink); }
.concept-sim:hover { border-color: var(--ink); box-shadow: 0 22px 50px rgba(0,0,0,0.22); }
.concept-kicker {
    font-family: 'JetBrains Mono', monospace; font-size: 0.66rem;
    letter-spacing: 0.16em; text-transform: uppercase; color: #f6c9cd; margin-bottom: 0.7rem;
}
.concept-sim h4 { color: #fff; margin-bottom: 1.1rem; }
.sim { display: flex; flex-direction: column; gap: 0.9rem; }
.sim-field { display: flex; flex-direction: column; gap: 0.45rem; }
.sim-label {
    font-family: 'JetBrains Mono', monospace; font-size: 0.62rem;
    letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55);
}
.sim-seg { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.sim-seg button {
    flex: 1; min-width: 46px; cursor: pointer;
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.16); border-radius: 9px;
    padding: 0.5rem 0.6rem; font-size: 0.82rem; font-weight: 600;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.15s var(--ease);
}
.sim-seg-multi button { flex: 1 1 auto; }
.sim-seg button:hover { border-color: rgba(255,255,255,0.4); }
.sim-seg button:active { transform: scale(0.97); }
.sim-seg button.active {
    background: var(--cherry); border-color: var(--cherry); color: #fff;
}
.sim-result {
    display: flex; align-items: baseline; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap;
    margin-top: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.14);
}
.sim-amount { font-family: 'Newsreader', serif; font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; }
.sim-cur { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; color: rgba(255,255,255,0.5); margin-left: 0.35rem; }
.sim-pkg { font-size: 0.82rem; color: #f6c9cd; font-weight: 600; }
.sim-disclaimer { font-size: 0.68rem; color: rgba(255,255,255,0.45); margin-top: 0.2rem; }

/* Flechas del carrusel de conceptos */
.concepts-nav { display: flex; gap: 0.6rem; justify-content: flex-end; margin-top: 0.4rem; }
.concepts-btn {
    width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
    background: var(--surface); color: var(--ink);
    border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.2s var(--ease);
}
.concepts-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.concepts-btn:active { transform: scale(0.95); }

/* ---------- Accordion (T&C) ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.4rem 0.2rem;
    font-size: 1.08rem; font-weight: 600;
    transition: color 0.25s var(--ease);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--cherry-ink); }
.acc-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.acc-icon::before, .acc-icon::after {
    content: ''; position: absolute; background: var(--ink); border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.acc-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.acc-icon::after  { left: 7px; top: 0; width: 2px; height: 16px; }
details[open] .acc-icon::after { transform: rotate(90deg); opacity: 0; }
.accordion details p {
    padding: 0 0.2rem 1.5rem; color: var(--ink-soft); max-width: 62ch;
    animation: accReveal 0.4s var(--ease);
}
@keyframes accReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Equipo (carrusel de tarjetas apiladas) ---------- */
.team-carousel { display: flex; flex-direction: column; align-items: center; gap: 1.75rem; }
.team-stack { position: relative; width: min(380px, 100%); height: 220px; }
.team-card {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; gap: 0.85rem; padding: 2.4rem 2rem;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
    transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
    transform:
        translateX(var(--drag-x, 0px))
        translateY(calc(var(--pos, 0) * 10px))
        scale(calc(1 - var(--pos, 0) * 0.06))
        rotate(var(--drag-rot, calc(var(--pos, 0) * -3deg)));
    opacity: calc(1 - var(--pos, 0) * 0.45);
}
.team-card.is-front { cursor: grab; touch-action: pan-y; }
.team-card.is-front.dragging { cursor: grabbing; transition: none; }
.team-card:not(.is-front) { pointer-events: none; }
.team-card-avatar {
    width: 64px; height: 64px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Newsreader', serif; font-size: 1.6rem; font-weight: 600; color: #fff;
    background: linear-gradient(150deg, #2a2a2c, #050505);
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}
.team-card h3 { font-size: 1.25rem; }
.team-card-role { color: var(--cherry-ink); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.team-card-desc { color: var(--ink-soft); font-size: 0.92rem; max-width: 30ch; }

.team-arrows { display: flex; align-items: center; gap: 1.25rem; }
.team-arrow {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
    background: var(--surface); color: var(--ink-soft); font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.team-arrow:hover { color: var(--cherry-ink); border-color: var(--cherry-ink); transform: translateY(-2px); }
.team-dots { display: flex; gap: 0.5rem; }
.team-dots button {
    width: 8px; height: 8px; border-radius: 50%; border: none;
    background: var(--line); cursor: pointer; padding: 0;
    transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.team-dots button.active { background: var(--cherry); transform: scale(1.3); }

/* ---------- CTA ---------- */
.cta {
    background: var(--ink); color: #fff;
    border-radius: 24px; padding: clamp(3rem, 6vw, 5rem) 2rem;
    text-align: center; position: relative; overflow: hidden;
}
.cta::before {
    content: ''; position: absolute; inset: -40% -10% auto auto;
    width: 60%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(196,36,56,0.35), transparent 70%);
    pointer-events: none;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-family: 'Newsreader', serif; font-weight: 500; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.02em; }
.cta p { color: rgba(255,255,255,0.7); margin: 1rem auto 2.2rem; max-width: 44ch; }
.btn-whatsapp {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: #25D366; color: #06331b; font-weight: 700;
    padding: 0.95rem 1.8rem; border-radius: 12px;
    transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
}
.btn-whatsapp:hover { transform: translateY(-2px); filter: brightness(1.06); }

/* ---------- Social links (redes oficiales) ---------- */
.social-row { display: flex; align-items: center; justify-content: center; gap: 0.7rem; margin-top: 1.8rem; }
.social-icon {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
    transition: transform 0.2s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.social-icon:hover { color: var(--cherry-ink); border-color: var(--cherry-ink); transform: translateY(-3px); }
.social-icon:active { transform: translateY(-1px) scale(0.96); }

/* Variante para fondos oscuros (CTA de contacto) */
.social-row--invert .social-icon {
    background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.75);
}
.social-row--invert .social-icon:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }

/* Variante compacta del footer */
.footer-social { gap: 0.5rem; margin-top: 0; }
.footer-social .social-icon { width: 36px; height: 36px; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
    position: fixed; right: 26px; bottom: 26px; z-index: 900;
    width: 56px; height: 56px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    background: #25D366; color: #fff;
    box-shadow: 0 10px 30px rgba(37,211,102,0.35);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 36px rgba(37,211,102,0.45); }

/* ---------- Footer ---------- */
.footer { padding: 3rem 6vw; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-inner p { color: var(--ink-muted); font-size: 0.88rem; }
.footer-top { font-size: 0.88rem; color: var(--ink-soft); transition: color 0.25s var(--ease); }
.footer-top:hover { color: var(--cherry-ink); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.in {
    opacity: 1; transform: none;
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: calc(var(--i, 0) * 90ms);
}
/* Animación de texto (palabra / letra por letra) */
.anim-words .w, .anim-chars .c {
    display: inline-block;
    opacity: 0; transform: translateY(0.5em); filter: blur(6px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), filter 0.6s var(--ease);
    transition-delay: calc(var(--wi, 0) * 42ms);
}
.anim-words.in .w, .anim-chars.in .c { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.in { opacity: 1 !important; transform: none !important; transition: none !important; }
    .anim-words .w, .anim-chars .c { opacity: 1 !important; transform: none !important; filter: none !important; }
    .ambient { animation: none; }
    .device-frame { animation: none !important; }
    html { scroll-behavior: auto; }
}

@media (prefers-reduced-transparency: reduce) {
    .btn-solid {
        background: var(--ink);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .btn-ghost {
        background: var(--surface);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .btn-outline {
        background: var(--surface);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .btn-nav {
        background: var(--ink);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {

    /* Servicios: carrusel a lo ancho de la pantalla en móvil/tablet */
    .devices {
        justify-content: flex-start;
        margin-inline: -5vw; padding: 0.5rem 5vw 1.25rem;
        scroll-padding-inline: 5vw;
    }
    .device--phone  { --dw: 250px; }
    .device--laptop { --dw: 420px; }
    .device--tablet { --dw: 290px; }

    .hero { padding-top: 6rem; min-height: auto; }
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-inner { max-width: none; }
    /* Sin cerezas al apilar: imagen normal apaisada */
    .hero-media { max-width: 460px; margin: 0 auto; width: 100%; aspect-ratio: auto; }
    .cherry-art, .cherry-b, .cherry-gloss { display: none; }
    .cherry-a { position: static; width: 100%; aspect-ratio: auto; }
    .hero-media .carousel-viewport {
        aspect-ratio: 16 / 11;
        border: 1px solid var(--line); border-radius: 20px;
        box-shadow: 0 24px 50px rgba(0,0,0,0.06);
    }
    .cherry-a .carousel-dots { position: static; transform: none; margin-top: 1.1rem; }
}

/* ---------- Mobile menu (<= 720px) ---------- */
@media (max-width: 720px) {
    .navbar { padding: 0.9rem 5vw; }
    .burger { display: flex; position: relative; z-index: 1001; }
    .nav-links {
        position: fixed; inset: 0 0 0 auto; width: min(82%, 340px);
        flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.4rem;
        padding: 5rem 2.2rem 2.2rem;
        background: rgba(251,251,250,0.98);
        backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
        border-left: 1px solid var(--line);
        transform: translateX(100%);
        transition: transform 0.45s var(--ease-soft);
        z-index: 1000;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { font-size: 1.25rem; }
    .btn-nav { width: 100%; text-align: center; justify-content: center; margin-top: 0.5rem; }

    body.menu-open { overflow: hidden; }
    body.menu-open::after {
        content: ''; position: fixed; inset: 0; z-index: 999;
        background: rgba(20,18,16,0.42);
        animation: fadeIn 0.35s var(--ease);
    }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Deck de paquetes en móvil: tarjetas compactas ---------- */
@media (max-width: 720px) {
    .plan { width: min(300px, 82%); padding: 1.4rem 1.25rem; }
    .plan.pos-right { transform: translate(calc(-50% + 16%), 12px) scale(0.9); opacity: 0.35; }
    .plan.pos-left  { transform: translate(calc(-50% - 16%), 12px) scale(0.9); opacity: 0.35; }
    .plan.pos-back  { transform: translate(-50%, -16px) scale(0.84); opacity: 0.22; }

    /* Tipografía compacta para que la tarjeta no se estire */
    .plan-name { font-size: 1.35rem; }
    .plan-price { margin: 0.9rem 0 0.9rem; }
    .plan-price .amount { font-size: 2rem; }
    .plan .feature-list { gap: 0.45rem; margin-bottom: 1.1rem; }
    .plan .feature-list li { font-size: 0.82rem; padding-left: 1.4rem; }
    .plan-delivery { font-size: 0.78rem; margin-bottom: 0.35rem; }
    .plan-extra { font-size: 0.72rem; margin-bottom: 1rem; }
    .plan .btn-outline, .plan .btn-solid { padding: 0.65rem 1rem; font-size: 0.86rem; }
    .plan-badge { font-size: 0.6rem; padding: 0.32rem 0.75rem; }

    /* Flechas pegadas a los bordes */
    .deck-arrow { width: 38px; height: 38px; }
    .deck-arrow-prev { left: -8px; }
    .deck-arrow-next { right: -8px; }
}

/* ---------- Phones (<= 640px) ---------- */
@media (max-width: 640px) {
    .section { padding: 3.75rem 5vw; }
    .section-head { margin-bottom: 2.25rem; }
    .section-title { font-size: clamp(1.7rem, 7.5vw, 2.2rem); }

    .hero { padding: 5.5rem 5vw 3rem; }
    .hero-title { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
    .hero-lead { font-size: 1.05rem; margin-bottom: 2rem; }

    /* Botones a ancho completo */
    .hero-actions { flex-direction: column; gap: 0.75rem; }
    .hero-actions .btn-solid,
    .hero-actions .btn-ghost { width: 100%; justify-content: center; }

    /* Meta en 3 columnas compactas */
    .hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-top: 1.75rem; }
    .hero-meta li { font-size: 0.78rem; line-height: 1.35; }
    .hero-meta strong { font-size: 1.5rem; }

    .hero-media { max-width: 420px; }
    .slide img { aspect-ratio: 16 / 9; }
    .slide figcaption { padding: 1.7rem 1.3rem 1.1rem; }

    /* Tarjetas con menos padding */
    .concept-card { flex-basis: 80vw; max-width: 300px; padding: 1.5rem; }
    .concept-sim { flex-basis: 84vw; max-width: 330px; }

    /* Aviso de scroll en la tabla comparativa */
    .table-wrap { position: relative; }
    .table-wrap::after {
        content: 'Desliza →'; display: block; text-align: right;
        font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; letter-spacing: 0.1em;
        color: var(--ink-muted); padding: 0.5rem 0.9rem 0; text-transform: uppercase;
    }
    .compare th, .compare td { padding: 0.75rem 0.85rem; font-size: 0.82rem; }

    .accordion summary { font-size: 0.98rem; padding: 1.15rem 0.1rem; }
    .cta { border-radius: 18px; padding: 2.75rem 1.4rem; }
    .btn-whatsapp { width: 100%; justify-content: center; }
    .footer-inner { justify-content: center; text-align: center; }

    .whatsapp-float { width: 52px; height: 52px; right: 18px; bottom: 18px; }
    .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ---------- Small phones (<= 380px) ---------- */
@media (max-width: 380px) {
    .hero-title { font-size: 2.15rem; }
    .hero-meta { gap: 0.6rem; }
    .hero-meta strong { font-size: 1.3rem; }
    .plan-price .amount { font-size: 2.3rem; }
}

/* ======================================================
   Hero: carrusel como FONDO en celular (<= 720px)
   El texto va encima; la imagen ya no ocupa alto extra.
   ====================================================== */
@media (max-width: 720px) {
    .hero {
        position: relative;
        min-height: 100dvh;
        display: flex; align-items: center;
        padding: 6.5rem 6vw 3rem;
        overflow: hidden;
    }
    .hero-grid { grid-template-columns: 1fr; gap: 0; }

    /* El carrusel pasa a ser capa de fondo a pantalla completa */
    .hero-media {
        position: absolute; inset: 0; z-index: 0;
        max-width: none; width: 100%; margin: 0;
        aspect-ratio: auto;
        pointer-events: none;
        opacity: 1 !important; transform: none !important; /* anula reveal */
    }
    .cherry-art, .cherry-b, .cherry-gloss { display: none; }
    .cherry-a { position: absolute; inset: 0; width: 100%; aspect-ratio: auto; border-radius: 0; }
    .hero-media .carousel,
    .hero-media .carousel-viewport,
    .hero-media .carousel-track,
    .hero-media .slide { height: 100%; }
    .hero-media .carousel-viewport {
        border: 0; border-radius: 0; box-shadow: none; background: var(--ink);
        aspect-ratio: auto; height: 100%;
    }
    .hero-media .slide img {
        height: 100%; width: 100%; aspect-ratio: auto; object-fit: cover;
        filter: grayscale(0.25) contrast(1.03) brightness(0.9);
    }
    .hero-media .slide figcaption,
    .hero-media .carousel-dots { display: none; }

    /* Velo oscuro para legibilidad del texto */
    .hero-media::after {
        content: ''; position: absolute; inset: 0;
        background: linear-gradient(180deg,
            rgba(18,16,15,0.55) 0%,
            rgba(18,16,15,0.66) 55%,
            rgba(18,16,15,0.82) 100%);
    }

    /* Texto encima, en claro */
    .hero-inner { position: relative; z-index: 1; max-width: none; }
    .hero .eyebrow { color: #f6c9cd; }
    .hero-title { color: #fff; }
    .hero-title em { color: #ff6b7d; }
    .hero-lead { color: rgba(255,255,255,0.84); }
    .hero-meta { border-top-color: rgba(255,255,255,0.18); }
    .hero-meta strong { color: #fff; }
    .hero-meta li { color: rgba(255,255,255,0.72); }

    /* Botones legibles sobre la imagen */
    .hero-actions .btn-solid {
        background: rgba(255, 255, 255, 0.85);
        color: var(--ink);
        border-color: rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(14px) saturate(180%);
        -webkit-backdrop-filter: blur(14px) saturate(180%);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.6),
            0 4px 16px rgba(0, 0, 0, 0.2);
    }
    .hero-actions .btn-solid:hover {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(18px) saturate(200%);
        -webkit-backdrop-filter: blur(18px) saturate(200%);
    }
    .hero-actions .btn-solid .btn-arrow { background: rgba(0,0,0,0.1); }
    .hero-actions .btn-ghost {
        color: #fff;
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(12px) saturate(180%);
        -webkit-backdrop-filter: blur(12px) saturate(180%);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.15),
            0 4px 16px rgba(0, 0, 0, 0.15);
    }
    .hero-actions .btn-ghost:hover {
        background: rgba(255, 255, 255, 0.22);
        border-color: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(16px) saturate(200%);
        -webkit-backdrop-filter: blur(16px) saturate(200%);
    }
}
