/* ======== CONFIGURACIÓN GLOBAL Y VARIABLES ======== */
:root {
    --color-gold: #C7A14A;
    --color-white: #FFFFFF;
    --color-blue: #0C1A3A;
    --font-title: 'Montserrat', sans-serif;
    --font-text: 'Poppins', sans-serif;
    --transition-speed: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-text);
    background-color: var(--color-white);
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.container-full {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.container-slider {
    max-width: 1600px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* ======== GESTIÓN DE IDIOMAS (Sin cambios) ======== */
.lang { display: none; }
body.lang-es .lang.es, body.lang-en .lang.en, body.lang-fr .lang.fr { display: inline; }
.btn .lang, .btn-pc-book .lang, .btn-pc-text .lang { display: none; }
body.lang-es .btn .lang.es, body.lang-es .btn-pc-book .lang.es, body.lang-es .btn-pc-text .lang.es,
body.lang-en .btn .lang.en, body.lang-en .btn-pc-book .lang.en, body.lang-en .btn-pc-text .lang.en,
body.lang-fr .btn .lang.fr, body.lang-fr .btn-pc-book .lang.fr, body.lang-fr .btn-pc-text .lang.fr { display: inline-block; }

/* ======== CLASE DE ACCESIBILIDAD ======== */
.visually-hidden {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

/* ======== CABECERA Y NAVEGACIÓN ======== */
.main-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color var(--transition-speed), box-shadow var(--transition-speed);
}

.main-header.scrolled {
    background-color: var(--color-blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.main-nav {
    display: flex;
    justify-content: center; /* Centra el logo en escritorio */
    align-items: center;
    max-width: 1300px; /* Un poco más ancho para que los enlaces no se peguen al logo */
    margin: 0 auto;
    padding: 20px;
    position: relative;
    transition: padding var(--transition-speed);
}

.main-header.scrolled .main-nav {
    padding: 10px 20px;
}

.logo-container {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity var(--transition-speed), visibility var(--transition-speed), transform var(--transition-speed);
}

.main-header.scrolled .logo-container {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.logo-container .logo {
    height: 60px;
    transition: height var(--transition-speed);
}

.main-header.scrolled .logo-container .logo {
    height: 50px;
}

.nav-links-left, .nav-right-group {
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.nav-links-left { left: 20px; }
.nav-right-group { right: 20px; }

.nav-links-left a, .nav-links-right a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    margin: 0 15px;
    transition: color var(--transition-speed);
}

.nav-links-left a:hover, .nav-links-right a:hover {
    color: var(--color-gold);
}

.mobile-menu-btn {
    display: none; /* Oculto en escritorio */
    background: none; border: none;
    color: var(--color-white);
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 1002;
}
.language-selector {
    position: relative;
    margin-left: 15px;
}

.lang-flag-current {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all var(--transition-speed);
    padding: 3px;
    border-radius: 5px;
    border: 2px solid transparent;
}

.lang-flag-current:hover {
    border-color: var(--color-gold);
}

.lang-flag-current svg {
    width: 35px;
    height: 26px;
    border-radius: 5px;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Flecha indicadora del desplegable */
.lang-flag-current::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--color-white);
    transition: transform var(--transition-speed);
}

/* Rotar la flecha cuando el dropdown está abierto */
.language-selector.open .lang-flag-current::after {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: var(--color-blue);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-speed);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.language-selector:hover .language-dropdown,
.language-selector.open .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-flag {
    width: 35px;
    height: 26px;
    border-radius: 5px;
    cursor: pointer;
    transition: all var(--transition-speed);
    opacity: 0.8;
    border: 2px solid transparent;
}

.lang-flag:hover {
    opacity: 1;
    transform: scale(1.05);
    border-color: var(--color-gold);
}

.lang-flag.active {
    opacity: 1;
    border-color: var(--color-gold);
}

.lang-flag svg {
    width: 100%;
    height: 100%;
    border-radius: 3px;
    display: block;
}
/* ======== MENÚ OVERLAY (MÓVIL) ======== */
.nav-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(12, 26, 58, 0.98);
    z-index: 1001; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transition: opacity var(--transition-speed), visibility var(--transition-speed);
}

.nav-overlay.visible { opacity: 1; visibility: visible; }
.nav-overlay-content { text-align: center; }
.nav-overlay-content a {
    display: block; color: var(--color-white); text-decoration: none;
    font-family: var(--font-title); font-size: 2.2rem; padding: 15px;
    transition: color var(--transition-speed);
}
.nav-overlay-content a:hover { color: var(--color-gold); }

.nav-overlay-close {
    position: absolute; top: 20px; right: 30px; background: none; border: none;
    color: var(--color-white); font-size: 3rem; cursor: pointer;
}

/* ======== SECCIÓN HERO ======== */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
}

.hero-video {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%; width: auto; height: auto;
    z-index: -2; object-fit: cover;
}

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(12, 26, 58, 0.6); z-index: -1;
}

.hero-content { display: flex; flex-direction: column; align-items: center; padding: 0 20px; }
.hero-logo { max-height: 120px; margin-bottom: 2rem; }
.hero-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; width: 100%; }

/* ======== BOTONES ======== */
.btn {
    padding: 12px 30px; border-radius: 5px; font-weight: 500;
    transition: all var(--transition-speed); display: inline-block;
    border: 2px solid transparent; text-decoration: none; cursor: pointer;
    text-align: center;
}
.btn-primary { background-color: var(--color-gold); color: var(--color-white); border-color: var(--color-gold); }
.btn-primary:hover { background-color: transparent; color: var(--color-gold); }
.btn-secondary { background-color: transparent; color: var(--color-white); border-color: var(--color-white); }
.btn-secondary:hover { background-color: var(--color-white); color: var(--color-blue); }
.btn-tertiary { color: var(--color-blue); border-color: var(--color-gold); background: transparent; }
.btn-tertiary:hover { background: var(--color-gold); color: var(--color-white); }

/* ======== ESTILOS GENERALES DE SECCIÓN ======== */
.content-section { padding: 80px 0; }
.bg-light { background-color: #f8f9fa; }

.section-title {
    text-align: center; font-family: var(--font-title); font-size: 2.5rem;
    color: var(--color-blue); margin-bottom: 20px;
}
.section-subtitle {
    text-align: center; max-width: 800px;
    margin: 0 auto 50px auto; font-size: 1.1rem;
}

/* ======== SECCIÓN PARALLAX ======== */
.parallax-section {
    background-image: url('img/airport-transfers-barcelona-21.jpg');
    min-height: 400px;
    background-attachment: fixed; background-position: center; background-size: cover;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--color-white); position: relative;
}

.parallax-content {
    background-color: rgba(12, 26, 58, 0.7);
    padding: 40px; border-radius: 10px; z-index: 1;
}
.parallax-content h2 { font-family: var(--font-title); font-size: 2.5rem; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.cta-buttons .btn { display: inline-flex; align-items: center; gap: 10px; }

/* ======== SLIDER DE SERVICIOS (SWIPER) ======== */
.services-slider .swiper-slide { height: auto; }
.service-card {
    display: flex; flex-direction: column; height: 100%;
    background: var(--color-white); border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    overflow: hidden;
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.service-card-image { width: 100%; height: 200px; overflow: hidden; }
.service-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.service-card:hover .service-card-image img { transform: scale(1.05); }
.service-card-content { padding: 30px; text-align: center; display: flex; flex-direction: column; flex-grow: 1; }
.service-card h4 { font-family: var(--font-title); font-size: 1.3rem; margin-bottom: 15px; }
.service-card p { flex-grow: 1; }
.service-card .btn-tertiary { margin-top: 20px; }
.swiper-button-prev, .swiper-button-next { color: var(--color-gold); }


/* ======== SECCIÓN RESERVA (DISEÑO MODIFICADO) ======== */
.booking-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center; /* MODIFICADO: Centra verticalmente los items del grid */
}

/* === INICIO DE CAMBIOS === */
.booking-steps-column {
    position: relative;
    padding: 40px; /* MODIFICADO: Añadido padding interno */
    
    /* ESTILOS NUEVOS: Añadido bloque blanco con borde dorado */
    background: var(--color-white);
    border: 1px solid var(--color-gold);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    /* ESTILOS NUEVOS: Flexbox para centrar y espaciar los pasos */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;

    gap: 45px;

}

.booking-steps-column::before {
    content: '';
    position: absolute;
    left: 40px; /* MODIFICADO: Ajustado a la nueva posición con padding */
    top: 60px; /* MODIFICADO: Ajustado */
    height: calc(100% - 120px); /* MODIFICADO: Ajustado para no tocar los bordes */
    width: 3px;
    background-color: var(--color-gold);
    border-radius: 5px;
}
/* === FIN DE CAMBIOS === */

.booking-layout-grid .process-step {
    display: flex;
    align-items: flex-start;
    position: relative;
    margin-bottom: 0; /* MODIFICADO: Eliminado margen, ahora lo gestiona flexbox */
    background: none;
    padding: 0;
    border: none;
    text-align: left;
}

.booking-layout-grid .process-step:last-child {
    margin-bottom: 0;
}
.booking-layout-grid .process-step .step-number {
    width: 60px;
    height: 60px;
    background-color: var(--color-gold);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 600;
    flex-shrink: 0;
    margin-right: 25px;
    position: relative;
    left: -31.5px; /* Mantenido: Este cálculo sigue siendo correcto para centrar el círculo en la línea */
    border: 4px solid var(--color-white); /* MODIFICADO: El borde ahora es blanco para "cortar" la línea de tiempo */
}
.booking-layout-grid .process-step .step-content h4 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-blue);
}
.booking-layout-grid .process-step .step-content p {
    color: #555;
}
.nomada-iframe-container {
    position: relative;
    width: 100%;
    height: 850px;
    min-height: 600px;
    border: 1px solid var(--color-gold);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.nomada-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
@media (max-width: 992px) {
    .booking-layout-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: flex-start; /* Restaurar alineación en móvil */
    }
    .booking-steps-column {
        padding: 25px; /* Menos padding en móvil */
    }
    .booking-steps-column::before {
        display: none; /* Ocultar línea en móvil para un diseño más simple */
    }
    .booking-layout-grid .process-step {
        margin-bottom: 25px; /* Añadir espacio de nuevo en móvil */
    }
    .booking-layout-grid .process-step:last-child {
        margin-bottom: 0;
    }
    .booking-layout-grid .process-step .step-number {
        position: static;
        left: auto;
        border: none;
    }
}

/* ======== SECCIÓN FLOTA ======== */
#flota { background-color: var(--color-blue); }
#flota .section-title { color: var(--color-gold); }
#flota .section-subtitle { color: rgba(255, 255, 255, 0.8); }
.fleet-slider .swiper-slide { display: flex; height: auto; }
.fleet-slider { padding: 20px 0 50px 0; position: relative; }
.fleet-card-new {
    background-color: var(--color-white); color: var(--color-blue); border-radius: 15px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; flex-direction: column; height: 100%;
}
.fleet-card-new:hover { transform: translateY(-15px); box-shadow: 0 15px 40px rgba(199, 161, 74, 0.3); }
.fleet-card-image { height: 250px; overflow: hidden; }
.fleet-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.fleet-card-new:hover .fleet-card-image img { transform: scale(1.08); }
.fleet-card-content { padding: 30px; display: flex; flex-direction: column; flex-grow: 1; }
.fleet-card-content h4 { font-family: var(--font-title); font-size: 1.6rem; color: var(--color-blue); }
.vehicle-examples { font-size: 0.9rem; color: #555; margin-top: -5px; margin-bottom: 20px; }
.fleet-specs { display: flex; gap: 20px; padding-bottom: 15px; margin-bottom: 20px; border-bottom: 1px solid #eee; }
.fleet-specs span { font-weight: 500; }
.fleet-specs i { color: var(--color-gold); margin-right: 8px; }
.fleet-usp { flex-grow: 1; }
.usp-title { font-weight: 600; margin-bottom: 10px; }
.fleet-usp ul { list-style: none; padding: 0; margin: 0; }
.fleet-usp li { margin-bottom: 8px; font-size: 0.95rem; }
.fleet-usp i { color: var(--color-gold); margin-right: 10px; }
.fleet-card-content .btn { margin-top: 20px; width: 100%; }
.fleet-arrow { color: var(--color-gold); }
.fleet-arrow:hover { color: var(--color-white); }


/* ======== SECCIÓN GARANTÍAS ======== */
.guarantees-section { background-color: var(--color-gold); padding: 30px 0; }
.guarantees-grid {
    display: grid; 
    grid-template-columns: repeat(2, 1fr);
    color: var(--color-blue); 
    text-align: center; 
    gap: 15px;
    align-items: start;
}

@media (min-width: 768px) {
    .guarantees-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .guarantees-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
.guarantee-item i { font-size: 2rem; margin-bottom: 10px; }
.guarantee-item .lang { display: none; }
body.lang-es .guarantee-item .lang.es, body.lang-en .guarantee-item .lang.en, body.lang-fr .guarantee-item .lang.fr {
    display: block; font-weight: 500;
}

/* ======== SECCIÓN FAQ ======== */
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #ddd; }
.faq-question {
    width: 100%; background: none; border: none; text-align: left; padding: 20px;
    font-size: 1.2rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-question i { transition: transform var(--transition-speed); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s ease-out; }
.faq-answer p { padding: 0 20px 20px; }

/* ======== SECCIÓN CONTACTO ======== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: flex-start; }
.contact-info p { font-size: 1.1rem; margin-bottom: 15px; display: flex; align-items: center; }
.contact-info i { color: var(--color-gold); margin-right: 15px; width: 20px; text-align: center; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 12px; margin-bottom: 15px; border-radius: 5px;
    border: 1px solid #ccc; font-family: var(--font-text);
}

/* ======== FOOTER FINAL (Layout Móvil Específico) ======== */
.main-footer {
    background-color: var(--color-blue);
    color: rgba(255, 255, 255, 0.9);
    padding: 70px 0 0 0;
    position: relative;
    font-size: 0.95rem;
}

.main-footer .container {
    max-width: 1200px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 0.8fr 0.8fr; 
    gap: 30px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    color: var(--color-gold);
    font-family: var(--font-title);
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.logo-footer { height: 50px; margin-bottom: 25px; display: block; }
.footer-contact-quick { display: flex; flex-direction: column; gap: 12px; }
.contact-link {
    display: flex; align-items: center; gap: 12px;
    color: rgba(255, 255, 255, 0.85); text-decoration: none;
    transition: transform 0.3s;
}
.contact-link:hover { color: var(--color-white); transform: translateX(5px); }
.contact-link i { color: var(--color-gold); width: 20px; text-align: center; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
    color: rgba(255, 255, 255, 0.7); text-decoration: none;
    display: flex; align-items: center; gap: 10px; transition: all 0.3s;
    font-size: 0.9rem;
}
.footer-nav a i { font-size: 1rem; color: var(--color-gold); width: 20px; text-align: center; }
.footer-nav a:hover { color: var(--color-gold); padding-left: 5px; }
.payment-icons-row { display: flex; gap: 15px; align-items: center; }
.payment-icons-row i { font-size: 2.2rem; transition: transform 0.3s; }
.payment-icons-row .fa-stripe { color: #635BFF; }
.payment-icons-row .fa-cc-visa { color: #1434CB; background: #fff; border-radius: 4px; padding: 0 2px; }
.payment-icons-row .fa-cc-mastercard {
    background: linear-gradient(to right, #EB001B, #FF5F00);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.social-icons-clean { display: flex; gap: 12px; }
.social-icons-clean a {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%; text-decoration: none;
    transition: all 0.3s; border: 1px solid rgba(255,255,255,0.1);
}
.social-icons-clean a:hover .fa-facebook-f { color: #1877F2; background: white; }
.social-icons-clean a:hover .fa-linkedin-in { color: #0A66C2; background: white; }
.social-mobile-only, .payment-mobile-only { display: none; }
.footer-block-mb { margin-bottom: 35px; }
.footer-bottom { background-color: rgba(0, 0, 0, 0.2); padding: 20px 0; }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.footer-legal { display: flex; gap: 15px; align-items: center; }
.separator { color: rgba(255, 255, 255, 0.2); }
.footer-legal a { color: rgba(255, 255, 255, 0.6); text-decoration: none; }

@media (max-width: 992px) {
    .main-footer { padding-top: 40px; }
    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 20px;
        text-align: center;
        width: 100%;
    }
    .brand-col {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .logo-footer { margin: 0 auto 20px auto; height: 45px; }
    .contact-social-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 10px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
    .footer-contact-quick {
        display: flex;
        flex-direction: column;
        align-items: flex-start; 
        text-align: left;
        margin-left: auto; 
        margin-right: 10px;
    }
    .footer-contact-quick .contact-link { justify-content: flex-start; font-size: 0.8rem; width: 100%; }
    .footer-contact-quick .contact-link i { min-width: 20px; text-align: center; margin-right: 8px; }
    .social-mobile-only {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        margin-left: 10px;
    }
    .social-mobile-only h4 { font-size: 0.9rem; margin-bottom: 8px; color: var(--color-gold); margin-top: 0; }
    .social-icons-clean { flex-wrap: wrap; }
    .social-icons-clean a { width: 32px; height: 32px; }
    .social-icons-clean a i { font-size: 1rem; }
    .payment-mobile-only { width: 100%; display: flex; flex-direction: column; align-items: center; margin-bottom: 10px; }
    .links-col { text-align: left; padding: 0 5px; }
    .links-col h4 { text-align: center; font-size: 0.95rem; margin-bottom: 15px; min-height: 25px; }
    .footer-nav a { justify-content: flex-start; padding: 6px 0; font-size: 0.8rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .footer-nav a i { min-width: 20px; text-align: center; }
    .footer-nav a:last-child { border: none; }
    .desktop-only-col { display: none !important; }
    .footer-bottom-content { flex-direction: column; gap: 15px; text-align: center; }
}

@media (max-width: 360px) {
    .contact-social-wrapper { gap: 5px; }
    .footer-contact-quick .contact-link span { font-size: 0.75rem; }
}

.floating-btn-container {
    position: fixed; bottom: 20px; right: 20px; z-index: 998;
    display: flex; flex-direction: column-reverse; gap: 15px; align-items: flex-end;
}
.btn-whatsapp-floating, .btn-mobile-book, .btn-pc-book {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); text-decoration: none; opacity: 0;
    visibility: hidden; transform: scale(0.8);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.floating-btn-container.visible .btn-whatsapp-floating,
.floating-btn-container.visible .btn-mobile-book,
.floating-btn-container.visible .btn-pc-book {
    opacity: 1; visibility: visible; transform: scale(1); pointer-events: auto;
}
.btn-mobile-book { display: none; }
.btn-pc-book {
    display: flex; align-items: center; gap: 10px; background-color: var(--color-gold); color: var(--color-white);
    padding: 12px 25px; border-radius: 50px; font-weight: 500; white-space: nowrap;
}
.btn-whatsapp-floating {
    display: flex; align-items: center; gap: 10px; background-color: #25D366; color: var(--color-white);
    padding: 12px 25px; border-radius: 50px; font-size: 1rem; white-space: nowrap;
}
.btn-pc-book i { font-size: 1.2rem; }
.btn-whatsapp-floating i { font-size: 1.8rem; }
.btn-whatsapp-floating .btn-pc-text { display: inline; font-weight: 500; }
.btn-pc-book:hover, .btn-whatsapp-floating:hover { transform: scale(1.05) !important; }

.main-content-pushed { padding-top: 80px; }
.page-header-section {
    height: 60vh; min-height: 400px; position: relative; display: flex; align-items: center;
    justify-content: center; text-align: center; color: var(--color-white);
    background-size: cover; background-position: center;
}
.page-title { font-family: var(--font-title); font-size: 3rem; position: relative; z-index: 2; }
.full-width-intro { max-width: 900px; margin: 0 auto; text-align: center; }
.commitments-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 40px;
}
.commitment-item { text-align: center; }
.commitment-item i { font-size: 2.5rem; color: var(--color-gold); margin-bottom: 15px; }
.commitment-item h4 { font-family: var(--font-title); color: var(--color-blue); margin-bottom: 10px; }
.process-section {
    position: relative; display: flex; flex-direction: column; gap: 40px;
    max-width: 800px; margin: 40px auto 0 auto;
}
.process-step-detailed { display: flex; align-items: flex-start; gap: 20px; }
.process-step-detailed .step-number {
    flex-shrink: 0; width: 50px; height: 50px; background-color: var(--color-gold);
    color: var(--color-white); border-radius: 50%; display: flex; align-items: center;
    justify-content: center; font-family: var(--font-title); font-size: 1.8rem; font-weight: 600;
}
.process-step-detailed h4 { font-family: var(--font-title); color: var(--color-blue); font-size: 1.3rem; margin-bottom: 8px; }

@media (max-width: 1024px) {
    html { scroll-padding-top: 70px; }
    .main-content-pushed { padding-top: 70px; }
    .nav-links-left, .nav-links-right { display: none; }
    .mobile-menu-btn { display: block; position: absolute; left: 20px; }
    .main-nav { justify-content: center; position: relative; }
    .logo-container { position: static; transform: none; opacity: 1; }
    .main-header.scrolled .logo-container { transform: none; }
    .nav-right-group { position: absolute; right: 20px; transform: none; }    
    .logo-container .logo, .main-header.scrolled .logo-container .logo { height: 45px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .btn-pc-book, .btn-whatsapp-floating .btn-pc-text { display: none; }
    .btn-mobile-book {
        display: flex; align-items: center; justify-content: center; width: 55px; height: 55px;
        border-radius: 50%; background-color: var(--color-gold); color: var(--color-white); font-size: 1.6rem;
    }
    .btn-whatsapp-floating {
        display: flex; align-items: center; justify-content: center; width: 55px; height: 55px;
        border-radius: 50%; background-color: #25D366; color: var(--color-white); font-size: 1.8rem; padding: 0;
    }
}

@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .section-subtitle { font-size: 1rem; }
    .content-section { padding: 60px 0; }
    .hero-section { height: 90vh; }
    .hero-logo { max-height: 80px; }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .parallax-section { background-attachment: scroll; }
    .parallax-content h2 { font-size: 1.8rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand .logo-footer { margin: 0 auto 20px auto; }
    .footer-social { justify-content: center; }
    .footer-contact p, .footer-contact { justify-content: center; }
    .page-title { font-size: 2.2rem; }
    .nav-overlay-content a { font-size: 1.8rem; }
}

@media (max-width: 480px) {
    .container, .container-full, .container-slider { padding: 0 15px; }
    .hero-buttons .btn { width: 100%; margin: 5px 0; }
    .section-title { font-size: 1.8rem; }
    .fleet-card-content, .service-card-content { padding: 20px; }
}

.fleet-slider .swiper-slide .fleet-card-new {
    width: 100%;
    max-width: none; 
}

@media (max-width: 1024px) {
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
}


.personalized-welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.welcome-features {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.welcome-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.05rem;
    line-height: 1.6;
}
.welcome-feature-item i {
    color: #C7A14A;
    font-size: 1.3rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.welcome-image {
    position: relative;
    background: linear-gradient(135deg, #0C1A3A 0%, #162950 100%);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(12, 26, 58, 0.15);
}
.welcome-image img {
    border-radius: 0 !important;
}
.image-caption {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: #666;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .personalized-welcome-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .welcome-image { order: 1; }
    .welcome-content { order: 0; }
    .welcome-content h2.section-title { text-align: center !important; }
}

@media (max-width: 480px) {
    .personalized-welcome-grid { gap: 30px; }
    .welcome-feature-item { font-size: 0.95rem; }
    .image-caption { font-size: 1rem; }
}

/* --- AÑADE ESTO AL FINAL DEL ARCHIVO CSS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll.is-visible {
    animation: fadeInUp 0.6s ease-out forwards;
    animation-delay: var(--animation-delay, 0s);
}

/* Optimización de carga de imágenes */
img {
    content-visibility: auto;
}

/* Optimización de fuentes */
@font-face {
    font-display: swap;
}

/* Reducir layout shift */
.hero-video {
    aspect-ratio: 16/9;
}

.service-card-image,
.fleet-card-image {
    aspect-ratio: 16/9;
}