@font-face {
    font-family: 'Suzuki Pro Bold';
    src: url('/fonts/suzukiprobold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Suzuki Pro Regular';
    src: url('/fonts/suzukiproregular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --verde-oscuro: #1a2e1a;
    --verde-medio: #2d4a2d;
    --verde-acento: #3d6b3d;
    --verde-brillante: #4e9a4e;
    --verde-neon: #6abf6a;
    --blanco: #f5f5f0;
    --blanco-apagado: rgba(245, 245, 240, 0.75);
    --gris-texto: rgba(245, 245, 240, 0.55);
    --negro: #0d1a0d;
    --font-display: 'Suzuki Pro Bold', 'Bebas Neue', sans-serif;
    --font-condensed: 'Suzuki Pro Bold', 'Barlow Condensed', sans-serif;
    --font-body: 'Suzuki Pro Regular', 'DM Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--verde-oscuro);
    color: var(--blanco);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 3rem;
    background: linear-gradient(to bottom, rgba(13, 26, 13, 0.95) 0%, transparent 100%);
    backdrop-filter: blur(2px);
}

nav img.nav-logo {
    height: 36px;
    filter: brightness(0) invert(1);
}

nav .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav .nav-links a {
    color: var(--blanco-apagado);
    text-decoration: none;
    font-family: var(--font-condensed);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
}

nav .nav-links a:hover {
    color: var(--verde-neon);
}

.nav-cta {
    background: var(--verde-neon);
    color: var(--negro) !important;
    padding: 0.5rem 1.4rem;
    font-weight: 600 !important;
    transition: background 0.2s !important;
}

.nav-cta:hover {
    background: var(--blanco) !important;
    color: var(--negro) !important;
}

/* ── HAMBURGER ── */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--blanco);
    transition: transform 0.3s, opacity 0.3s;
}

nav.menu-open .nav-hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

nav.menu-open .nav-hamburger span:nth-child(2) {
    opacity: 0;
}

nav.menu-open .nav-hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── HERO VIDEO ── */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    padding-bottom: 5rem;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video-wrap iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    transform: translate(-50%, -50%);
    border: none;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom,
            rgba(13, 26, 13, 0.3) 0%,
            rgba(13, 26, 13, 0.1) 40%,
            rgba(13, 26, 13, 0.85) 90%,
            var(--negro) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-condensed);
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--verde-oscuro);
    border: 1px solid var(--verde-oscuro);
    padding: 0.3rem 1rem;
    margin-bottom: 1.5rem;
    animation: fadeUp 1s ease both 0.3s;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 0.9;
    letter-spacing: 0.02em;
    color: var(--blanco);
    animation: fadeUp 1s ease both 0.5s;
}

.hero-title span {
    color: var(--verde-neon);
}

.hero-sub {
    margin-top: 1.2rem;
    font-family: var(--font-condensed);
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    color: var(--blanco-apagado);
    text-transform: uppercase;
    animation: fadeUp 1s ease both 0.7s;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    animation: fadeUp 1s ease both 0.9s;
}

.btn-primary {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    background: var(--verde-neon);
    color: var(--black);
    font-family: var(--font-condensed);
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-primary:hover {
    background: var(--verde-brillante);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    background-color: var(--blanco);
    color: var(--negro);
    font-family: var(--font-condensed);
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-outline:hover {
    border-color: var(--verde-neon);
    color: var(--verde-neon);
}

/* ── SECCIÓN COMÚN ── */
section {
    padding: 2rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-label {
    font-family: var(--font-condensed);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--verde-neon);
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: var(--verde-neon);
    margin-bottom: 2rem;
}

/* ── NARRATIVA ── */
#narrativa {
    background: var(--negro);
}

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

.narrativa-text p {
    color: var(--blanco-apagado);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.narrativa-text p strong {
    color: var(--verde-neon);
}

.stats-row {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--verde-neon);
    line-height: 1;
}

.stat-label {
    font-family: var(--font-condensed);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gris-texto);
    margin-top: 0.3rem;
}

.narrativa-img {
    position: relative;
}

.narrativa-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.narrativa-img::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--verde-acento);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
    z-index: -1;
}

/* ── RUTA DEL JIMNY ── */
#ruta {
    background: var(--verde-oscuro);
    position: relative;
    overflow: hidden;
}

#ruta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 80% 20%, rgba(78, 154, 78, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(78, 154, 78, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.ruta-header {
    text-align: center;
    margin-bottom: 4rem;
}

.ruta-header .section-divider {
    margin: 0 auto 2rem;
}

/* MAP */
#mapa {
    height: 450px;
    border-radius: 2px;
    border: 1px solid var(--verde-acento);
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

/* TIMELINE */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: var(--verde-acento);
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-dot {
    width: 56px;
    height: 56px;
    background: var(--verde-medio);
    border: 2px solid var(--verde-neon);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--verde-neon);
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.timeline-item:hover .timeline-dot {
    background: var(--verde-neon);
    color: var(--negro);
    transform: scale(1.1);
}

.timeline-date {
    font-family: var(--font-condensed);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--verde-neon);
    margin-bottom: 0.5rem;
}

.timeline-name {
    font-family: var(--font-condensed);
    font-size: 1rem;
    font-weight: 600;
    color: var(--blanco);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.timeline-desc {
    font-size: 0.82rem;
    color: var(--gris-texto);
    line-height: 1.5;
}

.timeline-badge {
    display: inline-block;
    margin-top: 0.6rem;
    font-family: var(--font-condensed);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--verde-acento);
    color: var(--verde-neon);
    padding: 0.2rem 0.6rem;
}

/* ── GALERÍA EXPERIENCIA ── */
#galeria {
    background: var(--negro);
    padding: 2rem 0;
}

.galeria-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 1rem 2rem;
    scrollbar-width: thin;
    scrollbar-color: var(--verde-acento) transparent;
}

.galeria-scroll::-webkit-scrollbar {
    height: 4px;
}

.galeria-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.galeria-scroll::-webkit-scrollbar-thumb {
    background: var(--verde-acento);
    border-radius: 2px;
}

.galeria-item {
    flex: 0 0 320px;
    height: 220px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: saturate(0.7);
}

.galeria-item:hover img {
    transform: scale(1.05);
    filter: saturate(1);
}

.galeria-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 26, 13, 0.7) 0%, transparent 50%);
}

/* ── WALLPAPERS ── */
#wallpapers {
    background: var(--verde-oscuro);
}

.wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 992px) {
    .wallpaper-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.wallpaper-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 9/16;
    background: var(--verde-medio);
}

.wallpaper-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s, filter 0.4s;
    filter: saturate(0.6);
}

.wallpaper-card:hover img {
    transform: scale(1.04);
    filter: saturate(1);
}

.wallpaper-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 26, 13, 0.9) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.wallpaper-card:hover .wallpaper-card-overlay {
    opacity: 1;
}

.wallpaper-card-overlay .btn-primary:hover {
    background: var(--verde-neon);
    transform: none;
}

.wallpaper-tag {
    font-family: var(--font-condensed);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--verde-neon);
    margin-bottom: 0.5rem;
}

/* Modal wallpaper */
.wp-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.wp-modal.open {
    display: flex;
}

.wp-modal-inner {
    background: var(--verde-medio);
    padding: 2.5rem;
    max-width: 480px;
    width: 90%;
    position: relative;
}

.wp-modal h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.wp-modal p {
    color: var(--blanco-apagado);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.wp-modal .close-modal {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--blanco-apagado);
    background: none;
    border: none;
    font-family: var(--font-body);
}

.wp-modal input {
    width: 100%;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    background: var(--verde-oscuro);
    border: 1px solid var(--verde-acento);
    color: var(--blanco);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.wp-modal input:focus {
    border-color: var(--verde-neon);
}

.wp-modal input::placeholder {
    color: var(--gris-texto);
}

/* ── FORMULARIO ── */
#formulario {
    background: var(--negro);
}

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

.form-info .section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.form-info p {
    color: var(--blanco-apagado);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.form-info .benefit {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-family: var(--font-condensed);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.form-info .benefit::before {
    content: '→';
    color: var(--verde-neon);
    flex-shrink: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 1rem 1.2rem;
    background: var(--verde-oscuro);
    border: 1px solid var(--verde-acento);
    color: var(--blanco);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--verde-neon);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gris-texto);
}

.contact-form select {
    appearance: none;
    color: var(--gris-texto);
}

.contact-form select.filled {
    color: var(--blanco);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--blanco-apagado);
    line-height: 1.5;
}

.form-check input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--verde-neon);
    flex-shrink: 0;
}

.form-success {
    display: none;
    text-align: center;
    padding: 3rem;
    background: var(--verde-medio);
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--verde-neon);
}

.form-success p {
    color: var(--blanco-apagado);
    margin-top: 0.8rem;
}

/* ── TEST DRIVE ── */
#test-drive {
    background: var(--verde-acento);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#test-drive::before {
    content: 'JIMNY';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 20vw;
    color: rgba(0, 0, 0, 0.1);
    letter-spacing: 0.1em;
    pointer-events: none;
    white-space: nowrap;
}

#test-drive .section-label {
    text-align: center;
}

#test-drive .section-title {
    font-size: clamp(2.5rem, 5vw, 5rem);
    text-align: center;
}

#test-drive p {
    color: rgba(245, 245, 240, 0.8);
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.ctas-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-dark {
    display: inline-block;
    padding: 0.85rem 2.5rem;
    background: var(--negro);
    color: var(--blanco);
    font-family: var(--font-condensed);
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-dark:hover {
    background: var(--verde-oscuro);
}

/* ── FOOTER ── */
footer {
    background: var(--negro);
    padding: 3rem 0;
    border-top: 1px solid var(--verde-acento);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    text-align: center;
}

.footer-logo {
    filter: brightness(0) invert(1);
    height: 30px;
    object-fit: contain;
    width: 100%;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: .5rem;
    list-style: none;
}

@media(min-width: 576px) {
    .footer-links {
        flex-direction: row;
    }
}

.footer-links a {
    color: var(--gris-texto);
    text-decoration: none;
    font-family: var(--font-condensed);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--verde-neon);
}



.footer-credit {
    color: var(--gris-texto);
    font-size: 0.8rem;
    width: 100%;
}

.footer-credit a {
    color: var(--verde-neon);
    text-decoration: none;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--negro);
}

::-webkit-scrollbar-thumb {
    background: var(--verde-acento);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .nav-hamburger {
        display: flex;
    }

    nav .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(13, 26, 13, 0.97);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 1000;
        list-style: none;
    }

    nav.menu-open .nav-links {
        display: flex;
    }

    nav .nav-links a {
        font-size: 1.3rem;
    }

    .narrativa-grid,
    .form-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .timeline {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .timeline::before {
        display: none;
    }

    .wallpaper-card-overlay {
        opacity: 1;
    }

    .wallpaper-card img {
        filter: saturate(1);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .stats-row {
        gap: 1.5rem;
    }

    .galeria-item {
        flex: 0 0 260px;
        height: 180px;
    }
}

@media (max-width: 575px) {
    .timeline {
        grid-template-columns: 1fr;
    }

    .wallpaper-grid {
        grid-template-columns: 1fr;
    }
}
/* ── VIDEO ── */
#video {
    background: var(--negro);
    padding: 4rem 0;
}

.video-wrap {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--verde-acento);
}

.video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
