/* ═══════════════════════════════════════════
   ALL SOLUTIONS ELECTRIC LLC
   Main Stylesheet
   ═══════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─────────────────── */
:root {
  /* Brand Colors */
  --color-primary:       #1c1c1c;
  --color-accent:        #f0a500;
  --color-accent-dark:   #c98a00;
  --color-bg:            #f8f8f5;
  --color-bg-dark:       #1c1c1c;
  --color-bg-alt:        #f2f1ec;
  --color-text:          #1c1c1c;
  --color-text-muted:    #6b6a65;
  --color-text-light:    #f8f8f5;
  --color-border:        #e0dfd8;
  --color-surface:       #ffffff;

  /* Typography */
  --font-display: 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body:    'Source Sans 3', 'Arial', sans-serif;

  /* Easing */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Spacing (8px grid) */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  16px;
  --space-4:  24px;
  --space-5:  32px;
  --space-6:  48px;
  --space-7:  64px;
  --space-8:  96px;
  --space-9:  128px;

  /* Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.16);
}

/* ─── RESET ─────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-body);
}

input, textarea, select {
  font-family: var(--font-body);
}

/* ─── SKIP LINK ──────────────────────────── */
.skip-link {
  position: fixed;
  top: -100%;
  left: var(--space-4);
  background: var(--color-accent);
  color: var(--color-primary);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.875rem;
  z-index: 9999;
  transition: top 150ms var(--ease-out);
}
.skip-link:focus {
  top: var(--space-4);
}

/* ─── FOCUS STYLES ───────────────────────── */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) {
  outline: none;
}

/* ─── CONTAINER ──────────────────────────── */
.container {
  width: 100%;
  padding: 0 var(--space-4);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .container {
    padding: 0 var(--space-5);
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-6);
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1240px;
    padding: 0 var(--space-7);
  }
}

/* ─── SECTION SPACING ────────────────────── */
.section-pad {
  padding: clamp(64px, 10vw, 120px) 0;
}
.section-pad--sm {
  padding: clamp(40px, 6vw, 72px) 0;
}

/* ─── SECTION HEADER ─────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-8);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
  padding: var(--space-1) var(--space-3);
  background: rgba(240, 165, 0, 0.12);
  border-radius: var(--radius-full);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-title em {
  color: var(--color-accent);
  font-style: normal;
}

.section-body {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ─── TEXT ACCENT ────────────────────────── */
.text-accent {
  color: var(--color-accent);
}

/* ─── BUTTONS ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 28px;
  min-height: 48px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 130ms var(--ease-out),
    background-color 150ms var(--ease-out),
    box-shadow 150ms var(--ease-out),
    border-color 150ms var(--ease-out),
    color 150ms var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: scale(0.97);
  transition-duration: 80ms;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-primary);
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  box-shadow: 0 6px 20px rgba(240, 165, 0, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-light);
  border-color: rgba(248, 248, 245, 0.35);
}
.btn--ghost:hover {
  background: rgba(248, 248, 245, 0.1);
  border-color: rgba(248, 248, 245, 0.6);
}

.btn--large {
  padding: 15px 36px;
  font-size: 1rem;
  min-height: 52px;
}

.btn--full {
  width: 100%;
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  background: rgba(28, 28, 28, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(240, 165, 0, 0.15);
  padding-top: env(safe-area-inset-top);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  transition: background 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

.navbar.scrolled {
  background: rgba(28, 28, 28, 0.98);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  transition: opacity 150ms var(--ease-out);
}
.navbar__logo:hover {
  opacity: 0.85;
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* Desktop Nav */
.navbar__nav {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

@media (min-width: 960px) {
  .navbar__nav {
    display: flex;
  }
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  list-style: none;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(248, 248, 245, 0.75);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 150ms var(--ease-out);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 200ms var(--ease-out);
}

.nav-link:hover {
  color: var(--color-text-light);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  width: 100%;
}

.navbar__cta {
  padding: 10px 22px;
  min-height: 44px;
  font-size: 0.875rem;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background 150ms var(--ease-out);
}

.hamburger:hover {
  background: rgba(240, 165, 0, 0.1);
}

@media (min-width: 960px) {
  .hamburger {
    display: none;
  }
}

.hamburger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-light);
  border-radius: 2px;
  transition: transform 200ms var(--ease-in-out), opacity 150ms var(--ease-out);
  transform-origin: center;
}

.hamburger.open .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(28, 28, 28, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(240, 165, 0, 0.15);
  padding: var(--space-5) var(--space-4) var(--space-6);
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 220ms var(--ease-out),
    transform 220ms var(--ease-out);
}

.mobile-menu.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 960px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.mobile-nav-link {
  display: block;
  padding: var(--space-3) var(--space-3);
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(248, 248, 245, 0.8);
  border-radius: var(--radius-md);
  transition: color 150ms var(--ease-out), background 150ms var(--ease-out);
}

.mobile-nav-link:hover {
  color: var(--color-text-light);
  background: rgba(240, 165, 0, 0.1);
}

.mobile-menu__cta {
  width: 100%;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--color-bg-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 165, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 165, 0, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 0;
}

.hero__bolt-bg {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 600px;
  z-index: 0;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding-top: clamp(var(--space-8), 8vw, var(--space-9));
  padding-bottom: clamp(var(--space-8), 8vw, var(--space-9));
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-7);
  }
}

/* Hero Content */
.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: var(--space-1) var(--space-3);
  background: rgba(240, 165, 0, 0.12);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  animation: slideUp 600ms var(--ease-out) both;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--color-text-light);
  margin-bottom: var(--space-5);
  animation: slideUp 600ms var(--ease-out) 100ms both;
}

.hero__body {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(248, 248, 245, 0.7);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: var(--space-6);
  animation: slideUp 600ms var(--ease-out) 200ms both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  animation: slideUp 600ms var(--ease-out) 300ms both;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  animation: slideUp 600ms var(--ease-out) 400ms both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(248, 248, 245, 0.6);
  letter-spacing: 0.02em;
}

/* Hero Visual */
.hero__visual {
  display: none;
  position: relative;
  animation: fadeScale 800ms var(--ease-out) 150ms both;
}

@media (min-width: 900px) {
  .hero__visual {
    display: block;
  }
}

.hero__image-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: rgba(240, 165, 0, 0.06);
  border: 1px solid rgba(240, 165, 0, 0.2);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero__image-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.hero__image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
  padding: var(--space-6);
  color: rgba(248, 248, 245, 0.4);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__stat {
  position: absolute;
  background: rgba(28, 28, 28, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(240, 165, 0, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__stat--1 {
  bottom: var(--space-6);
  left: calc(-1 * var(--space-5));
}

.hero__stat--2 {
  top: var(--space-6);
  right: calc(-1 * var(--space-5));
}

.stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--color-accent);
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 248, 245, 0.5);
}

/* Scroll Indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(248, 248, 245, 0.35);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: fadeIn 800ms var(--ease-out) 1s both;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(240, 165, 0, 0.4), transparent);
  animation: scrollPulse 2s var(--ease-in-out) 1.5s infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(0.6); opacity: 0.2; }
}

/* ═══════════════════════════════════════════
   MARQUEE BAND
   ═══════════════════════════════════════════ */
.marquee-band {
  background: var(--color-accent);
  padding: var(--space-3) 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  animation: marqueeScroll 30s linear infinite;
}

.marquee-track span {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  flex-shrink: 0;
}

.marquee-dot {
  font-size: 0.875rem;
  flex-shrink: 0;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════ */
.services {
  background: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out),
    border-color 200ms var(--ease-out);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(240, 165, 0, 0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card--featured {
  background: var(--color-primary);
  border-color: rgba(240, 165, 0, 0.3);
}

.service-card--featured .service-card__title,
.service-card--featured .service-card__body,
.service-card--featured .service-card__list li {
  color: rgba(248, 248, 245, 0.9);
}

.service-card--featured .service-card__icon {
  background: rgba(240, 165, 0, 0.15);
  color: var(--color-accent);
}

.service-card--featured::before {
  background: var(--color-accent);
  transform: scaleX(1);
}

.service-card__badge {
  display: inline-block;
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-accent);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(240, 165, 0, 0.1);
  color: var(--color-accent);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  transition: background 200ms var(--ease-out), transform 200ms var(--ease-spring);
}

.service-card:hover .service-card__icon {
  transform: scale(1.05);
  background: rgba(240, 165, 0, 0.18);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
  line-height: 1.2;
}

.service-card__body {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-4);
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.service-card__list li {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  padding-left: var(--space-4);
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
}

/* ═══════════════════════════════════════════
   STATS BAND
   ═══════════════════════════════════════════ */
.stats-band {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 165, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 165, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-block {
  text-align: center;
  padding: var(--space-5) var(--space-3);
  position: relative;
}

.stat-block:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(240, 165, 0, 0.15);
  display: none;
}

@media (min-width: 768px) {
  .stat-block:not(:last-child)::after {
    display: block;
  }
}

.stat-block__number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-2);
}

.stat-accent {
  color: var(--color-accent);
}

.stat-block__label {
  display: block;
  font-size: 0.78125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 248, 245, 0.45);
}

/* ═══════════════════════════════════════════
   WHY US
   ═══════════════════════════════════════════ */
.why-us {
  background: var(--color-bg-alt);
}

.why-us__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 900px) {
  .why-us__inner {
    grid-template-columns: 1fr 1.4fr;
    gap: var(--space-9);
    align-items: center;
  }
}

.why-us__left .section-title {
  text-align: left;
}

.why-us__left .section-body {
  text-align: left;
  margin: 0 0 var(--space-6);
}

.why-us__cta {
  display: inline-flex;
}

.why-us__right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.why-item {
  display: flex;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-border);
  transition: transform 200ms var(--ease-out);
}

.why-item:first-child {
  padding-top: 0;
}

.why-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.why-item__num {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  opacity: 0.6;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
  transition: opacity 200ms var(--ease-out);
}

.why-item:hover .why-item__num {
  opacity: 1;
}

.why-item__content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: 1.2;
}

.why-item__content p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════
   PROJECTS
   ═══════════════════════════════════════════ */
.projects {
  background: var(--color-bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
  }

  .project-card--large {
    grid-column: 1 / -1;
  }
}

.project-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.project-card__visual {
  height: 180px;
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
}

.project-card--large .project-card__visual {
  height: 260px;
}

@media (min-width: 640px) {
  .project-card--large .project-card__visual {
    height: 320px;
  }
}

.project-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.project-placeholder--1 {
  background: linear-gradient(135deg, #1c1c1c 0%, #2d2d2d 100%);
}
.project-placeholder--2 {
  background: linear-gradient(135deg, #1c1c2e 0%, #2a2a40 100%);
}
.project-placeholder--3 {
  background: linear-gradient(135deg, #1a2c1c 0%, #2a3d2a 100%);
}
.project-placeholder--4 {
  background: linear-gradient(135deg, #2c1c1c 0%, #3d2a2a 100%);
}

.project-card__info {
  padding: var(--space-5);
}

.project-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(240, 165, 0, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.project-card__info h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: 1.2;
}

.project-card__info p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */
.testimonials {
  background: var(--color-bg-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  position: relative;
  transition:
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-4);
  right: var(--space-5);
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.12;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card__stars {
  color: var(--color-accent);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.testimonial-card blockquote p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-5);
}

.testimonial-card footer cite {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-card footer cite strong {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text);
}

.testimonial-card footer cite span {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 165, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 165, 0, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.contact__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}

@media (min-width: 900px) {
  .contact__inner {
    grid-template-columns: 1fr 1.3fr;
    gap: var(--space-9);
    align-items: center;
  }
}

.contact__title {
  color: var(--color-text-light);
}

.contact .section-eyebrow {
  color: var(--color-accent);
  background: rgba(240, 165, 0, 0.12);
}

.contact .section-body {
  color: rgba(248, 248, 245, 0.65);
  margin: 0 0 var(--space-7);
  text-align: left;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.contact-info-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: rgba(240, 165, 0, 0.1);
  border: 1px solid rgba(240, 165, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248, 248, 245, 0.4);
  margin-bottom: 2px;
}

.contact-info-item__value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-decoration: none;
  transition: color 150ms var(--ease-out);
}

a.contact-info-item__value:hover {
  color: var(--color-accent);
}

/* Contact Form */
.contact__right {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-5), 4vw, var(--space-7));
  box-shadow: var(--shadow-xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.form-group label span {
  color: #dc2626;
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  min-height: 48px;
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  transition:
    border-color 150ms var(--ease-out),
    box-shadow 150ms var(--ease-out);
  appearance: none;
  -webkit-appearance: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b6a65' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(240, 165, 0, 0.15);
  outline: none;
}

.form-group input.error,
.form-group textarea.error {
  border-color: #dc2626;
}

.form-error-msg {
  display: none;
  font-size: 0.8125rem;
  color: #dc2626;
  font-weight: 600;
}

.form-error-msg.visible {
  display: block;
}

.form-note {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.form-success {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-top: var(--space-2);
}

.form-success strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.form-success p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Submit Button Loading State */
.spinner {
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: #141414;
  padding-top: clamp(var(--space-7), 8vw, var(--space-9));
  padding-bottom: clamp(var(--space-5), 4vw, var(--space-7));
  padding-bottom: calc(clamp(var(--space-5), 4vw, var(--space-7)) + env(safe-area-inset-bottom));
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-7);
}

@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 1.4fr 2fr;
    gap: var(--space-9);
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__logo {
  width: fit-content;
}

.footer__tagline {
  font-size: 0.9375rem;
  color: rgba(248, 248, 245, 0.5);
  line-height: 1.65;
}

.footer__license {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: var(--space-1) var(--space-3);
  background: rgba(240, 165, 0, 0.08);
  border-radius: var(--radius-full);
  width: fit-content;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

@media (min-width: 480px) {
  .footer__links {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer__col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 248, 245, 0.3);
  margin-bottom: var(--space-4);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
}

.footer__col ul li a,
.footer__col ul li span {
  font-size: 0.9rem;
  color: rgba(248, 248, 245, 0.55);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: color 150ms var(--ease-out);
}

.footer__col ul li a:hover {
  color: var(--color-text-light);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(248, 248, 245, 0.06);
}

.footer__bottom p {
  font-size: 0.8125rem;
  color: rgba(248, 248, 245, 0.3);
}

.footer__bottom-right {
  font-size: 0.8125rem;
  color: rgba(248, 248, 245, 0.25);
}

/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 450ms var(--ease-out),
    transform 450ms var(--ease-out);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for service cards */
.services-grid .service-card:nth-child(1)[data-animate] { transition-delay: 0ms; }
.services-grid .service-card:nth-child(2)[data-animate] { transition-delay: 60ms; }
.services-grid .service-card:nth-child(3)[data-animate] { transition-delay: 120ms; }
.services-grid .service-card:nth-child(4)[data-animate] { transition-delay: 180ms; }
.services-grid .service-card:nth-child(5)[data-animate] { transition-delay: 240ms; }
.services-grid .service-card:nth-child(6)[data-animate] { transition-delay: 300ms; }

/* Stagger for stats */
.stats-grid .stat-block:nth-child(1)[data-animate] { transition-delay: 0ms; }
.stats-grid .stat-block:nth-child(2)[data-animate] { transition-delay: 80ms; }
.stats-grid .stat-block:nth-child(3)[data-animate] { transition-delay: 160ms; }
.stats-grid .stat-block:nth-child(4)[data-animate] { transition-delay: 240ms; }

/* Stagger for testimonials */
.testimonials-grid .testimonial-card:nth-child(1)[data-animate] { transition-delay: 0ms; }
.testimonials-grid .testimonial-card:nth-child(2)[data-animate] { transition-delay: 80ms; }
.testimonials-grid .testimonial-card:nth-child(3)[data-animate] { transition-delay: 160ms; }

/* Stagger for projects */
.projects-grid .project-card:nth-child(1)[data-animate] { transition-delay: 0ms; }
.projects-grid .project-card:nth-child(2)[data-animate] { transition-delay: 80ms; }
.projects-grid .project-card:nth-child(3)[data-animate] { transition-delay: 160ms; }
.projects-grid .project-card:nth-child(4)[data-animate] { transition-delay: 240ms; }

/* ═══════════════════════════════════════════
   HERO KEYFRAMES
   ═══════════════════════════════════════════ */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeScale {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ═══════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

/* ═══════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════ */
@media print {
  .navbar, .hero__scroll-indicator, .marquee-band {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
}