/* =============================================================
   Qirun Machinery Parts — New Official Website
   Design System & Components
   Palette: industrial blue (trade / reliable), premium & clean
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand colors */
  --c-ink:        #0B2138;   /* deep navy ink (text / hero) */
  --c-ink-2:      #14365C;
  --c-blue:       #1B5FE3;   /* primary */
  --c-blue-dark:  #0A3D91;
  --c-blue-bright:#2E86F6;
  --c-cyan:       #16C2D6;   /* secondary energy accent */
  --c-slate:      #5B6B7F;   /* muted text */
  --c-slate-2:    #8294A8;
  --c-line:       #E4E9F0;
  --c-bg:         #FFFFFF;
  --c-bg-soft:    #F5F8FC;
  --c-bg-tint:    #EEF4FB;

  /* Gradients */
  --grad-brand:   linear-gradient(135deg, #2E86F6 0%, #0A3D91 100%);
  --grad-hero:    radial-gradient(1200px 600px at 78% -10%, rgba(46,134,246,.45) 0%, rgba(11,33,56,0) 60%),
                   linear-gradient(160deg, #0B2138 0%, #0A2E54 55%, #0A3D91 100%);
  --grad-cta:     linear-gradient(120deg, #0A3D91 0%, #1B5FE3 100%);

  /* Typography */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;

  /* Spacing scale */
  --sp-1: 8px;  --sp-2: 16px; --sp-3: 24px; --sp-4: 40px;
  --sp-5: 64px; --sp-6: 96px; --sp-7: 128px;

  /* Radius & shadow */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;
  --sh-sm: 0 2px 8px rgba(11,33,56,.06);
  --sh-md: 0 10px 30px rgba(11,33,56,.10);
  --sh-lg: 0 24px 60px rgba(11,33,56,.16);
  --sh-blue: 0 14px 34px rgba(27,95,227,.28);

  --maxw: 1200px;
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: var(--sp-6) 0; }
.section--soft { background: var(--c-bg-soft); }
.section--tint { background: linear-gradient(180deg, #fff 0%, var(--c-bg-tint) 100%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-blue); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(27,95,227,.38); }
.btn--ghost { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { background: rgba(255,255,255,.18); }
.btn--outline { background: #fff; color: var(--c-blue); border-color: var(--c-line); }
.btn--outline:hover { border-color: var(--c-blue); box-shadow: var(--sh-sm); transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 16px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.header.is-scrolled { box-shadow: var(--sh-sm); border-color: var(--c-line); }
.header__inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--c-ink); letter-spacing: -.01em; }
.brand__mark {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: var(--grad-brand); display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 18px; box-shadow: var(--sh-blue);
}
.brand__sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: 11px; color: var(--c-slate-2); letter-spacing: .14em; text-transform: uppercase; margin-top: 1px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 15px; border-radius: var(--r-pill); font-size: 15px; font-weight: 500; color: var(--c-ink-2);
  transition: background .18s ease, color .18s ease;
}
.nav a:hover, .nav a.is-active { background: var(--c-bg-tint); color: var(--c-blue); }
.header__cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--c-line); background: #fff; border-radius: 12px; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--c-ink); position: relative; transition: .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--c-ink); transition: .25s; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: #071C34; /* fallback colour shown before the hero image paints (prevents flash) */
}
.hero__bg { position: absolute; inset: 0; z-index: 0; display: block; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { /* dark gradient overlay — keeps text legible over the photo */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, rgba(8,28,52,.88) 0%, rgba(10,41,78,.82) 55%, rgba(11,33,56,.88) 100%);
}
.hero::after { /* subtle grid texture */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(900px 500px at 70% 20%, #000 0%, transparent 75%);
  opacity: .35;
}
.hero__inner { position: relative; z-index: 2; padding: clamp(64px, 9vw, 132px) 24px; max-width: var(--maxw); margin: 0 auto; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: #A9CCFF;
  background: rgba(46,134,246,.16); border: 1px solid rgba(46,134,246,.35);
  padding: 7px 14px; border-radius: var(--r-pill); margin-bottom: 22px;
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--c-cyan); box-shadow: 0 0 12px var(--c-cyan); }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.06; max-width: 16ch; }
.hero h1 .grad { background: linear-gradient(100deg, #7FB0FF, #19E0D6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 22px; font-size: clamp(16px, 2vw, 19px); color: #C8D8EE; max-width: 56ch; }
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; }
.hero__trust .trust-item { display: flex; flex-direction: column; }
.hero__trust .num { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: #fff; line-height: 1; }
.hero__trust .lbl { font-size: 13px; color: #9FB8D6; margin-top: 6px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.badge { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: #D7E6F8; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 7px 13px; border-radius: var(--r-pill); }

/* ---------- Logo / brands strip ---------- */
.strip { border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); background: #fff; }
.strip__inner { max-width: var(--maxw); margin: 0 auto; padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; justify-content: center; }
.strip__label { font-size: 13px; font-weight: 600; color: var(--c-slate); letter-spacing: .08em; text-transform: uppercase; }
.strip__logos { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; justify-content: center; }
.brandchip { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--c-ink-2); letter-spacing: .02em; padding: 6px 16px; border: 1px solid var(--c-line); border-radius: var(--r-pill); background: var(--c-bg-soft); }

/* ---------- Section heading ---------- */
.sec-head { max-width: 760px; margin-bottom: var(--sp-4); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-tag { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-blue); margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 40px); }
.sec-head p { margin-top: 14px; color: var(--c-slate); font-size: 17px; }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod-card {
  position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 28px 24px 24px; overflow: hidden; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.prod-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-brand); transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: transparent; }
.prod-card:hover::after { transform: scaleX(1); }
.prod-card__icon { width: 60px; height: 60px; border-radius: 14px; background: var(--c-bg-tint); display: grid; place-items: center; color: var(--c-blue); margin-bottom: 18px; }
.prod-card__icon svg { width: 32px; height: 32px; }
.prod-card__img { margin: -28px -24px 18px; aspect-ratio: 16/11; overflow: hidden; background: var(--c-bg-soft); }
.prod-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.prod-card:hover .prod-card__img img { transform: scale(1.05); }
.prod-card h3 { font-size: 19px; }
.prod-card p { margin-top: 8px; color: var(--c-slate); font-size: 14.5px; min-height: 44px; }
.prod-card__list { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.prod-card__list li { font-size: 12px; font-weight: 600; color: var(--c-ink-2); background: var(--c-bg-soft); border: 1px solid var(--c-line); padding: 4px 10px; border-radius: var(--r-pill); }
.prod-card__more { margin-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--c-blue); }
.prod-card__more svg { width: 16px; height: 16px; transition: transform .2s; }
.prod-card:hover .prod-card__more svg { transform: translateX(4px); }

/* ---------- Value / features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feat:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.feat__ico { width: 52px; height: 52px; border-radius: 13px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; margin-bottom: 18px; box-shadow: var(--sh-blue); }
.feat__ico svg { width: 26px; height: 26px; }
.feat h3 { font-size: 19px; }
.feat p { margin-top: 10px; color: var(--c-slate); font-size: 15px; }

/* ---------- Materials ---------- */
.mat-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.mat-list { display: grid; gap: 14px; }
.mat { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 18px 20px; transition: border-color .2s, box-shadow .2s; }
.mat:hover { border-color: var(--c-blue); box-shadow: var(--sh-sm); }
.mat__code { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--c-blue); min-width: 96px; }
.mat__txt { font-size: 14.5px; color: var(--c-slate); }
.mat__txt b { color: var(--c-ink); font-weight: 600; }
.mat-visual { background: var(--grad-hero); border-radius: var(--r-lg); padding: 38px 34px; color: #fff; position: relative; overflow: hidden; box-shadow: var(--sh-lg); }
.mat-visual h3 { font-size: 22px; color: #fff; }
.mat-visual p { margin-top: 12px; color: #C8D8EE; font-size: 15px; }
.mat-visual .chips { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.mat-visual .chips span { font-size: 13px; font-weight: 600; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); padding: 7px 14px; border-radius: var(--r-pill); }

/* ---------- Stats band ---------- */
.stats { background: var(--grad-cta); color: #fff; border-radius: var(--r-lg); padding: clamp(36px, 5vw, 60px); box-shadow: var(--sh-lg); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 4vw, 46px); line-height: 1; background: linear-gradient(100deg,#fff,#BFE0FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__lbl { margin-top: 10px; font-size: 14.5px; color: #CFE0F5; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ind { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); padding: 24px; display: flex; align-items: center; gap: 16px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.ind:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }
.ind__ico { width: 48px; height: 48px; flex: none; border-radius: 12px; background: var(--c-bg-tint); color: var(--c-blue); display: grid; place-items: center; }
.ind__ico svg { width: 24px; height: 24px; }
.ind h3 { font-size: 17px; }
.ind p { font-size: 13.5px; color: var(--c-slate); margin-top: 2px; }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--grad-hero); border-radius: var(--r-lg); padding: clamp(40px, 6vw, 72px); color: #fff; text-align: center; position: relative; overflow: hidden; box-shadow: var(--sh-lg); }
.cta-banner::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(700px 400px at 50% 0%, #000, transparent 70%); }
.cta-banner > * { position: relative; }
.cta-banner h2 { font-size: clamp(26px, 3.6vw, 40px); color: #fff; }
.cta-banner p { margin: 16px auto 28px; max-width: 56ch; color: #C8D8EE; font-size: 17px; }
.cta-banner .hero__actions { justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--grad-hero); color: #fff; padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 76px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(800px 400px at 80% 0%, #000, transparent 70%); }
.page-hero__inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.page-hero .crumb { font-size: 13px; color: #9FB8D6; margin-bottom: 14px; }
.page-hero .crumb a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 52px); max-width: 18ch; }
.page-hero p { margin-top: 18px; color: #C8D8EE; max-width: 60ch; font-size: 17px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--sh-sm); }
.about-card h3 { font-size: 22px; margin-bottom: 14px; }
.about-card p { color: var(--c-slate); font-size: 15.5px; }
.about-card ul { margin-top: 18px; display: grid; gap: 12px; }
.about-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--c-ink-2); }
.about-card li svg { width: 20px; height: 20px; color: var(--c-blue); flex: none; margin-top: 2px; }
.globe { background: var(--c-ink); color: #fff; border-radius: var(--r-lg); padding: 34px; }
.globe h3 { color: #fff; font-size: 22px; margin-bottom: 12px; }
.globe p { color: #C8D8EE; font-size: 15px; }
.globe__countries { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 9px; }
.globe__countries span { font-size: 13px; font-weight: 600; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); padding: 6px 13px; border-radius: var(--r-pill); }

.about-banner { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); }
.about-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,33,56,.62), rgba(11,33,56,.22)); }
.about-banner img { width: 100%; display: block; aspect-ratio: 21/9; object-fit: cover; }

/* ---------- Product listing (filters) ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-bar button { padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--c-line); background: #fff; font-weight: 600; font-size: 14px; color: var(--c-ink-2); transition: .18s; }
.filter-bar button:hover { border-color: var(--c-blue); color: var(--c-blue); }
.filter-bar button.is-active { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--sh-blue); }
.prod-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.prod-item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.prod-item:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.prod-item__thumb { aspect-ratio: 16/10; background: var(--c-bg-soft); overflow: hidden; border-bottom: 1px solid var(--c-line); }
.prod-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.prod-item:hover .prod-item__thumb img { transform: scale(1.05); }
.prod-item__body { padding: 20px; }
.prod-item__cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-blue); }
.prod-item h3 { font-size: 17px; margin-top: 6px; }
.prod-item p { font-size: 13.5px; color: var(--c-slate); margin-top: 8px; min-height: 38px; }
.prod-item__meta { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; }
.prod-item__meta .mat-tag { font-size: 12px; font-weight: 600; color: var(--c-ink-2); background: var(--c-bg-soft); border: 1px solid var(--c-line); padding: 4px 11px; border-radius: var(--r-pill); }
.prod-item__meta a { font-size: 14px; font-weight: 600; color: var(--c-blue); display: inline-flex; gap: 5px; align-items: center; }

/* ---------- Product Detail ---------- */
.detail { padding-top: var(--header-h); }
.detail__crumb { padding: 22px 0 0; font-size: 13.5px; color: var(--c-slate); }
.detail__crumb a { color: var(--c-slate); }
.detail__crumb a:hover { color: var(--c-blue); }
.detail__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; padding: 18px 0 var(--sp-5); align-items: start; }

/* Gallery */
.gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.gallery__main { border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; background: var(--c-bg-soft); aspect-ratio: 4/3; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery__thumbs button { flex: 1; aspect-ratio: 1/1; border: 2px solid var(--c-line); border-radius: 10px; overflow: hidden; padding: 0; cursor: pointer; background: var(--c-bg-soft); transition: border-color .18s; }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button.is-active { border-color: var(--c-blue); }

/* Head */
.detail__cat { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-blue); background: var(--c-bg-tint); border: 1px solid var(--c-line); padding: 5px 13px; border-radius: var(--r-pill); margin-bottom: 14px; }
.detail__title { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.18; margin: 0 0 10px; }
.detail__model { font-size: 15px; color: var(--c-slate); margin-bottom: 18px; }
.detail__model b { color: var(--c-ink-2); }
.detail__lead { font-size: 16px; color: var(--c-slate); margin-bottom: 22px; }
.detail__chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.detail__chips span { font-size: 13px; font-weight: 600; background: var(--c-bg-soft); border: 1px solid var(--c-line); color: var(--c-ink-2); padding: 7px 14px; border-radius: var(--r-pill); }
.detail__chips span b { color: var(--c-blue); }
.detail__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.detail__actions .btn { flex: 1; min-width: 160px; justify-content: center; }
.detail__assure { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.detail__assure div { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--c-ink-2); background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: var(--r-sm); padding: 12px 14px; }
.detail__assure svg { width: 20px; height: 20px; color: var(--c-blue); flex: none; }

/* Body sections */
.detail__sections { border-top: 1px solid var(--c-line); padding-top: var(--sp-4); }
.detail__block { max-width: 880px; margin: 0 auto var(--sp-4); }
.detail__block h2 { font-size: 23px; margin-bottom: 14px; padding-left: 14px; border-left: 4px solid var(--c-blue); }
.detail__block p { color: var(--c-slate); font-size: 15.5px; }
.detail__block ul { color: var(--c-slate); font-size: 15.5px; margin-top: 10px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.detail__block ul li { display: flex; gap: 11px; align-items: flex-start; }
.detail__block ul li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-blue); margin-top: 9px; flex: none; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 6px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 18px; font-size: 14.5px; border-bottom: 1px solid var(--c-line); }
.spec-table th { width: 38%; background: var(--c-bg-soft); font-weight: 600; color: var(--c-ink-2); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table td { color: var(--c-slate); }

.model-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.model-tags span { font-size: 13.5px; font-weight: 600; background: var(--c-bg-tint); border: 1px solid var(--c-line); color: var(--c-ink-2); padding: 8px 15px; border-radius: var(--r-pill); }

/* Related */
.related { background: var(--c-bg-soft); }
.related .prod-list { grid-template-columns: repeat(4, 1fr); }

/* ---------- Featured parts (homepage, jinyangshi-style) ---------- */
.prod-item__media { display: block; }
.featured .prod-list { grid-template-columns: repeat(4, 1fr); }
.featured .sec-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.featured__more { margin-top: 30px; text-align: center; }

/* ---------- Certifications / trust strip ---------- */
.cert-strip { background: var(--c-ink); color: #fff; }
.cert-strip__inner { max-width: var(--maxw); margin: 0 auto; padding: var(--sp-4) 24px; }
.cert-strip__head { text-align: center; margin-bottom: 28px; }
.cert-strip__head .sec-tag { background: rgba(255,255,255,.12); color: var(--c-cyan); }
.cert-strip__head h2 { color: #fff; font-size: 24px; margin: 10px 0 6px; }
.cert-strip__head p { color: #9FB8D6; font-size: 15px; max-width: 640px; margin: 0 auto; }
.cert-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cert {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md);
  padding: 22px 18px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  transition: transform .2s, border-color .2s;
}
.cert:hover { transform: translateY(-4px); border-color: var(--c-cyan); }
.cert__ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(46,134,246,.20); color: #8FC0FF; display: grid; place-items: center; }
.cert__ico svg { width: 24px; height: 24px; }
.cert__code { font-size: 17px; font-weight: 700; color: #fff; }
.cert__txt { font-size: 13px; color: #9FB8D6; line-height: 1.5; }
.cert-resume { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cert-resume span { font-size: 13px; font-weight: 600; color: #C8D8EE; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); padding: 7px 16px; border-radius: var(--r-pill); }

/* Certification seals (visual proof) */
.seals { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px 34px; margin-top: 32px; }
.seal { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.seal svg { width: 94px; height: 94px; filter: drop-shadow(0 8px 16px rgba(0,0,0,.35)); }
.seal span { font-size: 12px; font-weight: 600; color: #9FB8D6; letter-spacing: .03em; }

/* ---------- Buying confidence ---------- */
.confidence { background: var(--c-bg-soft); }
.conf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 30px; }
.conf-card { display: flex; gap: 18px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 26px 28px; box-shadow: var(--sh-sm); transition: transform .2s, box-shadow .2s; }
.conf-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.conf-card__ico { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--grad-brand); color: #fff; display: grid; place-items: center; }
.conf-card__ico svg { width: 26px; height: 26px; }
.conf-card h3 { font-size: 18px; margin-bottom: 6px; }
.conf-card p { font-size: 14.5px; color: var(--c-slate); line-height: 1.6; }
.conf-card .meta { display: inline-block; margin-top: 11px; font-size: 12.5px; font-weight: 700; color: var(--c-blue); background: var(--c-bg-tint); border: 1px solid var(--c-line); padding: 5px 12px; border-radius: var(--r-pill); }

/* ---------- Trusted-by logo wall ---------- */
.logowall { background: #fff; }
.logowall__inner { max-width: var(--maxw); margin: 0 auto; padding: var(--sp-4) 24px; text-align: center; }
.logowall__inner h2 { font-size: 26px; margin: 10px 0 4px; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 28px; }
.logo-slot { height: 94px; border: 1px dashed var(--c-line); border-radius: var(--r-md); display: grid; place-items: center; align-content: center; gap: 6px; background: var(--c-bg-soft); color: var(--c-slate-2); font-size: 11.5px; font-weight: 600; text-align: center; padding: 10px; }
.logo-slot svg { width: 28px; height: 28px; opacity: .45; }
.logowall__cap { font-size: 13px; color: var(--c-slate); margin-top: 22px; }

/* ---------- Language switcher ---------- */
.langswitch { display: inline-flex; align-items: center; gap: 2px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-pill); padding: 3px; }
.langswitch a { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #C8D8EE; padding: 5px 11px; border-radius: var(--r-pill); text-decoration: none; transition: background .15s, color .15s; }
.langswitch a:hover { background: rgba(255,255,255,.14); color: #fff; }
.langswitch a.is-active { background: #fff; color: var(--c-ink); }
.header .langswitch { margin-right: 14px; }
.footer .langswitch { margin-top: 14px; }
[dir="rtl"] .header .langswitch { margin-right: 0; margin-left: 14px; }

/* ---------- Customer stories ---------- */
.cases { background: var(--c-bg-soft); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.case-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.case-card__top { background: var(--grad-hero); color: #fff; padding: 22px 24px; }
.case-card__ind { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.case-card__title { font-size: 19px; margin-top: 6px; line-height: 1.25; }
.case-card__body { padding: 22px 24px 26px; font-size: 14.5px; color: var(--c-slate); line-height: 1.62; flex: 1; }
.case-card__body p { margin-bottom: 9px; }
.case-card__body b { color: var(--c-ink-2); }
.case-stat { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--c-line); display: flex; align-items: baseline; gap: 10px; }
.case-stat .n { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--c-blue); line-height: 1; }
.case-stat .t { font-size: 13px; color: var(--c-slate); }

@media (max-width: 980px) {
  .conf-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Process / How it works ---------- */
.process { background: var(--c-bg-soft); }
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.pstep { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 32px 26px 28px; box-shadow: var(--sh-sm); transition: transform .2s, box-shadow .2s; }
.pstep::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 26px; width: 38px; height: 38px; border-radius: 50%; background: var(--grad-hero); color: #fff; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 18px; display: grid; place-items: center; box-shadow: var(--sh-sm); }
.pstep:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.pstep__ico { width: 48px; height: 48px; border-radius: 12px; background: var(--c-bg-tint); color: var(--c-blue); display: grid; place-items: center; margin: 6px 0 16px; }
.pstep__ico svg { width: 26px; height: 26px; }
.pstep h3 { font-size: 18px; margin-bottom: 8px; }
.pstep p { color: var(--c-muted); font-size: 14.5px; line-height: 1.62; }
.pstep__tag { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c-blue); background: var(--c-bg-tint); border: 1px solid var(--c-line); padding: 5px 12px; border-radius: var(--r-pill); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; }
.contact-info { background: var(--c-ink); color: #fff; border-radius: var(--r-lg); padding: 36px; }
.contact-info h3 { color: #fff; font-size: 22px; }
.contact-info p { color: #C8D8EE; margin-top: 10px; font-size: 15px; }
.cinfo-list { margin-top: 24px; display: grid; gap: 16px; }
.cinfo-list li { display: flex; gap: 14px; align-items: flex-start; }
.cinfo-list .ico { width: 42px; height: 42px; flex: none; border-radius: 11px; background: rgba(46,134,246,.18); color: #8FC0FF; display: grid; place-items: center; }
.cinfo-list .ico svg { width: 21px; height: 21px; }
.cinfo-list .t { font-size: 13px; color: #9FB8D6; }
.cinfo-list .v { font-size: 15px; font-weight: 600; color: #fff; }

.form-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 34px; box-shadow: var(--sh-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--c-ink-2); margin-bottom: 7px; }
.field label .req { color: #E5484D; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--c-line); border-radius: var(--r-sm);
  font-family: inherit; font-size: 15px; color: var(--c-ink); background: #fff; transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 4px rgba(27,95,227,.12); }
.field textarea { resize: vertical; min-height: 120px; }
.field .err { color: #E5484D; font-size: 13px; margin-top: 6px; display: none; }
.field.has-error input, .field.has-error textarea { border-color: #E5484D; }
.field.has-error .err { display: block; }
.form-note { font-size: 13px; color: var(--c-slate); margin-top: 6px; }
.form-success { display: none; background: #E7F7EE; border: 1px solid #9FDDB9; color: #14794A; padding: 16px 18px; border-radius: var(--r-sm); margin-bottom: 18px; font-weight: 600; }
.form-success.is-show { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--c-ink); color: #C8D8EE; padding: var(--sp-5) 0 0; }
.footer__grid { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 36px; }
.footer .brand { color: #fff; }
.footer .brand__sub { color: #7FA0C4; }
.footer__about p { margin-top: 16px; font-size: 14.5px; max-width: 36ch; }
.footer h4 { color: #fff; font-size: 15px; letter-spacing: .04em; margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14.5px; padding: 6px 0; color: #AFc4dd; transition: color .18s; }
.footer__col a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; padding: 6px 0; color: #AFc4dd; }
.footer__contact svg { width: 18px; height: 18px; color: #7FB0FF; flex: none; margin-top: 2px; }
.footer__bottom { margin-top: var(--sp-4); border-top: 1px solid rgba(255,255,255,.10); padding: 22px 24px; }
.footer__bottom .inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13.5px; color: #8FA8C6; }
.footer__bottom a { color: #AFc4dd; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Accessibility: skip link ---------- */
.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 200;
  background: var(--c-blue); color: #fff; padding: 12px 18px; border-radius: var(--r-sm);
  font-weight: 600; transition: top .2s ease;
}
.skip-link:focus { top: 12px; outline: 3px solid #fff; outline-offset: 2px; }
#main:focus { outline: none; }

/* ---------- Breadcrumb (inner pages) ---------- */
.crumb { padding: 20px 0 0; }
.crumb__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13.5px; color: var(--c-slate); }
.crumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--c-slate-2); }
.crumb a { color: var(--c-blue); }
.crumb a:hover { text-decoration: underline; }
.crumb [aria-current="page"] { color: var(--c-ink); font-weight: 600; }

/* ---------- Mobile sticky quote bar ---------- */
.mquote { position: fixed; inset: auto 0 0 0; z-index: 120; display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--c-line); box-shadow: 0 -8px 24px rgba(11,33,56,.12); }
.mquote__inner { display: flex; gap: 10px; align-items: center; max-width: var(--maxw); margin: 0 auto; }
.mquote a.btn { flex: 1; justify-content: center; }
.mquote__phone { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-sm);
  background: var(--c-bg-tint); color: var(--c-blue); }
.mquote__phone svg { width: 20px; height: 20px; }

/* ---------- FAQ (native <details>) ---------- */
.faq { background: var(--c-bg-soft); }
.faq__list { max-width: 820px; margin: 28px auto 0; display: flex; flex-direction: column; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.faq__item[open] { border-color: var(--c-blue); box-shadow: var(--sh-md); }
.faq__q { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 22px; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--c-ink); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q .ico { flex: none; width: 20px; height: 20px; position: relative; color: var(--c-blue); transition: transform .25s ease; }
.faq__q .ico::before, .faq__q .ico::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq__q .ico::before { top: 9px; left: 1px; right: 1px; height: 2px; }
.faq__q .ico::after { left: 9px; top: 1px; bottom: 1px; width: 2px; }
.faq__item[open] .faq__q .ico { transform: rotate(45deg); }
.faq__a { padding: 0 22px 20px; color: var(--c-slate); font-size: 15px; line-height: 1.7; }
.faq__a p { margin: 0; }
.mquote-spacer { display: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =============================================================
   UX ENHANCEMENTS — floating inquiry widget, type finder,
   product-card quote CTA, smart-prefill banner
   ============================================================= */

/* ---------- Type finder (homepage navigator) ---------- */
.finder { background: #fff; border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.finder__inner { max-width: var(--maxw); margin: 0 auto; padding: 26px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; }
.finder__lead { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--c-ink); line-height: 1.2; }
.finder__lead span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 13.5px; color: var(--c-slate); margin-top: 3px; }
.finder__chips { display: flex; flex-wrap: wrap; gap: 12px; }
.finder__chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: var(--r-pill);
  border: 1px solid var(--c-line); background: var(--c-bg-soft); font-weight: 600; font-size: 15px; color: var(--c-ink-2);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
}
.finder__chip svg { width: 20px; height: 20px; color: var(--c-blue); }
.finder__chip:hover { transform: translateY(-2px); border-color: var(--c-blue); color: var(--c-blue); box-shadow: var(--sh-sm); }
.finder__chip--cta { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--sh-blue); }
.finder__chip--cta svg { color: #fff; }
.finder__chip--cta:hover { color: #fff; }

/* ---------- Product card quote CTA (valid nested links) ---------- */
.prod-card__media { display: block; }
.prod-card__title { color: inherit; transition: color .18s ease; }
.prod-card__title:hover { color: var(--c-blue); }
.prod-card__foot { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prod-card__foot .prod-card__more { margin-top: 0; }
.prod-card__quote {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: #fff;
  background: var(--grad-brand); padding: 9px 16px; border-radius: var(--r-pill); box-shadow: var(--sh-blue);
  transition: transform .18s ease, box-shadow .18s ease; white-space: nowrap;
}
.prod-card__quote:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(27,95,227,.34); }
.prod-card__quote svg { width: 15px; height: 15px; }
.prod-item__quote { font-size: 14px; font-weight: 600; color: #fff; background: var(--grad-brand); padding: 6px 12px; border-radius: var(--r-pill); box-shadow: var(--sh-blue); }
.prod-item__quote:hover { color: #fff; filter: brightness(1.06); }

/* ---------- Floating inquiry widget (desktop / tablet) ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 130; display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.fab__btn {
  position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; border: none; box-shadow: 0 12px 28px rgba(11,33,56,.28);
  transition: transform .18s ease, box-shadow .18s ease;
}
.fab__btn:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 16px 34px rgba(11,33,56,.36); }
.fab__btn svg { width: 26px; height: 26px; }
.fab__wa { background: #25D366; }
.fab__tel { background: var(--grad-brand); }
.fab__quote { background: var(--c-ink); }
.fab__label {
  position: absolute; right: 68px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  background: #fff; color: var(--c-ink); font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: var(--r-pill);
  box-shadow: var(--sh-sm); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease;
}
.fab__btn:hover .fab__label { opacity: 1; transform: translateY(-50%) translateX(-4px); }
.fab__wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: fabpulse 2.4s ease-out infinite; }
@keyframes fabpulse { 0%{ transform: scale(1); opacity:.5 } 70%{ transform: scale(1.55); opacity: 0 } 100%{ transform: scale(1.55); opacity: 0 } }
@media (prefers-reduced-motion: reduce) { .fab__wa::after { animation: none; } }

/* ---------- Mobile quick-quote bar: extra channels ---------- */
.mquote__wa, .mquote__tel { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-sm); color: #fff; }
.mquote__wa { background: #25D366; }
.mquote__tel { background: var(--grad-brand); }
.mquote__wa svg, .mquote__tel svg { width: 20px; height: 20px; }

/* ---------- Contact smart-prefill banner ---------- */
.form-prefill { display: none; align-items: center; gap: 12px; background: var(--c-bg-tint); border: 1px solid var(--c-blue); color: var(--c-ink-2); padding: 14px 16px; border-radius: var(--r-md); margin-bottom: 18px; font-size: 14.5px; }
.form-prefill.is-show { display: flex; }
.form-prefill svg { width: 22px; height: 22px; color: var(--c-blue); flex: none; }
.form-prefill b { color: var(--c-blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-grid, .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-list, .featured .prod-list, .related .prod-list { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .cert-row { grid-template-columns: repeat(3, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .mat-wrap, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .nav, .header__cta .btn--outline { display: none; }
  .nav-toggle { display: flex; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--c-line); box-shadow: var(--sh-md);
    padding: 14px 24px 22px;
  }
  .nav.is-open a { padding: 13px 15px; font-size: 16px; }
  .section { padding: var(--sp-5) 0; }
  .feat-grid, .ind-grid, .prod-grid, .prod-list, .featured .prod-list, .related .prod-list { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .cert-row { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__trust { gap: 22px 30px; }
  .fab { display: none; }
  .mquote { display: block; }
  .mquote-spacer { display: block; height: 76px; }
}

/* =============================================================
   A/B TEST VARIANTS — inactive unless <body> carries an .ab-* class
   (set by ?ab=cta_orange / ?ab=form_short URL param, or qr_ab cookie)
   ============================================================= */

/* Variant A: orange CTA — the classic blue -> orange conversion lift test */
.ab-cta_orange .btn--primary,
.ab-cta_orange .fab__quote,
.ab-cta_orange .prod-card__quote,
.ab-cta_orange .prod-item__quote,
.ab-cta_orange .mquote .btn--primary {
  background: #FF6A00;
  background-image: none;
  border-color: #FF6A00;
  box-shadow: 0 14px 34px rgba(255, 106, 0, .30);
}
.ab-cta_orange .btn--primary:hover,
.ab-cta_orange .fab__quote:hover,
.ab-cta_orange .prod-card__quote:hover {
  background: #E85F00;
  background-image: none;
  border-color: #E85F00;
  box-shadow: 0 18px 40px rgba(255, 106, 0, .40);
}

/* Variant B: short inquiry form (8 fields -> 4).
   Fields tagged .ab-hide-short in contact.html are hidden only in this variant,
   so the default live form is never changed for real visitors. */
.ab-form_short .ab-hide-short { display: none !important; }
