/* =========================================================
   NORDEXA INDUSTRIAL SOLUTIONS — SHARED STYLESHEET
   Warm Industrial / Precision-Craft Design Language
   ========================================================= */

/* ── Custom Properties ── */
:root {
  /* Palette */
  --bg:          #f4f0e8;
  --bg-2:        #e9e4d6;
  --surface:     #ffffff;
  --surface-2:   #f8f5ef;
  --line:        rgba(20,30,45,0.10);
  --line-strong: rgba(20,30,45,0.20);

  /* Text */
  --text:        #1a2535;
  --headline:    #0e1924;
  --muted:       #65614f;
  --muted-2:     #9a9282;

  /* Accent — Industrial Rust */
  --accent:      #c4511c;
  --accent-h:    #d9622a;
  --accent-bg:   rgba(196,81,28,0.08);

  /* Accent — Steel Blue */
  --steel:       #2b4560;
  --steel-h:     #3a5c7a;
  --steel-bg:    rgba(43,69,96,0.08);

  /* Status */
  --green:       #2d6e48;
  --green-bg:    rgba(45,110,72,0.10);

  /* Typography */
  --font-d:  "Space Grotesk", system-ui, sans-serif;
  --font-b:  "Inter", system-ui, sans-serif;

  /* Layout */
  --maxw:    1240px;
  --radius:  12px;
  --radius-s: 8px;
  --radius-l: 20px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: var(--font-d); letter-spacing: -.015em; line-height: 1.12; color: var(--headline); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: var(--font-b); cursor: pointer; }
section { position: relative; }

/* ── Layout helpers ── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.sec { padding: 96px 0; }
.sec-sm { padding: 64px 0; }
.sec-xs { padding: 48px 0; }

.sec-head { max-width: 680px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 700; margin: 16px 0 14px; }
.sec-head p { font-size: 17px; color: var(--muted); }

/* ── Eyebrow ── */
.eyebrow {
  font-family: var(--font-d);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--accent); display: inline-block; flex-shrink: 0; }
.eyebrow.center { justify-content: center; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: var(--radius-s);
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s, border-color .2s, color .2s;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

/* Primary — accent rust */
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-h); border-color: var(--accent-h); }

/* Steel — dark blue */
.btn-steel { background: var(--steel); color: #fff; border-color: var(--steel); }
.btn-steel:hover { background: var(--steel-h); border-color: var(--steel-h); }

/* Ghost — outlined */
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--steel); color: var(--steel); background: var(--steel-bg); }

/* Light (for dark bg) */
.btn-light { background: #fff; color: var(--headline); border-color: #fff; }
.btn-light:hover { background: var(--bg); border-color: var(--bg); }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn-lg { padding: 15px 26px; font-size: 16px; }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(244,240,232,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 20px rgba(20,30,45,0.07);
  background: rgba(244,240,232,0.95);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { width: 38px; height: 38px; }
.brand-name {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .03em;
  color: var(--headline);
}
.brand-name span { color: var(--accent); }
.brand-sub {
  display: block;
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: -2px;
}

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-item { position: relative; }
.nav-link {
  font-family: var(--font-d);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: var(--radius-s);
  border: none;
  background: none;
  transition: color .2s, background .2s;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--headline); background: var(--line); }

.chevron { font-size: 10px; transition: transform .2s; }
.nav-item.open .chevron { transform: rotate(180deg); }

/* Mega panel */
.mega-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(20,30,45,0.12);
  min-width: 560px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity .2s ease, transform .2s ease;
}
.mega-panel.wide { min-width: 640px; grid-template-columns: repeat(4, 1fr); }
.nav-item.open .mega-panel {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.mega-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s;
}
.mega-item:hover { background: var(--bg); border-color: var(--line); }
.mega-item-ico { font-size: 20px; margin-bottom: 6px; }
.mega-item-title { font-family: var(--font-d); font-size: 14px; font-weight: 600; color: var(--headline); }
.mega-item-desc { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.lang-switch { display: flex; align-items: center; gap: 6px; font-family: var(--font-d); font-size: 13px; font-weight: 600; }
.lang-btn { background: none; border: none; padding: 4px 6px; border-radius: 6px; color: var(--muted); font-family: var(--font-d); font-size: 13px; font-weight: 600; transition: color .2s, background .2s; text-decoration: none; cursor: pointer; display: inline-block; }
.lang-btn.active { color: var(--headline); }
.lang-btn:hover { background: var(--line); color: var(--text); }
.lang-sep { color: var(--line-strong); }

/* Burger */
.burger {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  padding: 8px;
  color: var(--text);
}

/* =====================================================
   HERO
   ===================================================== */
.hero { padding: 140px 0 80px; overflow: hidden; }
.hero-wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow { margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 32px; line-height: 1.7; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }

.trust-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.trust-badge {
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 14px;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-badge::before { content: "✓"; color: var(--green); font-size: 11px; }

/* Hero image side */
.hero-media { position: relative; }
.hero-img-wrap {
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-2);
  position: relative;
}
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Placeholder when no image */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--bg-2) 0%, #d8d0bc 100%);
  color: var(--muted-2);
  font-family: var(--font-d);
  font-size: 13px;
  text-align: center;
  padding: 24px;
}
.img-placeholder-icon { font-size: 40px; opacity: .5; }

/* Badge floats */
.badge-float {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 20px rgba(20,30,45,0.10);
  backdrop-filter: blur(6px);
}
.badge-float .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-green { background: var(--green); box-shadow: 0 0 0 3px var(--green-bg); }
.dot-steel { background: var(--steel); box-shadow: 0 0 0 3px var(--steel-bg); }
.badge-float strong { font-family: var(--font-d); font-size: 13px; font-weight: 700; color: var(--headline); display: block; }
.badge-float span { font-size: 11.5px; color: var(--muted); }
.bf-1 { top: 10%; left: -6%; }
.bf-2 { bottom: 12%; right: -5%; }

/* =====================================================
   CLIENTS STRIP
   ===================================================== */
.clients-strip {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.clients-strip-inner { display: flex; align-items: center; gap: 40px; }
.clients-label { font-family: var(--font-d); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; flex-shrink: 0; }
.clients-row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.client-logo {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 16px;
  color: var(--muted-2);
  letter-spacing: .02em;
  transition: color .25s;
  white-space: nowrap;
}
.client-logo:hover { color: var(--text); }

/* =====================================================
   STATS BAR
   ===================================================== */
.stats-bar { padding: 64px 0; background: var(--bg-2); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.4fr;
  gap: 0;
}
.stat {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 52px;
  color: var(--headline);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-num .accent { color: var(--accent); }
.stat-label { font-size: 14px; color: var(--muted); }

.stat-quote-block { padding: 32px 28px; }
.stat-quote {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 500;
  color: var(--headline);
  line-height: 1.5;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-bottom: 12px;
}
.stat-by { font-size: 13px; color: var(--muted); padding-left: 19px; }

/* =====================================================
   SOLUTIONS
   ===================================================== */
.solutions { background: var(--bg); }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.sol-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.sol-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(20,30,45,0.10);
  border-color: var(--line-strong);
}

.sol-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
}
.sol-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.sol-card:hover .sol-card-img img { transform: scale(1.04); }

.sol-card-body { padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sol-card-body h3 { font-size: 20px; font-weight: 700; }
.sol-card-body p { font-size: 14.5px; color: var(--muted); flex: 1; }
.sol-meta { font-family: var(--font-d); font-size: 12px; color: var(--muted-2); border-top: 1px solid var(--line); padding-top: 12px; }
.sol-link { font-family: var(--font-d); font-size: 14px; font-weight: 600; color: var(--steel); display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.sol-card:hover .sol-link { gap: 10px; }

/* =====================================================
   INDUSTRIES
   ===================================================== */
.industries { background: var(--surface-2); }
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ind-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.ind-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(20,30,45,0.09);
  border-color: var(--accent);
}
.ind-card-img {
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--bg-2);
}
.ind-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ind-card:hover .ind-card-img img { transform: scale(1.06); }

.ind-card-body { padding: 20px; }
.ind-card-ico { font-size: 24px; margin-bottom: 10px; }
.ind-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.ind-card p { font-size: 13px; color: var(--muted); }
.ind-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-d); font-size: 13px; font-weight: 600;
  color: var(--steel); margin-top: 12px;
  transition: gap .2s;
}
.ind-card:hover .ind-link { gap: 10px; }

/* =====================================================
   CASE STUDY FEATURE
   ===================================================== */
.case-study-feature { background: var(--bg); }
.case-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.case-img {
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-2);
}
.case-img img { width: 100%; height: 100%; object-fit: cover; }

.case-body { display: flex; flex-direction: column; gap: 20px; }
.case-body h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 700; }
.case-body p { font-size: 16px; color: var(--muted); }

.case-results { display: flex; gap: 24px; }
.result-item {
  display: flex; flex-direction: column;
  font-family: var(--font-d);
}
.result-item .result-num { font-size: 36px; font-weight: 700; color: var(--accent); line-height: 1; }
.result-item .result-label { font-size: 12.5px; color: var(--muted); margin-top: 4px; }

/* =====================================================
   WHY NORDEXA
   ===================================================== */
.why-nordexa { background: var(--bg-2); }
.why-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}
.why-pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.why-pillar::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--steel));
}
.why-num {
  font-family: var(--font-d);
  font-size: 48px;
  font-weight: 700;
  color: var(--line-strong);
  line-height: 1;
  margin-bottom: 16px;
}
.why-pillar h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.why-pillar p { font-size: 14.5px; color: var(--muted); }

.why-quote-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.why-quote-block blockquote {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 500;
  color: var(--headline);
  line-height: 1.5;
  flex: 1;
}
.why-quote-block cite { font-size: 13px; color: var(--muted); font-style: normal; display: block; margin-top: 10px; }

/* =====================================================
   PROCESS STRIP
   ===================================================== */
.process-sec { background: var(--surface); }
.steps-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}
.steps-row::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: var(--line);
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.step h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--muted); }

/* =====================================================
   CLIENTS FULL
   ===================================================== */
.clients-sec { background: var(--bg); }
.clients-full-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 36px; }
.client-pill {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 17px;
  color: var(--muted-2);
  padding: 14px 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  transition: color .25s, border-color .25s, box-shadow .25s;
}
.client-pill:hover { color: var(--headline); border-color: var(--line-strong); box-shadow: 0 4px 16px rgba(20,30,45,0.07); }
.client-pill .reg { color: var(--steel); font-size: 11px; vertical-align: super; }

.markets-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.market-tag {
  font-family: var(--font-d);
  font-size: 14px;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.market-pin { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* =====================================================
   CTA BAND (the ONE dark section)
   ===================================================== */
.cta-band {
  background: var(--headline);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 52px 52px;
}
.cta-band-inner { position: relative; z-index: 1; text-align: center; max-width: 700px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.8vw, 44px); font-weight: 700; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.65); font-size: 18px; margin-bottom: 32px; }
.cta-band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   CONTACT MINI
   ===================================================== */
.contact-mini { background: var(--surface-2); }
.contact-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.ci {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ci-ico {
  width: 40px; height: 40px;
  background: var(--accent-bg);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.ci-label { font-family: var(--font-d); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 3px; }
.ci-value { font-size: 16px; color: var(--text); }

/* Contact form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { font-family: var(--font-d); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 7px; }
input, textarea, select {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-b);
  font-size: 15px;
  transition: border-color .2s, background .2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--steel);
  background: var(--surface);
}
textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 12px; color: var(--muted-2); text-align: center; }
.form-success { color: var(--green); font-family: var(--font-d); font-size: 14px; font-weight: 600; text-align: center; display: none; }

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: var(--headline);
  color: rgba(255,255,255,.75);
  padding: 64px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 28px;
}
footer .brand-name { color: #fff; }
footer .brand-sub { color: rgba(255,255,255,.4); }
.foot-about { font-size: 14px; color: rgba(255,255,255,.5); margin-top: 16px; max-width: 280px; line-height: 1.6; }
.foot-col h5 {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}
.foot-col a { display: block; font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 10px; transition: color .2s; }
.foot-col a:hover { color: #fff; }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.3);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .hero-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 520px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat-quote-block { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .solutions-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .case-split { grid-template-columns: 1fr; gap: 36px; }
  .why-pillars { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  .steps-row::before { display: none; }
  .step { align-items: flex-start; text-align: left; }
  .contact-mini-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav, .nav-actions .btn-primary, .lang-switch { display: none; }
  .burger { display: flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    box-shadow: 0 8px 32px rgba(20,30,45,0.10);
  }
  .main-nav.open .nav-link { width: 100%; padding: 14px 24px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .main-nav.open .mega-panel { position: static; transform: none; opacity: 1; pointer-events: all; border: 0; border-radius: 0; box-shadow: none; background: var(--bg); min-width: 0; padding: 8px 12px; grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .ind-grid { grid-template-columns: 1fr; }
  .why-pillars { grid-template-columns: 1fr; }
  .case-results { flex-wrap: wrap; }
  .clients-strip-inner { flex-direction: column; gap: 20px; }
  .clients-row { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .bf-1, .bf-2 { display: none; }
  .sec { padding: 64px 0; }
}

@media (max-width: 480px) {
  .steps-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero { padding: 110px 0 56px; }
}
