/**
 * LEB - Logistica Express La Bufa
 * Design System: Minimalista Corporativo Claro
 * Typography: Plus Jakarta Sans
 */

/* ==========================================================================
   1. CSS Custom Properties / Design Tokens
   ========================================================================== */
:root {
    --leb-font: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --leb-font-display: 'Outfit', 'Syne', sans-serif;

    /* Primary Brand Palette (Vino Tinto / Crimson) */
    --leb-primary: #7A1212;
    --leb-primary-hover: #5F0C0C;
    --leb-primary-light: rgba(122, 18, 18, 0.08);
    --leb-primary-border: rgba(122, 18, 18, 0.2);
    --leb-primary-glow: rgba(122, 18, 18, 0.25);
    --leb-primary-gradient: linear-gradient(135deg, #7A1212 0%, #991B1B 100%);

    /* Neutral & Background Canvas */
    --leb-bg-body: #FAFBFC;
    --leb-bg-card: #FFFFFF;
    --leb-bg-alt: #F8FAFC;
    --leb-bg-subtle: #F1F5F9;

    /* Typography Colors */
    --leb-text-main: #0F172A;
    --leb-text-secondary: #475569;
    --leb-text-muted: #64748B;
    --leb-text-light: #94A3B8;

    /* Dark Surface for Footer (Vino Tinto Profundo / BorgoÃ±a Noche) */
    --leb-dark-surface: #240404;
    --leb-dark-gradient: linear-gradient(180deg, #2A0505 0%, #1A0202 100%);
    --leb-dark-border: rgba(255, 255, 255, 0.1);

    /* Borders & Dividers */
    --leb-border: #E2E8F0;
    --leb-border-light: #F1F5F9;

    /* Radii */
    --leb-radius-sm: 8px;
    --leb-radius-md: 14px;
    --leb-radius-lg: 20px;
    --leb-radius-xl: 28px;
    --leb-radius-pill: 9999px;

    /* Elevation Shadows */
    --leb-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --leb-shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.04);
    --leb-shadow-md: 0 10px 25px -4px rgba(15, 23, 42, 0.06);
    --leb-shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
    --leb-shadow-brand: 0 10px 25px -5px rgba(122, 18, 18, 0.35);

    /* Transitions */
    --leb-transition-fast: 0.15s ease;
    --leb-transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --leb-transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. Base & Typography Resets
   ========================================================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--leb-font);
    background-color: var(--leb-bg-body);
    color: var(--leb-text-main);
    line-height: 1.6;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
    font-family: var(--leb-font);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--leb-text-main);
}

p {
    color: var(--leb-text-secondary);
}

/* Custom Selection */
::selection {
    background-color: var(--leb-primary);
    color: #ffffff;
}

/* ==========================================================================
   3. Minimalist Section Headers & Badges
   ========================================================================== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: var(--leb-radius-pill);
    background-color: var(--leb-primary-light);
    color: var(--leb-primary);
    border: 1px solid var(--leb-primary-border);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--leb-text-main);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--leb-text-muted);
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

/* ==========================================================================
   4. Topbar
   ========================================================================== */
.leb-topbar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--leb-border);
    font-size: 0.85rem;
    color: var(--leb-text-secondary);
}

.leb-topbar .contact-item {
    display: inline-flex;
    align-items: center;
    color: var(--leb-text-secondary);
    transition: color var(--leb-transition-fast);
}

.leb-topbar .contact-item:hover {
    color: var(--leb-primary);
}

.leb-topbar .social-link {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--leb-radius-pill);
    background: #1877f2;
    color: #ffffff;
    transition: transform var(--leb-transition-fast), box-shadow var(--leb-transition-fast);
}

.leb-topbar .social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(24, 119, 242, 0.3);
}

/* ==========================================================================
   5. Sticky Frosted-Glass Navbar
   ========================================================================== */
.leb-navbar {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: var(--leb-shadow-xs);
    transition: all var(--leb-transition);
    height: 80px;
}

.leb-navbar .navbar-brand img {
    transition: transform var(--leb-transition);
    max-height: 52px;
}

.leb-navbar .navbar-brand:hover img {
    transform: scale(1.03);
}

.leb-navbar .nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--leb-text-main) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--leb-radius-pill);
    position: relative;
    transition: all var(--leb-transition-fast);
}

.leb-navbar .nav-link:hover {
    color: var(--leb-primary) !important;
    background-color: var(--leb-primary-light);
}

.leb-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--leb-primary);
    border-radius: 2px;
    transition: transform var(--leb-transition);
}

.leb-navbar .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.leb-nav-cta {
    background: var(--leb-primary-gradient) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    padding: 0.65rem 1.4rem !important;
    border-radius: var(--leb-radius-pill) !important;
    box-shadow: var(--leb-shadow-brand) !important;
    border: none !important;
    transition: all var(--leb-transition) !important;
}

.leb-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px -4px rgba(122, 18, 18, 0.45) !important;
    color: #ffffff !important;
}

.navbar-toggler {
    border: 1px solid var(--leb-border);
    border-radius: var(--leb-radius-sm);
    padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px var(--leb-primary-glow);
}

/* Responsive Mobile Dropdown Menu */
@media (max-width: 991.98px) {
    .leb-navbar {
        height: auto !important;
        min-height: 70px;
        padding-top: 0.6rem !important;
        padding-bottom: 0.6rem !important;
    }

    .leb-navbar.scrolled {
        height: auto !important;
        min-height: 64px;
    }

    .leb-navbar .navbar-collapse {
        background: #ffffff !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: var(--leb-radius-lg);
        border: 1px solid var(--leb-border);
        box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.22);
        margin-top: 0.85rem;
        padding: 1.25rem 1rem !important;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .leb-navbar .navbar-nav {
        gap: 0.4rem !important;
        margin-bottom: 0.75rem !important;
    }

    .leb-navbar .nav-item {
        width: 100%;
    }

    .leb-navbar .nav-link {
        padding: 0.8rem 1rem !important;
        border-radius: var(--leb-radius-md) !important;
        color: var(--leb-text-main) !important;
        font-size: 1.05rem !important;
        font-weight: 600 !important;
        display: block !important;
        border: 1px solid transparent;
        transition: all 0.2s ease;
    }

    .leb-navbar .nav-link:hover,
    .leb-navbar .nav-link.active {
        background-color: var(--leb-primary-light) !important;
        color: var(--leb-primary) !important;
        border-color: var(--leb-primary-border);
        padding-left: 1.25rem !important;
    }

    .leb-navbar .nav-link::after {
        display: none !important;
    }

    .leb-navbar .leb-nav-cta {
        width: 100% !important;
        justify-content: center !important;
        padding: 0.85rem 1.5rem !important;
        font-size: 1rem !important;
        border-radius: var(--leb-radius-md) !important;
        display: flex !important;
    }

    .navbar-toggler {
        border: 1.5px solid var(--leb-border) !important;
        border-radius: 10px !important;
        padding: 0.45rem 0.65rem !important;
        background: #ffffff !important;
    }
}

/* ==========================================================================
   6. Hero Carousel Minimalista
   ========================================================================== */
.carousel-item {
    position: relative;
}

.carousel-item img {
    object-fit: cover;
    filter: brightness(0.92);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(25, 3, 3, 0.38) 0%, rgba(15, 2, 2, 0.82) 100%);
    display: flex;
    align-items: center;
    z-index: 2;
    pointer-events: none;
}

.hero-overlay .container {
    pointer-events: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1.25rem;
    border-radius: var(--leb-radius-pill);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--leb-font-display);
    font-size: clamp(2.85rem, 6.2vw, 5.35rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.65), 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-title .title-accent {
    color: #ffffff;
    position: relative;
    display: inline-block;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.85);
}

.hero-title .title-accent::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #DC2626 0%, #F59E0B 100%);
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(220, 38, 38, 0.6);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    max-width: 780px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-btn-primary {
    background: var(--leb-primary-gradient);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.9rem 2.2rem;
    border-radius: var(--leb-radius-pill);
    border: none;
    box-shadow: 0 10px 25px rgba(122, 18, 18, 0.4);
    transition: all var(--leb-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.hero-btn-primary:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(122, 18, 18, 0.55);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.9rem 2.2rem;
    border-radius: var(--leb-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all var(--leb-transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Carousel Indicators Minimalistas */
.carousel-indicators {
    z-index: 15;
}

.carousel-indicators [data-bs-target] {
    width: 32px;
    height: 4px;
    border-radius: 4px;
    border: none;
    background-color: rgba(255, 255, 255, 0.4);
    transition: all var(--leb-transition);
    margin: 0 4px;
    cursor: pointer;
}

.carousel-indicators .active {
    width: 50px;
    background-color: #ffffff;
}

.carousel-control-prev,
.carousel-control-next {
    width: 55px;
    height: 55px;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    border-radius: var(--leb-radius-pill);
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: all var(--leb-transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 15;
    cursor: pointer;
}

.carousel-control-prev {
    left: 25px;
}

.carousel-control-next {
    right: 25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(122, 18, 18, 0.85);
    opacity: 1;
}

/* ==========================================================================
   7. Bento Grid Feature Cards
   ========================================================================== */
.leb-feature-card {
    background: var(--leb-bg-card);
    border: 1px solid var(--leb-border);
    border-radius: var(--leb-radius-lg);
    padding: 2.5rem 1.75rem;
    text-align: center;
    box-shadow: var(--leb-shadow-xs);
    transition: all var(--leb-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.leb-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--leb-shadow-lg);
    border-color: var(--leb-primary-border);
}

.feature-icon-box {
    width: 72px;
    height: 72px;
    border-radius: var(--leb-radius-md);
    background-color: var(--leb-primary-light);
    color: var(--leb-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin-bottom: 1.5rem;
    transition: all var(--leb-transition);
}

.leb-feature-card:hover .feature-icon-box {
    background: var(--leb-primary-gradient);
    color: #ffffff;
    transform: scale(1.08) rotate(-4deg);
    box-shadow: var(--leb-shadow-brand);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--leb-text-main);
    margin-bottom: 0.6rem;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--leb-text-muted);
    margin-bottom: 0;
}

/* ==========================================================================
   8. Acerca De (About) & Cobertura
   ========================================================================== */
.about-section {
    background-color: #ffffff;
    position: relative;
}

.map-container {
    border-radius: var(--leb-radius-lg);
    overflow: hidden;
    border: 1px solid var(--leb-border);
    box-shadow: var(--leb-shadow-md);
    background-color: #ffffff;
    transition: transform var(--leb-transition);
    isolation: isolate;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.map-container:hover {
    transform: translateY(-3px);
}

.about-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.about-check-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: var(--leb-radius-pill);
    background: var(--leb-primary-light);
    color: var(--leb-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-top: 0.2rem;
}

/* ==========================================================================
   9. Â¿Por QuÃ© Nosotros? (Why Us)
   ========================================================================== */
.why-us-section {
    background-color: var(--leb-bg-alt);
    border-top: 1px solid var(--leb-border);
    border-bottom: 1px solid var(--leb-border);
}

.why-card {
    background: #ffffff;
    border: 1px solid var(--leb-border);
    border-radius: var(--leb-radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--leb-shadow-xs);
    transition: all var(--leb-transition);
}

.why-card:hover {
    transform: translateX(6px);
    border-color: var(--leb-primary-border);
    box-shadow: var(--leb-shadow-sm);
}

.why-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: var(--leb-radius-sm);
    background: var(--leb-primary-light);
    color: var(--leb-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.why-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--leb-text-main);
    margin: 0;
}

/* ==========================================================================
   10. Capacidad Operativa & MÃ©tricas de Flota (Team/Stats)
   ========================================================================== */
.stats-section {
    background-color: #ffffff;
}

.stat-card {
    background: #ffffff;
    border: 1px solid var(--leb-border);
    border-radius: var(--leb-radius-lg);
    padding: 2.25rem 1.75rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--leb-shadow-xs);
    transition: all var(--leb-transition);
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--leb-shadow-lg);
    border-color: var(--leb-primary-border);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--leb-primary-gradient);
    opacity: 0;
    transition: opacity var(--leb-transition);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    font-size: 2.25rem;
    color: var(--leb-primary);
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform var(--leb-transition);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
}

.stat-number {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--leb-text-main);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--leb-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0;
}

/* ==========================================================================
   11. Cotizador Minimalista (Quote Form)
   ========================================================================== */
.quote-section {
    background-color: var(--leb-bg-alt);
    border-top: 1px solid var(--leb-border);
    border-bottom: 1px solid var(--leb-border);
}

.quote-card {
    background: #ffffff;
    border: 1px solid var(--leb-border);
    border-radius: var(--leb-radius-xl);
    padding: clamp(2rem, 4vw, 3.25rem);
    box-shadow: var(--leb-shadow-lg);
}

.quote-form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--leb-text-main);
    margin-bottom: 0.4rem;
    display: block;
}

.quote-input {
    background-color: #F8FAFC !important;
    border: 1.5px solid var(--leb-border) !important;
    border-radius: var(--leb-radius-md) !important;
    padding: 0.75rem 1.15rem !important;
    font-size: 0.95rem !important;
    color: var(--leb-text-main) !important;
    font-family: var(--leb-font) !important;
    transition: all var(--leb-transition-fast) !important;
}

.quote-input:focus {
    background-color: #ffffff !important;
    border-color: var(--leb-primary) !important;
    box-shadow: 0 0 0 4px var(--leb-primary-glow) !important;
    outline: none !important;
}

.quote-btn-submit {
    background: var(--leb-primary-gradient) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    padding: 1rem 2rem !important;
    border-radius: var(--leb-radius-md) !important;
    border: none !important;
    box-shadow: var(--leb-shadow-brand) !important;
    transition: all var(--leb-transition) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.quote-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -4px rgba(122, 18, 18, 0.45) !important;
    color: #ffffff !important;
}

.recapv3-clean {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: #F8FAFC;
    border: 1px solid var(--leb-border);
    border-radius: var(--leb-radius-pill);
    font-size: 0.78rem;
    color: var(--leb-text-muted);
}

.recapv3-clean a {
    color: var(--leb-primary);
    text-decoration: none;
    font-weight: 600;
}

.recapv3-clean a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   12. Clientes (Client Showcase)
   ========================================================================== */
.client-section {
    background-color: #ffffff;
}

.client-logo-card {
    background: #ffffff;
    border: 1px solid var(--leb-border);
    border-radius: var(--leb-radius-md);
    padding: 1.5rem 1rem;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--leb-shadow-xs);
    transition: all var(--leb-transition);
}

.client-logo-card:hover {
    transform: translateY(-4px);
    border-color: var(--leb-primary-border);
    box-shadow: var(--leb-shadow-md);
}

.client-logo-card img {
    max-height: 52px;
    max-width: 85%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.55;
    transition: all var(--leb-transition);
}

.client-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* ==========================================================================
   13. Footer Minimalista - Vino Tinto Profundo / BorgoÃ±a Noche
   ========================================================================== */
.leb-footer {
    background: var(--leb-dark-gradient, #240404);
    color: rgba(255, 255, 255, 0.75);
    border-top: 1px solid var(--leb-dark-border);
}

.footer-heading {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.footer-link {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color var(--leb-transition-fast);
    display: inline-flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.6;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: var(--leb-radius-pill);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--leb-transition);
}

.footer-icon-circle:hover {
    background: #9E1A1A;
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

.footer-map-frame {
    border-radius: var(--leb-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-bar a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.footer-bottom-bar a:hover {
    color: #ffffff;
}

/* ==========================================================================
   14. Back to Top & Spinner Minimalista
   ========================================================================== */
.back-to-top {
    position: fixed;
    display: none;
    right: 25px;
    bottom: 95px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: var(--leb-radius-pill) !important;
    background: var(--leb-primary-gradient) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: var(--leb-shadow-brand) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--leb-transition) !important;
}

.back-to-top:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 25px rgba(122, 18, 18, 0.5) !important;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-out, visibility 0s linear 0.4s;
    z-index: 99999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
}

#spinner.show {
    transition: opacity 0.4s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#spinner .spinner-grow {
    color: var(--leb-primary) !important;
}

/* ==========================================================================
   15. Snackbar & Modals
   ========================================================================== */
#snackbar {
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    opacity: 0;
    transform: translateY(20px);
    overflow: hidden;
    max-width: calc(100vw - 24px);
    border-radius: var(--leb-radius-md);
    position: fixed;
    z-index: -9999;
    right: 20px;
    bottom: 20px;
    box-shadow: var(--leb-shadow-lg);
    background: #ffffff;
    border: 1px solid var(--leb-border);
}

#snackbar.active {
    opacity: 1;
    transform: translateY(0);
    z-index: 9999;
}

.grecaptcha-badge {
    visibility: hidden;
}

/* ==========================================================================
   16. Interactive Animations & Micro-Interactions
   ========================================================================== */

/* 16.1 Scroll Reading Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #7A1212 0%, #DC2626 50%, #F59E0B 100%);
    z-index: 100001;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.7);
}

/* 16.2 Navbar Scrolled Compression */
.leb-navbar.scrolled {
    height: 68px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.12) !important;
}

/* 16.3 Pulsing Radar Dot */
.pulse-dot {
    width: 9px;
    height: 9px;
    background-color: #10B981;
    border-radius: 50%;
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.5);
    animation: radarPulse 1.8s infinite cubic-bezier(0.24, 0, 0.38, 1);
}

@keyframes radarPulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2.6);
        opacity: 0;
    }
}

/* 16.4 Ken Burns Cinematic Zoom on Carousel */
.carousel-item img {
    transform: scale(1);
    transition: transform 7.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: transform;
}

.carousel-item.active img {
    transform: scale(1.08) !important;
}

/* 16.5 Shimmer Ray on CTA Buttons */
.hero-btn-primary,
.quote-btn-submit,
.leb-nav-cta {
    position: relative;
    overflow: hidden;
}

.hero-btn-primary::after,
.quote-btn-submit::after,
.leb-nav-cta::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -70%;
    width: 45%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: rotate(25deg);
    transition: all 0.85s ease;
    pointer-events: none;
}

.hero-btn-primary:hover::after,
.quote-btn-submit:hover::after,
.leb-nav-cta:hover::after {
    left: 135%;
}

/* 16.6 Interactive 3D Tilt Card */
.interactive-tilt {
    transform-style: preserve-3d;
    transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    will-change: transform;
}

/* 16.7 Interactive Radar Map Pins on Mexico Coverage Map */
.map-interactive-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

.radar-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 10;
    transition: transform 0.25s ease;
}

.radar-pin:hover,
.radar-pin:focus {
    transform: translate(-50%, -50%) scale(1.18);
    outline: none;
    z-index: 30;
}

.radar-pin-dot {
    width: 15px;
    height: 15px;
    background: #7A1212;
    border: 2.5px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(122, 18, 18, 0.9);
    position: relative;
    transition: all 0.25s ease;
}

.radar-pin:hover .radar-pin-dot,
.radar-pin:focus .radar-pin-dot {
    background: #DC2626;
    box-shadow: 0 0 20px rgba(220, 38, 38, 1);
}

.radar-pin-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(220, 38, 38, 0.85);
    animation: radarPinWave 2.2s infinite ease-out;
    pointer-events: none;
}

.radar-pin.pin-zac .radar-pin-ring {
    animation-delay: 0s;
}

@keyframes radarPinWave {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }

    100% {
        transform: scale(2.6);
        opacity: 0;
    }
}

.radar-tooltip {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 20;
}

.radar-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: rgba(15, 23, 42, 0.95) transparent transparent transparent;
}

.radar-pin:hover .radar-tooltip,
.radar-pin:focus .radar-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 16.8 Stat Cards Animated Progress Accent Bar */
.stat-card-bar {
    width: 0%;
    height: 3px;
    background: var(--leb-primary-gradient);
    border-radius: 3px;
    margin: 1.25rem auto 0;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card.animated-in .stat-card-bar,
.stat-card:hover .stat-card-bar {
    width: 65% !important;
}

/* 16.9 Active Ripple Effect on Buttons */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.ripple-wave {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.45);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==========================================================================
   17. WhatsApp Floating Widget & Mini-Form (Responsive Design System)
   ========================================================================== */

/* Mobile Backdrop Overlay */
.wa-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

/* Floating Container */
.wa-widget-container {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1050;
    font-family: var(--leb-font);
}

/* Attention Prompt Pill */
.wa-prompt-pill {
    position: absolute;
    right: 70px;
    bottom: 10px;
    background: #ffffff;
    color: var(--leb-text-main);
    padding: 9px 14px;
    border-radius: var(--leb-radius-pill);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.35);
    white-space: nowrap;
    font-size: 0.84rem;
    animation: waSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    user-select: none;
    transition: transform var(--leb-transition-fast), box-shadow var(--leb-transition-fast);
}

.wa-prompt-pill:hover {
    transform: translateX(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.wa-pulse-dot {
    width: 9px;
    height: 9px;
    background: #25D366;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: waPulseDot 1.8s infinite;
}

.wa-prompt-close {
    background: transparent;
    border: none;
    color: var(--leb-text-muted);
    font-size: 1.15rem;
    line-height: 1;
    padding: 0 0 0 6px;
    cursor: pointer;
}

.wa-prompt-close:hover {
    color: var(--leb-text-main);
}

/* Launcher Floating Button */
.wa-launcher-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    position: relative;
    transition: all var(--leb-transition);
    animation: waPulseRing 2.8s infinite;
}

.wa-launcher-btn:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 14px 32px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

.wa-launcher-btn.is-active {
    background: linear-gradient(135deg, #334155 0%, #0F172A 100%);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.35);
    animation: none;
    transform: rotate(90deg);
}

.wa-badge-notify {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #FF3B30;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

/* Chat Card Window (Desktop Base) */
.wa-card {
    position: absolute;
    right: 0;
    bottom: 74px;
    width: 385px;
    max-width: calc(100vw - 32px);
    max-height: min(620px, calc(100dvh - 100px), calc(100vh - 100px));
    display: none;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.24), 0 0 0 1px rgba(0, 0, 0, 0.06);
    z-index: 1052;
    transform-origin: bottom right;
}

.wa-card.open {
    display: flex !important;
    animation: waCardOpen 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Mobile drag indicator */
.wa-drag-bar-wrap {
    text-align: center;
    padding-top: 8px;
    padding-bottom: 2px;
    background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
    user-select: none;
}

.wa-drag-bar {
    display: inline-block;
    width: 36px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
}

/* Card Header */
.wa-card-header {
    background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
    color: #ffffff;
    padding: 15px 18px;
    flex-shrink: 0;
}

.wa-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: #ffffff;
    padding: 3px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.wa-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 11px;
    height: 11px;
    background: #25D366;
    border: 2px solid #ffffff;
    border-radius: 50%;
}

.wa-header-title {
    font-family: var(--leb-font-display);
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.wa-header-status {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
}

.wa-card-btn-close {
    background: rgba(255, 255, 255, 0.16);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: background var(--leb-transition-fast);
}

.wa-card-btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Card Body */
.wa-card-body {
    padding: 16px;
    background: #F8FAFC;
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.wa-card-body::-webkit-scrollbar {
    width: 5px;
}

.wa-card-body::-webkit-scrollbar-track {
    background: transparent;
}

.wa-card-body::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.15);
    border-radius: 10px;
}

.wa-card-body::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 23, 42, 0.28);
}

.wa-message-bubble {
    background: #ffffff;
    padding: 12px 14px;
    border-radius: 14px 14px 14px 4px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
    border: 1px solid #E2E8F0;
    margin-bottom: 14px;
    position: relative;
}

.wa-message-time {
    display: block;
    text-align: right;
    font-size: 0.68rem;
    color: var(--leb-text-light);
    margin-top: 4px;
}

/* Form Elements */
.wa-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--leb-text-secondary);
    margin-bottom: 4px;
    display: block;
}

.wa-input-group {
    position: relative;
}

.wa-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    color: var(--leb-text-light);
    pointer-events: none;
}

.wa-input {
    font-size: 0.88rem !important;
    padding: 9px 12px 9px 34px !important;
    border-radius: 10px !important;
    border: 1px solid var(--leb-border) !important;
    background: #ffffff !important;
    color: var(--leb-text-main) !important;
    transition: all var(--leb-transition-fast) !important;
}

.wa-input:focus {
    border-color: #25D366 !important;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2) !important;
    outline: none !important;
}

.wa-input.is-invalid {
    border-color: #EF4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.wa-btn-submit {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color: #ffffff !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 0.94rem !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35) !important;
    transition: all var(--leb-transition) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.wa-btn-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.5) !important;
    color: #ffffff !important;
}

.wa-btn-submit:active {
    transform: translateY(0) !important;
}

.wa-disclaimer {
    font-size: 0.72rem;
    display: block;
}

/* Animations */
@keyframes waPulseRing {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6), 0 8px 24px rgba(37, 211, 102, 0.45);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 8px 24px rgba(37, 211, 102, 0.45);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 8px 24px rgba(37, 211, 102, 0.45);
    }
}

@keyframes waPulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes waSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes waCardOpen {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes waCardMobileIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ==========================================================================
   Responsive Breakpoints for All Screen Sizes
   ========================================================================== */

/* Mobile Phones (Portrait & Narrow Screens <= 576px) */
@media (max-width: 576px) {
    .wa-widget-container {
        right: 16px;
        bottom: 16px;
    }

    .wa-launcher-btn {
        width: 52px;
        height: 52px;
        font-size: 26px;
    }

    .wa-prompt-pill {
        display: none !important;
    }

    .back-to-top {
        bottom: 82px !important;
        right: 16px !important;
    }

    /* Floating Card Modal adapted for mobile screen */
    .wa-card {
        position: fixed !important;
        right: 12px !important;
        left: 12px !important;
        bottom: 12px !important;
        width: auto !important;
        max-width: 460px !important;
        margin: 0 auto !important;
        max-height: calc(100dvh - 24px) !important;
        max-height: calc(100vh - 24px) !important;
        border-radius: 20px !important;
        z-index: 1055 !important;
        box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35) !important;
        transform-origin: bottom center !important;
    }

    .wa-card.open {
        animation: waCardMobileIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    }

    .wa-card-header {
        padding: 12px 16px !important;
    }

    .wa-avatar {
        width: 40px !important;
        height: 40px !important;
    }

    .wa-card-body {
        padding: 14px 16px 18px !important;
    }

    /* Prevent iOS auto-zoom by enforcing 16px font-size */
    .wa-input {
        font-size: 16px !important;
        padding: 10px 12px 10px 36px !important;
        border-radius: 12px !important;
    }

    .wa-btn-submit {
        padding: 13px 16px !important;
        font-size: 1rem !important;
        border-radius: 14px !important;
    }
}

/* Extra Small Phones (<= 380px, e.g. iPhone SE 1st gen, Galaxy Fold cover) */
@media (max-width: 380px) {
    .wa-card {
        right: 6px !important;
        left: 6px !important;
        bottom: 6px !important;
        max-height: calc(100dvh - 12px) !important;
        max-height: calc(100vh - 12px) !important;
        border-radius: 16px !important;
    }

    .wa-card-header {
        padding: 10px 12px !important;
    }

    .wa-card-body {
        padding: 10px 12px 14px !important;
    }

    .wa-header-title {
        font-size: 0.9rem !important;
    }

    .wa-header-status {
        font-size: 0.7rem !important;
    }
}

/* Landscape Mode on Phones / Small Height Devices (Height <= 540px) */
@media (max-height: 540px) {
    .wa-card {
        position: fixed !important;
        top: 8px !important;
        bottom: 8px !important;
        right: 12px !important;
        left: 12px !important;
        width: auto !important;
        max-width: 520px !important;
        margin: 0 auto !important;
        max-height: calc(100dvh - 16px) !important;
        max-height: calc(100vh - 16px) !important;
        border-radius: 14px !important;
        z-index: 1055 !important;
    }

    .wa-card-header {
        padding: 8px 14px !important;
    }

    .wa-drag-bar-wrap {
        display: none !important;
    }

    .wa-message-bubble {
        display: none !important;
        /* Hide speech bubble to give max space to inputs in landscape */
    }

    .wa-card-body {
        padding: 10px 14px !important;
    }

    .wa-label {
        margin-bottom: 2px !important;
    }

    .wa-input {
        padding: 6px 10px 6px 32px !important;
    }

    .wa-btn-submit {
        padding: 9px 14px !important;
    }
}

/* Medium Tablets & Foldables (577px - 991px) */
@media (min-width: 577px) and (max-width: 991px) {
    .wa-card {
        width: 370px;
        right: 0;
        bottom: 74px;
        max-height: min(600px, calc(100dvh - 95px));
    }
}