/* ==========================================================================
   YEVESE TUJERE — NEON TERMINAL
   Table of contents:
   1. Tokens
   2. Reset & base
   3. Layout utilities
   4. Overlay / scanlines
   5. Header & flip mobile nav
   6. Buttons
   7. Hero / stage
   8. Gallery / quad grid sections
   9. Split & intro sections
   10. Calculator
   11. FAQ accordion
   12. Dual CTA
   13. Footer
   14. Forms & wizard
   15. Legal pages
   16. Cookie consent
   17. Thanks page
   18. Media queries
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */
:root {
  --canvas-bg: #0a0d0e;
  --canvas-bg-alt: #0f1416;
  --surface: #131a1c;
  --surface-raised: #182022;
  --surface-border: rgba(57, 255, 156, 0.14);
  --surface-border-strong: rgba(57, 255, 156, 0.28);

  --text-primary: #e7ece9;
  --text-secondary: #9fb0ac;
  --text-muted: #6c7d79;
  --text-on-accent: #06110d;

  --accent-green: #39ff9c;
  --accent-green-dim: #23c477;
  --accent-cyan: #4fe0ff;
  --accent-magenta: #ff5fc4;

  --font-head: 'Unbounded', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 999px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.25rem;
  --space-5: 3.5rem;
  --space-6: 5rem;
  --space-7: 7rem;
  --space-8: 9rem;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.45);
  --shadow-md: 0 10px 24px -8px rgba(0,0,0,0.55), 0 2px 6px rgba(0,0,0,0.4);
  --shadow-lg: 0 30px 60px -20px rgba(0,0,0,0.6), 0 10px 20px -12px rgba(0,0,0,0.45);
  --shadow-glow-green: 0 0 0 1px rgba(57,255,156,0.3), 0 0 30px rgba(57,255,156,0.16);
  --shadow-glow-cyan: 0 0 0 1px rgba(79,224,255,0.25), 0 0 26px rgba(79,224,255,0.14);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. Reset & base
   ========================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--canvas-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--text-primary); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }

.section-title {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}
.section-sub {
  color: var(--text-secondary);
  max-width: 640px;
  font-size: 1.05rem;
}
.text-accent { color: var(--accent-green); }

/* 3. Layout utilities
   ========================================================================== */
.canvas { position: relative; z-index: 2; }
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 var(--space-3); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-green);
  border: 1px solid var(--surface-border-strong);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(57,255,156,0.06);
  margin-bottom: var(--space-3);
}
.eyebrow-alt { color: var(--accent-cyan); border-color: rgba(79,224,255,0.28); background: rgba(79,224,255,0.06); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent-green);
  font-weight: 600;
  margin-top: var(--space-2);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-arrow:hover { gap: 1rem; color: var(--accent-cyan); }

.img-framed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.img-framed:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--shadow-lg), var(--shadow-glow-green); }

/* 4. Overlay / scanlines
   ========================================================================== */
.stage-curtain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0px, rgba(255,255,255,0.018) 1px, transparent 1px, transparent 3px),
    linear-gradient(rgba(57,255,156,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57,255,156,0.025) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  opacity: 0.6;
}

/* 5. Header & flip mobile nav
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(10,13,14,0.85); backdrop-filter: blur(14px); }
.header-flip-wrap { perspective: 1400px; }
.header-flip-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease);
}
.header-flip-inner.is-flipped { transform: rotateX(180deg); }

.header-face { backface-visibility: hidden; }
.header-face-front { position: relative; z-index: 2; }
.header-face-back {
  position: absolute;
  inset: 0;
  transform: rotateX(180deg);
  background: var(--surface);
  z-index: 1;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  position: relative;
}
.header-bar::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-green);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.5s var(--ease);
  opacity: 0.6;
}
.site-header.is-scrolled .header-bar::after { transform: translateX(-50%) scaleX(1); }

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-logo { width: 34px; height: 34px; }
.brand-name { font-family: var(--font-head); font-size: 1rem; font-weight: 600; letter-spacing: 0.01em; }
.brand-accent { color: var(--accent-green); }

.nav-desktop { display: flex; align-items: center; gap: var(--space-3); }
.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--accent-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--accent-green);
  color: var(--text-on-accent) !important;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--accent-cyan); }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; }
.hamburger span { width: 22px; height: 2px; background: var(--accent-green); border-radius: 2px; transition: all 0.3s var(--ease); }

.drawer-inner { padding: var(--space-4) var(--space-3); position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; min-height: 320px; }
.drawer-close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; font-size: 1.3rem; color: var(--accent-green); }
.drawer-nav { display: flex; flex-direction: column; gap: 1.1rem; }
.drawer-nav a {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--text-primary);
  display: flex; align-items: center; gap: 0.8rem;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.drawer-nav a span { font-size: 0.75rem; color: var(--accent-green); font-family: var(--font-body); }
.drawer-nav a:hover { color: var(--accent-green); transform: translateX(6px); }
.drawer-foot { margin-top: var(--space-3); color: var(--text-muted); font-size: 0.85rem; }

/* 6. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 48px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn-primary { background: var(--accent-green); color: var(--text-on-accent); box-shadow: var(--shadow-glow-green); }
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-cyan); box-shadow: var(--shadow-glow-cyan); }
.btn-ghost { border: 1px solid var(--surface-border-strong); color: var(--text-primary); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--accent-green); color: var(--accent-green); transform: translateY(-2px); }
.btn-text { color: var(--text-secondary); }
.btn-text:hover { color: var(--accent-green); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-outline-white { border: 2px solid #fff; color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--text-on-accent); }

/* 7. Hero / stage
   ========================================================================== */
.stage {
  position: relative;
  padding: var(--space-7) 0 var(--space-6);
  overflow: hidden;
}
.stage-inner { padding: var(--space-6) 0 var(--space-5); }

.spotlight-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.5;
}
.orb-a { width: 420px; height: 420px; top: -140px; left: -120px; background: radial-gradient(circle, rgba(57,255,156,0.35), transparent 70%); }
.orb-b { width: 380px; height: 380px; bottom: -160px; right: -100px; background: radial-gradient(circle, rgba(79,224,255,0.3), transparent 70%); }

.stage-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-5); align-items: center; position: relative; z-index: 1; }
.stage-title {
  font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.2rem);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}
.stage-title-md { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.2rem); max-width: 780px; }
.stage-text { color: var(--text-secondary); font-size: 1.1rem; max-width: 560px; margin-bottom: var(--space-4); }
.stage-text-narrow { max-width: 640px; margin-top: var(--space-2); }
.stage-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }

.cursor-blink {
  display: inline-block;
  width: 0.5em;
  color: var(--accent-green);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.terminal-card {
  background: var(--surface);
  border: 1px solid var(--surface-border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), var(--shadow-glow-green);
  overflow: hidden;
}
.terminal-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.1rem; background: var(--surface-raised); border-bottom: 1px solid var(--surface-border); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.terminal-title { margin-left: 0.6rem; font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-body); }
.terminal-body { padding: var(--space-3); font-family: 'Courier New', monospace; font-size: 0.88rem; }
.terminal-body p { margin-bottom: 0.7rem; color: var(--text-secondary); }
.terminal-body .prompt { color: var(--accent-green); margin-right: 0.4rem; }
.terminal-body .out { color: var(--accent-green); opacity: 0.9; }

/* 8. Gallery / quad grid sections
   ========================================================================== */
.gallery { padding: var(--space-6) 0; }
.gallery-head { max-width: 720px; margin-bottom: var(--space-5); }
.gallery-grid { display: grid; gap: var(--space-3); }
.quad-grid { grid-template-columns: repeat(2, 1fr); }

.spotlight {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.spotlight:hover { transform: translateY(-8px); box-shadow: var(--shadow-md), var(--shadow-glow-green); border-color: var(--surface-border-strong); }
.spotlight-index { font-family: var(--font-head); font-size: 0.8rem; color: var(--text-muted); display: block; margin-bottom: var(--space-2); }
.spotlight-icon { font-size: 1.6rem; color: var(--accent-green); margin-bottom: var(--space-2); display: block; }
.spotlight h3 { font-size: 1.25rem; margin-bottom: 0.7rem; }
.spotlight p { color: var(--text-secondary); font-size: 0.98rem; }

.process-grid .process-card { padding-top: var(--space-5); }
.process-num {
  position: absolute;
  top: var(--space-3); right: var(--space-3);
  font-family: var(--font-head);
  font-size: 2.2rem;
  color: var(--surface-border-strong);
}

/* 9. Split & intro sections
   ========================================================================== */
.intro-gallery, .split-gallery { padding: var(--space-6) 0; }
.intro-grid, .split-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--space-5); align-items: center; }
.split-grid-reverse { grid-template-columns: 1.1fr 0.9fr; }
.split-grid-reverse .split-media { order: 2; }
.split-grid-reverse .split-text { order: 1; }
.intro-text p, .split-text p { color: var(--text-secondary); margin-bottom: var(--space-2); }
.check-list { margin-top: var(--space-3); display: flex; flex-direction: column; gap: 0.7rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--text-secondary); }
.check-list i { color: var(--accent-green); margin-top: 0.3rem; }

.closing-gallery { background: var(--surface); border-top: 1px solid var(--surface-border); border-bottom: 1px solid var(--surface-border); }
.closing-grid { max-width: 760px; }
.closing-text p { color: var(--text-secondary); margin: var(--space-2) 0 var(--space-3); }

/* 10. Calculator
   ========================================================================== */
.calculator-gallery { background: var(--canvas-bg-alt); }
.calc-wrap { max-width: 980px; }
.calc-head { max-width: 700px; margin-bottom: var(--space-4); }
.calc-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--surface-border-strong);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  box-shadow: var(--shadow-lg);
}
.calc-form { display: flex; flex-direction: column; gap: var(--space-2); }
.calc-field { display: flex; flex-direction: column; gap: 0.4rem; }
.calc-field label { font-size: 0.85rem; color: var(--text-secondary); }
.calc-field input {
  background: var(--canvas-bg);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  transition: border-color 0.3s var(--ease);
}
.calc-field input:focus { outline: none; border-color: var(--accent-green); }
.calc-submit { margin-top: var(--space-2); }
.calc-result {
  background: var(--canvas-bg);
  border: 1px solid var(--surface-border-strong);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  font-family: 'Courier New', monospace;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-result-label { color: var(--accent-green); font-size: 0.85rem; display: block; margin-bottom: var(--space-2); }
.calc-result-line { color: var(--text-secondary); margin-bottom: 0.6rem; font-size: 0.95rem; }
.calc-result-line strong { color: var(--text-primary); }
.calc-note { color: var(--text-muted); font-size: 0.8rem; margin-top: var(--space-2); font-family: var(--font-body); }

/* 11. FAQ accordion
   ========================================================================== */
.faq-wrap { max-width: 840px; }
.faq-list { display: flex; flex-direction: column; gap: var(--space-2); }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.faq-item:hover { border-color: var(--surface-border-strong); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3);
  text-align: left;
  font-weight: 600;
  font-size: 1rem;
}
.faq-question i { color: var(--accent-green); transition: transform 0.35s var(--ease); }
.faq-question[aria-expanded="true"] i { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
  padding: 0 var(--space-3);
}
.faq-answer p { color: var(--text-secondary); padding-bottom: var(--space-3); }

/* 12. Dual CTA
   ========================================================================== */
.dual-cta { padding: var(--space-6) 0; background: var(--surface); border-top: 1px solid var(--surface-border); }
.dual-cta-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-4); }
.dual-cta-primary {
  background: linear-gradient(135deg, rgba(57,255,156,0.1), rgba(79,224,255,0.05));
  border: 1px solid var(--surface-border-strong);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
}
.dual-cta-primary h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); margin-bottom: var(--space-2); }
.dual-cta-primary p { color: var(--text-secondary); margin-bottom: var(--space-3); max-width: 480px; }
.dual-cta-secondary {
  background: var(--canvas-bg);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex; flex-direction: column; justify-content: center;
}
.dual-cta-secondary h3 { font-size: 1.3rem; margin-bottom: var(--space-2); }
.dual-cta-secondary p { color: var(--text-secondary); margin-bottom: var(--space-3); }

/* 13. Footer
   ========================================================================== */
.site-footer { background: var(--surface-raised); border-top: 1px solid var(--surface-border); padding: var(--space-6) 0 var(--space-4); }
.footer-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-3); }
.footer-brand { justify-content: center; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
.footer-nav a { color: var(--text-secondary); font-size: 0.95rem; transition: color 0.3s var(--ease); }
.footer-nav a:hover { color: var(--accent-green); }
.footer-contact { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); color: var(--text-secondary); font-size: 0.9rem; }
.footer-contact i { color: var(--accent-green); margin-right: 0.4rem; }
.footer-bottom { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--surface-border); width: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); }
.footer-legal a { color: var(--text-muted); font-size: 0.82rem; transition: color 0.3s var(--ease); }
.footer-legal a:hover { color: var(--accent-cyan); }

/* 14. Forms & wizard
   ========================================================================== */
.contact-gallery { padding-top: var(--space-4); }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-4); align-items: start; }
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--surface-border-strong);
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  box-shadow: var(--shadow-lg);
}
.wizard-steps { display: flex; align-items: center; margin-bottom: var(--space-4); }
.wizard-dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--canvas-bg);
  border: 1px solid var(--surface-border-strong);
  color: var(--text-muted);
  font-family: var(--font-head);
  font-size: 0.85rem;
  transition: all 0.4s var(--ease);
}
.wizard-dot.is-active, .wizard-dot.is-done { background: var(--accent-green); color: var(--text-on-accent); border-color: var(--accent-green); }
.wizard-line { flex: 1; height: 1px; background: var(--surface-border-strong); margin: 0 0.5rem; }

.wizard-step { display: none; }
.wizard-step.is-active { display: block; animation: fadeSlide 0.5s var(--ease); }
@keyframes fadeSlide { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: translateX(0); } }
.wizard-step h3 { margin-bottom: var(--space-3); font-size: 1.3rem; }

.form-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: var(--space-2); }
.form-field label { font-size: 0.85rem; color: var(--text-secondary); }
.form-field input, .form-field select, .form-field textarea {
  background: var(--canvas-bg);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  transition: border-color 0.3s var(--ease);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--accent-green); }
.form-checkbox { flex-direction: row; align-items: flex-start; gap: 0.6rem; }
.form-checkbox input { width: 20px; height: 20px; min-width: 20px; margin-top: 0.15rem; accent-color: var(--accent-green); }
.form-checkbox label { font-size: 0.9rem; }
.form-checkbox a { color: var(--accent-green); text-decoration: underline; }

.wizard-actions { display: flex; justify-content: space-between; align-items: center; margin-top: var(--space-3); gap: var(--space-2); }

.contact-side { display: flex; flex-direction: column; gap: var(--space-3); }
.contact-info-card h3 { margin-bottom: var(--space-2); font-size: 1.15rem; }
.contact-info-card p { color: var(--text-secondary); margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.6rem; }
.contact-info-card i { color: var(--accent-green); }
.contact-hours { color: var(--text-muted) !important; font-size: 0.88rem; }
.contact-map-card { padding: var(--space-2); }

.directions-gallery { background: var(--canvas-bg-alt); }

/* 15. Legal pages
   ========================================================================== */
.legal-stage { padding: var(--space-6) 0 var(--space-3); border-bottom: 1px solid var(--surface-border); }
.legal-stage h1 { font-size: clamp(2rem, 1.6rem + 2vw, 3rem); }
.legal-updated { color: var(--text-muted); margin-top: var(--space-2); font-size: 0.9rem; }
.legal-gallery { padding-top: var(--space-5); }
.legal-wrap { max-width: 820px; display: flex; flex-direction: column; gap: var(--space-4); }
.legal-block h2 { font-size: 1.3rem; margin-bottom: var(--space-2); color: var(--accent-green); }
.legal-block p { color: var(--text-secondary); }
.cookie-table { margin-top: var(--space-3); border: 1px solid var(--surface-border-strong); border-radius: var(--radius-md); overflow: hidden; }
.cookie-table-row { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: var(--space-2); padding: 0.8rem 1rem; border-bottom: 1px solid var(--surface-border); font-size: 0.88rem; color: var(--text-secondary); }
.cookie-table-row:last-child { border-bottom: none; }
.cookie-table-head { background: var(--surface); font-weight: 600; color: var(--text-primary); }

/* 16. Cookie consent
   ========================================================================== */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 300;
  width: min(340px, calc(100vw - 40px));
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.55s var(--ease), opacity 0.55s var(--ease);
}
.cookie-consent.is-visible { transform: translateY(0); opacity: 1; }
.cookie-card {
  background: var(--surface);
  border: 1px solid var(--surface-border-strong);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow: var(--shadow-lg), var(--shadow-glow-green);
}
.cookie-icon { font-size: 1.6rem; color: var(--accent-green); margin-bottom: var(--space-2); }
.cookie-message { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: var(--space-3); }
.cookie-actions { display: flex; flex-direction: column; gap: 0.6rem; }
.cookie-settings { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.cookie-settings.is-open { max-height: 600px; margin-top: var(--space-3); }
.cookie-toggle { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: 0.7rem 0; border-bottom: 1px solid var(--surface-border); }
.cookie-toggle strong { font-size: 0.88rem; }
.cookie-toggle p { font-size: 0.78rem; color: var(--text-muted); }
.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; inset: 0; background: var(--canvas-bg); border: 1px solid var(--surface-border-strong); border-radius: var(--radius-full); transition: 0.3s var(--ease); }
.slider::before { content: ''; position: absolute; height: 16px; width: 16px; left: 3px; top: 3px; background: var(--text-muted); border-radius: 50%; transition: 0.3s var(--ease); }
input:checked + .slider { background: rgba(57,255,156,0.2); border-color: var(--accent-green); }
input:checked + .slider::before { transform: translateX(18px); background: var(--accent-green); }

/* 17. Thanks page
   ========================================================================== */
.thanks-stage {
  min-height: 70vh;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-green-dim), #0a3d28);
  color: var(--text-on-accent);
  text-align: center;
  padding: var(--space-6) var(--space-3);
}
.thanks-content { max-width: 620px; }
.thanks-icon { font-size: 2.6rem; margin-bottom: var(--space-3); color: var(--text-on-accent); }
.thanks-content h1 { font-size: clamp(2rem, 1.6rem + 2.4vw, 3.2rem); color: #06110d; margin-bottom: var(--space-3); }
.thanks-content p { color: #0a2b1e; margin-bottom: var(--space-4); font-size: 1.05rem; }
.thanks-content .btn-outline-white { border-color: #06110d; color: #06110d; }
.thanks-content .btn-outline-white:hover { background: #06110d; color: var(--accent-green); }

/* 18. Media queries
   ========================================================================== */
@media (max-width: 900px) {
  .stage-grid, .intro-grid, .split-grid, .split-grid-reverse, .contact-grid, .dual-cta-grid, .calc-panel { grid-template-columns: 1fr; }
  .split-grid-reverse .split-media, .split-grid-reverse .split-text { order: 0; }
  .quad-grid { grid-template-columns: 1fr; }
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  .header-flip-inner { height: auto; }
  .header-face-back { position: static; transform: none; display: none; }
  .header-flip-inner.is-flipped .header-face-back { display: block; }
  .header-flip-inner.is-flipped .header-face-front { display: none; }
  .drawer-inner { min-height: 60vh; }
  .cookie-table-row { grid-template-columns: 1fr; gap: 0.2rem; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 var(--space-2); }
  .gallery, .stage, .dual-cta { padding-top: var(--space-5); padding-bottom: var(--space-5); }
  .stage-actions { flex-direction: column; align-items: stretch; }
  .footer-contact { flex-direction: column; align-items: center; }
}