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

.theme-guarantee {
  --bg: #eef9f3;
  --bg-2: #e0f3ea;
  --bg-3: #ffffff;
  --ink: #0b2a22;
  --ink-2: #44605a;
  --ink-3: #7a948c;
  --surface: #ffffff;
  --surface-2: rgba(11, 42, 34, 0.05);
  --line: rgba(11, 42, 34, 0.11);

  --acc-rgb: 14, 159, 110;
  --acc-mid: #12c48a; --acc-mid-rgb: 18, 196, 138;
  --acc-deep: #08724f; --acc-deep-rgb: 8, 114, 79;
  --acc-deep2: #0e9f6e;
  --accent: #0e9f6e;
  --accent-ink: #032e1f;
  --accent-soft: rgba(14, 159, 110, 0.1);
  --accent-line: rgba(14, 159, 110, 0.32);
  --grad: linear-gradient(135deg, #7af0c0 0%, #1fd397 45%, #0e9f6e 100%);
  --grad-deep: linear-gradient(135deg, #0e9f6e 0%, #08724f 100%);
  --btn-grad: linear-gradient(135deg, #8ff5cc 0%, #34dca4 48%, #12c48a 100%);
  --glow: rgba(18, 196, 138, 0.35);
  --paper: #f1f9f0;
  --navy: #0b2a22;

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

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

/* ---------- هیرو: ساحل ---------- */
.theme-guarantee .hero__dust { display: none; }
.theme-guarantee .hero__title { text-shadow: none; }
.theme-guarantee .hero__lead { color: var(--ink-2); max-width: 880px; }
.theme-guarantee .hero__content { padding-top: 120px; } /* متن این صفحه بلندتر است: جا برای تصویر و نوار آمار */
.theme-guarantee .hero { min-height: max(640px, calc(100svh - 96px)); } /* نوار آمار بدون اسکرول در صفحه می‌ماند */
.theme-guarantee .hero--peak .hero__sun { display: none; }
/* هنر هیرو: رندر سه‌بعدی کم‌چندضلعی (هم‌خانواده‌ی کوه رنگی) — بالای تصویر در زمینه‌ی هیرو محو می‌شود */
.theme-guarantee .hero--peak .hero__art { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: max(220px, min(15.8vw, calc(100% - 590px))); display: block; pointer-events: none; }
/* پانورامای تمام‌عرض (۴:۱)؛ لبه‌ها از لبه‌ی صفحه بیرون می‌زنند و بالا در زمینه محو می‌شود */
.theme-guarantee .hero--peak .hero__art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; filter: none; }
.theme-guarantee .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, 249, 243, 0) 0, rgba(238, 249, 243, 0.85) 70%, var(--bg) 100%); }

.theme-guarantee .btn--glass { background: rgba(255, 255, 255, 0.7); color: var(--ink); border: 1px solid rgba(11, 42, 34, 0.14); }
.theme-guarantee .btn--glass:hover { background: #fff; }
.theme-guarantee .btn--gold { box-shadow: 0 10px 24px -12px rgba(18, 196, 138, 0.7); }
.theme-guarantee .hero__scroll { border-color: rgba(11, 42, 34, 0.35); }
.theme-guarantee .hero__scroll span { background: var(--ink); }
.theme-guarantee .chip { color: var(--ink-2); }

/* ---------- ناوبری و کارت‌های روشن ---------- */
/* لوگوی سفید در زمینه‌ی روشن: به سرمه‌ای تبدیل می‌شود (در فوتر تیره سفید می‌ماند) */
.theme-guarantee .nav__brand img, .theme-guarantee .trust__brand img { filter: brightness(0) saturate(100%) invert(14%) sepia(30%) saturate(1500%) hue-rotate(120deg) brightness(.9); }
.theme-guarantee .nav.is-stuck { background: rgba(238, 249, 243, 0.88); box-shadow: 0 1px 0 var(--line), 0 18px 36px -28px rgba(11, 42, 34, 0.35); }
.theme-guarantee .nav__links a:hover, .theme-guarantee .nav__links a.is-active { background: rgba(11, 42, 34, 0.06); }
.theme-guarantee .nav__burger { background: rgba(11, 42, 34, 0.07); }
.theme-guarantee .nav.is-open { background: rgba(238, 249, 243, 0.97); }

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

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

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