/* =====================================
   GRUPO PACIFICOSUR
   ESTILO CORPORATIVO
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Segoe UI', Arial, sans-serif;
    background:#ffffff;
    color:#333;
    line-height:1.7;
}

/* =====================================
   HEADER
===================================== */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:80px;
    background:#ffffff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 50px;
    box-shadow:0 2px 12px rgba(0,0,0,.08);
    z-index:1000;
}

.logo{
    font-size:28px;
    font-weight:700;
    color:#0A3D91;
}
.logo a{
    text-decoration:none;
    color:#0A3D91;
}

.logo a:hover{
    color:#1B5FBF;
}

nav ul{
    display:flex;
    gap:30px;
    list-style:none;
}

nav a{
    color:#0A3D91;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

nav a:hover{
    color:#1B5FBF;
}

/* =====================================
   BOTON MENU MOVIL
===================================== */

.menu-toggle{
    display:none;
    background:none;
    border:none;
    font-size:30px;
    color:#0A3D91;
    cursor:pointer;
}

/* =====================================
   HERO
===================================== */

.hero{
    min-height:90vh; /*aca cambio el tamaño de la imagen principal*/

    background:
    linear-gradient(
        rgba(10,61,145,.35),
        rgba(10,61,145,.25)
    ),
    url('../img/hero.jpg');

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;

    color:white;

    padding:120px 30px;
}

.hero-content{
    max-width:1000px;
}

.hero h1{
    font-size:4rem;
    margin-bottom:20px;
}

.hero p{
    font-size:1.35rem;
    margin-bottom:40px;
}

.btn{
    display:inline-block;
    background:white;
    color:#0A3D91;
    text-decoration:none;
    padding:15px 35px;
    border-radius:6px;
    font-weight:700;
    transition:.3s;
}

.btn:hover{
    background:#eef4ff;
}

/* =====================================
   SECCIONES
===================================== */

.seccion{
    padding:100px 10%;
}

.seccion h2{
    text-align:center;
    color:#0A3D91;
    font-size:2.5rem;
    margin-bottom:30px;
}

.seccion p{
    max-width:1000px;
    margin:auto;
    text-align:center;
}

/* =====================================
   FONDOS
===================================== */

.gris{
    background:#f5f7fa;
}

.azul{
    background:#0A3D91;
    color:white;
}

.azul h2{
    color:white;
}

/* =====================================
   CAJAS DE CONTENIDO
===================================== */

.info-box{
    max-width:1000px;
    margin:40px auto 0;
    background:#ffffff;
    padding:40px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

/* =====================================
   TARJETAS
===================================== */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
    margin-top:40px;
}

.card{
    background:white;
    padding:35px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
    transition:.3s;
    text-align:center;
}

.card:hover{
    transform:translateY(-6px);
}

.card h3{
    color:#0A3D91;
    margin-bottom:15px;
}

.card p{
    margin-bottom:25px;
}

/* =====================================
   BOTONES DE SECCION
===================================== */

.acciones{
    text-align:center;
    margin-top:30px;
}

.boton-seccion{
    display:inline-block;
    padding:14px 28px;
    background:#0A3D91;
    color:white;
    text-decoration:none;
    border-radius:6px;
    font-weight:600;
    transition:.3s;
}

.boton-seccion:hover{
    background:#082f72;
}

/* =====================================
   GALERIA
===================================== */

.galeria{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
    max-width:1400px;
    margin:auto;
}

.galeria img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.10);
    transition:.3s;
}

.galeria img:hover{
    transform:scale(1.02);
}

/* =====================================
   FORMULARIOS
===================================== */

form{
    max-width:800px;
    margin:auto;
}

input,
textarea{
    width:100%;
    padding:15px;
    margin-bottom:15px;
    border:1px solid #dcdcdc;
    border-radius:6px;
    font-size:15px;
}

textarea{
    min-height:180px;
    resize:vertical;
}

button{
    background:#0A3D91;
    color:white;
    border:none;
    padding:15px 30px;
    border-radius:6px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

button:hover{
    background:#082f72;
}

/* =====================================
   CONTACTO
===================================== */

.contacto-box{
    max-width:900px;
    margin:auto;
    text-align:center;
}

/* =====================================
   FOOTER
===================================== */

footer{
    background:#081f4d;
    color:white;
    text-align:center;
    padding:35px;
}

/* =====================================
   TABLETS
===================================== */

@media (max-width:1024px){

    .hero h1{
        font-size:3rem;
    }

    .hero p{
        font-size:1.15rem;
    }

    .seccion{
        padding:80px 8%;
    }

}
.submenu{
    position:static;
    display:block;
    box-shadow:none;
    background:#f8f8f8;
    border-top:3px solid #0A3D91;
}

.submenu a{
    padding:10px 16px;
}


/* =====================================
   MOVILES
===================================== */

@media (max-width:768px){

    header{
        padding:15px 20px;
        height:auto;
        min-height:80px;
    }

    .logo{
        font-size:24px;
    }

    .menu-toggle{
        display:block;
    }

    nav{
        display:none;
        position:absolute;
        top:80px;
        left:0;
        width:100%;
        background:#ffffff;
        box-shadow:0 5px 15px rgba(0,0,0,.1);
    }

    nav.activo{
        display:block;
    }

    nav ul{
        flex-direction:column;
        gap:0;
    }

    nav li{
        border-bottom:1px solid #ececec;
    }

    nav a{
        display:block;
        padding:15px 25px;
    }

    .hero{
        min-height:80vh;
        padding:120px 20px 80px;
    }

    .hero h1{
        font-size:2.2rem;
    }

    .hero p{
        font-size:1rem;
    }

    .seccion{
        padding:70px 25px;
    }

    .seccion h2{
        font-size:2rem;
    }

    .info-box{
        padding:25px;
    }

    .cards{
        grid-template-columns:1fr;
    }

}
.submenu{
    position:static;
    display:block;
    box-shadow:none;
    background:#f8f8f8;
}

/* =====================================
   MOVILES PEQUEÑOS
===================================== */

@media (max-width:480px){

    .hero h1{
        font-size:1.8rem;
    }

    .hero p{
        font-size:.95rem;
    }

    .seccion h2{
        font-size:1.7rem;
    }

    .btn,
    .boton-seccion{
        width:100%;
        max-width:300px;
    }

}
/* =====================================
   MENU DESPLEGABLE
===================================== */

.menu{
    display:flex;
    gap:30px;
    list-style:none;
}

.menu > li{
    position:relative;
}

.submenu{
    display:none;
    position:absolute;
    top:100%;
	left:50%;
	transform:translateX(-50%);
    min-width:150px;
    background:#fff;
    list-style:none;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
    border-top:3px solid #0A3D91;
    z-index:1000;
}

.submenu li{
    line-height:1;
}

.submenu a{
    display:block;
    padding:8px 14px;
    white-space:nowrap;
    font-size:15px;
}

.submenu a:hover{
    background:#f5f7fa;
}

.dropdown:hover .submenu{
    display:block;
}
/*TITULOS DE PAGINAS DE HISTORIAS EMPRESAS Y GALERIA*/
h1{
    text-align:center;
    color:#0A3D91;
    font-size:3rem;
    margin-bottom:30px;
}

.galeria{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:20px;
}

.galeria img{
    width:100%;
    height:280px;
    object-fit:cover;
    border-radius:10px;
    transition:.3s;
}

.galeria img:hover{
    transform:scale(1.03);
}
/* ACA TERMINA*/
/* =====================================
   HISTORIA VISUAL
===================================== */

.timeline-historia{
    position:relative;
    max-width:1400px;
    margin:auto;
    padding:80px 0;
}

.timeline-line{
    position:absolute;
    left:50%;
    top:0;
    width:4px;
    height:100%;
    background:#0A3D91;
    transform:translateX(-50%);
}

.timeline-item{
    width:50%;
    padding:30px;
    position:relative;
}

.timeline-item.left{
    left:0;
}

.timeline-item.right{
    left:50%;
}

.timeline-box{
    background:#fff;
    padding:25px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,.10);
}

.timeline-img img{
    width:100%;
    border-radius:12px;
    margin-bottom:15px;
}

.year{
    display:inline-block;
    margin-bottom:10px;
    color:#0A3D91;
    font-weight:bold;
    font-size:1.2rem;
}

.timeline-box h3{
    color:#0A3D91;
    margin-bottom:10px;
}

/* MOVIL */

@media(max-width:900px){

    .timeline-line{
        left:20px;
    }

    .timeline-item{
        width:100%;
        left:0 !important;
        padding-left:60px;
    }

}
/* =====================================
   CABECERA EMPRESA
===================================== */

.empresa-hero{
    max-width:1200px;
    height:500px;
    margin:0 auto 40px auto;
    border-radius:12px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

.empresa-hero img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
}
/* =====================================
   EMPRESAS
===================================== */

.empresa-hero{
    max-width:1200px;
    margin:0 auto 40px auto;
}

.empresa-hero img{
    width:100%;
    height:500px;
    object-fit:cover;
    border-radius:12px;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}

@media(max-width:768px){

    .empresa-hero img{
        height:280px;
    }

}