/* =========================================================
   HUIYILAI — Homepage Design System
   Mobile-first · yellow/white/black · WCAG 2.2 AA
   Only transform & opacity are animated (GPU-friendly).
   ========================================================= */

:root {
  /* Brand palette */
  --brand: #F5B800;          /* HUIYILAI Yellow — CTA / highlight */
  --brand-dark: #D9A200;     /* hover state */
  --ink: #1A1A1A;            /* primary text (16.7:1 on white) */
  --ink-soft: #444444;
  --gray: #666666;           /* secondary text (5.74:1 on white) */
  --line: #E5E7EB;           /* borders */
  --bg: #FFFFFF;
  --bg-soft: #F6F7F9;        /* alt section bg (warmer, less flat) */
  --bg-dark: #0E1116;        /* footer / dark CTA (deeper near-black) */
  --on-dark: #FFFFFF;

  /* Type scale — 8px baseline, 12–52px */
  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 18px;
  --fs-lg: 22px;
  --fs-xl: 30px;
  --fs-2xl: 36px;
  --fs-3xl: 44px;

  /* Spacing — 8px scale (more vertical breathing for premium rhythm) */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 48px; --s-6: 72px; --s-7: 112px;

  --r: 10px;       /* card radius (slightly softer) */
  --r-lg: 18px;
  --r-xl: 24px;
  /* Layered, soft "premium" shadows */
  --shadow-sm: 0 1px 2px rgba(17,20,24,.04), 0 4px 12px rgba(17,20,24,.05);
  --shadow-md: 0 8px 24px rgba(17,20,24,.10);
  --shadow-lg: 0 18px 48px rgba(17,20,24,.16);
  --accent-soft: rgba(245,184,0,.14);   /* subtle yellow tint for accents */
  --maxw: 1200px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 var(--s-2); font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 var(--s-2); }
ul { margin: 0; padding: 0; list-style: none; }

/* Accessible helpers */
.visually-hidden, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r); z-index: 200;
}
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
/* Visible focus on dark backgrounds (footer / cert band) */
.site-footer a:focus-visible,
.certband a:focus-visible,
.qc__fab:focus-visible { outline-color: var(--brand); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s-2); }
.container--narrow { max-width: 820px; }

/* ---------- Buttons (micro-interaction: scale only) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap;
  font: inherit; font-weight: 700; font-size: var(--fs-base);
  padding: 13px 26px; border-radius: var(--r); border: 2px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  will-change: transform;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn--sm { padding: 8px 16px; font-size: var(--fs-sm); }
.btn--block { width: 100%; }

.btn--primary { background: var(--brand); color: var(--ink); box-shadow: 0 6px 18px rgba(245,184,0,.30); }
.btn--primary:hover { background: var(--brand-dark); box-shadow: 0 10px 26px rgba(245,184,0,.40); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 var(--s-2);
  flex-wrap: nowrap; white-space: nowrap;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand); border-radius: 2px; flex: none; }
/* Centered section heads: rule sits above the label for an editorial look */
.section__head .eyebrow { justify-content: center; flex-direction: column; gap: 8px; }
.section__head .eyebrow::before { width: 36px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header[data-elevate="true"] { box-shadow: var(--shadow-sm); }
.site-header__inner { display: flex; align-items: center; gap: var(--s-2); height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.brand__mark { display: inline-flex; align-items: center; }
.brand__logo { width: 28px; height: 28px; display: block; object-fit: contain; }
.brand__name { font-size: var(--fs-lg); letter-spacing: .02em; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: var(--s-1); }
.nav__list > li > a {
  display: inline-block; padding: 8px 10px; border-radius: var(--r); font-weight: 600; font-size: var(--fs-sm);
}
.nav__list > li > a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }
.nav__has-menu { position: relative; }
.nav__submenu {
  position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--shadow-md); padding: var(--s-1); display: none; z-index: 110;
}
.nav__has-menu:hover .nav__submenu,
.nav__has-menu:focus-within .nav__submenu { display: block; }
.nav__submenu li a { display: block; padding: 8px 10px; border-radius: var(--r); font-size: var(--fs-sm); }
.nav__submenu li a:hover { background: var(--bg-soft); }

.site-header__actions { display: flex; align-items: center; gap: var(--s-1); margin-left: var(--s-2); }
.lang-badge {
  font-size: var(--fs-xs); font-weight: 700; padding: 3px 8px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--gray);
}
.whatsapp-link { color: #15692d; border-color: #bfe3c9; }
.whatsapp-link:hover { background: #eaf6ee; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; cursor: pointer; flex-direction: column; gap: 4px; align-items: center; justify-content: center;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

/* ---------- Hero (full-bleed image + overlaid copy) ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center;
  min-height: clamp(520px, 84vh, 760px);
  padding: var(--s-7) 0;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14,17,22,.92) 0%, rgba(14,17,22,.74) 34%, rgba(14,17,22,.38) 70%, rgba(14,17,22,.18) 100%),
    linear-gradient(0deg, rgba(14,17,22,.55) 0%, rgba(14,17,22,0) 40%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__copy { max-width: 660px; color: #fff; }
.hero__copy h1 {
  font-size: clamp(34px, 5.4vw, 56px); line-height: 1.05; letter-spacing: -.03em;
  margin-bottom: var(--s-3); text-wrap: balance; color: #fff;
}
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero__lead { font-size: var(--fs-md); color: rgba(255,255,255,.9); max-width: 52ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-4) 0 var(--s-3); }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); font-size: var(--fs-sm); color: rgba(255,255,255,.85); font-weight: 600; }
.hero__trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero .ic { width: 18px; height: 18px; color: var(--brand); flex: none; }
/* Light outline button variant for the dark hero */
.hero .btn--outline { color: #fff; border-color: rgba(255,255,255,.75); }
.hero .btn--outline:hover { background: #fff; color: var(--ink); }
@media (max-width: 767px) {
  .hero__scrim { background: linear-gradient(180deg, rgba(14,17,22,.55) 0%, rgba(14,17,22,.86) 100%); }
}
/* Trust stamp overlay — keeps the 20+ years E-E-A-T signal on the real photo */
.hero__stamp {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--ink); color: var(--brand);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
  border: 2px solid rgba(245,184,0,.85);
}
.hero__stamp-num { font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.hero__stamp-label { font-size: 10px; font-weight: 700; letter-spacing: .14em; margin-top: 3px; }

/* ---------- Key facts band ---------- */
.facts { background: var(--bg-soft); color: var(--ink); border-top: 4px solid var(--brand); }
.facts__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-4) 0;
  padding: var(--s-5) var(--s-2);
}
.fact { text-align: center; padding: 0 var(--s-2) var(--s-1); position: relative; }
.fact + .fact::before {
  content: ""; position: absolute; left: 0; top: 16%; height: 68%; width: 1px; background: rgba(17,20,24,.12);
}
.fact__num { display: block; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; color: var(--ink); line-height: 1.05; letter-spacing: -.02em; }
.fact__label { font-size: var(--fs-sm); color: var(--gray); margin-top: 6px; }

/* ---------- Sections ---------- */
.section { padding: var(--s-6) 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin: 0 auto var(--s-5); text-align: center; }
.section__head h2 { font-size: var(--fs-2xl); }
.section__intro { color: var(--gray); font-size: var(--fs-md); }

/* ---------- Search ---------- */
.search { position: relative; max-width: 560px; margin: 0 auto var(--s-4); }
.search__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--gray); }
.search input {
  width: 100%; padding: 14px 14px 14px 42px; font: inherit; font-size: var(--fs-base);
  border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.search input:focus-visible { border-color: var(--ink); }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(245,184,0,.55); }
.card__media { aspect-ratio: 4/3; background: var(--bg-soft); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__media img { transform: scale(1.07); }
.card__title { font-size: var(--fs-md); margin: var(--s-2) var(--s-3) var(--s-1); letter-spacing: -.01em; }
.card__desc { font-size: var(--fs-sm); color: var(--gray); margin: 0 var(--s-3) var(--s-2); flex: 1; }
.card__link { font-weight: 700; font-size: var(--fs-sm); color: var(--ink); padding: 0 var(--s-2) var(--s-3); display: inline-block; transition: color .2s ease; }
.card__link:hover { color: var(--brand-dark); text-decoration: none; }
.product-grid__empty { text-align: center; color: var(--gray); margin-top: var(--s-3); }

/* ---------- Features (Why choose) ---------- */
.feature-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-3);
  box-shadow: var(--shadow-sm); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(245,184,0,.5); }
.feature__icon { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--ink); align-items: center; justify-content: center; margin-bottom: var(--s-2); }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: var(--fs-md); margin-bottom: var(--s-1); letter-spacing: -.01em; }
.feature p { font-size: var(--fs-sm); color: var(--gray); margin: 0; }

/* ---------- Certifications band ---------- */
.certband {
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(245,184,0,.10) 0%, rgba(245,184,0,0) 42%),
    linear-gradient(180deg, #0E1116 0%, #15191F 100%);
  color: #fff;
}
.certband__inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); padding: var(--s-5) var(--s-2); }
.certband__title { font-size: var(--fs-xl); margin: 0; flex: 1 1 220px; letter-spacing: -.01em; }
.certband__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: var(--s-2); flex: 3 1 420px; }
.certbadge {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r); padding: var(--s-2) var(--s-2); min-width: 0;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
.certbadge:hover { transform: translateY(-3px); border-color: rgba(245,184,0,.5); background: rgba(245,184,0,.10); }
.certbadge__abbr { font-weight: 800; font-size: var(--fs-md); color: var(--brand); letter-spacing: .02em; }
.certbadge__name { font-size: var(--fs-xs); color: #c9ccd1; margin-top: 4px; }
.certband__link { color: var(--brand); font-weight: 700; white-space: nowrap; }
.certband__link:hover { color: #fff; text-decoration: none; }

/* ---------- Solutions ---------- */
.solution-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-3); }
.solution {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-3) var(--s-3) var(--s-3); box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .2s ease;
}
.solution::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.solution:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(245,184,0,.5); text-decoration: none; }
.solution:hover::before { transform: scaleX(1); }
.solution h3 { font-size: var(--fs-md); letter-spacing: -.01em; }
.solution p { font-size: var(--fs-sm); color: var(--gray); margin: 0 0 var(--s-2); }
.solution__more { font-weight: 700; color: var(--ink); font-size: var(--fs-sm); display: inline-block; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s-1); }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 0 var(--s-3); }
.faq__item summary {
  cursor: pointer; font-weight: 700; padding: var(--s-2) 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-2);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: var(--fs-xl); color: var(--brand); line-height: 1; transition: transform .2s ease; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 var(--s-2); color: var(--gray); font-size: var(--fs-sm); }

/* ---------- Inquiry form ---------- */
.inquiry { background: var(--bg-soft); }
.form__grid { display: grid; grid-template-columns: 1fr; gap: var(--s-2); margin-bottom: var(--s-2); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-weight: 600; font-size: var(--fs-sm); }
.field .req { color: #c0392b; }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--fs-base); padding: 11px 12px;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff; width: 100%;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--ink); outline: none; }
.field--invalid input, .field--invalid select, .field--invalid textarea { border-color: #c0392b; }
.field__error { color: #c0392b; font-size: var(--fs-xs); min-height: 14px; }
.form__msg { min-height: 20px; font-weight: 600; font-size: var(--fs-sm); }
.form__msg--ok { color: #1a7f37; }
.form__msg--err { color: #c0392b; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--gray); line-height: 1.5; }
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(120deg, #F5B800 0%, #FFD23E 100%); color: var(--ink);
}
.cta-strip__inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); padding: var(--s-6) var(--s-2); justify-content: center; text-align: center; }
.cta-strip h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 0; letter-spacing: -.02em; }
.cta-strip p { margin: 0; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: #c9ccd1; padding-top: var(--s-6); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: var(--s-4); padding-bottom: var(--s-5); }
.site-footer__brand .brand__name { color: #fff; font-size: var(--fs-xl); }
.site-footer__brand p { font-size: var(--fs-sm); }
.site-footer__contact a { color: var(--brand); }
.site-footer__col h3, .site-footer__social h3 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--s-2); }
.site-footer__col a, .site-footer__social a { color: #c9ccd1; font-size: var(--fs-sm); }
.site-footer__col a:hover { color: #fff; }
.social { display: flex; gap: var(--s-1); }
.social a {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--r); color: #fff; font-weight: 700; font-size: var(--fs-xs);
  transition: transform .2s ease, background-color .2s ease;
}
.social a:hover { background: var(--brand); color: var(--ink); transform: translateY(-2px); text-decoration: none; }
.site-footer__bar { border-top: 1px solid rgba(255,255,255,.12); padding: var(--s-3) var(--s-2); font-size: var(--fs-xs); color: #8b9097; }

/* ---------- Quick contact widget ---------- */
.qc { position: fixed; right: 18px; bottom: 18px; z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.qc__fab {
  width: 56px; height: 56px; border-radius: 50%; border: none; background: var(--brand); color: var(--ink);
  box-shadow: var(--shadow-md); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background-color .2s ease;
}
.qc__fab:hover { transform: scale(1.05); background: var(--brand-dark); }
.qc__fab:active { transform: scale(.95); }
.qc__panel {
  width: min(340px, calc(100vw - 36px)); background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: var(--s-3);
  transform: translateY(8px) scale(.98); opacity: 0; pointer-events: none;
  transition: transform .22s ease, opacity .22s ease;
}
.qc__panel[hidden] { display: none; }
.qc__panel.is-open { transform: none; opacity: 1; pointer-events: auto; }
.qc__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--s-2); }
.qc__title { font-size: var(--fs-md); margin: 0; }
.qc__close { border: none; background: var(--bg-soft); width: 32px; height: 32px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; }
.qc__form { display: grid; gap: var(--s-1); }
.qc__form label { display: flex; flex-direction: column; gap: 4px; font-size: var(--fs-sm); font-weight: 600; }
.qc__form input, .qc__form select, .qc__form textarea { font: inherit; font-size: var(--fs-sm); padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r); width: 100%; }
.qc__msg { font-size: var(--fs-xs); font-weight: 600; min-height: 14px; }
.qc__msg--ok { color: #1a7f37; }
.qc__msg--err { color: #c0392b; }

/* ---------- Company / Factory ---------- */
.company__grid { display: grid; gap: var(--s-4); align-items: center; }
.company__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--bg-soft); }
.company__media img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.company__media:hover img { transform: scale(1.04); }
.company__copy h2 { font-size: var(--fs-2xl); }
.company__facts { display: grid; gap: var(--s-1); margin: var(--s-2) 0 var(--s-3); }
.company__facts li { font-size: var(--fs-sm); color: var(--gray); padding-left: 22px; position: relative; }
.company__facts li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-dark); font-weight: 800; }
.company__gallery { display: grid; grid-template-columns: 1fr; gap: var(--s-2); margin-top: var(--s-4); }
.photo-slot { margin: 0; }
.photo-slot__img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--r-lg); border: 1px solid var(--line); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease; }
.photo-slot:hover .photo-slot__img { transform: scale(1.03); box-shadow: var(--shadow-md); }
.photo-slot figcaption { font-size: var(--fs-xs); color: var(--gray); margin-top: 6px; text-align: center; }

/* =========================================================
   Responsive — progressive enhancement (mobile-first → up)
   ========================================================= */

/* ≥ 576px phones */
@media (min-width: 576px) {
  .facts__grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ≥ 768px tablet */
@media (min-width: 768px) {
  :root { --fs-3xl: 48px; }
  .hero { padding: var(--s-7) 0; }
  .hero__lead { font-size: var(--fs-lg); }
  .facts__grid { grid-template-columns: repeat(5, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .company__grid { grid-template-columns: 1fr 1fr; }
  .company__gallery { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}

/* ≥ 992px laptop */
@media (min-width: 992px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .solution-grid { grid-template-columns: repeat(3, 1fr); }
  .section__head h2 { font-size: var(--fs-3xl); }
}

/* ---------- Mobile nav (≤ 900px) ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-header__actions .lang-badge { display: none; }
  .whatsapp-link__text { display: none; }
  .whatsapp-link { padding: 8px; }
  .nav {
    position: fixed; inset: 64px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); transform: translateY(-120%); transition: transform .25s ease; padding: var(--s-2);
    margin-left: 0; visibility: hidden; pointer-events: none;
  }
  .nav.is-open { transform: translateY(0); visibility: visible; pointer-events: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li > a { padding: var(--s-2); border-bottom: 1px solid var(--line); }
  .nav__submenu {
    position: static; box-shadow: none; border: none; border-bottom: 1px solid var(--line);
    display: none; padding: 0 0 0 var(--s-3); background: var(--bg-soft);
  }
  .nav__has-menu.is-open .nav__submenu { display: block; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .btn:hover, .card:hover, .solution:hover, .social a:hover, .qc__fab:hover { transform: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Scroll reveal (progressive enhancement) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
