/* =============================================================================
   Arang Batok Kelapa Lampung — main stylesheet
   Dark "charcoal" base, ember accents, ash-ivory content sections.
   Uses logical properties throughout so Arabic (RTL) mirrors automatically.
   ============================================================================= */

:root {
  --c-950: #0c0a09;
  --c-900: #12100e;
  --c-850: #171412;
  --c-800: #1d1916;
  --c-700: #2a2420;
  --c-600: #3a322c;
  --ivory: #f4eee5;
  --ivory-2: #ebe3d6;
  --paper: #fbf8f3;
  --ember-200: #ffd6a8;
  --ember-300: #ffb36b;
  --ember-400: #ff8a3d;
  --ember-500: #ff6a1a;
  --ember-600: #e2510b;
  --ember-700: #b4400c;
  --gold: #d9a35b;
  --wa: #25d366;
  --ok: #34d399;

  --font-display: "Fraunces", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-brand: "Fraunces", Georgia, serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --topbar-h: 36px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .65);

  --noise-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 .13 0 0 0 -.03'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --noise-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .14 0 0 0 0 .08 .11 0 0 0 -.03'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --noise-coal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .62 0 0 0 0 .58 0 0 0 0 .55 .36 0 0 0 -.09'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --chev-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b5a99b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  --chev-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362584e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");

  /* contextual tokens — dark by default */
  --bg: var(--c-950);
  --fg: #f3ece2;
  --muted: #b5a99b;
  --faint: #857a6e;
  --line: rgba(255, 236, 214, .09);
  --line-strong: rgba(255, 236, 214, .18);
  --card: rgba(255, 244, 230, .035);
  --card-2: rgba(255, 244, 230, .06);
  --accent: var(--ember-400);
  --accent-text: var(--ember-300);
  --input-bg: rgba(255, 244, 230, .045);
  --chev: var(--chev-dark);
}

.section--light {
  --bg: var(--ivory);
  --fg: #1d1915;
  --muted: #5f554b;
  --faint: #857a6e;
  --line: rgba(29, 25, 21, .1);
  --line-strong: rgba(29, 25, 21, .2);
  --card: #fbf8f3;
  --card-2: #fffdf9;
  --accent: var(--ember-600);
  --accent-text: var(--ember-700);
  --input-bg: #fffdf9;
  --chev: var(--chev-light);
}

.theme-dark,
.why-card,
.calc__results {
  --bg: var(--c-900);
  --fg: #f3ece2;
  --muted: #b5a99b;
  --faint: #857a6e;
  --line: rgba(255, 236, 214, .1);
  --line-strong: rgba(255, 236, 214, .2);
  --card: rgba(255, 244, 230, .04);
  --card-2: rgba(255, 244, 230, .07);
  --accent: var(--ember-400);
  --accent-text: var(--ember-300);
  --input-bg: rgba(255, 244, 230, .05);
  --chev: var(--chev-dark);
  color: var(--fg);
}

/* Per-language type */
html[lang="ru"] { --font-display: "Playfair Display", Georgia, "Times New Roman", serif; }
html[lang="ar"] {
  --font-display: "Amiri", "Noto Naskh Arabic", "Times New Roman", serif;
  --font-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}
html[lang="zh"] {
  --font-display: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--c-950);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: opacity .35s ease;
}
html.i18n-pending body { opacity: 0; }
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.2; }
p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--ember-500); color: #1c0d04; }
:focus-visible { outline: 2px solid var(--ember-300); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 1em; height: 1em; }
[dir="rtl"] .icon--flip { transform: scaleX(-1); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 200; top: 12px; inset-inline-start: 12px;
  padding: 10px 16px; border-radius: 10px; background: var(--ember-500); color: #1c0d04; font-weight: 800;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(900px + var(--gutter) * 2); }

/* ---------- Sections & headings ---------- */
.section {
  position: relative;
  padding-block: clamp(84px, 11vw, 150px);
  background: var(--bg);
  color: var(--fg);
}
.section--light { background: var(--noise-light), var(--ivory); }
.section--deep {
  background:
    radial-gradient(1100px 620px at 50% 0%, rgba(255, 106, 26, .09), transparent 60%),
    var(--noise-dark),
    var(--c-900);
}
.section--ember {
  background:
    radial-gradient(900px 640px at 78% 50%, rgba(255, 106, 26, .17), transparent 62%),
    radial-gradient(700px 520px at 0% 100%, rgba(217, 163, 91, .08), transparent 60%),
    var(--noise-dark),
    var(--c-850);
}
.section--quote {
  background:
    radial-gradient(900px 600px at 0% 0%, rgba(255, 106, 26, .08), transparent 60%),
    var(--noise-dark),
    linear-gradient(180deg, var(--c-950), #100c0a);
}
#process, #about { background: var(--noise-dark), var(--c-950); }

.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow__num {
  font-family: var(--font-brand);
  font-style: italic;
  font-weight: 500;
  font-size: 1.02rem;
  letter-spacing: 0;
  color: var(--muted);
}
.eyebrow__line { width: 36px; height: 1px; background: currentColor; opacity: .6; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.8vw, 3.9rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.022em;
  font-variation-settings: "opsz" 144;
  text-wrap: balance;
}
.section-title em, .hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-text);
}
.section-lead {
  margin-top: 22px;
  max-width: 640px;
  font-size: clamp(1.02rem, 1.4vw, 1.17rem);
  color: var(--muted);
  text-wrap: pretty;
}
.section-head--center .section-lead { margin-inline: auto; }
html[lang="ar"] .section-title em, html[lang="ar"] .hero__title em,
html[lang="zh"] .section-title em, html[lang="zh"] .hero__title em { font-style: normal; font-weight: 600; }
html[lang="ar"] .eyebrow, html[lang="zh"] .eyebrow,
html[lang="ar"] .field__label, html[lang="zh"] .field__label { letter-spacing: .02em; }
html[lang="ar"] .section-title, html[lang="ar"] .hero__title { letter-spacing: 0; line-height: 1.25; }
html[lang="zh"] .section-title, html[lang="zh"] .hero__title { letter-spacing: .01em; line-height: 1.2; }
html[lang="ar"] body { line-height: 1.8; }

.note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  font-size: .86rem;
  color: var(--faint);
}
.note .icon { margin-top: 2px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s, color .25s, opacity .25s;
}
.btn--sm { --btn-h: 40px; padding: 0 16px; font-size: .86rem; }
.btn--lg { --btn-h: 56px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary {
  color: #1c0d04;
  background: linear-gradient(135deg, #ffbf7a 0%, #ff7a26 46%, #ef540d 100%);
  box-shadow: 0 12px 30px -12px rgba(255, 106, 26, .75), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 42px -14px rgba(255, 106, 26, .85), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--ghost { color: var(--fg); border: 1px solid var(--line-strong); background: var(--card); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-text); }
.btn--dark { color: var(--ivory); background: var(--c-900); border: 1px solid rgba(255, 236, 214, .12); }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.calc__results .btn--dark { color: #1c0d04; background: linear-gradient(135deg, #ffbf7a 0%, #ff7a26 46%, #ef540d 100%); border: 0; }
.btn--wa { color: #052e16; background: var(--wa); box-shadow: 0 12px 30px -12px rgba(37, 211, 102, .6); }
.btn--wa:hover { transform: translateY(-2px); background: #2fe073; }
.btn:disabled { opacity: .4; pointer-events: none; }
.btn:active { transform: translateY(0) scale(.98); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  transition: transform .4s var(--ease);
}
.site-header.is-scrolled { transform: translateY(calc(var(--topbar-h) * -1)); }
.site-header.is-hidden { transform: translateY(calc(-100% - 4px)); }
.topbar {
  height: var(--topbar-h);
  border-bottom: 1px solid var(--line);
  background: rgba(12, 10, 9, .55);
  font-size: .8rem;
  color: var(--muted);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.office-status { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.office-status__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.office-status__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #8a8178; }
.is-open .office-status__dot { background: var(--ok); animation: pulse 2.2s infinite; }
.topbar__links { display: flex; gap: 20px; flex: none; }
.topbar__link { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar__link:hover { color: var(--fg); }

.navbar { border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s, backdrop-filter .35s; }
.site-header.is-scrolled .navbar, .site-header.menu-open .navbar {
  background: rgba(12, 10, 9, .8);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}
.navbar__inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 40px; height: 40px; filter: drop-shadow(0 8px 16px rgba(255, 106, 26, .28)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-brand); font-weight: 600; font-size: 1.1rem; letter-spacing: -.01em; }
.brand__sub { margin-top: 5px; font-size: .62rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.nav { margin-inline-start: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__list a {
  display: block;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--muted);
  transition: color .2s, background-color .2s;
}
.nav__list a:hover, .nav__list a.is-active { color: var(--fg); background: var(--card-2); }
.navbar__actions { display: flex; align-items: center; gap: 10px; }
.quote-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #1c0d04;
  color: var(--ember-300);
  font-size: .72rem;
  font-weight: 800;
}
.quote-count.bump { animation: bump .5s var(--ease); }

.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .06em;
  transition: border-color .2s;
}
.lang__btn:hover { border-color: var(--ember-400); }
.lang__chev { transition: transform .25s; }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  min-width: 210px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #1a1613;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: .93rem;
  text-align: start;
}
.lang__menu button small { font-size: .7rem; font-weight: 800; letter-spacing: .1em; color: var(--faint); }
.lang__menu button:hover, .lang__menu button[aria-current="true"] { background: var(--card-2); color: var(--ember-300); }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.menu-toggle span {
  position: absolute;
  inset-inline: 13px;
  height: 1.6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s var(--ease);
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  top: calc(var(--header-h) + var(--topbar-h));
  z-index: 49;
  padding: 16px var(--gutter) 120px;
  overflow-y: auto;
  background: rgba(12, 10, 9, .97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  animation: fadeIn .25s ease;
}
.site-header.is-scrolled .mobile-menu { top: calc(var(--header-h) + var(--topbar-h)); }
.mobile-menu__nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.2;
}
.mobile-menu__langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.mobile-menu__langs button, .footer__langs button {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .88rem;
}
.mobile-menu__langs button[aria-current="true"], .footer__langs button[aria-current="true"] { border-color: var(--ember-400); color: var(--ember-300); }

/* ---------- Demo ribbon ---------- */
.demo-ribbon {
  position: fixed;
  z-index: 70;
  bottom: 16px;
  inset-inline-start: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(460px, calc(100vw - 32px));
  padding: 8px 8px 8px 10px;
  border: 1px solid rgba(255, 179, 107, .35);
  border-radius: 14px;
  background: rgba(40, 18, 8, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--ember-200);
  font-size: .78rem;
  line-height: 1.4;
  box-shadow: var(--shadow-lg);
}
.demo-ribbon__pill { padding: 3px 8px; border-radius: 8px; background: var(--ember-500); color: #1c0d04; font-weight: 800; font-size: .66rem; letter-spacing: .12em; }
.demo-ribbon__close { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px; }
.demo-ribbon__close:hover { background: rgba(255, 255, 255, .08); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + var(--topbar-h) + 32px);
  padding-bottom: 96px;
  overflow: hidden;
  background:
    radial-gradient(900px 700px at 74% 56%, rgba(255, 106, 26, .17), transparent 60%),
    radial-gradient(620px 420px at 8% 8%, rgba(217, 163, 91, .07), transparent 70%),
    var(--noise-dark),
    var(--c-950);
}
.hero__embers { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hero__glow {
  position: absolute;
  inset-inline-end: -12%;
  bottom: -36%;
  width: 72vw;
  height: 72vw;
  max-width: 1000px;
  max-height: 1000px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 20, .2), transparent 62%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.hero__copy .eyebrow { margin-bottom: 26px; color: var(--ember-300); }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, min(6.3vw, 10.5vh), 6rem);
  font-weight: 600;
  line-height: .95;
  letter-spacing: -.035em;
  font-variation-settings: "opsz" 144;
}
.hero__title em {
  display: inline-block;
  padding-inline-end: .06em;
  background: linear-gradient(100deg, #ffe0b8 0%, #ff9a4d 48%, #ff5a14 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  max-width: 560px;
  margin-top: 28px;
  font-size: clamp(1.04rem, 1.45vw, 1.22rem);
  color: var(--muted);
  text-wrap: pretty;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__specs {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: start;
  gap: 32px;
  max-width: 640px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero__specs strong {
  display: block;
  font-family: var(--font-brand);
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  font-weight: 600;
  white-space: nowrap;
  unicode-bidi: isolate;
}
.hero__specs span { display: block; margin-top: 2px; font-size: .8rem; color: var(--muted); }

.hero__visual { position: relative; width: 100%; max-width: 600px; aspect-ratio: 1; justify-self: center; }
.hero__halo {
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(255, 179, 107, .14);
  border-radius: 50%;
  box-shadow: inset 0 0 120px rgba(255, 106, 26, .12);
}
.hero__halo::before {
  content: "";
  position: absolute;
  inset: -9%;
  border: 1px dashed rgba(255, 179, 107, .12);
  border-radius: 50%;
  animation: spin 140s linear infinite;
}
.hero__halo::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 70%;
  height: 16%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 106, 26, .35), transparent);
  filter: blur(18px);
}
.hero__chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(22, 18, 15, .6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: .78rem;
  color: var(--muted);
  white-space: nowrap;
  animation: floatSoft 8s ease-in-out infinite;
}
.hero__chip--coords { top: 6%; inset-inline-start: 2%; letter-spacing: .08em; }
.hero__chip--spec { bottom: 9%; inset-inline-end: 0; flex-direction: column; align-items: flex-start; gap: 2px; animation-delay: -4s; }
.hero__chip--spec strong { font-family: var(--font-brand); font-size: 1.05rem; color: var(--fg); font-weight: 600; }
.hero__chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ember-500); box-shadow: 0 0 12px var(--ember-500); }
.hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: 26px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--faint);
}
.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--ember-400), transparent);
  transform-origin: top;
  animation: scrollLine 2.4s ease-in-out infinite;
}

/* 3D charcoal cubes (built by hero.js) */
.cube-scene { position: absolute; inset: 0; perspective: 1500px; perspective-origin: 50% 42%; }
.cube-rig {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transform: scale(var(--scene-scale, 1)) rotateX(var(--rx, -10deg)) rotateY(var(--ry, 0deg));
}
.cube {
  position: absolute;
  left: 0;
  top: 0;
  transform-style: preserve-3d;
  transform: translate3d(var(--x), var(--y), var(--z)) rotateX(var(--a)) rotateY(var(--b)) rotateZ(var(--c));
}
.cube__body {
  position: absolute;
  transform-style: preserve-3d;
  animation: cubeFloat var(--dur, 8s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.face {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 3px;
  background-color: #1c1917;
  background-image: var(--noise-coal), linear-gradient(150deg, rgba(255, 255, 255, .08), rgba(0, 0, 0, .3));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), inset 0 0 26px rgba(0, 0, 0, .5);
  backface-visibility: hidden;
}
.face--top { background-color: #2e2a27; box-shadow: inset 0 0 0 1px rgba(255, 240, 220, .1), inset 0 0 26px rgba(0, 0, 0, .45); }
.face--front { background-color: #1d1a18; }
.face--left { background-color: #171412; }
.face--right { background-color: #110f0e; }
.face--back { background-color: #141110; }
.face--bottom { background-color: #0d0b0a; }
.cube--warm .face--front, .cube--warm .face--left, .cube--warm .face--bottom {
  background-image: var(--noise-coal), linear-gradient(0deg, rgba(255, 106, 26, .2), rgba(0, 0, 0, .2) 60%);
}
.cube--hot .face {
  background-color: #2a0f06;
  background-image:
    var(--noise-coal),
    radial-gradient(circle at 50% 56%, #ffd590 0%, #ff8226 22%, #cf410a 46%, #5a1606 74%, #1e0c07 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 210, 160, .3), inset 0 0 34px rgba(255, 150, 60, .35);
}
.cube--hot .face--top {
  background-image:
    var(--noise-coal),
    radial-gradient(circle at 50% 50%, #fff1d6 0%, #ffd2a1 18%, #f0a36b 36%, #b2502a 62%, #3b160b 100%);
}
.cube--hot .face::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 55%, rgba(255, 230, 160, .9), rgba(255, 140, 50, .5) 35%, transparent 70%);
  mix-blend-mode: screen;
  opacity: .25;
  animation: emberPulse 2.6s ease-in-out infinite alternate;
}
.cube--hot .face--bottom::after, .cube--hot .face--back::after { display: none; }

/* ---------- Ports marquee ---------- */
.ports-strip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  background: var(--c-900);
  overflow: hidden;
}
.ports-strip__label {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  padding-inline-start: var(--gutter);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ember-300);
  white-space: nowrap;
}
.marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
[dir="rtl"] .marquee__track { animation-name: marqueeRtl; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-inline-end: 22px;
  font-family: var(--font-brand);
  font-size: 1.12rem;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__item::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ember-500); opacity: .7; }

/* ---------- Products ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 244, 230, .05), rgba(255, 244, 230, .012));
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
}
.product:hover { transform: translateY(-6px); border-color: rgba(255, 138, 61, .38); box-shadow: 0 34px 70px -34px rgba(255, 106, 26, .4); }
.product__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    radial-gradient(70% 62% at 50% 64%, rgba(255, 106, 26, .2), transparent 70%),
    linear-gradient(180deg, #1b1714, #0e0c0b);
}
.product__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(14, 12, 11, .7));
  pointer-events: none;
}
.product__media > svg { width: 84%; height: auto; transition: transform .7s var(--ease); }
.product:hover .product__media > svg { transform: scale(1.05) translateY(-4px); }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__shape {
  position: absolute;
  z-index: 1;
  top: 16px;
  inset-inline-start: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(12, 10, 9, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ember-200);
}
.product__body { display: flex; flex: 1; flex-direction: column; gap: 16px; padding: 24px; }
.product__tag { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-300); }
.product__name { margin-top: -8px; font-family: var(--font-display); font-size: 1.75rem; line-height: 1.1; }
.product__desc { font-size: .95rem; color: var(--muted); }
.product__keys {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--line);
}
.product__keys > div { padding: 12px 12px 11px; background: #15120f; min-width: 0; }
.product__keys dt { font-size: .66rem; font-weight: 800; letter-spacing: .06em; line-height: 1.25; text-transform: uppercase; color: var(--faint); }
.product__keys > div { display: flex; flex-direction: column; justify-content: space-between; gap: 4px; }
.product__keys dd { margin-top: 2px; font-family: var(--font-brand); font-size: 1.08rem; font-weight: 600; white-space: nowrap; unicode-bidi: isolate; }
.vchips { display: flex; flex-wrap: wrap; gap: 8px; }
.vchip { position: relative; }
.vchip input { position: absolute; opacity: 0; pointer-events: none; }
.vchip span {
  display: inline-block;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: .2s;
  unicode-bidi: isolate;
}
.vchip input:checked + span { border-color: var(--ember-400); background: rgba(255, 106, 26, .14); color: var(--ember-200); }
.vchip input:focus-visible + span { outline: 2px solid var(--ember-300); outline-offset: 2px; }
.product__pcs { font-size: .82rem; color: var(--faint); min-height: 1.3em; }
.product__actions { display: flex; gap: 10px; margin-top: auto; padding-top: 4px; }
.product__actions .btn { flex: 1; padding: 0 14px; }

/* Product dialog */
.dialog {
  width: min(960px, calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: #15120f;
  color: var(--fg);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .65);
  overflow: hidden;
}
.dialog::backdrop { background: rgba(5, 4, 3, .74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dialog[open] { animation: dialogIn .4s var(--ease); }
.dialog__inner { display: grid; grid-template-columns: .85fr 1.15fr; max-height: inherit; }
.pd-media {
  position: relative;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    radial-gradient(70% 60% at 50% 60%, rgba(255, 106, 26, .22), transparent 70%),
    linear-gradient(180deg, #1b1714, #0e0c0b);
}
.pd-media > svg { width: 100%; max-width: 360px; height: auto; }
.pd-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.pd-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: calc(100vh - 34px);
  max-height: calc(100dvh - 34px);
  padding: 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.pd-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  inset-inline-end: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(12, 10, 9, .6);
}
.pd-close:hover { border-color: var(--ember-400); }
.pd-title { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; }
.pd-desc { color: var(--muted); }
.pd-block h4 { margin-bottom: 10px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-300); }
.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.spec-table th, .spec-table td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-weight: 600; color: var(--muted); text-align: start; }
.spec-table td { font-weight: 800; text-align: end; }
.spec-table tr:last-child > * { border-bottom: 0; }
.pd-list { display: grid; gap: 6px; font-size: .92rem; color: var(--muted); }
.pd-list li { position: relative; padding-inline-start: 20px; }
.pd-list li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--ember-500); transform: rotate(45deg); }
.pd-load { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pd-load > div { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.pd-load span { display: block; font-size: .75rem; color: var(--faint); font-weight: 700; }
.pd-load strong { font-family: var(--font-brand); font-size: 1.3rem; font-weight: 600; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }

/* ---------- Quality ---------- */
.quality-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.meters { display: grid; gap: 12px; }
.meter {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset;
}
.meter__name { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.meter__name .icon { color: var(--accent); }
.meter__value { margin-top: 4px; font-family: var(--font-brand); font-size: 1.85rem; font-weight: 600; line-height: 1.1; white-space: nowrap; unicode-bidi: isolate; }
.meter__value small { font-family: var(--font-body); font-size: .5em; font-weight: 800; letter-spacing: .02em; color: var(--muted); }
.meter__track { position: relative; height: 10px; border-radius: 999px; background: var(--ivory-2); overflow: visible; }
.meter__fill {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffcf96, var(--ember-500));
  transition: width 1.4s var(--ease);
}
[dir="rtl"] .meter__fill { background: linear-gradient(270deg, #ffcf96, var(--ember-500)); }
.meter--low .meter__fill { background: linear-gradient(90deg, #2f9e6e, #9bd3a5); }
[dir="rtl"] .meter--low .meter__fill { background: linear-gradient(270deg, #2f9e6e, #9bd3a5); }
.meter__knob {
  position: absolute;
  top: 50%;
  inset-inline-start: 0;
  width: 22px;
  height: 22px;
  margin-inline-start: -11px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--ember-600);
  box-shadow: 0 4px 12px rgba(180, 64, 12, .35);
  transform: translateY(-50%);
  transition: inset-inline-start 1.4s var(--ease);
}
.meter--low .meter__knob { background: #2f9e6e; box-shadow: 0 4px 12px rgba(47, 158, 110, .35); }
.meter__scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: .74rem; font-weight: 700; color: var(--faint); }
.meter__scale span { unicode-bidi: isolate; }
.meter__better { color: var(--accent-text); }
.meter__desc { margin-top: 10px; font-size: .9rem; color: var(--muted); }

.why-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 32px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(255, 106, 26, .18), transparent 60%),
    var(--noise-dark),
    var(--c-900);
  box-shadow: 0 40px 80px -40px rgba(30, 15, 5, .55);
}
.why-card__title { margin-bottom: 22px; font-family: var(--font-display); font-size: 1.7rem; }
.ticks { display: grid; gap: 16px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.ticks .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--ember-400); }
.why-card__proof {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  padding: 16px;
  border: 1px dashed rgba(255, 179, 107, .35);
  border-radius: 14px;
  font-size: .9rem;
  color: var(--muted);
}
.why-card__proof .icon { color: var(--ember-300); margin-top: 2px; }

.compare { margin-top: clamp(56px, 8vw, 100px); }
.compare__title { margin-bottom: 22px; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card-2);
  -webkit-overflow-scrolling: touch;
}
.compare-table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; }
.compare-table th, .compare-table td { padding: 17px 22px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; font-size: .95rem; }
.compare-table thead th { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); vertical-align: bottom; }
.compare-table tbody th { width: 19%; font-weight: 800; }
.compare-table td { color: var(--muted); }
.compare-table .is-ours { background: rgba(255, 106, 26, .07); color: var(--fg); font-weight: 700; }
.compare-table thead .is-ours { color: var(--accent-text); }
.compare-table tbody td.is-ours { position: relative; padding-inline-start: 44px; }
.compare-table tbody td.is-ours::before {
  content: "";
  position: absolute;
  inset-inline-start: 22px;
  top: 23px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--ember-600);
  border-bottom: 2px solid var(--ember-600);
  transform: rotate(-45deg);
}
.compare-table__badge {
  display: block;
  width: max-content;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--ember-500);
  color: #1c0d04;
  font-size: .64rem;
  letter-spacing: .1em;
}
.compare-table tbody tr:last-child > * { border-bottom: 0; }

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}
.process__step {
  position: relative;
  min-height: 260px;
  padding: 30px 28px 34px;
  background: var(--c-950);
  transition: background-color .4s;
}
.process__step:hover { background: #16110e; }
.process__step::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ember-500), transparent);
  transition: width .7s var(--ease);
}
[dir="rtl"] .process__step::after { background: linear-gradient(270deg, var(--ember-500), transparent); }
.process__step:hover::after { width: 100%; }
.process__num {
  position: absolute;
  top: 22px;
  inset-inline-end: 24px;
  font-family: var(--font-brand);
  font-size: 2.7rem;
  font-style: italic;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 179, 107, .38);
}
.process__icon { width: 34px; height: 34px; margin-bottom: 44px; color: var(--ember-400); stroke-width: 1.4; }
.process__step h3 { margin-bottom: 10px; font-family: var(--font-display); font-size: 1.3rem; }
.process__step p { font-size: .93rem; color: var(--muted); }

/* ---------- Private label ---------- */
.pl-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.pl-copy .section-head { margin-bottom: 36px; }
.pl-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-bottom: 32px; }
.pl-features li { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; color: var(--muted); }
.pl-features .icon { margin-top: 2px; color: var(--ember-400); }
.pl-form {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 244, 230, .04);
}
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch span {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sw);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 4px 10px rgba(0, 0, 0, .35);
  cursor: pointer;
  transition: transform .2s;
}
.swatch span:hover { transform: scale(1.08); }
.swatch input:checked + span { outline: 2px solid var(--ember-300); outline-offset: 3px; }
.swatch input:focus-visible + span { outline: 2px dashed var(--ember-300); outline-offset: 3px; }

.seg {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card-2);
}
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 800;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .2s, color .2s;
  white-space: nowrap;
}
.seg input:checked + span { background: var(--fg); color: var(--bg); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.pl-stage { position: relative; display: grid; place-items: center; min-height: 540px; }
.pl-stage__spot {
  position: absolute;
  inset: 8% 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 138, 61, .22), transparent);
  filter: blur(10px);
}
.pl-stage__hint { position: absolute; bottom: 0; display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--faint); }
.box-scene {
  --bw: 250px; --bh: 250px; --bd: 104px;
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 480px;
  perspective: 1300px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.box-scene:active { cursor: grabbing; }
.box3d {
  --box-bg: #141414;
  --box-bg2: #262626;
  --box-ink: #f5efe6;
  --box-accent: #d9a35b;
  position: relative;
  width: var(--bw);
  height: var(--bh);
  transform-style: preserve-3d;
  transform: rotateX(var(--brx, -16deg)) rotateY(var(--bry, -32deg));
}
.box3d__face {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  background: linear-gradient(160deg, var(--box-bg2), var(--box-bg));
  color: var(--box-ink);
  backface-visibility: hidden;
  transition: background .5s;
}
.box3d__face::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.box3d__front { width: var(--bw); height: var(--bh); transform: translateZ(calc(var(--bd) / 2)); }
.box3d__back { width: var(--bw); height: var(--bh); transform: rotateY(180deg) translateZ(calc(var(--bd) / 2)); }
.box3d__right { width: var(--bd); height: var(--bh); left: calc((var(--bw) - var(--bd)) / 2); transform: rotateY(90deg) translateZ(calc(var(--bw) / 2)); }
.box3d__left { width: var(--bd); height: var(--bh); left: calc((var(--bw) - var(--bd)) / 2); transform: rotateY(-90deg) translateZ(calc(var(--bw) / 2)); }
.box3d__top { width: var(--bw); height: var(--bd); top: calc((var(--bh) - var(--bd)) / 2); transform: rotateX(90deg) translateZ(calc(var(--bh) / 2)); }
.box3d__bottom { width: var(--bw); height: var(--bd); top: calc((var(--bh) - var(--bd)) / 2); transform: rotateX(-90deg) translateZ(calc(var(--bh) / 2)); }
.box3d__front::after { background: linear-gradient(115deg, rgba(255, 255, 255, .16), transparent 38%, transparent 70%, rgba(0, 0, 0, .18)); }
.box3d__right::after, .box3d__left::after { background: rgba(0, 0, 0, .28); }
.box3d__top::after { background: linear-gradient(0deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .14)); }
.box3d__back::after { background: rgba(0, 0, 0, .2); }
.box3d__bottom { background: #0b0b0b; }
.box-art {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 18px;
  text-align: center;
  background-image:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 9px);
}
.box-art::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--box-accent);
  opacity: .55;
  pointer-events: none;
}
.box-art__logo { width: 42px; height: 42px; color: var(--box-accent); }
.box-art__logo svg { width: 100%; height: 100%; }
.box-art__brand {
  max-width: 100%;
  font-family: var(--font-brand);
  font-size: var(--brand-size, 30px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .06em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  background: linear-gradient(100deg, var(--box-accent), color-mix(in srgb, var(--box-accent) 55%, #fff) 50%, var(--box-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.box-art__tag { font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.box-art__rule { width: 40px; height: 1px; background: var(--box-accent); }
.box-art__meta { font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.box-art__natural { position: absolute; bottom: 20px; left: 0; right: 0; font-size: 8.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.box-art--back { justify-content: flex-start; padding-top: 28px; }
.box-art__brand--sm { --brand-size: 18px; }
.box-art__specs { display: grid; gap: 4px; margin-top: 10px; font-size: 10px; font-weight: 700; letter-spacing: .08em; opacity: .85; }
.box-art__made { margin-top: auto; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.box-art__barcode {
  width: 92px;
  height: 30px;
  margin-bottom: 8px;
  background: repeating-linear-gradient(90deg, var(--box-ink) 0 2px, transparent 2px 3px, var(--box-ink) 3px 4px, transparent 4px 7px, var(--box-ink) 7px 10px, transparent 10px 11px);
  opacity: .8;
}
.box-art--side { padding: 10px; }
.box-art__brand--side { --brand-size: 17px; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.box-art--top { padding: 10px; }
.box-art__brand--top { --brand-size: 20px; }
.box-shadow {
  position: absolute;
  left: 50%;
  top: calc(50% + var(--bh) / 2 + 40px);
  width: calc(var(--bw) * 1.5);
  height: 50px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .7), transparent);
  filter: blur(6px);
  pointer-events: none;
}

/* ---------- Shipping ---------- */
.ship-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.globe-wrap { position: relative; width: 100%; max-width: 640px; justify-self: center; }
.globe { width: 100%; aspect-ratio: 1; cursor: grab; touch-action: pan-y; }
.globe:active { cursor: grabbing; }
.globe-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; font-size: .8rem; color: var(--faint); }
.route-panel { display: grid; gap: 18px; }
.search-input { position: relative; display: block; }
.search-input .icon { position: absolute; top: 50%; inset-inline-start: 14px; color: var(--faint); transform: translateY(-50%); pointer-events: none; }
.search-input .input { padding-inline-start: 44px; }
.region-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.region-tab {
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 800;
  color: var(--muted);
  transition: .2s;
}
.region-tab:hover { color: var(--fg); }
.region-tab[aria-selected="true"] { border-color: var(--fg); background: var(--fg); color: var(--c-950); }
.port-list { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; min-height: 96px; }
.port-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  font-size: .86rem;
  font-weight: 700;
  transition: border-color .2s, background-color .2s;
}
.port-btn small { font-size: .74rem; font-weight: 600; color: var(--faint); }
.port-btn:hover { border-color: var(--line-strong); }
.port-btn.is-active { border-color: var(--ember-400); background: rgba(255, 106, 26, .14); }
.route-card .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }
.route-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255, 138, 61, .28);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 106, 26, .13), rgba(255, 244, 230, .025));
}
.route-card__path { display: flex; align-items: center; gap: 14px; }
.route-card__path > div { flex: 1; min-width: 0; }
.route-card__path strong { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.2; }
.route-card__arrow { width: 28px; height: 28px; color: var(--ember-400); }
.route-card__k, .route-card__stats dt { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.route-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.route-card__stats > div { padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .28); }
.route-card__stats dd { margin-top: 4px; font-family: var(--font-brand); font-size: 1.45rem; font-weight: 600; line-height: 1.15; }
.terms-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(56px, 8vw, 100px); }
.term-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.term-card__title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--font-display); font-size: 1.25rem; }
.term-card__title .icon { color: var(--ember-400); }
.term-list > div { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.term-list dt { font-size: .84rem; font-weight: 800; color: var(--ember-300); }
.term-list dd, .doc-list li { font-size: .88rem; color: var(--muted); }
.term-card__foot { margin-top: 12px; font-size: .8rem; color: var(--faint); }
.doc-list li { position: relative; padding: 9px 0; padding-inline-start: 24px; border-top: 1px solid var(--line); }
.doc-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: 15px;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--ember-400);
  border-bottom: 2px solid var(--ember-400);
  transform: rotate(-45deg);
}

/* ---------- Calculator ---------- */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--card-2);
  box-shadow: 0 50px 90px -60px rgba(70, 35, 10, .45);
}
.calc__inputs { display: grid; align-content: start; gap: 20px; padding: clamp(22px, 4vw, 44px); }
.calc__results {
  display: grid;
  align-content: start;
  gap: 20px;
  padding: clamp(22px, 4vw, 44px);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(255, 106, 26, .16), transparent 60%),
    var(--noise-dark),
    var(--c-900);
}
.container-viz__svg { width: 100%; height: auto; }
#vizFill { transition: width .9s var(--ease); }
.container-viz__label { display: flex; justify-content: space-between; margin-top: 6px; font-size: .84rem; color: var(--muted); }
.container-viz__label strong { color: var(--ember-300); }
.calc__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}
.calc__stat { padding: 16px 18px; background: #16120f; min-width: 0; }
.calc__stat dt { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.calc__stat dd { margin-top: 4px; font-family: var(--font-brand); font-size: 1.45rem; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; unicode-bidi: isolate; }
.calc__stat--hero { grid-column: 1 / -1; }
.calc__stat--hero dd { font-size: clamp(2rem, 4vw, 2.6rem); color: var(--ember-300); }
.calc__sub { font-size: .85rem; color: var(--muted); unicode-bidi: isolate; }
.calc__hint {
  padding: 12px 14px;
  border: 1px dashed rgba(255, 179, 107, .4);
  border-radius: 12px;
  font-size: .88rem;
  color: var(--ember-200);
}

/* ---------- Forms ---------- */
.field { display: grid; gap: 8px; min-width: 0; }
.field__label { font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background-color: var(--input-bg);
  color: var(--fg);
  font-size: .97rem;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input::placeholder { color: var(--faint); opacity: 1; }
.input:hover { border-color: color-mix(in srgb, var(--line-strong) 50%, var(--accent)); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255, 106, 26, .16); }
.input.is-invalid { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .15); }
select.input {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: 40px;
  background-image: var(--chev);
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  cursor: pointer;
}
[dir="rtl"] select.input { background-position: left 14px center; }
select.input option { color: #1d1915; background: #fff; }
textarea.input { min-height: 116px; resize: vertical; line-height: 1.55; }
input[type="number"].input { -moz-appearance: textfield; appearance: textfield; }
input[type="number"].input::-webkit-outer-spin-button,
input[type="number"].input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="search"].input::-webkit-search-cancel-button { filter: grayscale(1); }
.stepper { display: flex; align-items: stretch; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--input-bg); }
.stepper__btn { display: grid; place-items: center; width: 46px; flex: none; color: var(--muted); transition: background-color .2s, color .2s; }
.stepper__btn:hover { background: var(--card-2); color: var(--fg); }
.stepper__input { min-height: 46px; border: 0; border-radius: 0; background: transparent; text-align: center; font-weight: 800; }
.stepper__input:focus { box-shadow: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: .2s;
}
.chip span:hover { color: var(--fg); }
.chip input:checked + span { border-color: var(--ember-400); background: rgba(255, 106, 26, .15); color: var(--ember-200); }
.chip input:focus-visible + span { outline: 2px solid var(--ember-300); outline-offset: 2px; }
.chips--sm .chip span { padding: 8px 14px; font-size: .85rem; }
.check { display: flex; align-items: center; gap: 10px; font-size: .94rem; cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; accent-color: var(--ember-500); }
.field--checks { align-content: end; gap: 12px; padding-bottom: 4px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-copy .section-head { margin-bottom: 28px; }
.about-copy__p { max-width: 560px; margin-bottom: 18px; font-size: 1.07rem; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stats dd { font-family: var(--font-brand); font-size: clamp(2.2rem, 4vw, 2.9rem); font-weight: 600; line-height: 1; color: var(--ember-300); }
.stats dt { margin-top: 6px; font-size: .85rem; color: var(--muted); }
.region-map {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(70% 60% at 76% 84%, rgba(255, 106, 26, .14), transparent 70%),
    #0f0d0b;
}
.region-map__svg { width: 100%; height: auto; direction: ltr; }
.region-map__land { fill: #2a2420; stroke: rgba(255, 214, 168, .28); stroke-width: .8; stroke-linejoin: round; }
.region-map__route {
  fill: none;
  stroke: var(--ember-400);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 1 8;
  animation: dash 1.4s linear infinite;
}
.region-map__pin circle { fill: #f3ece2; }
.region-map__home circle { fill: var(--ember-500); }
.region-map__home .region-map__pulse {
  fill: none;
  stroke: var(--ember-400);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: ping 2.4s var(--ease) infinite;
}
.region-map__big { font-family: var(--font-display); font-size: 40px; font-weight: 600; letter-spacing: .38em; fill: rgba(255, 236, 214, .13); }
.region-map__lbl { font-family: var(--font-body); font-size: 13px; font-weight: 700; fill: #d6cabd; }
.region-map__lbl--hot { fill: var(--ember-300); font-size: 14px; }
.region-map__sea { font-family: var(--font-display); font-size: 15px; font-style: italic; fill: rgba(214, 202, 189, .5); }
.region-map__cap { display: flex; gap: 10px; align-items: flex-start; padding: 16px 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.region-map__cap .icon { color: var(--ember-400); margin-top: 1px; }
.commit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(56px, 8vw, 100px); }
.commit {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  transition: border-color .3s, transform .3s var(--ease);
}
.commit:hover { border-color: rgba(255, 138, 61, .35); transform: translateY(-4px); }
.commit__icon { width: 30px; height: 30px; margin-bottom: 22px; color: var(--ember-400); stroke-width: 1.5; }
.commit h3 { margin-bottom: 8px; font-family: var(--font-display); font-size: 1.25rem; }
.commit p { font-size: .93rem; color: var(--muted); }
.tour {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 22px;
  padding: 28px 32px;
  border: 1px solid rgba(255, 138, 61, .3);
  border-radius: var(--radius-xl);
  background: linear-gradient(110deg, rgba(255, 106, 26, .2), rgba(255, 106, 26, .04) 62%), var(--c-850);
}
.tour__icon { display: grid; place-items: center; width: 60px; height: 60px; flex: none; border-radius: 50%; background: var(--ember-500); color: #1c0d04; }
.tour__icon .icon { width: 28px; height: 28px; }
.tour__copy { flex: 1; }
.tour__copy h3 { font-family: var(--font-display); font-size: 1.5rem; }
.tour__copy p { margin-top: 4px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-search { position: relative; margin-bottom: 22px; }
.faq-search .icon { position: absolute; top: 50%; inset-inline-start: 20px; color: var(--faint); transform: translateY(-50%); pointer-events: none; }
.faq-search .input { min-height: 58px; padding-inline-start: 52px; border-radius: 999px; font-size: 1rem; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card-2);
  transition: border-color .3s, box-shadow .3s;
}
.faq-item[open] { border-color: rgba(180, 64, 12, .35); box-shadow: 0 24px 44px -34px rgba(70, 35, 10, .5); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  list-style: none;
  font-weight: 800;
  font-size: 1.03rem;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); border-color: var(--ember-600); background: var(--ember-600); color: #fff; }
.faq-item__a { padding: 0 24px 22px; color: var(--muted); }
.faq-item__a p + p { margin-top: 8px; }
.faq-empty { padding: 24px; text-align: center; color: var(--muted); }
mark { padding: 0 2px; border-radius: 3px; background: rgba(255, 138, 61, .3); color: inherit; }

/* ---------- Quote / RFQ ---------- */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.rfq {
  position: relative;
  display: grid;
  gap: 28px;
  padding: clamp(20px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 244, 230, .05), rgba(255, 244, 230, .015));
}
.rfq__step { display: grid; gap: 16px; padding-bottom: 28px; border-bottom: 1px dashed var(--line-strong); }
.rfq__step-title { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.35rem; }
.rfq__n {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--ember-500);
  color: #1c0d04;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 800;
}
.basket { display: grid; gap: 8px; }
.basket__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 12px 12px 16px;
  border: 1px solid rgba(255, 138, 61, .28);
  border-radius: 14px;
  background: rgba(255, 106, 26, .08);
  animation: fadeUp .35s var(--ease);
}
.basket__item > .icon { color: var(--ember-300); }
.basket__text { flex: 1; min-width: 0; }
.basket__text strong { display: block; font-size: .96rem; }
.basket__text small { display: block; font-size: .82rem; color: var(--muted); }
.basket__remove { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; color: var(--muted); transition: .2s; }
.basket__remove:hover { background: var(--card-2); color: var(--fg); }
.basket__empty { padding: 16px; border: 1px dashed var(--line-strong); border-radius: 14px; text-align: center; font-size: .92rem; color: var(--muted); }
.add-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) auto; gap: 12px 10px; align-items: end; }
.add-row > :nth-child(2) { grid-column: span 2; }
.qty-group { display: flex; }
.qty-group .input:first-child { width: 68px; flex: none; border-start-end-radius: 0; border-end-end-radius: 0; text-align: center; padding-inline: 8px; }
.qty-group select.input { flex: 1; min-width: 0; margin-inline-start: -1px; border-start-start-radius: 0; border-end-start-radius: 0; }
.add-row__btn { min-height: 48px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.rfq__privacy { display: flex; gap: 10px; font-size: .84rem; color: var(--faint); }
.rfq__privacy .icon { margin-top: 2px; }
.rfq__error {
  padding: 12px 16px;
  border: 1px solid rgba(239, 68, 68, .4);
  border-radius: 12px;
  background: rgba(239, 68, 68, .12);
  color: #fecaca;
  font-size: .92rem;
}
.rfq__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rfq__preview summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: .9rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.rfq__preview summary::-webkit-details-marker { display: none; }
.rfq__preview summary .icon { transition: transform .25s; }
.rfq__preview[open] summary .icon { transform: rotate(180deg); }
.rfq__pre {
  max-height: 340px;
  margin: 12px 0;
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, .35);
  color: #e9dfd2;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: .8rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  direction: ltr;
  text-align: left;
}
.rfq__done {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 40px 24px;
  border-radius: inherit;
  background: rgba(16, 12, 10, .97);
  text-align: center;
  animation: fadeIn .4s ease;
}
.rfq__done:focus { outline: none; }
.rfq__done h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem); }
.rfq__done > p { max-width: 460px; color: var(--muted); }
.rfq__done-icon { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: linear-gradient(135deg, #ffbf7a, #ef540d); color: #1c0d04; box-shadow: 0 0 0 10px rgba(255, 106, 26, .12); }
.rfq__done-icon .icon { width: 34px; height: 34px; stroke-width: 2.6; }
.rfq__done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.next-steps { display: grid; gap: 10px; max-width: 440px; margin: 6px 0; text-align: start; counter-reset: n; }
.next-steps li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); counter-increment: n; }
.next-steps li::before {
  content: counter(n);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid var(--ember-400);
  border-radius: 50%;
  color: var(--ember-300);
  font-size: .78rem;
  font-weight: 800;
}

.contact-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.clock-card {
  padding: 22px;
  border: 1px solid rgba(255, 138, 61, .28);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 106, 26, .15), rgba(255, 244, 230, .025));
}
.clock-card__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.clock-card__k { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.clock-card__time { display: block; font-family: var(--font-brand); font-size: 2.2rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.clock-card__tz { font-size: .78rem; color: var(--muted); }
.clock-card__status { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; font-weight: 700; }
.clock-card__hours { margin-top: 4px; font-size: .82rem; color: var(--muted); }
.contact-list { display: grid; gap: 8px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  transition: border-color .2s, transform .25s var(--ease);
}
a.contact-item:hover { border-color: rgba(255, 138, 61, .45); transform: translateX(4px); }
[dir="rtl"] a.contact-item:hover { transform: translateX(-4px); }
.contact-item__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: rgba(255, 106, 26, .12); color: var(--ember-300); }
.contact-item__icon--wa { background: rgba(37, 211, 102, .15); color: #4ade80; }
.contact-item__k { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.contact-item__v { display: block; font-weight: 700; overflow-wrap: anywhere; }
.sched { display: grid; gap: 12px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); scroll-margin-top: calc(var(--header-h) + 24px); }
.sched.is-flash { animation: flash 1.6s var(--ease); }
.sched__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.25rem; }
.sched__title .icon { color: var(--ember-400); }
.sched__text { font-size: .9rem; color: var(--muted); }
.sched__days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.day-btn {
  display: grid;
  justify-items: center;
  gap: 1px;
  width: 58px;
  flex: none;
  padding: 9px 0;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  transition: .2s;
}
.day-btn strong { font-family: var(--font-brand); font-size: 1.2rem; font-weight: 600; color: var(--fg); }
.day-btn:hover { border-color: var(--ember-400); }
.day-btn[aria-checked="true"] { border-color: var(--ember-500); background: var(--ember-500); color: #1c0d04; }
.day-btn[aria-checked="true"] strong { color: #1c0d04; }
.sched__slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.slot-btn {
  display: grid;
  gap: 1px;
  padding: 9px 4px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  font-weight: 800;
  font-size: .92rem;
  transition: .2s;
}
.slot-btn small { font-size: .68rem; font-weight: 600; color: var(--faint); }
.slot-btn.is-good { border-color: rgba(52, 211, 153, .4); }
.slot-btn:hover { border-color: var(--ember-400); }
.slot-btn[aria-checked="true"] { border-color: var(--ember-400); background: rgba(255, 106, 26, .16); }
.sched__empty { grid-column: 1 / -1; font-size: .85rem; color: var(--faint); }
.map-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.map-card__btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 18px 18px 8px; font-weight: 800; }
.map-card__btn:hover { color: var(--ember-300); }
.map-card__note { padding: 0 18px 16px; text-align: center; font-size: .78rem; color: var(--faint); }
.map-card iframe { display: block; width: 100%; height: 280px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { padding-top: 80px; border-top: 1px solid var(--line); background: var(--noise-dark), #080706; color: var(--muted); font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.footer__about { max-width: 380px; margin-top: 18px; }
.footer__legal { margin-top: 12px; font-size: .82rem; color: var(--faint); }
.footer__h { margin-bottom: 16px; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--fg); }
.footer__links { display: grid; gap: 10px; }
.footer__links a { transition: color .2s; }
.footer__links a:hover { color: var(--ember-300); }
.footer__langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.footer__langs button { padding: 6px 11px; font-size: .78rem; }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer__social a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.footer__social a:hover { border-color: var(--ember-400); color: var(--ember-300); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-block: 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--faint); }

/* ---------- Floating & feedback ---------- */
.mobile-bar {
  position: fixed;
  z-index: 45;
  inset-inline: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: none;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(20, 16, 14, .86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
  transform: translateY(160%);
  transition: transform .45s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar__btn { display: flex; flex: 1; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 999px; font-size: .92rem; font-weight: 800; }
.mobile-bar__btn--wa { background: var(--wa); color: #052e16; }
.mobile-bar__btn--quote { background: linear-gradient(135deg, #ffbf7a, #ff7a26 46%, #ef540d); color: #1c0d04; }
.wa-float {
  position: fixed;
  z-index: 45;
  inset-inline-end: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 16px 40px -10px rgba(37, 211, 102, .65);
  transition: transform .3s var(--ease), opacity .3s;
}
.wa-float .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.6s var(--ease) infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float.is-hidden { opacity: 0; transform: scale(.6); pointer-events: none; }
.toasts {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: 24px;
  display: grid;
  gap: 8px;
  width: min(460px, calc(100vw - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 14px;
  background: #f4eee5;
  color: #1d1915;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .5);
  font-size: .92rem;
  font-weight: 600;
  pointer-events: auto;
  animation: toastIn .4s var(--ease);
}
.toast .icon { color: var(--ember-600); }
.toast__action { margin-inline-start: auto; font-weight: 800; color: var(--ember-700); white-space: nowrap; }
.toast.is-leaving { animation: toastOut .3s ease forwards; }

/* ---------- Reveal on scroll ---------- */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scrollLine { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes cubeFloat { 0%, 100% { transform: translate3d(0, -9px, 0) rotateZ(-1.2deg); } 50% { transform: translate3d(0, 11px, 0) rotateZ(1.2deg); } }
@keyframes floatSoft { 0%, 100% { transform: translateY(-5px); } 50% { transform: translateY(5px); } }
@keyframes emberPulse { 0% { opacity: .12; } 100% { opacity: .55; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marqueeRtl { to { transform: translateX(50%); } }
@keyframes dialogIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes dash { to { stroke-dashoffset: -18; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(255, 106, 26, .6); border-color: var(--ember-400); } 100% { box-shadow: 0 0 0 18px rgba(255, 106, 26, 0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .navbar__actions { margin-inline-start: auto; }
  .terms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 460px; margin-top: 8px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quality-grid, .pl-grid, .ship-grid, .about-grid, .quote-grid, .calc { grid-template-columns: minmax(0, 1fr); }
  .why-card, .contact-aside { position: static; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-stage { min-height: 460px; }
  .globe-wrap { max-width: 560px; }
  .commit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dialog__inner { grid-template-columns: 1fr; overflow-y: auto; }
  .pd-media { min-height: 220px; padding: 20px; }
  .pd-media > svg { max-width: 260px; }
  .pd-content { max-height: none; overflow: visible; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .topbar__links { display: none; }
  .navbar__inner { gap: 12px; }
  .hero { padding-bottom: 90px; }
  .hero__specs { grid-template-columns: repeat(2, auto); gap: 18px 28px; margin-top: 40px; }
  .hero__scroll { display: none; }
  .hero__chip--coords { top: 2%; }
  .product-grid, .commit-grid, .terms-grid, .process, .pl-features, .field-row { grid-template-columns: minmax(0, 1fr); }
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 8px; }
  .process__step { min-height: 0; }
  .process__icon { margin-bottom: 22px; }
  .meter { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .quote-btn { display: none; }
  .mobile-bar { display: flex; }
  .wa-float { display: none; }
  .demo-ribbon { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .toasts { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .site-footer { padding-bottom: 84px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .tour { flex-direction: column; text-align: center; padding: 26px 22px; }
  .ports-strip { flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 0; }
  .ports-strip__label { justify-content: center; padding-inline: var(--gutter); }
  .sched__slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rfq__actions .btn { width: 100%; }
  .add-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .add-row > :nth-child(2) { grid-column: auto; }
  .add-row > :nth-child(3) { grid-column: 1 / -1; }
  .box-scene { --bw: 200px; --bh: 200px; --bd: 84px; height: 400px; }
  .box-art { gap: 5px; padding: 14px; }
  .box-art__logo { width: 30px; height: 30px; }
  .box-art__tag { font-size: 8.5px; letter-spacing: .16em; }
  .box-art__meta { font-size: 9.5px; }
  .box-art__natural { bottom: 15px; font-size: 7.5px; }
  .pl-stage { min-height: 420px; }
  .stats dd { font-size: 2.2rem; }
  .pd-content, .pd-media { padding: 22px; }
}
@media (max-width: 440px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 1rem; }
  .brand__mark { width: 34px; height: 34px; }
  .brand { gap: 9px; }
  .navbar__actions { gap: 8px; }
  .lang__btn { padding: 0 9px; gap: 5px; }
  .lang__chev { display: none; }
  .add-row { grid-template-columns: 1fr; }
  .add-row > * { grid-column: auto !important; }
  .clock-card__time { font-size: 1.8rem; }
  .pd-load { grid-template-columns: 1fr; }
}

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

@media print {
  .site-header, .mobile-bar, .wa-float, .toasts, .demo-ribbon, .hero__embers, .hero__visual, .ports-strip { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 32px; }
}
