/*====================================================

ESTUDIO ALBISTUR
style.css

=====================================================*/


/*=========================================
=            VARIABLES
=========================================*/
:root{
    --primary:#25BDD1;
    --primary-dark:#0099b3;
    --secondary:#005B95;
    --accent:#F45B5B;
    --white:#ffffff;
    --black:#222222;
    --text:#555555;
    --light:#f5f7f9;
    --gray:#d9d9d9;
    --shadow:0 10px 30px rgba(0,0,0,.08);
    --transition:.35s ease;
}


/*=========================================
=            RESET
=========================================*/
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Open Sans',sans-serif;
    color:var(--black);
    background:#fff;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

button{
    border:none;
    background:none;
    cursor:pointer;
    font-family:inherit;
}

.container{
    width:min(1180px,92%);
    margin:auto;
}


/*=========================================
=            TITULOS
=========================================*/
.section-title{
    text-align:center;
    font-size:58px;
    color:var(--primary);
    font-weight:300;
    margin-bottom:70px;
}

.section-description{
    width:min(800px,90%);
    margin:auto;
    text-align:center;
    color:#666;
    line-height:1.8;
    margin-bottom:60px;
}


/*=========================================
=            HEADER
=========================================*/
.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:70px;
    background:var(--primary);
    z-index:9999;
    box-shadow:0 2px 15px rgba(0,0,0,.15);
}

.header .container{
    height:100%;
    display:flex;
    align-items:center;
}

.logo{
    display:flex;
    align-items:center;
    margin-left:10px;
}

.logo-divider{
    width: 1px;
    height: 55px;
    background: #fff;
    opacity: .6;
}

.logo-text{
    display: flex;
    flex-direction: column;
}

.logo img{
    width:75px;
    margin-top: 5px;
}

.logo div{
    margin-left:14px;
}

.logo h2{
    font-size:20px;
    color:white;
    font-weight:700;
    letter-spacing:.5px;
}

.logo p{
    color:white;
    font-size:12px;
    margin-top:2px;
}


/*=========================================
=            BOTON MENU
=========================================*/
.menu-button{
    width:45px;
    height:45px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:6px;
}

.menu-button span{
    width:28px;
    height:3px;
    background:white;
    border-radius:20px;
    transition:var(--transition);
}


/*=========================================
=            SIDEBAR
=========================================*/
.sidebar{
    position:fixed;
    left:-320px;
    top:0;
    width:300px;
    height:100vh;
    background:white;
    z-index:10000;
    transition:.35s;
    box-shadow:15px 0 40px rgba(0,0,0,.2);
}

.sidebar.active{
    left:0;
}

.sidebar-header{
    height:70px;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    padding-right:25px;
}

.close-menu{
    font-size:28px;
    color:#666;
}

.sidebar ul{
    margin-top:30px;
}

.sidebar li{
    border-bottom:1px solid #eee;
}

.sidebar a{
    display:block;
    padding:18px 35px;
    color:#555;
    transition:.25s;
}

.sidebar a:hover{
    background:var(--primary);
    color:white;
}


/*=========================================
=            OVERLAY
=========================================*/
.menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:.35s;
    z-index:9998;
}

.menu-overlay.active{
    opacity:1;
    visibility:visible;
}


/*=========================================
=            HERO
=========================================*/
.hero{
    position:relative;
    height:100vh;
    min-height:450px;
    overflow:hidden;
    margin-top:70px;
}

.hero-image{
    position:absolute;
    inset:0;
    background:url("../img/transport.png");
    background-size:cover;
    background-position:center center;
    transform:scale(1.05);
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.42);
}


/*=========================================
=            PATRON HERO
=========================================*/
.hero-pattern{
    position:absolute;
    inset:0;
    background-image:
    repeating-linear-gradient(
        75deg,
        rgba(255,255,255,.08) 0px,
        rgba(255,255,255,.08) 2px,
        transparent 2px,
        transparent 26px
    );
}


/*=========================================
=            HERO CONTENT
=========================================*/
.hero-content{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:min(1000px,90%);
    text-align:center;
    color:white;
}

.hero-content h1{
    font-size:50px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    text-shadow:0 3px 10px rgba(0,0,0,.35);
}

.hero-content h2{
    margin-top:18px;
    font-size:25px;
    font-weight:600;
    letter-spacing:1px;
}


/*=========================================
=            BOTON
=========================================*/
.btn-principal{
    display:inline-block;
    margin-top:45px;
    padding:18px 42px;
    background:var(--accent);
    color:white;
    border-radius:3px;
    font-weight:400;
    letter-spacing:.8px;
    transition:var(--transition);
}

.btn-principal:hover{
    background:#e24848;
    transform:translateY(-3px);
}


/*======================================================
=                    SERVICIOS
======================================================*/
.services{
    padding:80px 0 100px;
    background:#ffffff;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:70px;
}

.service{
    text-align:center;
}

.service .icon{
    width:80px;
    height:80px;
    margin:0 auto 35px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    color:var(--primary);
    font-size:48px;
    border:2px solid rgba(37,189,209,.15);
    transition:.35s;
}

.service:hover .icon{
    transform:translateY(-8px);
    background:var(--primary);
    color:#fff;
    border-color:var(--primary);
}

.services h2{
    color: #222;
}

.service h3{
    font-size:22px;
    font-weight:300;
    color:#4d4d4d;
    margin-bottom:30px;
    min-height:75px;
    display:flex;
    align-items:center;
    justify-content:center;
    line-height:1.3;
}

.service ul{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.service li{
    color:#666;
    line-height:1.8;
    font-size:14px;
    position:relative;
    padding-left:20px;
}

.service li::before{
    content:"";
    position:absolute;
    left:0;
    top:11px;
    width:6px;
    height:6px;
    border-radius:50%;
    background:var(--primary);
}


/*======================================================
=                    EMPRESA
======================================================*/
.empresa{
    position:relative;
    background:var(--secondary);
    color:#fff;
    overflow:hidden;
    padding:170px 0;
}

/* Diagonal superior */
.empresa-top-shape{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:120px;
    background:#fff;
    clip-path:polygon(0 0,100% 0,100% 15%,0 100%);
}

/* Diagonal inferior */
.empresa-bottom-shape{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:120px;
    background:#fff;
    clip-path:polygon(0 85%,100% 0,100% 100%,0 100%);
}

.empresa .container{
    position:relative;
    z-index:2;
}

.empresa-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:70px;
}

.empresa-item{
    text-align:center;
}

.empresa-item h2{
    font-size:48px;
    font-weight:300;
    margin-bottom:35px;
    color:#fff;
}

.empresa-item p{
    color:rgba(255,255,255,.95);
    font-size:17px;
    line-height:1.7;
    text-align: justify;
}


/*======================================================
=               EFECTO COLUMNAS
======================================================*/
.empresa-item{
    position:relative;
}

.empresa-item:not(:last-child)::after{
    content:"";
    position:absolute;
    right:-35px;
    top:15px;
    width:1px;
    height:80%;
    background:rgba(255,255,255,.15);
}


/*======================================================
=              ANIMACIONES
======================================================*/
.service,
.empresa-item{
    transition:.35s;
}

.service:hover{
    transform:translateY(-10px);
}

.empresa-item:hover{
    transform:translateY(-8px);
}


/*======================================================
=                 RESPONSIVE EMPRESA
======================================================*/
@media(max-width:1100px){
.services-grid{
    grid-template-columns:1fr;
    gap:80px;
}

.empresa-grid{
    grid-template-columns:1fr;
    gap:70px;
}

.empresa-item::after{
    display:none;
}

.service h3{
    min-height:auto;
}
}


/*======================================================
=            DESPACHANTE DE ADUANA
======================================================*/
.despachante{
    padding:100px 0;
    background:#ffffff;
}

.despachante .section-title{
    color:#222;
}

.despachante-content{
    max-width:1100px;
    margin:auto;
}

.despachante-content > p{
    font-size:18px;
    line-height:1.9;
    color:#666;
    text-align:justify;
    margin-bottom:30px;
}

.despachante strong{
    color:var(--secondary);
}

.despachante-grid{
    margin-top:60px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:35px;
}

.despachante-item{
    background:#fff;
    padding:35px;
    border-radius:10px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    border-top:4px solid var(--primary);
    transition:.35s;
}

.despachante-item:hover{
    transform:translateY(-8px);
}

.despachante-item i{
    font-size:42px;
    color:var(--primary);
    margin-bottom:20px;
}

.despachante-content h2{
    font-size:50px;
    margin-bottom:15px;
    text-align: justify;
}

.despachante-item h3{
    font-size:24px;
    color:var(--secondary);
    margin-bottom:15px;
}

.despachante-item p{
    color:#666;
    line-height:1.8;
}

/* Responsive */

@media(max-width:768px){
    .despachante{
        padding:70px 0;
    }

    .despachante-grid{
        grid-template-columns:1fr;
    }

    .despachante-content>p{
        text-align:left;
        font-size:16px;
    }

}


/*======================================================
=                    VALORES
======================================================*/
.valores-right{
    padding: 80px 80px;
    background:var(--primary);
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
}

.valores-left img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.valores-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:80px;
    width:100%;
}

.valores-titulo{
    width:65%;
}

.valores-lista{
    width:75%;
}

.valores-titulo h2{
    font-size:40px;
    font-weight:300;
    color:#fff;
    line-height:1.1;
    margin:0;
    font-weight:bold;
}

.valores-lista ul{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.valores-lista li{
    color:#fff;
    font-size:16px;
    line-height:0.4;
    position:relative;
    padding-left:35px;
}

.valores-lista li::before{
    content:"✓";
    position:absolute;
    left:0;
    color:#fff;
    font-weight:bold;
}


/*======================================================
=                 RESPONSIVE VALORES
======================================================*/
@media(max-width:991px){
    .valores-content{
        flex-direction:column;
        gap:40px;
    }

    .valores-titulo,
    .valores-lista{
        width:100%;
    }

    .valores-titulo h2{
        text-align:center;
    }

    .valores-lista li{
        font-size:17px;
        line-height:1.7;
    }

    .valores-lista ul{
        gap:24px;
    }
}

@media(max-width:768px){

.valores-right{
    padding:60px 25px;
}

}


/*======================================================
=                 DIFERENCIALES
======================================================*/
.diferenciales{
    padding:40px 0;
    background:#fff;
}

.diferenciales-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    margin-top:60px;
}

.diferenciales .item{
    text-align:center;
    padding:45px 25px;
    transition:.35s;
}

.diferenciales .item:hover{
    transform:translateY(-10px);
}

.diferenciales .item i{
    font-size:50px;
    color:var(--primary);
    margin-bottom:30px;
}

.diferenciales h2{
    color: #222;
}

.diferenciales .item h3{
    font-size:20px;
    font-weight:300;
    color:#444;
    line-height:1.5;
}


/*======================================================
=                 CONTACTO
======================================================*/
.contacto{
    padding:80px 0;
    background:#f8fafb;
}

.contacto h2{
    color: #222;
}

.contact-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:90px;
    align-items:start;
    margin-top:60px;
}

.contact-form{
    background:#fff;
    border:1px solid #e6eef2;
    border-top:4px solid var(--primary);
    border-radius:8px;
    padding:35px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}


/*=========================================
=            FORMULARIO
=========================================*/
.contact-form form{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.input-group{
    margin-bottom:20px;
}

.input-group input,
.input-group textarea{
    width:100%;
    padding:18px 20px;
    border:1px solid #ddd;
    background:#fff;
    font-size:16px;
    color:#555;
    transition:.3s;
    border-radius:2px;
}

.input-group textarea{
    min-height:170px;
}

.input-group input:focus,
.input-group textarea:focus{
    border-color:var(--primary);
    box-shadow:0 0 0 4px rgba(37,189,209,.12);
}

.contact-form .btn-principal{
    width:230px;
    margin-top:10px;
}


/*=========================================
=            INFORMACION
=========================================*/
.contact-info{
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    gap:40px;
}

.info-item{
    display:flex;
    align-items:flex-start;
    gap:18px;
}

.info-item i{
    width:48px;
    height:48px;
    display:flex;
    justify-content:center;
    align-items:center;
    background:var(--primary);
    color:white;
    border-radius:50%;
    font-size:20px;
}

.info-item h4{
    font-size:20px;
    margin-bottom:8px;
    color:#333;
}

.info-item p{
    color:#666;
    line-height:1.8;
}


/*======================================================
=                     MAPA
======================================================*/
.mapa{
    padding:80px 0;
    background:#fff;
}

.mapa .container{
    max-width:1200px;
    margin:auto;
}

.mapa iframe{
    width:100%;
    height:420px;
    border:0;
    border-radius:10px;
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}


/*======================================================
=                RESPONSIVE
======================================================*/
@media(max-width:1100px){

.valores{
    grid-template-columns:1fr;
}

.valores-left{
    height:380px;
}

.valores-content{
    width:88%;
    padding:90px 0;
}

.valores-content h2{
    font-size:44px;
}

.valores-content li{
    font-size:18px;
}

.diferenciales-grid{
    grid-template-columns:repeat(2,1fr);
}

.contact-grid{
    grid-template-columns:1fr;
}

}


/*======================================================
=                     FOOTER
======================================================*/
footer{
    background:#222;
    color:#fff;
    padding:70px 0 20px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:70px;
    align-items:start;
}

.footer-logo{
    width:180px;
    margin-bottom:25px;
}

.footer-grid h3{
    color:#fff;
    font-size:22px;
    margin-bottom:20px;
}

.footer-grid p{
    color:#bdbdbd;
    line-height:1.9;
}

.footer-grid ul{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.footer-grid a{
    color:#cfcfcf;
    transition:.3s;
}

.footer-grid a:hover{
    color:var(--primary);
}

.copyright{
    margin-top:60px;
    border-top:1px solid rgba(255,255,255,.1);
    padding-top:20px;
    text-align:center;
    color:#999;
}

.developer{
    margin-top:12px;
    text-align:center;
    font-size:14px;
    color:#999;
}

.developer a{
    color:var(--primary);
    font-weight:600;
    text-decoration:none;
    transition:.3s;
}

.developer a:hover{
    color:#fff;
    text-decoration:underline;
}


/*======================================================
=                 BOTON WHATSAPP
======================================================*/
.whatsapp{
    position:fixed;
    right:35px;
    bottom:35px;
    width:65px;
    height:65px;
    border-radius:50%;
    background:#25D366;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:34px;
    box-shadow:0 12px 30px rgba(0,0,0,.25);
    z-index:999;
    transition:.35s;
}

.whatsapp:hover{
    transform:scale(1.1);
}


/*======================================================
=                SCROLL ANIMATION
======================================================*/
.fade-up{
    opacity:0;
    transform:translateY(40px);
    transition:1s;
}

.fade-up.show{
    opacity:1;
    transform:translateY(0);
}


/*======================================================
=                  BOTONES
======================================================*/
button,
.btn-principal{
    transition:.35s;
}

button:hover,
.btn-principal:hover{
    cursor:pointer;
}


/*======================================================
=                SELECCION TEXTO
======================================================*/
::selection{
    background:var(--primary);
    color:white;
}


/*======================================================
=                 SCROLLBAR
======================================================*/
::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#ececec;
}

::-webkit-scrollbar-thumb{
    background:var(--primary);
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:var(--secondary);
}


/*======================================================
=                    RESPONSIVE
======================================================*/
@media(max-width:1200px){
.hero-content h2{
    font-size:54px;
}

.hero-content h3{
    font-size:24px;
}

.section-title{
    font-size:50px;
}
}

@media(max-width:992px){
.header{
    height:65px;
}

.hero{
    margin-top:65px;
    min-height:650px;
}

.hero-content h2{
    font-size:42px;
}

.hero-content h3{
    font-size:20px;
}

.services{
    padding:90px 0;
}

.service .icon{
    width:95px;
    height:95px;
    font-size:46px;
}

.empresa{
    padding:120px 0;
}

.footer-grid{
    grid-template-columns:1fr;
    gap:45px;
}

.footer-logo{
    margin:auto auto 30px;
}

.footer-grid{
    text-align:center;
}
}

@media(max-width:768px){
.section-title{
    font-size:38px;
    margin-bottom:40px;
}

.hero{
    min-height:550px;
}

.hero-content{
    width:92%;
}

.hero-content h2{
    font-size:34px;
    line-height:1.25;
}

.hero-content h3{
    font-size:18px;
}

.btn-principal{
    padding:16px 30px;
    font-size:15px;
}

.services-grid{
    gap:60px;
}

.valores-content h2{
    font-size:34px;
}

.contacto{
    padding:90px 0;
}

.whatsapp{
    width:58px;
    height:58px;
    font-size:28px;
    right:20px;
    bottom:20px;
}

}

@media(max-width:576px){
.logo img{
    width:60px;
}

.logo h1{
    font-size:16px;
}

.logo p{
    font-size:11px;
}

 /* HERO */
.hero{
    min-height:420px;
}

.hero-content{
    top:32%;
}

.hero-content h1{
    font-size:40px;
}

.hero-content h2{
    font-size:24px;
}

.hero-content h3{
    font-size:16px;
}

.section-title{
    font-size:32px;
}

.service h3{
    font-size:24px;
}

.service li{
    font-size:15px;
}

.empresa-item h2{
    font-size:34px;
}

.valores-content h2{
    font-size:30px;
}

.valores-content li{
    font-size:16px;
}

.info-item{
    flex-direction:column;
    gap:8px;
    text-align: center;
    align-items: center;
}

.mapa{
        padding:40px 0;
        height:auto;
    }

    .mapa iframe{
        height:300px;
    }

}

@media(max-width:576px){

.diferenciales{
    overflow:hidden;
}

.diferenciales-grid{
    grid-template-columns:1fr;
    gap:20px;
    margin-top:30px;
}

.diferenciales .item{
    padding:30px 15px;
    width:100%;
}

.diferenciales .item i{
    font-size:42px;
}

.diferenciales .item h3{
    font-size:18px;
    line-height:1.4;
}

}

@media(max-width:576px){

    .valores-left{
        width:100%;
        height:140px;
        overflow:hidden;
    }

    .valores-left img{
        width:100%;
        height:100%;
        object-fit:cover;
        object-position:center;
    }

    .valores-right{
        padding:5px 25px;
    }

}

@media (max-width: 576px){

    .despachante .section-title{
        font-size: 32px;
    }

}

@media (max-width:576px){

    .header .container{
        display:flex;
        align-items:center;
    }

     .header .logo{
        display:flex;
        align-items:center;
        gap:8px;
        width:calc(100% - 50px);
    }

    .header .logo > div:last-child{
        flex:1;
    }

    .header .logo img{
        width:40px;
    }

    .logo > div:last-child{
        flex:1;
    }

    .logo h2{
        font-size:12px;
        white-space:nowrap;
        overflow:hidden;
        text-overflow:ellipsis;
        line-height:1;
    }

    .logo p{
        font-size:10px;
        white-space:nowrap;
    }

    .logo img{
        width:40px;
    }

    .logo-divider{
        width: 1px;
        height: 55px;
        background: #fff;
        opacity: .6;
    }

}

@media (max-width:576px){
     footer .logo{
        display:flex;
        justify-content:flex-start;
        align-items:center;
        width:auto;
        gap:12px;
        margin:0 auto;
    }

    footer .logo-divider{
        display:block;
        width:1px;
        min-width:1px;
        height:55px;
        background:rgba(255,255,255,.6);
        margin:0 10px;
    }

    footer .logo > div:last-child{
        flex:none;
        text-align:left;
        margin-left:0;
    }

    footer .logo h1,
    footer .logo p{
        text-align:left;
    }

}



