/* ======================================
   NVIJA — Design Tokens & Styles
   Font: Clash Display (display) + Satoshi (body)
   Palette: Dark slate with teal accent
   ====================================== */

:root {
  /* Typography */
  --font-display: 'Clash Display', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;

  --text-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.8125rem, 0.78rem + 0.15vw, 0.875rem);
  --text-base: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl:   clamp(1.375rem, 1.1rem + 1.1vw, 2rem);
  --text-2xl:  clamp(1.75rem, 1rem + 2.8vw, 3.25rem);
  --text-3xl:  clamp(2.25rem, 0.8rem + 4.5vw, 4.5rem);

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Colors — dark palette with warm undertone, teal accent */
  --bg: #0c0c0d;
  --surface: #141416;
  --surface-2: #1a1a1d;
  --surface-3: #212124;

  --text: #eae8e3;
  --text-soft: #c2bfb8;
  --text-muted: #8a8780;
  --text-faint: #5a5854;

  --accent: #0f6e56;
  --accent-light: #3db890;
  --accent-subtle: rgba(15, 110, 86, 0.12);

  --warm: #c4713b;
  --warm-subtle: rgba(196, 113, 59, 0.12);

  --border: rgba(255,255,255,0.06);
  --border-md: rgba(255,255,255,0.10);
  --border-strong: rgba(255,255,255,0.15);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

img, picture, video, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.12; }
p, li, figcaption { text-wrap: pretty; }

a, button, input, textarea, select {
  transition: color var(--transition-interactive),
              background var(--transition-interactive),
              border-color var(--transition-interactive),
              box-shadow var(--transition-interactive),
              transform var(--transition-interactive);
}

::selection {
  background: rgba(61, 184, 144, 0.25);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

/* ===== UTILITY ===== */
.text-accent { color: var(--accent-light); }
.container { max-width: 1060px; margin: 0 auto; }
section { padding: clamp(var(--space-16), 8vw, var(--space-24)) clamp(var(--space-5), 4vw, var(--space-10)); }

.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.section-headline {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: var(--space-8);
}

/* ===== FADE IN (opacity only, no CLS) ===== */
.fade-in {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out);
}
.fade-in.visible { opacity: 1; }

/* Stagger children in grids */
.fade-in:nth-child(2) { transition-delay: 0.08s; }
.fade-in:nth-child(3) { transition-delay: 0.16s; }
.fade-in:nth-child(4) { transition-delay: 0.24s; }

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 60px;
  padding: 0 clamp(var(--space-5), 4vw, var(--space-10));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(12, 12, 13, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
nav.hidden { transform: translateY(-100%); }
nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.25); }

.nav-logo { color: var(--text); text-decoration: none; display: flex; align-items: center; }

.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: -0.03em;
  color: var(--text);
}
.logo-text-sm { font-size: 1.125rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--text) !important;
  padding: var(--space-2) var(--space-5) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 500 !important;
}
.nav-cta:hover { background: #0b5e49 !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(60px + var(--space-16));
  position: relative;
}
#hero::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(15,110,86,0.1) 0%, rgba(12,12,13,0) 65%);
  pointer-events: none;
}

.hero-handle {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.hero-handle::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--accent-light);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: var(--space-6);
}
.hero-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(234,232,227,0.5);
}

.hero-body {
  font-size: var(--text-base);
  font-weight: 300;
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: var(--space-10);
}
.hero-body strong { color: var(--text); font-weight: 500; }

.cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--accent);
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: #0b5e49; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: transparent;
  color: var(--text-soft);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 400;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-md);
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--border-strong); color: var(--text); transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(0); }

.btn-full { width: 100%; justify-content: center; text-align: center; }

.hero-stats {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-16);
  padding-top: var(--space-10);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-1);
}
.hero-stat-label {
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 400;
}

/* ===== PROBLEM ===== */
#problem { background: var(--bg); }
#problem .section-headline { max-width: 680px; }

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.problem-grid .problem-card:last-child {
  grid-column: 1 / -1;
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-6);
}
.problem-card:hover { border-color: var(--border-md); }

.problem-num {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: var(--space-4);
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-3);
  color: var(--text);
}
.problem-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ===== PILLARS ===== */
#pillars {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pillars-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-12);
  gap: var(--space-8);
}
.pillars-subtitle {
  font-size: var(--text-sm);
  color: var(--text-muted);
  max-width: 300px;
  text-align: right;
  font-weight: 300;
  line-height: 1.65;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.pillar-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5) var(--space-5);
}
.pillar-card:hover { transform: translateY(-2px); border-color: var(--border-md); }

.pillar-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: var(--space-1) var(--space-2);
  border-radius: 4px;
  margin-bottom: var(--space-5);
  background: var(--accent-subtle);
  color: var(--accent-light);
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text);
}
.pillar-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
}

.pillar-items {
  margin-top: var(--space-4);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.pillar-items li {
  font-size: var(--text-xs);
  color: var(--text-faint);
  line-height: 1.5;
  padding-left: var(--space-3);
  position: relative;
}
.pillar-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-light);
  opacity: 0.5;
}

/* Pillar color accents via data attributes */
[data-pillar="mind"] .pillar-badge { background: rgba(61,184,144,0.12); color: #3db890; }
[data-pillar="structure"] .pillar-badge { background: rgba(99,142,200,0.12); color: #638ec8; }
[data-pillar="engine"] .pillar-badge { background: rgba(196,113,59,0.12); color: #c4713b; }
[data-pillar="power"] .pillar-badge { background: rgba(180,155,80,0.12); color: #b49b50; }

/* ===== TRUST ===== */
#trust { background: var(--bg); }

.trust-sub {
  font-size: var(--text-base);
  color: var(--text-muted);
  font-weight: 300;
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: var(--space-12);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.trust-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}
.trust-card:hover { border-color: var(--border-md); }

.trust-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--text);
}
.trust-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

.trust-card-wide {
  grid-column: 1 / 2;
}

.trust-quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-10);
  margin: 0;
}
.trust-quote p {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: var(--space-4);
}
.trust-quote cite {
  font-style: normal;
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 300;
}

/* ===== PHILOSOPHY ===== */
#philosophy {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.philosophy-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.philosophy-quote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: var(--space-6);
}
.philosophy-body {
  font-size: var(--text-base);
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: var(--space-10);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}
.tag {
  font-size: var(--text-xs);
  font-weight: 400;
  padding: var(--space-1) var(--space-4);
  border-radius: 20px;
  border: 1px solid var(--border-md);
  color: var(--text-muted);
}

/* ===== OFFERS ===== */
#offers { background: var(--bg); }

.offers-sub {
  font-size: var(--text-base);
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: var(--space-12);
}

.offers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  max-width: 720px;
}

.offer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
}
.offer-card:hover { transform: translateY(-2px); }

.offer-featured {
  border-color: rgba(61, 184, 144, 0.25);
  background: rgba(15, 110, 86, 0.04);
}

.offer-badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: 4px;
  margin-bottom: var(--space-6);
  align-self: flex-start;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted);
}
.offer-badge-accent {
  background: var(--accent-subtle);
  color: var(--accent-light);
}

.offer-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: var(--text);
}
.offer-price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-4);
  margin-top: var(--space-1);
  color: var(--text);
}
.offer-card > p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  font-weight: 300;
  margin-bottom: var(--space-6);
}

.offer-items {
  list-style: none;
  margin-bottom: var(--space-6);
}
.offer-items li {
  font-size: var(--text-sm);
  color: var(--text-soft);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 300;
}
.offer-items li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--accent-light);
  opacity: 0.6;
}

/* ===== POSITIONING ===== */
#positioning {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.not-is-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  margin-top: var(--space-8);
}

.not-is-heading {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}
.not-heading { color: var(--warm); }
.is-heading { color: var(--accent-light); }

.not-is-list {
  list-style: none;
}
.not-is-list li {
  font-size: var(--text-base);
  color: var(--text-soft);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 300;
}

.marker {
  font-weight: 700;
  font-size: var(--text-base);
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.marker-not { color: var(--warm); }
.marker-is { color: var(--accent-light); }

/* ===== CONTACT ===== */
#contact { background: var(--bg); }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: start;
}

.contact-sub {
  font-size: var(--text-base);
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: var(--space-8);
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact-link {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  text-decoration: none;
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
}
.contact-link:hover { border-color: var(--border-md); transform: translateX(3px); }

.cl-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cl-icon-email { background: var(--accent-subtle); color: var(--accent-light); }
.cl-icon-ig { background: var(--warm-subtle); color: var(--warm); }
.cl-icon-cal { background: var(--accent-subtle); color: var(--accent-light); }

.cl-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 2px;
}
.cl-value {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-soft);
}

/* ===== FORM ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-group label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea {
  background: var(--surface);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 300;
  color: var(--text);
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-faint); }
.form-group input:focus,
.form-group textarea:focus { border-color: rgba(61, 184, 144, 0.4); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: var(--text-xs);
  color: var(--text-faint);
  text-align: center;
  font-weight: 300;
}

.form-success {
  display: none;
  background: rgba(15,110,86,0.08);
  border: 1px solid rgba(61,184,144,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
}
.form-success h4 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: var(--space-2);
}
.form-success p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 300;
}

/* Submit disabled */
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ===== FINAL CTA ===== */
#cta {
  background: var(--bg);
  padding: clamp(var(--space-20), 10vw, var(--space-32)) clamp(var(--space-5), 4vw, var(--space-10));
}

.cta-inner { text-align: center; max-width: 660px; }

.cta-eyebrow {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: var(--space-5);
  display: block;
}
.cta-headline {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--space-5);
  color: var(--text);
}
.cta-sub {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: var(--space-10);
  font-weight: 300;
  line-height: 1.7;
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer {
  padding: var(--space-8) clamp(var(--space-5), 4vw, var(--space-10));
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-logo { color: var(--text); text-decoration: none; display: flex; align-items: center; }

.footer-links {
  display: flex;
  gap: var(--space-6);
}
.footer-links a {
  font-size: var(--text-sm);
  color: var(--text-faint);
  text-decoration: none;
  font-weight: 300;
}
.footer-links a:hover { color: var(--text-muted); }

.footer-right {
  font-size: var(--text-xs);
  color: var(--text-faint);
  font-weight: 300;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0; right: 0;
    background: rgba(12,12,13,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: var(--space-8) var(--space-6);
    gap: var(--space-5);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s var(--ease-out), opacity 0.25s var(--ease-out);
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { font-size: var(--text-base); color: var(--text-soft); }
  .nav-toggle { display: flex; }

  .problem-grid,
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card-wide { grid-column: auto; }

  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .pillars-header { flex-direction: column; align-items: flex-start; gap: var(--space-3); }
  .pillars-subtitle { text-align: left; max-width: 100%; }

  .offers-grid,
  .not-is-grid { grid-template-columns: 1fr; }

  .hero-stats { gap: var(--space-6); }

  .contact-wrapper { grid-template-columns: 1fr; gap: var(--space-12); }
  .form-row { grid-template-columns: 1fr; }

  .trust-quote { padding: var(--space-6); }

  footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-grid .problem-card:last-child { grid-column: auto; }
}
