/* پالت از تم خانه اپ ژینا خوانده شده است. */
:root {
  --bg: #fcf8f4;
  --surface: #fffcf9;
  --surface-alt: #f7f0ec;
  --ink: #302139;
  --muted: #776c7c;
  --line: #ede2de;
  --accent: #f46f69;
  --accent-ink: #40202a;
  --accent-soft: #fceae4;
  --teal: #478a83;
  --teal-soft: #e7f1ef;
  --sage: #a5b9a0;
  --lilac: #cabae2;
  --peach: #f5c8aa;
  --deep: #302139;
  --deep-ink: #fcf8f4;
  --deep-muted: #d8cbdd;
  --deep-line: #514057;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 18px 40px rgba(48, 33, 57, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #281f30;
    --surface: #302638;
    --surface-alt: #362b3e;
    --ink: #f8eff6;
    --muted: #c5b5c9;
    --line: #514057;
    --accent: #ff8780;
    --accent-ink: #2b1620;
    --accent-soft: #443040;
    --teal: #6fb3aa;
    --teal-soft: #2c3c3f;
    --sage: #a5b9a0;
    --lilac: #c5b3df;
    --peach: #eabf9f;
    --deep: #1f1826;
    --deep-ink: #f8eff6;
    --deep-muted: #c5b5c9;
    --deep-line: #3f3149;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Vazirmatn, "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 2;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.6; margin: 0 0 12px; font-weight: 700; }
h1 { font-size: clamp(30px, 5vw, 46px); letter-spacing: -0.01em; }
h2 { font-size: clamp(23px, 3.2vw, 30px); }
h3 { font-size: 18px; }
p { margin: 0 0 16px; }
a { color: inherit; }

img, svg { max-width: 100%; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* بیرون بردن افقی در RTL عرض سند را زیاد می‌کند، پس بالا پنهان می‌شود. */
.skip {
  position: absolute;
  inset-inline-start: 20px;
  top: -80px;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 999px;
  z-index: 10;
  transition: top 0.15s ease;
}
.skip:focus { top: 12px; }

/* سربرگ */
.site-head {
  position: sticky;
  top: 0;
  z-index: 9;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; }
.brand-mark { color: var(--ink); height: 46px; width: auto; display: block; }
.site-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
  transition: background 0.15s ease, color 0.15s ease;
}
.site-nav a:hover { color: var(--ink); background: var(--surface-alt); }
.site-nav a.is-active { color: var(--ink); background: var(--accent-soft); font-weight: 600; }

/* دکمه‌ها */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, #000); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* هیرو */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(16px, 3vw, 32px); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.eyebrow { color: var(--teal); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.lede { color: var(--muted); font-size: 17px; max-width: 56ch; }
.status { color: var(--muted); font-size: 14px; margin-top: 18px; }

.hero-art { display: flex; justify-content: center; }
.phone {
  width: min(320px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px 22px 22px;
  text-align: center;
}
.phone-greet { color: var(--muted); font-size: 14px; margin: 0 0 4px; text-align: start; }
.dial { width: 100%; height: auto; display: block; margin: 0 auto; }
.dial-day { font-family: Vazirmatn, sans-serif; font-size: 44px; font-weight: 700; fill: var(--ink); }
.dial-label { font-family: Vazirmatn, sans-serif; font-size: 14px; fill: var(--muted); }
.phone-forecast { margin: 14px 0 16px; font-size: 14px; color: var(--muted); }
.phone-chips { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.phone-chips span {
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
}

/* بخش‌ها */
.band { padding: clamp(40px, 6vw, 76px) 0; }
.band-alt { background: var(--surface-alt); }
.band-deep { background: var(--deep); color: var(--deep-ink); }
.band-deep h2, .band-deep h3 { color: var(--deep-ink); }
.band-cta { text-align: center; }
.cta-inner .cta-row { justify-content: center; }
.section-lede { color: var(--muted); max-width: 60ch; margin-bottom: 28px; }
.band-deep .section-lede { color: var(--deep-muted); }

.page-head { padding: clamp(40px, 6vw, 76px) 0 8px; }

.grid { display: grid; gap: 18px; }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(198px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.card h3 { margin-bottom: 8px; }
.card::before {
  content: "";
  display: block;
  width: 34px;
  height: 6px;
  border-radius: 999px;
  background: var(--teal);
  margin-bottom: 14px;
}
.tint-coral::before { background: var(--accent); }
.tint-lilac::before { background: var(--lilac); }
.tint-sage::before { background: var(--sage); }
.tint-peach::before { background: var(--peach); }
.tint-teal::before { background: var(--teal); }
.card-dark { background: color-mix(in srgb, var(--deep) 82%, #ffffff 8%); border-color: var(--deep-line); }
.card-dark p { color: var(--deep-muted); }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
.split p { color: var(--muted); }
.split h2 { color: var(--ink); }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.facts li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  color: var(--muted);
  font-size: 15px;
}
.facts span { color: var(--ink); font-weight: 600; margin-inline-end: 8px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--teal-soft);
  color: var(--teal);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
}

.note {
  margin-top: 26px;
  color: var(--deep-muted);
  font-size: 15px;
  max-width: 72ch;
  border-inline-start: 3px solid var(--teal);
  padding-inline-start: 16px;
}
.note-inline { color: var(--muted); border-color: var(--accent); margin-top: 24px; }

.prose { max-width: 72ch; }
.prose p { color: var(--muted); }
.prose h2 { margin-top: 34px; }
.prose h2:first-child { margin-top: 0; }
.prose-dark p { color: var(--deep-muted); }

/* اشتراک */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.plan-featured { border-color: var(--accent); box-shadow: var(--shadow); }
.plan-flag {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-ink);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 13px;
  margin: 0 0 10px;
}
.plan h2 { font-size: 20px; margin-bottom: 6px; }
.plan-price { font-size: 28px; font-weight: 700; margin: 0 0 6px; }
.plan-detail { color: var(--muted); font-size: 15px; margin: 0; }

.faq { max-width: 72ch; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 12px 0 0; }

/* فرم */
.split-form { grid-template-columns: 1.1fr 0.9fr; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.9; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.hint { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.contact-side {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.contact-side h2 { font-size: 17px; margin-top: 22px; }
.contact-side h2:first-child { margin-top: 0; }
.contact-side p { color: var(--muted); font-size: 15px; }
.mail { color: var(--teal); font-weight: 600; text-decoration: none; }

/* پاورقی */
.site-foot { background: color-mix(in srgb, var(--deep) 86%, #000000); color: var(--deep-ink); padding: 46px 0 34px; }
.foot-inner { display: grid; gap: 18px; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand p { margin: 0; color: var(--deep-muted); font-size: 15px; }
.foot-brand img { border-radius: 12px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-nav a { color: var(--deep-ink); text-decoration: none; font-size: 15px; }
.foot-nav a:hover { color: var(--accent); }
.foot-note { color: var(--deep-muted); font-size: 14px; margin: 0; border-top: 1px solid var(--deep-line); padding-top: 18px; }

@media (max-width: 860px) {
  .hero-inner, .split, .split-form { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .head-inner { flex-wrap: wrap; min-height: 0; padding: 14px 0; }
  .site-nav { width: 100%; }
}
