/* =====================================================
   FUENTES LOCALES — N27 (Tipografía Oficial)
   ===================================================== */
@font-face {
    font-family: 'N27';
    src: url('./fonts/N27-Thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'N27';
    src: url('./fonts/N27-ThinItalic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'N27';
    src: url('./fonts/N27-ExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'N27';
    src: url('./fonts/N27-ExtraLightItalic.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'N27';
    src: url('./fonts/N27-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'N27';
    src: url('./fonts/N27-LightItalic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'N27';
    src: url('./fonts/N27-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'N27';
    src: url('./fonts/N27-RegularItalic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'N27';
    src: url('./fonts/N27-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'N27';
    src: url('./fonts/N27-MediumItalic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'N27';
    src: url('./fonts/N27-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'N27';
    src: url('./fonts/N27-BoldItalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
}

/* =====================================================
   TOKENS — Identidad Visual Universidad Norbert Wiener
   ===================================================== */
:root {
    --c-cyan: #07c8cc;
    --c-yellow: #fac93d;
    --c-blue: #00669e;
    --c-white: #ffffff;
    --c-navy-dark: #05101a;
    --c-navy-box: #0b1a24;
    --c-text: #05101a;
    --c-muted: #5a6270;
    --c-border: #dde2e8;
    --c-border-dark: rgba(255, 255, 255, 0.1);
    --c-cyan-glow: rgba(7, 200, 204, 0.35);
    --c-yellow-glow: rgba(250, 201, 61, 0.35);

    --f-sans: 'N27', system-ui, sans-serif;
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;

    --t-xs: 0.75rem;
    --t-sm: 0.875rem;
    --t-base: 1rem;
    --t-md: 1.125rem;
    --t-lg: 1.375rem;
    --t-xl: 1.75rem;
    --t-2xl: 2.25rem;
    --t-3xl: 3rem;
    --t-4xl: 3.75rem;

    --sp-xs: 0.5rem;
    --sp-sm: 1rem;
    --sp-md: 1.75rem;
    --sp-lg: 3rem;
    --sp-xl: 5rem;
    --sp-2xl: 8rem;

    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 28px;
    --r-pill: 100px;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--f-sans);
    color: var(--c-text);
    background: var(--c-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Ocultar barra de scroll en mobile */
@media (max-width: 768px) {
    html {
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE y Edge */
    }

    html::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari y Opera */
    }

    body {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    body::-webkit-scrollbar {
        display: none;
    }
}

img {
    display: block;
    max-width: 100%;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-sm);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--sp-md);
    }
}

/* =====================================================
   COMPONENTES GLOBALES
   ===================================================== */
.eyebrow {
    display: inline-block;
    font-size: var(--t-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-blue);
    margin-bottom: var(--sp-xs);
}

.eyebrow--light {
    color: var(--c-yellow);
}

.divider-line {
    width: 48px;
    height: 4px;
    background: var(--c-cyan);
    border-radius: 4px;
    margin: 0.5rem 0 var(--sp-sm);
}

.divider-line--yellow {
    background: var(--c-yellow);
}

/* ── Botones base ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2.25rem;
    border-radius: var(--r-pill);
    font-family: var(--f-sans);
    font-size: var(--t-base);
    font-weight: var(--fw-bold);
    cursor: pointer;
    border: 2px solid var(--c-blue);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-align: center;
    white-space: nowrap;
}

.btn--primary {
    background: var(--c-yellow);
    color: var(--c-blue);
    box-shadow: 4px 4px 0px var(--c-blue);
}

.btn--primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--c-blue);
    background: #f7bf28;
}

.btn--outline {
    background: transparent;
    color: var(--c-white);
    border: 2px solid var(--c-white);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* =====================================================
   TOPBAR
   ===================================================== */
.topbar {
    background: var(--c-blue);
    color: var(--c-white);
    text-align: center;
    padding: 0.55rem var(--sp-sm);
    font-size: clamp(0.7rem, 2.5vw, var(--t-sm));
    font-weight: var(--fw-medium);
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.topbar span {
    color: var(--c-yellow);
    font-weight: var(--fw-semibold);
}

/* =====================================================
   NAVBAR — MOBILE-FIRST FIX
   ===================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--c-navy-dark);
    border-bottom: 2px solid var(--c-border-dark);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.65rem var(--sp-sm);
    max-width: 1200px;
    margin: 0 auto;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: 0;
    /* permite que flexbox comprima si hace falta */
}

.navbar__logo-img {
    height: 32px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.navbar__logo-divider {
    display: none;
    width: 1.5px;
    height: 24px;
    background: var(--c-border-dark);
}

.navbar__logo-img-area {
    display: none;
    height: 30px;
    width: auto;
    object-fit: contain;
}

@media (min-width: 480px) {
    .navbar__logo-divider {
        display: block;
    }

    .navbar__logo-img-area {
        display: block;
    }

    .navbar__logo-img {
        height: 38px;
    }
}

@media (min-width: 768px) {
    .navbar__inner {
        padding: 0.75rem var(--sp-md);
    }

    .navbar__logo-img {
        height: 42px;
    }

    .navbar__logo-img-area {
        height: 32px;
    }

    .navbar__cta {
        font-size: var(--t-sm);
        padding: 0.55rem 1.4rem;
    }
}

/* CTA del navbar */
.navbar__cta {
    flex-shrink: 0;
    font-size: clamp(0.65rem, 2.5vw, var(--t-xs));
    padding: 0.45rem clamp(0.6rem, 2vw, 1.2rem);
    border-width: 2px;
    white-space: nowrap;
    border-radius: var(--r-pill);
    background: var(--c-yellow);
    color: var(--c-blue);
    border-color: var(--c-yellow);
    font-weight: var(--fw-bold);
    box-shadow: 3px 3px 0 var(--c-blue);
    transition: transform 0.2s, box-shadow 0.2s;
}

.navbar__cta:hover {
    transform: translate(-1px, -1px);
    box-shadow: 5px 5px 0 var(--c-blue);
}



/* =====================================================
   HERO
   ===================================================== */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--c-navy-dark);
    overflow: hidden;
    min-height: auto;
    display: block;
    container-type: inline-size;
}

/* ── Hero background image — full viewport behind everything ── */
.hero__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    animation: heroPhotoReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
    mix-blend-mode: normal;
}

@keyframes heroPhotoReveal {
    from { opacity: 0; transform: scale(1.04); }
    to   { opacity: 1; transform: scale(1); }
}

/* ── Interactive overlay for placing elements over the image ── */
.hero__interactive-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Temporizadores */
.hero__timer-box {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--c-navy-box);
    border-radius: var(--r-sm);
    box-sizing: border-box;
}

.hero__timer-box:nth-child(odd) {
    border: 2px solid var(--c-cyan);
    box-shadow: 4px 4px 0px var(--c-cyan);
}

.hero__timer-box:nth-child(even) {
    border: 2px solid var(--c-yellow);
    box-shadow: 4px 4px 0px var(--c-yellow);
}

.hero__timer-box--days {
    left: 10.26%;
    top: 60.093%;
    width: 6.562%;
    height: 9.907%;
}

.hero__timer-box--hours {
    left: 17.396%;
    top: 60.093%;
    width: 6.562%;
    height: 9.907%;
}

.hero__timer-box--minutes {
    left: 24.583%;
    top: 60.093%;
    width: 6.562%;
    height: 9.907%;
}

.hero__timer-box--seconds {
    left: 31.823%;
    top: 60.093%;
    width: 6.562%;
    height: 9.907%;
}

.hero__timer-val {
    display: block;
    font-weight: var(--fw-bold);
    color: var(--c-white);
    line-height: 1.1;
    font-size: clamp(14px, 3.2cqw, 54px);
    font-variant-numeric: tabular-nums;
    font-family: var(--f-sans);
}

.hero__timer-lbl {
    display: block;
    text-transform: uppercase;
    font-weight: var(--fw-semibold);
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(7px, 0.85cqw, 14px);
    margin-top: 0.2cqw;
    font-family: var(--f-sans);
    letter-spacing: 0.05em;
}

/* Botones interactivos sobre la imagen */
.hero__overlay-btn {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-weight: var(--fw-bold);
    font-family: var(--f-sans);
    font-size: clamp(8px, 1.15cqw, 18px);
    border-radius: var(--r-pill);
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.hero__overlay-btn--primary {
    left: 10.26%;
    top: 73.148%;
    width: 16.302%;
    height: 7.5%;
    background: var(--c-yellow);
    color: var(--c-blue);
    border: 2px solid var(--c-blue);
    box-shadow: 4px 4px 0px var(--c-blue);
}

.hero__overlay-btn--primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--c-blue);
    background: #f7bf28;
}

.hero__overlay-btn--outline {
    left: 27.448%;
    top: 73.148%;
    width: 10.938%;
    height: 7.5%;
    background: var(--c-navy-box);
    color: var(--c-white);
    border: 2px solid var(--c-white);
}

.hero__overlay-btn--outline:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hero__overlay-btn:active {
    transform: scale(0.98);
}

@keyframes overlayFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ── Vector pieces container ── */
.hero__vectors {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.hero__vp {
    position: absolute;
    mix-blend-mode: screen;
    opacity: 0.7;
    transition: none;
    will-change: transform, opacity;
}

/* Each piece positioned and sized to form the complete shape */
.hero__vp--main {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left bottom;
    transform-origin: left bottom;
}

.hero__vp--1 {
    right: 0;
    bottom: 0;
    width: 65%;
    height: 66%;
    object-fit: contain;
    object-position: right bottom;
    transform-origin: right bottom;
}

.hero__vp--2 {
    right: 0;
    top: 0;
    width: 50%;
    height: 63%;
    object-fit: contain;
    object-position: right top;
    transform-origin: right top;
}

.hero__vp--3 {
    left: 5%;
    top: 5%;
    width: 12%;
    height: 25%;
    object-fit: contain;
    object-position: left top;
    transform-origin: left top;
}

.hero__vp--4 {
    left: 55%;
    bottom: 20%;
    width: 6%;
    height: 7%;
    object-fit: contain;
    object-position: center;
    transform-origin: center;
}

.hero__vp--5 {
    left: 60%;
    bottom: 38%;
    width: 3%;
    height: 0.5%;
    object-fit: contain;
    object-position: center;
    transform-origin: center;
}

/* Entry animation - each piece slides/fades in from its own direction */
.hero__vp--main { animation: vpMainEnter 1.2s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero__vp--1    { animation: vp1Enter    1.4s cubic-bezier(0.16, 1, 0.3, 1) both 0.1s; }
.hero__vp--2    { animation: vp2Enter    1.5s cubic-bezier(0.16, 1, 0.3, 1) both 0.2s; }
.hero__vp--3    { animation: vp3Enter    1.3s cubic-bezier(0.16, 1, 0.3, 1) both 0.3s; }
.hero__vp--4    { animation: vp4Enter    1.1s cubic-bezier(0.16, 1, 0.3, 1) both 0.4s; }
.hero__vp--5    { animation: vp5Enter    1.0s cubic-bezier(0.16, 1, 0.3, 1) both 0.5s; }

@keyframes vpMainEnter {
    from { transform: translateX(-120px) rotate(-3deg); opacity: 0; }
    to   { transform: translateX(0) rotate(0deg); opacity: 0.7; }
}
@keyframes vp1Enter {
    from { transform: translateX(100px) rotate(4deg); opacity: 0; }
    to   { transform: translateX(0) rotate(0deg); opacity: 0.7; }
}
@keyframes vp2Enter {
    from { transform: translateY(-80px) rotate(-5deg); opacity: 0; }
    to   { transform: translateY(0) rotate(0deg); opacity: 0.7; }
}
@keyframes vp3Enter {
    from { transform: translateY(-60px) rotate(8deg); opacity: 0; }
    to   { transform: translateY(0) rotate(0deg); opacity: 0.7; }
}
@keyframes vp4Enter {
    from { transform: scale(0.3); opacity: 0; }
    to   { transform: scale(1); opacity: 0.7; }
}
@keyframes vp5Enter {
    from { transform: scaleX(0); opacity: 0; }
    to   { transform: scaleX(1); opacity: 0.7; }
}

@media (max-width: 767px) {
    .hero__vectors {
        width: 100%;
        height: 45%;
        top: auto;
        bottom: 0;
    }
    .hero__vp {
        opacity: 0.35;
    }
}

/* ── Particles ── */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle 1px at 15% 25%, rgba(7,200,204,0.4) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 75% 15%, rgba(250,201,61,0.5) 0%, transparent 100%),
        radial-gradient(circle 1px at 88% 70%, rgba(7,200,204,0.3) 0%, transparent 100%),
        radial-gradient(circle 2px at 30% 80%, rgba(250,201,61,0.3) 0%, transparent 100%),
        radial-gradient(circle 1px at 60% 45%, rgba(255,255,255,0.2) 0%, transparent 100%);
    z-index: 5;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 6;
    padding: var(--sp-xl) 0;
    max-width: 680px;
}

@media (max-width: 767px) {
    .hero__content {
        padding-top: var(--sp-lg);
        padding-bottom: 48%;
    }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.3);
    color: var(--c-white);
    padding: 0.4rem 1rem;
    border-radius: var(--r-pill);
    font-size: var(--t-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: var(--sp-md);
}

.hero__badge-dot {
    width: 7px; height: 7px;
    background: var(--c-yellow);
    border-radius: 50%;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0%,100% { opacity:1; transform:scale(1); }
    50% { opacity:0.5; transform:scale(0.8); }
}

.hero__heading {
    font-family: var(--f-sans);
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    font-weight: var(--fw-bold);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-sm);
    color: var(--c-navy-dark);
    text-wrap: balance;
    text-transform: uppercase;
}

.hero__heading strong {
    font-weight: var(--fw-bold);
    color: var(--c-blue);
    display: block;
}

.hero__heading-highlight {
    color: var(--c-white);
}

.hero__sub {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: var(--fw-regular);
    color: var(--c-white);
    max-width: 540px;
    margin-bottom: var(--sp-md);
    line-height: 1.2;
    letter-spacing: 0.20px;
    text-wrap: balance;
}

.hero__note {
    font-size: 16px;
    font-weight: 900;
    line-height: 1.6;
    color: var(--c-white);
    margin-bottom: var(--sp-md);
}

.badge-yellow {
    display: inline-block;
    background-color: var(--c-yellow);
    color: var(--c-navy-dark);
    padding: 0.25rem 0.75rem;
    border-radius: var(--r-pill);
    font-size: 0.8rem;
    font-weight: var(--fw-bold);
    margin-top: 0.25rem;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
    align-items: flex-start;
    margin-top: var(--sp-md);
}

@media (min-width: 480px) {
    .hero__actions {
        flex-direction: row;
        align-items: center;
    }
}

/* Ajustes de botones dentro del Hero */
.hero .btn--outline {
    color: var(--c-white);
    border-color: var(--c-white);
}

.hero .btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* =====================================================
   COUNTDOWN
   ===================================================== */
.countdown-container {
    display: flex;
    gap: 0.75rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--c-navy-box);
    border: 2px solid var(--c-cyan);
    border-radius: var(--r-sm);
    padding: 0.75rem 0.85rem;
    min-width: 70px;
    text-align: center;
    box-shadow: 4px 4px 0px var(--c-cyan);
    flex: 1 1 calc(25% - 0.75rem);
    max-width: 90px;
}

.countdown-item:nth-child(even) {
    border-color: var(--c-yellow);
    box-shadow: 4px 4px 0px var(--c-yellow);
}

.countdown-value {
    display: block;
    font-size: clamp(1.4rem, 5vw, var(--t-xl));
    font-weight: var(--fw-bold);
    color: var(--c-white);
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.countdown-label {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.2rem;
}



/* =====================================================
   SECCIÓN INFORMACIÓN CLAVE — REDISEÑO TOTAL
   ===================================================== */
/* =====================================================
   SECCIÓN INFORMACIÓN CLAVE — REDISEÑO TOTAL A TIMELINE SIN IMÁGENES
   ===================================================== */
.event-details {
    padding: var(--sp-lg) 0;
    background:
        linear-gradient(175deg,
            #ffffff 0%,
            #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

/* Fondo decorativo con formas SVG inline */
.event-details::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -120px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(7, 200, 204, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.event-details::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -80px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 102, 158, 0.07) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.details-timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Ajustes de alineación de textos en desktop */
.text-center-desktop {
    text-align: center;
}

.divider-line--centered {
    margin: 0.5rem auto var(--sp-sm) !important;
}

.section-desc {
    font-size: var(--t-base);
    color: #2d3748;
    /* Mayor contraste de texto */
    margin: var(--sp-xs) auto var(--sp-sm);
    max-width: 600px;
    line-height: 1.6;
}

/* ── Wrapper de tarjetas ── */
.info-clave-wrapper {
    position: relative;
    padding: 1rem 0 2rem 0;
}

/* ── Lista de Información Minimalista (Sin tarjetas/cajas) ── */
.details-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    z-index: 2;
    margin-top: 1.5rem;
}

@media (min-width: 576px) {
    .details-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 2rem;
    }
}

@media (min-width: 992px) {
    .details-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem 1.5rem;
    }
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
    width: 100%;
}

@media (min-width: 576px) {
    .detail-item {
        align-items: flex-start;
        text-align: left;
    }
}

.detail-item__icon {
    font-size: 1.5rem;
    background: rgba(0, 102, 158, 0.07);
    color: var(--c-blue);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.detail-item:hover .detail-item__icon {
    transform: scale(1.08);
    background: rgba(7, 200, 204, 0.12);
}

.icon-svg {
    width: 22px;
    height: 22px;
    stroke: var(--c-blue);
    transition: stroke 0.25s ease;
}

.detail-item:hover .icon-svg {
    stroke: var(--c-cyan);
}

.detail-item__content h3 {
    font-size: var(--t-md);
    font-weight: var(--fw-semibold);
    color: var(--c-blue);
    margin-bottom: 0.2rem;
}

.detail-item__content p {
    font-size: var(--t-sm);
    color: #4a5568;
    line-height: 1.5;
}



/* =====================================================
   BENEFICIOS SINTETIZADOS (benefits-summary)
   ===================================================== */
.benefits-summary {
    margin-top: var(--sp-xl);
    padding: var(--sp-lg) var(--sp-sm);
    background: var(--c-navy-box);
    border-radius: var(--r-md);
    border: 2px solid var(--c-cyan-glow);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    color: var(--c-white);
    text-align: left;
}

.benefits-summary__title {
    font-size: var(--t-xl);
    font-weight: var(--fw-bold);
    color: var(--c-yellow);
    margin-bottom: var(--sp-md);
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-md);
}

@media (min-width: 576px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.benefit-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--c-border-dark);
    border-radius: var(--r-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    border-color: var(--c-cyan);
    box-shadow: 0 10px 20px rgba(7, 200, 204, 0.1);
}

.benefit-item__img-wrapper {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-bottom: 1.5px solid var(--c-border-dark);
    background: #06131c;
}

.benefit-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.5s ease;
}

.benefit-item:hover .benefit-item__img {
    transform: scale(1.06);
    opacity: 0.95;
}

.benefit-item__content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.benefit-item h4 {
    font-size: var(--t-md);
    font-weight: var(--fw-semibold);
    color: var(--c-cyan);
    margin: 0;
}

.benefit-item p {
    font-size: var(--t-sm);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
    margin: 0;
}


/* =====================================================
   SECCIÓN DE PREGUNTAS FRECUENTES (FAQs)
   ===================================================== */
.faq-section {
    margin-top: var(--sp-2xl);
    text-align: center;
}

.faq-accordion {
    max-width: 800px;
    margin: var(--sp-lg) auto 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    border: 1px solid var(--c-border);
    border-radius: var(--r-sm);
    background: var(--c-white);
    overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item:hover {
    border-color: var(--c-blue);
    box-shadow: 0 4px 12px rgba(0, 102, 158, 0.05);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 1.1rem 1.5rem;
    font-family: var(--f-sans);
    font-size: var(--t-base);
    font-weight: var(--fw-semibold);
    color: var(--c-blue);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background-color 0.25s;
}

.faq-question:hover {
    background-color: rgba(7, 200, 204, 0.05);
}

.faq-icon {
    width: 18px;
    height: 18px;
    position: relative;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--c-blue);
    transition: transform 0.25s ease;
}

/* Horizontal line */
.faq-icon::before {
    top: 8px;
    left: 0;
    width: 18px;
    height: 2px;
}

/* Vertical line */
.faq-icon::after {
    top: 0;
    left: 8px;
    width: 2px;
    height: 18px;
}

.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: rotate(90deg);
}

.faq-question[aria-expanded="true"] .faq-icon::before {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
    border-top: 1px solid transparent;
}

.faq-answer[aria-hidden="false"] {
    max-height: 500px;
    /* Suficiente para el contenido */
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--c-border);
}

.faq-answer p {
    font-size: var(--t-sm);
    color: var(--c-muted);
    line-height: 1.6;
}

.faq-answer strong {
    color: var(--c-blue);
}


/* =====================================================
   STICKY FLOATING CTA BUTTON
   ===================================================== */
.btn-floating-cta {
    position: fixed;
    bottom: var(--sp-sm);
    right: var(--sp-sm);
    z-index: 150;
    background: var(--c-yellow);
    color: var(--c-blue);
    padding: 0.85rem 1.75rem;
    border-radius: var(--r-pill);
    font-weight: var(--fw-bold);
    font-size: var(--t-base);
    box-shadow: 0 8px 24px rgba(250, 201, 61, 0.4), 4px 4px 0 var(--c-blue);
    border: 2px solid var(--c-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s, opacity 0.25s, box-shadow 0.25s;
    opacity: 0;
    transform: translateY(100px) scale(0.9);
    pointer-events: none;
}

.btn-floating-cta.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.btn-floating-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(250, 201, 61, 0.5), 6px 6px 0 var(--c-blue);
}

@media (max-width: 767px) {
    .btn-floating-cta {
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        border-width: 2px 0 0 0;
        box-shadow: 0 -4px 16px rgba(5, 16, 26, 0.15);
        padding: 1.1rem;
        font-size: var(--t-md);
        transform: translateY(100%);
    }

    .btn-floating-cta.is-visible {
        transform: translateY(0);
    }
}


/* =====================================================
   PRE-REGISTRO — Degradado de blanco a azul claro
   ===================================================== */
.preregister {
    padding: var(--sp-xl) 0;
    /* Degradado suave: azul claro → blanco */
    background:
        linear-gradient(170deg,
            #eaf4fb 0%,
            #f2f8fd 40%,
            #f8fafc 100%);
    position: relative;
}

/* Aura decorativa */
.preregister::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(7, 200, 204, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.preregister__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
}

@media (min-width: 900px) {
    .preregister__inner {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.preregister__headline h2 {
    font-size: clamp(var(--t-xl), 4vw, var(--t-2xl));
    font-weight: var(--fw-light);
    line-height: 1.2;
    color: var(--c-navy-dark);
}

.preregister__headline h2 strong {
    font-weight: var(--fw-bold);
    color: var(--c-blue);
}

.preregister__headline p {
    font-size: var(--t-base);
    color: var(--c-muted);
    margin-top: var(--sp-xs);
    margin-bottom: var(--sp-md);
}

.preregister__benefits {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.preregister__benefit {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: var(--t-sm);
    color: var(--c-text);
    font-weight: var(--fw-medium);
    padding: 0.6rem 0.85rem;
    border-radius: var(--r-sm);
    background: rgba(7, 200, 204, 0.05);
    border: 1px solid rgba(7, 200, 204, 0.15);
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.preregister__benefit:hover {
    background: rgba(7, 200, 204, 0.1);
    border-color: rgba(7, 200, 204, 0.3);
    transform: translateX(4px);
}

.preregister__benefit-dot {
    width: 9px;
    height: 9px;
    background: var(--c-cyan);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 6px rgba(7, 200, 204, 0.5);
}

.preregister__form-block {
    background: var(--c-white);
    border-radius: var(--r-md);
    padding: var(--sp-lg);
    border: 2px solid var(--c-blue);
    box-shadow: 8px 8px 0px var(--c-yellow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.preregister__form-block:hover {
    transform: translateY(-3px);
    box-shadow: 11px 11px 0px var(--c-yellow);
}

.preregister__form-block h3 {
    font-size: var(--t-lg);
    font-weight: var(--fw-bold);
    color: var(--c-blue);
    margin-bottom: 0.5rem;
}

.preregister__form-block p {
    font-size: var(--t-sm);
    color: var(--c-muted);
    margin-bottom: var(--sp-md);
}

.form-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-sm);
}

.form-note {
    font-size: var(--t-xs);
    color: var(--c-muted);
    text-align: center;
}

/* =====================================================
   BOTÓN REGISTRO — ÉPICO con RIPPLE
   ===================================================== */
.btn--register-cta {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.95rem 2rem;
    border-radius: var(--r-pill);
    background: var(--c-yellow);
    color: var(--c-blue);
    border: 2px solid var(--c-blue);
    font-family: var(--f-sans);
    font-weight: var(--fw-bold);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-shadow: 4px 4px 0px var(--c-blue);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--register-cta:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--c-blue);
    background: #f7bf28;
}

.btn--register-cta:active {
    transform: translate(0, 0);
    box-shadow: 2px 2px 0 var(--c-blue);
}

.btn--register-cta__main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--t-base);
    font-weight: var(--fw-bold);
    color: var(--c-blue);
}

.btn-arrow {
    transition: transform 0.2s ease;
}

.btn--register-cta:hover .btn-arrow {
    transform: translateX(4px);
}

.btn--register-cta__sub {
    display: none;
}

/* Ripple */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 102, 158, 0.16);
    transform: scale(0);
    animation: ripple-anim 0.7s linear;
    pointer-events: none;
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* =====================================================
   FOOTER — Degradado azul profundo
   ===================================================== */
.footer {
    background:
        linear-gradient(170deg,
            #00669e 0%,
            #005585 50%,
            #004470 100%);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--sp-lg) 0 var(--sp-md);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--c-cyan), var(--c-yellow), var(--c-cyan));
}

.footer::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(7, 200, 204, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-md);
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .footer__inner {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
}

.footer__brand-logos {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer__logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer__logo-divider {
    width: 1.5px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
}

.footer__logo-img-area {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer__brand p {
    font-size: var(--t-sm);
    line-height: 1.6;
    margin-top: 0.5rem;
    max-width: 320px;
}

.footer__col h4 {
    font-size: var(--t-sm);
    font-weight: var(--fw-bold);
    color: var(--c-white);
    margin-bottom: 0.75rem;
}

.footer__col ul {
    list-style: none;
}

.footer__col li+li {
    margin-top: 0.5rem;
}

.footer__col a {
    font-size: var(--t-sm);
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer__col a:hover {
    color: var(--c-cyan);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--sp-md);
    padding-top: var(--sp-sm);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: var(--t-xs);
    color: rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* =====================================================
   MOBILE RESPONSIVE — Ajustes adicionales
   ===================================================== */
@media (max-width: 767px) {

    /* Timeline con la línea animada y nodos centrados en celular */
    .details-timeline-container {
        padding: 0 var(--sp-xs);
    }

    .details-cards {
        gap: 3.5rem;
        /* Espaciado suficiente para visualizar la línea central */
        align-items: center;
    }

    .detail-card {
        width: 90% !important;
        /* Tarjeta más pequeña/angosta en mobile para centrarse */
        max-width: 480px;
        align-self: center !important;
        text-align: center !important;
        flex-direction: column !important;
        /* Estructura vertical */
        align-items: center !important;
        padding: 1.25rem 1rem;
        /* Entran desde abajo */
        transform: translateY(55px) scale(0.96) !important;
    }

    .detail-card__icon {
        margin: 0 auto 0.5rem !important;
    }

    /* Hover en mobile: tap feedback */
    .detail-card:active {
        transform: scale(0.98) !important;
        box-shadow: 2px 2px 0 var(--c-cyan) !important;
    }

    .btn--register-cta {
        padding: 1rem 1.25rem;
    }

    .hero {
        min-height: auto;
        aspect-ratio: 16 / 9;
    }

    .hero__photo {
        object-position: center;
    }

    .hero__timer-box {
        border-radius: 6px;
    }

    .hero__timer-box:nth-child(odd) {
        border-width: 1.5px;
        box-shadow: 2.5px 2.5px 0px var(--c-cyan);
    }

    .hero__timer-box:nth-child(even) {
        border-width: 1.5px;
        box-shadow: 2.5px 2.5px 0px var(--c-yellow);
    }

    .hero__timer-val {
        font-family: system-ui, -apple-system, sans-serif;
        font-size: clamp(8px, 3cqw, 14px);
    }

    .hero__timer-lbl {
        font-family: system-ui, -apple-system, sans-serif;
        font-size: clamp(4px, 0.8cqw, 7px);
        margin-top: 0.1cqw;
    }

    .hero__overlay-btn {
        font-size: clamp(5px, 1cqw, 8px);
    }

    .hero__overlay-btn--primary {
        border-width: 1.5px;
        box-shadow: 2.5px 2.5px 0px var(--c-blue);
    }

    .hero__overlay-btn--primary:hover {
        transform: translate(-1.5px, -1.5px);
        box-shadow: 4px 4px 0px var(--c-blue);
    }

    .hero__overlay-btn--outline {
        border-width: 1.5px;
    }
}