/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette - Monochrome B&W */
    --color-bg-dark: #000000;
    --color-bg-card: rgba(12, 12, 12, 0.85);
    --color-primary: #ffffff;
    --color-primary-glow: rgba(255, 255, 255, 0.35);
    --color-primary-hover: #e0e0e0;
    --color-gold: #cccccc;
    --color-gold-glow: rgba(255, 255, 255, 0.2);
    --color-gold-hover: #ffffff;
    --color-text-main: #ffffff;
    --color-text-muted: #aaaaaa;
    --color-border: rgba(255, 255, 255, 0.12);
    --color-border-glow: rgba(255, 255, 255, 0.15);

    /* Fonts */
    --font-titles: 'Cinzel', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Transitions & Shadows */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --glass-blur: blur(12px);

    /* Mobile hero fluid layout */
    --header-offset: calc(4.75rem + env(safe-area-inset-top, 0px));
    --hero-gap: clamp(0.5rem, 1.8vh, 1.25rem);
    --hero-title-max-h: clamp(120px, 28vw, 220px);
}

@media (min-width: 769px) {
    :root {
        --header-offset: calc(2.4rem + 40px + 2px + env(safe-area-inset-top, 0px));
    }
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-offset, calc(5rem + env(safe-area-inset-top, 0px)));
    font-size: 16px;
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    font-family: var(--font-body);
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Style */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Canvas background for fire particle effect */
#ember-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

main {
    position: relative;
    z-index: 1;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    border: 1px solid #ffffff;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background: #e0e0e0;
    color: #000000;
    border-color: #e0e0e0;
    box-shadow: 0 6px 30px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-secondary-outline {
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-secondary-outline:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
}

.btn-md {
    padding: 1rem 2rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 0.95rem;
    width: auto;
}

.btn-full {
    width: 100%;
    padding: 1.1rem;
    font-size: 0.9rem;
}

/* Pulse animation for CTA buttons */
@keyframes btnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.pulse-animation {
    animation: btnPulse 2s infinite;
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding-top: env(safe-area-inset-top, 0px);
    background: rgba(8, 8, 10, 0.75);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background: rgba(8, 8, 10, 0.95);
    padding: 0.5rem 0;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-title-img {
    height: 40px;
    width: auto;
    display: block;
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
}

.nav-link:hover {
    color: #ffffff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    transition: var(--transition-smooth);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-bg-dark);
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-family: var(--font-titles);
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-main);
}

.mobile-link:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .main-nav, .header-cta {
        display: none;
    }
    .header-container {
        padding: 0.85rem 1.25rem;
    }
    .logo-title-img {
        height: 32px;
    }
    .container {
        padding: 0 1rem;
    }
    .hero {
        height: auto;
        min-height: unset;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: var(--header-offset);
        padding-bottom: clamp(2rem, 5vh, 3rem);
        overflow: visible;
    }
    .hero-content {
        width: 100%;
        padding-top: 0.35rem;
    }
    .hero-tagline {
        font-size: clamp(0.62rem, 2.8vw, 0.72rem);
        letter-spacing: 0.12em;
        line-height: 1.4;
        margin-bottom: var(--hero-gap);
    }
    .hero-title-img {
        max-width: 92vw;
        max-height: var(--hero-title-max-h);
        width: auto;
        object-fit: contain;
        margin-bottom: var(--hero-gap);
    }
    .hero-desc {
        font-size: clamp(0.82rem, 3.5vw, 0.95rem);
        line-height: 1.55;
        margin-bottom: var(--hero-gap);
    }
    .hero-desc:last-of-type {
        margin-bottom: clamp(1.25rem, 3vh, 1.75rem);
    }
    .hero-buttons {
        width: 100%;
    }
    .hero-buttons .btn-lg {
        width: 100%;
        max-width: 100%;
        padding: 0.95rem 1.15rem;
        font-size: clamp(0.72rem, 3.2vw, 0.85rem);
        letter-spacing: 0.06em;
        line-height: 1.35;
        text-wrap: balance;
    }
    .hero-cta-text {
        display: inline-block;
        max-width: 100%;
    }
    .scroll-down-arrow {
        display: none;
    }
    .countdown-section {
        margin-top: 0;
        padding-top: 1.5rem;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 768px) and (max-height: 740px) {
    :root {
        --hero-title-max-h: clamp(90px, 22vw, 160px);
        --hero-gap: clamp(0.4rem, 1.4vh, 0.85rem);
    }

    .hero {
        padding-bottom: clamp(1.5rem, 4vh, 2.25rem);
    }

    .hero-desc:last-of-type {
        margin-bottom: 1rem;
    }

    .hero-buttons .btn-lg {
        font-size: 0.72rem;
        padding: 0.85rem 1rem;
    }
}

@media (max-width: 380px) {
    .hero-tagline {
        letter-spacing: 0.08em;
    }

    .countdown-grid {
        gap: 0.35rem;
    }

    .countdown-item {
        min-width: 48px;
    }

    .countdown-item .number {
        font-size: 1.35rem;
    }

    .countdown-item .label {
        font-size: 0.52rem;
    }

    .countdown-divider {
        font-size: 1.1rem;
        margin-top: -0.65rem;
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding-top: var(--header-offset);
    padding-bottom: clamp(2rem, 4vh, 3.5rem);
    overflow: hidden;
    height: auto;
    min-height: 0;
}

@media (min-width: 769px) {
    .hero {
        min-height: 100dvh;
    }

    .hero-content {
        padding-top: clamp(0.75rem, 3vh, 2.25rem);
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 0;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: var(--header-offset);
        padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
        overflow: visible;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/apocalypse_ba_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(12px) brightness(0.3);
    z-index: 0;
    transform: scale(1.05);
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    z-index: 1;
    transform: none;
    object-fit: cover;
    pointer-events: none;
    opacity: 0;
    filter: brightness(0.45);
    transition: opacity 1.2s ease;
}

.hero-video-bg.is-playing {
    opacity: 1;
}

.hero-video-bg.is-failed {
    display: none;
}

.hero.hero-video-failed::before {
    filter: blur(12px) brightness(0.3);
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.95) 90%),
                linear-gradient(to bottom, rgba(0,0,0,0.3), var(--color-bg-dark));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
}

.hero-tagline {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-title-img {
    max-width: min(92vw, 620px);
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
    object-fit: contain;
    background: transparent;
}

.hero-title {
    font-family: var(--font-titles);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 2rem;
}

.title-glow {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.highlight-text {
    color: #ffffff;
}

.hero-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    max-width: 750px;
    font-weight: 300;
    line-height: 1.6;
}

.hero-desc:last-of-type {
    margin-bottom: 3rem;
}

.hero-emoji {
    display: inline-block;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
}

.scroll-down-arrow {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: arrowBounce 2s infinite;
}

.scroll-down-arrow a {
    color: var(--color-text-muted);
    font-size: 1.5rem;
}

.scroll-down-arrow a:hover {
    color: #ffffff;
}

@keyframes arrowBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* ==========================================================================
   COUNTDOWN SECTION
   ========================================================================== */
.countdown-section {
    padding: 3rem 0;
    position: relative;
    z-index: 2;
    margin-top: -3rem;
}

.countdown-wrapper {
    background: var(--color-bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--color-border);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--glass-shadow);
    border-top: 2px solid var(--color-primary);
}

.countdown-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-weight: 500;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    min-width: 90px;
}

.countdown-item .number {
    font-family: var(--font-titles);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(180deg, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.countdown-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    font-weight: 600;
}

.countdown-divider {
    font-family: var(--font-titles);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--color-primary);
    opacity: 0.7;
    margin-top: -1.5rem;
}

@media (max-width: 768px) {
    .countdown-section {
        padding: 1.5rem 0;
        margin-top: 0;
    }

    .countdown-wrapper {
        padding: 1.25rem 1rem;
    }

    .countdown-title {
        font-size: 0.75rem;
        margin-bottom: 1rem;
        letter-spacing: 0.15em;
    }
}

@media (max-width: 576px) {
    .countdown-section {
        padding: 1rem 0;
        margin-top: 0;
    }

    .countdown-wrapper {
        padding: 0.9rem 0.5rem;
    }

    .countdown-title {
        font-size: 0.65rem;
        margin-bottom: 0.75rem;
        letter-spacing: 0.1em;
    }

    .countdown-grid {
        gap: 0.35rem;
    }
    .countdown-item {
        min-width: 50px;
    }
    .countdown-item .number {
        font-size: 1.45rem;
        margin-bottom: 0.25rem;
    }
    .countdown-item .label {
        font-size: 0.55rem;
        letter-spacing: 0.04em;
    }
    .countdown-divider {
        font-size: 1.2rem;
        margin-top: -0.75rem;
    }
}

/* ==========================================================================
   MANIFIESTO SECTION
   ========================================================================== */
/* Globals for Section Headers */
.section-header {
    margin-bottom: 2.5rem;
}

.section-header.center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.accent-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-primary);
    font-weight: 700;
    display: block;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-titles);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.section-desc {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-top: 1rem;
    font-weight: 300;
}

.manifiesto-section {
    padding: 3.5rem 0;
    position: relative;
    z-index: 2;
}

.manifiesto-header-full {
    margin-bottom: 2rem;
    max-width: none;
}

.manifiesto-header-full .section-title {
    max-width: none;
}

.manifiesto-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
    align-items: start;
    width: 100%;
}

.manifiesto-text {
    min-width: 0;
}

.manifiesto-text p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.manifiesto-text p:last-child {
    margin-bottom: 0;
}

.manifiesto-text p strong {
    color: #fff;
}

.lead-text {
    font-size: 1.25rem !important;
    color: #fff !important;
    line-height: 1.5;
    font-weight: 400 !important;
}

.manifiesto-highlight-full {
    margin-top: 2rem;
    width: 100%;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.05);
    border-left: 3px solid var(--color-primary);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.warning-icon {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.highlight-box span {
    font-size: 0.9rem;
    color: var(--color-text-main);
    font-weight: 500;
}

.manifiesto-visual {
    min-width: 0;
    width: 100%;
}

.image-frame {
    position: relative;
    width: 100%;
    border-radius: 12px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
}

.manifiesto-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 520px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    display: block;
    filter: brightness(0.85) contrast(1.1);
    transition: var(--transition-smooth);
}

@media (max-width: 768px) {
    .manifiesto-split {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .manifiesto-img {
        max-height: 420px;
    }
}

.image-frame:hover .manifiesto-img {
    filter: brightness(0.95) contrast(1.15);
}

.frame-decor {
    position: absolute;
    top: -10px;
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    border: 1px solid var(--color-gold);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.25;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.image-frame:hover .frame-decor {
    transform: scale(0.98);
    opacity: 0.5;
    border-color: var(--color-gold-hover);
}

/* ==========================================================================
   ROADMAP / TIMELINE SECTION
   ========================================================================== */
.timeline-section {
    padding: 3.5rem 0;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, var(--color-bg-dark), rgba(255, 255, 255, 0.03) 50%, var(--color-bg-dark));
}

.timeline {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, 
                transparent, 
                var(--color-primary) 10%, 
                var(--color-gold) 90%, 
                transparent);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    width: 100%;
    padding-top: 2rem; /* Espacio superior para el icono flotante */
    padding-bottom: 2.5rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: 50%;
    top: 0; /* Flota arriba centrado exactamente sobre la tarjeta */
    transform: translate(-50%, -20%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-bg-dark);
    border: 2px solid var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    z-index: 3;
    box-shadow: 0 0 15px var(--color-primary-glow);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-icon {
    border-color: var(--color-gold);
    color: var(--color-gold);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -20%) scale(1.1);
}

.timeline-content {
    background: var(--color-bg-card);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--color-border);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
    width: 100%;
    max-width: 550px;
    text-align: center; /* Todo centrado */
    transition: var(--transition-smooth);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-content:hover {
    border-color: var(--color-border-glow);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 255, 255, 0.05);
}

.time-tag {
    font-family: var(--font-titles);
    font-weight: 600;
    color: var(--color-gold);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-family: var(--font-titles);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: 0.05em;
}

.timeline-content p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
}

/* ==========================================================================
   SECRETUM SECTION
   ========================================================================== */
.secretum-section {
    padding: 2.5rem 0;
    position: relative;
    z-index: 2;
}

.producer-credit {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 2rem auto;
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.producer-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.secretum-logo-img {
    max-width: 320px;
    width: 100%;
    height: auto;
    margin: 0 auto 1.25rem auto;
    display: block;
}

.secretum-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 300;
    line-height: 1.65;
    max-width: 100%;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.value-card {
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid var(--color-border);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 1.5rem 1.25rem;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--glass-shadow);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.card-glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    opacity: 0.5;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.value-card:hover .card-glow-bg {
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-gold);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 255, 255, 0.08);
}

.value-card:nth-child(2):hover {
    border-color: var(--color-primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(255, 255, 255, 0.08);
}

.card-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.value-card:nth-child(2) .card-icon-wrapper {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--color-primary);
}

.value-card:hover .card-icon-wrapper {
    transform: scale(1.1);
    background: #ffffff;
    color: #000000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.value-card:nth-child(2):hover .card-icon-wrapper {
    background: #ffffff;
    color: #000000;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.value-card h3 {
    font-family: var(--font-titles);
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 0.6rem;
    letter-spacing: 0.05em;
}

.value-card p {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    font-weight: 300;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 420px;
    }
    .value-card {
        padding: 1.25rem 1rem;
    }
}

/* ==========================================================================
   DETAILS & MAP SECTION
   ========================================================================== */
.details-section {
    padding: 3.5rem 0;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, var(--color-bg-dark), rgba(255, 255, 255, 0.02) 50%, var(--color-bg-dark));
}

.details-list {
    list-style: none;
    margin: 2rem 0;
}

.details-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.detail-icon {
    font-size: 1.3rem;
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.detail-text strong {
    font-family: var(--font-titles);
    font-size: 1.1rem;
    color: #fff;
    display: block;
    margin-bottom: 0.25rem;
}

.detail-text p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

.details-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 3rem;
    align-items: start;
}

.details-info {
    min-width: 0;
}

.details-map-container {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--glass-shadow);
    background: #111;
}

.details-map-embed {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.details-map-embed[hidden] {
    display: none !important;
}

.details-map-image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.details-map-image-link[hidden] {
    display: none !important;
}

.details-map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.details-map-image-hint {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .details-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .details-map-container {
        height: 280px;
    }
}

.cms-hidden,
[data-cms-show][hidden],
html.cms-hide-timeline [data-cms-show="timeline.visible"],
html.cms-hide-timeline #cronograma {
    display: none !important;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta-section {
    padding: 3.5rem 0;
    position: relative;
    z-index: 2;
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.85) 100%),
                var(--color-bg-card);
    border: 1px solid var(--color-border-glow);
    padding: 5rem 3rem;
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-titles);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cta-subtitle {
    color: var(--color-text-muted);
    font-size: 1.15rem;
    margin-bottom: 3.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.cta-btn {
    max-width: 420px;
    margin: 0 auto;
    flex-direction: column;
    gap: 0.15rem;
    line-height: 1.3;
    letter-spacing: 0.06em;
}

.cta-btn-line {
    display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    position: relative;
    z-index: 2;
    background: #000000;
    border-top: 1px solid var(--color-border);
    padding: 5rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-title-img {
    max-width: 200px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    display: block;
}

.footer-producer {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
}

.footer-secretum-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
}

.footer-brand p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 300;
    max-width: 320px;
}

.footer-links h4, .footer-rules h4 {
    font-family: var(--font-titles);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-links ul, .footer-rules ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-links ul li a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-rules ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
    font-weight: 300;
}

.text-gold {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

.footer-badges {
    display: flex;
    gap: 1.5rem;
}

.footer-badges span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-credit {
    margin-top: 1.5rem;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 300;
    color: var(--color-text-muted);
}

.footer-credit a {
    color: var(--color-text-muted);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: var(--transition-smooth);
}

.footer-credit a:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ==========================================================================
   FLOATING BUTTON MOBILE
   ========================================================================== */
.floating-cta-mobile {
    position: fixed;
    bottom: 1.5rem;
    left: 1rem;
    right: 1rem;
    z-index: 90;
    transform: translateY(150%);
    transition: var(--transition-smooth);
}

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

@media (min-width: 769px) {
    .floating-cta-mobile {
        display: none;
    }
}

/* ==========================================================================
   FLOATING SOCIAL (WhatsApp derecha + Instagram izquierda)
   ========================================================================== */
.social-float {
    position: fixed;
    bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
    z-index: 95;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.85rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, bottom 0.25s ease;
}

.social-float--left {
    left: max(1.1rem, env(safe-area-inset-left, 0px));
}

.social-float--right {
    right: max(1.1rem, env(safe-area-inset-right, 0px));
}

.social-float:hover {
    transform: scale(1.06);
    color: #fff;
}

.social-float:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.social-float--whatsapp {
    background: #25d366;
}

.social-float--whatsapp:hover {
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

.social-float--instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-float--instagram:hover {
    box-shadow: 0 10px 28px rgba(188, 24, 136, 0.45);
}

@media (max-width: 768px) {
    .floating-cta-mobile.visible ~ .social-float {
        bottom: calc(6.5rem + env(safe-area-inset-bottom, 0px));
    }
}

/* ==========================================================================
   VIDEO PROMO SECTION
   ========================================================================== */
.video-promo-section {
    padding: 2rem 0 3rem;
    position: relative;
    z-index: 2;
}

.video-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    border: 1px solid var(--color-gold);
    border-radius: 12px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.15), var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.video-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
    z-index: 1;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    background: #000;
    pointer-events: none;
}

.video-unmute-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border: 1px solid var(--color-gold);
    border-radius: 999px;
    background: rgba(8, 8, 10, 0.85);
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
    pointer-events: auto;
}

.video-unmute-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    border-color: #ffffff;
}

.video-unmute-btn.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero elements specific animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content .fade-in:nth-child(1) { animation-delay: 0.2s; }
.hero-content .fade-in:nth-child(2) { animation-delay: 0.4s; }
.hero-content .fade-in:nth-child(3) { animation-delay: 0.6s; }
.hero-content .fade-in:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* General Mobile Layout Optimization */
@media (max-width: 768px) {
    .manifiesto-section,
    .timeline-section,
    .secretum-section,
    .details-section,
    .final-cta-section,
    .video-promo-section {
        padding: 2.2rem 0 !important;
    }

    .section-header.center {
        margin-bottom: 2.2rem;
    }

    .video-promo-section .video-wrapper {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(50% - 50vw);
        border-radius: 0;
        border-left: none;
        border-right: none;
        padding: 0;
    }

    .video-promo-section .video-container {
        border-radius: 0;
    }

    .cta-box {
        padding: 2.5rem 1.25rem;
    }

    .cta-title {
        font-size: clamp(1.45rem, 5.5vw, 2rem);
        margin-bottom: 1rem;
        text-wrap: balance;
    }

    .cta-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
        text-wrap: balance;
    }

    .cta-btn {
        max-width: 100%;
        padding: 1rem 1.25rem;
        font-size: 0.82rem;
        letter-spacing: 0.05em;
    }
}

/* ==========================================================================
   MOBILE HERO — sin espacio vacío (va al final para ganar cascade)
   ========================================================================== */
@media (max-width: 768px) {
    .hero {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding-top: var(--header-offset) !important;
        padding-bottom: 1.5rem !important;
        overflow: visible !important;
    }

    .hero::before {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        transform: none !important;
    }

    .hero-bg-overlay {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
    }

    .hero-video-bg {
        position: absolute !important;
        inset: 0 !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        transform: none !important;
        object-fit: cover !important;
    }

    .scroll-down-arrow {
        display: none !important;
    }

    .countdown-section {
        margin-top: 0 !important;
        padding-top: 1.25rem !important;
        padding-bottom: 1.5rem !important;
    }
}

