*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body{
    color:#333;
}
    
/* HEADER */

.header-bar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.top-contact {
    background: #011142;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between; /* Separa info de contacto de redes */
    align-items: center;
    color: #f2f2f2;
    font-size: 0.8rem;
    gap: 50px;
}

.top-contact a:hover {
    color: #e63946;
}

.contact-info {
    display: flex;
    gap: 20px; 
}

.contact-info a {
    color: #f2f2f2;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Redes sociales */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #f2f2f2;
    font-size: 1rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: #e63946;
}


/* Contenedor del Logo y Menú */
.header-logo-nav {
    padding: 15px 20px;
    display: flex;
    align-items: center;
}

/* Botón personalizado que integra logo + texto */
.menu-btn-custom {
    display: flex;
    align-items: center;
    gap: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: opacity 0.3s;
}

.menu-btn-custom:hover { opacity: 0.7; }

.logo-small {
    width: 140px; 
    height: auto;
}

.menu-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #004080;
    display: flex;
    align-items: center;
    gap: 8px;
}

/*.logo-nav{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px;
}

.logo img{
    width:150px;
}

.main-nav ul{
    display:flex;
    list-style:none;
    gap:25px;
    align-items: center;
}

.main-nav a{
    text-decoration:none;
    color:#004080;
    font-weight:bold;
}

.main-nav a:hover{
    color:#e63946;
}

/* CARRUSEL */

.banner-slider{
    position:relative;
    height:400px;
    overflow:hidden;
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    opacity:0;
    transition:opacity 1.5s;
}

.slide.active{
    opacity:1;
}

.slide img{
    width: 100%;
    height:90%;
    object-fit:contain;
}

.hero{
    background:linear-gradient(
        rgba(21, 40, 59, 0.85),
        rgba(23, 71, 119, 0.85)
    ),
    url('img/transporte.avif');

    background-size:cover;
    background-position:center;

    color:white;
    text-align:center;
    padding:100px 20px;
}

.hero h1{
    font-size:1rem;
    margin-bottom:20px;
}

.hero p{
    max-width:800px;
    margin:auto;
    margin-bottom:30px;
}

.btn{
    background:#011142;
    color:white;
    text-decoration:none;
    padding:15px 30px;
    border-radius:8px;
    font-weight:bold;
}

.btn:hover{
    background:white;
    color:#004080;
}

.vision-mision {
    display: flex;
    gap: 40px;
    padding: 50px 10%;
    align-items: stretch; 
    max-width: 1400px;
    margin: 0 auto;
}

.lvg-container {
    flex: 0 0 45%; 
}

.lvg-container img {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
    border-radius: 10px;
}

.vision-mision-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.card {
    width: 100%; 
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    text-align: justify;
}

.card i {
    font-size: 40px;
    color: #004080;
    margin-bottom: 15px;
    align-self: flex-start; 
}



.pilares{
    background:#f8f9fa;
    text-align:center;
    padding:80px 20px;
}

.pilares h2{
    margin-bottom:50px;
}

.pilares p{
    margin-bottom:50px;
}

.pilares-grid{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:25px;
}

.pillar-card{
    background:white;
    width:250px;
    padding:30px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.pillar-card:hover{
    transform:translateY(-8px);
}

.pillar-card i{
    font-size:45px;
    color:#004080;
    margin-bottom:15px;
}

/* Contenedor principal de servicios */
.services {
    padding: 80px 5%;
    background-color: #f4f7f9; /* Un tono gris muy suave y limpio */
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.card-content {
    flex: 1; 
    padding-right: 5px;
    margin: 5px; 
}

.services-text {
    text-align: center;
    margin-bottom: 50px;
}

.services-text h2 {
    font-size: 2.5rem;
    color: #011142; 
    margin-bottom: 15px;
}

/* Grilla profesional */
.service-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);;
}

.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    text-align: left;
    border: 1p  x solid #eef1f4;
}

/* Efecto hover: La tarjeta "levita" */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #004080;
}

.service-card i {
    font-size: 35px;
    min-width: auto;
    min-height: auto;
    color: #004080;
    margin-bottom: 25px;
    display: block;
}

.service-card h3 {
    color: #011142;
    margin-bottom: 15px;
    font-size: 1.4rem;
    text-align: center;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.75rem;
    text-align: justify;
}

/* Responsive */
@media (max-width: 900px) {
  .services-container {
    flex-direction: column;
    align-items: center;
  }
  .services-text {
    max-width: 100%;
    text-align: center;
    margin-bottom: 30px;
  }
}

.unique-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #011142;
    margin-bottom: 50px;
}

.unique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.unique-card {
    padding: 40px;
    text-align: center;
    border-radius: 20px;
    background: #011C6B; /* Fondo gris muy sutil */
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

/* Efecto al pasar el mouse: se ilumina y flota */
.unique-card:hover {    
    background: #f2f2f2;
    border-color: #f2f2f2;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.unique-card:hover h3 {
    color: #011C6B;
}

.unique-card:hover p{
    color: #011C6B;
}

.icon-wrapper {
    font-size: 3rem;
    color: #004080;
    margin-bottom: 20px;
}

.unique-card h3 {
    margin-bottom: 15px;
    color: #FFFFFF;
}

.unique-card p {
    color: #F2F2F2;
    line-height: 1.5;
    font-size: 0.95rem;
    text-align: justify;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 9999;
    transition: 0.4s ease;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
}

.side-menu.active { left: 0; }

.overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: none; z-index: 9998;
}

.overlay.active { display: block; }

.side-nav ul { list-style: none; margin-top: 50px; }
.side-nav li a { 
    display: block; 
    padding: 15px; 
    text-decoration: none; 
    color: #004080; 
    font-weight: bold; 
    border-bottom: 1px solid #f0f0f0; 
}

/* Ocultar el botón duplicado que pusiste al final del HTML */
.menu-btn {
    display: none;
}

/* --- CORRECCIÓN HERO --- */
.hero h1 {
    font-size: 2.5rem; /* Ajustado para que sea legible */
    margin-bottom: 20px;
}

.thank-you-section {
    padding: 80px 20px;
    background-color: #f8f9fa; /* Un fondo suave para resaltar la sección */
    text-align: center;
}

.thank-you-container {
    max-width: 800px;
    margin: 0 auto;
}

.logo-thank-you {
    width: 200px;
    margin-bottom: 20px;
}

.subtitle {
    letter-spacing: 2px;
    color: #011142;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.thank-you-section h2 {
    font-size: 3.5rem;
    color: #011142;
    margin: 0;
}

.thank-you-section h3 {
    font-size: 1.5rem;
    color: #011142;
    margin-bottom: 20px;
}

.separator {
    width: 60px;
    height: 3px;
    background-color: #e63946; /* Color de acento (rojo) */
    border: none;
    margin: 0 auto 30px auto;
}

.description {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
}

.contact-section { 
    padding: 80px 20px; 
    background: #f9f9f9; 
}
.contact-container { 
    max-width: 1000px; 
    margin: 0 auto; 
    text-align: center; 
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 15px;
    border: 1px solid #011142;
    border-radius: 8px;
    color: #011142;
}

.btn-submit {
    padding: 15px;
    background: #011142;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

.contact-info-card {
    text-align: left;
    background: #011142;
    padding: 30px;
    margin: 10px;
    gap: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-info-card h3 {
    text-align: center;
    margin: 25px;
    font-size: 30px;
    color: white;
}

.contact-info-card p{
    text-align: left;
    margin: 25px;
    font-size: 20px;
    color: white;
}

@media (max-width: 768px) {
    .contact-wrapper { grid-template-columns: 1fr; }
}

.footer{
    background:#011142;
    color:white;
    text-align:center;
    padding:50px 20px;
}

.footer p{
    margin-top:10px;
}
@media(max-width:768px){

    .logo-nav{
        flex-direction:column;
        gap:20px;
    }

    .main-nav ul{
        flex-direction:column;
        text-align:center;
    }

    .vision-mision{
        flex-direction:column;
    }

    .hero h1{
        font-size:2rem;
    }

    .banner-slider{
        height:250px;
    }
}
