/* =====================================================
   GOFARGOEXPRESS — STYLE RESPONSIVE LIMPIO
===================================================== */

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

html{
    width:100%;
    scroll-behavior:smooth;
    scroll-padding-top:115px;
}

body{
    width:100%;
    min-height:100vh;
    overflow-x:hidden;

    font-family:Arial, Helvetica, sans-serif;
    background:#f4f6f9;
    color:#1d2a44;
}

a{
    text-decoration:none;
}

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

/* =====================================================
   TOP BAR
===================================================== */

.top-bar{
    width:100%;
    min-height:38px;
    padding:7px 28px;

    display:flex;
    justify-content:space-around;
    align-items:center;
    gap:18px;

    background:#07182f;
    color:#ffffff;

    font-size:13px;
}

/* =====================================================
   NAVBAR
===================================================== */

.navbar{
    width:100%;
    min-height:92px;
    padding:12px 55px;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;

    position:sticky;
    top:0;
    z-index:999;

    background:#ffffff;
    box-shadow:0 3px 12px rgba(0,0,0,.08);
}

/* Logo escrito */

.brand-logo{
    flex-shrink:0;

    display:flex;
    flex-direction:column;
    align-items:center;

    line-height:1;
}

.brand-main{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:nowrap;

    font-size:38px;
    font-weight:900;
    font-style:italic;
    letter-spacing:-2px;

    white-space:nowrap;
}

.brand-blue{
    color:#123a63;
}

.brand-orange{
    color:#ff5a00;
}

.logo-e{
    display:inline-block;

    padding:0 5px;
    margin-right:1px;

    background:#ff5a00;
    color:#ffffff;

    transform:skew(-8deg);
}

/* Elimina el avión viejo sobre la E */

.logo-e::before,
.logo-e::after{
    content:none !important;
    display:none !important;
}

.brand-slogan{
    margin-top:7px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    color:#ff5a00;

    font-size:13px;
    font-weight:700;
    font-style:italic;

    white-space:nowrap;
}

.brand-slogan .line{
    width:34px;
    height:2px;
    flex-shrink:0;

    display:inline-block;
    background:#ff5a00;
}

/* Menú */

.navbar nav{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:30px;
}

.navbar nav a{
    color:#1b2440;

    font-size:14px;
    font-weight:800;

    white-space:nowrap;
    transition:.25s;
}

.navbar nav a:hover,
.navbar nav .active{
    color:#f26a21;
}

.track-btn{
    flex-shrink:0;

    padding:13px 22px;

    border-radius:8px;

    background:#ef5d2f;
    color:#ffffff;

    font-size:14px;
    font-weight:800;

    white-space:nowrap;
    transition:.25s;
}

.track-btn:hover{
    background:#d64b1f;
    transform:translateY(-1px);
}
/* =====================================================
   HERO
===================================================== */

.hero{
    position:relative;

    width:100%;
    min-height:780px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:
        url("/static/images/hero.jpg")
        center center / cover
        no-repeat;

    overflow:hidden;
}

.hero-overlay{
    position:absolute;
    inset:0;

    background:linear-gradient(
        90deg,
        rgba(5,20,42,.32),
        rgba(5,20,42,.05)
    );

    pointer-events:none;
}

.hero-content{
    position:relative;
    z-index:2;

    width:100%;
    max-width:1200px;

    margin:35px auto 0;
    padding:0 30px;

    display:flex;
    flex-direction:column;
    align-items:center;

    color:#ffffff;
    text-align:center;
}

.tagline{
    margin:0 0 18px;

    color:#ff7a00;

    font-size:20px;
    font-weight:800;
    letter-spacing:6px;

    text-align:center;
}

.hero h2{
    max-width:720px;

    color:#ffffff;

    font-size:72px;
    line-height:1.05;
}

.hero h2 span{
    color:#ff9d32;
}

.hero-text{
    width:100%;
    max-width:620px;

    margin-top:25px;

    color:#eef2f8;

    font-size:20px;
    line-height:1.8;
}

/* =====================================================
   TRACK CARD
===================================================== */

.track-card{
    position:relative;

    width:460px;
    max-width:100%;

    margin:20px auto 0;
    padding:28px;

    background:#ffffff;
    border-radius:18px;

    box-shadow:0 18px 40px rgba(0,0,0,.25);
}

.track-card h3{
    margin-bottom:18px;

    color:#07182f;

    font-size:24px;
    line-height:1.2;
    text-align:center;
}

.track-card form{
    width:100%;
}

.track-card input{
    width:100%;
    height:52px;

    margin-bottom:14px;
    padding:0 16px;

    border:1px solid #d7dce5;
    border-radius:10px;

    color:#1d2a44;
    background:#ffffff;

    font-size:16px;
    outline:none;
}

.track-card input:focus{
    border-color:#f26a21;
    box-shadow:0 0 0 3px rgba(242,106,33,.12);
}

.track-card button{
    width:100%;
    height:50px;

    border:none;
    border-radius:10px;

    background:#f26a21;
    color:#ffffff;

    font-size:16px;
    font-weight:800;

    cursor:pointer;
    transition:.25s;
}

.track-card button:hover{
    background:#d85618;
    transform:translateY(-1px);
}

.track-card p{
    margin-top:18px;

    color:#5d6573;

    font-size:15px;
    line-height:1.6;
    text-align:center;
}
/* =====================================================
   FEATURES
===================================================== */

.features{
    width:100%;

    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:20px;

    padding:35px 55px;

    background:#07182f;
    color:#ffffff;
}

.features div{
    min-width:0;
    text-align:center;
}

.features strong{
    display:block;

    margin-bottom:8px;

    color:#ff9d32;

    font-size:22px;
    font-weight:900;
}

.features span{
    display:block;

    color:#ffffff;

    font-size:15px;
    line-height:1.4;
}

/* =====================================================
   SERVICES
===================================================== */

.services{
    width:100%;

    padding:90px 60px;

    background:#f7f9fc;
    text-align:center;
}

.section-label{
    margin-bottom:15px;

    color:#f26a21;

    font-size:14px;
    font-weight:800;
    letter-spacing:3px;
}

.services h2{
    margin-bottom:55px;

    color:#07182f;

    font-size:42px;
    line-height:1.15;
}

.service-grid{
    width:100%;
    max-width:1600px;

    margin:0 auto;

    display:grid;
    grid-template-columns:repeat(5, minmax(0, 1fr));
    gap:20px;
}

.service-card{
    min-width:0;

    overflow:hidden;

    background:#ffffff;
    border-radius:16px;

    box-shadow:0 10px 28px rgba(0,0,0,.08);

    transition:.35s;
}

.service-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,0,0,.14);
}

.service-card img{
    width:100%;
    height:145px;

    object-fit:cover;
}

.service-content{
    padding:18px;

    text-align:left;
}

.service-content h3{
    margin-bottom:10px;

    color:#07182f;

    font-size:18px;
}

.service-content p{
    color:#5b6678;

    font-size:14px;
    line-height:1.6;
}
/* =====================================================
   ABOUT
===================================================== */

.about-section{
    width:100%;
    padding:90px 60px;

    background:#ffffff;
}

.about-container{
    width:100%;
    max-width:1550px;

    margin:0 auto;

    display:grid;
    grid-template-columns:minmax(0, 2fr) minmax(300px, 1fr);
    gap:35px;

    align-items:center;
}

.about-left{
    min-width:0;
}

.about-left h2{
    margin:20px 0;

    color:#07182f;

    font-size:42px;
    line-height:1.15;
}

.about-left p{
    margin-bottom:20px;

    color:#5d6575;

    font-size:16px;
    line-height:1.8;
}

.about-button{
    display:inline-block;

    margin-top:10px;
    padding:15px 28px;

    border-radius:8px;

    background:#f26a21;
    color:#ffffff;

    font-weight:800;

    transition:.25s;
}

.about-button:hover{
    background:#d85618;
    transform:translateY(-2px);
}

.about-right{
    min-width:0;

    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:20px;
}

.about-box{
    min-width:0;

    padding:28px 18px;

    border-radius:14px;

    background:#07182f;
    color:#ffffff;

    text-align:center;
}

.about-box h3{
    margin-bottom:10px;

    color:#ff9d32;

    font-size:34px;
    font-weight:900;
}

.about-box span{
    display:block;

    color:#ffffff;

    font-size:14px;
    line-height:1.4;
}
/* =====================================================
   WHY CHOOSE US
===================================================== */

.why-section{
    width:100%;
    padding:90px 60px;

    background:#f7f9fc;
    text-align:center;
}

.why-section h2{
    margin-bottom:50px;

    color:#07182f;

    font-size:42px;
    line-height:1.15;
}

.why-grid{
    width:100%;
    max-width:1400px;

    margin:0 auto;

    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:22px;
}

.why-card{
    min-width:0;

    padding:30px 24px;

    background:#ffffff;
    border-radius:16px;

    box-shadow:0 10px 28px rgba(0,0,0,.08);

    text-align:left;
    transition:.3s;
}

.why-card:hover{
    transform:translateY(-6px);
    box-shadow:0 17px 34px rgba(0,0,0,.13);
}

.why-card h3{
    margin-bottom:12px;

    color:#07182f;

    font-size:20px;
}

.why-card p{
    color:#5b6678;

    font-size:15px;
    line-height:1.6;
}

/* =====================================================
   CONTACT
===================================================== */

.contact-section{
    width:100%;
    padding:90px 60px;

    background:#ffffff;
    text-align:center;
}

.contact-section h2{
    margin-bottom:50px;

    color:#07182f;

    font-size:42px;
    line-height:1.15;
}

.contact-grid{
    width:100%;
    max-width:1300px;

    margin:0 auto;

    display:grid;
    grid-template-columns:repeat(4, minmax(0, 1fr));
    gap:22px;
}

.contact-card{
    min-width:0;

    padding:28px 20px;

    background:#f7f9fc;
    border-radius:14px;

    box-shadow:0 8px 24px rgba(0,0,0,.06);
}

.contact-card h3{
    margin-bottom:10px;

    color:#07182f;

    font-size:19px;
}

.contact-card p{
    color:#5d6575;

    font-size:14px;
    line-height:1.5;

    overflow-wrap:anywhere;
}
/* =====================================================
   FOOTER
===================================================== */

.footer{
    width:100%;

    padding:55px 20px 35px;

    background:linear-gradient(
        135deg,
        #061b3a 0%,
        #0b3f91 50%,
        #061b3a 100%
    );

    color:#ffffff;
    text-align:center;
}

.footer h2{
    margin-bottom:12px;

    color:#ffffff;

    font-size:36px;
    font-weight:900;
    font-style:italic;
}

.footer h2 span{
    color:#ff6a00;
}

.footer p{
    color:#d8e4f4;

    font-size:15px;
    line-height:1.5;
}

.footer .copyright{
    margin-top:22px;

    font-size:12px;
    opacity:.75;
}
/* =====================================================
   TABLET
===================================================== */

@media(max-width:1100px){

    .navbar{
        padding:14px 28px;
        flex-wrap:wrap;
        justify-content:center;
    }

    .navbar nav{
        order:3;
        width:100%;
        flex-wrap:wrap;
    }

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

    .why-grid,
    .contact-grid{
        grid-template-columns:repeat(2, minmax(0, 1fr));
    }

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

/* =====================================================
   CELULAR
===================================================== */

@media(max-width:768px){

    html,
    body{
        width:100%;
        max-width:100%;
        overflow-x:hidden;
    }

    /* Barra superior */

    .top-bar{
        min-height:auto;

        display:grid;
        grid-template-columns:1fr 1fr;

        gap:7px 10px;
        padding:9px 12px;

        font-size:9px;
        text-align:center;
    }

    /* Logo y menú */

    .navbar{
        min-height:auto;

        padding:16px 12px 20px;

        display:flex;
        flex-direction:column;
        gap:16px;

        position:relative;
    }

    .brand-main{
        font-size:30px;
        letter-spacing:-1.5px;
    }

    .logo-e{
        padding:0 4px;
    }

    .brand-slogan{
        font-size:12px;
    }

    .brand-slogan .line{
        width:25px;
    }

    .navbar nav{
        width:100%;

        display:grid;
        grid-template-columns:repeat(3, auto);

        justify-content:center;
        gap:13px 24px;
    }

    .navbar nav a{
        font-size:12px;
    }

    .track-btn{
        width:240px;
        max-width:85%;

        padding:13px 12px;

        text-align:center;
    }

    /* Hero */

    .hero{
        min-height:690px;

        padding:0 14px 30px;

        align-items:flex-start;

        background-size:cover;
        background-position:center top;
    }

    .hero-content{
        width:100%;
        max-width:100%;

        margin:0;
        padding:0;

        left:auto;
        transform:none;
    }

    .tagline{
        width:100%;
        max-width:310px;

        margin:270px auto 12px;

        font-size:11px;
        line-height:1.35;
        letter-spacing:3px;

        white-space:normal;
    }

    /* Caja de rastreo */

    .track-card{
        width:100%;
        max-width:350px;

        margin:0 auto;
        padding:22px 16px;

        left:auto;
        transform:none;
    }

    .track-card h3{
        font-size:21px;
    }

    .track-card input{
        height:51px;
        font-size:14px;
    }

    .track-card button{
        height:48px;
        font-size:14px;
    }

    .track-card p{
        font-size:13px;
        line-height:1.45;
    }

    /* Features */

    .features{
        grid-template-columns:repeat(2, minmax(0, 1fr));

        gap:22px 8px;
        padding:28px 10px;
    }

    .features strong{
        font-size:17px;
    }

    .features span{
        font-size:11px;
    }

    /* Secciones */

    .services,
    .about-section,
    .why-section,
    .contact-section{
        padding:65px 18px;
    }

    .services h2,
    .about-left h2,
    .why-section h2,
    .contact-section h2{
        font-size:30px;
    }

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

    .service-card img{
        height:210px;
    }

    .about-right{
        grid-template-columns:repeat(2, minmax(0, 1fr));
        gap:12px;
    }

    .about-box{
        padding:22px 10px;
    }

    .about-box h3{
        font-size:28px;
    }

    .why-grid,
    .contact-grid{
        grid-template-columns:1fr;
    }

    .footer h2{
        font-size:30px;
    }
}
/* =====================================================
   CELULARES PEQUEÑOS
===================================================== */

@media(max-width:390px){

    .top-bar{
        grid-template-columns:1fr;
        gap:5px;
        padding:8px 10px;
    }

    .brand-main{
        font-size:27px;
    }

    .brand-slogan{
        font-size:11px;
    }

    .brand-slogan .line{
        width:20px;
    }

    .navbar nav{
        grid-template-columns:repeat(2, auto);
        gap:12px 18px;
    }

    .track-btn{
        width:220px;
        max-width:90%;
    }

    .hero{
        min-height:650px;
        padding-left:10px;
        padding-right:10px;
    }

    .tagline{
        margin-top:245px;
        max-width:280px;

        font-size:10px;
        letter-spacing:2px;
    }

    .track-card{
        width:100%;
        max-width:330px;

        padding:20px 14px;
    }

    .track-card h3{
        font-size:20px;
    }

    .features{
        grid-template-columns:repeat(2, minmax(0, 1fr));

        padding-left:6px;
        padding-right:6px;
    }

    .services,
    .about-section,
    .why-section,
    .contact-section{
        padding-left:14px;
        padding-right:14px;
    }

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

/* =====================================================
   SEGURIDAD CONTRA DESBORDES
===================================================== */

@media(max-width:768px){

    body,
    main,
    section,
    header,
    footer,
    .navbar,
    .hero,
    .hero-content,
    .track-card,
    .features,
    .services,
    .service-grid,
    .about-container,
    .why-grid,
    .contact-grid{
        max-width:100%;
    }

    input,
    button,
    textarea,
    select{
        max-width:100%;
    }
}
/* ==========================================
   HERO PC - RESTAURAR DISEÑO ORIGINAL
========================================== */

@media (min-width: 769px){

    .hero-content{
        width:1200px !important;
        margin:0 auto !important;

        display:flex !important;
        flex-direction:column !important;
        align-items:flex-start !important;

        padding-left:90px !important;
    }

    .tagline{
        color:#ff6a00 !important;
        font-size:22px !important;
        font-weight:700 !important;
        letter-spacing:7px !important;

        margin:120px 0 20px 0 !important;

        text-align:left !important;
    }

    .track-card{

        position:relative !important;
        left:0 !important;

        width:430px !important;

        margin-top:0 !important;

        background:linear-gradient(135deg,#0d2f66,#163f86) !important;

        color:#fff !important;

        border-radius:18px !important;

        box-shadow:0 18px 40px rgba(0,0,0,.35) !important;

        padding:30px !important;
    }

    .track-card h3{
        color:#fff !important;
    }

    .track-card p{
        color:#e8eefc !important;
    }

}
/* ==========================================
   RESTAURAR HERO PC
   Caja azul a la izquierda
========================================== */

@media (min-width:769px){

    .hero-content{

        width:1200px !important;
        margin:40px auto 0 !important;

        display:flex !important;
        flex-direction:column !important;
        align-items:flex-start !important;

        padding-left:80px !important;
    }

    /* FAST • SECURE • WORLDWIDE */

    .tagline{

        margin:0 0 18px 0 !important;

        text-align:left !important;

        color:#FF6A00 !important;

        font-size:20px !important;

        font-weight:700 !important;

        letter-spacing:6px !important;
    }

    /* Caja */

    .track-card{

        position:relative !important;

        left:0 !important;
        transform:none !important;

        margin:0 !important;

        width:430px !important;

        background: rgba(16, 44, 87, 0.65) !important

        border-radius:18px !important;

        box-shadow:0 18px 40px rgba(0,0,0,.30) !important;
    }

    .track-card h3{
        color:#ffffff !important;
    }

    .track-card p{
        color:#E7EDF8 !important;
    }

}
/* COLOR AZUL PREMIUM DE LA CAJA DE TRACKING */

@media (min-width:769px){

    .hero .track-card{
        background:rgba(9, 31, 61, 0.82) !important;

        border:1px solid rgba(255,255,255,0.18) !important;

        box-shadow:0 18px 40px rgba(0,0,0,0.35) !important;

        backdrop-filter:blur(8px) !important;
        -webkit-backdrop-filter:blur(8px) !important;
    }

}