:root{
    --azul:#062f73;
    --azul-oscuro:#031f4f;
    --amarillo:#ffc400;
    --blanco:#ffffff;
    --gris:#f5f7fb;
    --texto:#13213c;
}

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

body{
    font-family:Arial, Helvetica, sans-serif;
    color:var(--texto);
    background:#fff;
}

.container{
    width:90%;
    max-width:1180px;
    margin:0 auto;
}

/* HEADER */
.site-header{
    position:sticky;
    top:0;
    z-index:999;
    background:#fff;
    padding:12px 0;
    box-shadow:0 4px 18px rgba(0,0,0,.06);
}

.header-grid{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:35px;
}

.logo-img,
.logo img{
    width:220px;
    height:auto;
    display:block;
}

.main-nav{
    display:flex;
    align-items:center;
    gap:34px;
}

.main-nav a{
    color:var(--azul);
    text-decoration:none;
    font-weight:700;
    font-size:16px;
    position:relative;
    transition:.3s ease;
}

.main-nav a:hover{
    color:var(--amarillo);
}

.main-nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:3px;
    background:var(--amarillo);
    border-radius:10px;
    transition:.3s ease;
}

.main-nav a:hover::after{
    width:100%;
}

.menu-toggle{
    display:none;
    background:var(--azul);
    color:#fff;
    border:none;
    font-size:28px;
    width:52px;
    height:52px;
    border-radius:10px;
    cursor:pointer;
}

.btn-primary{
    background:var(--amarillo);
    color:#071d3d;
    padding:15px 28px;
    border-radius:8px;
    font-weight:700;
    text-decoration:none;
    display:inline-block;
    border:none;
    cursor:pointer;
    transition:.3s ease;
}

.btn-primary:hover{
    background:var(--azul);
    color:#fff;
}

.btn-secondary{
    color:#fff;
    padding:14px 28px;
    border:2px solid rgba(255,255,255,.9);
    border-radius:8px;
    text-decoration:none;
    display:inline-block;
    transition:.3s ease;
}

/* HERO */
.hero{
    position:relative;
    background:
        linear-gradient(
            rgba(3,31,79,.35),
            rgba(3,31,79,.35)
        ),
        url('../img/hero-truck.jpg');
    background-size:cover;
    background-position:50% 20%;
    background-repeat:no-repeat;
    min-height:620px;
    display:flex;
    align-items:flex-start;
    padding-top:60px;
    color:white;
}

.hero::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:55%;
    height:100%;
    background:linear-gradient(
        to right,
        rgba(2,18,48,.88),
        rgba(2,18,48,.45),
        transparent
    );
}

.hero-content{
    max-width:650px;
    position:relative;
    z-index:2;
}

.subtitle,
.section-subtitle{
    color:var(--amarillo);
    font-weight:700;
    font-size:15px;
    letter-spacing:.5px;
    text-transform:uppercase;
}

.hero h1{
    font-size:64px;
    line-height:1.04;
    margin:14px 0 22px;
    font-weight:800;
}

.hero h1 span{
    color:var(--amarillo);
}

.hero p{
    max-width:540px;
    font-size:22px;
    line-height:1.5;
    margin-bottom:30px;
}

.hero-buttons{
    display:flex;
    gap:16px;
    align-items:center;
}

/* FEATURES */
.features{
    background:#fff;
    margin-top:-35px;
    position:relative;
    z-index:5;
}

.feature-grid{
    background:#fff;
    border-radius:16px;
    box-shadow:0 15px 40px rgba(0,0,0,.12);
    padding:28px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.feature-box{
    padding:10px 18px;
    border-right:1px solid #e4e8f0;
}

.feature-box:last-child{
    border-right:0;
}

.feature-box h3{
    color:var(--azul);
    font-size:20px;
    margin-bottom:8px;
}

.feature-box p{
    font-size:15px;
    line-height:1.5;
}

/* ABOUT */
.about{
    padding:90px 0 35px;
    background:#fff;
}

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.about-content{
    max-width:560px;
}

.about-content h2{
    font-size:48px;
    line-height:1.1;
    color:var(--azul);
    margin:18px 0 25px;
}

.about-content p{
    font-size:19px;
    line-height:1.8;
    margin-bottom:30px;
}

.about-image{
    position:relative;
}

.about-image img{
    width:100%;
    height:520px;
    object-fit:cover;
    border-radius:20px;
}

.about-card{
    position:absolute;
    bottom:70px;
    left:-70px;
    width:360px;
    background:var(--azul);
    color:white;
    padding:30px;
    border-radius:22px;
    box-shadow:0 20px 45px rgba(0,0,0,.18);
}

.about-card-item h4{
    color:var(--amarillo);
    margin-bottom:12px;
    font-size:22px;
}

.about-card-item p{
    font-size:15px;
    line-height:1.6;
}

.about-card hr{
    margin:22px 0;
    border:none;
    height:1px;
    background:rgba(255,255,255,.25);
}

/* SERVICES */
.services{
    padding:35px 0 80px;
    background:var(--gris);
}

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

.section-title .section-subtitle{
    color:var(--amarillo);
    font-weight:800;
    font-size:14px;
    letter-spacing:.6px;
}

.section-title h2{
    color:var(--azul);
    font-size:42px;
    line-height:1.15;
    margin-top:10px;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:22px;
}

.service-card{
    background:#fff;
    padding:28px 20px;
    border-radius:16px;
    min-height:210px;
    text-align:center;
    text-decoration:none;
    color:var(--azul);
    box-shadow:0 12px 35px rgba(0,0,0,.06);
    transition:.3s ease;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    border:2px solid transparent;
}

.service-card:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 45px rgba(0,0,0,.12);
    border-color:var(--amarillo);
}

.service-icon{
    width:58px;
    height:58px;
    border-radius:50%;
    background:var(--azul);
    color:var(--amarillo);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
    margin-bottom:22px;
}

.service-card h3{
    font-size:20px;
    line-height:1.2;
    margin-bottom:14px;
}

.service-card p{
    color:#394763;
    font-size:15px;
    line-height:1.6;
    margin-bottom:18px;
}

.service-card span{
    color:var(--amarillo);
    font-weight:800;
    font-size:14px;
    text-transform:uppercase;
}

/* QUOTE */
.quote-section{
    padding:95px 0;
    background:
        linear-gradient(rgba(3,31,79,.92), rgba(3,31,79,.92)),
        url('../img/hero-truck.jpg');
    background-size:cover;
    background-position:center;
    color:#fff;
}

.quote-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.quote-content h2{
    font-size:46px;
    line-height:1.12;
    margin:18px 0 22px;
}

.quote-content p{
    font-size:18px;
    line-height:1.7;
    margin-bottom:25px;
}

.quote-list{
    list-style:none;
}

.quote-list li{
    margin-bottom:14px;
    font-size:17px;
}

.quote-list li::before{
    content:"✓";
    color:var(--amarillo);
    font-weight:900;
    margin-right:10px;
}

.quote-form{
    background:#fff;
    padding:35px;
    border-radius:22px;
    box-shadow:0 20px 50px rgba(0,0,0,.22);
}

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

.quote-form input,
.quote-form select,
.quote-form textarea{
    width:100%;
    border:1px solid #d8deea;
    padding:15px 16px;
    border-radius:10px;
    margin-bottom:16px;
    font-size:15px;
    font-family:inherit;
}

.quote-form textarea{
    resize:none;
}

.quote-form button{
    width:100%;
}

.hidden-field{
    display:none;
}

/* FOOTER */
.site-footer{
    background:var(--azul-oscuro);
    color:#fff;
    padding:70px 0 0;
}

.footer-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1.3fr;
    gap:45px;
}

.footer-brand img{
    width:220px;
    background:#fff;
    padding:12px;
    border-radius:10px;
    margin-bottom:20px;
}

.footer-brand p,
.site-footer p{
    color:rgba(255,255,255,.78);
    line-height:1.7;
    font-size:15px;
}

.site-footer h4{
    color:var(--amarillo);
    font-size:18px;
    margin-bottom:20px;
}

.site-footer a{
    display:block;
    color:rgba(255,255,255,.78);
    text-decoration:none;
    margin-bottom:12px;
    transition:.3s ease;
}

.site-footer a:hover{
    color:var(--amarillo);
    padding-left:5px;
}

.footer-bottom{
    margin-top:55px;
    border-top:1px solid rgba(255,255,255,.15);
    padding:22px 5%;
    display:flex;
    justify-content:space-between;
    gap:20px;
}

/* TABLET */
@media(max-width:1050px){
    .service-grid{
        grid-template-columns:repeat(3,1fr);
    }

    .footer-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media(max-width:900px){
    .container{
        width:92%;
    }

    .about-grid,
    .quote-grid{
        grid-template-columns:1fr;
    }

    .about-card{
        position:relative;
        left:0;
        bottom:0;
        margin-top:20px;
        width:100%;
    }

    .feature-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .feature-box{
        border-right:0;
        border-bottom:1px solid #e4e8f0;
    }

    .service-grid{
        grid-template-columns:repeat(2,1fr);
    }

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

/* MOBILE */
@media(max-width:768px){

    .site-header{
        position:sticky;
        top:0;
        padding:10px 0;
    }

    .header-grid{
        flex-direction:row;
        justify-content:space-between;
        align-items:center;
    }

    .logo-img,
    .logo img{
        width:200px !important;
    }

    .menu-toggle{
        display:block;
    }

    .main-nav{
        display:none;
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:#fff;
        padding:25px 0;
        box-shadow:0 15px 30px rgba(0,0,0,.12);
        z-index:999;
    }

    .main-nav.active{
        display:flex;
        flex-direction:column;
        align-items:center;
        gap:22px;
    }

    .main-nav a{
        font-size:18px;
    }

    .site-header .btn-primary{
        display:none;
    }

    .hero{
        min-height:auto;
        padding:70px 0 110px;
        background-position:center;
    }

    .hero::before{
        width:100%;
        background:rgba(2,18,48,.65);
    }

    .hero-content{
        text-align:center;
        margin:auto;
    }

    .hero h1{
        font-size:42px;
    }

    .hero p{
        font-size:17px;
    }

    .hero-buttons{
        justify-content:center;
        flex-direction:column;
    }

    .btn-primary,
    .btn-secondary{
        width:100%;
        max-width:280px;
        text-align:center;
    }

    .features{
        margin-top:-70px;
    }

    .feature-grid{
        grid-template-columns:1fr;
        padding:22px;
    }

    .about{
        padding:70px 0 35px;
    }

    .about-content h2,
    .section-title h2,
    .quote-content h2{
        font-size:32px;
    }

    .about-image img{
        height:360px;
    }

    .service-grid{
        grid-template-columns:1fr;
    }

    .quote-section{
        padding:70px 0;
    }

    .quote-form{
        padding:28px;
    }

    .site-footer{
        text-align:center;
        padding-top:50px;
    }

    .footer-grid{
        grid-template-columns:1fr;
        gap:35px;
    }

    .footer-brand img{
        margin:0 auto 20px;
        width:210px;
    }

    .site-footer a:hover{
        padding-left:0;
    }

    .footer-bottom{
        flex-direction:column;
        text-align:center;
        gap:8px;
    }
}

/* SMALL PHONES */
@media(max-width:480px){

    .logo-img,
    .logo img{
        width:170px !important;
    }

    .menu-toggle{
        width:46px;
        height:46px;
        font-size:24px;
    }

    .hero{
        padding:60px 0 105px;
    }

    .hero h1{
        font-size:36px;
    }

    .hero p{
        font-size:16px;
    }

    .about-image img{
        height:300px;
    }

    .about-card{
        padding:24px;
    }

    .quote-form{
        padding:24px;
    }

    .footer-brand img{
        width:190px;
    }
}

/* PAGINAS INTERNAS */

.internal-hero{
    padding:45px 0 70px;
    background:#f5f7fb;
}

.internal-hero-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:45px;
    align-items:center;
}

.internal-hero-content h1{
    font-size:56px;
    color:#062f73;
    margin:18px 0;
    line-height:1.1;
}

.internal-hero-content p{
    font-size:19px;
    line-height:1.8;
    margin-bottom:30px;
}

.internal-hero-image img{
    width:100%;
    height:460px;
    object-fit:cover;
    border-radius:20px;
}

.service-detail{
    padding:90px 0;
}

.service-detail h2{
    color:#062f73;
    font-size:42px;
    margin-bottom:25px;
}

.service-detail p{
    font-size:18px;
    line-height:1.8;
    margin-bottom:35px;
}

.service-benefits{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.benefit-box{
    background:#f5f7fb;
    padding:20px;
    border-radius:12px;
    font-weight:700;
    color:#062f73;
}

.internal-cta{
    padding:80px 0;
    background:#062f73;
    color:white;
    text-align:center;
}

.internal-cta h2{
    font-size:42px;
    margin-bottom:15px;
}

.internal-cta p{
    margin-bottom:25px;
    font-size:18px;
}

@media(max-width:768px){

    .internal-hero-grid{
        grid-template-columns:1fr;
    }

    .service-benefits{
        grid-template-columns:1fr;
    }

    .internal-hero-content h1{
        font-size:38px;
    }

    .service-detail h2{
        font-size:30px;
    }
}

.services-main-hero{
    padding:45px 0 55px;
}

.services-page{
    padding:65px 0 90px;
}

.services-page .service-grid{
    grid-template-columns:repeat(3,1fr);
}

@media(max-width:900px){
    .services-page .service-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){
    .services-page .service-grid{
        grid-template-columns:1fr;
    }
}

.about-values{
    padding:80px 0;
    background:#f5f7fb;
}

.about-values-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.about-value-card{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 12px 35px rgba(0,0,0,.06);
}

.about-value-card h3{
    color:#062f73;
    font-size:28px;
    margin-bottom:15px;
}

.about-value-card p{
    font-size:17px;
    line-height:1.8;
}

@media(max-width:768px){
    .about-values-grid{
        grid-template-columns:1fr;
    }
}

.whatsapp-float{
    position:fixed;
    right:24px;
    bottom:24px;
    z-index:9999;
    background:#25d366;
    color:#fff;
    padding:15px 22px;
    border-radius:50px;
    font-weight:800;
    text-decoration:none;
    box-shadow:0 12px 30px rgba(0,0,0,.25);
    transition:.3s ease;
}

.whatsapp-float:hover{
    transform:translateY(-4px);
}

@media(max-width:480px){
    .whatsapp-float{
        right:16px;
        bottom:16px;
        padding:13px 18px;
        font-size:14px;
    }
}

.benefits-page{
    padding:80px 0;
    background:#fff;
}

.benefits-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.benefits-grid .benefit-card{
    background:#f5f7fb;
    padding:34px;
    border-radius:18px;
    box-shadow:0 12px 35px rgba(0,0,0,.05);
    border:2px solid transparent;
    transition:.3s ease;
}

.benefits-grid .benefit-card:hover{
    transform:translateY(-6px);
    border-color:#ffc400;
}

.benefits-grid .benefit-card h3{
    color:#062f73;
    font-size:23px;
    margin-bottom:12px;
}

.benefits-grid .benefit-card p{
    font-size:16px;
    line-height:1.7;
}

.benefits-stats{
    padding:10px 0 80px;
    background:#fff;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.stat-box{
    background:#062f73;
    color:#fff;
    padding:45px;
    border-radius:18px;
    text-align:center;
}

.stat-box h3{
    font-size:52px;
    color:#ffc400;
    margin-bottom:15px;
}

.stat-box p{
    font-size:18px;
    line-height:1.6;
}

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

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

    .benefits-highlight-grid{
        grid-template-columns:1fr;
    }
}

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

    .benefits-highlight img{
        height:280px;
    }
}