/* ============================================================
   PAYAPARS — Design System v3.0 "Luxury Dark"
   Inspired-by-and-beyond venhub: deep navy + brand orange glow,
   Estedad type, glass surfaces, soft 80px shadows, expo motion.
   RTL-first · i18n aware (fa/ar rtl · en/ru ltr)
   ============================================================ */

/* ---------- Fonts (Estedad primary, Vazirmatn fallback) ---------- */
@font-face { font-family: 'Estedad'; src: url('../fonts/Estedad-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Estedad'; src: url('../fonts/Estedad-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Estedad'; src: url('../fonts/Estedad-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Estedad'; src: url('../fonts/Estedad-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Estedad'; src: url('../fonts/Estedad-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* ink */
  --bg-0: #00070F;         /* deepest */
  --bg-1: #000B14;         /* body */
  --bg-2: #01101F;         /* raised sections */
  --bg-3: #041A30;         /* cards glass base */
  --surface: #071525;
  --surface-2: #0A1C2F;
  /* text */
  --tx-1: #F2F6FA;
  --tx-2: #C3CFDB;
  --tx-3: #8CA0B3;
  --tx-4: #5D7185;
  /* lines */
  --line: rgba(148, 178, 210, .12);
  --line-2: rgba(148, 178, 210, .2);
  /* brand */
  --brand: #EE7223;
  --brand-2: #FF8A3D;
  --brand-3: #FFB380;
  --brand-deep: #C75712;
  --blue: #00A8FF;
  --ok: #2BD98A;
  --danger: #FF6B6B;
  --grad-brand: linear-gradient(135deg, #FF9147 0%, #EE7223 45%, #E05E0F 100%);
  --grad-text: linear-gradient(120deg, #FFB380, #FF8A3D 45%, #00A8FF);
  /* effects */
  --glow-brand: 0 10px 34px rgba(238, 114, 35, .38);
  --glow-brand-lg: 0 16px 48px rgba(238, 114, 35, .5);
  --shadow-1: 0 4px 24px rgba(0, 10, 25, .5);
  --shadow-2: 0 18px 60px rgba(0, 12, 30, .55);
  --shadow-soft: 0 30px 80px rgba(0, 25, 55, .28);
  --glass: rgba(148, 190, 235, .055);
  --glass-2: rgba(148, 190, 235, .09);
  --radius: 20px;
  --radius-sm: 13px;
  --header-h: 74px;
  --font: 'Estedad', 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
  --expo: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--tx-1);
  background: var(--bg-1);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before { /* ambient page glow */
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(0, 168, 255, .07), transparent 60%),
    radial-gradient(1000px 600px at 10% 20%, rgba(238, 114, 35, .05), transparent 60%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.4; color: var(--tx-1); letter-spacing: -.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; color: var(--tx-1); }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }

/* custom scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: #1B3049; border-radius: 8px; border: 3px solid var(--bg-0); }
::-webkit-scrollbar-thumb:hover { background: var(--brand-deep); }

.container { width: min(1220px, 100% - 44px); margin-inline: auto; }
.section { padding: 84px 0; position: relative; }
.muted { color: var(--tx-3); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 28px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 700; line-height: 1.6; white-space: nowrap;
  transition: transform .25s var(--expo), box-shadow .25s var(--expo), background .2s, border-color .2s, color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--glow-brand); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--glow-brand-lg); }
.btn-primary::after { /* soft pulse */
  content: ''; position: absolute; inset: -2px; border-radius: inherit; z-index: -1;
  box-shadow: 0 0 0 0 rgba(238, 114, 35, .45);
  animation: btnPulse 2.8s ease-out infinite;
}
@keyframes btnPulse {
  0% { box-shadow: 0 0 0 0 rgba(238, 114, 35, .4); }
  70% { box-shadow: 0 0 0 16px rgba(238, 114, 35, 0); }
  100% { box-shadow: 0 0 0 0 rgba(238, 114, 35, 0); }
}
.btn-ghost { background: var(--glass); color: var(--tx-1); border-color: var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .45); transform: translateY(-3px); background: var(--glass-2); }
.btn-outline { background: transparent; color: var(--tx-1); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-3); transform: translateY(-3px); box-shadow: 0 8px 26px rgba(238, 114, 35, .18); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }
.btn-white { background: #fff; color: #B24E0C; box-shadow: 0 12px 34px rgba(0, 0, 0, .3); }
.btn-white:hover { transform: translateY(-3px); }
.btn-wire { background: rgba(0, 0, 0, .18); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn-wire:hover { border-color: #fff; transform: translateY(-3px); }

/* ---------- Eyebrow / Section head ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; color: var(--brand-3);
  background: rgba(238, 114, 35, .1); border: 1px solid rgba(238, 114, 35, .28);
  padding: 5px 16px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 10px var(--brand); animation: dotPulse 2.2s ease infinite; }
@keyframes dotPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(238, 114, 35, .55); } 60% { box-shadow: 0 0 0 8px rgba(238, 114, 35, 0); } }
.sec-head { max-width: 660px; margin-bottom: 46px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(25px, 3.4vw, 36px); margin-bottom: 12px; }
.sec-head h2 em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.sec-head p { color: var(--tx-3); font-size: 16px; }
.sec-head.center::after { /* signature underline */
  content: ''; display: block; width: 64px; height: 3px; border-radius: 3px; margin: 22px auto 0;
  background: linear-gradient(to left, var(--brand), transparent);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(2, 12, 24, .72);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 26px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-logo {
  width: 46px; height: 46px; border-radius: 13px; object-fit: cover;
  background: #fff; border: 1px solid var(--line-2);
  box-shadow: 0 6px 20px rgba(238, 114, 35, .25);
}
.brand-text b { display: block; font-size: 19px; font-weight: 800; line-height: 1.3; color: var(--tx-1); }
.brand-text span { display: block; font-size: 10px; font-weight: 500; color: var(--tx-4); letter-spacing: .26em; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: 10px; }
.main-nav a {
  position: relative; padding: 9px 15px; border-radius: 11px; font-size: 15px; font-weight: 500;
  color: var(--tx-2); transition: color .18s, background .18s;
}
.main-nav a::after {
  content: ''; position: absolute; bottom: 4px; inset-inline: 50%; height: 2px; border-radius: 2px;
  background: var(--brand); transition: inset-inline .28s var(--expo), background .2s;
}
.main-nav a:hover { color: var(--tx-1); }
.main-nav a:hover::after, .main-nav a.active::after { inset-inline: 14px; }
.main-nav a.active { color: var(--brand-3); font-weight: 700; }
.header-cta { display: flex; align-items: center; gap: 11px; margin-inline-start: auto; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--tx-2); direction: ltr; transition: color .15s; }
.header-phone:hover { color: var(--brand-3); }
.header-phone svg { width: 16px; height: 16px; color: var(--brand); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: var(--tx-1); padding: 96px 0 0; background: linear-gradient(180deg, #001020 0%, var(--bg-1) 100%); }
#fx-particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .8; }
.hero::before { /* tech grid */
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(140, 190, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 190, 255, .05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 85% 70% at 65% 5%, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 65% 5%, #000 25%, transparent 72%);
}
.hero .orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0; animation: orbFloat 11s ease-in-out infinite alternate; }
.orb-1 { width: 480px; height: 480px; top: -180px; inset-inline-start: -140px; background: rgba(238, 114, 35, .17); }
.orb-2 { width: 520px; height: 520px; bottom: -220px; inset-inline-end: -160px; background: rgba(0, 168, 255, .12); animation-delay: -5s; }
@keyframes orbFloat { from { transform: translateY(-24px) scale(1); } to { transform: translateY(26px) scale(1.07); } }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.04fr .96fr; gap: 52px; align-items: center; }
.hero-copy .eyebrow { animation: fadeDown .8s var(--expo) both; }
#hero-texts { display: grid; min-height: 218px; align-content: center; }
.hero-txt { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; pointer-events: none; }
.hero-txt.on { opacity: 1; transform: none; pointer-events: auto; }
.hero h1 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.45; margin-bottom: 16px; animation: fadeUp .9s var(--expo) .12s both; }
.hero-sub { color: var(--tx-3); font-size: 17px; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; animation: fadeUp .9s var(--expo) .28s both; }
.hero-points { display: flex; flex-wrap: wrap; gap: 11px 24px; animation: fadeUp .9s var(--expo) .42s both; }
.hero-points li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--tx-2); }
.hero-points svg { width: 17px; height: 17px; color: var(--ok); filter: drop-shadow(0 0 6px rgba(43, 217, 138, .5)); flex: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }

.hero-visual { position: relative; align-self: end; animation: fadeUp 1s var(--expo) .3s both; }
.hero-slider { position: relative; width: min(430px, 100%); margin-inline: auto; }
#hero-imgs {
  position: relative; aspect-ratio: 3 / 3.55; overflow: hidden;
  border-radius: 26px 26px 0 0;
  border: 1px solid rgba(160, 200, 255, .16); border-bottom: 0;
  box-shadow: 0 -24px 70px rgba(0, 8, 20, .6), 0 0 0 1px rgba(238, 114, 35, .05);
  background: radial-gradient(circle at 50% 30%, #0A2036, var(--bg-0));
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.045); transition: opacity .8s ease, transform .8s var(--expo); }
.hero-slide.on { opacity: 1; transform: none; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hs-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(4, 20, 38, .65); border: 1px solid rgba(160, 200, 255, .2); color: #fff;
  display: grid; place-items: center; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .18s, border-color .18s, transform .18s;
}
.hs-arrow:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-50%) scale(1.08); }
.hs-arrow svg { width: 19px; height: 19px; }
#hs-prev { inset-inline-start: 13px; }
#hs-next { inset-inline-end: 13px; }
#hero-dots { position: absolute; bottom: 15px; inset-inline-start: 50%; transform: translateX(50%); display: flex; gap: 8px; z-index: 5; direction: ltr; }
[dir="ltr"] #hero-dots { transform: translateX(-50%); }
#hero-dots button { width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; background: rgba(255, 255, 255, .32); cursor: pointer; transition: background .25s, width .25s; }
#hero-dots button.active { background: var(--brand); width: 28px; box-shadow: 0 0 12px rgba(238, 114, 35, .8); }

.hero-chip {
  position: absolute; display: flex; align-items: center; gap: 11px; z-index: 6;
  background: rgba(3, 16, 30, .78); border: 1px solid rgba(160, 200, 255, .18);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 15px; padding: 11px 17px;
  font-size: 13px; font-weight: 700; color: #fff; box-shadow: var(--shadow-2);
}
.hero-chip small { display: block; font-weight: 500; font-size: 11px; color: var(--tx-3); }
.hero-chip svg { width: 21px; height: 21px; color: var(--brand); filter: drop-shadow(0 0 8px rgba(238, 114, 35, .6)); flex: none; }
.hero-chip-1 { top: 13%; inset-inline-end: -8px; animation: fadeUp 1s var(--expo) .7s both; }
.hero-chip-2 { bottom: 17%; inset-inline-start: -12px; animation: fadeUp 1s var(--expo) .9s both; }

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; flex: none; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 41px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--glass); color: var(--tx-1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 700; cursor: pointer; transition: border-color .18s, background .18s;
}
.lang-btn:hover { border-color: rgba(160, 200, 255, .45); background: var(--glass-2); }
.lang-btn svg { width: 16px; height: 16px; color: var(--brand); }
.lang-btn::after { content: '▾'; font-size: 10px; color: var(--tx-3); }
.lang-menu {
  position: absolute; top: calc(100% + 9px); inset-inline-end: 0; min-width: 136px;
  background: rgba(5, 20, 36, .92); border: 1px solid var(--line-2);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: 15px; box-shadow: var(--shadow-2); padding: 6px; display: none; z-index: 130;
}
.lang-switch.open .lang-menu { display: block; animation: fadeDown .25s var(--expo) both; }
.lang-menu button {
  display: flex; width: 100%; align-items: center; gap: 8px;
  padding: 10px 13px; border: 0; background: none; border-radius: 10px;
  font-size: 14px; color: var(--tx-2); cursor: pointer; text-align: start; transition: background .15s, color .15s;
}
.lang-menu button:hover { background: var(--glass-2); color: var(--tx-1); }
.lang-menu button.active { background: rgba(238, 114, 35, .14); color: var(--brand-3); font-weight: 700; }

/* ---------- Stats strip ---------- */
.stats-strip { position: relative; background: linear-gradient(180deg, rgba(0, 30, 60, .35), transparent 80%); border-top: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 14px; text-align: center; border-inline-start: 1px solid var(--line); position: relative; }
.stat:first-child { border-inline-start: 0; }
.stat b { display: block; font-size: clamp(26px, 3.1vw, 38px); font-weight: 800; line-height: 1.35; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { font-size: 13.5px; color: var(--tx-3); }

/* ---------- Category cards ---------- */
.cats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-card {
  position: relative; display: flex; align-items: center; gap: 16px; overflow: hidden;
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius); padding: 19px 21px;
  transition: transform .3s var(--expo), border-color .25s, box-shadow .3s, background .25s;
}
.cat-card::before { /* top sweep */
  content: ''; position: absolute; top: 0; inset-inline: 18px; height: 2px; border-radius: 2px;
  background: linear-gradient(to left, var(--brand), var(--blue));
  transform: scaleX(0); transform-origin: inline-start; transition: transform .35s var(--expo);
}
.cat-card:hover { transform: translateY(-4px); border-color: rgba(238, 114, 35, .4); background: var(--glass-2); box-shadow: var(--shadow-soft); }
.cat-card:hover::before { transform: scaleX(1); }
.cat-ico {
  width: 54px; height: 54px; flex: none; border-radius: 15px;
  background: linear-gradient(135deg, rgba(238, 114, 35, .16), rgba(0, 168, 255, .1));
  color: var(--brand-2); border: 1px solid rgba(238, 114, 35, .22);
  display: grid; place-items: center; transition: transform .3s var(--expo);
}
.cat-ico svg { width: 26px; height: 26px; }
.cat-card:hover .cat-ico { transform: scale(1.1) rotate(6deg); }
.cat-card b { display: block; font-size: 15.5px; margin-bottom: 2px; }
.cat-card > span > span { font-size: 13px; color: var(--tx-3); }

/* ---------- Product cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.p-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--glass); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--radius);
  transition: transform .3s var(--expo), box-shadow .3s, border-color .25s, background .25s;
}
.p-card::before {
  content: ''; position: absolute; top: 0; inset-inline: 22px; height: 2px; border-radius: 2px; z-index: 2;
  background: linear-gradient(to left, var(--brand), var(--blue));
  transform: scaleX(0); transform-origin: inline-start; transition: transform .35s var(--expo);
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft), 0 0 0 1px rgba(238, 114, 35, .12); border-color: rgba(238, 114, 35, .38); background: var(--glass-2); }
.p-card:hover::before { transform: scaleX(1); }
.p-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: radial-gradient(circle at 50% 35%, #0C2438, #050F1B); }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--expo); }
.p-card:hover .p-media img { transform: scale(1.06); }
.p-badge {
  position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2;
  font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  background: var(--grad-brand); color: #fff; box-shadow: 0 4px 16px rgba(238, 114, 35, .45);
  backdrop-filter: blur(6px);
}
.p-badge.badge-new { background: linear-gradient(135deg, #3BE08F, #17A867); box-shadow: 0 4px 16px rgba(43, 217, 138, .4); }
.p-badge.badge-off { background: linear-gradient(135deg, #FF7B7B, #E14D4D); box-shadow: 0 4px 16px rgba(255, 107, 107, .4); }
.p-badge.badge-ai { background: linear-gradient(135deg, #5CA8FF, #2F6FE0); box-shadow: 0 4px 16px rgba(92, 168, 255, .4); }
.p-body { padding: 17px 19px 19px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-cat { font-size: 12px; font-weight: 600; color: var(--brand-3); }
.p-name { font-size: 15px; font-weight: 700; line-height: 1.65; min-height: 3.2em; color: var(--tx-1); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.p-card:hover .p-name { color: var(--brand-3); }
.p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 11px; border-top: 1px dashed var(--line); }
.p-price b { display: block; font-size: 16.5px; font-weight: 800; color: var(--tx-1); }
.p-price s { display: block; font-size: 12px; color: var(--tx-4); }
.p-unit { font-size: 11px; color: var(--tx-3); margin-inline-start: 4px; font-weight: 500; }
.p-price .call-price { font-size: 13.5px; font-weight: 700; color: var(--ok); }
.p-more { font-size: 12.5px; font-weight: 700; color: var(--tx-3); display: inline-flex; align-items: center; gap: 4px; transition: color .2s, gap .2s; }
.p-more svg { width: 14px; height: 14px; }
.p-card:hover .p-more { color: var(--brand-2); gap: 7px; }

/* ---------- Advantages ---------- */
.section-dark { background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(148, 190, 235, .07), rgba(148, 190, 235, .03));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .3s var(--expo), border-color .25s, box-shadow .3s;
}
.adv-card::after { /* corner glow */
  content: ''; position: absolute; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(238, 114, 35, .13), transparent 70%);
  top: -70px; inset-inline-end: -70px; opacity: 0; transition: opacity .35s;
}
.adv-card:hover { transform: translateY(-5px); border-color: rgba(238, 114, 35, .42); box-shadow: var(--shadow-soft); }
.adv-card:hover::after { opacity: 1; }
.adv-ico {
  width: 52px; height: 52px; border-radius: 15px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(238, 114, 35, .18), rgba(0, 168, 255, .12));
  color: var(--brand-2); border: 1px solid rgba(238, 114, 35, .25);
  display: grid; place-items: center;
  transition: transform .3s var(--expo);
}
.adv-ico svg { width: 25px; height: 25px; }
.adv-card:hover .adv-ico { transform: scale(1.12) rotate(7deg); }
.adv-card h3 { font-size: 16.5px; margin-bottom: 9px; }
.adv-card p { font-size: 14px; color: var(--tx-3); line-height: 1.95; }

/* ---------- Industries marquee ---------- */
.ind-band { padding: 46px 0; border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(0, 25, 50, .25), transparent); overflow: hidden; position: relative; }
.ind-band::before, .ind-band::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 110px; z-index: 2; pointer-events: none;
}
.ind-band::before { inset-inline-start: 0; background: linear-gradient(to left, transparent, var(--bg-1)); }
.ind-band::after { inset-inline-end: 0; background: linear-gradient(to right, transparent, var(--bg-1)); }
.ind-band .sec-head { text-align: center; margin-inline: auto; margin-bottom: 26px; }
.marquee { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover { animation-play-state: paused; }
[dir="ltr"] .marquee { animation-direction: reverse; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }
.ind-list { display: flex; align-items: center; gap: 14px; padding-inline: 7px; }
.ind-list li {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14.5px; font-weight: 600; color: var(--tx-2); white-space: nowrap;
  background: var(--glass); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 22px;
  transition: border-color .2s, color .2s, transform .2s;
}
.ind-list li:hover { border-color: rgba(238, 114, 35, .45); color: var(--tx-1); transform: translateY(-2px); }
.ind-list li::before { content: '◆'; font-size: 9px; color: var(--brand); }

/* ---------- Process ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .3s var(--expo), border-color .25s; }
.step-card:hover { transform: translateY(-4px); border-color: rgba(0, 168, 255, .35); }
.step-num {
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(238, 114, 35, .18), rgba(0, 168, 255, .12));
  color: var(--brand-2); border: 1px solid rgba(238, 114, 35, .28);
  display: grid; place-items: center; font-weight: 800; font-size: 17px; margin-bottom: 17px;
}
.step-card h3 { font-size: 16px; margin-bottom: 9px; }
.step-card p { font-size: 14px; color: var(--tx-3); }
.step-card::after {
  content: ''; position: absolute; top: 50px; inset-inline-start: calc(100% - 12px);
  width: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px);
}
.step-card:last-child::after { display: none; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin-inline: auto; display: grid; gap: 13px; }
.faq-item { background: var(--glass); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: border-color .25s, background .25s; }
.faq-item[open] { border-color: rgba(238, 114, 35, .4); background: var(--glass-2); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; font-weight: 700; font-size: 15.5px; cursor: pointer; list-style: none; color: var(--tx-1); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--glass-2); display: grid; place-items: center; font-weight: 800; color: var(--brand-2); transition: transform .25s var(--expo), background .2s, color .2s;
}
.faq-item[open] summary::after { content: '−'; background: var(--grad-brand); color: #fff; transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--tx-3); font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px;
  background: linear-gradient(135deg, #C75712 0%, #EE7223 45%, #F58A3C 100%);
  padding: 56px 52px; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
  box-shadow: var(--glow-brand-lg);
}
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 82% 15%, rgba(255, 255, 255, .25), transparent 45%); }
.cta-band::after { /* pattern dots */
  content: ''; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to top, #000, transparent 55%);
  -webkit-mask-image: linear-gradient(to top, #000, transparent 55%);
}
.cta-band h2 { color: #fff; font-size: clamp(22px, 3vw, 31px); margin-bottom: 9px; position: relative; }
.cta-band p { color: rgba(255, 255, 255, .93); position: relative; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-0); color: var(--tx-3); padding: 70px 0 0; position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 1px; background: linear-gradient(to left, transparent, rgba(238, 114, 35, .5), rgba(0, 168, 255, .4), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; }
.footer-brand p { font-size: 14px; line-height: 2.05; margin-top: 17px; max-width: 330px; }
.socials { display: flex; gap: 10px; margin-top: 19px; }
.socials a {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--line); color: var(--tx-2);
  transition: background .2s, color .2s, transform .2s, border-color .2s, box-shadow .25s;
}
.socials a:hover { background: var(--grad-brand); border-color: var(--brand); color: #fff; transform: translateY(-3px); box-shadow: var(--glow-brand); }
.socials svg { width: 19px; height: 19px; }
.footer-col h4 { color: var(--tx-1); font-size: 15.5px; margin-bottom: 19px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; inset-inline-start: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--brand); }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14px; transition: color .15s, padding .2s; }
.footer-col a:hover { color: var(--brand-3); padding-inline-start: 4px; }
.footer-contact li { display: flex; gap: 10px; font-size: 14px; line-height: 1.95; }
.footer-contact svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 5px; }
.footer-contact a { direction: ltr; unicode-bidi: embed; }
.footer-bottom { border-top: 1px solid var(--line); padding: 21px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom a { color: var(--brand-3); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: radial-gradient(1000px 400px at 80% -10%, rgba(0, 168, 255, .1), transparent 60%), linear-gradient(180deg, #001527, var(--bg-1)); color: var(--tx-1); padding: 62px 0 54px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(140, 190, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 190, 255, .045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 95% at 75% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 95% at 75% 0%, #000 30%, transparent 75%);
}
.page-hero h1 { font-size: clamp(27px, 3.6vw, 40px); position: relative; }
.page-hero p { color: var(--tx-3); margin-top: 11px; max-width: 580px; position: relative; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--tx-4); margin-bottom: 15px; position: relative; }
.breadcrumb a:hover { color: var(--brand-3); }
.breadcrumb span { color: var(--tx-3); }

/* ---------- Catalog ---------- */
.catalog-layout { display: grid; grid-template-columns: 254px 1fr; gap: 28px; align-items: start; }
.filters { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 21px; position: sticky; top: calc(var(--header-h) + 16px); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.filters h3 { font-size: 14.5px; margin-bottom: 15px; padding-bottom: 13px; border-bottom: 1px solid var(--line); color: var(--tx-1); }
.filter-list { display: grid; gap: 4px; }
.filter-list button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: none; border: 0; border-radius: 11px; padding: 10px 13px;
  font-size: 14px; font-weight: 500; color: var(--tx-2); text-align: start; transition: background .16s, color .16s;
}
.filter-list button:hover { background: var(--glass-2); color: var(--tx-1); }
.filter-list button.active { background: rgba(238, 114, 35, .13); color: var(--brand-3); font-weight: 700; }
.filter-list .count { font-size: 12px; color: var(--tx-3); background: var(--glass-2); border-radius: 999px; padding: 1px 9px; }
.filter-list button.active .count { background: rgba(238, 114, 35, .2); color: var(--brand-3); }
.catalog-toolbar { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; margin-bottom: 24px; }
.search-box { position: relative; flex: 1; min-width: 220px; }
.search-box svg { position: absolute; inset-inline-start: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--tx-3); }
.search-box input {
  width: 100%; padding: 12px 16px; padding-inline-start: 44px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--glass); backdrop-filter: blur(10px); font-size: 14.5px; color: var(--tx-1);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.search-box input::placeholder { color: var(--tx-4); }
.search-box input:focus { outline: none; border-color: var(--brand); background: rgba(238, 114, 35, .06); box-shadow: 0 0 0 4px rgba(238, 114, 35, .14); }
.sort-select { border: 1px solid var(--line-2); border-radius: 999px; padding: 12px 18px; background: var(--glass); color: var(--tx-1); font-size: 14px; cursor: pointer; }
.sort-select option { background: var(--bg-2); color: var(--tx-1); }
.result-count { font-size: 13.5px; color: var(--tx-3); }
.mobile-filter-toggle { display: none; }
.no-result { text-align: center; padding: 80px 20px; color: var(--tx-3); grid-column: 1 / -1; }
.no-result svg { width: 54px; height: 54px; color: var(--tx-4); margin: 0 auto 14px; }
.no-result b { display: block; color: var(--tx-1); font-size: 17px; margin-bottom: 6px; }

/* ---------- Product detail ---------- */
.pd-layout { display: grid; grid-template-columns: 1.04fr .96fr; gap: 46px; align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 18px); }
.pd-main-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(circle at 50% 35%, #0C2438, #050F1B); aspect-ratio: 4/3.4; box-shadow: var(--shadow-2); }
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--expo); }
.pd-main-img:hover img { transform: scale(1.04); }
.pd-thumbs { display: flex; gap: 10px; margin-top: 13px; flex-wrap: wrap; }
.pd-thumbs button { width: 78px; height: 63px; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); padding: 0; background: var(--bg-2); transition: border-color .18s, transform .18s; }
.pd-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs button:hover { transform: translateY(-2px); }
.pd-thumbs button.active { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(238, 114, 35, .2); }
.pd-info .p-cat { font-size: 13.5px; }
.pd-info h1 { font-size: clamp(21px, 2.6vw, 29px); line-height: 1.55; margin: 9px 0 14px; }
.pd-short { color: var(--tx-3); font-size: 15.5px; margin-bottom: 24px; }
.pd-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.pd-trust li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 600; color: var(--tx-2); background: var(--glass); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.pd-trust svg { width: 17px; height: 17px; color: var(--brand); flex: none; }
.pd-price-box {
  background: linear-gradient(160deg, rgba(238, 114, 35, .09), rgba(0, 168, 255, .05));
  border: 1px solid rgba(238, 114, 35, .3); border-radius: var(--radius);
  padding: 21px 23px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 19px;
}
.pd-price-box .price-now b { font-size: 26px; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pd-price-box .price-now span { font-size: 14px; color: var(--tx-3); margin-inline-start: 6px; }
.pd-price-box .price-old { font-size: 15px; color: var(--tx-4); }
.pd-price-box .price-old s { color: var(--danger); }
.pd-actions { display: flex; gap: 11px; flex-wrap: wrap; margin-bottom: 26px; }
.pd-features { display: grid; gap: 11px; margin-bottom: 28px; }
.pd-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--tx-2); }
.pd-features svg { width: 19px; height: 19px; color: var(--ok); filter: drop-shadow(0 0 6px rgba(43, 217, 138, .45)); flex: none; margin-top: 4px; }
.pd-sections { display: grid; gap: 24px; margin-top: 58px; }
.pd-block { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.pd-block h2 { font-size: 18px; margin-bottom: 17px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.pd-block p { color: var(--tx-2); font-size: 15px; }
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; font-size: 14.5px; }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: start; }
.spec-table tr { background: var(--glass); }
.spec-table th:first-child { border-start-start-radius: 12px; border-end-start-radius: 12px; }
.spec-table td:last-child { border-start-end-radius: 12px; border-end-end-radius: 12px; }
.spec-table th { color: var(--tx-3); font-weight: 500; width: 210px; background: rgba(0, 168, 255, .06); }
.spec-table td { color: var(--tx-1); font-weight: 500; }
.pd-related { margin-top: 66px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px; align-items: start; }
.about-prose p { color: var(--tx-2); font-size: 15.5px; margin-bottom: 16px; }
.about-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-soft); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 25px; transition: transform .3s var(--expo), border-color .25s; }
.value-card:hover { transform: translateY(-4px); border-color: rgba(238, 114, 35, .4); }
.value-card h3 { font-size: 16.5px; margin-bottom: 11px; }
.value-card p { font-size: 14px; color: var(--tx-3); }
.mission-box { border-inline-start: 4px solid var(--brand); background: linear-gradient(120deg, rgba(238, 114, 35, .1), rgba(0, 168, 255, .05)); border-radius: 0 var(--radius) var(--radius) 0; padding: 28px 30px; font-size: 17.5px; font-weight: 600; color: var(--tx-1); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 46px; }
.contact-card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 27px 25px; transition: transform .3s var(--expo), border-color .25s, box-shadow .3s; }
.contact-card:hover { transform: translateY(-4px); border-color: rgba(238, 114, 35, .4); box-shadow: var(--shadow-soft); }
.contact-card .cat-ico { margin-bottom: 15px; }
.contact-card h3 { font-size: 16px; margin-bottom: 7px; }
.contact-card .c-val { font-size: 18px; font-weight: 800; direction: ltr; text-align: end; color: var(--brand-3); margin-bottom: 7px; }
.contact-card p { font-size: 13.5px; color: var(--tx-3); }
.address-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.address-card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; display: flex; gap: 14px; }
.address-card svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 5px; }
.address-card b { display: block; font-size: 15.5px; margin-bottom: 7px; }
.address-card p { font-size: 14px; color: var(--tx-3); }
.contact-form-card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; max-width: 740px; margin-inline: auto; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 700; color: var(--tx-2); }
.form-field input, .form-field textarea {
  border: 1px solid var(--line-2); border-radius: 13px; padding: 12px 15px; background: rgba(0, 10, 22, .45);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--tx-4); }
.form-field textarea { min-height: 124px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--brand); background: rgba(238, 114, 35, .05); box-shadow: 0 0 0 4px rgba(238, 114, 35, .14); }
.form-note { font-size: 13px; color: var(--tx-3); margin-top: 13px; }

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed; bottom: 26px; inset-inline-start: 26px; z-index: 90;
  width: 47px; height: 47px; border-radius: 50%; border: 1px solid rgba(238, 114, 35, .4);
  background: rgba(4, 18, 34, .8); color: var(--brand-2); cursor: pointer;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: grid; place-items: center; box-shadow: var(--shadow-2);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s, transform .3s var(--expo), background .2s, color .2s;
}
.scroll-top.show { opacity: 1; transform: none; pointer-events: auto; }
.scroll-top:hover { background: var(--grad-brand); color: #fff; }
.scroll-top svg { width: 20px; height: 20px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s var(--expo); }
.reveal.in { opacity: 1; transform: none; }
.products-grid .reveal:nth-child(2), .cats-grid .reveal:nth-child(2), .adv-grid .reveal:nth-child(2), .steps-grid .reveal:nth-child(2) { transition-delay: .07s; }
.products-grid .reveal:nth-child(3), .cats-grid .reveal:nth-child(3), .adv-grid .reveal:nth-child(3), .steps-grid .reveal:nth-child(3) { transition-delay: .14s; }
.products-grid .reveal:nth-child(4), .cats-grid .reveal:nth-child(4), .adv-grid .reveal:nth-child(4), .steps-grid .reveal:nth-child(4) { transition-delay: .21s; }

/* ---------- 404 ---------- */
.nf-wrap { text-align: center; padding: 120px 20px; }
.nf-wrap > b { font-size: 96px; font-weight: 800; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.15; display: block; }
.nf-wrap h1 { font-size: 25px; margin: 6px 0 13px; }
.nf-wrap p { color: var(--tx-3); margin-bottom: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 940px) {
  .main-nav {
    display: none; position: absolute; top: var(--header-h); inset-inline: 0;
    background: rgba(3, 14, 27, .97); border-bottom: 1px solid var(--line);
    padding: 14px 22px 20px; flex-direction: column; align-items: stretch; gap: 3px;
    box-shadow: var(--shadow-2); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  }
  .main-nav.open { display: flex; animation: fadeDown .3s var(--expo) both; }
  .main-nav a { padding: 13px 15px; font-size: 15.5px; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--glass); color: var(--tx-1); }
  .nav-toggle svg { width: 21px; height: 21px; }
  .header-phone { display: none; }
  .hero { padding-top: 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-visual { order: -1; }
  .hero-slider { width: min(350px, 92%); }
  #hero-texts { min-height: 0; }
  .hero-chip-1 { inset-inline-end: 2px; }
  .hero-chip-2 { inset-inline-start: 2px; }
  .pd-layout { grid-template-columns: 1fr; }
  .pd-gallery { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .mobile-filter-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  .header-inner { gap: 10px; }
  .header-cta { gap: 8px; }
  .header-cta .btn { display: none; } /* دکمه مشاوره در موبایل از هدر حذف می‌شود؛ در هیرو موجود است */
  .lang-btn { padding: 0 10px; height: 38px; font-size: 12px; }
  .brand-text b { font-size: 17px; }
  .section { padding: 58px 0; }
  .container { width: min(1220px, 100% - 32px); }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .p-body { padding: 13px 14px 15px; }
  .p-name { font-size: 13.5px; }
  .p-price b { font-size: 14.5px; }
  .cats-grid { grid-template-columns: 1fr 1fr; gap: 11px; }
  .cat-card { padding: 15px 14px; gap: 12px; }
  .cat-ico { width: 46px; height: 46px; border-radius: 13px; }
  .cat-ico svg { width: 23px; height: 23px; }
  .cat-card > span > span { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border: 0; padding: 19px 8px; }
  .adv-grid, .steps-grid, .values-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .address-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 38px 26px; border-radius: 22px; }
  .hero h1 { font-size: clamp(26px, 7.6vw, 34px); }
  .hero-actions .btn { flex: 1; min-width: 150px; }
  .spec-table th { width: 132px; }
  .pd-trust { grid-template-columns: 1fr; }
  .scroll-top { bottom: 18px; inset-inline-start: 18px; width: 42px; height: 42px; }
}
@media (max-width: 400px) {
  .products-grid { grid-template-columns: 1fr; }
  .brand-text span { display: none; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; }
}

/* ---------- LTR adjustments (en / ru) ---------- */
[dir="ltr"] body, [dir="ltr"] { text-align: left; }
[dir="ltr"] .hero-chip-1 { inset-inline-end: -8px; }
[dir="ltr"] .hero-chip-2 { inset-inline-end: -12px; inset-inline-start: auto; }
[dir="ltr"] .footer-contact a { direction: ltr; }
[dir="ltr"] .c-val { direction: ltr; }
html { background: var(--bg-0); }
html[lang="en"] body, html[lang="ru"] body { line-height: 1.72; }
html[lang="en"] .hero h1, html[lang="ru"] .hero h1,
html[lang="en"] .sec-head h2, html[lang="ru"] .sec-head h2 { line-height: 1.28; }
html[lang="en"] .p-name, html[lang="ru"] .p-name { min-height: 3.4em; }


/* ---------- v4: Full-page glass background (homepage, alternating) ---------- */
body.home-bg { background: transparent; }
.page-bg { position: fixed; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.page-bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.08);
  filter: blur(5px) saturate(1.08) brightness(.72);
  animation: bgZoom 26s ease-out both;
}
@keyframes bgZoom { from { transform: scale(1.14); } to { transform: scale(1.06); } }
.page-bg-veil {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1100px 560px at 82% -6%, rgba(0, 168, 255, .09), transparent 62%),
    radial-gradient(1100px 640px at 8% 26%, rgba(238, 114, 35, .08), transparent 62%),
    linear-gradient(180deg, rgba(0, 11, 20, .66) 0%, rgba(0, 9, 17, .78) 46%, rgba(0, 7, 15, .9) 100%);
}
/* شفاف‌سازی بخش‌ها تا عکس پشتشان دیده شود */
body.home-bg .hero { background: transparent; }
body.home-bg .section,
body.home-bg .section-dark { background: transparent; }
body.home-bg .stats-strip { background: rgba(0, 22, 44, .22); }
body.home-bg .ind-band { background: rgba(0, 15, 28, .34); }
body.home-bg .ind-band::before { background: linear-gradient(to left, transparent, rgba(0, 9, 17, .72)); }
body.home-bg .ind-band::after { background: linear-gradient(to right, transparent, rgba(0, 9, 17, .72)); }
body.home-bg .site-footer { background: rgba(0, 7, 15, .93); }
body.home-bg .page-hero { background: transparent; }
/* کارت‌ها کمی مات‌تر تا خوانا بمانند */
body.home-bg .p-card, body.home-bg .cat-card, body.home-bg .adv-card, body.home-bg .step-card,
body.home-bg .faq-item, body.home-bg .contact-form-card, body.home-bg .value-card,
body.home-bg .filters, body.home-bg .contact-card, body.home-bg .address-card,
body.home-bg .pd-block, body.home-bg .pd-trust li {
  backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25);
  background: rgba(2, 14, 27, .52);
}
body.home-bg .spec-table tr { background: rgba(2, 14, 27, .45); }
body.home-bg #hero-imgs { background: rgba(2, 12, 24, .35); }
@media (max-width: 640px) {
  .page-bg img { filter: blur(3px) saturate(1.05) brightness(.66); }
}
@media (prefers-reduced-motion: reduce) { .page-bg img { animation: none; } }


/* ---------- v6: Floating contact FAB (speed-dial) ---------- */
.fab { position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab-menu { display: flex; flex-direction: column; align-items: flex-end; gap: 9px; }
.fab-item {
  display: inline-flex; align-items: center; gap: 10px; flex-direction: row-reverse;
  opacity: 0; transform: translateY(14px) scale(.9); pointer-events: none;
  transition: opacity .25s var(--expo), transform .25s var(--expo);
  text-decoration: none; color: var(--tx-1);
}
.fab.open .fab-item { opacity: 1; transform: none; pointer-events: auto; }
.fab.open .fab-item:nth-child(1) { transition-delay: .03s; }
.fab.open .fab-item:nth-child(2) { transition-delay: .08s; }
.fab.open .fab-item:nth-child(3) { transition-delay: .13s; }
.fab.open .fab-item:nth-child(4) { transition-delay: .18s; }
.fab-item span {
  order: 0; font-size: 12.5px; font-weight: 700; white-space: nowrap;
  background: rgba(3, 16, 30, .92); border: 1px solid var(--line-2);
  padding: 5px 13px; border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.fab-item svg {
  order: 1; width: 46px; height: 46px; padding: 12px; border-radius: 50%;
  background: rgba(4, 20, 38, .88); border: 1px solid var(--line-2); color: var(--brand-2);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 10, 25, .45); transition: transform .2s var(--expo), border-color .2s, color .2s;
}
.fab-item:hover svg { transform: scale(1.1); border-color: var(--brand); color: #fff; background: var(--grad-brand); box-shadow: var(--glow-brand); }
.fab-main {
  position: relative; width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad-brand); color: #fff; display: grid; place-items: center;
  box-shadow: var(--glow-brand-lg); transition: transform .3s var(--expo), box-shadow .3s;
}
.fab-main::after { content: ''; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid rgba(238, 114, 35, .4); animation: fabPulse 2.6s ease-out infinite; }
@keyframes fabPulse { 0% { transform: scale(1); opacity: 1; } 75% { transform: scale(1.45); opacity: 0; } 100% { transform: scale(1.45); opacity: 0; } }
.fab-main > svg { width: 26px; height: 26px; grid-area: 1 / 1; transition: transform .3s var(--expo), opacity .25s; }
.fab-main > svg:last-child { opacity: 0; transform: rotate(-90deg) scale(.6); }
.fab.open .fab-main > svg:first-child { opacity: 0; transform: rotate(90deg) scale(.6); }
.fab.open .fab-main > svg:last-child { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .fab { bottom: 18px; inset-inline-end: 16px; }
  .fab-main { width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) { .fab-main::after { animation: none; } }
