/* =====================================================================
   ALEPPO SOAP WHOLESALE · aleppo-soap-wholesale.com
   Art direction: Mediterranean editorial. Warm ivory, deep green,
   emerald, golden olive. Spectral display + DM Sans. Arched image
   frames, laurel motif. Distinct from every other site in the network.
   ===================================================================== */

/* -------------------- Design tokens -------------------- */
:root {
  --bg: #F4F1E9;
  --text: #14301E;
  --accent: #0E6B39;
  --accent-light: #A98B3C;                       /* golden olive */
  --font-display: 'Spectral', serif;
  --font-body: 'DM Sans', sans-serif;

  --accent-deep: #0A4F2A;                        /* hovers */
  --surface: #FBFAF4;                            /* cards */
  --surface-alt: #EAE6D8;                         /* alt sections */
  --dark: #12291A;                              /* dark section + footer */
  --on-dark: #F4F1E9;
  --border: rgba(20, 48, 30, 0.16);
  --border-dark: rgba(244, 241, 233, 0.16);
  --accent-soft: rgba(14, 107, 57, 0.10);
  --gold: #A98B3C;
  --danger: #9B2C2C;

  --fs-h1: clamp(2.9rem, 7vw, 5.4rem);
  --fs-h2: clamp(2.1rem, 4.4vw, 3.4rem);
  --fs-h3: 1.6rem;
  --fs-body: 1.05rem;
  --fs-small: 0.9rem;

  --gap: 24px;
  --section-pad: clamp(84px, 8vw, 128px);
  --maxw: 1160px;
  --radius: 4px;
  --shadow: 0 22px 50px -30px rgba(20, 48, 30, 0.4);
}

/* -------------------- Reset -------------------- */
::selection { background: var(--accent); color: var(--bg); }
::-moz-selection { background: var(--accent); color: var(--bg); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1rem; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; margin: 0; line-height: 1.1; letter-spacing: -0.005em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }

/* -------------------- Layout -------------------- */
.section-inner { width: min(100% - 3rem, var(--maxw)); margin-inline: auto; }
.container-narrow { max-width: 760px; }
section { padding: var(--section-pad) 0; position: relative; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--dark); color: var(--on-dark); }

/* Centered editorial heads with a golden dot-rule ornament */
.section-head { max-width: 760px; margin: 0 auto clamp(2.4rem, 5vw, 3.6rem); text-align: center; }
.section-kicker { display: block; font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.32em; font-size: 0.72rem; font-weight: 600; color: var(--accent-light); margin-bottom: 0.9rem; }
.section-head h2 { position: relative; display: inline-block; padding-bottom: 1.1rem; }
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0.3rem;
  transform: translateX(-50%);
  width: 3.4rem; height: 1px;
  background: var(--accent-light);
}
.section-head h2::before {
  content: "";
  position: absolute;
  left: 50%; bottom: calc(0.3rem - 2px);
  transform: translateX(-50%);
  width: 5px; height: 5px;
  background: var(--accent-light);
  border-radius: 50%;
  z-index: 1;
}
.section-sub { font-family: var(--font-body); font-size: 1.12rem; opacity: 0.78; margin-top: 1rem; }

/* -------------------- Image placeholder system + arch -------------------- */
.img-frame {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--accent-soft);
}
.img-frame.arch { border-radius: 46% 46% var(--radius) var(--radius) / 34% 34% var(--radius) var(--radius); }
.img-frame.ratio-4x3  { aspect-ratio: 4 / 3; }
.img-frame.ratio-3x4  { aspect-ratio: 3 / 4; }
.img-frame.ratio-4x5  { aspect-ratio: 4 / 5; }
.img-real { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.img-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: monospace;
  font-size: 12px;
}
.img-frame.img-missing .img-real { display: none; }
.img-frame.img-missing .img-placeholder { display: flex; }

/* -------------------- Top utility bar (above nav) -------------------- */
.topbar {
  background: var(--accent);
  color: var(--on-dark);
  text-align: center;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
}
.topbar span { opacity: 0.6; margin: 0 0.4rem; }

/* -------------------- Nav -------------------- */
#nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 241, 233, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
#nav.is-scrolled { box-shadow: 0 12px 30px -22px rgba(20, 48, 30, 0.5); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 3rem, var(--maxw));
  margin-inline: auto;
  padding: 0.75rem 0;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 1.75rem; height: 1.75rem; display: block; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-links a { text-decoration: none; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { border: 1px solid var(--accent); color: var(--accent); padding: 0.4rem 1rem; border-radius: var(--radius); transition: background 0.25s ease, color 0.25s ease; }
.nav-links a.nav-cta:hover { background: var(--accent); color: var(--on-dark); }
/* French labels are longer: tighten the row so the wordmark keeps its single line */
html[lang="fr"] .nav-links { gap: 1rem; }
html[lang="fr"] .nav-links a { font-size: 0.79rem; letter-spacing: 0.07em; }
html[lang="fr"] .nav-cta { padding: 0.4rem 0.8rem; }

.lang-toggle {
  font-family: var(--font-body);
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  color: var(--text);
  font-size: var(--fs-small);
  letter-spacing: normal;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.lang-toggle:hover { border-color: var(--accent); background: var(--accent-soft); }
.lang-toggle span { transition: opacity 0.25s ease, color 0.25s ease; }
.lang-toggle:hover .lt-en, .lang-toggle:hover .lt-fr { opacity: 1; }
.lt-sep { opacity: 0.4; margin: 0 3px; }
html[lang="en"] .lt-en { font-weight: 600; color: var(--accent); }
html[lang="fr"] .lt-fr { font-weight: 600; color: var(--accent); }
html[lang="en"] .lt-fr, html[lang="fr"] .lt-en { opacity: 0.5; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); display: block; }

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.78rem 1.7rem;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.2s, color 0.2s, box-shadow 0.25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--on-dark); }
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 16px 30px -16px rgba(10, 79, 42, 0.6); }
.btn-block { width: 100%; border: none; font-size: 1.05rem; }
.section-dark .btn-primary { background: var(--accent-light); color: var(--dark); }
.section-dark .btn-primary:hover { background: var(--on-dark); }

/* -------------------- Hero (split, arched image left) -------------------- */
#hero { overflow: hidden; padding-top: clamp(3.5rem, 9vw, 6.5rem); }
.hero-inner { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-media { max-width: 440px; margin-inline: auto; }
.hero-media .img-real { transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.hero-media:hover .img-real { transform: scale(1.04); }
.hero-laurel { display: block; width: 62px; height: auto; color: var(--accent); margin-bottom: 1.1rem; }
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem; font-weight: 600; color: var(--accent-light); margin-bottom: 1rem; }
#hero h1 { margin-bottom: 1.4rem; }
.hero-lead { font-size: clamp(1.15rem, 2.3vw, 1.4rem); max-width: 42ch; opacity: 0.85; margin-bottom: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.6rem; }
.hero-ship { margin: 0 0 1.8rem; font-weight: 500; color: var(--accent); }

/* Product INCI list */
.product-inci { font-size: 0.9rem; opacity: 0.82; margin: 1.3rem 0 0; letter-spacing: 0.01em; }
.product-inci b { font-variant: small-caps; letter-spacing: 0.08em; color: var(--accent); }

/* -------------------- Products: editorial showcase (image right) -------- */
.product-showcase { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.product-media { max-width: 480px; }
.product-media .img-real { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.product-media:hover .img-real { transform: scale(1.05); }
.product-info .section-kicker { text-align: left; }
.product-info h2 { margin-bottom: 1rem; }
.product-lead { opacity: 0.85; margin-bottom: 1.6rem; }
.product-specs { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.product-specs li {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  padding: 0.45rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
}
.product-specs li b { color: var(--accent); font-weight: 600; }

/* -------------------- Packaging: two arched cards -------------------- */
.pack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.6rem, 4vw, 2.8rem); max-width: 880px; margin-inline: auto; }
.pack-card { text-align: center; }
.pack-card .img-frame { box-shadow: var(--shadow); margin-bottom: 1.3rem; }
.pack-card .img-real { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.pack-card:hover .img-real { transform: scale(1.05); }
.pack-card h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.pack-card p { margin: 0; opacity: 0.8; }
.pack-note-global { text-align: center; margin: clamp(2.4rem, 5vw, 3.2rem) auto 0; color: var(--accent); font-weight: 500; }

/* -------------------- Heritage block (inside why) -------------------- */
.heritage { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.heritage-media { max-width: 460px; }
.heritage-media .img-real { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.heritage-media:hover .img-real { transform: scale(1.05); }
.heritage-copy h3 { font-size: 1.9rem; margin-bottom: 0.9rem; }
.heritage-copy p { opacity: 0.85; margin: 0; }

/* -------------------- Why: 3-col, laurel-leaf bullets -------------------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.8rem, 4vw, 2.8rem) var(--gap); }
.why-item { transition: transform 0.3s ease; }
.why-item:hover { transform: translateY(-4px); }
.why-item h3 { position: relative; padding-left: 1.7rem; margin-bottom: 0.4rem; font-size: 1.4rem; transition: color 0.2s ease; }
.why-item h3::before {
  content: "";
  position: absolute;
  left: 0; top: 0.28em;
  width: 0.8rem; height: 0.9rem;
  background: var(--accent);
  border-radius: 0 80% 0 80%;
  transform: rotate(-12deg);
}
.why-item:hover h3 { color: var(--accent); }
.why-item p { margin: 0; padding-left: 1.7rem; opacity: 0.8; }

/* -------------------- Process: 2x2 grid, serif numbers -------------------- */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.8rem, 4vw, 3rem) clamp(2rem, 6vw, 5rem); max-width: 900px; margin-inline: auto; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; }
.step-num { font-family: var(--font-display); font-size: 3.2rem; font-weight: 600; line-height: 0.9; color: var(--accent-light); transition: color 0.3s ease; }
.step:hover .step-num { color: var(--accent); }
.step h3 { font-size: 1.5rem; margin-bottom: 0.35rem; }
.step p { margin: 0; opacity: 0.8; }

/* -------------------- OEM: centered on deep green -------------------- */
.oem-inner { max-width: 760px; margin-inline: auto; text-align: center; }
.oem-inner .section-kicker { color: var(--accent-light); }
.oem-inner h2 { margin-bottom: 1.2rem; }
.oem-lead { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.88; }
.oem-media { max-width: 360px; margin: 0 auto 2rem; }
.oem-media .img-real { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.oem-media:hover .img-real { transform: scale(1.05); }

/* -------------------- In-content links -------------------- */
.faq-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s ease; }
.faq-body a:hover { color: var(--accent-deep); }

/* -------------------- FAQ (accordion, mandated) -------------------- */
.faq-list { display: grid; gap: 0.9rem; border-top: none; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px 14px var(--radius) var(--radius); overflow: hidden; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.faq-item:hover { border-color: var(--accent-light); }
.faq-item[open] { border-color: var(--accent-light); box-shadow: 0 14px 30px -22px rgba(10, 79, 42, 0.5); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.15rem 3rem 1.15rem 1.3rem; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { display: inline; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; transition: color 0.2s ease; }
.faq-q::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--accent-light); margin-right: 0.7rem; vertical-align: middle; }
.faq-item summary:hover .faq-q { color: var(--accent); }
.faq-item summary::after { content: "+"; position: absolute; right: 1.2rem; top: 1.05rem; font-size: 1.6rem; line-height: 1; color: var(--accent); transition: color 0.2s ease; }
.faq-item[open] summary::after { content: "-"; }
.faq-body { padding: 0 1.3rem; overflow: hidden; transition: height 0.28s ease; }
.faq-body p { margin: 0; padding-bottom: 1.3rem; opacity: 0.82; }

/* -------------------- Contact form -------------------- */
#contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
/* Required / optional field markers */
#contact-form::before {
  content: "Fields marked * are required.";
  display: block;
  font-size: 0.82rem;
  opacity: 0.68;
  margin-bottom: 0.2rem;
}
html[lang="fr"] #contact-form::before { content: "Les champs marqués * sont obligatoires."; }
.field label:has(+ input:required)::after,
.field label:has(+ select:required)::after,
.field label:has(+ textarea:required)::after {
  content: " *";
  color: var(--accent);
  font-weight: 700;
}
.field label:has(+ input:not([required]))::after {
  content: " (optional)";
  font-weight: 400;
  opacity: 0.6;
}
html[lang="fr"] .field label:has(+ input:not([required]))::after { content: " (facultatif)"; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.74rem; font-weight: 600; opacity: 0.7; }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; }
.form-status { text-align: center; min-height: 1.4rem; margin: 0.4rem 0 0; }
.form-status.is-ok { color: var(--accent); font-weight: 600; }
.form-status.is-error { color: var(--danger); }

/* -------------------- Footer -------------------- */
/* Oversized-wordmark footer (unique to this site) */
#footer { background: var(--dark); color: var(--on-dark); padding: clamp(3.4rem, 6vw, 5rem) 0 1.9rem; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.footer-wordmark { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 5vw, 3.2rem); line-height: 1; letter-spacing: -0.01em; margin: 0; color: var(--on-dark); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.footer-nav a { color: var(--on-dark); text-decoration: none; opacity: 0.8; font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.1em; transition: opacity 0.15s, color 0.15s; }
.footer-nav a:hover { opacity: 1; color: var(--accent-light); }
.footer-tagline { max-width: 48ch; opacity: 0.72; line-height: 1.6; margin: 0; }
.footer-bar { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; width: 100%; margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--border-dark); }
.footer-ship { font-weight: 500; opacity: 0.85; margin: 0; }
.footer-copy { font-size: var(--fs-small); opacity: 0.55; margin: 0; }

/* -------------------- Motion: scroll reveal -------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.why-grid .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: 0.09s; }
.why-grid .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: 0.18s; }
.why-grid .reveal:nth-child(4), .steps .reveal:nth-child(4) { transition-delay: 0.27s; }
.why-grid .reveal:nth-child(5) { transition-delay: 0.36s; }
.why-grid .reveal:nth-child(6) { transition-delay: 0.45s; }

/* Nav underline (skips CTA + toggle) */
.nav-links a:not(.nav-cta):not(.lang-toggle) { position: relative; }
.nav-links a:not(.nav-cta):not(.lang-toggle)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}
.nav-links a:not(.nav-cta):not(.lang-toggle):hover::after { transform: scaleX(1); }

/* -------------------- Floating "Request a quote" CTA -------------------- */
.floating-cta {
  position: fixed;
  left: 0; right: 0;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  margin-inline: auto;
  width: fit-content;
  max-width: calc(100% - 2rem);
  z-index: 70;
  background: var(--accent);
  color: var(--on-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px -12px rgba(10, 79, 42, 0.55);
  text-decoration: none;
  transform: translateY(calc(100% + 2rem));
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, background 0.2s ease;
}
.floating-cta:hover { background: var(--accent-deep); }
.floating-cta.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }

/* -------------------- Responsive -------------------- */
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1050px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.4rem 1.5rem;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { transform: translateY(0); }
}
/* The French nav row is wider: switch it to the burger earlier so the wordmark
   never wraps and the links never overflow the container. */
@media (max-width: 1120px) {
  html[lang="fr"] .nav-toggle { display: flex; }
  html[lang="fr"] .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.4rem 1.5rem;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
  }
  html[lang="fr"] .nav-links.is-open { transform: translateY(0); }
}
@media (max-width: 780px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { grid-row: 1; max-width: 360px; }
  .product-showcase { grid-template-columns: 1fr; }
  .product-media { grid-row: 1; max-width: 420px; margin-inline: auto; }
  .heritage { grid-template-columns: 1fr; }
  .heritage-media { grid-row: 1; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .floating-cta { transition: none; }
  .btn:hover,
  .why-item:hover,
  .hero-media:hover .img-real,
  .product-media:hover .img-real,
  .heritage-media:hover .img-real,
  .oem-media:hover .img-real { transform: none !important; }
  .nav-links a:not(.nav-cta):not(.lang-toggle)::after { display: none; }
}

/* ============ 404 error page ============ */
.error-body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  color: var(--text);
}
.error-page { text-align: center; padding: 40px 24px; max-width: 560px; }
.error-code {
  font-family: var(--font-display);
  font-size: clamp(72px, 18vw, 160px);
  line-height: 1;
  color: var(--accent);
  margin: 0;
}
.error-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 40px);
  margin: 0.25rem 0 1rem;
}
.error-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 2rem;
}
