/* 
   Logística Quesada — Premium CSS Stylesheet (Visual Redesign v4)
   Theme: Visual, B2B Industrial, Editorial Grid, White Backgrounds
   Palette: Blue (#3e8798) & Gold (#bf9000) from colores.png
*/

/* ----------------------------------------------------
   1. VARIABLES & TOKENS
   ---------------------------------------------------- */
:root {
    /* Brand Colors (From colores.png) */
    --color-brand: #3e8798;         /* The blue from colores.png */
    --color-brand-dark: #2c6370;    /* Darker blue for hover states */
    --color-brand-light: #529db0;   /* Lighter blue */
    
    /* Highlight & Accent Colors (From colores.png) */
    --color-accent: #bf9000;        /* Gold / Yellow from colores.png */
    --color-accent-hover: #a37a00;  /* Darker Gold */
    
    /* Functional Colors */
    --color-success: #10b981;
    --color-error: #ef4444;
    
    /* Backgrounds (Configured for White Theme) */
    --color-bg-light: #f4f8f9;      /* Ultra-light tint of brand blue */
    --color-bg-white: #ffffff;      /* White background for the page */
    --color-bg-dark: #3e8798;       /* Blue used as background for dark sections */
    --color-bg-dark-card: #2c6370;  /* Card background inside blue sections */
    
    /* Typography */
    --color-text-dark: #112226;     /* Heavy dark charcoal */
    --color-text-muted: #4e656b;    /* Muted slate blue */
    --color-text-light: #8da2a8;
    --color-text-white: #ffffff;
    
    --font-headings: 'Lexend', system-ui, -apple-system, sans-serif;
    --font-body: 'Source Sans 3', system-ui, -apple-system, sans-serif;
    
    /* Layout & Borders */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    
    --shadow-sm: 0 4px 10px rgba(62, 135, 152, 0.04);
    --shadow-md: 0 12px 30px rgba(62, 135, 152, 0.08), 0 3px 8px rgba(62, 135, 152, 0.03);
    --shadow-lg: 0 24px 50px rgba(62, 135, 152, 0.12), 0 6px 20px rgba(62, 135, 152, 0.05);
    --shadow-premium: 0 40px 80px rgba(44, 99, 112, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    
    --max-width: 1200px;
}

/* ----------------------------------------------------
   2. RESET & BASE STYLES
   ---------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-white);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* ----------------------------------------------------
   2.1 CLOUD SHADOW AMBIENT LIGHTING (Scroll-Driven Solar Cycles)
   ---------------------------------------------------- */
.cloud-shadow-viewport {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 50;
    overflow: hidden;
}

.cloud-shadow-layer {
    position: absolute;
    top: -15vh;
    left: -15vw;
    pointer-events: none;
    will-change: transform, opacity;
    border-radius: 54% 46% 62% 38% / 42% 58% 42% 58%;
    filter: blur(45px);
    -webkit-filter: blur(45px);
    opacity: 0;
}

/* Sombra de Nube Principal: Masa orgánica amplia y claramente visible */
.cloud-shadow-alpha {
    width: 140vw;
    height: 130vh;
    background: radial-gradient(
        ellipse 65% 55% at 50% 50%,
        rgba(10, 26, 34, 0.40) 0%,
        rgba(18, 42, 54, 0.26) 45%,
        rgba(30, 65, 80, 0.10) 70%,
        rgba(0, 0, 0, 0) 100%
    );
}

/* Sombra de Nube Secundaria: Segunda masa con contorno y altitud desfasada */
.cloud-shadow-beta {
    width: 150vw;
    height: 135vh;
    border-radius: 46% 54% 38% 62% / 62% 36% 64% 38%;
    background: radial-gradient(
        ellipse 70% 50% at 50% 50%,
        rgba(12, 28, 38, 0.34) 0%,
        rgba(22, 48, 62, 0.22) 45%,
        rgba(35, 75, 92, 0.08) 70%,
        rgba(0, 0, 0, 0) 100%
    );
}

/* Optimización para Móvil */
@media (max-width: 768px) {
    .cloud-shadow-alpha {
        width: 170vw;
        height: 140vh;
        filter: blur(32px);
        -webkit-filter: blur(32px);
    }
    .cloud-shadow-beta {
        display: none;
    }
}

/* Accesibilidad: Reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
    .cloud-shadow-viewport {
        display: none !important;
    }
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

li {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* ----------------------------------------------------
   3. TYPOGRAPHY & UTILITIES
   ---------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-brand);
}

h1 {
    font-size: 3.75rem;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.75rem;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.5rem;
}

.text-accent {
    color: var(--color-accent);
}

.text-white {
    color: var(--color-text-white) !important;
}

.text-light-muted {
    color: rgba(244, 248, 249, 0.85) !important;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.section-padding {
    padding: 9rem 0;
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark {
    background-color: var(--color-brand-dark);
}

.text-center {
    text-align: center;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 5.5rem auto;
}

.section-tagline {
    font-family: var(--font-headings);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-accent);
    margin-bottom: 0.9rem;
    display: inline-block;
}

.tagline-light {
    color: rgba(255, 255, 255, 0.85);
}

.section-title {
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 4px;
    background-color: var(--color-accent);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-top: 1.25rem;
}

.lead-text {
    font-size: 1.35rem;
    color: var(--color-text-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* ----------------------------------------------------
   4. BUTTONS & ANIMATIONS
   ---------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.15rem 2.5rem;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-normal);
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-accent {
    background-color: var(--color-brand);
    color: var(--color-text-white);
}

.btn-accent:hover {
    background-color: var(--color-brand-dark);
    box-shadow: 0 10px 25px rgba(62, 135, 152, 0.25);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-white);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    box-shadow: 0 10px 25px rgba(191, 144, 0, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-text-white);
}

.btn-outline:hover {
    background-color: var(--color-text-white);
    color: var(--color-brand-dark);
    border-color: var(--color-text-white);
    transform: translateY(-2px);
}

.btn-light {
    color: var(--color-text-white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-text-white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.25rem 3.5rem;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

.btn-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: var(--transition-normal);
    z-index: -1;
}

.btn-animate:hover::before {
    left: 0;
}

/* Link with Arrow style */
.btn-text-link {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-brand);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
}

.btn-text-link:hover {
    color: var(--color-accent);
    transform: translateX(4px);
}

/* ----------------------------------------------------
   5. HEADER / NAVIGATION
   ---------------------------------------------------- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(62, 135, 152, 0.08);
    transition: var(--transition-normal);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    height: 48px;
    width: auto;
}

.nav-menu ul {
    display: flex;
    gap: 2.25rem;
}

.nav-menu a {
    font-family: var(--font-headings);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-brand);
    position: relative;
    padding: 0.25rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-fast);
}

.nav-menu a:not(.btn):hover::after {
    width: 100%;
}

.nav-highlight {
    color: var(--color-accent) !important;
}

/* Dedicated High-Visibility Header Panel Button */
.btn-nav-panel {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #3e8798 0%, #2c6370 100%) !important;
    color: #ffffff !important;
    padding: 0.5rem 1.35rem !important;
    font-family: var(--font-headings) !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    border-radius: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 12px rgba(44, 99, 112, 0.25) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    margin-left: 0.5rem !important;
}

.btn-nav-panel::after {
    display: none !important;
}

.btn-nav-panel:hover {
    background: linear-gradient(135deg, #bf9000 0%, #a37a00 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(191, 144, 0, 0.4) !important;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-brand);
    position: relative;
    transition: background-color var(--transition-fast);
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--color-brand);
    left: 0;
    transition: transform var(--transition-fast);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.mobile-nav-toggle.open .hamburger {
    background-color: transparent;
}
.mobile-nav-toggle.open .hamburger::before {
    transform: translateY(8px) rotate(45deg);
}
.mobile-nav-toggle.open .hamburger::after {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-white);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: var(--transition-normal);
}

.mobile-menu-overlay.open {
    transform: translateY(0);
}

.mobile-nav-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav-menu a {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-brand);
}

/* ----------------------------------------------------
   6. HERO SECTION (80vh split with video)
   ---------------------------------------------------- */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--color-text-white);
    overflow: hidden;
}

.video-background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 60, 68, 0.95) 0%, rgba(62, 135, 152, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-top: 4rem;
}

.hero-brand-logo {
    height: 70px;
    width: auto;
    margin-bottom: 2rem;
    filter: brightness(0) invert(1);
    display: inline-block;
}

.hero-title-heavy {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-text-white);
    text-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 1rem;
}

.hero-lead {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.95);
    font-family: var(--font-headings);
    font-weight: 300;
    margin-bottom: 3.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* ----------------------------------------------------
   7. TRUST BAR
   ---------------------------------------------------- */
.trust-bar {
    background-color: var(--color-brand);
    color: var(--color-text-white);
    padding: 3rem 0;
    border-bottom: 5px solid var(--color-accent);
    position: relative;
    z-index: 4;
}

.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem 3rem;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.trust-icon {
    width: 32px;
    height: 32px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.trust-item h3 {
    font-size: 1.15rem;
    color: var(--color-text-white);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.trust-item p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
}

/* ----------------------------------------------------
   8. ABOUT US (50/50 - Translucent Logistics Background)
   ---------------------------------------------------- */
.about-section {
    background-color: #ffffff;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
        url('images/fleet_operations.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.about-image-wrapper {
    position: relative;
    width: 100%;
}

.about-img-main {
    width: 100%;
    border-radius: var(--border-radius-md);
    z-index: 2;
    position: relative;
}

/* Overlapping decorative frame */
.about-img-accent-border {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    border: 2px solid var(--color-accent);
    border-radius: var(--border-radius-lg);
    z-index: 1;
    pointer-events: none;
}

.about-brief-text {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.values-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.value-tag {
    background-color: var(--color-bg-light);
    border: 1px solid rgba(62, 135, 152, 0.12);
    color: var(--color-brand);
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
}

/* ----------------------------------------------------
   9. SERVICES (EDITORIAL GALLERY - Translucent Logistics Background)
   ---------------------------------------------------- */
.services-section {
    background-color: #ffffff;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
        url('images/fleet_operations.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-top: 1px solid rgba(62, 135, 152, 0.08);
}

.services-editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.editorial-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(62, 135, 152, 0.08);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.editorial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.editorial-img-frame {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.editorial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.editorial-card:hover .editorial-img {
    transform: scale(1.05);
}

.editorial-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(191, 144, 0, 0.12);
    color: #9a7400;
    border: 1px solid rgba(191, 144, 0, 0.3);
    padding: 0.25rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    align-self: flex-start;
}

.editorial-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
    color: var(--color-brand);
    font-weight: 700;
}

.editorial-content p {
    color: var(--color-text-muted);
    font-size: 0.98rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.editorial-bullets {
    display: block;
    font-family: var(--font-headings);
    font-size: 0.78rem;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
}

.btn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: none;
    padding: 0;
    color: var(--color-brand);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
    font-family: inherit;
}

.btn-text-link:hover {
    color: var(--color-accent);
    transform: translateX(4px);
}

.modal-form-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    margin-top: 1.25rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(62, 135, 152, 0.15);
}

/* Dedicated Service & Availability CTA Banner */
.dedicated-service-cta-banner {
    margin-top: 4.5rem;
    background: linear-gradient(135deg, var(--color-brand-dark) 0%, var(--color-brand) 100%);
    color: var(--color-text-white);
    border-radius: var(--border-radius-lg);
    padding: 3rem 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--color-accent);
}

.dedicated-cta-tag {
    font-family: var(--font-headings);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.dedicated-cta-content h3 {
    font-size: 1.65rem;
    color: var(--color-text-white);
    margin-bottom: 0.4rem;
    font-weight: 800;
}

.dedicated-cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.modal-card-lg {
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Fleet Specifications Table */
.fleet-details {
    margin-top: 5rem;
    background-color: var(--color-bg-light);
    border: 1px solid rgba(62, 135, 152, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-sm);
}

.fleet-details h3 {
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.table-container {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th, td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(62, 135, 152, 0.08);
}

th {
    font-family: var(--font-headings);
    font-weight: 600;
    color: var(--color-brand);
    background-color: rgba(62, 135, 152, 0.06);
}

tr:hover td {
    background-color: rgba(62, 135, 152, 0.04);
}

/* ----------------------------------------------------
   10. FULL-WIDTH PHOTOGRAPHIC SEPARATOR
   ---------------------------------------------------- */
.banner-separator-section {
    position: relative;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    background-image: url('images/truck_highway.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    color: var(--color-text-white);
}

.banner-separator-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 60, 68, 0.8);
    z-index: 1;
}

.banner-separator-content {
    position: relative;
    z-index: 2;
}

.separator-tag {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    display: inline-block;
    margin-bottom: 1rem;
}

.banner-separator-content h2 {
    color: var(--color-text-white);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.banner-separator-content p {
    font-size: 1.3rem;
    font-family: var(--font-headings);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
}

/* ----------------------------------------------------
   11. WHY CHOOSE US (DIFERENCIADORES - 6 Razones Clave)
   ---------------------------------------------------- */
.why-section {
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 0% 0%, rgba(62, 135, 152, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(30, 60, 68, 0.05) 0px, transparent 50%);
    border-top: 1px solid rgba(62, 135, 152, 0.08);
}

.section-lead-intro {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.why-reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.why-reason-card {
    background: #ffffff;
    border: 1px solid rgba(62, 135, 152, 0.14);
    border-radius: var(--border-radius-md);
    padding: 2.25rem 2rem;
    box-shadow: 0 4px 20px -2px rgba(30, 60, 68, 0.04);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.why-reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-brand) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px -4px rgba(30, 60, 68, 0.12);
    border-color: rgba(62, 135, 152, 0.35);
}

.why-reason-card:hover::before {
    opacity: 1;
}

.why-reason-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.why-reason-num {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    letter-spacing: -0.02em;
}

.why-reason-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(62, 135, 152, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-brand);
    transition: background 0.3s ease, color 0.3s ease;
}

.why-reason-card:hover .why-reason-icon {
    background: var(--color-brand);
    color: #ffffff;
}

.why-reason-icon svg {
    width: 22px;
    height: 22px;
}

.why-reason-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.why-reason-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 0;
}

/* ----------------------------------------------------
   12. PROCESS (ASÍ TRABAJAMOS - Diagrama de Proceso Animado)
   ---------------------------------------------------- */
.process-section {
    background-color: #ffffff;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
        url('images/fleet_operations.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-top: 1px solid rgba(62, 135, 152, 0.08);
}

.process-diagram-wrapper {
    position: relative;
    margin-top: 4.5rem;
    padding: 1.5rem 0 2rem;
}

/* Continuous Progress Track Behind Nodes */
.process-track-bg {
    position: absolute;
    top: 43px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: rgba(62, 135, 152, 0.16);
    border-radius: 4px;
    z-index: 1;
}

.process-track-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-brand) 0%, var(--color-accent) 100%);
    border-radius: 4px;
    box-shadow: 0 0 14px rgba(62, 135, 152, 0.5);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: width;
}

.process-steps-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.process-step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-indicator-wrap {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

.step-node {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid rgba(62, 135, 152, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(30, 60, 68, 0.08);
}

.step-node-num {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.15rem;
    color: #94a3b8;
    transition: color 0.4s ease;
    line-height: 1;
}

/* Step Card Presentation */
.step-card {
    background: #ffffff;
    border: 1px solid rgba(62, 135, 152, 0.12);
    border-radius: 14px;
    padding: 1.85rem 1.35rem;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease,
                opacity 0.4s ease;
    box-shadow: 0 4px 16px -2px rgba(30, 60, 68, 0.04);
    opacity: 0.68;
    transform: translateY(6px);
}

.step-category {
    font-family: var(--font-headings);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.5rem;
    display: block;
    transition: color 0.4s ease;
}

.step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 0.55rem;
    line-height: 1.35;
    transition: color 0.4s ease;
}

.step-desc {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin: 0;
    flex-grow: 1;
}

/* Active & Completed States */
.process-step-item.is-active .step-node,
.process-step-item.is-completed .step-node {
    border-color: var(--color-accent);
    background: var(--color-brand);
    box-shadow: 0 0 0 6px rgba(62, 135, 152, 0.18), 0 8px 20px rgba(30, 60, 68, 0.18);
    transform: scale(1.08);
}

.process-step-item.is-active .step-node-num,
.process-step-item.is-completed .step-node-num {
    color: #ffffff;
}

.process-step-item.is-active .step-card,
.process-step-item.is-completed .step-card {
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(62, 135, 152, 0.32);
    box-shadow: 0 12px 28px -4px rgba(30, 60, 68, 0.1);
    background: #ffffff;
}

.process-step-item.is-active .step-category {
    color: var(--color-accent);
}

.step-card-final {
    border-color: rgba(62, 135, 152, 0.22);
}

.process-step-item.is-active .step-card-final {
    border-color: var(--color-accent);
    background: linear-gradient(180deg, #ffffff 0%, rgba(244, 248, 249, 0.95) 100%);
}

/* Hover Interaction on Desktop */
@media (hover: hover) {
    .process-step-item:hover .step-card {
        transform: translateY(-4px);
        box-shadow: 0 16px 32px -4px rgba(30, 60, 68, 0.14);
        border-color: var(--color-accent);
        opacity: 1;
    }
    
    .process-step-item:hover .step-node {
        transform: scale(1.12);
        border-color: var(--color-accent);
    }
}

/* ----------------------------------------------------
   13. MOVEMOS TU CARGA (Bloque de Impacto Visual)
   ---------------------------------------------------- */
.move-cargo-section {
    background-color: #f8fafc;
    border-top: 1px solid rgba(62, 135, 152, 0.08);
}

.move-cargo-showcase {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-top: 3.5rem;
    box-shadow: 0 25px 50px -12px rgba(15, 33, 38, 0.25);
    background-color: var(--color-brand-dark);
}

.move-cargo-media-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.move-cargo-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
    filter: saturate(1.2) contrast(1.1);
    transform: scale(1.02);
    transition: transform 1.2s ease;
}

.move-cargo-showcase:hover .move-cargo-hero-img {
    transform: scale(1.05);
}

.move-cargo-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 33, 38, 0.95) 0%, rgba(30, 60, 68, 0.88) 50%, rgba(15, 33, 38, 0.96) 100%);
}

.move-cargo-content-overlay {
    position: relative;
    z-index: 2;
    padding: 4rem 3.5rem 3rem;
    color: var(--color-text-white);
}

/* Trajectory Track */
.cargo-trajectory-track {
    position: relative;
    margin-bottom: 3.5rem;
}

.cargo-trajectory-line {
    position: absolute;
    top: 15px;
    left: 4%;
    right: 4%;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    z-index: 1;
}

.cargo-trajectory-pulse {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-accent) 0%, #6ee7b7 100%);
    box-shadow: 0 0 16px rgba(62, 135, 152, 0.8);
    border-radius: 4px;
    transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.move-cargo-showcase.is-revealed .cargo-trajectory-pulse,
.move-cargo-showcase.visible .cargo-trajectory-pulse {
    width: 100%;
}

.cargo-stage-nodes {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.cargo-stage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s ease;
}

.cargo-stage-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(15, 33, 38, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.cargo-dot-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
}

.move-cargo-showcase.is-revealed .cargo-stage-dot,
.move-cargo-showcase.visible .cargo-stage-dot {
    border-color: var(--color-accent);
    box-shadow: 0 0 14px rgba(62, 135, 152, 0.6);
}

.move-cargo-showcase.is-revealed .cargo-dot-inner,
.move-cargo-showcase.visible .cargo-dot-inner {
    background: var(--color-accent);
    transform: scale(1.2);
}

.cargo-stage-text h4 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    letter-spacing: 0.02em;
}

.cargo-stage-text p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}

.cargo-stage-item:hover {
    transform: translateY(-4px);
}

.cargo-stage-item:hover .cargo-stage-dot {
    border-color: #6ee7b7;
    transform: scale(1.15);
}

.cargo-stage-item:hover .cargo-stage-text h4 {
    color: #6ee7b7;
}

/* Footer Bar with Quote and CTA */
.move-cargo-footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cargo-footer-quote {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.5;
    max-width: 680px;
}

.cargo-quote-icon {
    width: 26px;
    height: 26px;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* ----------------------------------------------------
   14. JOIN TEAM SECTION (TRABAJA CON NOSOTROS - Split Screen)
   ---------------------------------------------------- */
.join-section {
    overflow: hidden;
    background-color: var(--color-brand-dark);
}

.grid-2-half-screen {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.join-image-col {
    position: relative;
    height: 100%;
    min-height: 450px;
}

.join-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.join-content-col {
    padding: 6.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title-join {
    font-size: 3.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.join-content-col h3 {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--color-accent);
    margin-bottom: 2.5rem;
}

.join-options-vertical {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.join-option-item p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.border-top-join {
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* ----------------------------------------------------
   15. CONTACT & EXPANDABLE FORM
   ---------------------------------------------------- */
.contact-section {
    background-color: #ffffff;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)),
        url('images/fleet_operations.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-top: 1px solid rgba(62, 135, 152, 0.08);
}

.section-title-cta {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cta-form-intro {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

.cta-trigger-wrapper {
    margin-bottom: 1rem;
}

/* Expandable Form Box Animation */
.expandable-form-container {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 800px;
    margin: 0 auto;
}

.expandable-form-container.open {
    max-height: 1200px; /* Large enough height to fit form */
    opacity: 1;
    margin-top: 3.5rem;
    margin-bottom: 3.5rem;
}

.contact-form {
    padding: 3.5rem;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(62, 135, 152, 0.12);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

label {
    display: block;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-brand);
    margin-bottom: 0.5rem;
}

input, select, textarea {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border: 1px solid rgba(62, 135, 152, 0.18);
    border-radius: var(--border-radius-sm);
    background-color: var(--color-bg-light);
    transition: var(--transition-fast);
    outline: none;
    color: var(--color-text-dark);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--color-brand);
    background-color: var(--color-bg-white);
    box-shadow: 0 0 0 4px rgba(62, 135, 152, 0.12);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233e8798' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1.2rem;
    cursor: pointer;
}

textarea {
    resize: vertical;
}

.inline-contact-details {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4.5rem;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(62, 135, 152, 0.08);
}

.detail-item-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.detail-label {
    font-family: var(--font-headings);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.detail-value {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--color-brand);
}

.detail-value:hover {
    color: var(--color-accent);
}

/* ----------------------------------------------------
   16. FOOTER
   ---------------------------------------------------- */
.main-footer {
    background-color: var(--color-brand-dark);
    color: var(--color-text-white);
    padding: 6rem 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-logo {
    height: 52px;
    width: auto;
    margin-bottom: 1.75rem;
    filter: brightness(0) invert(1); /* Logo displays in clean white on dark blue background */
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-grid h4 {
    color: var(--color-text-white);
    margin-bottom: 1.75rem;
    font-size: 1.15rem;
    font-weight: 600;
}

.footer-links ul, .footer-services ul {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-links a, .footer-services a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover, .footer-services a:hover {
    color: var(--color-accent);
    transform: translateX(4px);
    display: inline-block;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
}

.footer-contact a {
    color: var(--color-text-white);
}

.footer-contact a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    background-color: #1a424b;
    padding: 2.25rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a:hover {
    color: var(--color-accent);
}

/* ----------------------------------------------------
   16.5 MODAL POPUP (PREMIUM ANIMATED & RESPONSIVE)
   ---------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 33, 38, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.42s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 2rem;
    overflow-y: auto;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-card {
    position: relative;
    max-width: 680px;
    width: 100%;
    background-color: var(--color-bg-white);
    border: 1px solid rgba(62, 135, 152, 0.18);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 60px -15px rgba(15, 33, 38, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    padding: 3rem 3.5rem;
    transform: scale(0.92) translateY(24px);
    opacity: 0;
    transition: transform 0.46s cubic-bezier(0.34, 1.35, 0.64, 1),
                opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.modal-overlay.open .modal-card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-card-lg {
    max-width: 720px;
    max-height: 88vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(62, 135, 152, 0.3) transparent;
}

.modal-card-lg::-webkit-scrollbar {
    width: 6px;
}

.modal-card-lg::-webkit-scrollbar-thumb {
    background: rgba(62, 135, 152, 0.3);
    border-radius: 10px;
}

.modal-close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(62, 135, 152, 0.08);
    border: 1px solid rgba(62, 135, 152, 0.12);
    font-size: 1.65rem;
    font-weight: 300;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close-btn:hover {
    background: var(--color-accent);
    color: white;
    transform: rotate(90deg) scale(1.05);
    border-color: var(--color-accent);
}

.modal-header {
    margin-bottom: 2rem;
}

.modal-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}

/* ----------------------------------------------------
   16.6 CARRIER JOIN MODAL STYLES (Proveedores & Transportistas)
   ---------------------------------------------------- */
.carrier-type-selector {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.carrier-type-pill {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    background: #f8fafc;
    border: 2px solid rgba(62, 135, 152, 0.18);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-brand);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    user-select: none;
}

.carrier-type-pill input[type="radio"] {
    accent-color: var(--color-accent);
    width: 18px;
    height: 18px;
    margin: 0;
}

.carrier-type-pill.active,
.carrier-type-pill:has(input:checked) {
    background: rgba(62, 135, 152, 0.08);
    border-color: var(--color-accent);
    color: var(--color-brand);
}

/* Carrier Unit Cards */
.carrier-unit-card {
    background: #f8fafc;
    border: 1px solid rgba(62, 135, 152, 0.18);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    transition: all 0.3s ease;
}

.carrier-unit-card:hover {
    border-color: rgba(62, 135, 152, 0.35);
    box-shadow: 0 6px 18px rgba(30, 60, 68, 0.06);
}

.unit-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed rgba(62, 135, 152, 0.2);
}

.unit-card-num {
    font-family: var(--font-headings);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-brand);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.unit-card-num-badge {
    background: var(--color-brand);
    color: white;
    font-size: 0.75rem;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-unit {
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-remove-unit:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* Tariff Excel Upload Box */
.carrier-tariff-box {
    background: #f8fafc;
    border: 1px solid rgba(62, 135, 152, 0.18);
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.tariff-box-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.file-upload-dropzone {
    border: 2px dashed rgba(62, 135, 152, 0.3);
    border-radius: 12px;
    padding: 1.75rem;
    background: #ffffff;
    text-align: center;
    transition: all 0.3s ease;
}

.file-upload-dropzone.dragover {
    border-color: var(--color-accent);
    background: rgba(62, 135, 152, 0.05);
}

.dropzone-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.excel-icon {
    width: 44px;
    height: 44px;
    color: #107c41;
}

.dropzone-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--color-brand);
}

.dropzone-text span {
    font-size: 0.8rem;
    color: #64748b;
}

.dropzone-filled {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
}

.file-attached-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.file-badge {
    background: #107c41;
    color: white;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

.file-meta {
    text-align: left;
}

.file-name {
    font-weight: 700;
    color: var(--color-brand);
    font-size: 0.95rem;
    display: block;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-size {
    font-size: 0.8rem;
    color: #64748b;
}

.file-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.btn-action-icon {
    background: transparent;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-action-icon:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

/* ----------------------------------------------------
   16.7 PORTAL FEATURE SECTION (Tecnología y Seguimiento)
   ---------------------------------------------------- */
.portal-feature-section {
    background: linear-gradient(180deg, #f8fafc 0%, #edf4f6 100%);
    border-top: 1px solid rgba(62, 135, 152, 0.1);
    position: relative;
    overflow: hidden;
}

.portal-feature-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 3.5rem;
    align-items: center;
}

.portal-lead-heading {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-brand);
    line-height: 1.25;
    margin: 0.75rem 0 1.25rem;
}

.portal-lead-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 2rem;
}

.portal-value-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.portal-val-item {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    background: #ffffff;
    border: 1px solid rgba(62, 135, 152, 0.12);
    border-radius: 12px;
    padding: 1.15rem 1.35rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.portal-val-item:hover {
    transform: translateY(-2px);
    border-color: rgba(62, 135, 152, 0.35);
    box-shadow: 0 8px 24px rgba(30, 60, 68, 0.06);
}

.portal-val-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(62, 135, 152, 0.1);
    color: var(--color-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.portal-val-icon svg {
    width: 22px;
    height: 22px;
}

.portal-val-item strong {
    display: block;
    font-size: 1rem;
    color: var(--color-brand);
    margin-bottom: 0.2rem;
}

.portal-val-item span {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.portal-cta-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

/* Mock Browser Preview in Landing Page */
.portal-preview-showcase {
    position: relative;
}

.portal-mock-browser {
    background: #ffffff;
    border: 1px solid rgba(62, 135, 152, 0.2);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px -10px rgba(15, 33, 38, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portal-mock-browser:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 65px -12px rgba(15, 33, 38, 0.22);
}

.browser-header {
    background: #1e3c44;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.browser-url-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0.25rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    font-family: monospace;
    flex-grow: 1;
    max-width: 320px;
}

.demo-live-badge {
    background: var(--color-accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 12px;
    letter-spacing: 0.05em;
}

.portal-mock-body {
    padding: 1.75rem;
    position: relative;
    background: #f8fafc;
}

.mock-client-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.mock-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.05em;
    display: block;
}

.mock-client-row h4 {
    font-size: 1.15rem;
    color: var(--color-brand);
    margin: 0;
}

.mock-trip-box {
    background: #ffffff;
    border: 1px solid rgba(62, 135, 152, 0.16);
    border-radius: 14px;
    padding: 1.35rem;
    box-shadow: 0 4px 14px rgba(30, 60, 68, 0.04);
}

.mock-trip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.mock-trip-id {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--color-brand);
    font-size: 0.95rem;
}

.mock-trip-badge {
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 12px;
}

.mock-trip-route {
    font-size: 1rem;
    color: var(--color-brand);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.route-arrow {
    color: var(--color-accent);
    font-weight: bold;
}

.mock-progress-track {
    position: relative;
    height: 6px;
    background: #e2e8f0;
    border-radius: 6px;
    margin-bottom: 1.25rem;
}

.mock-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-brand) 0%, var(--color-accent) 100%);
    border-radius: 6px;
}

.mock-truck-indicator {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.mock-trip-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    border-top: 1px dashed rgba(62, 135, 152, 0.15);
    padding-top: 0.75rem;
}

.mock-click-overlay {
    margin-top: 1.25rem;
    text-align: center;
}

/* ----------------------------------------------------
   16.8 PORTAL DEMO MODAL (Dashboard Interactivo Completo)
   ---------------------------------------------------- */
.modal-card-xl {
    max-width: 1060px;
    width: 95%;
    max-height: 92vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(62, 135, 152, 0.3) transparent;
}

.portal-demo-modal-card {
    padding: 2.5rem 2.75rem;
    background: #f8fafc;
}

.demo-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid rgba(62, 135, 152, 0.16);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.demo-brand-logo-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.4rem;
}

.demo-badge-flag {
    background: #fef08a;
    color: #854d0e;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    border: 1px solid #fde047;
    letter-spacing: 0.05em;
}

.demo-main-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-brand);
    margin: 0 0 0.35rem;
}

.demo-client-meta {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.demo-live-indicator {
    color: #16a34a;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Metrics Grid */
.demo-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.demo-metric-card {
    background: #ffffff;
    border: 1px solid rgba(62, 135, 152, 0.16);
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 4px 12px rgba(30, 60, 68, 0.03);
    transition: transform 0.3s ease;
}

.demo-metric-card:hover {
    transform: translateY(-3px);
}

.dm-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.35rem;
}

.dm-value {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-brand);
    line-height: 1;
    display: block;
    margin-bottom: 0.35rem;
}

.dm-highlight { color: var(--color-accent); }
.dm-alert { color: #f59e0b; }

.dm-sub {
    font-size: 0.78rem;
    color: #94a3b8;
}

/* Trip Spotlight */
.demo-trip-spotlight {
    background: #ffffff;
    border: 1px solid rgba(62, 135, 152, 0.2);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 28px rgba(30, 60, 68, 0.06);
    margin-bottom: 2rem;
}

.demo-spotlight-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(62, 135, 152, 0.12);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.spotlight-title-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.spotlight-title-group h4 {
    font-size: 1.35rem;
    color: var(--color-brand);
    margin: 0;
}

.badge-status-in-transit {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.spotlight-service-tag {
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
}

.spotlight-quick-meta {
    display: flex;
    gap: 1.25rem;
    font-size: 0.88rem;
    color: #475569;
}

/* Route Overview Container & Progress Banner */
.demo-route-overview-container {
    background: #0f2126;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.75rem;
    position: relative;
    border: 1px solid rgba(62, 135, 152, 0.3);
}

.demo-route-banner {
    padding: 2rem 2.25rem;
    background: radial-gradient(circle at 50% 50%, #173840 0%, #0c1c20 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
}

.demo-route-point {
    background: rgba(15, 33, 38, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    min-width: 175px;
    color: white;
}

.point-badge {
    display: inline-block;
    background: #3e8798;
    color: white;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.4rem;
}

.badge-dest {
    background: #0284c7;
}

.point-name {
    display: block;
    font-size: 0.95rem;
    color: white;
    margin-bottom: 0.25rem;
}

.point-time {
    display: block;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.7);
}

.demo-route-connector {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.route-connector-track {
    position: relative;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 6px;
}

.route-connector-fill {
    height: 100%;
    background: linear-gradient(90deg, #3e8798 0%, #22c55e 100%);
    border-radius: 6px;
}

.route-truck-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.4rem;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
    animation: bounce-truck 2.5s infinite ease-in-out;
}

@keyframes bounce-truck {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-3px); }
}

.route-connector-status {
    font-size: 0.78rem;
    color: #22c55e;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.telemetry-bar {
    background: rgba(15, 33, 38, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.85rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.tel-item {
    display: flex;
    flex-direction: column;
}

.tel-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tel-val {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
}

/* Timeline Progress */
.demo-section-block {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(62, 135, 152, 0.12);
}

.demo-block-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-brand);
    margin-bottom: 1rem;
}

.demo-progress-timeline {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
    position: relative;
}

.dpt-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.dpt-marker {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.dpt-info strong {
    display: block;
    font-size: 0.82rem;
    color: #64748b;
}

.dpt-info span {
    font-size: 0.72rem;
    color: #94a3b8;
}

.dpt-step.dpt-done .dpt-marker {
    background: var(--color-brand);
    color: white;
}

.dpt-step.dpt-done .dpt-info strong {
    color: var(--color-brand);
}

.dpt-step.dpt-current .dpt-marker {
    background: #22c55e;
    color: white;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
    transform: scale(1.1);
}

.dpt-step.dpt-current .dpt-info strong {
    color: #15803d;
    font-weight: 800;
}

/* Two-column Subgrid */
.demo-two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.demo-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.demo-subcard {
    background: #ffffff;
    border: 1px solid rgba(62, 135, 152, 0.16);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 4px 14px rgba(30, 60, 68, 0.03);
}

.demo-keyval-table {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.dk-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px dashed rgba(62, 135, 152, 0.1);
    font-size: 0.88rem;
}

.dk-row:last-child { border-bottom: none; }
.dk-key { color: #64748b; font-weight: 500; }
.dk-val { color: var(--color-brand); font-weight: 700; text-align: right; }

.badge-status-green {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
}

.badge-status-yellow {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
}

/* Document List */
.demo-doc-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.demo-doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(62, 135, 152, 0.12);
    gap: 0.75rem;
}

.demo-doc-item.doc-ready { background: #f0fdf4; border-color: rgba(34, 197, 94, 0.25); }
.demo-doc-item.doc-pending { background: #f0f9ff; border-color: rgba(2, 132, 199, 0.25); }
.demo-doc-item.doc-waiting { background: #f8fafc; border-color: #e2e8f0; }

.doc-icon {
    font-weight: 800;
    font-size: 0.95rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.doc-ready .doc-icon { color: #16a34a; background: rgba(34, 197, 94, 0.2); }
.doc-pending .doc-icon { color: #0284c7; background: rgba(2, 132, 199, 0.2); }
.doc-waiting .doc-icon { color: #94a3b8; background: #e2e8f0; }

.doc-meta { flex-grow: 1; }
.doc-meta strong { display: block; font-size: 0.85rem; color: var(--color-brand); }
.doc-meta small { display: block; font-size: 0.72rem; color: #64748b; }

.doc-badge-ready { background: #dcfce7; color: #166534; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 6px; }
.doc-badge-pending { background: #e0f2fe; color: #075985; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 6px; }
.doc-badge-waiting { background: #f1f5f9; color: #64748b; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 6px; }

/* Alerts List */
.demo-alerts-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.demo-alert-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid var(--color-brand);
}

.alert-bullet { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.alert-info { background: #0284c7; }
.alert-success { background: #16a34a; }
.alert-warning { background: #f59e0b; }

.demo-alert-item p { margin: 0 0 0.2rem; font-size: 0.82rem; color: #334155; line-height: 1.45; }
.demo-alert-item small { font-size: 0.7rem; color: #94a3b8; }

/* Visibility Note */
.demo-visibility-note {
    background: rgba(62, 135, 152, 0.08);
    border: 1px dashed rgba(62, 135, 152, 0.3);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.dvn-icon { flex-shrink: 0; }
.demo-visibility-note strong { display: block; font-size: 0.85rem; color: var(--color-brand); margin-bottom: 0.2rem; }
.demo-visibility-note p { font-size: 0.78rem; color: var(--color-text-muted); margin: 0; line-height: 1.45; }

.demo-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(62, 135, 152, 0.16);
    padding-top: 1.25rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #64748b;
}

/* ----------------------------------------------------
   17. ANIMATIONS, SCROLL REVEAL & PROGRESSIVE ASSEMBLY PACING
   ---------------------------------------------------- */
:root {
    --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-assemble: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-in-out-smooth: cubic-bezier(0.65, 0, 0.35, 1);
    
    /* Timing Hierarchy (Slow, Progressive Assembly & Morphing) */
    --dur-micro: 450ms;
    --dur-normal: 1200ms;
    --dur-heading: 1450ms;
    --dur-image: 1650ms;
    --dur-special: 1850ms;
    --stagger-delay: 200ms;
}

/* Base Scroll Reveal Classes (Slow, Cinematic Assembly) */
.scroll-reveal,
[data-reveal] {
    opacity: 0;
    will-change: transform, opacity, filter;
    transition: opacity var(--dur-normal) var(--ease-assemble),
                transform var(--dur-heading) var(--ease-assemble),
                filter var(--dur-special) var(--ease-assemble),
                clip-path var(--dur-special) var(--ease-assemble);
}

/* Reveal Variations: Generous Travel to allow progressive transformation */
.scroll-reveal,
[data-reveal="fade-up"] {
    transform: translateY(52px);
}

[data-reveal="fade-down"] {
    transform: translateY(-52px);
}

[data-reveal="fade-left"] {
    transform: translateX(-56px) translateY(12px);
}

[data-reveal="fade-right"] {
    transform: translateX(56px) translateY(12px);
}

[data-reveal="zoom-in"] {
    transform: scale(0.88) translateY(24px);
}

[data-reveal="blur"] {
    filter: blur(16px);
    transform: translateY(38px);
}

[data-reveal="mask"] {
    clip-path: inset(0 100% 0 0);
    opacity: 0.05;
    transform: translateY(20px);
}

/* Active Revealed State: Fully Assembled, Sharp & Settled */
.scroll-reveal.visible,
.scroll-reveal.is-revealed,
[data-reveal].is-revealed {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    filter: blur(0px);
    clip-path: inset(0 0 0 0);
}

/* Headings Cinematic Assembly */
.section-title,
.hero-title-heavy,
.section-title-join,
.section-title-cta {
    transition: opacity var(--dur-heading) var(--ease-assemble),
                transform var(--dur-heading) var(--ease-assemble),
                filter var(--dur-special) var(--ease-assemble) !important;
}

/* Sequential Stagger Transitions with Wide Assembly Cadence */
[data-stagger] > * {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity var(--dur-normal) var(--ease-assemble),
                transform var(--dur-heading) var(--ease-assemble),
                filter var(--dur-image) var(--ease-assemble),
                border-color var(--transition-fast),
                box-shadow var(--transition-normal);
    transition-delay: calc(var(--stagger-idx, 0) * var(--stagger-delay));
}

[data-stagger].is-revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* Specific Staggers for Grids: Progressive Visual Assembly */
.trust-bar-grid > .trust-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--ease-assemble), transform 1.1s var(--ease-assemble);
}
.trust-bar.visible .trust-bar-grid > .trust-item:nth-child(1),
.trust-bar.is-revealed .trust-bar-grid > .trust-item:nth-child(1) { transition-delay: 0.08s; opacity: 1; transform: translateY(0); }
.trust-bar.visible .trust-bar-grid > .trust-item:nth-child(2),
.trust-bar.is-revealed .trust-bar-grid > .trust-item:nth-child(2) { transition-delay: 0.18s; opacity: 1; transform: translateY(0); }
.trust-bar.visible .trust-bar-grid > .trust-item:nth-child(3),
.trust-bar.is-revealed .trust-bar-grid > .trust-item:nth-child(3) { transition-delay: 0.28s; opacity: 1; transform: translateY(0); }
.trust-bar.visible .trust-bar-grid > .trust-item:nth-child(4),
.trust-bar.is-revealed .trust-bar-grid > .trust-item:nth-child(4) { transition-delay: 0.38s; opacity: 1; transform: translateY(0); }
.trust-bar.visible .trust-bar-grid > .trust-item:nth-child(5),
.trust-bar.is-revealed .trust-bar-grid > .trust-item:nth-child(5) { transition-delay: 0.48s; opacity: 1; transform: translateY(0); }
.trust-bar.visible .trust-bar-grid > .trust-item:nth-child(6),
.trust-bar.is-revealed .trust-bar-grid > .trust-item:nth-child(6) { transition-delay: 0.58s; opacity: 1; transform: translateY(0); }

/* Value Tags Stagger */
.values-flex .value-tag {
    transition: transform 0.45s var(--ease-assemble), background-color 0.35s ease, color 0.35s ease, box-shadow 0.45s ease;
}
.values-flex .value-tag:hover {
    transform: translateY(-4px) scale(1.05);
    background-color: var(--color-brand);
    color: var(--color-text-white);
    box-shadow: 0 8px 20px rgba(62, 135, 152, 0.25);
}

/* Metric Items Scroll Animation */
.metric-item-short {
    transition: transform 0.6s var(--ease-assemble);
}
.metric-item-short:hover {
    transform: translateX(8px);
}
.metric-num {
    transition: color 0.45s ease, transform 0.6s var(--ease-assemble);
}
.metric-item-short:hover .metric-num {
    color: var(--color-brand);
    transform: scale(1.1);
}

/* Brand Decorative Divider Signature */
.section-signature-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.5rem 0;
    max-width: 320px;
    margin: 0 auto;
    opacity: 0.85;
}
.section-signature-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(62, 135, 152, 0.3), transparent);
}
.section-signature-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--color-accent);
    position: relative;
}
.section-signature-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    opacity: 0.4;
    animation: pulse-ring 3s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.8; }
    50% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(0.8); opacity: 0; }
}

/* Dynamic Header Scroll Enhancement */
.main-header.scrolled {
    padding: 0.55rem 0;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(44, 99, 112, 0.08), 0 1px 3px rgba(62, 135, 152, 0.05);
    border-bottom-color: rgba(62, 135, 152, 0.12);
}
.main-header.scrolled .nav-logo {
    height: 42px;
}
.nav-menu a.active {
    color: var(--color-accent) !important;
}
.nav-menu a.active::after {
    width: 100%;
}

/* Parallax Depth Containers */
.parallax-layer {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Smooth Card Hover Refinements */
.editorial-card {
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), border-color 0.4s var(--ease-out-expo);
}
.editorial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(62, 135, 152, 0.12), 0 4px 12px rgba(62, 135, 152, 0.04);
}

.process-card {
    transition: transform 0.4s var(--ease-out-expo), background-color 0.4s var(--ease-out-expo), border-color 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}
.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(62, 135, 152, 0.1);
}

/* Mouse Scroll Down Indicator Animation */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    opacity: 0.9;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(4px);
}
.mouse-icon {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 0; transform: translateX(-50%) translateY(0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* Accessibility: Respect Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .scroll-reveal,
    [data-reveal],
    [data-stagger] > *,
    .trust-bar-grid > .trust-item {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        clip-path: none !important;
        transition: none !important;
    }
    
    .parallax-layer {
        transform: none !important;
    }
}

/* ----------------------------------------------------
   17.2 PAGE PRELOADER & LOADER TRUCK
   ---------------------------------------------------- */
body.loading {
    overflow: hidden;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-bg-white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-in-out;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    width: 100%;
    padding: 2rem;
}


.loader-road {
    position: relative;
    width: 100%;
    height: 6px;
    background-color: rgba(62, 135, 152, 0.1);
    border-radius: 3px;
    margin-bottom: 2rem;
}

.loader-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--color-brand);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.loader-truck-container {
    position: absolute;
    top: -36px;
    left: 0%;
    width: 46px;
    height: 36px;
    color: var(--color-brand);
    transform: translateX(-50%);
    transition: left 0.1s linear;
}

.loader-truck-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(62, 135, 152, 0.2));
}

.loader-text {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-brand);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@keyframes pulse-logo {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.97); opacity: 0.85; }
}

/* ----------------------------------------------------
   17.4 FLOATING SOCIAL BUTTONS
   ---------------------------------------------------- */
.floating-social-buttons {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    z-index: 80;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-white);
    box-shadow: 0 4px 15px rgba(0,0,0,0.14);
    transition: var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
}

.social-btn:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.social-btn:active {
    transform: scale(0.94);
}

.social-btn svg {
    width: 22px;
    height: 22px;
}

.social-btn-whatsapp {
    background-color: #25d366;
}
.social-btn-whatsapp:hover {
    background-color: #20ba5a;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* ----------------------------------------------------
   18. RESPONSIVE BREAKPOINTS & MOBILE SCROLL OPTIMIZATION
   ---------------------------------------------------- */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    .grid-2 {
        gap: 3rem;
    }

    .services-editorial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .process-steps-track {
        gap: 1rem;
    }

    .step-card {
        padding: 1.5rem 1rem;
    }

    .step-node {
        width: 50px;
        height: 50px;
    }

    .step-node-num {
        font-size: 1rem;
    }

    .step-title {
        font-size: 0.95rem;
    }

    .step-desc {
        font-size: 0.82rem;
    }

    .process-track-bg {
        top: 39px;
    }

    .move-cargo-content-overlay {
        padding: 3rem 2rem 2.5rem;
    }
    .cargo-stage-nodes {
        gap: 1rem;
    }
    .cargo-stage-text h4 {
        font-size: 1rem;
    }
    .cargo-stage-text p {
        font-size: 0.8rem;
    }
    .move-cargo-footer-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .portal-feature-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .demo-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .portal-lead-heading {
        font-size: 1.55rem;
    }
    .portal-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    .portal-cta-group .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .portal-demo-modal-card {
        padding: 1.75rem 1.25rem;
    }
    .demo-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .demo-metrics-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
    .demo-spotlight-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }
    .spotlight-quick-meta {
        flex-direction: column;
        gap: 0.35rem;
    }
    .demo-route-banner {
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem 1.25rem;
        gap: 1.25rem;
    }
    .demo-route-point {
        min-width: unset;
        text-align: center;
    }
    .telemetry-bar {
        grid-template-columns: repeat(2, 1fr);
        padding: 0.85rem 1rem;
        gap: 0.85rem;
    }
    .demo-progress-timeline {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: left;
    }
    .dpt-step {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        text-align: left;
    }
    .dpt-marker {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .demo-two-column-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .demo-modal-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        text-align: center;
    }

    .services-editorial-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    /* Move Cargo Showcase Mobile Flow */
    .move-cargo-content-overlay {
        padding: 2.5rem 1.5rem 2rem;
    }
    .cargo-trajectory-line {
        top: 16px;
        bottom: 16px;
        left: 15px;
        right: auto;
        width: 3px;
        height: calc(100% - 32px);
    }
    .cargo-trajectory-pulse {
        width: 100% !important;
        height: 0%;
        transition: height 1.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .move-cargo-showcase.is-revealed .cargo-trajectory-pulse,
    .move-cargo-showcase.visible .cargo-trajectory-pulse {
        height: 100%;
    }
    .cargo-stage-nodes {
        display: flex;
        flex-direction: column;
        gap: 1.75rem;
    }
    .cargo-stage-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 1.25rem;
    }
    .cargo-stage-dot {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    .cargo-footer-quote {
        font-size: 0.9rem;
    }

    /* Process Diagram Vertical Flow for Mobile */
    .process-diagram-wrapper {
        margin-top: 2.5rem;
        padding: 1rem 0;
    }

    .process-track-bg {
        top: 25px;
        bottom: 25px;
        left: 23px;
        right: auto;
        width: 4px;
        height: calc(100% - 50px);
    }

    .process-track-fill {
        width: 100% !important;
        height: 0%;
        transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        will-change: height;
    }

    .process-steps-track {
        display: flex;
        flex-direction: column;
        gap: 1.75rem;
    }

    .process-step-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 1.15rem;
    }

    .step-indicator-wrap {
        margin-bottom: 0;
        width: auto;
        flex-shrink: 0;
    }

    .step-node {
        width: 48px;
        height: 48px;
    }

    .step-card {
        padding: 1.35rem 1.15rem;
        transform: translateX(10px);
        opacity: 0.65;
        border-radius: 12px;
    }

    .process-step-item.is-active .step-card {
        transform: translateX(0);
        opacity: 1;
    }

    .trust-bar-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .dedicated-service-cta-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.75rem;
        gap: 1.5rem;
    }

    .dedicated-cta-content h3 {
        font-size: 1.35rem;
    }

    .fleet-details {
        padding: 2rem 1.25rem;
    }
    
    /* Mobile-Specific Scroll Reveal Behavior: Progressive Visual Evolution & Controlled Assembly Pacing */
    .scroll-reveal,
    [data-reveal],
    [data-reveal="fade-up"],
    [data-reveal="fade-down"] {
        transform: translateY(32px) !important;
        opacity: 0 !important;
        transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1),
                    transform 1.35s cubic-bezier(0.19, 1, 0.22, 1) !important;
    }
    
    /* Gentle vertical transition for lateral items in single-column mobile view */
    [data-reveal="fade-left"],
    [data-reveal="fade-right"] {
        transform: translateY(30px) !important;
        opacity: 0 !important;
        transition: opacity 1.25s cubic-bezier(0.19, 1, 0.22, 1),
                    transform 1.4s cubic-bezier(0.19, 1, 0.22, 1) !important;
    }
    
    /* Smooth focal scale reveal for key images and signatures */
    [data-reveal="zoom-in"] {
        transform: scale(0.92) translateY(18px) !important;
        opacity: 0 !important;
        transition: opacity 1.3s cubic-bezier(0.19, 1, 0.22, 1),
                    transform 1.5s cubic-bezier(0.19, 1, 0.22, 1) !important;
    }

    /* Headings with cinematic progressive entrance */
    .section-title,
    .hero-title-heavy,
    .section-title-join,
    .section-title-cta {
        transition: opacity 1.35s cubic-bezier(0.19, 1, 0.22, 1),
                    transform 1.45s cubic-bezier(0.19, 1, 0.22, 1) !important;
    }
    
    /* Harmonic Stagger Cadence on Mobile (180ms between elements for progressive discovery) */
    [data-stagger] > * {
        transform: translateY(28px) !important;
        opacity: 0 !important;
        transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1),
                    transform 1.35s cubic-bezier(0.19, 1, 0.22, 1),
                    background-color var(--transition-fast),
                    border-color var(--transition-fast) !important;
        transition-delay: calc(var(--stagger-idx, 0) * 180ms) !important;
    }
    
    /* Active Revealed State: Natural, Alive, Transformed */
    .scroll-reveal.visible,
    .scroll-reveal.is-revealed,
    [data-reveal].is-revealed,
    [data-stagger].is-revealed > * {
        transform: translate(0, 0) scale(1) !important;
        opacity: 1 !important;
    }

    /* Photographic Images Progressive Evolution */
    .about-img-main,
    .editorial-img-frame,
    .why-img,
    .masonry-item img {
        transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 1.25s ease;
    }

    /* Disable Fixed Background Parallax on Mobile (causes heavy jitter on mobile browsers) */
    .banner-separator-section {
        background-attachment: scroll !important;
        background-position: center center !important;
        min-height: 280px;
        height: auto;
        padding: 5.5rem 0;
    }
    
    .banner-separator-content h2 {
        font-size: 2.1rem;
    }
    
    .banner-separator-content p {
        font-size: 1.1rem;
    }
    
    .parallax-layer {
        transform: none !important;
    }

    /* Section Padding Adjustments */
    .section-padding {
        padding: 4.5rem 0;
    }
    
    .grid-2, .grid-2-half-screen {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
    
    /* Mobile Header & Snappy Overlay */
    .nav-menu, .header-cta {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
    }
    
    .mobile-menu-overlay {
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        opacity: 0;
        pointer-events: none;
    }
    
    .mobile-menu-overlay.open {
        opacity: 1;
        pointer-events: auto;
    }
    
    .mobile-nav-menu ul {
        gap: 1.5rem;
    }
    
    .mobile-nav-menu a {
        font-size: 1.35rem;
        padding: 0.5rem 1rem;
        display: inline-block;
    }
    
    /* Hero Adjustments */
    .hero-section {
        min-height: 540px;
        height: 80vh;
    }
    
    .hero-title-heavy {
        font-size: 2.6rem;
        line-height: 1.1;
    }
    
    .hero-lead {
        font-size: 1.15rem;
        margin-bottom: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.85rem;
    }
    
    .btn {
        width: 100%;
        min-height: 48px;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        -webkit-tap-highlight-color: transparent;
    }

    .btn:active {
        transform: scale(0.97) !important;
    }
    
    /* Trust Bar Grid */
    .trust-bar {
        padding: 2.25rem 0;
    }
    
    .trust-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem 1.25rem;
    }
    
    .trust-item {
        gap: 0.85rem;
    }
    
    .trust-icon {
        width: 26px;
        height: 26px;
    }
    
    .trust-item h3 {
        font-size: 1rem;
    }
    
    .trust-item p {
        font-size: 0.8rem;
    }
    
    /* Services & Editorial Cards Touch Feedback */
    .services-editorial-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .editorial-content {
        padding: 1.75rem 1.5rem;
    }
    
    .editorial-card:active {
        transform: scale(0.98);
    }
    
    .fleet-details {
        margin-top: 4rem;
        padding: 2rem 1.25rem;
    }
    
    .values-flex {
        justify-content: flex-start;
    }

    .value-tag {
        font-size: 0.8rem;
        padding: 0.45rem 0.85rem;
    }
    
    .value-tag:active {
        transform: scale(0.95);
        background-color: var(--color-brand);
        color: var(--color-text-white);
    }
    
    /* Bento Process Grid */
    .process-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .process-card {
        padding: 1.75rem 1.25rem;
    }

    .process-card:active {
        transform: scale(0.97);
    }
    
    .process-num {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    /* Mobile Touch-Friendly Masonry Gallery (Always Visible Captions) */
    .masonry-gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .item-wide {
        grid-column: span 1;
        aspect-ratio: 16/10;
    }

    .masonry-item {
        aspect-ratio: 16/10;
    }
    
    .masonry-overlay {
        opacity: 1 !important;
        background: linear-gradient(to top, rgba(30, 60, 68, 0.88) 0%, rgba(30, 60, 68, 0.1) 60%, transparent 100%) !important;
        padding: 1.25rem;
    }
    
    .masonry-overlay span {
        font-size: 1rem;
        transform: translateY(0) !important;
    }
    
    /* Join Section */
    .section-title-join {
        font-size: 2.4rem;
    }
    
    .join-content-col {
        padding: 3.5rem 1.5rem;
    }

    .join-options-vertical {
        gap: 2rem;
    }
    
    /* Form & Input Optimizations (Prevent iOS Safari Auto-Zoom) */
    input, select, textarea {
        font-size: 16px !important; /* 16px prevents iOS Safari auto zoom on focus */
        min-height: 48px;
        padding: 0.75rem 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form {
        padding: 2rem 1.25rem;
    }

    .section-title-cta {
        font-size: 2rem;
    }
    
    .inline-contact-details {
        flex-direction: column;
        gap: 1.75rem;
        margin-top: 3rem;
        padding-top: 2.5rem;
    }

    /* Floating Social Buttons for Mobile - Safe Area Inset */
    .floating-social-buttons {
        bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
        right: 1rem;
        gap: 0.65rem;
    }

    .social-btn {
        width: 44px;
        height: 44px;
    }

    .social-btn svg {
        width: 19px;
        height: 19px;
    }

    /* Modal Mobile Adaptations */
    .modal-overlay {
        padding: 0.75rem;
        align-items: flex-end;
    }

    @media (min-height: 700px) {
        .modal-overlay {
            align-items: center;
        }
    }

    .modal-card {
        padding: 2.25rem 1.25rem 1.75rem;
        border-radius: 20px;
        max-height: 92vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        margin: auto;
    }

    .modal-card h3 {
        font-size: 1.35rem;
        padding-right: 2.5rem;
        line-height: 1.3;
    }

    .modal-close-btn {
        top: 0.85rem;
        right: 0.85rem;
        width: 36px;
        height: 36px;
        font-size: 1.4rem;
    }

    .modal-form .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .modal-form input,
    .modal-form select,
    .modal-form textarea {
        font-size: 16px !important; /* Prevents auto-zoom on iOS Safari */
    }

    .modal-form-section-title {
        font-size: 0.8rem;
        margin-top: 1rem;
        margin-bottom: 0.65rem;
    }
}

@media (max-width: 480px) {
    .hero-title-heavy {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2.1rem;
    }

    .trust-bar-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .process-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .hero-title-heavy {
        font-size: 1.95rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .container {
        padding: 0 1.25rem;
    }
}

