/* =====================================================================
   Theme: سپید دماوند — طرح روشن «کوه سفید»؛ رندرهای کم‌چندضلعی مات با پالت یخی و خاکستری (assets/img/sepid-*.jpg)
   فقط رنگ‌ها و هنر هیرو؛ ساختار در core.css است.
   ===================================================================== */

.theme-sepid {
  --bg: #f4f7fa;
  --bg-2: #e6edf3;
  --bg-3: #ffffff;
  --ink: #14202e;
  --ink-2: #4a5b6d;
  --ink-3: #8494a5;
  --surface: #ffffff;
  --surface-2: rgba(20, 32, 46, 0.05);
  --line: rgba(20, 32, 46, 0.11);

  --acc-rgb: 45, 98, 160;
  --acc-mid: #4f8fcf; --acc-mid-rgb: 79, 143, 207;
  --acc-deep: #1f4a7a; --acc-deep-rgb: 31, 74, 122;
  --acc-deep2: #2d62a0;
  --accent: #2d62a0;
  --accent-ink: #0a1f36;
  --accent-soft: rgba(45, 98, 160, 0.1);
  --accent-line: rgba(45, 98, 160, 0.32);
  --grad: linear-gradient(135deg, #cfe2f5 0%, #7fb0dd 45%, #2d62a0 100%);
  --grad-deep: linear-gradient(135deg, #2d62a0 0%, #1f4a7a 100%);
  --btn-grad: linear-gradient(135deg, #cfe2f5 0%, #9cc3e6 48%, #4f8fcf 100%);
  --glow: rgba(79, 143, 207, 0.35);
  --paper: #f4f7fa;
  --navy: #14202e;

  --hero-bg: var(--bg);
}

/* آیکون‌های «ico--gold» در این طرح طلایی‌اند (رنگ سکه) */
.theme-sepid .ico--gold { --t1: #ffe08a; --t2: #f0b429; color: #4a3000; }

/* ---------- هیرو: ساحل ---------- */
.theme-sepid .hero__dust { display: none; }
.theme-sepid .hero__title { text-shadow: none; }
.theme-sepid .hero__lead { color: var(--ink-2); }
.theme-sepid .hero { min-height: max(640px, calc(100svh - 96px)); } /* نوار آمار بدون اسکرول در صفحه می‌ماند */
.theme-sepid .hero--peak .hero__sun { display: none; }
/* هنر هیرو: رندر سه‌بعدی کم‌چندضلعی (هم‌خانواده‌ی کوه رنگی) — بالای تصویر در زمینه‌ی هیرو محو می‌شود */
.theme-sepid .hero--peak .hero__art { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: clamp(240px, calc(100% - 520px), 520px); display: block; pointer-events: none; }
/* پانورامای تمام‌عرض (۵:۱، از قبل از آسمان خالی کراپ شده)؛ لبه‌ها از لبه‌ی صفحه بیرون می‌زنند و فقط بالا کمی در زمینه محو می‌شود */
.theme-sepid .hero--peak .hero__art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; filter: none; }
.theme-sepid .hero--peak .hero__fade { position: absolute; z-index: 3; left: 0; right: 0; bottom: -1px; top: auto; height: 130px; pointer-events: none; background: linear-gradient(180deg, rgba(244, 247, 250, 0) 0, rgba(244, 247, 250, 0.85) 70%, var(--bg) 100%); }

.theme-sepid .btn--glass { background: rgba(255, 255, 255, 0.7); color: var(--ink); border: 1px solid rgba(20, 32, 46, 0.14); }
.theme-sepid .btn--glass:hover { background: #fff; }
.theme-sepid .btn--gold { box-shadow: 0 10px 24px -12px rgba(79, 143, 207, 0.7); }
.theme-sepid .hero__scroll { border-color: rgba(20, 32, 46, 0.35); }
.theme-sepid .hero__scroll span { background: var(--ink); }
.theme-sepid .chip { color: var(--ink-2); }

/* ---------- ناوبری و کارت‌های روشن ---------- */
/* لوگوی سفید در زمینه‌ی روشن: به سرمه‌ای تبدیل می‌شود (در فوتر تیره سفید می‌ماند) */
.theme-sepid .nav__brand img, .theme-sepid .trust__brand img { filter: brightness(0) opacity(.84); }
.theme-sepid .nav.is-stuck { background: rgba(244, 247, 250, 0.88); box-shadow: 0 1px 0 var(--line), 0 18px 36px -28px rgba(20, 32, 46, 0.35); }
.theme-sepid .nav__links a:hover, .theme-sepid .nav__links a.is-active { background: rgba(20, 32, 46, 0.06); }
.theme-sepid .nav__burger { background: rgba(20, 32, 46, 0.07); }
.theme-sepid .nav.is-open { background: rgba(244, 247, 250, 0.97); }

.theme-sepid .ticker__card { background: #fff; border-color: var(--line); box-shadow: 0 30px 60px -36px rgba(20, 32, 46, 0.35); }
.theme-sepid .section-dark, .theme-sepid .perf__card, .theme-sepid .leadbox { box-shadow: 0 30px 60px -40px rgba(20, 32, 46, 0.3); }
.theme-sepid .chart__svg .xhair { stroke: rgba(20, 32, 46, 0.35); }
.theme-sepid .risk__meter span { background: rgba(20, 32, 46, 0.1); }
.theme-sepid .fam:hover { border-color: var(--accent-line); }
.theme-sepid .field { background: #fff; border-color: var(--line); }
.theme-sepid .field input:focus, .theme-sepid .field select:focus { background: #fff; }
.theme-sepid .arch img { width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: 50% 55%; border-radius: inherit; filter: none; }
.theme-sepid .vs__col--new img { mix-blend-mode: multiply; width: 190px; height: auto; margin-top: -105px; filter: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent 100%); mask-image: radial-gradient(closest-side, #000 58%, transparent 100%); }
.theme-sepid .alloc__chart::before { opacity: 0.35; }

/* ---------- بخش‌های تیره‌ی عمدی: نتیجه محاسبه‌گر، فرم مشاوره، فوتر ---------- */
.theme-sepid .foot, .theme-sepid .dock, .theme-sepid .leadbox {
  --ink: #f6f2e8; --ink-2: #b8c2d6; --ink-3: #8794ad; --line: rgba(255, 255, 255, 0.1);
  --surface: rgba(255, 255, 255, 0.06); --surface-2: rgba(255, 255, 255, 0.1);
}
.theme-sepid .foot { background: #0f1a28; color: var(--ink); }
.theme-sepid .foot__links a:hover, .theme-sepid .foot .foot__credit:hover { color: #cfe2f5; }
.theme-sepid .leadbox { background: #14202e; color: var(--ink); }
.theme-sepid .leadbox .field { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.16); }
.theme-sepid .leadbox .field input:focus, .theme-sepid .leadbox .field select:focus { background: rgba(255, 255, 255, 0.12); }
.theme-sepid .leadbox .gold-text, .theme-sepid .leadbox .eyebrow { color: #cfe2f5; }
.theme-sepid .calc__result { --accent: #cfe2f5; }
.theme-sepid .dock { background: rgba(20, 32, 46, 0.92); }

@media (max-width: 980px) {
  .theme-sepid .hero--peak .hero__art { height: clamp(240px, 42vw, 400px); }
}
@media (max-width: 640px) {
  .theme-sepid .hero--peak .hero__art { height: clamp(220px, 62vw, 280px); }
}
