/* ==========================================================================
   قالب‌سازی احمدی — استایل اصلی
   بدون فریم‌ورک و بدون نیاز به build؛ فقط همین فایل.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "IRANSansX"; font-weight: 300; font-style: normal; font-display: swap;
  src: url("../fonts/iransansx/IRANSansXFaNum-Light.woff2") format("woff2"), url("../fonts/iransansx/IRANSansXFaNum-Light.woff") format("woff"); }
@font-face { font-family: "IRANSansX"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/iransansx/IRANSansXFaNum-Regular.woff2") format("woff2"), url("../fonts/iransansx/IRANSansXFaNum-Regular.woff") format("woff"); }
@font-face { font-family: "IRANSansX"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("../fonts/iransansx/IRANSansXFaNum-Medium.woff2") format("woff2"), url("../fonts/iransansx/IRANSansXFaNum-Medium.woff") format("woff"); }
@font-face { font-family: "IRANSansX"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("../fonts/iransansx/IRANSansXFaNum-DemiBold.woff2") format("woff2"), url("../fonts/iransansx/IRANSansXFaNum-DemiBold.woff") format("woff"); }
@font-face { font-family: "IRANSansX"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/iransansx/IRANSansXFaNum-Bold.woff2") format("woff2"), url("../fonts/iransansx/IRANSansXFaNum-Bold.woff") format("woff"); }
@font-face { font-family: "IRANSansX"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("../fonts/iransansx/IRANSansXFaNum-ExtraBold.woff2") format("woff2"), url("../fonts/iransansx/IRANSansXFaNum-ExtraBold.woff") format("woff"); }
@font-face { font-family: "IRANSansX"; font-weight: 900; font-style: normal; font-display: swap;
  src: url("../fonts/iransansx/IRANSansXFaNum-Black.woff2") format("woff2"), url("../fonts/iransansx/IRANSansXFaNum-Black.woff") format("woff"); }

/* ---------- Tokens ---------- */
:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #efede7;
  --ink: #15181d;
  --ink-2: #3d4450;
  --muted: #6b7280;
  --line: #e4e1d9;
  --line-strong: #d3cfc4;

  --accent: #e0601f;
  --accent-ink: #b8490f;
  --accent-soft: #fbece3;

  --dark: #121417;
  --dark-2: #1b1e23;
  --dark-line: #2a2e35;
  --dark-muted: #9aa1ab;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(56px, 8vw, 104px);

  --shadow: 0 1px 2px rgba(21, 24, 29, .04), 0 8px 24px -12px rgba(21, 24, 29, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "IRANSansX", Tahoma, "Segoe UI", sans-serif;
}

/* ---------- 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: 16px;
  line-height: 1.9;
  color: var(--ink-2);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.45; margin: 0; font-weight: 800; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; right: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--surface { background: var(--surface); border-block: 1px solid var(--line); }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 600; letter-spacing: 0; color: var(--accent-ink);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); }
.section-head p { margin-top: 14px; font-size: 1.05rem; color: var(--muted); }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--row > div { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  font-weight: 600; font-size: .98rem; line-height: 1; white-space: nowrap;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--accent { --btn-bg: var(--accent); --btn-bd: var(--accent); }
.btn--accent:hover { --btn-bg: var(--accent-ink); --btn-bd: var(--accent-ink); }
.btn--dark:hover { --btn-bg: #000; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--light:hover { --btn-bg: var(--accent-soft); --btn-bd: var(--accent-soft); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: var(--dark-line); }
.btn--ghost-light:hover { --btn-bd: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn .icon { width: 1.15em; height: 1.15em; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--accent-ink); }
.link-arrow:hover .icon { transform: translateX(-4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 245, 241, .82);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(246, 245, 241, .92); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { color: var(--ink); font-weight: 800; font-size: 1.08rem; }
.brand-text small { color: var(--muted); font-size: .72rem; letter-spacing: .04em; direction: ltr; text-align: right; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.nav > a { position: relative; padding: 8px 14px; font-weight: 500; font-size: .95rem; color: var(--ink-2); border-radius: 999px; transition: color .2s, background .2s; }
.nav > a:hover { color: var(--ink); background: var(--surface-2); }
.nav > a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.nav > a[aria-current="page"]::after { content: ""; position: absolute; right: 14px; left: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav-cta { display: none; }
.header-call { flex: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); position: relative; }
.nav-toggle span { position: absolute; right: 12px; left: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), top .25s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(32px, 5vw, 72px); padding-bottom: clamp(16px, 3vw, 40px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 3.05rem); line-height: 1.35; letter-spacing: -.01em; font-weight: 900; }
.hero h1 span { display: block; color: var(--muted); font-weight: 300; }
.hero-lead { margin-top: 22px; font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 560px; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-visual { position: relative; }
.hero-visual svg { width: 100%; height: auto; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(40px, 5vw, 72px) 0 0; border-top: 1px solid var(--line); }
.stat { padding: 22px 0 0; padding-inline-end: 20px; }
.stat + .stat { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; color: var(--ink); line-height: 1.3; }
.stat span { font-size: .9rem; color: var(--muted); }

/* mold drawing */
.mold-drawing text { font-family: var(--font); fill: var(--muted); font-size: 14px; }
.mold-drawing .t-strong { fill: var(--ink); font-weight: 600; }
.mold-drawing .plate { fill: var(--surface); stroke: var(--ink); stroke-width: 1.4; }
.mold-drawing .plate-2 { fill: var(--surface-2); stroke: var(--ink); stroke-width: 1.4; }
.mold-drawing .hidden-line { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 5 4; fill: none; opacity: .55; }
.mold-drawing .thin { stroke: var(--ink); stroke-width: 1; fill: none; }
.mold-drawing .leader { stroke: var(--muted); stroke-width: .9; fill: none; }
.mold-drawing .accent-fill { fill: var(--accent); }
.mold-drawing .accent-stroke { stroke: var(--accent); stroke-width: 3; fill: none; stroke-linecap: round; }
.mold-drawing .grid-line { stroke: var(--line); stroke-width: 1; }
.mold-drawing .cool { fill: var(--bg); stroke: var(--ink); stroke-width: 1; }
.mold-drawing .moving { animation: mold-open 7s var(--ease) infinite; }
.mold-drawing .flow { stroke-dasharray: 6 8; animation: flow 1.6s linear infinite; }
@keyframes mold-open { 0%, 55%, 100% { transform: translateY(0); } 70%, 85% { transform: translateY(14px); } }
@keyframes flow { to { stroke-dashoffset: -28; } }

/* ---------- Capabilities ---------- */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.cap { padding: 32px 28px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); transition: background .25s var(--ease); }
.cap:hover { background: #fffdfb; }
.cap-num { font-size: .8rem; font-weight: 700; color: var(--accent-ink); }
.cap h3 { font-size: 1.12rem; margin-top: 10px; }
.cap p { margin-top: 8px; font-size: .95rem; color: var(--muted); line-height: 1.85; }

/* ---------- Product card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.product-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.product-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card__media { aspect-ratio: 4 / 3; background: var(--surface-2); display: grid; place-items: center; padding: 20px; }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; }
.product-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-card__body h3 { font-size: 1.15rem; }
.product-card__body p { color: var(--muted); font-size: .95rem; }
.product-card__body .link-arrow { margin-top: auto; padding-top: 8px; }
.product-card--custom { background: transparent; border: 1.5px dashed var(--line-strong); }
.product-card--custom:hover { border-color: var(--accent); box-shadow: none; }
.product-card--custom .product-card__body { padding: clamp(24px, 3vw, 36px); gap: 12px; }

.featured { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.featured__media { background: var(--surface-2); display: grid; place-items: center; padding: clamp(24px, 4vw, 48px); }
.featured__body { padding: clamp(28px, 4.5vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.featured__body h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin-top: 4px; }
.featured__body > p { margin-top: 14px; color: var(--muted); }
.featured__body .hero-actions { margin-top: 26px; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .82rem; font-weight: 500; color: var(--ink-2); }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 28px; }
.step::before { content: ""; position: absolute; top: 7px; right: 0; left: -20px; height: 1px; background: var(--line-strong); }
.step:last-child::before { left: 0; }
.step-dot { position: absolute; top: 0; right: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.step-num { display: block; font-size: .8rem; font-weight: 700; color: var(--accent-ink); margin-bottom: 6px; }
.step h3 { font-size: 1.05rem; }
.step p { margin-top: 6px; font-size: .92rem; color: var(--muted); }

/* ---------- Videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.video-card { position: relative; display: block; width: 100%; text-align: right; border-radius: var(--radius); overflow: hidden; background: var(--dark); aspect-ratio: 9 / 14; isolation: isolate; }
.video-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.02); transition: transform .6s var(--ease), filter .4s var(--ease); z-index: -2; }
.video-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 11, 13, .88) 0%, rgba(10, 11, 13, .25) 45%, rgba(10, 11, 13, 0) 70%); }
.video-card:hover img { transform: scale(1.04); filter: saturate(1) contrast(1.05); }
.video-card__play { position: absolute; top: 14px; left: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); transition: background .25s, color .25s, transform .25s var(--ease); }
.video-card__play svg { width: 16px; height: 16px; fill: currentColor; stroke: none; margin-left: 2px; }
.video-card:hover .video-card__play { background: var(--accent); color: #fff; transform: scale(1.06); }
.video-card__meta { position: absolute; right: 0; left: 0; bottom: 0; padding: 18px; color: #fff; }
.video-card__kind { font-size: .75rem; font-weight: 600; color: #ffb58a; }
.video-card__title { display: block; margin-top: 4px; font-size: .95rem; font-weight: 600; line-height: 1.7; color: #fff; }
.video-card__time { position: absolute; top: 18px; right: 16px; font-size: .75rem; font-weight: 600; color: #fff; background: rgba(0, 0, 0, .45); padding: 2px 8px; border-radius: 999px; direction: ltr; }
.video-card--fallback { background: linear-gradient(160deg, #23272e, #121417); }

.dark-band { background: var(--dark); color: var(--dark-muted); }
.dark-band h2, .dark-band h3 { color: #fff; }
.dark-band .eyebrow { color: #ffb58a; }
.dark-band .section-head p { color: var(--dark-muted); }
.dark-band .link-arrow { color: #fff; }
.dark-band .link-arrow:hover { color: #ffb58a; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-item { padding: 26px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.why-item .icon { width: 28px; height: 28px; color: var(--accent); stroke-width: 1.5; }
.why-item h3 { font-size: 1.02rem; margin-top: 14px; }
.why-item p { margin-top: 6px; font-size: .92rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat;
  transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent-soft); }
.faq .faq-a { padding: 0 0 22px; color: var(--muted); max-width: 640px; }

/* ---------- Contact / map ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: stretch; }
.map-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.map-card__img { position: relative; display: block; aspect-ratio: 5 / 2.6; overflow: hidden; background: #ece6d3; }
.map-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transition: transform .8s var(--ease); }
.map-card__img:hover img { transform: scale(1.03); }
.map-card__badge { position: absolute; bottom: 14px; right: 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .95); color: var(--ink); border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 600; box-shadow: var(--shadow); }
.map-card__badge .icon { color: var(--accent); }
.map-card__credit { position: absolute; bottom: 8px; left: 10px; font-size: .68rem; color: #5b5a55; background: rgba(255, 255, 255, .7); padding: 0 6px; border-radius: 4px; line-height: 1.8; font-family: Tahoma, sans-serif; }
.map-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; border-top: 1px solid var(--line); }
.map-card__foot p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.route-links { display: flex; flex-wrap: wrap; gap: 8px; }
.route-links a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .86rem; font-weight: 600; color: var(--ink); transition: border-color .2s, background .2s, color .2s; }
.route-links a:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.contact-card { border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); background: var(--dark); color: var(--dark-muted); display: flex; flex-direction: column; gap: 24px; }
.contact-card h3 { color: #fff; font-size: 1.25rem; }
.contact-card .person { font-size: .9rem; margin-top: 2px; }
.phone-list { display: flex; flex-direction: column; gap: 10px; }
.phone-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--dark-line); color: #fff; font-weight: 700; font-size: 1.12rem; letter-spacing: .02em; transition: border-color .2s, background .2s; }
.phone-link small { font-size: .78rem; font-weight: 500; color: var(--dark-muted); letter-spacing: 0; }
.phone-link:hover { border-color: var(--accent); background: rgba(224, 96, 31, .08); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--dark-2); color: #e7e9ec; font-size: .86rem; font-weight: 500; transition: background .2s, color .2s; }
.socials a:hover { background: #fff; color: var(--ink); }
.address { display: flex; gap: 10px; font-size: .95rem; color: #d7dade; }
.address .icon { color: var(--accent); margin-top: 5px; }

/* ---------- CTA band ---------- */
.cta-band { border-radius: var(--radius-lg); background: var(--dark); color: var(--dark-muted); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--dark-line) 1px, transparent 1px), linear-gradient(90deg, var(--dark-line) 1px, transparent 1px); background-size: 28px 28px; opacity: .35; -webkit-mask-image: linear-gradient(to left, #000, transparent 70%); mask-image: linear-gradient(to left, #000, transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.cta-band p { margin-top: 10px; }
.cta-band .hero-actions { margin-top: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); font-weight: 900; }
.page-hero p { margin-top: 14px; max-width: 680px; font-size: 1.05rem; color: var(--muted); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 6px; color: var(--line-strong); }

/* ---------- Product page ---------- */
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(32px, 5vw, 64px); }
.product-hero__media { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); padding: clamp(20px, 4vw, 44px); }
.product-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 900; }
.product-hero .subtitle { margin-top: 12px; font-size: 1.08rem; color: var(--ink-2); }
.product-hero .excerpt { margin-top: 16px; color: var(--muted); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.prose { font-size: 1.04rem; color: var(--ink-2); max-width: 720px; }
.prose p { margin-bottom: 1.1em; }
.block + .block { margin-top: clamp(40px, 6vw, 64px); }
.block > h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-bottom: 20px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feature h3 { font-size: 1rem; display: flex; align-items: center; gap: 10px; }
.feature h3::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); flex: none; }
.feature p { margin-top: 8px; font-size: .93rem; color: var(--muted); }
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .95rem; }
.spec-table th, .spec-table td { text-align: right; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 34%; font-weight: 600; color: var(--ink); background: #fbfaf7; }
.spec-table td { color: var(--ink-2); }
.check-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { color: var(--accent); margin-top: 6px; }
.sticky-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.aside-card { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); padding: 26px; }
.aside-card h2, .aside-card h3 { font-size: 1.08rem; }
.aside-card p { font-size: .92rem; color: var(--muted); margin-top: 8px; }
.aside-card .btn { width: 100%; margin-top: 12px; }
.aside-card--dark { background: var(--dark); border-color: var(--dark); color: var(--dark-muted); }
.aside-card--dark h2, .aside-card--dark h3 { color: #fff; }
.video-embed { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--dark); display: grid; grid-template-columns: 260px 1fr; }
.video-embed .video-card { border-radius: 0; }
.video-embed__body { padding: clamp(24px, 3.5vw, 40px); color: var(--dark-muted); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.video-embed__body h3 { color: #fff; font-size: 1.2rem; }
.video-embed__body .link-arrow { color: #fff; margin-top: 4px; }
.video-embed__body .link-arrow:hover { color: #ffb58a; }
.video-embed__body .eyebrow { color: #ffb58a; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-muted); padding-top: clamp(56px, 7vw, 88px); font-size: .93rem; }
.site-footer .brand-mark rect:first-child { fill: #262a31; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h2 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 16px; }
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: var(--dark-muted); }
.site-footer p { margin-top: 16px; line-height: 2; }
.footer-links li + li { margin-top: 8px; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact li + li { margin-top: 10px; }
.footer-contact .icon { margin-top: 5px; color: var(--accent); }
.footer-bottom { margin-top: 56px; padding-block: 22px; border-top: 1px solid var(--dark-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Floating call (mobile) ---------- */
.fab-call { position: fixed; left: 16px; bottom: 16px; z-index: 40; display: none; align-items: center; gap: 8px; padding: 0 18px; height: 52px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 700; box-shadow: 0 10px 30px -8px rgba(224, 96, 31, .6); }

/* ---------- Video dialog ---------- */
.video-dialog { width: min(92vw, 440px); max-height: 92vh; padding: 0; border: 0; border-radius: 20px; background: #000; color: #fff; overflow: hidden; }
.video-dialog::backdrop { background: rgba(10, 11, 13, .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.video-dialog__frame { position: relative; aspect-ratio: 9 / 16; max-height: calc(92vh - 58px); margin-inline: auto; }
.video-dialog__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #0d0e10; font-size: .88rem; }
.video-dialog__bar strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.video-dialog__close { width: 34px; height: 34px; border-radius: 50%; background: #23262b; display: grid; place-items: center; flex: none; }
.video-dialog__close:hover { background: var(--accent); }

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: var(--section); }
.not-found strong { display: block; font-size: clamp(4rem, 12vw, 8rem); font-weight: 900; color: var(--line-strong); line-height: 1; }
.not-found h1 { margin-top: 16px; font-size: 1.6rem; }
.not-found p { margin-top: 10px; color: var(--muted); }
.not-found .hero-actions { justify-content: center; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .product-layout { grid-template-columns: 1fr; }
  .sticky-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .header-inner { height: 68px; gap: 12px; }
  .nav-toggle { display: block; }
  .header-call { margin-inline-start: auto; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav > a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; }
  .nav > a:hover { background: transparent; }
  .nav > a[aria-current="page"]::after { right: auto; left: 4px; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }
  .nav-cta { display: flex; margin-top: 16px; }
  .nav-cta .btn { width: 100%; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .stat:nth-child(n+3) { margin-top: 12px; border-top: 1px solid var(--line); }
  .caps { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .step:nth-child(2)::before { left: 0; }
  .faq-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .product-hero { grid-template-columns: 1fr; }
  .video-embed { grid-template-columns: 1fr; }
  .video-embed .video-card { aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .header-call span { display: none; }
  .header-call { width: 44px; min-height: 44px; padding: 0; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-text strong { font-size: 1rem; }
  .caps { grid-template-columns: 1fr; }
  .cap { padding: 24px 20px; }
  .steps { grid-template-columns: 1fr; }
  .step::before { display: none; }
  .step { padding-top: 0; padding-right: 30px; }
  .step-dot { top: 6px; }
  .why { grid-template-columns: 1fr; }
  .feature-grid, .check-list { grid-template-columns: 1fr; }
  .sticky-aside { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .video-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 6px;
    scrollbar-width: none;
  }
  .video-grid::-webkit-scrollbar { display: none; }
  .video-grid > * { flex: 0 0 62%; scroll-snap-align: start; }
  .video-grid--all { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 0; overflow: visible; }
  .video-grid--all > * { flex: none; }
  .video-card__title { font-size: .88rem; }
  .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th { border-bottom: 0; padding-bottom: 2px; background: transparent; color: var(--muted); font-size: .85rem; }
  .spec-table td { padding-top: 2px; }
  .map-card__img { aspect-ratio: 4 / 3; }
  .fab-call { display: inline-flex; }
  .hero-actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
