/* ==========================================================================
   1. VARIABLES, TOKENS DE COLOR & TIPOGRAFÍA
   ========================================================================== */
   :root {
    /* Paleta Oficial Llama Aventura */
    --gold-base: #C5A048;
    --gold-deep: #8C6D2D;
    --gold-light: #EAD58B;
    --gold-gradient: linear-gradient(135deg, #EAD58B 0%, #C5A048 50%, #8C6D2D 100%);

    /* Neutros de Alto Contraste (WCAG AAA Senior) */
    --dark: #1A1D20;
    --text-primary: #23272B;
    --text-secondary: #4A4F55;
    --bg-light: #F9F8F5;
    --white: #FFFFFF;
    --border-color: #E8E3D5;

    /* Tipografía */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Escala Tipográfica Senior */
    --text-xs: 0.85rem;     /* 13.6px */
    --text-sm: 0.95rem;     /* 15.2px */
    --text-base: 1.125rem;  /* 18px */
    --text-lg: 1.25rem;     /* 20px */
    --text-xl: 1.5rem;      /* 24px */
    --text-2xl: 2rem;       /* 32px */
    --text-3xl: 2.5rem;     /* 40px */
    --text-4xl: 3.25rem;    /* 52px */

    /* Geometría y Medidas */
    --header-h: 84px;
    --header-h-scroll: 72px;
    --max-w: 1240px;
    --radius: 12px;

    /* Transiciones y Sombras */
    --transition: 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-soft: 0 8px 24px rgba(26, 29, 32, 0.06);
    --shadow-hover: 0 16px 36px rgba(140, 109, 45, 0.16);
    --shadow-modal: 0 25px 60px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   2. RESET Y ESTILOS BASE
   ========================================================================== */
   *, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.75;
    color: var(--text-primary);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

body.no-scroll {
    overflow: hidden !important;
    touch-action: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

/* Accessible Skip Navigation Link */
.skip-link {
  position: absolute;
  top: -120px;
  left: var(--space-sm);
  z-index: 9999;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-cta-amber);
  color: #000000;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  transition: top var(--duration-fast) var(--ease-out-luxury);
}

.skip-link:focus {
  top: var(--space-sm);
}
/* ==========================================================================
   3. COMPONENTES COMUNES (BOTONES, BADGES, MEDIA FRAMES)
   ========================================================================== */
   .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 32px;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(197, 160, 72, 0.35);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(197, 160, 72, 0.45);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--gold-base);
    color: var(--gold-deep);
}

.btn-outline:hover {
    background-color: var(--gold-base);
    color: var(--white);
    transform: translateY(-2px);
}

.badge-gold {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--gold-light);
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(234, 213, 139, 0.35);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.badge-sub-gold {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--gold-base);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.gold-divider {
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 16px auto 0 auto;
    border-radius: 2px;
}

.media-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background-color: var(--bg-light);
    aspect-ratio: 4 / 3;
}

.media-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.interactive-card:hover .media-cover {
    transform: scale(1.03);
}
/* ==========================================================================
   4. HEADER (POSITION: ABSOLUTE SOBRE BANNER & FIXED EN SCROLL)
   ========================================================================== */
   .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

/* Barra Superior */
.header-top {
    background-color: rgba(0,0,0,0.75);
    color: #E2E8F0;
    font-size: 0.88rem;
    height: 42px;
    border-bottom: 4px solid rgba(0, 0, 0, 0.9);
    transition: height var(--transition), opacity var(--transition);
}

.header-top-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-top-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
}

.top-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #25D366;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: color 0.2s ease;
}

.top-contact-link i {
    font-size: 1.05rem;
}

.top-contact-link:hover {
    color: var(--white);
}

.top-contact-divider {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
}

.top-contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #CBD5E0;
}

.top-contact-badge i {
    font-size: 0.95rem;
    color: var(--gold-light);
}

.header-top-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-social-link {
    color: #CBD5E0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.top-social-link:hover {
    background-color: var(--gold-base);
    color: var(--white);
    transform: translateY(-2px);
}

.top-social-link.has-label {
    width: auto;
    padding: 0 10px;
    border-radius: 20px;
    gap: 6px;
}

.top-social-link .csw-social-text {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
}

/* Contenedor Principal de Navegación */
.site-header .header-container {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: height var(--transition);
}

.brand-identity {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 82px;
    width: auto;
    object-fit: contain;
    transition: height var(--transition);
}

.primary-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--gold-gradient);
    border-radius: 2px;
    transition: width var(--transition);
}

.nav-link:hover, .nav-link.is-active {
    color: var(--gold-light);
}

.nav-link:hover::after, .nav-link.is-active::after {
    width: 100%;
}

.nav-btn-cta {
    background: var(--gold-gradient);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(197, 160, 72, 0.35);
    text-shadow: none;
}

.nav-btn-cta::after {
    display: none;
}

.nav-btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(197, 160, 72, 0.45);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.hamburger-bar {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition), background-color var(--transition);
}

/* Estado FIXED en Scroll */
.site-header.is-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: slideDownNav 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes slideDownNav {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.site-header.is-scrolled .header-top {
    height: 0;
    opacity: 0;
    overflow: hidden;
    border-bottom: none;
}

.site-header.is-scrolled .header-container {
    height: var(--header-h-scroll);
}

.site-header.is-scrolled .brand-logo {
    height: 60px;
}

.site-header.is-scrolled .nav-link {
    color: var(--dark);
    text-shadow: none;
}

.site-header.is-scrolled .nav-link:hover, .site-header.is-scrolled .nav-link.is-active {
    color: var(--gold-deep);
}

.site-header.is-scrolled .hamburger-bar {
    background-color: var(--dark);
}

.nav-toggle.is-active .hamburger-bar {
    background-color: var(--dark) !important;
}

/* ==========================================================================
   5. BLOQUE A: HERO CON BANNER SLIDER DE PANTALLA COMPLETA
   ========================================================================== */
   .section-hero-banner {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    padding-bottom: 90px;
    overflow: hidden;
    background-color: var(--dark);
}

.hero-banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.is-active {
    opacity: 1;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    transition: transform 6s ease-out;
}

.banner-slide.is-active .banner-image {
    transform: scale(1.08);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        rgba(26, 29, 32, 0.85) 0%,
        rgba(26, 29, 32, 0.6) 45%,
        rgba(26, 29, 32, 0.95) 100%);
    z-index: 2;
}

.hero-banner-content {
    position: relative;
    z-index: 3;
    max-width: 960px;
    margin: 0 auto;
}

.hero-content-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-hero-banner .hero-title {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section-hero-banner .hero-lead {
    color: #F3F4F6;
    font-size: var(--text-lg);
    font-weight: 500;
    line-height: 1.65;
    margin-bottom: 16px;
    max-width: 860px;
}

.section-hero-banner .hero-description {
    color: #D1D5DB;
    font-size: var(--text-base);
    margin-bottom: 28px;
    max-width: 780px;
}

.section-hero-banner .starlink-highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 4px solid var(--gold-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 16px 20px;
    margin-bottom: 34px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 740px;
    text-align: left;
}

.section-hero-banner .starlink-highlight-box .highlight-icon {
    color: var(--gold-light);
    flex-shrink: 0;
    font-size: 1.5rem;
    padding-top: 2px;
}

.section-hero-banner .starlink-highlight-box .highlight-text {
    color: var(--white);
    font-size: var(--text-base);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-whatsapp-hero {
    background-color: #25D366;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 34px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.btn-whatsapp-hero i {
    font-size: 1.35rem;
}

.btn-whatsapp-hero:hover {
    background-color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
}

.btn-outline-white {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--dark);
    transform: translateY(-2px);
}

/* ==========================================================================
   6. BLOQUE B: OUR STORY (CON FANCYBOX TRIGGER & OVERLAY)
   ========================================================================== */
   .section-story {
    padding: 60px 0;
    background-color: var(--white);
}

.section-header {
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--dark);
}

.story-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.lightbox-trigger {
    cursor: pointer;
    position: relative;
    outline: none;
}

.media-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 29, 32, 0.65);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 3;
}

.media-zoom-overlay i {
    font-size: 2rem;
    color: var(--gold-light);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.media-zoom-overlay span {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.lightbox-trigger:hover .media-zoom-overlay,
.lightbox-trigger:focus .media-zoom-overlay {
    opacity: 1;
}

.story-lead {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 24px;
    line-height: 1.6;
}

.story-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px 28px;
    margin-bottom: 24px;
}

.story-card-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gold-deep);
    margin-bottom: 8px;
}

.story-card-desc {
    font-size: var(--text-base);
    color: var(--text-primary);
    font-weight: 500;
}

.story-body {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.story-quote {
    margin-top: 24px;
    margin-bottom: 28px;
    padding-left: 20px;
    border-left: 3px solid var(--gold-base);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-style: italic;
    font-weight: 600;
    color: var(--gold-deep);
}

.story-action-wrapper {
    margin-top: 10px;
}

/* ==========================================================================
   7. BLOQUE C: RUTAS Y SERVICIOS PRIVADOS (CON MODAL TRIGGERS)
   ========================================================================== */
   .section-routes {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(var(--routes-cols, 3), minmax(0, 1fr));
    gap: 32px;
}

.routes-grid.routes-grid--cols-2 { --routes-cols: 2; }
.routes-grid.routes-grid--cols-3 { --routes-cols: 3; }
.routes-grid.routes-grid--cols-4 { --routes-cols: 4; }
.routes-grid.routes-grid--cols-5 { --routes-cols: 5; }
.routes-grid.routes-grid--cols-6 { --routes-cols: 6; }

.route-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.route-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #EEEAE1;
    cursor: pointer;
}

.card-expand-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background-color: rgba(26, 29, 32, 0.78);
    color: var(--gold-light);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity var(--transition), transform var(--transition);
}

.route-card:hover .card-expand-badge,
.vehicle-card:hover .card-expand-badge {
    opacity: 1;
    transform: scale(1);
}

.modal-card-trigger {
    cursor: pointer;
    transition: color 0.2s ease;
}

.route-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.route-badge {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 8px;
}

.route-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 20px;
    flex-grow: 1;
}

.route-name.modal-card-trigger:hover {
    color: var(--gold-deep);
}

.route-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: 700;
    color: #128C7E;
    transition: color var(--transition), transform var(--transition);
}

.route-action i {
    font-size: 0.85rem;
    transition: transform var(--transition);
}

.route-card:hover .route-action {
    color: #075E54;
}

.route-card:hover .route-action i {
    transform: translateX(5px);
}

/* ==========================================================================
   8. BLOQUE D1: SAFETY & STANDARDS
   ========================================================================== */
   .section-safety {
    padding: 60px 0;
    background-color: var(--white);
}

.safety-intro-block {
    max-width: 900px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.safety-lead-text {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 16px;
}

.safety-description-text {
    font-size: var(--text-base);
    color: var(--text-secondary);
}

.safety-subtitle {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 36px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(var(--safety-cols, 3), minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.features-grid.features-grid--cols-2 { --safety-cols: 2; }
.features-grid.features-grid--cols-3 { --safety-cols: 3; }
.features-grid.features-grid--cols-4 { --safety-cols: 4; }
.features-grid.features-grid--cols-5 { --safety-cols: 5; }
.features-grid.features-grid--cols-6 { --safety-cols: 6; }

.feature-item {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    flex-shrink: 0;
    color: var(--gold-deep);
    font-size: 1.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
}

.highlight-starlink-card {
    background: linear-gradient(135deg, rgba(234, 213, 139, 0.2) 0%, rgba(197, 160, 72, 0.1) 100%);
    border-color: var(--gold-base);
}

.starlink-color {
    color: var(--gold-deep);
}

.feature-text {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
}

.safety-promise-box {
    background-color: var(--dark);
    color: var(--white);
    padding: 28px 32px;
    border-radius: var(--radius);
    max-width: 960px;
    margin: 0 auto;
    font-size: var(--text-lg);
    font-weight: 500;
    line-height: 1.6;
}

.safety-promise-box p {
    color: var(--gold-light);
}

/* ==========================================================================
   9. BLOQUE D2: OUR FLEET / VEHICLES (CON TARGET HIGHLIGHT)
   ========================================================================== */
   .section-fleet.section-vehicles {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.vehicles-header-desc {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--dark);
    margin-top: 14px;
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(var(--fleet-cols, 3), minmax(0, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.vehicles-grid.vehicles-grid--cols-2 { --fleet-cols: 2; }
.vehicles-grid.vehicles-grid--cols-3 { --fleet-cols: 3; }
.vehicles-grid.vehicles-grid--cols-4 { --fleet-cols: 4; }
.vehicles-grid.vehicles-grid--cols-5 { --fleet-cols: 5; }
.vehicles-grid.vehicles-grid--cols-6 { --fleet-cols: 6; }

.vehicle-card {
    background-color: var(--white);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    scroll-margin-top: calc(var(--header-h-scroll) + 20px);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.vehicle-card:target, .vehicle-card.is-highlighted {
    border-color: var(--gold-base);
    box-shadow: 0 0 0 5px rgba(197, 160, 72, 0.35), var(--shadow-hover);
    transform: translateY(-8px);
}

.vehicle-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #EEEAE1;
    cursor: pointer;
}

.capacity-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--gold-gradient);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.vehicle-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vehicle-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.35;
    margin-bottom: 20px;
    min-height: 52px;
}

.vehicle-title.modal-card-trigger:hover {
    color: var(--gold-deep);
}

.btn-vehicle {
    margin-top: auto;
    width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    font-size: 0.85rem;
}

/* ==========================================================================
   10. BLOQUE E: CONTACT FORM 7 READY
   ========================================================================== */
   .section-contact {
    padding: 60px 0;
    background-color: var(--white);
}

.contact-header-desc {
    max-width: 680px;
    margin: 16px auto 0 auto;
    font-size: var(--text-base);
    color: var(--text-secondary);
    font-weight: 500;
}

.contact-wrapper {
    max-width: 820px;
    margin: 50px auto 0 auto;
    background-color: var(--white);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    min-height: 52px;
    padding: 12px 18px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-primary);
    background-color: var(--bg-light);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
    outline: none;
}

.form-textarea {
    min-height: 130px;
    resize: vertical;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--gold-base);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(197, 160, 72, 0.15);
}

.btn-submit {
    min-width: 240px;
    border: none;
    cursor: pointer;
}

.datepicker-input{
    cursor: pointer;
}

/* ==========================================================================
   11. FOOTER CORPORATIVO (DISTRIBUCIÓN 1.5fr / 1fr / 1.8fr Y COPYRIGHT SEGURO)
   ========================================================================== */
   .site-footer {
    background-color: var(--dark);
    color: #A0A5AA;
    padding: 80px 0 36px 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.8fr;
    gap: 50px;
    margin-bottom: 50px;
    align-items: start;
}

.footer-brand-link {
    display: inline-block;
    margin-bottom: 18px;
}

.footer-logo {
    height: 220px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
    transition: transform var(--transition);
}

.footer-logo:hover {
    transform: scale(1.02);
}

.footer-brand-claim {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: #D1D5DB;
    max-width: 440px;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--gold-gradient);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #D1D5DB;
    font-size: var(--text-sm);
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold-light);
    transform: translateX(4px);
}

.vehicle-anchor-link {
    color: #CBD5E0 !important;
}

.vehicle-anchor-link:hover {
    color: var(--gold-light) !important;
    font-weight: 600;
}

.footer-bottom-line {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 28px;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.footer-social-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social-btn:hover {
    background: var(--gold-gradient);
    border-color: var(--gold-base);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-social-btn.has-label {
    width: auto;
    padding: 0 16px;
    border-radius: 50px;
    gap: 8px;
}

.footer-social-btn .csw-social-text {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
}

.footer-copyright {
    font-size: 0.88rem;
    color: #8C9298;
    text-align: center;
    width: 100%;
}

/* ==========================================================================
   12. SISTEMA DE MODALES (LIGHTBOX FANCYBOX & MODAL DETALLE DE ITEMS)
   ========================================================================== */
   .site-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.site-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(26, 29, 32, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
}

.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    background-color: var(--dark);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: transform var(--transition), background-color var(--transition);
}

.modal-close-btn:hover {
    background-color: var(--gold-base);
    transform: rotate(90deg);
}

/* Estilos Lightbox (Fancybox Our Story) */
.modal-lightbox-wrapper {
    position: relative;
    z-index: 2;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.92);
    transition: transform var(--transition);
}

.site-modal.is-open .modal-lightbox-wrapper {
    transform: scale(1);
}

.modal-lightbox-content {
    background-color: var(--dark);
    border: 2px solid var(--gold-base);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: var(--shadow-modal);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.modal-lightbox-img {
    max-width: 85vw;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: calc(var(--radius) - 4px);
}

.modal-lightbox-caption {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gold-light);
    text-align: center;
    padding: 14px 20px 8px 20px;
    max-width: 700px;
}

/* Estilos Modal Detallado (Rutas y Vehículos) */
.modal-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 740px;
    max-height: 90vh;
    overflow-y: auto;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-modal);
    transform: translateY(20px);
    transition: transform var(--transition);
}

.site-modal.is-open .modal-dialog {
    transform: translateY(0);
}

.modal-card {
    display: flex;
    flex-direction: column;
}

.modal-media-header {
    position: relative;
    width: 100%;
    height: 280px;
    background-color: #EEEAE1;
    overflow: hidden;
}

.modal-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-detail-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--gold-gradient);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-type-tag {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background-color: rgba(26, 29, 32, 0.85);
    color: var(--gold-light);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 4px;
}

.modal-body {
    padding: 32px;
}

.modal-detail-title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 16px;
}

.modal-detail-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.modal-features-block {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 28px;
}

.modal-features-heading {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--gold-deep);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.modal-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
}

.modal-features-list li {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-features-list li i {
    color: var(--gold-deep);
    font-size: 0.88rem;
    font-weight: 800;
    flex-shrink: 0;
}

.modal-footer-action {
    display: flex;
    justify-content: flex-end;
}

.btn-modal-wa {
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
}

/* ==========================================================================
   13. BOTONES FLOTANTES: WHATSAPP Y VOLVER ARRIBA
   ========================================================================== */
   .floating-actions {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.btn-float {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
    position: relative;
    font-size: 1.5rem;
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.25s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.btn-back-to-top {
    background-color: var(--dark);
    color: var(--gold-light);
    border: 1px solid var(--gold-base);
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
}

.btn-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-back-to-top:hover {
    background: var(--gold-gradient);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(197, 160, 72, 0.4);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    font-size: 1.7rem;
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    transform: scale(1.06);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

.float-tooltip {
    position: absolute;
    right: 68px;
    background-color: var(--dark);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.float-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--dark);
}

.btn-whatsapp:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* ==========================================================================
   14. ANIMACIONES & REVEAL INTERSECCIÓN
   ========================================================================== */
   .reveal-item {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.25, 1, 0.5, 1), transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

.interactive-card {
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.interactive-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold-base);
}

/* ==========================================================================
   15. RESPONSIVE Y NAVEGACIÓN MÓVIL PANTALLA COMPLETA
   ========================================================================== */
   @media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .routes-grid,
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-logo {
        height: 180px;
    }
}

@media (max-width: 991px) {
    .nav-toggle {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        max-width: 100%;
        background-color: var(--white);
        box-shadow: none;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: calc(var(--header-h-scroll) + 30px) 24px 40px 24px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
        z-index: 1001;
    }

    .primary-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        width: 100%;
        margin: auto 0;
    }

    .nav-link {
        font-size: 1.25rem;
        color: var(--dark) !important;
        text-shadow: none !important;
        padding: 8px 16px;
        text-align: center;
    }

    .nav-btn-cta {
        width: 100%;
        max-width: 280px;
        text-align: center;
        margin-top: 14px;
    }

    .nav-toggle.is-active .hamburger-bar:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
    }

    .nav-toggle.is-active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-active .hamburger-bar:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .modal-features-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-top {
        display: block;
        height: 38px;
    }

    .header-top-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-left: 16px;
        padding-right: 16px;
    }

    .header-top-contact {
        gap: 8px;
    }
    .hero-banner-content{
        bottom: -40px;
    }
    .header-top-socials {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .hero-lead,
    .starlink-highlight-box,
    .top-contact-badge,
    .top-contact-divider {
        display: none !important;
    }

    .top-contact-link {
        font-size: 0.85rem;
    }

    .top-social-link {
        width: 24px;
        height: 24px;
    }

    .section-hero-banner {
        padding-top: 130px;
        min-height: 90vh;
    }

    .section-hero-banner .hero-title {
        font-size: var(--text-3xl);
    }

    .footer-bottom-content {
        align-items: flex-start;
        padding-right: 74px;
    }

    .footer-copyright {
        text-align: left;
    }

    .btn-float {
        width: 50px;
        height: 50px;
    }

    .floating-actions {
        right: 18px;
        bottom: 18px;
    }

    .float-tooltip {
        display: none;
    }

    .footer-logo {
        height: 150px;
    }

    .modal-body {
        padding: 24px 18px;
    }

    .modal-media-header {
        height: 200px;
    }
}

@media (max-width: 640px) {
    .routes-grid,
    .vehicles-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .section-routes,
    .section-safety,
    .section-fleet.section-vehicles,
    .section-story,
    .section-contact {
        padding: 60px 0;
    }

    .contact-wrapper {
        padding: 28px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .safety-promise-box {
        padding: 20px;
        font-size: var(--text-base);
    }

    .site-footer {
        padding: 60px 0 30px 0;
    }
}