:root{
    --primary:#39A751;
    --primary-dark:#27803c;
    --dark:#0f1115;
    --dark2:#161a22;
    --text:#ffffff;
    --gray:#a7b0be;
    --card:#1a1f29;
    --nav-h:90px;
}

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Manrope',sans-serif;
    background:var(--dark);
    color:var(--text);
    overflow-x:hidden;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible{
    outline:3px solid #7ee495;
    outline-offset:3px;
}

.skip-link{
    position:absolute;
    left:-999px;
    top:10px;
    background:var(--primary-dark);
    color:white;
    padding:10px 18px;
    border-radius:10px;
    z-index:10000;
}

.skip-link:focus{
    left:10px;
}

/* NAVBAR */

nav{
    position:fixed;
    top:0;
    width:100%;
    z-index:9999;
    padding:15px 50px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    transition:.4s;
}

nav.scrolled,
nav.open{
    background:rgba(10,10,10,.88);
    backdrop-filter:blur(12px);
    box-shadow:0 5px 20px rgba(0,0,0,.35);
}

.logo{
    height:60px;
    width:60px;
}

.menu{
    display:flex;
    gap:35px;
    align-items:center;
}

.menu a{
    color:white;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.menu a:hover{
    color:#57d273;
}

.menu .call-btn{
    background:var(--primary-dark);
    padding:12px 22px;
    border-radius:50px;
    color:white;
}

.menu .call-btn:hover{
    color:white;
    background:var(--primary);
}

.menu-toggle{
    display:none;
    background:none;
    border:1px solid rgba(255,255,255,.25);
    border-radius:12px;
    width:46px;
    height:46px;
    cursor:pointer;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
}

.menu-toggle span{
    display:block;
    width:22px;
    height:2px;
    background:white;
    transition:.3s;
}

nav.open .menu-toggle span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
}

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

nav.open .menu-toggle span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
}

/* HERO */

.hero{
    min-height:100vh;
    display:grid;
    grid-template-columns:minmax(0,1fr) 380px;
    gap:60px;
    align-items:center;
    padding:130px 8% 80px;
    background:
    radial-gradient(circle at 20% 20%,rgba(57,167,81,.22),transparent 55%),
    linear-gradient(160deg,#0f1115 0%,#161a22 100%);
}

.hero-content{
    max-width:650px;
}

.hero h1{
    font-size:4.5rem;
    line-height:1.05;
    margin-bottom:25px;
    animation:fadeUp 1s ease;
}

.hero p{
    color:var(--gray);
    font-size:1.2rem;
    line-height:1.8;
    margin-bottom:35px;
    animation:fadeUp 1.2s ease;
}

.hero-buttons{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.btn{
    padding:16px 30px;
    border-radius:50px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
    display:inline-block;
    font-family:inherit;
    font-size:1rem;
    cursor:pointer;
}

.btn-primary{
    background:var(--primary-dark);
    color:white;
    border:none;
}

.btn-secondary{
    border:1px solid rgba(255,255,255,.3);
    color:white;
    backdrop-filter:blur(10px);
}

.btn:hover{
    transform:translateY(-3px);
}

/* BOOKING FORM */

.booking-box{
    background:rgba(23,25,32,.9);
    backdrop-filter:blur(15px);
    border:1px solid rgba(255,255,255,.08);
    width:100%;
    padding:35px;
    border-radius:25px;
    box-shadow:0 10px 40px rgba(0,0,0,.45);
}

.booking-box h2{
    margin-bottom:25px;
    font-size:1.5rem;
}

.input-group{
    margin-bottom:18px;
}

.input-group label{
    display:block;
    margin-bottom:8px;
    font-size:.95rem;
}

.input-group input,
.input-group select{
    width:100%;
    padding:15px;
    border:1px solid transparent;
    border-radius:14px;
    background:#222835;
    color:white;
    font-family:inherit;
    font-size:1rem;
}

.input-group input:focus,
.input-group select:focus{
    border-color:var(--primary);
}

.form-error{
    color:#ff8a8a;
    font-size:.92rem;
    min-height:1.3em;
    margin-bottom:12px;
}

.whatsapp-btn{
    width:100%;
    border:none;
    background:var(--primary-dark);
    color:white;
    padding:16px;
    border-radius:15px;
    cursor:pointer;
    font-family:inherit;
    font-size:1rem;
    font-weight:700;
    transition:.3s;
}

.whatsapp-btn:hover{
    transform:scale(1.03);
    background:var(--primary);
}

/* SECTIONS */

section{
    padding:100px 8%;
}

section[id]{
    scroll-margin-top:var(--nav-h);
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:3rem;
    margin-bottom:15px;
}

.section-title p{
    color:var(--gray);
}

/* FEATURES */

.features{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.feature-card{
    background:var(--card);
    padding:35px;
    border-radius:24px;
    transition:.3s;
    border:1px solid rgba(255,255,255,.05);
}

.feature-card:hover{
    transform:translateY(-8px);
}

.feature-card h3{
    margin:18px 0;
}

.feature-card p{
    color:var(--gray);
    line-height:1.7;
}

/* VEHICLES */

.fleet-group{
    margin-bottom:70px;
}

.fleet-group:last-of-type{
    margin-bottom:0;
}

.fleet-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:30px;
    padding-bottom:20px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.fleet-head h3{
    font-size:2rem;
    margin-bottom:6px;
}

.fleet-head p{
    color:var(--gray);
}

.fleet-price{
    text-align:right;
}

.price{
    font-size:2rem;
    font-weight:800;
}

.price small{
    font-size:1rem;
    font-weight:600;
    color:var(--gray);
    margin-right:6px;
}

.price span{
    font-size:1rem;
    color:var(--gray);
    font-weight:600;
}

.price-note{
    display:block;
    color:var(--gray);
    font-size:.85rem;
    margin-top:4px;
}

.vehicles-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.vehicle-card{
    background:var(--card);
    border-radius:25px;
    overflow:hidden;
    transition:.4s;
    border:1px solid rgba(255,255,255,.05);
    display:flex;
    flex-direction:column;
}

.vehicle-card:hover{
    transform:translateY(-10px);
}

.vehicle-card img,
.vehicle-placeholder{
    width:100%;
    height:220px;
    object-fit:cover;
}

.vehicle-placeholder{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    font-size:3.5rem;
    background:linear-gradient(135deg,#222835,#161a22);
}

.vehicle-placeholder span{
    font-size:1rem;
    font-weight:700;
    color:var(--gray);
}

.vehicle-content{
    padding:25px;
    display:flex;
    flex-direction:column;
    gap:20px;
    flex:1;
    justify-content:space-between;
}

.vehicle-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px;
}

.badge{
    background:rgba(57,167,81,.15);
    color:#57d273;
    padding:8px 14px;
    border-radius:30px;
    font-size:.85rem;
    white-space:nowrap;
}

.vehicle-btn{
    text-align:center;
    background:transparent;
    border:1px solid var(--primary);
    color:white;
    padding:13px;
    border-radius:14px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.vehicle-btn:hover{
    background:var(--primary-dark);
}

/* REQUISITOS */

.requisitos{
    background:var(--dark2);
}

.req-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:25px;
    max-width:900px;
    margin:0 auto;
}

.req-note{
    text-align:center;
    color:var(--gray);
    margin-top:35px;
}

/* RESEÑAS */

.reviews-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.review-card{
    background:var(--card);
    padding:30px;
    border-radius:24px;
    border:1px solid rgba(255,255,255,.05);
}

.review-stars{
    color:#f5c542;
    letter-spacing:2px;
    margin-bottom:14px;
}

.review-text{
    color:#d5d9e0;
    line-height:1.7;
    margin-bottom:18px;
}

.review-author{
    font-weight:700;
}

/* CTA */

.cta{
    background:
    radial-gradient(circle at 80% 20%,rgba(57,167,81,.3),transparent 60%),
    linear-gradient(135deg,#161a22,#0a0c10);
    border:1px solid rgba(255,255,255,.06);
    border-radius:35px;
    text-align:center;
    padding:90px 40px;
}

.cta h2{
    font-size:3rem;
    margin-bottom:20px;
}

.cta p{
    color:#d5d5d5;
    margin-bottom:30px;
}

/* FOOTER */

footer{
    background:#0a0c10;
    padding:70px 8% 40px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}

.footer-col h3{
    margin-bottom:20px;
}

.footer-col p,
.footer-col a{
    color:var(--gray);
    text-decoration:none;
    line-height:2;
}

.footer-col a:hover{
    color:white;
}

.footer-bottom{
    text-align:center;
    margin-top:50px;
    padding-top:25px;
    border-top:1px solid rgba(255,255,255,.05);
    color:var(--gray);
}

/* FLOATING WHATSAPP */

.wa-float{
    position:fixed;
    right:22px;
    bottom:22px;
    z-index:9998;
    background:#25D366;
    color:#0b3d1e;
    width:60px;
    height:60px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 8px 25px rgba(0,0,0,.45);
    transition:.3s;
}

.wa-float:hover{
    transform:scale(1.08);
}

.wa-float svg{
    width:32px;
    height:32px;
    fill:currentColor;
}

/* MOBILE */

@media(max-width:1100px){

    .hero{
        grid-template-columns:1fr;
        justify-items:center;
        text-align:center;
        gap:50px;
    }

    .booking-box{
        max-width:500px;
        text-align:left;
    }

    .hero-buttons{
        justify-content:center;
    }

}

@media(max-width:768px){

    nav{
        padding:12px 20px;
    }

    .menu-toggle{
        display:flex;
    }

    .menu{
        display:none;
        position:absolute;
        top:100%;
        left:0;
        right:0;
        flex-direction:column;
        gap:0;
        background:rgba(10,10,10,.96);
        padding:10px 20px 25px;
    }

    nav.open .menu{
        display:flex;
    }

    .menu a{
        width:100%;
        text-align:center;
        padding:16px 0;
        border-bottom:1px solid rgba(255,255,255,.06);
    }

    .menu .call-btn{
        margin-top:18px;
        border-bottom:none;
    }

    section{
        padding:80px 6%;
    }

    .hero{
        padding:110px 6% 60px;
    }

    .hero h1{
        font-size:2.6rem;
    }

    .section-title h2{
        font-size:2.3rem;
    }

    .cta h2{
        font-size:2.2rem;
    }

    .fleet-price{
        text-align:left;
    }

    .booking-box{
        padding:25px;
    }

}

/* ANIMATIONS */

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(30px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.js .fade{
    opacity:0;
    transform:translateY(30px);
    transition:opacity 1s,transform 1s;
}

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

@media(prefers-reduced-motion:reduce){

    html{
        scroll-behavior:auto;
    }

    *,
    *::before,
    *::after{
        animation:none !important;
        transition:none !important;
    }

    .js .fade{
        opacity:1;
        transform:none;
    }

}
