/* =====================================================================
   Theme: نیلی — طرح «ساحل» (روشن؛ ماسه، دریا و چتر مرجانی)
   همان ساختار و متن لندینگ نیلی با هویت بصری دیگر؛ تصاویر SVG داخل assets/img/shore-*.svg
   فقط رنگ‌ها و هنر هیرو؛ ساختار در core.css است.
   ===================================================================== */

.theme-nili {
  --bg: #eef5fb;
  --bg-2: #e3eef8;
  --bg-3: #ffffff;
  --ink: #0e2344;
  --ink-2: #47587a;
  --ink-3: #7585a3;
  --surface: #ffffff;
  --surface-2: rgba(14, 35, 68, 0.05);
  --line: rgba(14, 35, 68, 0.11);

  --acc-rgb: 10, 147, 184;
  --acc-mid: #0bb6d6; --acc-mid-rgb: 11, 182, 214;
  --acc-deep: #077a9c; --acc-deep-rgb: 7, 122, 156;
  --acc-deep2: #0a8fb3;
  --accent: #0a8fb3;
  --accent-ink: #032a3c;
  --accent-soft: rgba(10, 147, 184, 0.1);
  --accent-line: rgba(10, 147, 184, 0.32);
  --grad: linear-gradient(135deg, #5cefff 0%, #12cfee 45%, #0a8fb3 100%);
  --grad-deep: linear-gradient(135deg, #0a8fb3 0%, #07688a 100%);
  --btn-grad: linear-gradient(135deg, #7af2ff 0%, #22d6f2 48%, #0bb6d6 100%);
  --glow: rgba(11, 182, 214, 0.35);
  --paper: #e6f0fa;
  --navy: #0f2347;

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

/* آیکون‌های «ico--gold» در این طرح آبی کبالتی‌اند */
.theme-nili .ico--gold { --t1: #9fc0ff; --t2: #3a64d8; color: #051a47; }

/* ---------- هیرو: ساحل ---------- */
.theme-nili .hero__dust { display: none; }
.theme-nili .hero__title { text-shadow: none; }
.theme-nili .hero__lead { color: var(--ink-2); }
.theme-nili .hero { min-height: max(640px, calc(100svh - 96px)); } /* نوار آمار بدون اسکرول در صفحه می‌ماند */
.theme-nili .hero--peak .hero__sun { display: none; }
/* هنر هیرو: رندر سه‌بعدی کم‌چندضلعی (هم‌خانواده‌ی کوه رنگی) — بالای تصویر در زمینه‌ی هیرو محو می‌شود */
.theme-nili .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-nili .hero--peak .hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; filter: none; }
/* لبه‌ی بالای تصویر با ماسک در پس‌زمینه‌ی هیرو محو می‌شود (برش دیده نشود) */
.theme-nili .hero--peak .hero__art img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%); mask-image: linear-gradient(180deg, transparent 0, #000 18%); }
.theme-nili .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(238, 245, 251, 0) 0, rgba(238, 245, 251, 0.85) 70%, var(--bg) 100%); }

.theme-nili .btn--glass { background: rgba(255, 255, 255, 0.7); color: var(--ink); border: 1px solid rgba(14, 35, 68, 0.14); }
.theme-nili .btn--glass:hover { background: #fff; }
.theme-nili .btn--gold { box-shadow: 0 10px 24px -12px rgba(11, 182, 214, 0.7); }
.theme-nili .hero__scroll { border-color: rgba(14, 35, 68, 0.35); }
.theme-nili .hero__scroll span { background: var(--ink); }
.theme-nili .chip { color: var(--ink-2); }

/* ---------- ناوبری و کارت‌های روشن ---------- */
/* لوگوی سفید در زمینه‌ی روشن: به سرمه‌ای تبدیل می‌شود (در فوتر تیره سفید می‌ماند) */
.theme-nili .nav__brand img, .theme-nili .trust__brand img { filter: brightness(0) saturate(100%) invert(11%) sepia(38%) saturate(2400%) hue-rotate(196deg) brightness(.95); }
.theme-nili .nav.is-stuck { background: rgba(238, 245, 251, 0.86); box-shadow: 0 1px 0 var(--line), 0 18px 36px -28px rgba(14, 35, 68, 0.35); }
.theme-nili .nav__links a:hover, .theme-nili .nav__links a.is-active { background: rgba(14, 35, 68, 0.06); }
.theme-nili .nav__burger { background: rgba(14, 35, 68, 0.07); }
.theme-nili .nav.is-open { background: rgba(238, 245, 251, 0.97); }

.theme-nili .ticker__card { background: #fff; border-color: var(--line); box-shadow: 0 30px 60px -36px rgba(14, 35, 68, 0.35); }
.theme-nili .section-dark, .theme-nili .perf__card, .theme-nili .leadbox { box-shadow: 0 30px 60px -40px rgba(14, 35, 68, 0.3); }
.theme-nili .chart__svg .xhair { stroke: rgba(14, 35, 68, 0.35); }
.theme-nili .risk__meter span { background: rgba(14, 35, 68, 0.1); }
.theme-nili .fam:hover { border-color: var(--accent-line); }
.theme-nili .field { background: #fff; border-color: var(--line); }
.theme-nili .field input:focus, .theme-nili .field select:focus { background: #fff; }
.theme-nili .arch img { width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: 50% 60%; border-radius: inherit; filter: none; }
.theme-nili .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-nili .alloc__chart::before { opacity: 0.35; }

/* ---------- بخش‌های تیره‌ی عمدی: نتیجه محاسبه‌گر، فرم مشاوره، فوتر ---------- */
.theme-nili .foot, .theme-nili .dock, .theme-nili .leadbox {
  --ink: #eef5fb; --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-nili .foot { background: #0b1b3a; color: var(--ink); }
.theme-nili .foot__links a:hover, .theme-nili .foot .foot__credit:hover { color: #5cefff; }
.theme-nili .leadbox { background: #0f2347; color: var(--ink); }
.theme-nili .leadbox .field { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.16); }
.theme-nili .leadbox .field input:focus, .theme-nili .leadbox .field select:focus { background: rgba(255, 255, 255, 0.12); }
.theme-nili .leadbox .gold-text, .theme-nili .leadbox .eyebrow { color: #5cefff; }
.theme-nili .calc__result { --accent: #5cefff; }
.theme-nili .dock { background: rgba(15, 35, 71, 0.92); }

@media (max-width: 980px) {
  .theme-nili .hero--peak .hero__art { height: clamp(240px, 42vw, 400px); }
}
@media (max-width: 640px) {
  .theme-nili .hero--peak .hero__art { height: clamp(220px, 62vw, 280px); }
  .theme-nili .hero--peak .hero__art img { object-position: 50% 100%; }
}

.theme-nili .phone__screen { color: #eef5fb; }
