/* ==========================================================================
   COMPULOTO.COM — Strategic Design System 2026
   Vanguardia en UI, Glassmorphism & Eco-Visualización
   Metodología: Atomic Design + BEM / OOCSS Layered Architecture
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --------------------------------------------------------------------------
   1. SETTINGS & DESIGN TOKENS (Variables)
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette - Compuloto Brand Fan */
    --brand-red: #ef4444;
    --brand-red-glow: rgba(239, 68, 68, 0.3);
    --brand-yellow: #f59e0b;
    --brand-yellow-glow: rgba(245, 158, 11, 0.3);
    --brand-green: #10b981;
    --brand-green-glow: rgba(16, 185, 129, 0.3);
    --brand-cyan: #06b6d4;
    --brand-cyan-glow: rgba(6, 182, 212, 0.3);
    --brand-blue: #2563eb;
    --brand-blue-glow: rgba(37, 99, 235, 0.3);
    --brand-purple: #8b5cf6;
    --brand-purple-glow: rgba(139, 92, 246, 0.3);

    /* Surfaces & Eco-Visualisation (Dark Mode Foundation) */
    --bg-dark: #0b0e14;
    /* Deep OLED-friendly black-slate */
    --bg-surface: #101622;
    /* Secondary dark surface */
    --bg-card: rgba(22, 31, 51, 0.55);
    --bg-card-hover: rgba(28, 40, 66, 0.85);
    --bg-glass-light: rgba(255, 255, 255, 0.03);
    --bg-glass-medium: rgba(255, 255, 255, 0.06);

    /* Text & Typography Tokens */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Theme Intent Colors */
    --primary: var(--brand-blue);
    --primary-glow: var(--brand-blue-glow);
    --secondary: var(--brand-red);
    --secondary-glow: var(--brand-red-glow);
    --success: var(--brand-green);
    --warning: var(--brand-yellow);
    --info: var(--brand-cyan);
    --error: #f43f5e;

    /* Borders & Glassmorphism Outlines */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.22);
    --glass-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5);

    /* Motion & Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-in-out;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

/* OLED True Black Support via data-theme attribute */
[data-theme="oled"] {
    --bg-dark: #000000;
    --bg-surface: #07090e;
    --bg-card: rgba(15, 20, 30, 0.7);
}

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

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

body {
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(circle at 12% 15%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 88% 70%, rgba(239, 68, 68, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Ambient Glow Blobs System */
.blob-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.22;
    pointer-events: none;
    animation: floatBlob 12s ease-in-out infinite alternate;
}

.blob-blue {
    background: var(--brand-blue);
    width: 380px;
    height: 380px;
}

.blob-red {
    background: var(--brand-red);
    width: 340px;
    height: 340px;
}

.blob-green {
    background: var(--brand-green);
    width: 320px;
    height: 320px;
}

.blob-yellow {
    background: var(--brand-yellow);
    width: 300px;
    height: 300px;
}

.blob-cyan {
    background: var(--brand-cyan);
    width: 300px;
    height: 300px;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, -40px) scale(1.08);
    }
}

/* --------------------------------------------------------------------------
   3. ATOMS (Átomos: Tipografía, Botones, Badges, Inputs, Grids)
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

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

a:hover {
    color: var(--brand-cyan);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4.5rem 0;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Badges & Pill Tags */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.35);
    color: #60a5fa;
    padding: 0.45rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.badge-live {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    position: relative;
    padding-left: 1.6rem;
}

.badge-live::before {
    content: '';
    position: absolute;
    left: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--brand-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-red);
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
    0% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }

    50% {
        opacity: 0.4;
        transform: translateY(-50%) scale(1.3);
    }

    100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.85rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-blue), #1d4ed8);
    color: #ffffff !important;
    box-shadow: 0 4px 20px var(--brand-blue-glow), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-whatsapp {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366 !important;
    border: 1px solid rgba(37, 211, 102, 0.3);
    backdrop-filter: blur(10px);
}

.btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.22);
    border-color: rgba(37, 211, 102, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

/* Form Controls */
.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

.form-control,
select {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1.1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.form-control:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.85);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

select option {
    background: #0f172a;
    color: var(--text-primary);
}

.form-phone-group {
    display: flex;
    gap: 0.5rem;
}

.form-phone-prefix {
    width: 120px;
    flex-shrink: 0;
}

.invalid-feedback {
    display: none;
    color: var(--error);
    font-size: 0.82rem;
    margin-top: 0.35rem;
    font-weight: 500;
}

.is-invalid .form-control,
.is-invalid select {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.2);
}

.is-invalid .invalid-feedback {
    display: block;
}

/* --------------------------------------------------------------------------
   4. MOLECULES & COMPONENTS (Header, TopBar, Cards, Navigation, Footer)
   -------------------------------------------------------------------------- */

/* Top Info Bar — Light Header Style (Solicitud Usuario) */
.top-bar {
    background: #f8fafc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.55rem 0;
    font-size: 0.84rem;
    color: #475569;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-bar-info span,
.top-bar-info a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #475569;
    font-weight: 500;
}

.top-bar-info a:hover {
    color: #0f172a;
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.top-bar-links a {
    color: #64748b;
    font-weight: 500;
}

.top-bar-links a:hover {
    color: var(--primary);
}

/* Main Sticky Navigation — Light Header Style (Solicitud Usuario) */
header.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.09);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

header.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--brand-red), var(--brand-yellow), var(--brand-green), var(--brand-cyan), var(--brand-blue));
    z-index: 1001;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 74px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 44px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.2rem;
    align-items: center;
}

.nav-item a {
    color: #334155;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-item a:hover,
.nav-item.active a {
    color: #0f172a;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--brand-blue), var(--brand-cyan));
    border-radius: 2px;
    transition: var(--transition);
}

.nav-item a:hover::after,
.nav-item.active a::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    color: #0f172a;
    font-size: 1.4rem;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
}

/* Glassmorphism Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: var(--transition);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.card-betasport:hover {
    border-color: rgba(37, 99, 235, 0.45) !important;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.2) !important;
}

.card-animaloto:hover {
    border-color: rgba(239, 68, 68, 0.45) !important;
    box-shadow: 0 16px 40px rgba(239, 68, 68, 0.2) !important;
}

.card-loto:hover {
    border-color: rgba(245, 158, 11, 0.45) !important;
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.2) !important;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 0.85rem;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   HERO WITH SLIDER BACKGROUND (Solicitud Usuario: Slide detrás del texto)
   -------------------------------------------------------------------------- */
.hero-slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 1400px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 1.5rem;
    margin-bottom: 4rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #090d16;
}

.hero-slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
}

.hero-slider-bg .slider-container {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.hero-slider-bg .slider {
    width: 100% !important;
    height: 100% !important;
}

.hero-slider-bg .slide {
    width: 100% !important;
    height: 100% !important;
}

.hero-slider-bg .slide a {
    display: block;
    width: 100% !important;
    height: 100% !important;
    cursor: pointer;
    pointer-events: auto;
}

.hero-slider-bg .slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.hero-slider-bg .slide-caption {
    display: none !important;
}

.hero-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(180deg, rgba(11, 14, 20, 0.45) 0%, rgba(11, 14, 20, 0.35) 50%, rgba(11, 14, 20, 0.75) 100%);
    pointer-events: none;
    /* Allows click events to pass through to the slide links */
}

.hero-slider-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 5rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    pointer-events: none;
    /* Let clicks pass through empty areas to slides */
}

.hero-slider-content a,
.hero-slider-content button,
.hero-slider-content .hero-badge {
    pointer-events: auto;
    /* Re-enable pointer clicks for buttons, links, and badges */
}

.hero-slider-content .hero-title {
    font-size: 3.6rem;
    line-height: 1.12;
    margin-bottom: 1.35rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 40%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-slider-content .hero-subtitle {
    font-size: 1.22rem;
    color: #cbd5e1;
    max-width: 740px;
    margin: 0 auto 2.5rem auto;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* Standard Hero Section (for inner pages) */
.hero {
    text-align: center;
    padding: 5.5rem 0 3.5rem 0;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.12;
    margin-bottom: 1.35rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 35%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title span {
    background: linear-gradient(135deg, #60a5fa, var(--brand-cyan), #a7f3d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 2.5rem auto;
    font-weight: 400;
}

.cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.1rem;
}

/* Banners & Slider Carousel Component */
.slider-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    margin-bottom: 3.5rem;
    background: var(--bg-surface);
}

.slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    height: 100%;
}

.slide {
    min-width: 100%;
    position: relative;
    height: 100%;
}

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

.slider-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active,
.dot:hover {
    background: var(--brand-cyan);
    transform: scale(1.35);
    box-shadow: 0 0 10px var(--brand-cyan);
}

/* Live Results Dashboard Tabs System */
.tabs-header {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2.5rem;
    gap: 0.5rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.6rem;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.tab-btn:hover,
.tab-btn.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.03);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--brand-blue), var(--brand-cyan));
    border-radius: 3px 3px 0 0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Modernized Responsive Data Tables */
.table-responsive {
    overflow-x: auto;
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px);
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}

.modern-table th {
    background: rgba(255, 255, 255, 0.04);
    padding: 1.1rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    letter-spacing: 0.02em;
}

.modern-table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.modern-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}

.modern-table tbody tr.alt td {
    background: rgba(255, 255, 255, 0.015);
}

.modern-table tbody tr:last-child td {
    border-bottom: none;
}

/* Datepicker & Filters Bar */
.dashboard-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    background: var(--bg-card);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.date-input {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.65rem 1.2rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.date-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Section Headers */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem auto;
}

.section-title {
    font-size: 2.35rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Footer Section */
footer.main-footer {
    background: #05070c;
    border-top: 1px solid var(--border-color);
    padding: 4.5rem 0 2rem 0;
    margin-top: 5rem;
    position: relative;
}

footer.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-col h4 {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-primary);
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.85rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--text-primary);
    padding-left: 6px;
}

.social-links {
    display: flex;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--brand-blue);
    color: #ffffff;
    border-color: var(--brand-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px var(--brand-blue-glow);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   5. KEYFRAME ANIMATIONS & UTILITIES
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

.text-gradient {
    background: linear-gradient(135deg, var(--brand-cyan), var(--brand-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   6. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .hero-title,
    .hero-slider-content .hero-title {
        font-size: 2.7rem;
    }

    .top-bar-info span:nth-child(2) {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }

    .nav-menu.open {
        display: flex;
        animation: fadeIn 0.3s ease;
    }

    .hero-title,
    .hero-slider-content .hero-title {
        font-size: 2.15rem;
    }

    .hero-subtitle,
    .hero-slider-content .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-slider-wrapper {
        min-height: 440px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .dashboard-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .form-phone-group {
        flex-direction: column;
    }

    .form-phone-prefix {
        width: 100%;
    }
}