/* ═══════════════════════════════════════
   سهم من از زندگی — خاطره خطیبی
   پالت: سفید + سبز کله‌غازی تیره
   ═══════════════════════════════════════ */

:root {
  --white:      #ffffff;
  --bg:         #fbfcfc;
  --bg-2:       #f1f6f5;
  --bg-3:       #e7efee;

  --teal:       #0b423d;   /* کله‌غازی تیره */
  --teal-deep:  #062e2a;
  --teal-mid:   #12655c;
  --teal-soft:  #2f8a7f;
  --teal-pale:  #cfe2df;

  --text:       #10201e;
  --muted:      #5b716e;
  --muted-2:    #869996;

  --line:       rgba(11, 66, 61, 0.14);
  --line-soft:  rgba(11, 66, 61, 0.08);
  --line-dark:  rgba(255, 255, 255, 0.14);

  --sans: 'Vazirmatn', system-ui, sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 100px;

  --shadow-soft: 0 24px 60px -24px rgba(11, 66, 61, 0.35);
  --shadow-card: 0 8px 30px -14px rgba(11, 66, 61, 0.22);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.95;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
p  { margin: 0 0 1.1em; }

/* بافت ظریف کاغذ */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.16;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}
.container.narrow { max-width: 760px; }

/* ─────────── Buttons ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-mid), var(--teal));
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 12px 28px -12px rgba(11, 66, 61, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -12px rgba(11, 66, 61, 0.6);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--teal);
  background: var(--white);
}
.btn-ghost:hover {
  border-color: var(--teal);
  background: var(--bg-2);
}

.btn-sm     { padding: 11px 24px; font-size: 0.9rem; }
.btn-block  { width: 100%; }

/* ─────────── Header ─────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--teal);
}
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--teal);
  border-radius: 50%;
  color: var(--white);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  gap: 34px;
  margin-inline-start: auto;
  margin-inline-end: 12px;
}
.main-nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 400;
  transition: color 0.3s;
}
.main-nav a::after {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  bottom: -6px;
  width: 0; height: 2px;
  background: var(--teal);
  transition: width 0.35s var(--ease);
}
.main-nav a:hover { color: var(--teal); }
.main-nav a:hover::after { width: 100%; }

/* ─────────── Hero ─────────── */
.hero {
  position: relative;
  padding: 72px 0 0;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 85% 0%, var(--bg-2), transparent 60%),
    var(--white);
}

.hero-glow {
  position: absolute;
  top: -200px;
  inset-inline-end: -140px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(47, 138, 127, 0.16), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 60px;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal-mid);
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  margin-bottom: 22px;
}
.eyebrow-line {
  width: 42px; height: 1px;
  background: linear-gradient(to left, var(--teal-mid), transparent);
}

.hero-title {
  margin: 0 0 22px;
  font-size: clamp(1.7rem, 8.2vw, 3.5rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -1px;
  white-space: nowrap;
  background: linear-gradient(150deg, var(--teal-mid) 0%, var(--teal) 45%, var(--teal-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--muted);
  letter-spacing: 3px;
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.hero-quote {
    font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  line-height: 2.4;
  color: var(--teal-mid);
  margin-bottom: 20px;
}

.hero-meta {
  margin-top: 26px;
  color: var(--muted-2);
  font-size: 0.88rem;
}

.hero-desc {
  max-width: 460px;
  color: var(--muted);
  font-size: 1.03rem;
  margin-bottom: 36px;
}
.hero-desc strong { color: var(--text); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── جلد واقعی کتاب ── */
.hero-visual {
  display: flex;
  justify-content: center;
  perspective: 1600px;
}

.cover-wrap {
  position: relative;
  width: min(330px, 78vw);
  transform: rotateY(-11deg) rotateX(3deg);
  transition: transform 0.9s var(--ease);
}
.cover-wrap:hover { transform: rotateY(-4deg) translateY(-8px); }

.cover-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px 8px 8px 3px;
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.5),
    var(--shadow-soft),
    0 40px 70px -30px rgba(11, 66, 61, 0.55);
}

/* لبه‌ی عطف */
.cover-wrap::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  inset-inline-end: 0;
  width: 14px;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.55),
    rgba(255, 255, 255, 0.06) 45%,
    rgba(0, 0, 0, 0.22)
  );
  pointer-events: none;
}

/* ── نوار اعتماد ── */
.trust-bar {
  list-style: none;
  margin: 88px 0 0;
  padding: 30px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.trust-bar li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-bar strong {
  color: var(--teal);
  font-size: 1.05rem;
  font-weight: 700;
}
.trust-bar span {
  color: var(--muted-2);
  font-size: 0.85rem;
}

/* ─────────── Sections ─────────── */
.section { padding: 108px 0; background: var(--white); }
.section-alt { background: var(--bg-2); }

.section-label {
  display: block;
  color: var(--teal-soft);
  font-size: 0.8rem;
  letter-spacing: 2.5px;
  margin-bottom: 16px;
  font-weight: 500;
}
.section-label.center,
.section-title.center,
.section-sub.center { text-align: center; }

.section-title {
  margin: 0 0 22px;
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 800;
  line-height: 1.7;
  color: var(--teal);
  letter-spacing: -0.4px;
}

.section-sub {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 56px;
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}
.split-side { position: sticky; top: 120px; align-self: start; }
.split-main { color: var(--muted); font-size: 1.02rem; }

.lead {
  font-size: 1.22rem;
  color: var(--text);
  font-weight: 400;
  line-height: 2.1;
  margin-bottom: 1.3em;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.tag {
  padding: 7px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  color: var(--teal);
  background: var(--bg-2);
}

/* ─────────── مشخصات کتاب ─────────── */
.side-photo {
  margin: 32px 0 0;
  max-width: 260px;
}
.side-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
}

.specs {
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}
.specs > div {
  background: var(--white);
  padding: 16px 20px;
}
.specs dt {
  color: var(--muted-2);
  font-size: 0.82rem;
  margin-bottom: 2px;
}
.specs dd {
  margin: 0;
  color: var(--teal);
  font-weight: 600;
  font-size: 0.98rem;
}

/* ─────────── متن پشت جلد (بخش تیره) ─────────── */
.back-cover {
  position: relative;
  background:
    radial-gradient(80% 70% at 50% 0%, var(--teal-mid), transparent 65%),
    var(--teal-deep);
  color: var(--white);
}
.back-cover .section-label { color: rgba(255, 255, 255, 0.6); }

.back-text {
  text-align: center;
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  line-height: 2.4;
  color: rgba(255, 255, 255, 0.9);
}
.back-text p { margin-bottom: 1.5em; }
.back-text-final {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 2.5;
  color: var(--white);
  margin-bottom: 0;
}

/* ─────────── نمونه متن ─────────── */
.excerpt-photo {
  margin: 34px auto 54px;
  max-width: 330px;   /* عکس پرتره است؛ عرض بیشتر یعنی ارتفاع خیلی زیاد */
}
.excerpt-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}

/* متنِ برگزیده از کتاب */
.passage {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.passage-title {
  margin: 0 0 34px;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  line-height: 1.8;
  color: var(--teal);
}

.passage p {
  font-size: clamp(1.02rem, 2.1vw, 1.14rem);
  line-height: 2.35;
  color: var(--text);
  margin-bottom: 1.5em;
}

.passage-highlight {
  margin: 40px auto;
  padding: 26px 30px;
  max-width: 560px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  border-inline-start: 3px solid var(--teal-soft);
  color: var(--teal) !important;
  font-weight: 700;
  font-size: clamp(1.08rem, 2.4vw, 1.25rem) !important;
  line-height: 2.2 !important;
}

.passage-source {
  margin-top: 40px !important;
  color: var(--muted-2) !important;
  font-size: 0.92rem !important;
  font-weight: 500;
}

/* فراخوان بعد از متن */
.passage-cta {
  margin: 66px auto 0;
  padding: 40px 32px;
  max-width: 620px;
  text-align: center;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}
.passage-cta p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.02rem;
}

.excerpt-note {
  color: var(--muted-2);
  font-size: 0.92rem;
  margin: 0;
}

/* ─────────── نظرات خوانندگان ─────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 46px;
}

.card {
  position: relative;
  margin: 0;
  padding: 42px 30px 30px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 18px 44px -18px rgba(11, 66, 61, 0.3);
}
.quote-mark {
  position: absolute;
  top: 6px;
  inset-inline-start: 26px;
  font-size: 4rem;
  line-height: 1;
  color: var(--teal-pale);
}
.card blockquote {
  margin: 0 0 20px;
  color: var(--text);
  font-size: 1rem;
  line-height: 2.1;
  font-weight: 300;
}
.card figcaption {
  color: var(--muted-2);
  font-size: 0.86rem;
}

.cards-note {
  margin-top: 34px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}
.cards-note a {
  color: var(--teal);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

/* ─────────── نویسنده ─────────── */
.author-block {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 52px;
  align-items: center;
}
.author-photo {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--bg-2);
}
.author-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.author-body p {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 28px;
}

/* ─────────── خرید ─────────── */
.buy {
  background:
    radial-gradient(70% 55% at 50% 0%, var(--bg-2), transparent 70%),
    var(--white);
}

.buy-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 52px;
  align-items: start;
  margin-top: 20px;
}

.block-title {
  margin: 0 0 22px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
}
.pay-panel .block-title:not(:first-child) { margin-top: 30px; }

/* ── فرم سفارش ── */
.order-form {
  padding: 34px 32px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: block;
  margin-bottom: 18px;
}
.field > span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}
.field em {
  font-style: normal;
  color: #b4443c;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 400;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: #a9b6b4; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-soft);
  box-shadow: 0 0 0 3px rgba(47, 138, 127, 0.14);
}
.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #cf7a72;
}

.field-hidden { display: none; }
.field-hidden.open { display: block; }

/* روش ارسال */
.ship-group {
  margin: 6px 0 20px;
  padding: 0;
  border: 0;
}
.ship-group legend {
  padding: 0;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.ship-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}
.ship-option:hover { border-color: var(--teal-soft); }
.ship-option:has(input:checked) {
  border-color: var(--teal);
  background: var(--bg-2);
  box-shadow: 0 0 0 1px var(--teal) inset;
}
.ship-option input { accent-color: var(--teal); width: 18px; height: 18px; flex-shrink: 0; }

.ship-body { flex: 1; display: flex; flex-direction: column; }
.ship-title { font-weight: 600; color: var(--text); font-size: 0.98rem; }
.ship-desc  { color: var(--muted-2); font-size: 0.84rem; }
.ship-price { color: var(--teal); font-weight: 700; font-size: 0.94rem; white-space: nowrap; }

.check-line {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
  color: var(--text);
  font-size: 0.95rem;
  cursor: pointer;
}
.check-line input { accent-color: var(--teal); width: 18px; height: 18px; }

/* جمع مبلغ */
.total-box {
  margin: 26px 0 22px;
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
}
.total-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.total-final {
  margin: 12px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--teal);
  font-weight: 800;
  font-size: 1.12rem;
}

.form-hint {
  margin: 14px 0 0;
  color: var(--muted-2);
  font-size: 0.85rem;
  line-height: 1.85;
}

/* تله‌ی ربات — نباید دیده شود ولی نباید display:none هم باشد */
.hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-error {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  border-inline-start: 3px solid #c0564d;
  background: #fdf2f1;
  color: #8f3a33;
  font-size: 0.9rem;
  line-height: 1.85;
}

.order-code {
  margin: 0 0 12px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px dashed var(--teal-soft);
  color: var(--muted);
  font-size: 0.95rem;
}
.order-code strong {
  color: var(--teal);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-inline-start: 6px;
}

.result-lead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.9;
}

/* نتیجه سفارش */
.order-result {
  margin-top: 26px;
  padding: 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--teal-pale);
  background: var(--bg-2);
}
.order-result h4 {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 1rem;
}
.order-result pre {
  margin: 0 0 18px;
  padding: 16px;
  border-radius: var(--r-sm);
  background: var(--white);
  border: 1px solid var(--line-soft);
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 2;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 300px;
  overflow-y: auto;
}
.result-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* پنل پرداخت */
.pay-panel {
  padding: 34px 32px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 110px;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}
.price-label { color: var(--muted); font-size: 0.92rem; }
.price-value {
  color: var(--teal);
  font-size: 1.5rem;
  font-weight: 800;
}
.price-value em {
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--muted);
}
.price-note {
  margin: 12px 0 26px;
  color: var(--muted-2);
  font-size: 0.86rem;
}

.pay-card {
  padding: 22px;
  margin-bottom: 14px;
  border-radius: var(--r-md);
  background: linear-gradient(140deg, var(--teal-mid), var(--teal) 60%, var(--teal-deep));
  color: var(--white);
  box-shadow: 0 14px 30px -16px rgba(11, 66, 61, 0.6);
}
.pay-card-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}
.bank-name { color: var(--white); }

.pay-card-number {
  direction: ltr;
  text-align: center;
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 18px;
  font-feature-settings: "tnum";
}

.pay-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.pay-owner { color: rgba(255, 255, 255, 0.85); font-size: 0.88rem; }

.copy-btn {
  padding: 8px 18px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.84rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.copy-btn:hover { background: var(--white); color: var(--teal); border-color: var(--white); }
.copy-btn.copied { background: var(--white); color: var(--teal); border-color: var(--white); }

.pay-warn {
  margin: 22px 0 24px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  border-inline-start: 3px solid var(--teal-soft);
  background: var(--bg-2);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.85;
}

.pay-actions { display: flex; flex-direction: column; gap: 12px; }

/* ─────────── تماس با ما ─────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 10px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.contact-card:hover {
  transform: translateY(-5px);
  border-color: var(--line);
  box-shadow: 0 18px 40px -18px rgba(11, 66, 61, 0.3);
}

.contact-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--teal);
  font-size: 1.15rem;
}

.contact-body { display: flex; flex-direction: column; min-width: 0; }
.contact-body strong {
  color: var(--teal);
  font-weight: 700;
  font-size: 1rem;
}
.contact-body span {
  color: var(--muted-2);
  font-size: 0.86rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-link {
  display: inline-block;
  margin-inline-start: 12px;
  color: var(--teal-soft);
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.track-link:hover { color: var(--teal); }

/* ─────────── سؤالات پرتکرار ─────────── */
.faq { margin-top: 40px; }

.faq details {
  border-bottom: 1px solid var(--line-soft);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-size: 1.03rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color 0.3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--teal-soft);
  font-size: 1.4rem;
  font-weight: 300;
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary { color: var(--teal); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--teal); }
.faq details p {
  margin: 0;
  padding: 0 0 24px;
  color: var(--muted);
  font-size: 0.96rem;
}
.faq details p a {
  color: var(--teal);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

/* ─────────── فراخوان پایانی ─────────── */
.final-cta {
  padding: 110px 0;
  text-align: center;
  background:
    radial-gradient(70% 100% at 50% 100%, var(--teal-mid), transparent 70%),
    var(--teal-deep);
  color: var(--white);
}
.final-quote {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--white);
  line-height: 2.2;
  margin-bottom: 8px;
}
.final-cta h2 {
  margin: 0 0 34px;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}
.final-cta .btn-primary {
  background: var(--white);
  color: var(--teal);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5);
}
.final-cta .btn-primary:hover { background: var(--bg-2); }

/* ─────────── فوتر ─────────── */
.site-footer {
  padding: 34px 0;
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.65);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { transition: color 0.3s; }
.footer-links a:hover { color: var(--white); }

/* ─────────── Toast ─────────── */
.toast {
  position: fixed;
  bottom: 32px;
  inset-inline-start: 50%;
  transform: translate(50%, 20px);
  padding: 13px 28px;
  border-radius: var(--r-pill);
  background: var(--teal);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  z-index: 200;
}
.toast.show { opacity: 1; transform: translate(50%, 0); }

/* ─────────── ظاهر شدن هنگام اسکرول ─────────── */
/* تا وقتی جاوااسکریپت فعال نشده، محتوا کاملاً دیده می‌شود */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.js-reveal .reveal.visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: 0.15s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .book { transition: none; }
}

/* ─────────── ریسپانسیو ─────────── */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero-desc  { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .eyebrow { justify-content: center; }

  .split { grid-template-columns: 1fr; gap: 24px; }
  .split-side { position: static; }
  .side-photo { max-width: 220px; }


  .buy-layout { grid-template-columns: 1fr; gap: 40px; }
  .pay-panel { position: static; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }

  .author-block { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .author-photo { max-width: 220px; margin: 0 auto; }
  .author-body p { margin-inline: auto; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .brand-text { display: none; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .section { padding: 76px 0; }
  .hero { padding-top: 64px; }
  .container { padding: 0 20px; }
  .pay-panel, .order-form { padding: 26px 22px; }
  .pay-card-number { font-size: 1.08rem; letter-spacing: 2px; }
  .footer-inner { flex-direction: column; text-align: center; }

  .cards { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .side-photo { margin-inline: auto; }
  .ship-option { flex-wrap: wrap; }
  .ship-price { width: 100%; padding-inline-start: 32px; }
  .result-actions .btn { flex: 1 1 100%; }
}
