/* ============================================================
   سامانه تعمیرات تخصصی — لندینگ فوق لاکچری
   پالت: مشکی عمیق + طلای شامپاین
   ============================================================ */
:root {
  --bg:          #07070a;
  --bg-2:        #0c0c12;
  --panel:       rgba(255, 255, 255, .028);
  --panel-2:     rgba(255, 255, 255, .05);
  --gold:        #c9a96e;
  --gold-2:      #e8d5b0;
  --gold-3:      #8b7748;
  --line:        rgba(201, 169, 110, .18);
  --line-2:      rgba(255, 255, 255, .08);
  --text:        #f3efe7;
  --text-2:      #b4afa3;
  --text-3:      #847e72;
  --radius:      18px;
  --radius-sm:   12px;
  --maxw:        1240px;
  --ease:        cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Vazirmatn', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.loading { overflow: hidden; }

::selection { background: var(--gold); color: #1a1408; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; }

img { max-width: 100%; display: block; }

.icon { width: 20px; height: 20px; flex: none; }

/* فونت فقط محلی (Vazirmatn) — بدون CDN */

/* ==================== پس‌زمینه‌های لایه‌ای ==================== */

.bg-base {
  position: fixed; inset: 0; z-index: -3;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(201, 169, 110, .08), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(201, 169, 110, .045), transparent 60%),
    linear-gradient(180deg, #08080c 0%, #07070a 40%, #050507 100%);
}

.bg-grid {
  position: fixed; inset: -60% -40%; z-index: -2;
  background-image:
    linear-gradient(rgba(201, 169, 110, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 110, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(700px) rotateX(48deg);
  transform-origin: center top;
  opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}

.orb {
  position: fixed; z-index: -2; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
}

.orb-1 {
  width: 520px; height: 520px; top: 6%; left: -140px;
  background: radial-gradient(circle, rgba(201, 169, 110, .16), transparent 70%);
  animation: orb-float 22s var(--ease) infinite alternate;
}

.orb-2 {
  width: 460px; height: 460px; top: 52%; right: -160px;
  background: radial-gradient(circle, rgba(201, 169, 110, .09), transparent 70%);
  animation: orb-float 26s var(--ease) infinite alternate-reverse;
}

@keyframes orb-float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(40px, -50px, 0) scale(1.08); }
}

/* دانه‌بندی فیلم برای حس لوکس */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .045; mix-blend-mode: overlay;
  background-image: 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='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==================== لودر ==================== */

.preloader {
  position: fixed; inset: 0; z-index: 2000;
  background: #050507;
  display: grid; place-items: center;
  transition: opacity .6s var(--ease), visibility .6s;
}

.preloader.hide { opacity: 0; visibility: hidden; }

.pl-inner { text-align: center; width: min(340px, 80vw); }

.pl-mark {
  width: 76px; height: 76px; margin: 0 auto 26px;
  border-radius: 20px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(201, 169, 110, .22), rgba(201, 169, 110, .04));
  border: 1px solid var(--line);
  box-shadow: 0 0 44px rgba(201, 169, 110, .22), inset 0 1px 0 rgba(255, 255, 255, .12);
  animation: pl-pulse 2s var(--ease) infinite;
}

@keyframes pl-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(201, 169, 110, .18), inset 0 1px 0 rgba(255, 255, 255, .12); }
  50%      { box-shadow: 0 0 56px rgba(201, 169, 110, .36), inset 0 1px 0 rgba(255, 255, 255, .12); }
}

.pl-bar {
  width: 100%; height: 3px; border-radius: 99px;
  background: rgba(255, 255, 255, .09); overflow: hidden;
  margin-bottom: 16px;
}

.pl-bar span {
  display: block; height: 100%; width: 0%; border-radius: 99px;
  background: linear-gradient(90deg, var(--gold-3), var(--gold), var(--gold-2));
  box-shadow: 0 0 14px rgba(201, 169, 110, .7);
  transition: width .25s linear;
}

.pl-num { color: var(--gold-2); font-size: 14px; font-weight: 500; }

/* ==================== اسکیپ لینک ==================== */

.skip-link {
  position: absolute; top: 12px; right: 12px; z-index: 300;
  background: var(--gold); color: #1a1408;
  padding: 10px 18px; border-radius: 10px; font-weight: 700;
  transform: translateY(-200%);
  transition: transform .25s var(--ease);
}

.skip-link:focus { transform: translateY(0); }

/* ==================== دکمه‌ها ==================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 12px;
  font-size: 15px; font-weight: 700;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s;
  white-space: nowrap;
}

.btn .icon { width: 18px; height: 18px; }

.btn-gold {
  background: linear-gradient(135deg, #e8d5b0 0%, #c9a96e 55%, #a9864a 100%);
  color: #1a1408;
  box-shadow: 0 8px 26px rgba(201, 169, 110, .28), inset 0 1px 0 rgba(255, 255, 255, .45);
}

.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(201, 169, 110, .4), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-gold:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(201, 169, 110, .07);
  border-color: rgba(201, 169, 110, .32);
  color: var(--gold-2);
}

.btn-ghost:hover { background: rgba(201, 169, 110, .14); border-color: var(--gold); transform: translateY(-2px); }

/* ==================== هدر ==================== */

.header {
  position: fixed; top: 0; right: 0; left: 0; z-index: 120;
  transition: background .35s var(--ease), border-color .35s, backdrop-filter .35s, box-shadow .35s;
  border-bottom: 1px solid transparent;
}

.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  height: 74px; padding: 0 24px;
  display: flex; align-items: center; gap: 14px;
}

/* در RTL: برند در راست، سپس منوها (منوها سمت راست)، اکشن‌ها در چپ */
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 19px; }
.brand img { filter: drop-shadow(0 0 12px rgba(201, 169, 110, .35)); }
.brand span {
  background: linear-gradient(135deg, #f3efe7, #e8d5b0 60%, #c9a96e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.nav { display: flex; align-items: center; gap: 2px; margin-right: 18px; }

.nav a {
  position: relative; padding: 9px 14px; border-radius: 10px;
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  transition: color .2s, background .2s;
}

.nav a::after {
  content: ''; position: absolute; bottom: 2px; right: 50%;
  width: 0; height: 2px; transform: translateX(50%);
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  border-radius: 99px; transition: width .3s var(--ease);
}

.nav a:hover, .nav a.active { color: var(--gold-2); }
.nav a:hover::after, .nav a.active::after { width: 60%; }

.header .spacer { flex: 1; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { padding: 10px 20px; font-size: 14px; }

.header.scrolled {
  background: rgba(7, 7, 10, .82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .4);
}

.menu-btn {
  display: none; width: 44px; height: 44px; flex: none;
  background: rgba(201, 169, 110, .08); border: 1px solid var(--line);
  border-radius: 12px; color: var(--gold-2); place-items: center;
}

.menu-btn:hover { background: rgba(201, 169, 110, .16); }
.menu-btn .icon { width: 22px; height: 22px; }

/* ==================== منوی کشویی موبایل ==================== */

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 400;
  width: min(86vw, 340px);
  background: linear-gradient(180deg, #0d0d13, #09090d);
  border-left: 1px solid var(--line);
  padding: 22px;
  transform: translateX(102%);
  transition: transform .42s var(--ease);
  display: flex; flex-direction: column; gap: 24px;
  box-shadow: -24px 0 60px rgba(0, 0, 0, .6);
}

body.menu-open .drawer { transform: translateX(0); }

.drawer-head { display: flex; align-items: center; justify-content: space-between; }

.drawer-title { font-size: 21px; font-weight: 900; color: var(--gold-2); }

.drawer-close {
  width: 44px; height: 44px; margin-right: -8px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2);
  border-radius: 12px; color: var(--text-2); display: grid; place-items: center;
}

.drawer-close:hover { color: var(--gold-2); border-color: var(--gold); }

.drawer-nav { display: flex; flex-direction: column; gap: 4px; }

.drawer-nav a {
  padding: 14px 16px; border-radius: 12px; font-size: 16px; font-weight: 600;
  color: var(--text-2);
  border: 1px solid transparent;
  transition: color .2s, background .2s, border-color .2s;
}

.drawer-nav a:hover, .drawer-nav a:focus-visible {
  color: var(--gold-2); background: rgba(201, 169, 110, .08); border-color: var(--line);
}

.drawer-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }

.drawer-backdrop {
  position: fixed; inset: 0; z-index: 380;
  background: rgba(3, 3, 5, .72); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease);
}

.drawer-backdrop.show { opacity: 1; pointer-events: auto; }

/* ==================== هیرو ==================== */

.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 24px 110px;
  overflow: hidden;
}

.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}

/* جایگزین گرافیکی در صورت نبود WebGL */
.hero-orb-fallback {
  position: absolute; top: 12%; left: 8%; z-index: 1;
  width: min(560px, 60vw); aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(232, 213, 176, .5), rgba(201, 169, 110, .14) 45%, transparent 70%);
  filter: blur(6px);
  opacity: 0;
  transition: opacity .8s var(--ease);
}

html:not(.has-webgl) .hero-orb-fallback { opacity: 1; }

/* پردهٔ محافظ خوانایی متن */
.hero-veil {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 5, 7, .94) 0%, rgba(5, 5, 7, .78) 34%, rgba(5, 5, 7, .22) 68%, transparent 100%);
}

.hero-inner {
  position: relative; z-index: 3;
  max-width: var(--maxw); width: 100%; margin: 0 auto;
}

.hero-copy { max-width: 720px; }

.badge-hero {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 99px;
  background: rgba(201, 169, 110, .08);
  border: 1px solid var(--line);
  color: var(--gold-2); font-size: 13.5px; font-weight: 500;
  margin-bottom: 26px;
  backdrop-filter: blur(8px);
}

.badge-hero .dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
  animation: dot-pulse 2.4s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.75); }
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.1rem);
  font-weight: 900; line-height: 1.18;
  margin-bottom: 24px;
}

.text-gold {
  background: linear-gradient(120deg, #f3e9cf, #e8d5b0 30%, #c9a96e 60%, #a9864a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-desc {
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  color: var(--text-2); max-width: 560px;
  margin-bottom: 34px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 44px; }

.hero-stats .item .num {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 900; color: var(--gold-2); line-height: 1.2;
}

.hero-stats .item .lbl { font-size: 13.5px; color: var(--text-3); }

.scroll-hint {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--text-3); font-size: 12.5px; font-weight: 500;
}

.scroll-hint .mouse {
  width: 26px; height: 42px; border-radius: 99px;
  border: 1.5px solid rgba(201, 169, 110, .35);
  display: grid; place-items: start center; padding-top: 7px;
}

.scroll-hint .mouse i {
  width: 4px; height: 8px; border-radius: 99px; background: var(--gold);
  animation: scroll-dot 2s var(--ease) infinite;
}

@keyframes scroll-dot {
  0%   { opacity: 0; transform: translateY(0); }
  40%  { opacity: 1; }
  80%  { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(0); }
}

/* ==================== نوار برندها ==================== */

.marquee-section { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }

.marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex; width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee-track, .marquee-section:hover .marquee-track { animation-play-state: paused; }

.marquee-group { display: flex; align-items: center; gap: 52px; padding: 22px 26px; }

.brand-item {
  font-size: clamp(1.05rem, 1.8vw, 1.4rem); font-weight: 700;
  color: var(--text-3);
  transition: color .3s;
}

.brand-item:hover { color: var(--gold-2); }

.brand-dot { font-size: 8px; color: var(--gold-3); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); } /* در RTL به سمت راست حرکت می‌کند */
}

/* ==================== بخش‌های عمومی ==================== */

.section { padding: 110px 24px; position: relative; }

/* هدر ثابت: لنگرها زیر هدر نروند (حتی بدون جاوااسکریپت) */
section[id], footer[id] { scroll-margin-top: 88px; }

.section-inner { max-width: var(--maxw); margin: 0 auto; }

.section-head { text-align: center; margin-bottom: 60px; }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700; color: var(--gold);
  padding: 6px 16px; border-radius: 99px;
  background: rgba(201, 169, 110, .08); border: 1px solid var(--line);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.85rem);
  font-weight: 900; line-height: 1.25; margin-bottom: 16px;
}

.section-sub { color: var(--text-2); max-width: 620px; margin: 0 auto; }

.ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 26px;
}

.ornament::before, .ornament::after {
  content: ''; width: clamp(40px, 12vw, 120px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }

.ornament i {
  width: 8px; height: 8px; flex: none;
  background: var(--gold); transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(201, 169, 110, .7);
}

.text-center { text-align: center; margin-top: 52px; }

.empty-note { color: var(--text-3); text-align: center; grid-column: 1 / -1; padding: 30px; }

/* ==================== خدمات ==================== */

.services-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
}

.service-card {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 30px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  transform-style: preserve-3d;
}

.service-card::before {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%),
             rgba(201, 169, 110, .13), transparent 45%);
  opacity: 0; transition: opacity .35s; pointer-events: none;
}

.service-card:hover, .service-card:focus-visible {
  border-color: var(--line);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(201, 169, 110, .12), 0 0 40px rgba(201, 169, 110, .1);
}

.service-card:hover::before { opacity: 1; }

.service-card .icon-box {
  width: 54px; height: 54px; flex: none; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(201, 169, 110, .18), rgba(201, 169, 110, .04));
  border: 1px solid var(--line);
  color: var(--gold-2);
}

.service-card .icon-box .icon { width: 26px; height: 26px; }

.service-card h3 { font-size: 19px; font-weight: 700; }

.service-card p { color: var(--text-2); font-size: 14.5px; flex: 1; }

.price-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding-top: 18px; border-top: 1px solid var(--line-2);
}

.price-row .price small {
  display: block; font-size: 11.5px; color: var(--text-3); margin-bottom: 3px;
}

.price-row .price { font-weight: 900; font-size: 17px; color: var(--gold-2); }

.price-row .link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold); font-size: 14px; font-weight: 600;
  transition: gap .25s var(--ease);
}

.service-card:hover .price-row .link { gap: 11px; }
.price-row .link .icon { width: 16px; height: 16px; }

/* ==================== نمونه‌کارها ==================== */

.portfolio-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
}

.portfolio-card {
  background: var(--panel); border: 1px solid var(--line-2);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}

.portfolio-card:hover {
  transform: translateY(-6px); border-color: var(--line);
  box-shadow: 0 24px 56px rgba(0, 0, 0, .55), 0 0 40px rgba(201, 169, 110, .08);
}

.portfolio-card .thumb { position: relative; aspect-ratio: 8 / 5; overflow: hidden; background: #0a0a0e; }

.portfolio-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}

.portfolio-card:hover .thumb img { transform: scale(1.06); }

.cat-chip {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  padding: 6px 13px; border-radius: 99px; font-size: 12px; font-weight: 600;
  background: rgba(7, 7, 10, .8); border: 1px solid var(--line);
  color: var(--gold-2); backdrop-filter: blur(8px);
}

.p-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }

.p-body h3 { font-size: 17.5px; font-weight: 700; }

.p-body p { color: var(--text-2); font-size: 14px; }

.p-meta { display: flex; gap: 18px; margin-top: 6px; }

.p-meta .item {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-3); font-size: 13px;
}

.p-meta .item .icon { width: 15px; height: 15px; color: var(--gold-3); }

/* ==================== مراحل کار ==================== */

.steps-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.step-card {
  position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 32px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
}

.step-card:hover {
  border-color: var(--line); transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .5);
}

.step-num {
  position: absolute; top: 14px; left: 20px;
  font-size: 64px; font-weight: 900; line-height: 1;
  color: rgba(201, 169, 110, .07);
}

.icon-circle {
  width: 52px; height: 52px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(201, 169, 110, .18), rgba(201, 169, 110, .04));
  border: 1px solid var(--line); color: var(--gold-2);
}

.icon-circle .icon { width: 24px; height: 24px; }

.step-card h3 { font-size: 17.5px; font-weight: 700; }

.step-card p { color: var(--text-2); font-size: 14px; }

/* ==================== آمار ==================== */

.stats-band {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 26px; text-align: center;
  padding: 46px 34px; border-radius: 24px;
  background: linear-gradient(160deg, rgba(201, 169, 110, .07), rgba(201, 169, 110, .015));
  border: 1px solid var(--line);
  box-shadow: 0 0 60px rgba(201, 169, 110, .06), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.stats-band .item .num {
  font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 900; line-height: 1.2;
  background: linear-gradient(135deg, #f3e9cf, #e8d5b0 40%, #c9a96e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.stats-band .item .lbl { color: var(--text-2); font-size: 14px; margin-top: 6px; }

/* ==================== چرا ما ==================== */

.features-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 26px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line-2);
  transition: border-color .35s, background .35s, transform .35s var(--ease);
}

.feature:hover {
  border-color: var(--line); background: var(--panel-2);
  transform: translateY(-4px);
}

.feature .icon-box {
  width: 48px; height: 48px; flex: none; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(201, 169, 110, .18), rgba(201, 169, 110, .04));
  border: 1px solid var(--line); color: var(--gold-2);
}

.feature .icon-box .icon { width: 23px; height: 23px; }

.feature h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 5px; }

.feature p { color: var(--text-2); font-size: 14px; }

/* ==================== نظرات ==================== */

.testimonials-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonial {
  display: flex; flex-direction: column; gap: 18px;
  padding: 30px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line-2);
  transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
}

.testimonial:hover {
  border-color: var(--line); transform: translateY(-5px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, .5);
}

.testimonial .stars { display: flex; gap: 3px; color: var(--gold); }

.testimonial .stars .icon { width: 18px; height: 18px; }

.testimonial p { color: var(--text-2); font-size: 14.5px; flex: 1; line-height: 1.75; }

.who { display: flex; align-items: center; gap: 12px; }

.who .avatar {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  display: grid; place-items: center; font-weight: 900; font-size: 17px;
  background: linear-gradient(160deg, #e8d5b0, #c9a96e 60%, #a9864a);
  color: #1a1408;
  box-shadow: 0 0 0 1px rgba(201, 169, 110, .4), 0 4px 14px rgba(201, 169, 110, .22);
}

.who .name { font-weight: 700; font-size: 15px; }
.who .role { color: var(--text-3); font-size: 12.5px; }

/* ==================== CTA ==================== */

.cta-band {
  position: relative; overflow: hidden;
  text-align: center; padding: 74px 30px; border-radius: 28px;
  background: linear-gradient(160deg, rgba(201, 169, 110, .09), rgba(201, 169, 110, .02));
  border: 1px solid var(--line);
  box-shadow: 0 0 80px rgba(201, 169, 110, .08), inset 0 1px 0 rgba(255, 255, 255, .05);
}

.cta-glow {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 620px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 110, .28), transparent 65%);
  filter: blur(50px); pointer-events: none;
}

.cta-band h2 {
  position: relative; font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 900; margin-bottom: 14px;
}

.cta-band p { position: relative; color: var(--text-2); margin-bottom: 32px; }

.cta-band .row { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ==================== فوتر ==================== */

.footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #08080c, #050507);
  padding: 76px 24px 0; margin-top: 40px;
}

.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: 44px;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
}

.footer h4 {
  font-size: 15px; font-weight: 700; color: var(--gold-2);
  margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2);
}

.footer .about p { color: var(--text-2); font-size: 14px; margin: 18px 0; }

.socials { display: flex; gap: 10px; }

.socials a {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(201, 169, 110, .07); border: 1px solid var(--line);
  color: var(--text-2);
  transition: color .25s, background .25s, transform .25s var(--ease), border-color .25s;
}

.socials a:hover { color: var(--gold-2); background: rgba(201, 169, 110, .16); border-color: var(--gold); transform: translateY(-3px); }

.footer ul { display: flex; flex-direction: column; gap: 11px; }

.footer ul a { color: var(--text-2); font-size: 14px; transition: color .2s; }
.footer ul a:hover { color: var(--gold-2); }

.footer ul.contact li { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14px; }
.footer ul.contact .icon { width: 17px; height: 17px; color: var(--gold-3); flex: none; }

.footer-bottom {
  max-width: var(--maxw); margin: 60px auto 0;
  padding: 24px 0; border-top: 1px solid var(--line-2);
  text-align: center; color: var(--text-3); font-size: 13px;
}

/* ==================== ریویل ==================== */

.reveal { will-change: transform, opacity; }

/* ==================== ریسپانسیو ==================== */

@media (max-width: 1080px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  .nav { display: none; }
  .header-actions .btn-gold { display: none; }
  .menu-btn { display: grid; }
  .hero-veil { background: linear-gradient(180deg, rgba(5, 5, 7, .9) 0%, rgba(5, 5, 7, .7) 45%, rgba(5, 5, 7, .88) 100%); }
  .hero { min-height: auto; padding: 110px 22px 130px; }
  .hero-orb-fallback { top: 6%; opacity: 0; }
  html:not(.has-webgl) .hero-orb-fallback { opacity: .6; }
}

@media (max-width: 640px) {
  .section { padding: 76px 18px; }
  .section-head { margin-bottom: 42px; }
  .hero-stats { gap: 26px; }
  .hero-cta .btn { width: 100%; }
  .header-inner { padding: 0 18px; height: 66px; }
  .header-actions .btn-ghost { padding: 9px 15px; font-size: 13.5px; }
  .stats-band { padding: 34px 18px; gap: 30px 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .cta-band { padding: 52px 20px; }
  .cta-band .btn { width: 100%; }
  .footer { padding-top: 56px; }
  .brand span { font-size: 17px; }
  .service-card { padding: 24px; }
}

/* ==================== کاهش انیمیشن ==================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .bg-grid { animation: none; }
  .marquee-track { animation: none; }
  .scroll-hint, .scroll-hint .mouse i { animation: none; }
  .badge-hero .dot { animation: none; }
}
