/* ==========================================================================
   FLASH ON ELECTRIC LLC - GOOGLE-CALIBER UX DESIGN SYSTEM
   Official Website: flashonelectric.com
   Texas Electrical Contractor Licensed & Insured
   250 Verified 5-Star Reviews • Hired 373+ Times • 4x Top Pro (2022-2026)
   ========================================================================== */

/* --- Fonts & CSS Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  /* Architectural Color Palette (High Trust & Craftsmanship) */
  --slate-950: #070B14;
  --slate-900: #0F172A;
  --slate-850: #162035;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50:  #F8FAFC;
  --pure-white: #FFFFFF;

  /* Voltage & Craft Accents (Warm Brass, Amber, Electric Precision) */
  --electric-blue: #0284C7;
  --electric-blue-hover: #0369A1;
  --electric-blue-soft: rgba(2, 132, 199, 0.08);
  --electric-blue-border: rgba(2, 132, 199, 0.25);

  --voltage-amber: #D97706;
  --voltage-amber-light: #F59E0B;
  --voltage-amber-soft: rgba(245, 158, 11, 0.1);
  --voltage-gold: #FBBF24;

  --success-emerald: #059669;
  --success-soft: rgba(5, 150, 105, 0.1);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Ambient Tactile Shadows (Natural, Not Fluorescent) */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 4px 0 rgba(15, 23, 42, 0.06), 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 12px -2px rgba(15, 23, 42, 0.08), 0 3px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 16px 24px -4px rgba(15, 23, 42, 0.08), 0 6px 12px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 38px -6px rgba(15, 23, 42, 0.12), 0 12px 16px -6px rgba(15, 23, 42, 0.06);
  --shadow-elevation: 0 20px 40px -15px rgba(2, 132, 199, 0.18);

  /* Transitions */
  --ease-snappy: cubic-bezier(0.2, 0, 0, 1);
  --transition-fast: 150ms var(--ease-snappy);
  --transition-normal: 250ms var(--ease-snappy);

  /* Dimensions */
  --container-max: 1220px;
  --header-height: 76px;
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

html, body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background-color: var(--slate-50);
  color: var(--slate-900);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: 72px; /* space for mobile action dock */
}
@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

img, svg, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--slate-900);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  z-index: 9999;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 15px;
  outline: 3px solid var(--electric-blue);
  outline-offset: 2px;
}

:focus-visible {
  outline: 3px solid var(--electric-blue);
  outline-offset: 3px;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}


/* --- Site Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background: #000000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1060;
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
  transition: height var(--transition-fast);
}

.main-nav {
  display: none;
  align-items: center;
  gap: 2.25rem;
}
@media (min-width: 920px) {
  .main-nav {
    display: flex;
  }
}

.nav-link {
  color: #94A3B8;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}
.nav-link:hover {
  color: #F8FAFC;
}
.nav-link.active {
  color: #FFFFFF;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--voltage-amber-light);
  border-radius: 2px;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}
.site-header .btn-primary {
  background: var(--electric-blue);
  border-color: var(--electric-blue);
  color: #FFFFFF;
}
.site-header .btn-primary:hover {
  background: var(--electric-blue-hover);
  border-color: var(--electric-blue-hover);
}

/* Responsive Mobile Header Ergonomics */
@media (max-width: 919px) {
  :root {
    --header-height: 68px;
  }

  .brand-logo-img {
    height: 42px;
    max-width: 120px;
  }

  /* Hide bulky CTA in top header on mobile: already featured in Hero, Modal & Drawer */
  .site-header .btn-primary {
    display: none !important;
  }

  .header-cta-group {
    gap: 0.65rem;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 62px;
  }

  .site-header .container {
    padding: 0 1rem;
  }

  .brand-logo-img {
    height: 38px;
    max-width: 105px;
  }

  .header-cta-group {
    gap: 0.5rem;
  }

  /* Compact quick call button on mobile phones */
  .site-header .btn-call {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
  }

  .site-header .btn-call span {
    display: none;
  }

  .site-header .btn-call svg {
    width: 18px;
    height: 18px;
  }
}

/* Button System (Google-Caliber Ergonomics) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--slate-900);
  color: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-900);
}
.btn-primary:hover {
  background: var(--electric-blue);
  border-color: var(--electric-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-call {
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FDE68A;
  font-weight: 800;
}
.btn-call:hover {
  background: #FEF3C7;
  color: #78350F;
  border-color: #FCD34D;
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--electric-blue);
  color: #fff;
  border: 1px solid var(--electric-blue);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}
.btn-accent:hover {
  background: var(--electric-blue-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: #fff;
  color: var(--slate-800);
  border: 1px solid var(--slate-300);
}
.btn-outline:hover {
  background: var(--slate-50);
  border-color: var(--slate-400);
}

.btn-lg {
  padding: 0.95rem 1.85rem;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* Mobile Hamburger Button */
/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  padding: 8px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: all var(--transition-fast);
}
.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}
.mobile-menu-btn:focus-visible {
  outline: 2px solid var(--electric-blue);
  outline-offset: 2px;
}
@media (min-width: 920px) {
  .mobile-menu-btn {
    display: none;
  }
}
.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: #FFFFFF;
  margin: 2.5px 0;
  transition: all var(--transition-normal);
  border-radius: 2px;
}
.mobile-menu-btn.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--voltage-amber);
}
.mobile-menu-btn.active .hamburger-line {
  background-color: var(--voltage-amber-light);
}
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Menu */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  background: #070B14;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem calc(2.25rem + env(safe-area-inset-bottom, 20px));
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.3s;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  margin-bottom: 2rem;
}
.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #F8FAFC;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all var(--transition-fast);
}
.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--voltage-amber-light);
}
.mobile-nav-link.active {
  background: rgba(2, 132, 199, 0.15);
  color: #38BDF8;
  border-left: 3px solid #38BDF8;
  border-bottom-color: transparent;
}
.mobile-drawer .btn-primary {
  background: var(--electric-blue);
  border-color: var(--electric-blue);
  color: #FFFFFF;
}
.mobile-drawer .btn-primary:hover {
  background: var(--electric-blue-hover);
  border-color: var(--electric-blue-hover);
}

/* --- Hero Section (Editorial Architectural Authority) --- */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--slate-50) 100%);
  padding: 4rem 0 5rem;
  border-bottom: 1px solid var(--slate-200);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.95fr;
  }
}

.hero-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pill-badge-pro {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}
.pill-badge-verified {
  background: var(--electric-blue-soft);
  color: var(--electric-blue);
  border: 1px solid var(--electric-blue-border);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--slate-950);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-subhead {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--slate-600);
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

/* Hero Social Proof Ribbon (Updated 250 Thumbtack Reviews) */
.hero-proof-ribbon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--slate-200);
}
@media (min-width: 600px) {
  .hero-proof-ribbon {
    grid-template-columns: repeat(4, 1fr);
  }
}

.proof-stat {
  display: flex;
  flex-direction: column;
}
.proof-stat-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--slate-950);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.proof-stat-label {
  font-size: 0.8125rem;
  color: var(--slate-500);
  font-weight: 600;
  margin-top: 0.2rem;
}

/* --- Hero Interactive Estimator Widget --- */
.hero-estimator-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  position: relative;
}
.hero-estimator-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--electric-blue), var(--voltage-amber));
  border-radius: 20px 20px 0 0;
}

.estimator-header {
  margin-bottom: 1.5rem;
}
.estimator-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-950);
  margin-bottom: 0.25rem;
}
.estimator-header p {
  font-size: 0.875rem;
  color: var(--slate-500);
}

.estimator-selector-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.estimator-pill {
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.estimator-pill:hover {
  background: var(--slate-200);
  color: var(--slate-950);
}
.estimator-pill.active {
  background: var(--slate-900);
  color: #fff;
  border-color: var(--slate-900);
}

.estimator-result-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.estimator-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--slate-200);
  font-size: 0.875rem;
}
.estimator-result-row:last-child {
  border-bottom: none;
}
.estimator-label {
  color: var(--slate-500);
}
.estimator-val {
  font-weight: 700;
  color: var(--slate-950);
}

/* --- Section Structure --- */
.section {
  padding: 5.5rem 0;
  position: relative;
}
.section-white {
  background-color: #FFFFFF;
}
.section-slate {
  background-color: var(--slate-50);
}
.section-dark {
  background-color: var(--slate-900);
  color: #FFFFFF;
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--electric-blue);
  margin-bottom: 0.65rem;
}
.section-dark .section-eyebrow {
  color: var(--voltage-gold);
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--slate-950);
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}
.section-dark .section-title {
  color: #FFFFFF;
}
@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}
.section-description {
  font-size: 1.1rem;
  color: var(--slate-600);
  line-height: 1.7;
}
.section-dark .section-description {
  color: var(--slate-300);
}

/* --- Founder & Craftsmanship Callout (Kills the AI Feel) --- */
.founder-story-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 900px) {
  .founder-story-card {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.founder-quote-box {
  background: var(--slate-950);
  color: #fff;
  border-radius: 16px;
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-xl);
}
.founder-quote-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: #F8FAFC;
}
.founder-quote-author {
  font-size: 0.9rem;
  color: var(--voltage-gold);
  font-weight: 700;
}
.founder-metrics-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-800);
}
.founder-pill {
  background: var(--slate-850);
  color: var(--slate-300);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* --- Real Austin Case Studies (Authentic Job Proof) --- */
.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .case-studies-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.case-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}
.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--slate-300);
}

.case-img-wrap {
  position: relative;
  height: 220px;
  background: var(--slate-900);
}
.case-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
}

.case-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.case-location {
  font-size: 0.8125rem;
  color: var(--electric-blue);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.case-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--slate-950);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}
.case-summary {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}
.case-client-quote {
  background: var(--slate-50);
  border-left: 3px solid var(--voltage-amber);
  padding: 0.85rem 1rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--slate-700);
}
.case-client-author {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--slate-900);
  margin-top: 0.35rem;
}

/* --- Services Scannable Grid --- */
.services-scannable-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 640px) {
  .services-scannable-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .services-scannable-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-box {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.service-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--electric-blue);
}
.service-box-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--electric-blue-soft);
  color: var(--electric-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition-fast);
}
.service-box:hover .service-box-icon {
  background: var(--slate-900);
  color: #fff;
}
.service-box h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-950);
  margin-bottom: 0.65rem;
}
.service-box p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}
.service-box-meta {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-500);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* --- Reviews Section (Live 250 Thumbtack Proof) --- */
.thumbtack-mega-badge {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .thumbtack-mega-badge {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.mega-badge-left h3 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--slate-950);
  margin-bottom: 0.5rem;
}
.mega-badge-left p {
  color: var(--slate-600);
  font-size: 1.05rem;
  line-height: 1.6;
}
.top-pro-years-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.pro-year-pill {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.8125rem;
}

.mega-badge-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 1.75rem;
}
.mega-badge-score {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 900;
  color: #065F46;
  line-height: 1;
}
.mega-badge-stars {
  color: var(--voltage-gold);
  font-size: 1.5rem;
  margin: 0.4rem 0;
}
.mega-badge-count {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-700);
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.review-stars {
  color: var(--voltage-gold);
  font-size: 1.15rem;
}
.review-source-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #065F46;
  background: #ECFDF5;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}
.review-text {
  font-size: 0.95rem;
  color: var(--slate-700);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}
.review-author-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--slate-100);
  padding-top: 1rem;
}
.author-name {
  font-weight: 700;
  color: var(--slate-950);
  font-size: 0.95rem;
}
.author-project {
  font-size: 0.8125rem;
  color: var(--slate-500);
}

/* --- Mobile Bottom Action Dock (Frictionless Conversion) --- */
.mobile-action-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--slate-200);
  padding: 0.65rem 1rem;
  z-index: 998;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
}
@media (min-width: 900px) {
  .mobile-action-dock {
    display: none;
  }
}

.dock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 0.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.875rem;
  text-align: center;
}
.dock-btn-call {
  background: #FFFBEB;
  color: #92400E;
  border: 1.5px solid #FCD34D;
}
.dock-btn-text {
  background: var(--slate-900);
  color: #fff;
}

/* --- Modals & Forms --- */
.modal-dialog {
  border: none;
  border-radius: 20px;
  padding: 0;
  max-width: 580px;
  width: 92%;
  margin: auto;
  box-shadow: var(--shadow-xl);
  background: #FFFFFF;
  overflow: hidden;
}
.modal-dialog::backdrop {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
}
.modal-header {
  background: var(--slate-950);
  color: #fff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
}
.modal-close-btn {
  color: #fff;
  opacity: 0.7;
  font-size: 1.5rem;
  padding: 0.25rem;
}
.modal-close-btn:hover {
  opacity: 1;
}
.modal-body {
  padding: 2rem;
  max-height: 80vh;
  overflow-y: auto;
}

/* Forms System */
.form-group {
  margin-bottom: 1.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 0.4rem;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--slate-900);
  background: #FFFFFF;
  transition: all var(--transition-fast);
  min-height: 48px;
}
.form-textarea {
  min-height: 110px;
  resize: vertical;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--electric-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-success-box {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}
.success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

/* --- Carousel & Video System --- */
.carousel-wrapper {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: #000;
}
.carousel-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 480px;
}
@media (max-width: 640px) {
  .carousel-viewport {
    height: 320px;
  }
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 450ms cubic-bezier(0.2, 0, 0, 1);
}
.carousel-item {
  min-width: 100%;
  height: 100%;
  position: relative;
}
.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(7, 11, 20, 0.92) 0%, rgba(7, 11, 20, 0.3) 70%, transparent 100%);
  padding: 1.5rem 2rem;
  color: #fff;
}
.carousel-caption h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}
.carousel-caption p {
  font-size: 0.85rem;
  color: var(--slate-300);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--slate-900);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border: 1px solid var(--slate-200);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}
.carousel-btn:hover {
  background: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
}
.carousel-btn-prev { left: 16px; }
.carousel-btn-next { right: 16px; }

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.indicator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--slate-300);
  transition: all var(--transition-fast);
}
.indicator-dot.active {
  width: 28px;
  border-radius: 9999px;
  background: var(--slate-900);
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}
@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.video-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.video-card video {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #000;
}
.video-info {
  padding: 1.25rem 1.5rem;
}
.video-info h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-950);
  margin-bottom: 0.25rem;
}
.video-info p {
  color: var(--slate-600);
  font-size: 0.875rem;
}

/* --- Global Footer --- */
.site-footer {
  background: #000000;
  color: var(--slate-400);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5rem 0 2.5rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  }
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-links a {
  color: var(--slate-400);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid var(--slate-800);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--slate-500);
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
