@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&display=swap');

/* ============================================================
   Orange Star — design system
   Forest green + orange · Instrument Sans · editorial scale
   ============================================================ */
:root {
  color-scheme: light;
  --ink: #1d241f;
  --muted: #59645c;
  --paper: #f4f4ee;
  --paper-deep: #edeee6;
  --line: #e0e3da;
  --line-strong: #c9cfc3;
  --forest: #172c25;
  --forest-soft: #24382f;
  --orange: #ff783e;
  --orange-soft: #ffe6da;
  --orange-dark: #973611;
  --font: "Instrument Sans", "Segoe UI", Arial, sans-serif;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --shadow-1: 0 2px 8px rgba(22, 44, 37, .05);
  --shadow-2: 0 18px 44px rgba(22, 44, 37, .10);
  --shadow-3: 0 26px 70px rgba(10, 23, 20, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible,
button:focus-visible { outline: 3px solid #0a7fb8; outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4, p, dl, dd, dt, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
section[id], article[id] { scroll-margin-top: 108px; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 6px 24px rgba(22, 44, 37, .05);
}
.nav { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand img { height: 50px; width: auto; object-fit: contain; }
.nav nav { display: flex; gap: clamp(20px, 3vw, 42px); font-size: .92rem; font-weight: 600; align-items: center; }
.nav nav a { position: relative; padding: 6px 0; transition: color .18s; }
.nav nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left;
  transition: transform .24s ease;
}
.nav nav a:hover { color: var(--orange-dark); }
.nav nav a:hover::after, .nav nav a.active::after { transform: scaleX(1); }
.nav nav a.active { color: var(--orange-dark); }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line-strong);
  border-radius: 9px; padding: 8px 12px; font-size: 17px; line-height: 1; cursor: pointer; color: var(--ink);
}
.lang-select {
  min-height: 40px; padding: 6px 30px 6px 11px; border: 1px solid var(--line-strong);
  border-radius: 9px; background: #fff; color: var(--ink);
  font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2359645c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 11px center;
  transition: border-color .18s;
}
.lang-select:hover { border-color: var(--ink); }

/* ---------- Buttons ---------- */
.button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 10px 20px; border: 1px solid transparent; border-radius: 10px;
  background: var(--orange); color: #24160e; font-weight: 700; font-size: .91rem;
  letter-spacing: -.005em; cursor: pointer; font-family: inherit;
  transition: background .2s, box-shadow .2s, transform .2s, border-color .2s, color .2s;
}
.button:hover { background: #ff8f5b; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(255, 120, 62, .28); }
.button:active { transform: translateY(0); box-shadow: none; }
.button.small { min-height: 42px; padding: 7px 15px; font-size: .85rem; border-radius: 9px; }
.button.outline { background: transparent; border-color: rgba(255, 255, 255, .38); color: #fff; }
.button.outline:hover { background: rgba(255, 255, 255, .1); box-shadow: none; border-color: rgba(255, 255, 255, .62); }
.button.ghost { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.button.ghost:hover { border-color: var(--forest); background: #fff; box-shadow: var(--shadow-1); }
.button.block { width: 100%; }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px; font-size: .735rem;
  font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
}
.eyebrow span:first-child { display: inline-block; width: 22px; height: 2px; background: var(--orange); flex: none; }
h1 { margin: 20px 0; font-size: clamp(2.9rem, 6vw, 6.1rem); line-height: .97; letter-spacing: -.062em; font-weight: 600; }
h1 em { color: #ffa578; font-style: normal; }
.hero h1 em { color: var(--orange); }
h2 { margin-top: 10px; font-size: clamp(1.95rem, 3.9vw, 3.5rem); line-height: 1.05; letter-spacing: -.048em; font-weight: 600; }
h3 { font-size: 1.22rem; line-height: 1.24; letter-spacing: -.022em; font-weight: 600; }
h4 { font-size: 1rem; letter-spacing: -.01em; font-weight: 700; }

.section { padding-block: clamp(52px, 6.5vw, 96px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 34px; }
.section-heading > p { max-width: 340px; color: var(--muted); font-size: .98rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #fafaf6 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 44, 37, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 44, 37, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at 62% 38%, #000 8%, transparent 76%);
  mask-image: radial-gradient(ellipse at 62% 38%, #000 8%, transparent 76%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr .98fr; align-items: center;
  gap: clamp(32px, 5vw, 76px); padding-block: clamp(44px, 6vw, 96px);
}
.hero .eyebrow { color: var(--muted); }
.contact .eyebrow, .page-head .eyebrow { color: #ffd2be; }
.intro { max-width: 470px; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.13rem); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.hero-specs span {
  padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .79rem; font-weight: 600; color: #4a564e; letter-spacing: -.005em;
  background: #fff;
}
.hero-figure {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: #fff;
  box-shadow: 0 24px 60px rgba(22, 44, 37, .13);
}
.hero-figure img { width: 100%; height: auto; aspect-ratio: 1.08; object-fit: cover; object-position: center 50%; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.hero-figure:hover img { transform: scale(1.03); }
.figure-caption {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 13px 18px; background: #f9f8f2; color: var(--ink);
}
.figure-caption div span, .figure-caption strong { display: block; }
.figure-caption div span { font-size: .77rem; color: var(--muted); letter-spacing: .02em; }
.figure-caption strong { font-size: 1.05rem; letter-spacing: -.02em; }
.figure-caption > span, .card-copy > span {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange-soft); color: var(--orange-dark); font-weight: 700;
  transition: background .22s, color .22s, transform .22s;
}
.hero-figure:hover .figure-caption > span, .card:hover .card-copy > span {
  background: var(--orange); color: #24160e; transform: rotate(45deg);
}
.hero .button.outline { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.hero .button.outline:hover { background: var(--paper); border-color: var(--ink); color: var(--ink); box-shadow: var(--shadow-1); }
.hero-badge {
  position: absolute; left: 18px; bottom: 76px;
  display: grid; gap: 2px; padding: 11px 15px; border-radius: 11px;
  background: rgba(20, 36, 29, .85); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff; font-size: .78rem; letter-spacing: .02em;
}
.hero-badge b { font-size: 1.1rem; letter-spacing: -.02em; }

/* ---------- Range cards ---------- */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card {
  display: flex; flex-direction: column; overflow: hidden; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .24s, box-shadow .24s, transform .24s;
}
.card:hover { border-color: #d8ab95; box-shadow: var(--shadow-2); transform: translateY(-3px); }
.card-media { aspect-ratio: 1.12; overflow: hidden; background: #fff; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.card-media.brk img { object-fit: contain; background: #fff; padding: 8px; }
.card:hover img { transform: scale(1.05); }
.card-media.cable img, .panel-card img { object-fit: contain; padding: 0; }
.panel-card img { background: #fff; }
.card-copy { flex: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 5px 10px; padding: 16px 16px 18px; }
.card-copy h3 { font-size: 1.05rem; }
.card-copy p { grid-column: 1/-1; align-self: start; font-size: .855rem; color: var(--muted); }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.trust-grid div { background: #fff; padding: 26px 24px 28px; position: relative; }
.trust-grid div::before {
  content: ""; position: absolute; left: 24px; top: 0; width: 26px; height: 2px; background: var(--orange);
}
.trust-grid strong {
  display: block; font-size: clamp(1.65rem, 2.5vw, 2.25rem);
  letter-spacing: -.045em; line-height: 1.15; font-variant-numeric: tabular-nums;
}
.trust-grid span { font-size: .83rem; color: var(--muted); }

/* ---------- Catalog / configurator ---------- */
.catalog-section { background: var(--paper); padding-block: clamp(52px, 6.5vw, 96px); border-block: 1px solid var(--line); }
.config-grid { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.config {
  display: flex; flex-direction: column; gap: 12px;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  transition: box-shadow .26s, border-color .26s;
}
.config:hover { border-color: #d8cec4; box-shadow: var(--shadow-1); }
.config h3 { letter-spacing: -.025em; }
.config > p { font-size: .9rem; color: var(--muted); }
.config-media {
  width: 100%; height: 236px; margin-top: 2px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--line);
  object-fit: contain; padding: 10px;
}
.config .photo-label { font-size: .75rem; color: var(--muted); margin-top: -4px; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.spec-chip {
  padding: 5px 9px; border-radius: 6px; background: var(--paper);
  font-size: .765rem; font-weight: 600; color: #3f4c44;
  font-variant-numeric: tabular-nums; letter-spacing: -.005em;
}
.spec-chip.accent { background: var(--orange-soft); color: var(--orange-dark); }
.config form { display: grid; gap: 9px; margin-top: auto; }
.config label { font-size: .82rem; font-weight: 700; }
.config select, .quote-form select, .quote-form input, .quote-form textarea {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2359645c' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.config select {
  width: 100%; min-height: 46px; padding: 8px 34px 8px 11px; border: 1px solid var(--line-strong);
  border-radius: 9px; background-color: #fff; color: var(--ink); font: inherit; font-size: .84rem;
  font-weight: 500; cursor: pointer; transition: border-color .18s, box-shadow .18s;
}
.config select:hover { border-color: #9aa69c; }
.config select:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(23, 44, 37, .08); }
.config-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: stretch; }
.config-actions .quote { width: 100%; }
.add-btn { padding: 0 14px; min-height: 50px; font-size: .85rem; white-space: nowrap; }
.add-btn.is-added { border-color: var(--orange-dark); color: var(--orange-dark); background: var(--orange-soft); }
.panel-media { background: #fff; }
.panel-specs { margin: 2px 0 0; font-size: .86rem; }
.panel-specs div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.panel-specs div:last-child { border-bottom: none; }
.panel-specs dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.panel-quote { display: grid; margin-top: auto; }

/* ---------- Applications ---------- */
.application-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.application-grid article {
  display: flex; flex-direction: column; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.application-grid article:hover { border-color: #d8cec4; box-shadow: var(--shadow-1); transform: translateY(-2px); }
.application-grid .icon {
  width: 44px; height: 44px; margin-bottom: 18px; padding: 10px;
  border-radius: 11px; background: #e9eee7; color: var(--forest);
}
.application-grid p { margin: 9px 0 18px; color: var(--muted); font-size: .93rem; }
.application-grid a, .text-link { margin-top: auto; color: var(--orange-dark); font-weight: 700; font-size: .9rem; }
.application-grid a:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contact band ---------- */
.contact {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 100% at 96% -10%, #4a6a52 0%, #23382e 46%, #14241d 100%);
}
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 58px; }
.contact h2 + p { margin-top: 12px; color: #dbe7dd; max-width: 470px; }
.number { margin-top: 10px; color: #dbe7dd; font-size: .87rem; text-align: center; font-variant-numeric: tabular-nums; }
.contact-address { display: grid; gap: 4px; margin-top: 22px; color: #dbe7dd; font-size: .9rem; font-style: normal; }
.contact-address strong { color: #fff; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); background: #fff; }
.footer {
  min-height: 82px; display: flex; justify-content: space-between; align-items: center;
  gap: 12px; color: var(--muted); font-size: .855rem;
}
.footer img { height: 42px; width: auto; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { transition: color .18s; }
.footer-links a:hover { color: var(--orange-dark); }

/* ---------- Page head (inner pages) ---------- */
.page-head {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(110% 120% at 88% -20%, #47664f 0%, #24382f 48%, #14241d 100%);
}
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 5%, transparent 72%);
  mask-image: radial-gradient(ellipse at 70% 20%, #000 5%, transparent 72%);
}
.page-head-inner { position: relative; padding-block: clamp(48px, 5.4vw, 82px); }
.page-head h1 { font-size: clamp(2.3rem, 4.5vw, 4rem); margin-bottom: 12px; }
.page-head p { color: #d9e4da; max-width: 640px; font-size: clamp(1rem, 1.3vw, 1.08rem); }
.page-head .eyebrow { margin-bottom: 6px; }

/* ---------- Filter chips ---------- */
.filter-bar {
  position: sticky; top: 80px; z-index: 15;
  display: flex; gap: 8px; flex-wrap: wrap; padding-block: 16px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.chip {
  padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .845rem; font-weight: 600; background: #fff; color: var(--ink);
  transition: background .18s, border-color .18s, color .18s;
}
.chip:hover { border-color: var(--forest); color: var(--forest); background: #f7f8f3; }

/* ---------- Product grid ---------- */
.product-section { position: relative; padding-block: clamp(46px, 5.5vw, 80px); border-bottom: 1px solid var(--line); }
.product-section.alt { background: var(--paper); border-bottom: 1px solid var(--line); }
.product-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card {
  display: flex; flex-direction: column; padding: 16px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color .24s, box-shadow .24s, transform .24s;
}
.product-card:hover { border-color: #d8cec4; box-shadow: var(--shadow-2); transform: translateY(-3px); }
.ph {
  height: 178px; display: grid; place-items: center; overflow: hidden;
  margin-bottom: 14px; border-radius: var(--r); background: #fff;
  color: var(--muted); font-size: .82rem; font-weight: 600; letter-spacing: .04em;
}
.ph img { max-width: 90%; max-height: 90%; object-fit: contain; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.product-card:hover .ph img { transform: scale(1.04); }
.model-tag {
  align-self: flex-start; margin-bottom: 8px; padding: 4px 9px;
  border-radius: 6px; background: var(--orange-soft); color: var(--orange-dark);
  font-size: .735rem; font-weight: 700; letter-spacing: .03em;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
.product-card h3 { font-size: 1.04rem; margin-bottom: 9px; }
.product-card ul { flex: 1; }
.product-card li {
  position: relative; padding: 5px 0 5px 15px;
  font-size: .855rem; color: var(--muted); border-bottom: 1px solid #f0f1ec;
}
.product-card li:last-child { border-bottom: none; }
.product-card li::before {
  content: ""; position: absolute; left: 2px; top: 13px;
  width: 4px; height: 4px; border-radius: 50%; background: var(--orange);
}
.pc-foot { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.moq { font-size: .755rem; font-weight: 700; color: var(--muted); letter-spacing: .01em; white-space: nowrap; margin-right: auto; }
.pc-foot .button { min-height: 40px; padding: 7px 13px; font-size: .81rem; border-radius: 8px; }
.pc-foot .add-btn { min-height: 40px; padding: 0 11px; font-size: .8rem; border-radius: 8px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.45fr .85fr; gap: clamp(28px, 4vw, 62px); align-items: start; }
.about-grid h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.035em; margin-bottom: 14px; }
.about-grid p { color: var(--muted); margin-bottom: 14px; }
.fact-box { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.fact-box h3 { margin-bottom: 14px; }
.fact { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .875rem; }
.fact:last-child { border-bottom: none; }
.fact span { color: var(--muted); }
.fact b { text-align: right; font-weight: 700; }
.cert-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.cert-card {
  display: grid; place-items: center; height: 86px;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff;
  font-weight: 700; letter-spacing: .06em; color: #3a463f; font-size: .95rem;
  transition: border-color .2s, color .2s;
}
.cert-card:hover { border-color: var(--orange); color: var(--orange-dark); }
.checklist { display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 27px; color: var(--muted); font-size: .915rem; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; display: grid; place-items: center;
  border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark);
  font-size: .68rem; font-weight: 700;
}

/* ---------- Contact page / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(28px, 4vw, 54px); align-items: start; }
.quote-form { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.quote-form h2 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -.035em; margin: 0 0 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: block; margin-bottom: 15px; font-size: .83rem; font-weight: 700; color: var(--ink); }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; margin-top: 6px; padding: 11px 34px 11px 12px; min-height: 46px;
  border: 1px solid var(--line-strong); border-radius: 9px; background-color: #fff;
  color: var(--ink); font: inherit; font-size: .885rem; transition: border-color .18s, box-shadow .18s;
}
.quote-form textarea {
  min-height: 120px; resize: vertical; background-image: none; padding-right: 12px;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  border-color: var(--forest); box-shadow: 0 0 0 3px rgba(23, 44, 37, .08); outline: none;
}
.form-note { margin-top: 14px; font-size: .83rem; color: var(--muted); text-align: center; }
.form-note a { color: var(--orange-dark); font-weight: 700; }
.contact-side { display: grid; gap: 12px; }
.side-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.side-card h3 { font-size: 1rem; margin-bottom: 6px; }
.side-card p { font-size: .88rem; color: var(--muted); }
.side-card a { color: var(--orange-dark); font-weight: 700; }
.side-card .button { margin-top: 10px; }
.muted { color: var(--muted); font-size: .8rem; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: clamp(42px, 5vw, 70px); }
.stats-band h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); text-align: center; margin-bottom: 32px; letter-spacing: -.04em; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; text-align: center; }
.stats-grid strong { display: block; font-size: clamp(1.9rem, 3vw, 2.6rem); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.stats-grid span { font-size: .83rem; color: var(--muted); }

/* ---------- Cases ---------- */
.case-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; transition: box-shadow .22s, transform .22s; }
.case-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.case-top {
  display: flex; align-items: flex-end; min-height: 96px; padding: 14px 18px;
  color: #fff; font-size: .95rem; font-weight: 700;
  background: linear-gradient(135deg, #24382f, #3d5747);
}
.case-top.ct1 { background: linear-gradient(135deg, #8a3a15, #d9560e); }
.case-top.ct3 { background: linear-gradient(135deg, #1c2b24, #4b6553); }
.case-body { padding: 16px 18px 20px; }
.case-body p { font-size: .86rem; color: var(--muted); padding: 3px 0; }
.case-body p b { color: var(--ink); }

/* ============================================================
   Inquiry list (multi-product RFQ)
   ============================================================ */
.inquiry-bar {
  position: fixed; left: 22px; bottom: 22px; z-index: 45;
  display: flex; align-items: center; gap: 12px;
  padding: 9px 9px 9px 16px; border-radius: 14px;
  background: var(--forest); color: #fff;
  box-shadow: 0 18px 44px rgba(10, 23, 20, .34);
  transform: translateY(150%); opacity: 0; pointer-events: none;
  transition: transform .34s cubic-bezier(.2, .8, .2, 1), opacity .28s;
}
.inquiry-bar.show { transform: none; opacity: 1; pointer-events: auto; }
.inquiry-bar .iq-count {
  display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: 7px; background: var(--orange); color: #24160e;
  font-size: .78rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.inquiry-bar .iq-label { font-size: .86rem; font-weight: 600; letter-spacing: -.005em; }
.inquiry-bar .button { min-height: 40px; padding: 7px 14px; font-size: .83rem; border-radius: 9px; }
.inquiry-bar .iq-close {
  background: none; border: 0; color: #9fb0a4; font-size: 18px; line-height: 1;
  cursor: pointer; padding: 4px 6px; border-radius: 6px;
}
.inquiry-bar .iq-close:hover { color: #fff; background: rgba(255, 255, 255, .08); }

.inquiry-scrim {
  position: fixed; inset: 0; z-index: 55; background: rgba(10, 23, 20, .45);
  opacity: 0; pointer-events: none; transition: opacity .26s;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.inquiry-scrim.open { opacity: 1; pointer-events: auto; }
.inquiry-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
  width: min(420px, 100%); display: flex; flex-direction: column;
  background: #fff; border-left: 1px solid var(--line);
  box-shadow: -24px 0 70px rgba(10, 23, 20, .18);
  transform: translateX(102%); transition: transform .34s cubic-bezier(.2, .8, .2, 1);
}
.inquiry-panel.open { transform: none; }
.iq-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding: 22px 22px 16px; border-bottom: 1px solid var(--line);
}
.iq-head h3 { font-size: 1.16rem; }
.iq-head p { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.iq-head button {
  background: none; border: 1px solid var(--line-strong); border-radius: 8px;
  width: 34px; height: 34px; line-height: 1; font-size: 17px; color: var(--ink); cursor: pointer;
  flex: none;
}
.iq-head button:hover { border-color: var(--ink); }
.iq-items { flex: 1; overflow-y: auto; padding: 14px 22px; display: grid; gap: 10px; align-content: start; }
.iq-empty { padding: 40px 0; text-align: center; color: var(--muted); font-size: .89rem; }
.iq-item {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 10px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fcfcf8;
}
.iq-item .iq-name { font-size: .875rem; font-weight: 700; letter-spacing: -.01em; }
.iq-item .iq-meta { grid-column: 1; font-size: .78rem; color: var(--muted); }
.iq-item .iq-qty {
  grid-column: 2; grid-row: 1 / 3; display: flex; align-items: center; gap: 2px;
  align-self: center; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden;
}
.iq-qty button {
  width: 26px; height: 30px; border: 0; background: #fff; color: var(--ink);
  font-size: 14px; line-height: 1; cursor: pointer;
}
.iq-qty button:hover { background: var(--paper); }
.iq-qty span { min-width: 30px; text-align: center; font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.iq-remove {
  grid-column: 1 / -1; justify-self: start; margin-top: 4px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: .76rem; font-weight: 600; color: #a2502c; text-decoration: underline; text-underline-offset: 2px;
}
.iq-foot { display: grid; gap: 10px; padding: 18px 22px 22px; border-top: 1px solid var(--line); background: var(--paper); }
.iq-foot label { font-size: .79rem; font-weight: 700; }
.iq-foot input {
  width: 100%; margin-top: 5px; padding: 10px 12px; min-height: 44px; font: inherit; font-size: .86rem;
  border: 1px solid var(--line-strong); border-radius: 9px; background: #fff;
}
.iq-foot .button { width: 100%; }
.iq-note { font-size: .76rem; color: var(--muted); text-align: center; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 44;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, .38); transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.07); box-shadow: 0 16px 34px rgba(37, 211, 102, .46); }

/* ---------- RTL ---------- */
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .eyebrow span:first-child { order: 2; }
html[dir="rtl"] .nav nav a::after { transform-origin: right; }
html[dir="rtl"] .product-card li { padding: 5px 15px 5px 0; }
html[dir="rtl"] .product-card li::before { right: 2px; left: auto; }
html[dir="rtl"] .checklist li { padding-left: 0; padding-right: 27px; }
html[dir="rtl"] .checklist li::before { right: 0; left: auto; }
html[dir="rtl"] .model-tag, html[dir="rtl"] .moq { letter-spacing: 0; }
html[dir="rtl"] .inquiry-panel { right: auto; left: 0; border-left: 0; border-right: 1px solid var(--line); transform: translateX(-102%); }
html[dir="rtl"] .inquiry-panel.open { transform: none; }
html[dir="rtl"] .inquiry-bar { left: auto; right: 22px; }
html[dir="rtl"] .wa-float { right: auto; left: 22px; }
html[dir="rtl"] .iq-qty { direction: ltr; }
html[dir="rtl"] .iq-remove { justify-self: end; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards.five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 56px); }
  .product-grid, .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .config-media { height: 210px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-figure { max-width: 560px; }
  .filter-bar { top: 80px; }
}
@media (max-width: 800px) {
  .cards, .cards.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .application-grid { grid-template-columns: 1fr; gap: 12px; }
  .application-grid article { padding: 18px; }
  .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .config-grid { grid-template-columns: 1fr; }
  .section-heading { flex-direction: column; align-items: start; gap: 12px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 32px); }
  .nav { min-height: 66px; gap: 8px; flex-wrap: wrap; padding-block: 8px; }
  .brand img { height: 40px; }
  .menu-toggle { display: block; order: 3; }
  .nav nav {
    order: 4; width: 100%; display: none; flex-direction: column;
    align-items: flex-start; gap: 4px; padding-bottom: 14px; font-size: .95rem;
  }
  .nav nav a { width: 100%; padding: 9px 0; border-bottom: 1px solid #f0f1ec; }
  .nav nav.open { display: flex; }
  .nav nav a::after { display: none; }
  .lang-select { margin-top: 8px; width: 100%; }
  .nav > .button.small { margin-left: auto; }
  .hero-grid { padding-block: 34px 30px; }
  .hero-figure img { aspect-ratio: 1.28; }
  .hero-badge { left: 12px; bottom: 70px; padding: 8px 12px; font-size: .72rem; }
  .hero-badge b { font-size: .98rem; }
  .contact-inner { flex-direction: column; align-items: start; gap: 14px; }
  .cards { gap: 10px; }
  .card-copy { grid-template-columns: 1fr; padding: 12px; gap: 4px; }
  .card-copy > span { display: none; }
  .card-copy h3 { font-size: 1rem; }
  .card-copy p { font-size: .79rem; }
  .contact-inner { padding-block: 40px; }
  .number { text-align: left; }
  .form-row { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer { flex-direction: column; align-items: flex-start; padding-block: 24px; gap: 12px; }
  .product-grid, .case-grid { grid-template-columns: 1fr; }
  .config-media { height: 200px; }
  .filter-bar { top: 66px; gap: 6px; padding-block: 12px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .inquiry-bar {
    left: 12px; right: 12px; bottom: 12px; justify-content: space-between;
    padding: 8px 8px 8px 14px;
  }
  .wa-float { bottom: 82px; right: 14px; width: 48px; height: 48px; }
  section[id], article[id] { scroll-margin-top: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
