/* =========================================
   RESETEO GENERAL Y EQUILIBRIO DE FUENTES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* =========================================
   BARRA SUPERIOR (TOP BAR AMARILLA)
   ========================================= */
.top-bar {
    width: 100%;
    height: 40px; /* Aún más compacta */
    background-color: #F8C00B;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 5%; 
}

.top-bar__socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 26px;
    height: 26px;
    background-color: #FFFFFF;
    border-radius: 50%;
    text-decoration: none;
    color: #F8C00B;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* =========================================
   HEADER PRINCIPAL (BLANCO)
   ========================================= */
.main-header {
    width: 100%;
    min-height: 80px; /* HEADER MÁS COMPACTO */
    background-color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%; 
    position: relative; 
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    height: 70px;
}

.main-header__brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-header__logo {
    width: 100%;
    max-width: 140px; /* Logo ligeramente más pequeño */
    height: auto;
    object-fit: contain;
}

.main-header__slogan {
    color: #0015C5;
    font-weight: 700;
    font-size: clamp(12px, 1.2vw, 16px);
    line-height: 1.1;
}

/* Ocultar el botón hamburguesa en pantallas grandes */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: #0015C5;
    cursor: pointer;
}

.main-header__nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: #0015C5;
    font-weight: 700;
    font-size: 15px; /* Tamaño elegante y legible */
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap; 
}

.nav-link:hover {
    color: #F8C00B;
}

.btn-contact {
    padding: 8px 22px; 
    background-color: #F8C00B;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px; 
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-contact:hover {
    transform: scale(1.05);
    background-color: #e0ad0a;
}

/* =========================================
   SECCIÓN HERO
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 120px); 
    background-image: url('../assets/images/hero.webp'); 
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 20px 200px 20px; 
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 18, 69, 0.4); 
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    width: 100%;
}

.hero__title {
    color: #F8C00B;
    font-size: clamp(50px, 6vw, 90px);
    font-weight: 900; 
    font-style: italic; 
    line-height: 1;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.6); 
}

.hero__subtitle {
    color: #FFFFFF;
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 700;
    font-style: italic;
    margin-bottom: 25px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.hero__text {
    color: #FFFFFF;
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 40px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.hero__scroll-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #F8C00B;
    color: #FFFFFF;
    border-radius: 50%; 
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hero__scroll-btn:hover {
    transform: translateY(5px); 
    background-color: #e0ad0a;
}

/* =========================================
   FORMULARIO DE COTIZACIÓN FLOTANTE
   ========================================= */
.quotation-section {
    width: 100%;
    position: relative;
    z-index: 10;
    margin-top: -90px;
    margin-bottom: -270px;
    display: flex;
    justify-content: center;
    padding: 0 5%;
}

.quotation__wrapper {
    width: 100%;
    max-width: 1000px;
    background-color: #FFFFFF;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    overflow: hidden;
}

.quotation__form {
    display: flex;
    width: 100%;
}

.quotation__left {
    width: 45%;
    padding: 30px 40px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
}

.quotation__title {
    color: #0015C5;
    font-weight: 700;
    font-size: clamp(24px, 2.5vw, 36px);
    margin-bottom: 5px;
    line-height: 1.2;
}

.quotation__subtitle {
    color: #0015C5;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px; 
}

.quotation__right {
    width: 55%;
    padding: 30px 40px;
    background-color: #F8C00B;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.col-half {
    flex: 1;
}

.label-yellow { color: #F8C00B; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.label-white { color: #FFFFFF; font-weight: 700; font-size: 14px; margin-bottom: 8px; }

.input-grey, .input-cream {
    width: 100%;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #333333;
}

.input-grey {
    background-color: #EAEAEA;
    border-radius: 20px;
    padding: 15px;
    height: 80px; 
    resize: none; 
}

.input-cream {
    background-color: #FDE893; 
    border-radius: 20px;
    padding: 10px 15px;
    height: 40px; 
}

select.input-cream {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="%23F8C00B" d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.radio-label {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-submit {
    background-color: #0015C5;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 16px;
    border: none;
    border-radius: 30px;
    padding: 12px; 
    cursor: pointer;
    margin-top: 10px; 
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
    background-color: #000c7a;
    transform: scale(1.02);
}

/* =========================================
   SECCIÓN BIENVENIDA (AZUL)
   ========================================= */
.welcome {
    width: 100%;
    background-color: #0015C5; 
    position: relative;
    z-index: 1; 
    padding: 260px 5% 0 5%; /
}

.welcome__container {
    display: flex;
    align-items: stretch; 
    justify-content: space-between;
    gap: 60px; 
    max-width: 1200px; 
    margin: 0 auto;
}

.welcome__content {
    flex: 1; 
    max-width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    padding-bottom: 80px; 
}

.welcome__title {
    color: #FFFFFF;
    font-weight: 700;
    font-size: clamp(28px, 3.5vw, 45px);
    line-height: 1.1; 
    margin-bottom: 20px;
    margin-top: 100px;
}

.welcome__text {
    color: #FFFFFF;
    font-weight: 400;
    font-size: clamp(16px, 1.5vw, 20px); 
    line-height: 1.5;
}

.welcome__image-wrapper {
    flex: 1;
    display: flex;
    align-items: flex-end;
}

.welcome__image {
    width: 100%;
    height: 100%; 
    min-height: 350px;
    object-fit: cover; 
    border-radius: 0 100px 0 0; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); 
}

/* =========================================
   SECCIÓN VALORES
   ========================================= */
.values {
    width: 100%;
    background-color: #FFFFFF;
    padding: 80px 5%; 
    text-align: center;
}

.values__container { max-width: 1200px; margin: 0 auto; }
.values__title { color: #F8C00B; font-weight: 700; font-size: clamp(28px, 3.5vw, 45px); margin-bottom: 50px; }
.values__grid { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; }
.value-item { display: flex; flex-direction: column; align-items: center; gap: 15px; flex: 1; min-width: 140px; max-width: 180px; }
.value-icon { width: 100%; max-width: 120px; height: auto; object-fit: contain; transition: transform 0.3s ease; }
.value-item:hover .value-icon { transform: translateY(-8px); }
.value-text { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: clamp(16px, 1.2vw, 20px); }
.text-yellow { color: #F8C00B; }
.text-blue { color: #0015C5; }

/* =========================================
   SECCIÓN MISIÓN
   ========================================= */
.mission {
    width: 100%;
    background-color: #F8C00B; 
    display: flex;
    justify-content: center;
    overflow: hidden; 
}

/* --- ESTILOS DEL SLIDER MISIÓN/VISIÓN --- */
.mission__slides {
    position: relative;
    min-height: 220px; 
}

.mission__slide {
    display: none;
    animation: fadeInSlide 0.6s ease-in-out;
}

.mission__slide.active {
    display: block;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mission__container { display: flex; align-items: center; width: 100%;}
.mission__image-wrapper { flex: 1; max-width: 600px; height: 100%; }
.mission__image { width: 100%; height: 100%; min-height: 400px; object-fit: cover; border-radius: 2px 60px 2px 2px; display: block; }
.mission__content { flex: 1; padding: 60px 5%; max-width: 800px; }
.mission__title { color: #FFFFFF; font-weight: 700; font-size: clamp(32px, 4vw, 55px); line-height: 1.1; margin-bottom: 25px; }
.mission__text { color: #FFFFFF; font-weight: 400; font-size: clamp(16px, 1.8vw, 24px); line-height: 1.5; margin-bottom: 40px; }
.mission__slider-dots { display: flex; gap: 12px; justify-content: center; }
.dot { width: 14px; height: 14px; border-radius: 50%; background-color: transparent; border: 2px solid #FFFFFF; cursor: pointer; transition: background-color 0.3s ease; }
.dot.active { background-color: #FFFFFF; }

/* =========================================
   SECCIÓN SERVICIOS
   ========================================= */
.services { width: 100%; background-color: #FFFFFF; padding: 80px 5%; text-align: center; }
.services__container { max-width: 1200px; margin: 0 auto; }
.services__title { color: #0015C5; font-weight: 700; font-size: clamp(32px, 4vw, 48px); margin-bottom: 50px; line-height: 1.2; }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; text-align: left; }
.service-card { background-color: #FFFFFF; border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,0.06); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 12px 25px rgba(0,0,0,0.1); }
.service-card__image-container { position: relative; width: 100%; height: 180px; }
.service-card__image { width: 100%; height: 100%; object-fit: cover; }
.service-card__badge { position: absolute; top: 15px; right: 15px; width: 35px; height: 35px; background-color: #F8C00B; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #FFFFFF; font-size: 16px; box-shadow: 0 4px 8px rgba(0,0,0,0.15); }
.service-card__content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.service-card__title { color: #333333; font-weight: 700; font-size: 20px; margin-bottom: 10px; line-height: 1.2; }
.service-card__text { color: #666666; font-weight: 400; font-size: 14px; line-height: 1.5; margin-bottom: 20px; flex-grow: 1; }
.service-card__action { display: block; width: 100%; height: 35px; background-color: #0015C5; border-radius: 6px; transition: background-color 0.3s ease; }
.service-card__action:hover { background-color: #000c7a; }

/* =========================================
   SECCIÓN FLOTA
   ========================================= */
.fleet { width: 100%; background-color: #FFFFFF; padding: 80px 5%; text-align: center; }
.fleet__container { max-width: 1200px; margin: 0 auto; }
.fleet__header { margin-bottom: 60px; }
.fleet__title { color: #F8C00B; font-weight: 700; font-size: clamp(32px, 4vw, 48px); line-height: 1.2; margin-bottom: 20px; }
.fleet__description { color: #0015C5; font-weight: 400; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.5; max-width: 900px; margin: 0 auto; }
.fleet__gallery { display: flex; flex-direction: column; gap: 50px; }
.fleet__row { display: flex; justify-content: center; align-items: flex-end; gap: 25px; flex-wrap: wrap; }
.fleet-card { display: flex; flex-direction: column; align-items: center; flex: 1; min-width: 220px; max-width: 320px; }
.fleet-card--large { max-width: 450px; }
.fleet-card__image-wrapper { width: 100%; height: 180px; display: flex; justify-content: center; align-items: flex-end; margin-bottom: 15px; }
.fleet-card--large .fleet-card__image-wrapper { height: 240px; }
.fleet-card__image { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.3s ease; }
.fleet-card:hover .fleet-card__image { transform: scale(1.05); }
.fleet-card__name { color: #F8C00B; font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); margin-bottom: 5px; }
.fleet-card__capacity { color: #0015C5; font-weight: 400; font-size: clamp(14px, 1.2vw, 18px); }

/* =========================================
   SECCIÓN UBICACIÓN (MAPA)
   ========================================= */
.location { width: 100%; background-color: #FFFFFF; padding: 80px 0 0 0; text-align: center; }
.location__title { color: #0015C5; font-weight: 700; font-size: clamp(32px, 4vw, 48px); margin-bottom: 40px; }
.location__map-wrapper { position: relative; width: 100%; height: 500px; }
#map { width: 100%; height: 100%; z-index: 1; }
.location__overlay { position: absolute; top: 0; left: 0; width: 100%; max-width: 350px; height: 100%; background-color: #F8C00B; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: 50px 30px; border-radius: 0 30px 30px 0; box-shadow: 5px 0 20px rgba(0,0,0,0.15); }
.location__overlay-logo { width: 120px; height: auto; margin-bottom: 15px; filter: brightness(0) invert(1); }
.location__overlay-title { color: #FFFFFF; font-weight: 700; font-size: 28px; text-align: center; line-height: 1.2; }

/* =========================================
   SECCIÓN ALIADOS
   ========================================= */
.partners { width: 100%; background-color: #FAFAFA; padding: 60px 5%; text-align: center; }
.partners__container { max-width: 1200px; margin: 0 auto; }
.partners__title { color: #0015C5; font-weight: 700; font-size: clamp(28px, 3.5vw, 45px); margin-bottom: 40px; }
.partners__logos { display: flex; justify-content: center; align-items: center; gap: 60px; flex-wrap: wrap; }
.partners__logo { width: 100%; max-width: 200px; max-height: 70px; object-fit: contain; transition: transform 0.3s ease; }
.partners__logo:hover { transform: scale(1.05); }

/* =========================================
   FOOTER PROFESIONAL
   ========================================= */
.footer { width: 100%; background-color: #0015C5; color: #FFFFFF; font-family: 'Poppins', sans-serif; }
.footer__container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; max-width: 1200px; margin: 0 auto; padding: 80px 5%; }
.footer__column { display: flex; flex-direction: column; gap: 15px; }
.footer__logo { max-width: 150px; height: auto; filter: brightness(0) invert(1); }
.footer__slogan { font-size: 14px; font-weight: 400; line-height: 1.4; opacity: 0.8; }
.footer__title { color: #F8C00B; font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.footer__list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__list a { text-decoration: none; color: #FFFFFF; font-size: 15px; font-weight: 400; transition: color 0.3s ease, padding-left 0.3s ease; }
.footer__list a:hover { color: #F8C00B; padding-left: 5px; }
.footer__list--contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.4; opacity: 0.9; }
.footer__list--contact i { color: #F8C00B; margin-top: 3px; width: 16px; text-align: center; }
.footer__socials { display: flex; gap: 15px; margin-top: 5px; }
.footer__social-link { display: flex; justify-content: center; align-items: center; width: 35px; height: 35px; background-color: rgba(255, 255, 255, 0.1); color: #FFFFFF; border-radius: 50%; text-decoration: none; font-size: 16px; transition: background-color 0.3s ease, transform 0.3s ease; }
.footer__social-link:hover { background-color: #F8C00B; color: #0015C5; transform: translateY(-3px); }
.footer__bottom { width: 100%; background-color: rgba(0, 0, 0, 0.2); padding: 20px 5%; font-size: 13px; opacity: 0.7; }
.footer__bottom-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }

/* =========================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================= */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 20px; right: 20px; background-color: #25D366; color: #FFFFFF; border-radius: 50px; display: flex; justify-content: center; align-items: center; font-size: 35px; box-shadow: 2px 2px 10px rgba(0,0,0,0.3); z-index: 1000; text-decoration: none; transition: transform 0.3s ease, box-shadow 0.3s ease; animation: pulseWhatsapp 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1) translateY(-5px); box-shadow: 2px 5px 15px rgba(0,0,0,0.4); color: #FFFFFF; }
@keyframes pulseWhatsapp { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }


/* =========================================
   MEDIA QUERIES (ADAPTACIÓN A MÓVILES)
   ========================================= */
@media (max-width: 1024px) {
    /* Mejoras de Textos Centrados para Tablets y Móviles */
    .welcome__container, .mission__container { flex-direction: column; text-align: center; }
    .welcome__content, .mission__content { max-width: 100%; align-items: center; }
    
    .welcome__image-wrapper { justify-content: center; width: 100%; }
    .welcome__image { max-width: 100%; border-radius: 40px 40px 0 0; }
    
    .mission__image-wrapper { max-width: 100%; width: 100%; }
    .mission__image { border-radius: 0 0 60px 0; max-height: 500px; }
    
    .footer__container { grid-template-columns: repeat(2, 1fr); gap: 50px; }
}

@media (max-width: 900px) {
    /* Habilitar Menú Hamburguesa */
    .menu-toggle { display: block; }
    .main-header__slogan { display: none; }
    
    .main-header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #FFFFFF;
        flex-direction: column;
        gap: 0;
        /* Efecto acordeón para esconder el menú */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    .main-header__nav.active {
        max-height: 500px; 
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .btn-contact {
        width: 80%;
        margin: 15px auto;
    }

    /* Adaptación del Formulario en Móvil */
    .quotation__form { flex-direction: column; }
    .quotation__left, .quotation__right { width: 100%; padding: 40px 20px; text-align: center; }
    
    .quotation-section { margin-bottom: -150px; }
    .welcome { padding-top: 180px; }
}

@media (max-width: 768px) {
    .hero__text br { display: none; } 
    .partners__logos { gap: 40px; }
    
    .location__map-wrapper { display: flex; flex-direction: column; height: auto; }
    .location__overlay { position: relative; max-width: 100%; height: auto; border-radius: 0; flex-direction: row; justify-content: center; gap: 20px; padding: 20px; }
    .location__overlay-logo { margin-bottom: 0; width: 80px; }
    #map { height: 400px; }
}

@media (max-width: 600px) {
    .form-row { flex-direction: column; gap: 0; }
    .quotation-section { margin-top: -60px; margin-bottom: -120px; }
    .welcome { padding-top: 160px; }
    
    .footer__container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer__column { align-items: center; }
    .footer__column--brand { order: 4; } 
    .footer__list--contact li { justify-content: center; }
    .footer__socials { justify-content: center; }
    .footer__bottom-container { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
    .fleet-card { min-width: 100%; }
    .partners__logos { flex-direction: column; gap: 30px; }
    .whatsapp-float { width: 50px; height: 50px; bottom: 15px; right: 15px; font-size: 28px; }
}