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

.theme-petroma {
  --bg: #eefafc;
  --bg-2: #d9f1f6;
  --bg-3: #ffffff;
  --ink: #082a36;
  --ink-2: #3f6a76;
  --ink-3: #78a0aa;
  --surface: #ffffff;
  --surface-2: rgba(8, 48, 58, 0.05);
  --line: rgba(8, 48, 58, 0.11);

  --acc-rgb: 8, 145, 178;
  --acc-mid: #06b6d4; --acc-mid-rgb: 6, 182, 212;
  --acc-deep: #0b566b; --acc-deep-rgb: 11, 86, 107;
  --acc-deep2: #0e7490;
  --accent: #0e7490;
  --accent-ink: #032a33;
  --accent-soft: rgba(8, 145, 178, 0.1);
  --accent-line: rgba(8, 145, 178, 0.32);
  --grad: linear-gradient(135deg, #b8f0fa 0%, #3fd4ea 45%, #0e7490 100%);
  --grad-deep: linear-gradient(135deg, #0e7490 0%, #0b566b 100%);
  --btn-grad: linear-gradient(135deg, #b8f0fa 0%, #4cd9ee 48%, #06b6d4 100%);
  --glow: rgba(6, 182, 212, 0.35);
  --paper: #f0fafc;
  --navy: #082a36;

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

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

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

.theme-petroma .btn--glass { background: rgba(255, 255, 255, 0.7); color: var(--ink); border: 1px solid rgba(8, 48, 58, 0.14); }
.theme-petroma .btn--glass:hover { background: #fff; }
.theme-petroma .btn--gold { box-shadow: 0 10px 24px -12px rgba(6, 182, 212, 0.7); }
.theme-petroma .hero__scroll { border-color: rgba(8, 48, 58, 0.35); }
.theme-petroma .hero__scroll span { background: var(--ink); }
.theme-petroma .chip { color: var(--ink-2); }

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

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

/* ---------- بخش‌های تیره‌ی عمدی: نتیجه محاسبه‌گر، فرم مشاوره، فوتر ---------- */
.theme-petroma .foot, .theme-petroma .dock, .theme-petroma .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-petroma .foot { background: #06222b; color: var(--ink); }
.theme-petroma .foot__links a:hover, .theme-petroma .foot .foot__credit:hover { color: #b8f0fa; }
.theme-petroma .leadbox { background: #082a36; color: var(--ink); }
.theme-petroma .leadbox .field { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.16); }
.theme-petroma .leadbox .field input:focus, .theme-petroma .leadbox .field select:focus { background: rgba(255, 255, 255, 0.12); }
.theme-petroma .leadbox .gold-text, .theme-petroma .leadbox .eyebrow { color: #b8f0fa; }
.theme-petroma .calc__result { --accent: #b8f0fa; }
.theme-petroma .dock { background: rgba(8, 48, 58, 0.92); }

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