/* Wingu Media Productions - Unified Luxury Theme & Design System */

:root {
    --primary: #EE1D23;
    --primary-hover: #c9141b;
    --secondary: #0D1B2A;
    --bg-page: #0B0F19;
    --bg-surface: #0D1B2A;
    --bg-card: #131E2F;
    --bg-card-hover: #1A273D;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.05);
    --header-bg: rgba(13, 27, 42, 0.92);
}

html.light {
    --bg-page: #F8FAFC;
    --bg-surface: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F1F5F9;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --border-color: #E2E8F0;
    --border-subtle: #F1F5F9;
    --header-bg: rgba(255, 255, 255, 0.94);
}

/* Base Body Styles */
body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* ==========================================================
   UNIFIED LUXURY HIGH-CONTRAST LIGHT MODE ARCHITECTURE
   Addresses both public portal and admin workspace.
   Guarantees zero greyed-out or washed-out text/cards.
   ========================================================== */

/* 1. Canvas & Surface Containers */
html.light body {
    background-color: #F8FAFC !important;
    color: #0F172A !important;
}

html.light .bg-\[\#0B0F19\] {
    background-color: #F8FAFC !important;
}

html.light .bg-\[\#0D1B2A\] {
    background-color: #FFFFFF !important;
}

html.light .bg-\[\#0D1B2A\]\/90,
html.light .bg-\[\#0D1B2A\]\/80 {
    background-color: rgba(255, 255, 255, 0.96) !important;
}

html.light .bg-\[\#080D17\],
html.light .bg-\[\#080D1A\],
html.light .bg-\[\#080B12\] {
    background-color: #F8FAFC !important;
}

html.light .bg-\[\#131E2F\] {
    background-color: #FFFFFF !important;
}

html.light .bg-\[\#1E293B\] {
    background-color: #F1F5F9 !important;
}

html.light .bg-slate-950 {
    background-color: #FFFFFF !important;
}

/* Secondary & Sub-surfaces */
html.light .bg-slate-900,
html.light .bg-slate-900\/80,
html.light .bg-slate-900\/70,
html.light .bg-slate-900\/60,
html.light .bg-slate-900\/50,
html.light .bg-slate-900\/40,
html.light .bg-slate-850 {
    background-color: #F8FAFC !important;
    border-color: #E2E8F0 !important;
}

html.light .bg-slate-900:hover,
html.light .bg-slate-850:hover,
html.light .bg-slate-800:hover {
    background-color: #F1F5F9 !important;
}

/* 2. Global High-Contrast Typography in Light Mode */
html.light h1,
html.light h2,
html.light h3,
html.light h4,
html.light h5,
html.light h6 {
    color: #0F172A !important;
}

html.light p {
    color: #334155 !important;
}

html.light label {
    color: #1E293B !important;
    font-weight: 700 !important;
}

html.light strong,
html.light b {
    color: #0F172A !important;
}

/* Universal Slate & White Text Overrides on Light Canvas */
html.light .text-white {
    color: #0F172A !important;
}

html.light .text-slate-100 {
    color: #0F172A !important;
}

html.light .text-slate-200 {
    color: #1E293B !important;
}

html.light .text-slate-300 {
    color: #334155 !important;
}

html.light .text-slate-400 {
    color: #475569 !important;
}

html.light .text-slate-500 {
    color: #64748B !important;
}

html.light .font-display {
    color: #0F172A !important;
}

/* Subtle Borders */
html.light .border-slate-800,
html.light .border-slate-800\/80,
html.light .border-slate-800\/60,
html.light .border-slate-700,
html.light .border-slate-700\/80 {
    border-color: #E2E8F0 !important;
}

/* 3. Exceptions: Elements That MUST Retain Vibrant White or Transparent Text */
/* Text gradients (Hero headline red/amber gradient) */
html.light .text-transparent,
html.light .bg-clip-text {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

/* Solid Brand Red Buttons, Active Chips & Badges */
html.light .bg-\[\#EE1D23\],
html.light .bg-\[\#EE1D23\] *,
html.light .bg-\[\#c9141b\],
html.light .bg-\[\#c9141b\] *,
html.light a.bg-\[\#EE1D23\],
html.light a.bg-\[\#EE1D23\] *,
html.light button.bg-\[\#EE1D23\],
html.light button.bg-\[\#EE1D23\] *,
html.light .btn-primary,
html.light .btn-primary *,
html.light .badge-accent,
html.light .badge-solid,
html.light .pricing-card [class*="bg-[#EE1D23]"].rounded-full,
html.light .pricing-card [class*="bg-[#EE1D23]"].rounded-full * {
    color: #FFFFFF !important;
}

/* Emerald Action Buttons (WhatsApp, CSV Export) */
html.light .bg-emerald-600,
html.light .bg-emerald-600 *,
html.light .bg-emerald-700,
html.light .bg-emerald-700 *,
html.light a.bg-emerald-600,
html.light a.bg-emerald-600 *,
html.light a.bg-emerald-700,
html.light a.bg-emerald-700 *,
html.light a[href*="wa.me"],
html.light a[href*="wa.me"] * {
    color: #FFFFFF !important;
}

/* Dark Action Buttons on Light Mode */
html.light button.bg-slate-800,
html.light button.bg-slate-800 *,
html.light a.bg-slate-800,
html.light a.bg-slate-800 *,
html.light button.bg-slate-900,
html.light button.bg-slate-900 *,
html.light button[type="submit"].bg-slate-800,
html.light button[type="submit"].bg-slate-800 *,
html.light .pricing-card-btn:not(.is-popular),
html.light .pricing-card-btn:not(.is-popular) *,
html.light .pricing-card-btn.is-popular,
html.light .pricing-card-btn.is-popular * {
    color: #FFFFFF !important;
}

/* Active Category Filter Tabs */
html.light .pricing-tab-btn.active,
html.light .pricing-tab-btn.active *,
html.light .equip-tab-btn.active,
html.light .equip-tab-btn.active *,
html.light .service-chip.active,
html.light .service-chip.active * {
    background-color: #EE1D23 !important;
    border-color: #EE1D23 !important;
    color: #FFFFFF !important;
}

/* Badges and overlays directly over videos/images */
html.light [class*="aspect-video"] *,
html.light #videoEmbedWrapper *,
html.light [class*="from-black"] ~ *,
html.light [class*="from-black"] *,
html.light [class*="bg-black/"] *,
html.light [class*="bg-slate-950/80"] *,
html.light #rawClipLayer * {
    color: #FFFFFF !important;
}

/* Brand Red and Status Colors */
html.light .text-\[\#EE1D23\] {
    color: #EE1D23 !important;
}
html.light .text-emerald-400,
html.light .text-emerald-500,
html.light .text-emerald-600 {
    color: #059669 !important;
}
html.light .text-amber-400 {
    color: #D97706 !important;
}

/* 4. Public Navigation & Header in Light Mode */
html.light header {
    background-color: rgba(255, 255, 255, 0.96) !important;
    border-bottom: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05) !important;
}

html.light .desktop-nav-menu a {
    color: #1E293B !important;
    font-weight: 600 !important;
}

html.light .desktop-nav-menu a:hover {
    color: #EE1D23 !important;
    background-color: #FEF2F2 !important;
}

html.light .desktop-nav-menu a.text-\[\#EE1D23\] {
    color: #EE1D23 !important;
    font-weight: 800 !important;
}

html.light .desktop-nav-menu .group\/nav > a {
    color: #1E293B !important;
}

html.light .desktop-nav-menu .group\/nav > a:hover {
    color: #EE1D23 !important;
}

html.light .desktop-nav-menu .group\/nav .bg-\[\#0D1B2A\] {
    background-color: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
}

html.light .desktop-nav-menu .group\/nav a {
    color: #1E293B !important;
}

html.light .desktop-nav-menu .group\/nav a:hover {
    color: #EE1D23 !important;
    background-color: #FEF2F2 !important;
}

html.light #mobileDrawer {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid #E2E8F0 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
}

html.light #mobileDrawer a {
    color: #0F172A !important;
    border-color: #E2E8F0 !important;
}

html.light #mobileDrawer a:hover {
    color: #EE1D23 !important;
}

html.light #mobileDrawer i.text-slate-500 {
    color: #94A3B8 !important;
}

html.light #mobileMenuBtn {
    background-color: #F1F5F9 !important;
    border-color: #CBD5E1 !important;
    color: #0F172A !important;
}

html.light #adminSidebarToggleBtn {
    background-color: #F1F5F9 !important;
    border-color: #CBD5E1 !important;
    color: #0F172A !important;
}

html.light #adminSidebarToggleBtn:hover,
html.light #mobileMenuBtn:hover {
    background-color: #E2E8F0 !important;
    color: #EE1D23 !important;
}

html.light #mobileDrawerBackdrop,
html.light #adminSidebarBackdrop {
    background-color: rgba(15, 23, 42, 0.55) !important;
}

html.light #scrollToTopBtn,
html.light #adminScrollToTopBtn {
    background-color: #FFFFFF !important;
    border-color: #CBD5E1 !important;
    color: #0F172A !important;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15) !important;
}

html.light #scrollToTopBtn:hover,
html.light #adminScrollToTopBtn:hover {
    background-color: #EE1D23 !important;
    border-color: #EE1D23 !important;
    color: #FFFFFF !important;
}

/* 5. Admin Dashboard & Sidebar in Light Mode */
html.light aside {
    background-color: #FFFFFF !important;
    border-color: #E2E8F0 !important;
}

html.light aside .border-slate-800 {
    border-color: #E2E8F0 !important;
}

html.light aside nav .text-slate-500 {
    color: #475569 !important;
    font-weight: 800 !important;
}

html.light aside nav a:not(.bg-\[\#EE1D23\]) {
    color: #334155 !important;
    font-weight: 600 !important;
}

html.light aside nav a:not(.bg-\[\#EE1D23\]):hover {
    background-color: #F1F5F9 !important;
    color: #EE1D23 !important;
}

html.light aside nav a:not(.bg-\[\#EE1D23\]) i {
    color: #64748B !important;
}

html.light aside nav a:not(.bg-\[\#EE1D23\]):hover i {
    color: #EE1D23 !important;
}

html.light aside nav a.bg-\[\#EE1D23\] {
    background-color: #EE1D23 !important;
    color: #FFFFFF !important;
}

html.light aside nav a.bg-\[\#EE1D23\] * {
    color: #FFFFFF !important;
}

html.light aside .bg-slate-900\/40 {
    background-color: #F8FAFC !important;
    border-color: #E2E8F0 !important;
}

html.light aside .bg-slate-900\/40 .text-white {
    color: #0F172A !important;
}

html.light aside .bg-slate-900\/40 .text-slate-500 {
    color: #64748B !important;
}

html.light aside .bg-slate-900\/40 a[title="Log Out"] {
    color: #64748B !important;
}

html.light aside .bg-slate-900\/40 a[title="Log Out"]:hover {
    color: #EE1D23 !important;
}

html.light aside .w-8.h-8.bg-slate-800 {
    background-color: #0F172A !important;
    color: #FFFFFF !important;
    border-color: #0F172A !important;
}

/* Admin Topbar */
html.light main > div.h-16 {
    background-color: rgba(255, 255, 255, 0.96) !important;
    border-color: #E2E8F0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

html.light main > div.h-16 h1 {
    color: #0F172A !important;
    font-weight: 800 !important;
}

html.light main > div.h-16 button,
html.light main > div.h-16 a {
    background-color: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
}

html.light main > div.h-16 button:hover,
html.light main > div.h-16 a:hover {
    border-color: #EE1D23 !important;
    color: #EE1D23 !important;
    background-color: #FEF2F2 !important;
}

html.light main > div.h-16 button span,
html.light main > div.h-16 a span {
    color: #475569 !important;
    font-weight: 700 !important;
}

/* Admin Metric Stat Cards */
html.light main .grid .bg-\[\#0D1B2A\] {
    background-color: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05) !important;
}

html.light main .grid .bg-\[\#0D1B2A\] .text-3xl {
    color: #0F172A !important;
    font-weight: 900 !important;
}

html.light main .grid .bg-\[\#0D1B2A\] span.text-slate-400 {
    color: #475569 !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
}

html.light main .grid .bg-\[\#0D1B2A\] div.text-slate-400 {
    color: #64748B !important;
    font-weight: 500 !important;
}

html.light main .grid .bg-\[\#0D1B2A\] span.text-slate-300 {
    color: #334155 !important;
    font-weight: 600 !important;
}

/* Admin Recent Inquiries & Badges */
html.light main .lg\:col-span-2.bg-\[\#0D1B2A\] {
    background-color: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05) !important;
}

html.light main .lg\:col-span-2.bg-\[\#0D1B2A\] h3 {
    color: #0F172A !important;
    font-weight: 800 !important;
}

html.light main .bg-slate-900\/80 {
    background-color: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
}

html.light main .bg-slate-900\/80:hover {
    background-color: #F1F5F9 !important;
    border-color: #CBD5E1 !important;
}

html.light main .bg-slate-900\/80 .text-white {
    color: #0F172A !important;
    font-weight: 700 !important;
}

html.light main .bg-slate-900\/80 .text-slate-400 {
    color: #334155 !important;
}

html.light main .bg-slate-900\/80 .text-slate-500 {
    color: #64748B !important;
}

html.light main .bg-slate-900\/80 .text-slate-300 {
    color: #1E293B !important;
    font-weight: 600 !important;
}

html.light .bg-amber-950 {
    background-color: #FEF3C7 !important;
    color: #92400E !important;
    border-color: #FDE68A !important;
    font-weight: 700 !important;
}

html.light .bg-emerald-950 {
    background-color: #D1FAE5 !important;
    color: #065F46 !important;
    border-color: #A7F3D0 !important;
    font-weight: 700 !important;
}

html.light .bg-slate-800:not(button):not(a) {
    background-color: #F1F5F9 !important;
    color: #334155 !important;
    border-color: #CBD5E1 !important;
    font-weight: 700 !important;
}

html.light span.bg-\[\#EE1D23\]\/10 {
    background-color: #FFF1F2 !important;
    border-color: #FECDD3 !important;
    color: #EE1D23 !important;
}

/* Admin Quick Management Links */
html.light a.bg-slate-900 {
    background-color: #FFFFFF !important;
    color: #0F172A !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

html.light a.bg-slate-900:hover {
    background-color: #F8FAFC !important;
    border-color: #CBD5E1 !important;
    color: #EE1D23 !important;
}

html.light a.bg-slate-900 i[data-lucide="chevron-right"] {
    color: #94A3B8 !important;
}

/* Admin Export Button */
html.light a.bg-emerald-950\/60 {
    background-color: #ECFDF5 !important;
    border-color: #A7F3D0 !important;
    color: #065F46 !important;
}

html.light a.bg-emerald-950\/60:hover {
    background-color: #D1FAE5 !important;
}

/* Admin System Specs Box */
html.light main .rounded-3xl.p-6 {
    background-color: #FFFFFF !important;
    border-color: #E2E8F0 !important;
}

html.light main .rounded-3xl.p-6 p,
html.light main .rounded-3xl.p-6 div {
    color: #475569 !important;
}

/* 6. Form Inputs & Selects in Light Mode */
html.light select,
html.light input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
html.light textarea {
    background-color: #FFFFFF !important;
    border-color: #CBD5E1 !important;
    color: #0F172A !important;
}

html.light input:focus,
html.light select:focus,
html.light textarea:focus {
    border-color: #EE1D23 !important;
    box-shadow: 0 0 0 3px rgba(238, 29, 35, 0.1) !important;
}

html.light input::placeholder,
html.light textarea::placeholder {
    color: #94A3B8 !important;
    opacity: 1 !important;
}

html.light select option {
    background-color: #FFFFFF !important;
    color: #0F172A !important;
}

/* Header & Floating Theme Toggle in Light Mode */
html.light .theme-toggle-btn {
    background-color: #F1F5F9 !important;
    border-color: #CBD5E1 !important;
    color: #0F172A !important;
}

html.light .theme-toggle-btn span {
    color: #0F172A !important;
    font-weight: 700 !important;
}

html.light .theme-toggle-btn:hover {
    background-color: #E2E8F0 !important;
}


/* Footer in Light Mode (fixes black footer with unreadable text & white square icons) */
html.light footer,
html.light .bg-\[\#080B12\] {
    background-color: #F8FAFC !important;
    border-color: #E2E8F0 !important;
}
html.light footer .border-slate-900,
html.light footer .border-slate-800,
html.light footer .border-slate-800\/80 {
    border-color: #E2E8F0 !important;
}
html.light footer h5 {
    color: #EE1D23 !important;
}
html.light footer p,
html.light footer .text-slate-400 {
    color: #475569 !important;
}
html.light footer .text-slate-500 {
    color: #64748B !important;
}
html.light footer a {
    color: #334155 !important;
}
html.light footer a:hover {
    color: #EE1D23 !important;
}
/* Authentic Social Media Brand Icons */
.social-icon-btn {
    background-color: #131E2F;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94A3B8;
    transition: all 0.2s ease;
}
.social-icon-btn svg {
    fill: currentColor;
}
.social-icon-btn:hover[title="Facebook"] { color: #1877F2 !important; border-color: #1877F2 !important; }
.social-icon-btn:hover[title="Instagram"] { color: #E4405F !important; border-color: #E4405F !important; }
.social-icon-btn:hover[title="YouTube"] { color: #FF0000 !important; border-color: #FF0000 !important; }
.social-icon-btn:hover[title="LinkedIn"] { color: #0A66C2 !important; border-color: #0A66C2 !important; }
.social-icon-btn:hover[title="WhatsApp"] { color: #25D366 !important; border-color: #25D366 !important; }

html.light .social-icon-btn {
    background-color: #FFFFFF !important;
    border-color: #CBD5E1 !important;
    color: #334155 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
html.light .social-icon-btn svg {
    fill: currentColor !important;
}
html.light .social-icon-btn:hover[title="Facebook"] { color: #1877F2 !important; border-color: #1877F2 !important; background-color: #EFF6FF !important; }
html.light .social-icon-btn:hover[title="Instagram"] { color: #E4405F !important; border-color: #E4405F !important; background-color: #FDF2F8 !important; }
html.light .social-icon-btn:hover[title="YouTube"] { color: #FF0000 !important; border-color: #FF0000 !important; background-color: #FEF2F2 !important; }
html.light .social-icon-btn:hover[title="LinkedIn"] { color: #0A66C2 !important; border-color: #0A66C2 !important; background-color: #F0F9FF !important; }
html.light .social-icon-btn:hover[title="WhatsApp"] { color: #25D366 !important; border-color: #25D366 !important; background-color: #F0FDF4 !important; }

/* Keep Brand White on Active Red & Solid Buttons */
html.light .bg-\[\#EE1D23\],
html.light .bg-\[\#EE1D23\] *,
html.light .btn-primary,
html.light .badge-accent,
html.light .badge-solid {
    color: #FFFFFF !important;
}

/* Borders in Light Mode */
html.light .border-slate-800,
html.light .border-slate-800\/80,
html.light .border-slate-800\/60,
html.light .border-slate-700,
html.light .border-slate-700\/80 {
    border-color: #E2E8F0 !important;
}

html.light .shadow-2xl,
html.light .shadow-xl {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02) !important;
}

/* ==========================================================
   DUAL-THEME CINEMATIC HERO SECTION
   Matches exact light & dark presentation from design mockup.
   ========================================================== */

/* DARK MODE HERO (Default) */
html:not(.light) #hero-section,
html:not(.light) .hero-cinematic {
    background-color: #080D1A !important;
}

html:not(.light) #hero-section .hero-headline,
html:not(.light) .hero-cinematic h1 {
    color: #FFFFFF !important;
}

html:not(.light) #hero-section .hero-subcopy,
html:not(.light) .hero-cinematic p {
    color: #CBD5E1 !important;
}

html:not(.light) #hero-section .hero-badge {
    background-color: rgba(13, 27, 42, 0.9) !important;
    border: 1px solid rgba(238, 29, 35, 0.4) !important;
    color: #EE1D23 !important;
}

html:not(.light) #hero-section .hero-btn-secondary {
    background-color: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(51, 65, 85, 0.8) !important;
    color: #F8FAFC !important;
}
html:not(.light) #hero-section .hero-btn-secondary:hover {
    border-color: #94A3B8 !important;
    background-color: rgba(30, 41, 59, 0.9) !important;
}

html:not(.light) #hero-section .hero-btn-ratecard {
    background-color: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(51, 65, 85, 0.8) !important;
    color: #E2E8F0 !important;
}
html:not(.light) #hero-section .hero-btn-ratecard:hover {
    background-color: rgba(51, 65, 85, 0.9) !important;
}

html:not(.light) #hero-section .hero-divider-line {
    background-color: rgba(51, 65, 85, 0.8) !important;
}
html:not(.light) #hero-section .hero-divider-text {
    color: #94A3B8 !important;
}

/* LIGHT MODE HERO (Top Half of Mockup) */
html.light #hero-section,
html.light .hero-cinematic {
    background-color: #FFFFFF !important;
}

html.light #hero-section video {
    opacity: 0.08 !important;
    filter: grayscale(100%) brightness(1.2) !important;
}

html.light #hero-section .hero-vignette-1 {
    background: linear-gradient(to top, #FFFFFF, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.4)) !important;
}

html.light #hero-section .hero-vignette-2 {
    background: linear-gradient(to right, #FFFFFF, transparent, #FFFFFF) !important;
}

html.light #hero-section .hero-headline {
    color: #0D1B2A !important;
}

html.light #hero-section .hero-subcopy {
    color: #475569 !important;
}

html.light #hero-section .hero-badge {
    background-color: #FFF1F2 !important;
    border: 1px solid #FECDD3 !important;
    color: #EE1D23 !important;
    box-shadow: 0 4px 12px rgba(238, 29, 35, 0.08) !important;
}

html.light #hero-section .hero-btn-secondary,
html.light #hero-section .hero-btn-ratecard {
    background-color: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #0D1B2A !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

html.light #hero-section .hero-btn-secondary:hover,
html.light #hero-section .hero-btn-ratecard:hover {
    background-color: #F8FAFC !important;
    border-color: #94A3B8 !important;
    color: #EE1D23 !important;
}

html.light #hero-section .hero-divider-border {
    border-color: #E2E8F0 !important;
}

html.light #hero-section .hero-divider-line {
    background-color: #CBD5E1 !important;
}

html.light #hero-section .hero-divider-text {
    color: #475569 !important;
    font-weight: 800 !important;
}

/* ==========================================================
   AUTHENTIC LOGO THEME SWITCHING
   Zero generated SVGs. Pure client uploaded logo asset.
   ========================================================== */
html:not(.light) .wingu-logo-dark {
    display: block !important;
}
html:not(.light) .wingu-logo-light {
    display: none !important;
}

html.light .wingu-logo-dark {
    display: none !important;
}
html.light .wingu-logo-light {
    display: block !important;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.animate-fadeIn {
    animation: fadeIn 0.25s ease-out forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-page);
}

::-webkit-scrollbar-thumb {
    background: #1E293B;
    border-radius: 4px;
}

html.light ::-webkit-scrollbar-thumb {
    background: #CBD5E1;
}

::-webkit-scrollbar-thumb:hover {
    background: #EE1D23;
}

/* Color Grading Splitter handle styling */
#sliderHandle {
    touch-action: none;
    user-select: none;
}

/* Service Chip active styling */
.service-chip.active {
    background-color: #EE1D23 !important;
    border-color: #EE1D23 !important;
    color: #ffffff !important;
}

/* ==========================================================
   TOP ANNOUNCEMENT BAR DUAL-THEME CONTRAST
   ========================================================== */
#topAnnouncementBar,
.top-announcement-bar {
    background: #0D1B2A !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
}
#topAnnouncementBar .announcement-text,
.top-announcement-bar .announcement-text {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}
#topAnnouncementBar .announcement-links,
#topAnnouncementBar .announcement-links span,
#topAnnouncementBar .announcement-links a,
.top-announcement-bar .announcement-links,
.top-announcement-bar .announcement-links span,
.top-announcement-bar .announcement-links a {
    color: #E2E8F0 !important;
    font-weight: 600 !important;
}
#topAnnouncementBar .announcement-links a:hover,
.top-announcement-bar .announcement-links a:hover {
    color: #EE1D23 !important;
}

html.light #topAnnouncementBar,
html.light .top-announcement-bar {
    background: #F8FAFC !important;
    border-bottom: 1px solid #E2E8F0 !important;
}
html.light #topAnnouncementBar .announcement-text,
html.light .top-announcement-bar .announcement-text {
    color: #0F172A !important;
    font-weight: 700 !important;
}
html.light #topAnnouncementBar .announcement-links,
html.light #topAnnouncementBar .announcement-links span,
html.light #topAnnouncementBar .announcement-links a,
html.light .top-announcement-bar .announcement-links,
html.light .top-announcement-bar .announcement-links span,
html.light .top-announcement-bar .announcement-links a {
    color: #334155 !important;
    font-weight: 600 !important;
}
html.light #topAnnouncementBar .announcement-links a:hover,
html.light .top-announcement-bar .announcement-links a:hover {
    color: #EE1D23 !important;
}

/* ==========================================================
   FLOATING QUICK QUOTE CTA PILL DUAL-THEME
   ========================================================== */
.floating-quick-quote,
html:not(.light) .floating-quick-quote {
    background-color: #0D1B2A !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
}
.floating-quick-quote span.floating-btn-text,
.floating-quick-quote i,
html:not(.light) .floating-quick-quote span.floating-btn-text,
html:not(.light) .floating-quick-quote i {
    color: #FFFFFF !important;
    font-weight: 800 !important;
}
.floating-quick-quote:hover,
html:not(.light) .floating-quick-quote:hover {
    background-color: #EE1D23 !important;
    border-color: #EE1D23 !important;
    box-shadow: 0 12px 30px rgba(238, 29, 35, 0.4) !important;
}
.floating-quick-quote:hover span.floating-btn-text,
.floating-quick-quote:hover i,
html:not(.light) .floating-quick-quote:hover span.floating-btn-text,
html:not(.light) .floating-quick-quote:hover i {
    color: #FFFFFF !important;
}

html.light .floating-quick-quote {
    background-color: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12) !important;
}
html.light .floating-quick-quote span.floating-btn-text,
html.light .floating-quick-quote i {
    color: #0F172A !important;
    font-weight: 800 !important;
}
html.light .floating-quick-quote:hover {
    background-color: #EE1D23 !important;
    border-color: #EE1D23 !important;
    box-shadow: 0 12px 30px rgba(238, 29, 35, 0.3) !important;
}
html.light .floating-quick-quote:hover span.floating-btn-text,
html.light .floating-quick-quote:hover i {
    color: #FFFFFF !important;
}

/* ==========================================================
   HERO BRAND PARTNER MARQUEE SLIDER & PILLS
   ========================================================== */
.mask-gradient-x {
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

@keyframes heroMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-brand-track {
    width: max-content;
    animation: heroMarquee 32s linear infinite;
}

.hero-brand-track:hover {
    animation-play-state: paused;
}

/* Dark Mode Hero Brand Pill (Glass on Hero Backdrop) */
html:not(.light) #hero-section .hero-brand-pill,
html:not(.light) .hero-brand-pill {
    background-color: rgba(13, 27, 42, 0.88) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(12px) !important;
}
html:not(.light) #hero-section .hero-brand-pill span,
html:not(.light) .hero-brand-pill span {
    color: #FFFFFF !important;
    font-weight: 800 !important;
}
html:not(.light) #hero-section .hero-brand-pill:hover,
html:not(.light) .hero-brand-pill:hover {
    border-color: #EE1D23 !important;
    background-color: rgba(238, 29, 35, 0.14) !important;
    transform: translateY(-2px);
}
html:not(.light) #hero-section .hero-brand-pill:hover span,
html:not(.light) .hero-brand-pill:hover span {
    color: #EE1D23 !important;
}

/* Light Mode Hero Brand Pill (Clean White Pill on Light Backdrop) */
html.light #hero-section .hero-brand-pill,
html.light .hero-brand-pill {
    background-color: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
    backdrop-filter: none !important;
}
html.light #hero-section .hero-brand-pill span,
html.light .hero-brand-pill span {
    color: #0F172A !important;
    font-weight: 800 !important;
}
html.light #hero-section .hero-brand-pill img,
html.light .hero-brand-pill img {
    opacity: 1 !important;
    filter: none !important;
}
html.light #hero-section .hero-brand-pill:hover,
html.light .hero-brand-pill:hover {
    border-color: #EE1D23 !important;
    background-color: #FEF2F2 !important;
    box-shadow: 0 6px 20px rgba(238, 29, 35, 0.15) !important;
    transform: translateY(-2px);
}
html.light #hero-section .hero-brand-pill:hover span,
html.light .hero-brand-pill:hover span {
    color: #EE1D23 !important;
}

/* ==========================================================
   PRICING CATEGORY FILTER TABS
   ========================================================== */
.pricing-tab-btn {
    background-color: #131E2F !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #CBD5E1 !important;
    cursor: pointer;
    font-weight: 700 !important;
    transition: all 0.2s ease;
}
.pricing-tab-btn:hover {
    background-color: #1A273D !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}
.pricing-tab-btn.active {
    background-color: #EE1D23 !important;
    border-color: #EE1D23 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(238, 29, 35, 0.4) !important;
}

/* Light Mode Pricing Tabs: Clean contrast, dark readable text */
html.light .pricing-tab-btn {
    background-color: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
    color: #1E293B !important;
    font-weight: 700 !important;
}
html.light .pricing-tab-btn:hover {
    background-color: #E2E8F0 !important;
    color: #0F172A !important;
    border-color: #94A3B8 !important;
}
html.light .pricing-tab-btn.active {
    background-color: #EE1D23 !important;
    border-color: #EE1D23 !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 14px rgba(238, 29, 35, 0.4) !important;
}

/* Pricing Card Buttons (Book Tier) High-Contrast Fix */
.pricing-card-btn {
    transition: all 0.2s ease;
    background-color: #1E293B !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
}
.pricing-card-btn * {
    color: #FFFFFF !important;
}
.pricing-card-btn:hover {
    background-color: #EE1D23 !important;
    border-color: #EE1D23 !important;
    color: #FFFFFF !important;
}
.pricing-card-btn:hover * {
    color: #FFFFFF !important;
}
.pricing-card-btn.is-popular {
    background-color: #EE1D23 !important;
    border-color: #EE1D23 !important;
    color: #FFFFFF !important;
}
.pricing-card-btn.is-popular * {
    color: #FFFFFF !important;
}

/* Light Mode Pricing Card Buttons */
html.light .pricing-card-btn:not(.is-popular) {
    background-color: #0F172A !important;
    border: 1px solid #0F172A !important;
    color: #FFFFFF !important;
}
html.light .pricing-card-btn:not(.is-popular) * {
    color: #FFFFFF !important;
}
html.light .pricing-card-btn:not(.is-popular):hover {
    background-color: #EE1D23 !important;
    border-color: #EE1D23 !important;
    color: #FFFFFF !important;
}
html.light .pricing-card-btn:not(.is-popular):hover * {
    color: #FFFFFF !important;
}
html.light .pricing-card-btn.is-popular {
    background-color: #EE1D23 !important;
    border-color: #EE1D23 !important;
    color: #FFFFFF !important;
}
html.light .pricing-card-btn.is-popular * {
    color: #FFFFFF !important;
}

/* Pre-Footer CTA Banner Strip Dual-Theme */
html:not(.light) .cta-banner-strip,
html.dark .cta-banner-strip {
    background: linear-gradient(135deg, #0D1B2A 0%, #16263B 50%, #0D1B2A 100%) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
html:not(.light) .cta-banner-strip h2,
html.dark .cta-banner-strip h2 {
    color: #FFFFFF !important;
}
html:not(.light) .cta-banner-strip p,
html.dark .cta-banner-strip p {
    color: #CBD5E1 !important;
}

html.light .cta-banner-strip {
    background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%) !important;
    border-color: #E2E8F0 !important;
}
html.light .cta-banner-strip h2 {
    color: #0F172A !important;
}
html.light .cta-banner-strip p {
    color: #475569 !important;
}

/* Client Brands Grid (Section 9) Dual-Theme */
html:not(.light) .client-grid-card {
    background-color: #0D1B2A !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}
html:not(.light) .client-grid-card span {
    color: #CBD5E1 !important;
}
html:not(.light) .client-grid-card:hover {
    border-color: #EE1D23 !important;
}
html:not(.light) .client-grid-card:hover span {
    color: #FFFFFF !important;
}

html.light .client-grid-card {
    background-color: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
html.light .client-grid-card span {
    color: #1E293B !important;
    font-weight: 700 !important;
}
html.light .client-grid-card:hover {
    border-color: #EE1D23 !important;
    background-color: #FEF2F2 !important;
    box-shadow: 0 4px 14px rgba(238, 29, 35, 0.12) !important;
}
html.light .client-grid-card:hover span {
    color: #EE1D23 !important;
}

/* Admin Tables, Modals & Action Buttons Light Mode Contrast */
html.light .admin-table,
html.light table {
    border-color: #E2E8F0 !important;
}

html.light .admin-table thead,
html.light table thead {
    background-color: #F1F5F9 !important;
    border-bottom: 2px solid #CBD5E1 !important;
}

html.light .admin-table thead th,
html.light table thead th {
    color: #1E293B !important;
    font-weight: 800 !important;
}

html.light .admin-table tbody tr,
html.light table tbody tr {
    border-bottom: 1px solid #E2E8F0 !important;
}

html.light .admin-table tbody tr:hover,
html.light table tbody tr:hover {
    background-color: #F8FAFC !important;
}

html.light .admin-table tbody td,
html.light table tbody td {
    color: #1E293B !important;
}

html.light .admin-table tbody td .text-slate-400,
html.light table tbody td .text-slate-400 {
    color: #475569 !important;
}

html.light .admin-table tbody td .text-slate-500,
html.light table tbody td .text-slate-500 {
    color: #64748B !important;
}

/* Admin Modals */
html.light [id*="Modal"] > div > div,
html.light [id*="modal"] > div > div {
    background-color: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

html.light [id*="Modal"] h2,
html.light [id*="Modal"] h3,
html.light [id*="modal"] h2,
html.light [id*="modal"] h3 {
    color: #0F172A !important;
}

html.light a.bg-emerald-700,
html.light button.bg-emerald-700 {
    background-color: #059669 !important;
    color: #FFFFFF !important;
}
html.light a.bg-emerald-700 *,
html.light button.bg-emerald-700 * {
    color: #FFFFFF !important;
}
html.light a.bg-emerald-700:hover,
html.light button.bg-emerald-700:hover {
    background-color: #047857 !important;
}
html.light button[type="submit"].bg-slate-800 {
    background-color: #0F172A !important;
    color: #FFFFFF !important;
    border-color: #0F172A !important;
}
html.light button[type="submit"].bg-slate-800:hover {
    background-color: #EE1D23 !important;
    border-color: #EE1D23 !important;
}

/* ==========================================================
   BOOKING & INQUIRY FORM DUAL-THEME STYLING
   ========================================================== */
/* Dark Mode Select Elements */
#booking-section select,
#dedicatedBookingForm select,
.booking-form select {
    background-color: #0D1B2A !important;
    border: 1px solid #334155 !important;
    color: #FFFFFF !important;
}
#booking-section select option,
#dedicatedBookingForm select option,
.booking-form select option {
    background-color: #0D1B2A !important;
    color: #FFFFFF !important;
}

/* Light Mode Full Booking Section Styling */
html.light #booking-section,
html.light .booking-page-container {
    background-color: #F8FAFC !important;
}
html.light #booking-section > div > div,
html.light .booking-page-card {
    background-color: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05) !important;
}
html.light #booking-section h2,
html.light .booking-page-card h1 {
    color: #0F172A !important;
}
html.light #booking-section p,
html.light .booking-page-card p {
    color: #475569 !important;
}
html.light #booking-section label,
html.light .booking-page-card label {
    color: #334155 !important;
    font-weight: 700 !important;
}
html.light #booking-section input,
html.light #booking-section select,
html.light #booking-section textarea,
html.light .booking-page-card input,
html.light .booking-page-card select,
html.light .booking-page-card textarea {
    background-color: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
}
html.light #booking-section select option,
html.light .booking-page-card select option {
    background-color: #FFFFFF !important;
    color: #0F172A !important;
}
html.light #booking-section .bg-slate-900\/50,
html.light .booking-page-card .bg-slate-900\/50 {
    background-color: #F1F5F9 !important;
    border: 1px solid #CBD5E1 !important;
}

/* ==========================================================
   AUTHENTIC SOCIAL MEDIA BRAND ICONS
   ========================================================== */
.social-icon-btn {
    background-color: #131E2F !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #CBD5E1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}
.social-icon-btn svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
    display: block !important;
}
.social-icon-btn:hover[title="Facebook"] { color: #1877F2 !important; border-color: #1877F2 !important; background-color: rgba(24, 119, 242, 0.12) !important; }
.social-icon-btn:hover[title="Instagram"] { color: #E4405F !important; border-color: #E4405F !important; background-color: rgba(228, 64, 95, 0.12) !important; }
.social-icon-btn:hover[title="YouTube"] { color: #FF0000 !important; border-color: #FF0000 !important; background-color: rgba(255, 0, 0, 0.12) !important; }
.social-icon-btn:hover[title="LinkedIn"] { color: #0A66C2 !important; border-color: #0A66C2 !important; background-color: rgba(10, 102, 194, 0.12) !important; }
.social-icon-btn:hover[title="WhatsApp"] { color: #25D366 !important; border-color: #25D366 !important; background-color: rgba(37, 211, 102, 0.12) !important; }

html.light .social-icon-btn {
    background-color: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    color: #334155 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}
html.light .social-icon-btn svg {
    fill: currentColor !important;
    display: block !important;
}
html.light .social-icon-btn:hover[title="Facebook"] { color: #1877F2 !important; border-color: #1877F2 !important; background-color: #EFF6FF !important; }
html.light .social-icon-btn:hover[title="Instagram"] { color: #E4405F !important; border-color: #E4405F !important; background-color: #FDF2F8 !important; }
html.light .social-icon-btn:hover[title="YouTube"] { color: #FF0000 !important; border-color: #FF0000 !important; background-color: #FEF2F2 !important; }
html.light .social-icon-btn:hover[title="LinkedIn"] { color: #0A66C2 !important; border-color: #0A66C2 !important; background-color: #F0F9FF !important; }
html.light .social-icon-btn:hover[title="WhatsApp"] { color: #25D366 !important; border-color: #25D366 !important; background-color: #F0FDF4 !important; }

/* Google Reviews Card Aesthetics */
.google-star {
    color: #FBBC04;
}

/* ==========================================================
   LOGO SIZING GUARANTEE (Prevents blown up unstyled logos)
   ========================================================== */
.wingu-brand-logo {
    max-width: 220px !important;
    display: inline-flex !important;
    align-items: center !important;
}
.wingu-brand-logo img,
.wingu-logo-dark,
.wingu-logo-light {
    max-width: 200px !important;
    max-height: 52px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}
aside .wingu-brand-logo img,
aside .wingu-logo-dark,
aside .wingu-logo-light {
    max-width: 170px !important;
    max-height: 46px !important;
}

/* ==========================================================
   PRODUCTION ESSENTIAL LAYOUT & SIZING FALLBACKS
   Prevents unstyled stacking of brand logos and cards.
   ========================================================== */
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.hidden { display: none !important; }
.block { display: block !important; }
.inline-block { display: inline-block !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.justify-center { justify-content: center !important; }
.justify-between { justify-content: space-between !important; }
.shrink-0 { flex-shrink: 0 !important; }
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-wrap { flex-wrap: wrap !important; }

/* Grid layouts */
.grid { display: grid !important; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }

@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row !important; }
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (min-width: 768px) {
    .md\:flex-row { flex-direction: row !important; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .md\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
}

@media (min-width: 1024px) {
    .lg\:flex { display: flex !important; }
    .lg\:hidden { display: none !important; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

/* Brand Marquee & Logo Pill Constraints */
.hero-brand-track {
    display: flex !important;
    align-items: center !important;
    width: max-content !important;
    flex-direction: row !important;
    gap: 1.5rem !important;
    animation: heroMarquee 32s linear infinite !important;
}

.hero-brand-pill {
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    padding: 0.75rem 1.25rem !important;
    border-radius: 1rem !important;
    white-space: nowrap !important;
}

.hero-brand-pill img {
    height: 1.5rem !important;
    max-height: 24px !important;
    width: auto !important;
    max-width: 100px !important;
    object-fit: contain !important;
    display: block !important;
}

.client-grid-card img {
    max-height: 36px !important;
    width: auto !important;
    max-width: 100px !important;
    object-fit: contain !important;
}

/* ==========================================================
   RESPONSIVE NAVIGATION VISIBILITY
   Guaranteed display of desktop navigation menu on >= 1024px screens
   and clean mobile toggle below 1024px screens.
   ========================================================== */
@media (min-width: 1024px) {
    .desktop-nav-menu {
        display: flex !important;
    }
    .desktop-actions {
        display: flex !important;
    }
    .mobile-nav-toggle {
        display: none !important;
    }
}
@media (max-width: 1023px) {
    .desktop-nav-menu {
        display: none !important;
    }
    .desktop-actions {
        display: none !important;
    }
    .mobile-nav-toggle {
        display: flex !important;
    }
}

/* Services Dropdown in Navigation */
.group\/nav:hover .group-hover\/nav\:block {
    display: block !important;
}
html.light .group\/nav .bg-\[\#0D1B2A\] {
    background-color: #FFFFFF !important;
    border-color: #CBD5E1 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}
html.light .group\/nav a {
    color: #1E293B !important;
}
html.light .group\/nav a:hover {
    color: #EE1D23 !important;
    background-color: #FEF2F2 !important;
}

/* ==========================================================
   INPUT PLACEHOLDERS - HIGH CONTRAST & LEGIBILITY
   ========================================================== */
input::placeholder,
textarea::placeholder {
    color: #94A3B8 !important;
    opacity: 0.85 !important;
}
html.light input::placeholder,
html.light textarea::placeholder {
    color: #64748B !important;
    opacity: 0.85 !important;
}

/* ==========================================================
   ADMIN INQUIRIES & BOOKINGS TOOLBAR & TABLE CONTRAST
   ========================================================== */
html.light .inquiries-filter-bar {
    background-color: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
}
html.light .inquiries-filter-bar input[type="date"],
html.light .inquiries-filter-bar input[type="text"] {
    background-color: #F8FAFC !important;
    border: 1px solid #CBD5E1 !important;
    color: #0F172A !important;
}
html.light .inquiries-filter-bar button[type="submit"] {
    background-color: #0F172A !important;
    color: #FFFFFF !important;
    border: 1px solid #0F172A !important;
}
html.light .inquiries-filter-bar a[href*="export"] {
    background-color: #059669 !important;
    color: #FFFFFF !important;
}

/* ==========================================================
   STANDALONE CORE STRUCTURAL & BRAND STYLES (FAILSAFE)
   Guarantees perfect layout even before or without Tailwind JIT
   ========================================================== */
.wingu-brand-logo,
.wingu-brand-logo img,
img.wingu-logo-dark,
img.wingu-logo-light {
    max-width: 200px !important;
    max-height: 54px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
}

/* Hero Brand Track & Marquee Horizontal Flow */
.hero-brand-track {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1.25rem !important;
    white-space: nowrap !important;
}

.hero-brand-pill {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    width: auto !important;
    gap: 0.75rem !important;
}

.hero-brand-pill img {
    max-height: 28px !important;
    max-width: 90px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Client Grid Cards */
.client-grid-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.client-grid-card img {
    max-height: 36px !important;
    max-width: 100px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* ==========================================================
   ADMIN MOBILE RESPONSIVE OFFCANVAS SIDEBAR (AUTOHIDE)
   ========================================================== */
@media (max-width: 767px) {
    aside.admin-sidebar,
    aside.w-full.md\:w-64,
    aside.w-full.md\:w-72 {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 18rem !important;
        max-width: 85vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 50 !important;
        transform: translateX(-100%) !important;
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s ease !important;
        visibility: hidden !important;
        box-shadow: none !important;
    }
    aside.admin-sidebar.is-open,
    aside.w-full.md\:w-64.is-open,
    aside.w-full.md\:w-72.is-open {
        transform: translateX(0) !important;
        visibility: visible !important;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85) !important;
    }
}

/* Public Mobile Drawer CSS :target and .is-open Fallbacks */
#mobileDrawer.is-open {
    display: block !important;
}
#mobileDrawer:target {
    display: block !important;
}
#mobileDrawerBackdrop.is-open {
    display: block !important;
}

/* Floating Quick Quote Pill: strictly hidden on all mobile devices (< 768px) */
@media (max-width: 767px) {
    .floating-quick-quote,
    a.floating-quick-quote {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
        opacity: 0 !important;
    }
}

/* ==========================================================
   PRODUCTION BOOKING & RATE CARD MODALS - DUAL THEME LUXURY
   ========================================================== */
#bookingModal .booking-modal-card,
#rateCardModal .bg-\[\#0D1B2A\] {
    background-color: #0D1B2A;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
    max-width: 36rem !important;
    width: 100% !important;
    margin: auto !important;
}

/* Service Detail Anchor Scroll Highlight */
.service-detail-card:target {
    border-color: #EE1D23 !important;
    box-shadow: 0 0 0 2px rgba(238, 29, 35, 0.4), 0 25px 50px rgba(238, 29, 35, 0.15) !important;
    animation: targetPulse 1.2s ease-out;
}
@keyframes targetPulse {
    0% { transform: scale(0.99); }
    50% { transform: scale(1.01); }
    100% { transform: scale(1); }
}

/* Light Theme Overrides */
html.light #bookingModal .booking-modal-card,
html.light #rateCardModal .bg-\[\#0D1B2A\] {
    background-color: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.18) !important;
}
html.light #bookingModal .booking-modal-title,
html.light #bookingModal h3,
html.light #bookingModal h4,
html.light #rateCardModal h3 {
    color: #0F172A !important;
}
html.light #bookingModal .booking-modal-desc,
html.light #bookingModal p,
html.light #rateCardModal p {
    color: #475569 !important;
}
html.light #bookingModal .booking-modal-hotlines {
    border-color: #E2E8F0 !important;
    color: #64748B !important;
}
html.light #bookingModal .booking-modal-hotlines a {
    color: #475569 !important;
}
html.light #bookingModal .booking-modal-hotlines a:hover {
    color: #EE1D23 !important;
}
html.light #bookingModal .booking-modal-label,
html.light #bookingModal label,
html.light #rateCardModal label {
    color: #475569 !important;
    font-weight: 700 !important;
}
html.light #bookingModal .booking-modal-input,
html.light #bookingModal input,
html.light #bookingModal select,
html.light #bookingModal textarea,
html.light #rateCardModal input,
html.light #rateCardModal select {
    background-color: #F8FAFC !important;
    border-color: #CBD5E1 !important;
    color: #0F172A !important;
}
html.light #bookingModal .booking-modal-input:focus,
html.light #bookingModal input:focus,
html.light #bookingModal select:focus,
html.light #bookingModal textarea:focus,
html.light #rateCardModal input:focus {
    border-color: #EE1D23 !important;
    background-color: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(238, 29, 35, 0.12) !important;
}
html.light #bookingModal .booking-modal-close,
html.light #rateCardModal button[onclick*="closeRateCardModal"] {
    color: #64748B !important;
}
html.light #bookingModal .booking-modal-close:hover,
html.light #rateCardModal button[onclick*="closeRateCardModal"]:hover {
    color: #0F172A !important;
    background-color: #F1F5F9 !important;
}
html.light #bookingModal .bg-slate-900 {
    background-color: #F1F5F9 !important;
    border-color: #E2E8F0 !important;
    color: #0F172A !important;
}

/* Gear Arsenal Light Mode */
html.light #gear-section {
    background-color: #F8FAFC !important;
}
html.light #gear-section h2 {
    color: #0F172A !important;
}
html.light #gear-section p.text-slate-400 {
    color: #475569 !important;
}
html.light #gear-section .equip-tab-btn:not(.active) {
    background-color: #FFFFFF !important;
    border-color: #CBD5E1 !important;
    color: #475569 !important;
}
html.light #gear-section .equip-tab-btn:not(.active):hover {
    color: #0F172A !important;
    border-color: #94A3B8 !important;
}
html.light #gear-section .equip-tab-btn.active {
    background-color: #EE1D23 !important;
    border-color: #EE1D23 !important;
    color: #FFFFFF !important;
}

/* Admin Dashboard Structural Layout */
@media (min-width: 768px) {
    .min-h-screen.flex.flex-col.md\:flex-row {
        display: flex !important;
        flex-direction: row !important;
    }
    aside.admin-sidebar,
    aside.w-full.md\:w-64,
    aside.w-full.md\:w-72 {
        width: 18rem !important;
        min-width: 18rem !important;
        flex-shrink: 0 !important;
        position: sticky !important;
        top: 0 !important;
        height: 100vh !important;
        transform: none !important;
        visibility: visible !important;
    }
    main.flex-1 {
        flex: 1 1 0% !important;
        min-width: 0 !important;
    }
}

/* ==========================================================
   CRITICAL STRUCTURAL LAYOUT & HEADER / FOOTER FAIL-SAFE RULES
   Ensures instantaneous layout stability across all hosting
   providers and reverse proxies (CWP, Cloudflare, Nginx).
   ========================================================== */
.desktop-nav-menu {
    display: none;
}
@media (min-width: 1024px) {
    .desktop-nav-menu {
        display: flex !important;
        align-items: center;
        gap: 0.25rem;
    }
}

/* Footer balanced 4-column layout fail-safe */
footer .grid {
    display: grid;
    gap: 2rem;
}
@media (min-width: 640px) {
    footer .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (min-width: 1024px) {
    footer .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

/* Reviews & Testimonials Anchor Precision */
#reviews-section,
#testimonials-section {
    scroll-margin-top: 6rem;
}

/* ==========================================================
   ADMIN DUAL-PANE WORKSPACE: INDEPENDENT SCROLLING ARCHITECTURE
   ========================================================== */
.admin-sidebar-nav {
    scrollbar-width: thin;
    scrollbar-color: #334155 transparent;
}
.admin-sidebar-nav::-webkit-scrollbar {
    width: 5px;
}
.admin-sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}
.admin-sidebar-nav::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 9999px;
}
.admin-sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: #EE1D23;
}

html.light .admin-sidebar-nav::-webkit-scrollbar-thumb {
    background: #CBD5E1;
}

main.md\:overflow-y-auto {
    scrollbar-width: thin;
    scrollbar-color: #1E293B transparent;
}
html.light main.md\:overflow-y-auto {
    scrollbar-color: #CBD5E1 transparent;
}

/* ===================================================
   DeployGuard & Mobile Suite Explicit Display Overrides
   =================================================== */

/* Admin Mobile Bottom Navigation: Strictly hidden on >= 768px (Desktop / Tablet) */
@media (min-width: 768px) {
    .admin-bottom-nav,
    nav.admin-bottom-nav {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

@media (max-width: 767px) {
    .admin-bottom-nav,
    nav.admin-bottom-nav {
        display: flex !important;
    }
}

/* Production Unit Booking Modal */
#bookingModal.is-open,
#bookingModal.flex {
    display: flex !important;
}

#bookingModal.hidden {
    display: none !important;
}

/* Rate Card Modal */
#rateCardModal.is-open,
#rateCardModal.flex {
    display: flex !important;
}

#rateCardModal.hidden {
    display: none !important;
}





