/* =====================================================================
   HENNA POWDER WHOLESALE · henna-powder-wholesale.com
   Art direction: editorial botanical lookbook, warm natural-cosmetic
   palette (oat cream, henna terracotta, sage). Centered hero + full
   banner, image-forward overlay product cards, zig-zag packaging rows,
   numbered why-us, vertical timeline process, split OEM panel.
   Deliberately NOT laid out like any other site in the network.
   ===================================================================== */

/* -------------------- Design tokens (mandated) -------------------- */
:root {
  --bg: #F6EFE3;
  --text: #3A2C1E;
  --accent: #B0613C;
  --accent-light: #8FA06A;
  --font-display: 'Fraunces', serif;
  --font-body: 'Mulish', sans-serif;

  --accent-deep: #8E4A2B;                       /* darker terracotta for hovers */
  --surface: #FCF8F1;                           /* cards */
  --surface-alt: #EEE4D3;                        /* alt sections */
  --dark: #3C3323;                              /* dark panels + footer + overlays */
  --on-dark: #F6EFE3;
  --border: rgba(58, 44, 30, 0.16);
  --accent-soft: rgba(176, 97, 60, 0.13);        /* accent tint · placeholders/glow */
  --danger: #9B2C2C;

  --fs-h1: clamp(2.8rem, 7vw, 5.4rem);
  --fs-h2: clamp(2rem, 4.2vw, 3rem);
  --fs-h3: 1.4rem;
  --fs-body: 1.05rem;
  --fs-small: 0.9rem;

  --gap: 24px;
  --section-pad: clamp(84px, 8vw, 130px);
  --maxw: 1160px;
  --radius: 8px;
  --shadow: 0 20px 46px -28px rgba(58, 44, 30, 0.36);
}

/* -------------------- 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); line-height: 1.05; margin: 0; font-weight: 600; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

/* -------------------- 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); }

.section-head { max-width: 760px; margin: 0 auto clamp(2.4rem, 5vw, 3.6rem); text-align: center; }
.section-sub { font-size: 1.12rem; opacity: 0.82; margin-top: 0.9rem; }

/* -------------------- Image placeholder system -------------------- */
.img-frame {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--accent-soft);
}
.img-frame.ratio-16x9 { aspect-ratio: 16 / 9; }
.img-frame.ratio-4x3  { aspect-ratio: 4 / 3; }
.img-frame.ratio-3x4  { aspect-ratio: 3 / 4; }
.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; }

/* -------------------- Nav (uppercase links, gold hairline, filled CTA) - */
#nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 239, 227, 0.9);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease;
}
#nav.is-scrolled { box-shadow: 0 14px 30px -22px rgba(58, 44, 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; }
.brand-mark { width: 1.75rem; height: 1.75rem; display: block; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: 0.01em; }
.nav-links { display: flex; align-items: center; gap: 1.3rem; }
.nav-links a { text-decoration: none; text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.8rem; white-space: nowrap; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { background: var(--accent); color: var(--on-dark); padding: 0.5rem 1.05rem; border-radius: 100px; transition: background 0.25s ease, transform 0.2s ease; }
.nav-links a.nav-cta:hover { background: var(--accent-deep); color: var(--on-dark); transform: translateY(-1px); }

.lang-toggle {
  font-family: var(--font-body);
  background: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.3rem 0.65rem;
  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, transform 0.25s ease;
}
.lang-toggle:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-1px); }
.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-display);
  font-size: 1.12rem;
  padding: 0.72rem 1.7rem;
  border-radius: 100px;
  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 28px -16px rgba(176, 97, 60, 0.6); }
.btn-ghost { border-color: var(--accent); color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: var(--on-dark); }
.btn-block { width: 100%; border: none; font-size: 1.25rem; border-radius: var(--radius); }

/* -------------------- Hero (centered editorial + full banner) -------- */
#hero { text-align: center; overflow: hidden; padding-top: clamp(3.5rem, 9vw, 7rem); }
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(58% 46% at 50% 0%, rgba(176, 97, 60, 0.12), transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(0, 640px) 1fr; align-items: center; gap: clamp(0.5rem, 2.5vw, 2rem); }
.hero-intro { margin-inline: auto; }
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.82rem; color: var(--accent); margin-bottom: 1.3rem; }
#hero h1 { margin-bottom: 1.5rem; }
.hero-lead { font-size: clamp(1.2rem, 2.6vw, 1.55rem); max-width: 40ch; margin: 0 auto 2.2rem; opacity: 0.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 1.4rem; }
.hero-ship { margin: 0 0 2rem; font-weight: 500; color: var(--accent); }
/* Transparent henna-powder PNGs flanking the centered intro. */
.hero-powder { background: transparent; aspect-ratio: 4 / 5; align-self: center; }
.hero-powder .img-real { object-fit: contain; }
.hero-powder-left { animation: powder-float 7s ease-in-out infinite; }
.hero-powder-right { animation: powder-float 7s ease-in-out infinite 1.4s; }
@keyframes powder-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-badges { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; justify-content: center; margin: 1.8rem auto 0; width: min(100% - 3rem, var(--maxw)); }
.hero-badges li { position: relative; padding-left: 1.4rem; opacity: 0.9; }
.hero-badges li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.7rem; height: 0.7rem; background: var(--accent); border-radius: 50% 0 50% 50%; transform: rotate(45deg); }

/* -------------------- Products: alternating editorial bands --------- */
/* Range: compact round tone-swatch row. Each disc IS the resulting shade, so
   the varieties read apart at a glance rather than as near-identical powders. */
.range-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(1rem, 2.4vw, 2rem); }
.range-item { text-align: center; }
/* The disc holds its own label: name + scientific name sit inside the tone. */
.range-swatch { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem; width: clamp(128px, 15vw, 176px); aspect-ratio: 1 / 1; margin: 0 auto 0.9rem; padding: 0.5rem 0.7rem; border-radius: 50%; box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.14); color: #FCF7EC; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.38); transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
/* Shared powder texture: the tint gradient below stays the base, so a missing
   texture leaves each swatch looking exactly as designed. Grain over the colour only. */
.range-swatch::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: url(../images/range-texture.jpg) center / cover no-repeat; mix-blend-mode: soft-light; opacity: 0.55; pointer-events: none; }
.range-item:hover .range-swatch { transform: translateY(-4px) scale(1.05); }
.range-swatch h3 { position: relative; z-index: 1; font-size: clamp(0.95rem, 1.35vw, 1.2rem); line-height: 1.12; margin: 0; color: inherit; }
.range-swatch .product-species { position: relative; z-index: 1; font-family: var(--font-body); font-style: italic; font-size: clamp(0.68rem, 0.85vw, 0.8rem); line-height: 1.2; opacity: 0.92; margin: 0; color: inherit; }
.range-swatch--natural { background: radial-gradient(circle at 34% 30%, #C6733E, #8A4A28 74%); }
.range-swatch--neutral { background: radial-gradient(circle at 34% 30%, #96A661, #5C6A38 74%); }
.range-swatch--black   { background: radial-gradient(circle at 34% 30%, #3A2C22, #120C08 74%); }
.range-swatch--blonde  { background: radial-gradient(circle at 34% 30%, #E6C378, #C79A44 74%); color: #3A2C0E; text-shadow: 0 1px 3px rgba(255, 255, 255, 0.35); }
.range-swatch--indigo  { background: radial-gradient(circle at 34% 30%, #3C5170, #1B2740 74%); }
@media (prefers-reduced-motion: reduce) { .range-item:hover .range-swatch { transform: none; } }
.range-item .product-desc { font-size: 0.92rem; line-height: 1.45; opacity: 0.85; margin: 0; }
.product-species { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--accent); margin: 0 0 1rem; }
.product-desc { margin: 0; opacity: 0.86; font-size: 1.12rem; max-width: 42ch; }

/* -------------------- Packaging: zig-zag rows -------------------- */
.packaging-zigzag { display: grid; gap: clamp(2rem, 5vw, 3.4rem); max-width: 980px; margin-inline: auto; }
.pack-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.pack-row .img-frame { box-shadow: var(--shadow); }
.pack-row .img-real { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.pack-row:hover .img-real { transform: scale(1.04); }
.pack-row.reversed .pack-media { order: 2; }
.pack-copy h3 { font-size: 1.7rem; margin-bottom: 0.5rem; }
.pack-copy p { margin: 0; opacity: 0.86; }
.pack-note-global { text-align: center; margin: clamp(2.4rem, 5vw, 3.4rem) auto 0; color: var(--accent); font-weight: 500; font-size: 1.05rem; }

/* -------------------- Why us: image column + reasons column ------------- */
.why-layout { display: grid; grid-template-columns: 0.8fr 2fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; max-width: 1120px; margin-inline: auto; }
.why-media { margin: 0; box-shadow: var(--shadow); }
.why-media .img-real { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.why-media:hover .img-real { transform: scale(1.03); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(1.5rem, 4vw, 3rem); margin: 0; }
.why-item {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  column-gap: 1.1rem;
  row-gap: 0.3rem;
  align-items: start;
  padding: 1.7rem 0;
  border-top: 1px solid var(--border);
  transition: transform 0.3s ease;
}
.why-item:hover { transform: translateY(-3px); }
.why-num { grid-row: 1 / 3; font-family: var(--font-display); font-size: 2.3rem; line-height: 1; color: var(--accent); opacity: 0.85; }
.why-item h3 { align-self: center; font-size: 1.35rem; transition: color 0.2s ease; }
.why-item:hover h3 { color: var(--accent); }
.why-item p { grid-column: 2; margin: 0; opacity: 0.85; }

/* -------------------- Process: vertical timeline -------------------- */
.timeline { position: relative; max-width: 660px; margin-inline: auto; display: grid; gap: 2.1rem; }
.timeline::before { content: ""; position: absolute; left: 18px; top: 10px; bottom: 10px; width: 2px; background: var(--border); }
.timeline .step { position: relative; padding-left: 66px; }
.step-num {
  position: absolute;
  left: 0; top: -2px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.05rem;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline .step:hover .step-num { transform: scale(1.08); box-shadow: 0 0 0 6px var(--accent-soft); }
.step h3 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.step p { margin: 0; opacity: 0.85; }

/* -------------------- OEM: split panel -------------------- */
.oem-inner { max-width: 980px; margin-inline: auto; }
.oem-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.oem-media { margin: 0; box-shadow: var(--shadow); }
.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); }
.oem-copy h2 { margin-bottom: 1rem; }
.oem-lead { font-size: 1.25rem; margin-bottom: 1.6rem; opacity: 0.92; }
.section-dark .btn-primary { background: var(--on-dark); color: var(--dark); }
.section-dark .btn-primary:hover { background: var(--accent); color: var(--on-dark); }

/* -------------------- 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; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq-item:hover { border-color: var(--accent); box-shadow: 0 10px 24px -18px rgba(176, 97, 60, 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-size: 1.3rem; font-weight: 600; transition: color 0.2s ease; }
.faq-item summary:hover .faq-q { color: var(--accent); }
.faq-item summary::after { content: ""; position: absolute; right: 1.35rem; top: 1.35rem; width: 0.62rem; height: 0.62rem; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transform-origin: center; transition: transform 0.25s ease; }
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-body { padding: 0 1.3rem 1.3rem; overflow: hidden; transition: height 0.28s ease; }
.faq-body p { margin: 0; opacity: 0.86; }

/* -------------------- 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-display); font-size: 1.1rem; }
.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::placeholder, .field textarea::placeholder { color: var(--text); opacity: 0.5; }
.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 select option { color: var(--text); }
.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-light); }
.form-status.is-error { color: var(--danger); }

/* -------------------- Footer -------------------- */
#footer { background: var(--dark); color: var(--on-dark); padding: clamp(3rem, 6vw, 4.2rem) 0 1.8rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 2rem; }
.footer-brand { max-width: 460px; }
.footer-brand .brand { margin-bottom: 0.7rem; }
.footer-brand .brand-name { font-size: 1.9rem; }
.footer-brand p { opacity: 0.82; line-height: 1.6; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.3rem; }
.footer-nav a { color: var(--on-dark); text-decoration: none; opacity: 0.8; font-size: var(--fs-small); text-transform: uppercase; letter-spacing: 0.08em; transition: opacity 0.15s, color 0.15s; }
.footer-nav a:hover { opacity: 1; color: var(--accent-light); }
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem 2rem; margin-top: 2.4rem; padding-top: 1.6rem; }
.footer-ship { font-weight: 500; opacity: 0.9; margin: 0; }
.footer-copy { font-size: var(--fs-small); opacity: 0.6; 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; }
.product-grid .reveal:nth-child(2),
.why-grid .reveal:nth-child(2),
.timeline .reveal:nth-child(2) { transition-delay: 0.09s; }
.product-grid .reveal:nth-child(3),
.why-grid .reveal:nth-child(3),
.timeline .reveal:nth-child(3) { transition-delay: 0.18s; }
.product-grid .reveal:nth-child(4),
.why-grid .reveal:nth-child(4),
.timeline .reveal:nth-child(4) { transition-delay: 0.27s; }
.product-grid .reveal:nth-child(5),
.why-grid .reveal:nth-child(5) { transition-delay: 0.36s; }
.why-grid .reveal:nth-child(6) { transition-delay: 0.45s; }

/* -------------------- Signature flourish -------------------- */
.section-head h2 { position: relative; display: inline-block; padding-bottom: 0.75rem; }
.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  height: 2px; width: 3rem;
  transform: translateX(-50%) scaleX(1);
  transform-origin: center;
  background: var(--accent);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.section-head.reveal h2::after { transform: translateX(-50%) scaleX(0); }
.section-head.reveal.is-visible h2::after { transform: translateX(-50%) scaleX(1); }

.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: -3px;
  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 -------------------- */
/* Fixed bottom-center pill; JS slides it up once the hero CTA scrolls out of
   view and hides it again over #contact. Matches .btn-primary look. */
.floating-cta {
  position: fixed;
  left: 0; right: 0;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  margin-inline: auto;
  width: fit-content;
  z-index: 70;
  font-family: var(--font-display);
  font-size: 1.12rem;
  padding: 0.85rem 1.8rem;
  background: var(--accent);
  color: var(--on-dark);
  border-radius: 100px;
  box-shadow: 0 14px 34px -12px rgba(58,44,30,0.5);
  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) {
  .product-grid .product-card { max-width: calc((100% - var(--gap)) / 2); }
  .why-layout { grid-template-columns: 1fr; max-width: 560px; }
  .why-media { max-width: 460px; margin-inline: auto; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .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); }
  .nav-links a { padding-block: 0.5rem; }   /* larger tap target in the mobile dropdown */
}
@media (max-width: 760px) {
  .range-row { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 1.4rem; max-width: 460px; margin-inline: auto; }
  .range-item:last-child { grid-column: 1 / -1; }
  .pack-row { grid-template-columns: 1fr; gap: 1rem; }
  .pack-row.reversed .pack-media { order: 0; }
  .oem-split { grid-template-columns: 1fr; text-align: center; }
  .oem-media { max-width: 460px; margin-inline: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-powder { display: none; }
}
@media (max-width: 560px) {
  .product-grid .product-card { max-width: 100%; }
  .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,
  .lang-toggle:hover,
  .product-card:hover,
  .why-item:hover,
  .timeline .step:hover .step-num,
  .product-card:hover .img-real,
  .pack-row:hover .img-real,
  .why-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;
}
