/* ==========================================================================
   CONSULT & CONCEPT — style.css
   Premium / enterprise stylesheet for an EU funds & public procurement firm.
   Organisation:
     1. Design tokens (CSS variables)
     2. Reset & base
     3. Layout primitives (container, sections)
     4. Typography helpers
     5. Buttons & links
     6. Header / navigation
     7. Hero
     8. Trust / stats
     9. About
    10. Services
    11. Differentiators
    12. Process
    13. Portfolio
    14. Benefits
    15. Testimonials
    16. FAQ
    17. Final CTA / form
    18. Footer
    19. Motion / reveal
    20. Responsive breakpoints
   Colours use CSS variables; comments are in English per spec.
   ========================================================================== */

/* ============================ 1. DESIGN TOKENS ============================ */
:root {
  /* Brand palette (mandatory) */
  --red: #C8102E;
  --red-dark: #A50C24;
  --gold: #A9883F;
  --gold-soft: #C2A45E;
  --ink: #0A0A0B;
  --white: #FFFFFF;
  --ivory: #FAF8F4;

  /* Derived neutrals */
  --ink-90: #15151A;
  --ink-80: #1E1E24;
  --line: #E7E2D8;          /* hairline on light surfaces */
  --line-dark: #2A2A31;     /* hairline on dark surfaces */
  --text: #1A1A1E;          /* body text on light */
  --text-muted: #5C5C66;    /* secondary text on light */
  --text-on-dark: #EDEAE3;  /* body text on dark */
  --text-on-dark-muted: #A9A59C;

  /* Typography */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-eyebrow: 0.8125rem;
  --fs-body: 1.0625rem;
  --fs-lead: 1.25rem;
  --fs-h3: 1.375rem;
  --fs-h2: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
  --fs-h1: clamp(2.4rem, 1.4rem + 4vw, 4.25rem);

  /* Spacing scale */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4rem;
  --sp-7: 6rem;
  --section-y: clamp(4rem, 2.5rem + 6vw, 7.5rem);

  /* Layout */
  --container: 1200px;
  --container-pad: clamp(1.25rem, 0.5rem + 3vw, 2.5rem);

  /* Radius */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(10, 10, 11, 0.06), 0 2px 8px rgba(10, 10, 11, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(10, 10, 11, 0.22);
  --shadow-gold: 0 14px 40px -18px rgba(169, 136, 63, 0.55);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 160ms;
  --t-med: 320ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px; /* offset for sticky header */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* guard against accidental horizontal scroll */
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; padding: 0; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

input, textarea { font: inherit; color: inherit; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ============================ 3. LAYOUT PRIMITIVES ============================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--section-y); }

.section-ink {
  background: var(--ink);
  color: var(--text-on-dark);
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(169, 136, 63, 0.10), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(200, 16, 46, 0.08), transparent 60%);
}

.section-ivory { background: var(--ivory); }

.section-head { max-width: 720px; margin-bottom: var(--sp-6); }
.section-intro { color: var(--text-muted); font-size: var(--fs-lead); margin-top: var(--sp-2); }
.section-ink .section-intro,
.section-title-light + .section-intro { color: var(--text-on-dark-muted); }

/* ============================ 4. TYPOGRAPHY ============================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}
.eyebrow-mark {
  width: 28px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}
.eyebrow-light { color: var(--gold-soft); }

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-title-light { color: var(--white); }

.lead { font-size: var(--fs-lead); color: var(--text); margin-bottom: var(--sp-3); }
.accent-gold { color: var(--gold); font-style: italic; }

/* Checklist (light surfaces) */
.checklist { display: grid; gap: 0.75rem; margin: var(--sp-3) 0 var(--sp-4); }
.checklist li {
  position: relative;
  padding-left: 2rem;
  color: var(--text);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.45em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ============================ 5. BUTTONS & LINKS ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.95rem 1.6rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--r-sm);
  transition: transform var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px -12px rgba(200, 16, 46, 0.7);
}
.btn-primary:hover { background: var(--red-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(10, 10, 11, 0.18);
}
.section-ink .btn-ghost,
.hero .btn-ghost { color: var(--text-on-dark); border-color: rgba(237, 234, 227, 0.28); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-sm { padding: 0.6rem 1.05rem; font-size: 0.9375rem; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--red);
  border-bottom: 1px solid transparent;
  transition: gap var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.link-arrow:hover { gap: 0.7rem; border-color: var(--red); }
.link-arrow.inline { display: inline; }

/* ============================ 6. HEADER / NAV ============================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow var(--t-med) var(--ease), background-color var(--t-med) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -16px rgba(0, 0, 0, 0.7); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: var(--sp-3);
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 52px; width: auto; }

.main-nav { display: flex; align-items: center; }
.nav-menu { display: flex; align-items: center; gap: 1.75rem; }
.nav-menu a:not(.btn) {
  color: var(--text-on-dark);
  font-weight: 500;
  font-size: 0.975rem;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--t-fast) var(--ease);
}
.nav-menu a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--t-med) var(--ease);
}
.nav-menu a:not(.btn):hover,
.nav-menu a:not(.btn).is-active { color: var(--gold); }
.nav-menu a:not(.btn):hover::after,
.nav-menu a:not(.btn).is-active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin-right: -10px;
}
.nav-toggle-bar {
  width: 26px; height: 2px;
  background: var(--ivory);
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ 7. HERO ============================ */
.hero {
  background-color: var(--ink);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 2rem + 9vw, 8rem);
  /* Premium mesh background photo + brand glows layered on top for depth */
  background-image:
    radial-gradient(800px 480px at 80% 8%, rgba(169, 136, 63, 0.20), transparent 58%),
    radial-gradient(620px 420px at 4% 96%, rgba(200, 16, 46, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(10,10,11,0.55), rgba(10,10,11,0.82)),
    url("../img/hero-bg.jpg");
  background-size: auto, auto, auto, cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before { /* faint gold ledger grid */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(169,136,63,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(169,136,63,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: var(--sp-3);
}
.hero-subtitle {
  font-size: var(--fs-lead);
  color: var(--text-on-dark-muted);
  max-width: 44ch;
  margin-bottom: var(--sp-4);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.25rem 1.75rem; }
.hero-badges li {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.9375rem; color: var(--text-on-dark-muted);
}
.tick {
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(169, 136, 63, 0.16);
  position: relative; flex: none;
}
.tick::after {
  content: ""; position: absolute; left: 5px; top: 4px;
  width: 6px; height: 9px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(40deg);
}

/* Hero foreground: layered glass "dossier" composition */
.hero-figure { position: relative; padding: 1.5rem 1.5rem 2.5rem; }

.glass-panel {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.03));
  border: 1px solid rgba(194, 164, 94, 0.28);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.5rem 1.6rem;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}
.gp-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.2rem; }
.gp-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex: none; box-shadow: 0 0 0 4px rgba(200,16,46,0.18); }
.gp-title { font-weight: 600; color: var(--white); font-size: 0.95rem; }
.gp-status {
  margin-left: auto; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink); background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  padding: 0.25rem 0.6rem; border-radius: 999px;
}
.gp-lines { display: grid; gap: 0.7rem; margin-bottom: 1.5rem; }
.gp-lines span { height: 9px; border-radius: 5px; background: rgba(237,234,227,0.14); display: block; }
.gp-lines span:nth-child(1) { background: rgba(194,164,94,0.45); }
.gp-chart { display: flex; align-items: flex-end; gap: 0.6rem; height: 120px; padding-top: 0.5rem; border-top: 1px solid rgba(255,255,255,0.08); }
.gp-chart span { flex: 1; border-radius: 5px 5px 0 0; background: rgba(237,234,227,0.16); }
.gp-chart .is-peak { background: linear-gradient(180deg, var(--gold-soft), var(--gold)); box-shadow: 0 0 22px -4px rgba(169,136,63,0.6); }

.hero-chip {
  position: absolute;
  background: var(--white); color: var(--ink);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-gold);
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.8rem 1rem;
}
.hero-chip-stat { right: 0; top: 6px; border-left: 4px solid var(--red); display: grid; gap: 0.1rem; padding: 0.75rem 1.1rem; }
.hero-chip-seal { left: 0; bottom: 6px; max-width: 220px; }
.hf-num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; line-height: 1; }
.hf-label { font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.03em; }
.chip-text { font-size: 0.8rem; color: var(--text-muted); line-height: 1.3; display: grid; }
.chip-text strong { color: var(--ink); font-size: 0.92rem; }
.seal-check {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  border: 2px solid var(--gold); position: relative;
}
.seal-check::after {
  content: ""; position: absolute; left: 10px; top: 8px;
  width: 8px; height: 13px;
  border-right: 3px solid var(--red); border-bottom: 3px solid var(--red);
  transform: rotate(40deg);
}

/* Floating motion for the chips (disabled under reduced-motion, see section 19) */
.hero-chip-stat { animation: floaty 6s ease-in-out infinite; }
.hero-chip-seal { animation: floaty 6s ease-in-out infinite 1.5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ============================ 8. TRUST / STATS ============================ */
.trust {
  background: var(--ink-90);
  border-bottom: 1px solid var(--line-dark);
  padding-block: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.stat {
  text-align: center;
  padding: var(--sp-2);
  border-left: 1px solid var(--line-dark);
}
.stat:first-child { border-left: none; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 1.5rem + 2vw, 3.1rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-label { color: var(--text-on-dark-muted); font-size: 0.9375rem; margin-top: 0.5rem; display: block; }

/* ============================ 8b. INDUSTRIES MARQUEE ============================ */
.domenii {
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  padding-block: var(--sp-4);
  overflow: hidden;
}
.domenii-label {
  text-align: center;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}
.marquee { position: relative; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track {
  display: flex;
  width: max-content;
  gap: 0.9rem;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  flex: none;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--text-on-dark-muted);
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================ 9. ABOUT ============================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  width: 100%; aspect-ratio: 23/18; object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-dark);
}
.about-media::after { /* thin gold frame accent */
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--gold); border-radius: var(--r-lg);
  z-index: -1; opacity: 0.5;
}

/* ============================ 10. SERVICES ============================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}
.card {
  background: var(--ink-90);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.card::before { /* gold top accent that grows on hover */
  content: ""; position: absolute; left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgba(169,136,63,0.5); box-shadow: var(--shadow-md); }
.card:hover::before { transform: scaleX(1); }
.card-index {
  font-family: var(--font-display);
  font-size: 1rem; color: var(--gold);
  letter-spacing: 0.1em; display: block; margin-bottom: var(--sp-2);
}
.card-title { font-size: var(--fs-h3); font-weight: 600; color: var(--white); margin-bottom: 0.6rem; }
.card p { color: var(--text-on-dark-muted); margin-bottom: var(--sp-3); }
.card-link { color: var(--gold-soft); font-weight: 600; font-size: 0.95rem; }
.card-link:hover { color: var(--gold); }

/* ============================ 11. DIFFERENTIATORS ============================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.why-item { border-top: 2px solid var(--gold); padding-top: var(--sp-3); }
.why-heading { font-size: var(--fs-h3); font-weight: 600; margin-bottom: 0.5rem; color: var(--ink); }
.why-item p { color: var(--text-muted); }

/* ============================ 12. PROCESS ============================ */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-3);
  counter-reset: step;
  position: relative;
}
.step {
  position: relative;
  padding: var(--sp-4) var(--sp-3);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 600;
  color: var(--red);
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  margin-bottom: var(--sp-2);
}
.step-title { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--ink); }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* ============================ 13. PORTFOLIO ============================ */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.case {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-media { display: block; overflow: hidden; }
.case-media img { width: 100%; aspect-ratio: 10/7; object-fit: cover; transition: transform 600ms var(--ease); }
.case:hover .case-media img { transform: scale(1.04); }
.case-body { padding: var(--sp-3); }
.tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(169, 136, 63, 0.1);
  padding: 0.3rem 0.7rem; border-radius: 999px;
  margin-bottom: 0.75rem;
}
.case-title { font-size: var(--fs-h3); font-weight: 600; margin-bottom: 0.5rem; color: var(--ink); }
.case-body p { color: var(--text-muted); font-size: 0.95rem; }

/* ============================ 14. BENEFITS ============================ */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,1rem+4vw,4.5rem); align-items: center; }
.benefits-list { display: grid; gap: var(--sp-2); }
.benefits-list li {
  padding: var(--sp-3);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--gold);
  border-radius: var(--r-sm);
  color: var(--text-on-dark-muted);
}
.benefits-list strong { color: var(--white); font-weight: 600; }

/* ============================ 15. TESTIMONIALS ============================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  position: relative;
}
.quote::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 4rem; line-height: 1;
  color: var(--gold); opacity: 0.4;
  position: absolute; top: 0.5rem; right: 1.2rem;
}
.quote blockquote { font-size: 1.05rem; color: var(--text); margin-bottom: var(--sp-3); }
.quote figcaption { display: grid; gap: 0.1rem; }
.quote-name { font-weight: 600; color: var(--ink); }
.quote-role { font-size: 0.875rem; color: var(--text-muted); }

/* ============================ 16. FAQ ============================ */
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,1rem+4vw,4rem); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-list { display: grid; gap: var(--sp-1); }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-3);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem; color: var(--gold);
  line-height: 1; transition: transform var(--t-med) var(--ease);
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 var(--sp-3) var(--sp-3); }
.faq-answer p { color: var(--text-muted); }

/* ============================ 17. FINAL CTA / FORM ============================ */
.cta-final { padding-block: var(--section-y); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,1rem+4vw,4.5rem); align-items: start; }
.cta-contacts { display: grid; gap: var(--sp-2); margin-top: var(--sp-4); }
.cta-contacts li { display: grid; grid-template-columns: 90px 1fr; align-items: baseline; gap: 1rem; }
.cta-label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-soft); }
.cta-contacts a { color: var(--white); font-weight: 500; }
.cta-contacts a:hover { color: var(--gold); }

.cta-form {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: var(--sp-3);
}
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.optional { font-weight: 400; color: var(--text-muted); }
.field input,
.field textarea {
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.85rem 1rem;
  background: var(--ivory);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(169, 136, 63, 0.18);
}
.field textarea { resize: vertical; }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: 0.6rem; }
.field-check input { width: 18px; height: 18px; margin-top: 0.25rem; accent-color: var(--red); }
.field-check label { font-weight: 400; font-size: 0.9rem; color: var(--text-muted); }
.field-check a { color: var(--red); text-decoration: underline; }
.field-error { color: var(--red); font-size: 0.8rem; min-height: 1em; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--red); }
.form-status { font-size: 0.95rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: #1f7a3d; }
.form-status.err { color: var(--red); }

/* ============================ 18. FOOTER ============================ */
.site-footer { background: var(--ink); color: var(--text-on-dark-muted); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--sp-4);
  padding-block: var(--sp-7) var(--sp-5);
}
.footer-logo { height: 50px; width: auto; margin-bottom: var(--sp-2); }
.footer-tagline { max-width: 34ch; font-size: 0.95rem; }
.footer-heading {
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: var(--sp-2); font-weight: 600;
}
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { font-size: 0.95rem; transition: color var(--t-fast) var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { font-size: 0.95rem; margin-bottom: 0.5rem; }
.footer-social { display: flex; gap: 0.6rem; margin-top: var(--sp-3); }
.footer-social a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  font-weight: 700; font-size: 0.95rem;
  color: var(--text-on-dark);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: var(--sp-3); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.footer-bottom p { font-size: 0.875rem; }
.footer-legal { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.footer-legal a { font-size: 0.875rem; }
.footer-legal a:hover { color: var(--gold); }

/* ============================ 19. MOTION / REVEAL ============================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track,
  .hero-chip-stat,
  .hero-chip-seal { animation: none !important; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ============================ 20. RESPONSIVE ============================ */
@media (max-width: 1024px) {
  .cards, .cases, .quotes { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  /* Collapse navigation into a mobile drawer */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    padding: var(--sp-2) var(--container-pad) var(--sp-4);
    transform: translateY(-120%);
    transition: transform var(--t-med) var(--ease);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav-menu.is-open { transform: translateY(0); }
  .nav-menu li { border-bottom: 1px solid var(--line-dark); }
  .nav-menu a:not(.btn) { display: block; padding: 1rem 0; }
  .nav-cta-item { border-bottom: none; padding-top: var(--sp-2); }
  .nav-cta-item .btn { width: 100%; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 520px; margin-inline: auto; padding-bottom: 2rem; }
  .hero-chip-stat { top: 0; }
  .hero-chip-seal { bottom: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .about-media::after { inset: 10px -10px -10px 10px; }
  .benefits-grid,
  .cta-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
}

@media (max-width: 560px) {
  .cards, .cases, .quotes, .steps, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .cta-contacts li { grid-template-columns: 1fr; gap: 0.1rem; }
  .hero-figure-badge { left: 12px; }
}

@media (max-width: 380px) {
  :root { --container-pad: 1.1rem; }
  .brand-logo { height: 44px; }
  .hero-chip { padding: 0.6rem 0.75rem; }
  .hero-chip-seal { max-width: 180px; }
  .hf-num { font-size: 1.4rem; }
}
