/* ==========================================================================
   MEC LOGISTICS CANADA INC. — MASTER ENTERPRISE STYLESHEET
   Clean White Mode Design System & Bebas Neue Geometric Typography
   Powered by Tailwind CSS v3, GSAP 3 & Bebas Neue / Outfit
   ========================================================================== */

/* --- 1. FONT IMPORTS: BEBAS NEUE & OUTFIT --- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* --- 2. CSS CUSTOM TOKENS (WHITE MODE) --- */
:root {
  --font-bebas: 'Bebas Neue', 'Outfit', sans-serif;
  --font-outfit: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Brand Core Colors */
  --brand-red: #D52B2B;
  --brand-red-hover: #BF2020;
  --brand-red-dark: #9E1616;
  --brand-red-glow: rgba(213, 43, 43, 0.25);
  --brand-red-subtle: rgba(213, 43, 43, 0.08);

  /* Clean Enterprise White Palette */
  --mec-canvas: #FFFFFF;
  --mec-obsidian: #FFFFFF;
  --mec-dark: #F8FAFC;
  --mec-surface: #FFFFFF;
  --mec-surface-muted: #F1F5F9;
  --mec-card: #FFFFFF;
  --mec-card-hover: #FFFFFF;
  
  /* Border & Glass Tokens */
  --mec-border: rgba(15, 23, 42, 0.08);
  --mec-border-hover: rgba(213, 43, 43, 0.45);
  --mec-border-subtle: rgba(15, 23, 42, 0.05);

  /* Typography Colors for White Mode */
  --text-white: #0F172A;
  --text-heading: #0F172A;
  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-faint: #94A3B8;

  /* Elevation Shadows (Tailored for White Canvas) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04), 0 0 0 1px var(--mec-border);
  --shadow-hover: 0 20px 35px -10px rgba(15, 23, 42, 0.12), 0 0 0 1px var(--mec-border-hover), 0 0 25px rgba(213, 43, 43, 0.12);
  --shadow-glow: 0 0 35px -5px rgba(213, 43, 43, 0.35);
}

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

html {
  font-family: var(--font-outfit);
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  background-color: #FFFFFF;
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  font-family: var(--font-outfit);
  font-size: 1.05rem;
  line-height: 1.65;
  background-color: #FFFFFF;
  color: var(--text-secondary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* --- 4. TYPOGRAPHY: BEBAS NEUE ONLY FOR LARGE DISPLAY HEADINGS --- */
h1,
.hero-title,
.hero-display,
.font-display,
.metric-number {
  font-family: var(--font-bebas);
  letter-spacing: 0.03em;
  font-weight: 400;
  color: var(--text-heading);
}

/* Impactful Large Section Titles */
h2.font-bebas,
.section-title.font-bebas {
  font-family: var(--font-bebas);
  letter-spacing: 0.03em;
  font-weight: 400;
}

/* ALL SUB-HEADINGS, CARDS, CONTACT WIDGETS & FOOTER HEADINGS USE CLEAN, MODERN OUTFIT */
h2:not(.font-bebas),
h3,
h4,
h5,
h6,
.font-heading {
  font-family: var(--font-outfit) !important;
  color: var(--text-heading);
}

h3 {
  font-family: var(--font-outfit) !important;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

h4 {
  font-family: var(--font-outfit) !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

/* Specific Legibility Guarantees for Small UI Elements, Contact Info & Footer Titles */
.contact-details h4,
.contact-item h4,
.cargopress-info-widget span,
.info-widget-title,
.card h3,
.card h4,
.service-card h3,
.service-card h4 {
  font-family: var(--font-outfit) !important;
}

.contact-details h4 {
  font-family: var(--font-outfit) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  letter-spacing: 0.01em !important;
}

footer h4,
.footer-title {
  font-family: var(--font-outfit) !important;
  font-weight: 700 !important;
  font-size: 0.875rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #0F172A !important;
}

/* Safety Override: Never allow condensed Bebas Neue on small UI text or form labels */
.text-xs.font-bebas,
.text-sm.font-bebas,
.text-base.font-bebas,
h4.font-bebas,
h5.font-bebas,
h6.font-bebas,
footer .font-bebas,
label.font-bebas,
p.font-bebas {
  font-family: var(--font-outfit) !important;
}

/* Custom Scrollbar for White Theme */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F8FAFC;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-red);
}

/* Global SVG & Img Safety */
img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

button, input, select, textarea {
  font-family: var(--font-outfit);
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

/* --- 5. CLEAN LIGHT BACKGROUNDS & GRID TEXTURE --- */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
}

.bg-radial-ambient {
  background: radial-gradient(circle at 50% 0%, rgba(213, 43, 43, 0.06) 0%, rgba(255, 255, 255, 0) 65%);
}

.bg-radial-bottom {
  background: radial-gradient(circle at 50% 100%, rgba(213, 43, 43, 0.05) 0%, transparent 60%);
}

/* Glassmorphic Panels for Light Mode */
.glass-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--mec-border);
  border-radius: 16px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.glass-panel-interactive {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--mec-border);
  border-radius: 16px;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.05);
}

.glass-panel-interactive:hover {
  border-color: var(--mec-border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* --- 6. SOLID HIGH-CONTRAST HERO SECTIONS & 3-SERVICE DYNAMIC SLIDER --- */
.hero-slider-section,
.hero-bg-cinematic,
.hero-bg-recruitment,
.hero-bg-transport,
.hero-bg-warehousing,
.hero-bg-services {
  position: relative;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
}

/* 3-Service Auto-Slider Components */
.hero-slider-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: #FFFFFF;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.1s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  transform: scale(1.06);
  transition: transform 4s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active img {
  transform: scale(1.0);
}

.hero-slider-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  background: linear-gradient(to right, #FFFFFF 0%, #FFFFFF 44%, rgba(255, 255, 255, 0.95) 58%, rgba(255, 255, 255, 0.6) 78%, rgba(255, 255, 255, 0.18) 100%);
}

@media (max-width: 1024px) {
  .hero-slide img {
    object-position: center top;
  }
  .hero-slider-overlay {
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 62%, rgba(255, 255, 255, 0.95) 82%, rgba(255, 255, 255, 0.35) 100%);
  }
}


/* Desktop: Solid Pure White on the left for maximum readability, vivid photo on the right */
.hero-bg-cinematic {
  background-image: 
    linear-gradient(to right, #FFFFFF 0%, #FFFFFF 42%, rgba(255, 255, 255, 0.96) 55%, rgba(255, 255, 255, 0.65) 78%, rgba(255, 255, 255, 0.25) 100%),
    url('../images/hero-cinematic.jpg');
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-bg-recruitment {
  background-image: 
    linear-gradient(to right, #FFFFFF 0%, #FFFFFF 42%, rgba(255, 255, 255, 0.96) 55%, rgba(255, 255, 255, 0.65) 78%, rgba(255, 255, 255, 0.25) 100%),
    url('../images/service-recruitment.jpg');
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-bg-transport {
  background-image: 
    linear-gradient(to right, #FFFFFF 0%, #FFFFFF 42%, rgba(255, 255, 255, 0.96) 55%, rgba(255, 255, 255, 0.65) 78%, rgba(255, 255, 255, 0.25) 100%),
    url('../images/service-transport.jpg');
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-bg-warehousing {
  background-image: 
    linear-gradient(to right, #FFFFFF 0%, #FFFFFF 42%, rgba(255, 255, 255, 0.96) 55%, rgba(255, 255, 255, 0.65) 78%, rgba(255, 255, 255, 0.25) 100%),
    url('../images/service-warehousing.jpg');
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-bg-services {
  background-image: 
    linear-gradient(to right, #FFFFFF 0%, #FFFFFF 42%, rgba(255, 255, 255, 0.96) 55%, rgba(255, 255, 255, 0.65) 78%, rgba(255, 255, 255, 0.25) 100%),
    url('../images/hero-home.jpg');
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Mobile & Tablet: Solid Pure White on top, vivid photo at bottom */
@media (max-width: 1024px) {
  .hero-bg-cinematic {
    background-image: 
      linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 62%, rgba(255, 255, 255, 0.95) 82%, rgba(255, 255, 255, 0.4) 100%),
      url('../images/hero-cinematic.jpg');
    background-position: center top;
  }
  .hero-bg-recruitment {
    background-image: 
      linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 62%, rgba(255, 255, 255, 0.95) 82%, rgba(255, 255, 255, 0.4) 100%),
      url('../images/service-recruitment.jpg');
    background-position: center top;
  }

.hero-bg-transport {
    background-image: 
      linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 62%, rgba(255, 255, 255, 0.95) 82%, rgba(255, 255, 255, 0.4) 100%),
      url('../images/service-transport.jpg');
    background-position: center top;
  }
  .hero-bg-warehousing {
    background-image: 
      linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 62%, rgba(255, 255, 255, 0.95) 82%, rgba(255, 255, 255, 0.4) 100%),
      url('../images/service-warehousing.jpg');
    background-position: center top;
  }
  .hero-bg-services {
    background-image: 
      linear-gradient(180deg, #FFFFFF 0%, #FFFFFF 62%, rgba(255, 255, 255, 0.95) 82%, rgba(255, 255, 255, 0.4) 100%),
      url('../images/hero-home.jpg');
    background-position: center top;
  }
}

/* Dedicated Solid Page Hero for Inner Pages (About, Quote, Contact, Privacy) */
.page-hero-solid {
  position: relative;
  background-color: #F8FAFC;
  background-image: 
    radial-gradient(#CBD5E1 1.2px, transparent 1.2px),
    linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
  background-size: 24px 24px, 100% 100%;
  border-bottom: 2px solid #E2E8F0;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.04);
}

/* Fully Solid Badges & Cards (No Transparency or Milky Wash) */
.hero-live-badge {
  background-color: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  color: #0F172A !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.hero-right-card {
  background-color: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 20px 45px -15px rgba(15, 23, 42, 0.14) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Subtle, Controlled Ambient Glow */
.hero-ambient-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(213, 43, 43, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* --- 7. NAVIGATION & TOPBAR (LIGHT MODE) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--mec-border);
  transition: all 250ms ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  border-bottom-color: rgba(15, 23, 42, 0.1);
}

/* --- Brand Logo Sizing --- */
.site-header-inner {
  height: 80px;
}
@media (min-width: 640px) {
  .site-header-inner {
    height: 86px;
  }
}

.site-logo-img {
  height: 32px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: transform 300ms ease;
}
@media (min-width: 640px) {
  .site-logo-img {
    height: 36px;
    max-width: 230px;
  }
}
@media (min-width: 1024px) {
  .site-logo-img {
    height: 40px;
    max-width: 255px;
  }
}

.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
}
@media (min-width: 640px) {
  .footer-logo-img {
    height: 54px;
    max-width: 350px;
  }
}

.drawer-logo-img {
  height: 36px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

/* ========================================================
   CARGOPRESS-STYLE ENTERPRISE LOGISTICS HEADER
   ======================================================== */
.cargopress-topbar {
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  font-size: 12px;
  color: #64748B;
  padding: 8px 0;
  line-height: 1.4;
}

.cargopress-brand-row {
  background: #FFFFFF;
  border-bottom: none;
  position: relative;
  z-index: 40;
}

.cargopress-info-widget {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (min-width: 1280px) {
  .cargopress-info-widget {
    gap: 12px;
  }
}

.cargopress-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FEF2F2;
  border: 1px solid rgba(213, 43, 43, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  flex-shrink: 0;
}

@media (min-width: 1280px) {
  .cargopress-info-icon {
    width: 38px;
    height: 38px;
  }
}

.cargopress-btn-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--brand-red);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(213, 43, 43, 0.28);
  transition: all 250ms ease;
  white-space: nowrap;
}

@media (min-width: 1280px) {
  .cargopress-btn-quote {
    font-size: 13px;
    padding: 12px 22px;
  }
}

.cargopress-btn-quote:hover {
  background: var(--brand-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(213, 43, 43, 0.38);
}

/* Dark Navy Navigation Bar with CargoPress Industrial Notch & Slant */
.cargopress-navbar {
  background: #172736;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.16);
  height: 56px;
}

.cargopress-nav-track {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

/* Left ramp box matching the logo width */
.cargopress-nav-ramp-box {
  width: 250px;
  height: 56px;
  position: relative;
  flex-shrink: 0;
}

@media (min-width: 1280px) {
  .cargopress-nav-ramp-box {
    width: 320px;
  }
}

@media (min-width: 1536px) {
  .cargopress-nav-ramp-box {
    width: 340px;
  }
}

/* White top cover under logo leaving 24px dark strip at bottom */
.cargopress-nav-ramp-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 28px;
  width: 2500px;
  height: 32px;
  background: #FFFFFF;
  z-index: 2;
  pointer-events: none;
}

/* 45-degree ramp connecting white cover to dark bar */
.cargopress-nav-ramp-box::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 32px;
  background: #FFFFFF;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 2;
  pointer-events: none;
}

.cargopress-nav-list {
  display: flex;
  align-items: center;
  height: 100%;
  margin-left: 10px;
}

.cargopress-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 56px;
  padding: 0 12px;
  color: #E2E8F0;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: all 200ms ease;
  white-space: nowrap;
}

@media (min-width: 1280px) {
  .cargopress-nav-link {
    gap: 6px;
    padding: 0 16px;
    font-size: 14px;
  }
}

.cargopress-nav-link:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

.cargopress-nav-link.active {
  color: #FFFFFF;
}

.cargopress-nav-link.active::after,
.cargopress-nav-link:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 4px;
  background: var(--brand-red);
  border-radius: 2px 2px 0 0;
}

.cargopress-nav-dot {
  color: #475569;
  font-size: 13px;
  padding: 0 2px;
  user-select: none;
}

/* Dropdown Menu inside Cargopress Navbar */
.cargopress-navbar .nav-dropdown {
  position: relative;
  height: 56px;
  display: flex;
  align-items: center;
}

.cargopress-navbar .nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 300px;
  background: #FFFFFF;
  border-top: 3px solid var(--brand-red);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.2);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

/* Invisible bridge so mouse hover doesn't break */
.cargopress-navbar .nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.cargopress-navbar .nav-dropdown:hover .nav-dropdown-menu,
.cargopress-navbar .nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cargopress-navbar .nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px;
  transition: background-color 150ms ease;
}

.cargopress-navbar .nav-dropdown-item:hover {
  background-color: #F8FAFC;
}

.cargopress-navbar .nav-dropdown-item svg {
  width: 20px;
  height: 20px;
  color: var(--brand-red);
  flex-shrink: 0;
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 180ms ease;
}

.nav-dropdown-item:hover {
  background: #F8FAFC;
  color: #0F172A;
  transform: translateX(4px);
}

.nav-dropdown-item.active {
  color: var(--brand-red);
}

.nav-dropdown-item svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  stroke: var(--brand-red);
  stroke-width: 2;
  flex-shrink: 0 !important;
}

/* Mobile Drawer (Light Mode) */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: #FFFFFF;
  border-left: 1px solid var(--mec-border);
  z-index: 100;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 350ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.15);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: all 300ms ease;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* --- 8. BUTTONS & MICRO-INTERACTIONS --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--brand-red);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(213, 43, 43, 0.35);
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background-color: var(--brand-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(213, 43, 43, 0.5);
  color: #FFFFFF;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline-white,
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #FFFFFF;
  color: #0F172A;
  border: 1.5px solid rgba(15, 23, 42, 0.18);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline-white:hover,
.btn-outline-dark:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

/* Live Pulsing Dot */
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #16a34a;
  border-radius: 50%;
  animation: pulseEmerald 2s infinite;
}

@keyframes pulseEmerald {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.pulse-red-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-red);
  border-radius: 50%;
  animation: pulseRed 2s infinite;
}

@keyframes pulseRed {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(213, 43, 43, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(213, 43, 43, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(213, 43, 43, 0); }
}

/* --- 9. CARD SPOTLIGHT GLOW EFFECT (WHITE MODE) --- */
.spotlight-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--mec-border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.05);
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, -100px);
  left: var(--mouse-x, -100px);
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(213, 43, 43, 0.12) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
  z-index: 1;
}

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

.spotlight-card:hover {
  border-color: var(--mec-border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* --- 10. GSAP INITIAL ANIMATION STATES --- */
[data-gsap-reveal] {
  opacity: 0;
  transform: translateY(28px);
  will-change: opacity, transform;
}

[data-gsap-fade] {
  opacity: 0;
  will-change: opacity;
}

[data-gsap-stagger] > * {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
}

/* --- 11. RATE ESTIMATOR TABS SUITE (LIGHT MODE) --- */
.estimator-tab-btn {
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all 200ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.estimator-tab-btn.active {
  background: var(--brand-red);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(213, 43, 43, 0.35);
}

.estimator-tab-btn:hover:not(.active) {
  color: #0F172A;
  background: rgba(15, 23, 42, 0.05);
}

.estimator-pane {
  display: none;
}

.estimator-pane.active {
  display: block;
}

/* --- 12. FAQ ACCORDION (LIGHT MODE) --- */
.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--mec-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.faq-item.active {
  border-color: var(--brand-red);
  box-shadow: 0 8px 24px rgba(213, 43, 43, 0.1);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-heading);
  cursor: pointer;
  background: none;
}

.faq-question:hover {
  color: var(--brand-red);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms cubic-bezier(0.16, 1, 0.3, 1), padding 350ms ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 320px;
  padding: 0 24px 22px;
}

/* --- 13. RESPONSIVE UTILITIES --- */
@media (max-width: 768px) {
  body {
    font-size: 1rem;
  }
}

/* Reduced Motion Safety */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
