/* ═══════════════════════════════════════════════════
   SWARTZ ENGINEERING — MASTER STYLESHEET
   Dark steel + burnt orange industrial design system
═══════════════════════════════════════════════════ */

/* ── TOKENS ────────────────────────────────────────── */
:root {
  --steel-950:  #0a0b0d;
  --steel-900:  #0f1114;
  --steel-850:  #141619;
  --steel-800:  #1a1d22;
  --steel-700:  #252a32;
  --steel-600:  #313844;
  --steel-500:  #4a5568;
  --steel-400:  #6b7a93;
  --steel-300:  #94a3b8;
  --steel-200:  #cbd5e1;
  --steel-100:  #e2e8f0;
  --steel-50:   #f1f5f9;

  --orange:     #E87722;
  --orange-dark:#c5601a;
  --orange-glow:rgba(232, 119, 34, 0.18);
  --orange-dim: rgba(232, 119, 34, 0.08);

  --white:      #ffffff;
  --text-main:  #d4dbe8;
  --text-muted: #7a8a9e;
  --border:     rgba(255,255,255,0.07);
  --border-med: rgba(255,255,255,0.12);

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  --shadow-card: 0 4px 24px rgba(0,0,0,0.5), 0 1px 4px rgba(0,0,0,0.3);
  --shadow-lift: 0 12px 48px rgba(0,0,0,0.6), 0 2px 8px rgba(0,0,0,0.4);

  --nav-h: 72px;
  --font-main: 'Barlow', system-ui, sans-serif;
  --font-cond: 'Barlow Condensed', system-ui, sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
}

/* ── RESET & BASE ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-main);
  background: var(--steel-950);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ── UTILITY ─────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── SCROLL REVEAL ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ─────────────────────────────────────────────────────
   NAVIGATION
───────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(10, 11, 13, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--border);
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark svg { display: block; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-primary {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--white);
}
.logo-secondary {
  font-family: var(--font-cond);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: var(--orange);
  text-transform: uppercase;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-link {
  font-family: var(--font-cond);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel-300);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover {
  color: var(--white);
  background: var(--border);
}
.nav-cta {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-950);
  background: var(--orange);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.nav-cta:hover {
  background: #f08830;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(232,119,34,0.4);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Frame animation canvas */
.hero-frames {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-frames img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.05s linear;
  will-change: opacity;
}
.hero-frames img.active {
  opacity: 1;
}

/* Structural grid overlay */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(232,119,34,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,119,34,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Dark gradient overlay so text stays legible */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(10, 11, 13, 0.82) 0%,
    rgba(10, 11, 13, 0.68) 50%,
    rgba(10, 11, 13, 0.35) 100%
  );
}

/* Left edge accent line */
.hero::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--orange) 30%, var(--orange) 70%, transparent);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  padding-top: var(--nav-h);
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--orange);
  background: rgba(232,119,34,0.1);
  border: 1px solid rgba(232,119,34,0.25);
  padding: 8px 16px;
  border-radius: 2px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--orange);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 8px var(--orange); }
  50%       { box-shadow: 0 0 16px var(--orange), 0 0 32px rgba(232,119,34,0.4); }
}

.hero-title {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(3.2rem, 7.5vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 24px;
  text-shadow: 0 4px 40px rgba(0,0,0,0.6);
}
.hero-title-accent {
  color: var(--orange);
  display: inline-block;
  position: relative;
}
.hero-title-accent::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  opacity: 0.5;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 300;
  color: rgba(212, 219, 232, 0.85);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.hero-spec {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.spec-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.spec-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: var(--steel-400);
}
.spec-val {
  font-family: var(--font-cond);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--steel-200);
  letter-spacing: 0.04em;
}
.spec-divider {
  color: var(--border-med);
  font-size: 1.2rem;
  font-weight: 100;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--steel-400);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
}
.scroll-indicator {
  width: 1px;
  height: 48px;
  background: var(--border-med);
  overflow: hidden;
  border-radius: 1px;
}
.scroll-line {
  width: 100%;
  height: 50%;
  background: var(--orange);
  animation: scroll-anim 1.8s ease-in-out infinite;
}
@keyframes scroll-anim {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--steel-950);
  box-shadow: 0 0 0 0 rgba(232,119,34,0);
}
.btn-primary:hover {
  background: #f08830;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232,119,34,0.45);
}
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--steel-200);
  border: 1px solid var(--border-med);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.10);
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* ─────────────────────────────────────────────────────────
   ABOUT SECTION
───────────────────────────────────────────────────────── */
.about-section {
  padding: 8rem 0 4rem;
  background-color: var(--steel-950);
}

.about-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.about-license {
  font-size: 1rem;
  color: var(--orange);
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 auto;
}

/* ─────────────────────────────────────────────────────────
   STATS SECTION
───────────────────────────────────────────────────────── */
.stats-section {
  background: var(--steel-850);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--orange-dim), transparent 40%, transparent 60%, var(--orange-dim));
  pointer-events: none;
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 52px 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 16px 12px;
}
.stat-number {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat-suffix {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--orange);
  line-height: 1;
  vertical-align: super;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel-400);
}
.stat-divider {
  width: 1px;
  height: 64px;
  background: var(--border);
  margin: 0 8px;
}

/* ─────────────────────────────────────────────────────
   SECTION SHARED
───────────────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.tag-line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--orange);
}
.section-title {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─────────────────────────────────────────────────────
   SERVICES
───────────────────────────────────────────────────── */
.services-section {
  background: var(--steel-950);
  padding: 120px 0;
  position: relative;
}
.services-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange) 50%, transparent);
  opacity: 0.3;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-card {
  background: var(--steel-900);
  padding: 40px 36px;
  position: relative;
  transition: background 0.3s ease;
  cursor: default;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { background: var(--steel-850); }
.service-card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 48px; height: 48px;
  color: var(--steel-500);
  transition: color 0.3s ease;
  flex-shrink: 0;
}
.service-card:hover .card-icon { color: var(--steel-300); }
.card-icon svg { width: 100%; height: 100%; }

.card-number {
  position: absolute;
  top: 32px; right: 32px;
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  transition: color 0.3s ease;
}
.service-card:hover .card-number { color: rgba(232,119,34,0.08); }

.card-title {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
}
.card-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.card-tags span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--orange);
  background: var(--orange-dim);
  border: 1px solid rgba(232,119,34,0.15);
  padding: 3px 8px;
  border-radius: 2px;
}
.card-arrow {
  font-size: 1.2rem;
  color: var(--orange);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin-top: 4px;
}
.service-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ─────────────────────────────────────────────────────
   WHO WE SERVE
───────────────────────────────────────────────────── */
.wws-section {
  background: var(--steel-900);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.wws-bg-accent {
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,119,34,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.wws-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wws-card {
  background: var(--steel-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.wws-card:hover {
  border-color: rgba(232,119,34,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}
.wws-card-featured {
  border-color: rgba(232,119,34,0.25);
  background: linear-gradient(160deg, var(--steel-800), rgba(232,119,34,0.05));
  box-shadow: 0 0 0 1px rgba(232,119,34,0.15);
}
.wws-card-featured:hover {
  border-color: rgba(232,119,34,0.5);
  box-shadow: 0 12px 48px rgba(232,119,34,0.15);
}

.wws-card-inner {
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.wws-number {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 4rem;
  color: rgba(232,119,34,0.10);
  line-height: 1;
  margin-bottom: 16px;
  transition: color 0.3s ease;
}
.wws-card:hover .wws-number { color: rgba(232,119,34,0.18); }
.wws-icon {
  width: 64px; height: 64px;
  margin-bottom: 24px;
}
.wws-icon svg { width: 100%; height: 100%; }

.wws-card h3 {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.wws-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.wws-benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
  flex: 1;
}
.wws-benefits li {
  font-size: 0.88rem;
  color: var(--steel-300);
  padding-left: 16px;
  position: relative;
}
.wws-benefits li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-size: 0.75rem;
}
.wws-link {
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--steel-400);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
  margin-top: auto;
}
.wws-link:hover { color: var(--orange); border-color: var(--orange); }
.wws-link-featured { color: var(--orange); border-color: rgba(232,119,34,0.4); }
.wws-link-featured:hover { border-color: var(--orange); }

/* ─────────────────────────────────────────────────────
   CONTACT CTA
───────────────────────────────────────────────────── */
.contact-section {
  background: var(--steel-950);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}
.contact-angled-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(232,119,34,0.04) 0%, transparent 50%),
    linear-gradient(315deg, rgba(232,119,34,0.03) 0%, transparent 50%);
  pointer-events: none;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange) 50%, transparent);
  opacity: 0.3;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-title {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 20px;
}
.contact-title .accent { color: var(--orange); }
.contact-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--steel-500);
}
.contact-value {
  font-size: 1rem;
  color: var(--steel-200);
  font-weight: 500;
  transition: color 0.2s ease;
}
a.contact-value:hover { color: var(--orange); }

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  color: var(--steel-400);
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--steel-850);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 12px 14px;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%236b7a93' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--steel-500); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,119,34,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: 0.75rem;
  color: var(--steel-500);
  text-align: center;
}
.form-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(232,119,34,0.08);
  border: 1px solid rgba(232,119,34,0.25);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--orange);
}
.form-success.visible { display: flex; }

/* ─────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────── */
.footer {
  background: var(--steel-900);
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo-primary {
  font-family: var(--font-cond);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--white);
  display: block;
}
.footer-logo-secondary {
  font-family: var(--font-cond);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--orange);
  display: block;
}
.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.footer-certs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cert-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--steel-400);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 2px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 0.88rem;
  color: var(--steel-400);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--steel-500);
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--steel-500);
}
.footer-legal a:hover { color: var(--steel-300); }

/* ─────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .wws-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; gap: 56px; }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-menu {
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: var(--steel-950);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 999;
    border-top: 1px solid var(--border);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .nav-link { width: 100%; padding: 12px 8px; font-size: 1.1rem; }
  .nav-cta { width: 100%; text-align: center; padding: 14px 22px; justify-content: center; font-size: 1rem; }

  .hero-content { padding: 0 20px; padding-top: var(--nav-h); }
  .hero-actions { flex-direction: column; gap: 12px; }
  .hero-spec { flex-direction: column; align-items: flex-start; gap: 12px; }
  .spec-divider { display: none; }

  .stats-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .stat-divider { display: none; }
  .stat-item { border-bottom: 1px solid var(--border); }

  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .container { padding: 0 20px; }
  .services-section, .wws-section, .contact-section { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }
  .wws-card-inner { padding: 32px 24px; }
  .service-card { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.8rem; }
  .footer-links { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────
   MODALS (PRIVACY & TERMS)
───────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 13, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--steel-900);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.8);
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--steel-400);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.modal-body {
  padding: 48px;
  overflow-y: auto;
  color: var(--text-muted);
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}
.modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.modal-body::-webkit-scrollbar-thumb {
  background: var(--steel-700);
  border-radius: 4px;
}
.modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--steel-500);
}

.modal-body h3 {
  font-family: var(--font-cond);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-body h4 {
  font-family: var(--font-cond);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  margin-top: 32px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.modal-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.modal-body strong {
  color: var(--steel-200);
}

@media (max-width: 600px) {
  .modal-body {
    padding: 32px 24px;
  }
}
