
:root {
    color-scheme: dark;
    --bg: #080a0e;
    --panel: #10151d;
    --panel-light: #151c26;
    --text: #f5f7fa;
    --muted: #aab4c1;
    --accent: #00bce8;
    --accent-hover: #25cef3;
    --border: rgba(255, 255, 255, 0.11);
    --max-width: 1080px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(
            ellipse at 10% 15%,
            rgba(0, 188, 232, 0.07),
            transparent 35%
        ),
        var(--bg);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::selection {
    background: var(--accent);
    color: #061018;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

button,
a {
    touch-action: manipulation;
}

/* =========================================
   BARRA SUPERIOR
========================================= */

.navbar {
    position: relative;
    z-index: 5;
    width: 100%;
    min-height: 72px;
    padding: 12px max(24px, calc((100% - var(--max-width)) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(5, 6, 8, 0.97);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.055em;
}

.brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.nav-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(0, 188, 232, 0.28);
    border-radius: 6px;
    color: #cbd7e2;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.13em;
}

.status-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(0, 188, 232, 0.7);
}

/* =========================================
   PORTADA PRINCIPAL
========================================= */

.hero {
    position: relative;
    isolation: isolate;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #10141b;
    background-image:
        linear-gradient(
            90deg,
            rgba(3, 5, 8, 0.97) 0%,
            rgba(3, 5, 8, 0.88) 36%,
            rgba(3, 5, 8, 0.60) 66%,
            rgba(3, 5, 8, 0.40) 100%
        ),
        linear-gradient(
            0deg,
            #080a0e 0%,
            transparent 35%,
            rgba(0, 0, 0, 0.15) 100%
        ),
        url("assets/camion-fondo.jpg");

    background-position: center, center, center 48%;
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: 1px solid var(--border);
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        radial-gradient(
            ellipse at 20% 50%,
            rgba(0, 188, 232, 0.07),
            transparent 55%
        );
    pointer-events: none;
}

.hero-content {
    width: min(var(--max-width), calc(100% - 48px));
    margin: 0 auto;
    padding: 72px 0 76px;
}

.brand-card {
    width: 108px;
    height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(9, 12, 17, 0.91);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.brand-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tag {
    width: fit-content;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 6px 11px;
    margin-bottom: 18px;
    border: 1px solid rgba(0, 188, 232, 0.24);
    border-radius: 5px;
    background: rgba(9, 15, 22, 0.88);
    color: #d7e4ed;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.13em;
}

.tag span {
    color: var(--accent);
}

h1 {
    margin: 0 0 22px;
    font-size: clamp(43px, 7vw, 72px);
    font-weight: 950;
    line-height: 1.05;
    letter-spacing: -0.055em;
}

h1 span {
    color: var(--accent);
}

.intro {
    max-width: 610px;
    margin: 0;
    color: #d1d7df;
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 2;
}

.intro strong {
    color: #ffffff;
    font-weight: 850;
}

/* =========================================
   CONTADOR Y LANZAMIENTO
========================================= */

.timer-card {
    width: min(100%, 535px);
    margin-top: 30px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 10px;
    background: rgba(8, 11, 16, 0.94);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.timer-label {
    display: block;
    color: #b4c0cd;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.countdown {
    margin: 10px 0 7px;
    color: var(--accent);
    font-size: clamp(36px, 6vw, 51px);
    font-weight: 950;
    letter-spacing: 0.025em;
    line-height: 1.35;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

#timerMessage {
    margin: 0 0 18px;
    color: #a9b3c0;
    font-size: 12px;
    line-height: 1.8;
}

.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 17px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.075em;
    text-align: center;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.button-primary {
    background: var(--accent);
    color: #041019;
    box-shadow: 0 6px 25px rgba(0, 188, 232, 0.1);
}

.button-primary:hover:not(.locked) {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 188, 232, 0.2);
}

.button.locked {
    background: #303741;
    border-color: #3b444f;
    color: #b9c2cd;
    box-shadow: none;
    cursor: not-allowed;
}

.button.locked:hover {
    transform: none;
}

.arrow {
    font-size: 16px;
    line-height: 1;
}

.microcopy {
    max-width: 540px;
    margin: 15px 0 0;
    color: #939eac;
    font-size: 11px;
}

/* =========================================
   MENSAJE DE AGRADECIMIENTO
========================================= */

.message-section {
    width: min(900px, calc(100% - 48px));
    margin: 0 auto;
    padding: 85px 0 80px;
}

.section-heading {
    position: relative;
    margin-bottom: 34px;
    padding-left: 20px;
    border-left: 3px solid var(--accent);
}

.section-label {
    color: var(--accent);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: 0.17em;
}

h2 {
    margin: 12px 0 0;
    font-size: clamp(30px, 5vw, 45px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.045em;
}

h2 span {
    color: var(--accent);
}

.message-copy {
    max-width: 790px;
}

.message-copy p {
    margin: 0 0 23px;
    color: #b7c0cb;
    font-size: 14px;
    line-height: 2.05;
}

.message-copy strong {
    color: #ffffff;
    font-weight: 850;
}

/* =========================================
   FRASE DESTACADA
========================================= */

blockquote {
    position: relative;
    margin: 37px 0;
    padding: 25px 27px;
    border: 1px solid rgba(0, 188, 232, 0.15);
    border-left: 3px solid var(--accent);
    border-radius: 0 8px 8px 0;
    background:
        linear-gradient(
            100deg,
            rgba(0, 188, 232, 0.08),
            rgba(17, 23, 32, 0.45)
        );
    color: #f0f5fa;
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 750;
    line-height: 1.9;
}

.thanks {
    padding-top: 5px;
}

.thanks strong {
    color: var(--accent);
}

/* =========================================
   TARJETA DE LA NUEVA MARCA
========================================= */

.destination {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
    padding: 27px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background:
        radial-gradient(
            ellipse at 0% 50%,
            rgba(0, 188, 232, 0.09),
            transparent 60%
        ),
        linear-gradient(120deg, #121923, #0b0e14);
}

.destination-mark {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0, 188, 232, 0.7);
    border-radius: 9px;
    background: rgba(0, 188, 232, 0.06);
    color: var(--accent);
    font-size: 18px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.destination-copy {
    flex: 1;
    min-width: 0;
}

.destination-copy > span {
    color: #98a6b5;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.destination-copy h3 {
    margin: 3px 0;
    color: #ffffff;
    font-size: clamp(18px, 3vw, 23px);
    font-weight: 900;
    line-height: 1.5;
}

.destination-copy p {
    margin: 0;
    color: #aab5c1;
    font-size: 11px;
    line-height: 1.7;
}

.destination .button {
    flex-shrink: 0;
}

/* =========================================
   PIE DE PÁGINA
========================================= */

.footer {
    padding: 36px 22px 25px;
    border-top: 1px solid var(--border);
    background: #050608;
    text-align: center;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.08em;
}

.footer-brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.footer p {
    margin: 10px 0 0;
    color: #9ba6b3;
    font-size: 12px;
}

.footer-divider {
    width: 55px;
    height: 2px;
    margin: 23px auto;
    background: var(--accent);
}

.footer-new-name {
    display: block;
    color: #9ba6b3;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.footer-new-name strong {
    color: var(--accent);
}

.footer small {
    display: block;
    margin-top: 18px;
    color: #707b89;
    font-size: 10px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 850;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
}

/* =========================================
   TABLETAS
========================================= */

@media (max-width: 800px) {
    .hero {
        min-height: 620px;
        background-position: center, center, 58% center;
    }

    .hero-content {
        width: calc(100% - 40px);
        padding: 58px 0;
    }

    .destination {
        flex-wrap: wrap;
    }

    .destination .button {
        width: 100%;
    }
}

/* =========================================
   CELULARES
========================================= */

@media (max-width: 560px) {
    body {
        font-size: 14px;
    }

    .navbar {
        min-height: 62px;
        padding: 10px 14px;
        gap: 8px;
    }

    .brand {
        gap: 8px;
        font-size: 10px;
    }

    .brand img {
        width: 33px;
        height: 33px;
    }

    .nav-status {
        gap: 5px;
        padding: 6px 7px;
        font-size: 7px;
        letter-spacing: 0.06em;
    }

    .status-dot {
        width: 6px;
        height: 6px;
    }

    .hero {
        min-height: auto;
        background-image:
            linear-gradient(
                90deg,
                rgba(3, 5, 8, 0.93),
                rgba(3, 5, 8, 0.78)
            ),
            linear-gradient(
                0deg,
                #080a0e 0%,
                transparent 50%
            ),
            url("assets/camion-fondo.jpg");
        background-position: center, center, 58% center;
    }

    .hero-content {
        width: calc(100% - 32px);
        padding: 44px 0 43px;
    }

    .brand-card {
        width: 82px;
        height: 82px;
        padding: 9px;
        margin-bottom: 21px;
    }

    .tag {
        font-size: 8px;
        letter-spacing: 0.07em;
    }

    h1 {
        margin-bottom: 19px;
        font-size: clamp(37px, 10vw, 52px);
        letter-spacing: -0.045em;
    }

    .intro {
        font-size: 13px;
        line-height: 1.9;
    }

    .timer-card {
        margin-top: 25px;
        padding: 19px 14px;
    }

    .timer-label {
        font-size: 8px;
        letter-spacing: 0.09em;
    }

    .countdown {
        margin: 12px 0;
        font-size: clamp(32px, 9vw, 43px);
        letter-spacing: 0;
    }

    #timerMessage {
        font-size: 11px;
    }

    .button {
        min-height: 44px;
        padding: 12px 13px;
        font-size: 9px;
    }

    .message-section {
        width: calc(100% - 34px);
        padding: 53px 0 52px;
    }

    .section-heading {
        margin-bottom: 26px;
        padding-left: 14px;
    }

    h2 {
        font-size: clamp(29px, 8vw, 37px);
    }

    .message-copy p {
        margin-bottom: 19px;
        font-size: 13px;
        line-height: 1.95;
    }

    blockquote {
        margin: 27px 0;
        padding: 19px 17px;
        font-size: 14px;
        line-height: 1.8;
    }

    .destination {
        gap: 13px;
        margin-top: 34px;
        padding: 17px;
    }

    .destination-mark {
        width: 51px;
        height: 51px;
        font-size: 15px;
    }

    .destination-copy {
        flex-basis: calc(100% - 68px);
    }

    .destination-copy h3 {
        font-size: 18px;
    }

    .destination-copy > span {
        font-size: 8px;
    }

    .footer {
        padding: 29px 16px 22px;
    }

    .footer small {
        line-height: 1.8;
    }
}

/* =========================================
   ACCESIBILIDAD Y MOVIMIENTO REDUCIDO
========================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
