/* ==========================================================================
   مسلم امیرسالاری | نماینده رسمی کارابازار سلامت (KBS)
   1. فونت‌ها و متغیرها
   2. ریست و پایه
   3. ابزارهای عمومی
   4. هدر و منو
   5. دکمه‌ها
   6. هیرو
   7. بخش‌های صفحه اصلی
   8. کارت‌ها و اجزای مشترک
   9. فروشگاه و صفحه محصول
   10. همکاری و پکیج‌ها
   11. مجله و مقاله
   12. فرم‌ها
   13. فوتر و ناوبری موبایل
   14. انیمیشن‌ها
   ========================================================================== */

/* 1. فونت‌ها و متغیرها ---------------------------------------------------- */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --emerald: #064b35;
  --deep: #033b2c;
  --gold: #d4af55;
  --gold-soft: #e8d39b;
  --ivory: #f4ebdd;
  --white: #ffffff;

  --ink: #0b2b22;
  --body: #34544b;
  --muted: #6d837b;

  --surface: #fdfbf7;
  --line: rgba(6, 75, 53, 0.11);
  --line-gold: rgba(212, 175, 85, 0.42);

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 28px;

  --shadow-1: 0 2px 10px rgba(4, 35, 26, 0.05);
  --shadow-2: 0 18px 42px -26px rgba(4, 35, 26, 0.38);
  --shadow-3: 0 28px 60px -34px rgba(4, 35, 26, 0.5);

  --container: 1180px;
  --header-h: 78px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "Vazirmatn", "IRANSans", "Segoe UI", Tahoma, system-ui, sans-serif;
}

/* 2. ریست و پایه ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* جلوگیری از بیرون‌زدگی افقی منوی کشویی بدون شکستن sticky */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.9;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.7em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.2px;
}

h1 {
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  line-height: 1.35;
}
h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.4;
}
h3 {
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
}
h4 {
  font-size: 1.03rem;
}

p {
  margin: 0 0 1.1em;
}

a {
  color: var(--emerald);
  text-decoration-color: rgba(6, 75, 53, 0.28);
  text-underline-offset: 4px;
  transition: color 0.25s var(--ease);
}
a:hover {
  color: var(--deep);
}

ul,
ol {
  margin: 0 0 1.1em;
  padding-inline-start: 1.25em;
}

li {
  margin-bottom: 0.4em;
}

:focus-visible {
  outline: 3px solid rgba(212, 175, 85, 0.85);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: rgba(212, 175, 85, 0.34);
  color: var(--deep);
}

hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 2rem 0;
}

/* 3. ابزارهای عمومی ------------------------------------------------------- */
[hidden] {
  display: none !important;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2.5rem, 860px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.25rem, 6vw, 5.5rem);
}

.section--tight {
  padding-block: clamp(2.5rem, 4.5vw, 4rem);
}

.section--ivory {
  background: linear-gradient(180deg, var(--surface), var(--ivory));
}

.section--cream {
  background: var(--surface);
}

.skip-link {
  position: absolute;
  inset-inline-start: 50%;
  top: -100px;
  transform: translateX(50%);
  z-index: 200;
  background: var(--deep);
  color: var(--gold-soft);
  padding: 0.7rem 1.4rem;
  border-radius: 0 0 var(--radius-xs) var(--radius-xs);
  text-decoration: none;
  transition: top 0.25s var(--ease);
}
.skip-link:focus {
  top: 0;
  color: var(--gold-soft);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--emerald);
  background: rgba(6, 75, 53, 0.06);
  border: 1px solid rgba(6, 75, 53, 0.1);
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 85, 0.2);
}
.eyebrow--light {
  color: var(--gold-soft);
  background: rgba(232, 211, 155, 0.1);
  border-color: rgba(232, 211, 155, 0.28);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
}
.section-head--split .section-head__text {
  max-width: 620px;
}

.lead {
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  color: #3e5d54;
  line-height: 2;
}

.grid {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.5rem);
}
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gold-rule {
  width: 64px;
  height: 2px;
  border: 0;
  margin: 1.5rem 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}
.gold-rule--center {
  margin-inline: auto;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--emerald);
  text-decoration: none;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}
.link-arrow::after {
  content: "←";
  font-size: 1rem;
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover {
  gap: 0.65rem;
  color: var(--deep);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(6, 75, 53, 0.07);
  color: var(--emerald);
  border: 1px solid rgba(6, 75, 53, 0.1);
}
.badge--gold {
  background: rgba(212, 175, 85, 0.14);
  color: #86661f;
  border-color: rgba(212, 175, 85, 0.35);
}
.badge--muted {
  background: rgba(109, 131, 123, 0.1);
  color: var(--muted);
  border-color: rgba(109, 131, 123, 0.2);
}

/* 4. هدر و منو ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line-gold);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand__mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--emerald), var(--deep));
  color: var(--gold-soft);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  box-shadow: inset 0 0 0 1px rgba(232, 211, 155, 0.4), var(--shadow-1);
  flex-shrink: 0;
}

.brand__text {
  display: block;
  line-height: 1.4;
}
.brand__text strong {
  display: block;
  font-size: 1rem;
  color: var(--deep);
  font-weight: 700;
}
.brand__text small {
  display: block;
  font-size: 0.71rem;
  color: var(--muted);
  font-weight: 400;
}

.main-nav {
  margin-inline-start: auto;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav li {
  margin: 0;
}
.main-nav a {
  position: relative;
  display: block;
  padding: 0.5rem 0.78rem;
  border-radius: 10px;
  color: #33534a;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0.78rem;
  bottom: 0.18rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover {
  color: var(--emerald);
  background: rgba(6, 75, 53, 0.05);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.main-nav a[aria-current="page"] {
  color: var(--deep);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--emerald);
  text-decoration: none;
  padding: 0.4rem 0.3rem;
  direction: ltr;
  unicode-bidi: isolate;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--deep);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: background 0.2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.28s var(--ease), top 0.28s var(--ease);
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}
.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* کشوی منوی موبایل */
.drawer {
  position: fixed;
  z-index: 120;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(88vw, 340px);
  background: linear-gradient(170deg, var(--deep), #021f17);
  color: rgba(255, 255, 255, 0.88);
  padding: 1.4rem 1.35rem calc(1.4rem + env(safe-area-inset-bottom));
  transform: translateX(100%);
  transition: transform 0.38s var(--ease);
  overflow-y: auto;
  visibility: hidden;
}
.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(232, 211, 155, 0.22);
}
.drawer__title {
  margin: 0;
  color: var(--gold-soft);
  font-size: 0.95rem;
  font-weight: 500;
}
.drawer__close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(232, 211, 155, 0.3);
  background: transparent;
  color: var(--gold-soft);
  font-size: 1.15rem;
  cursor: pointer;
  line-height: 1;
}
.drawer ul {
  list-style: none;
  margin: 0 0 1.4rem;
  padding: 0;
}
.drawer li {
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.2rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.98rem;
}
.drawer a::after {
  content: "←";
  color: rgba(232, 211, 155, 0.6);
  font-size: 0.9rem;
}
.drawer a[aria-current="page"] {
  color: var(--gold-soft);
  font-weight: 700;
}
.drawer__contact {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.2rem;
}
.drawer__contact .btn {
  justify-content: center;
}
.drawer__note {
  margin-top: 1.2rem;
  font-size: 0.76rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.55);
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(3, 32, 24, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
body.no-scroll {
  overflow: hidden;
}

/* 5. دکمه‌ها -------------------------------------------------------------- */
.btn {
  --btn-bg: var(--emerald);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.55rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  box-shadow: 0 10px 24px -18px rgba(3, 59, 44, 0.7);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -18px rgba(3, 59, 44, 0.55);
  color: var(--btn-fg);
}
.btn:active {
  transform: translateY(0);
}
.btn--gold {
  --btn-bg: linear-gradient(135deg, var(--gold), #c49c42);
  --btn-fg: #1d1a0c;
  box-shadow: 0 12px 26px -18px rgba(163, 124, 34, 0.9);
  font-weight: 700;
}
.btn--gold:hover {
  --btn-bg: linear-gradient(135deg, #dcb964, var(--gold));
}
.btn--emerald {
  --btn-bg: var(--emerald);
  --btn-fg: #fff;
}
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--emerald);
  border-color: rgba(6, 75, 53, 0.28);
  box-shadow: none;
}
.btn--outline:hover {
  --btn-bg: rgba(6, 75, 53, 0.06);
  --btn-fg: var(--deep);
  border-color: rgba(6, 75, 53, 0.4);
}
.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--gold-soft);
  border-color: rgba(232, 211, 155, 0.42);
  box-shadow: none;
}
.btn--ghost-light:hover {
  --btn-bg: rgba(232, 211, 155, 0.12);
  --btn-fg: #fff;
  border-color: rgba(232, 211, 155, 0.68);
}
.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}
.btn--lg {
  padding: 0.95rem 1.9rem;
  font-size: 1rem;
}
.btn--block {
  width: 100%;
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* 6. هیرو ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #074e37 0%, var(--deep) 52%, #022a20 100%);
  color: rgba(255, 255, 255, 0.86);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(46% 52% at 88% 8%, rgba(212, 175, 85, 0.2), transparent 68%),
    radial-gradient(40% 60% at 6% 96%, rgba(232, 211, 155, 0.12), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 85, 0.6), transparent);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-block: clamp(2.75rem, 6vw, 5.25rem);
}
.hero h1 {
  color: #fff;
  margin-bottom: 1rem;
}
.hero h1 .hero__name {
  display: block;
  font-size: clamp(1.9rem, 3.9vw, 3.15rem);
  letter-spacing: -0.4px;
}
.hero h1 .hero__pipe {
  font-weight: 400;
  color: var(--gold-soft);
  opacity: 0.55;
  margin-inline-start: 0.15rem;
}
.hero h1 .hero__role {
  display: block;
  margin-top: 0.45rem;
  font-size: clamp(0.95rem, 1.7vw, 1.3rem);
  font-weight: 500;
  color: var(--gold-soft);
  letter-spacing: 0;
}
.hero__lead {
  max-width: 33rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.97rem, 1.35vw, 1.08rem);
  line-height: 2.05;
}
.hero .btn-row {
  margin-top: 1.6rem;
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.15rem;
  margin: 1.9rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}
.hero__chips li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}
.hero__chips li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.hero__portrait {
  position: relative;
  justify-self: center;
  width: min(100%, 400px);
}
.hero__portrait-frame {
  position: relative;
  border-radius: 26px;
  padding: 10px;
  background: linear-gradient(150deg, rgba(232, 211, 155, 0.55), rgba(232, 211, 155, 0.06) 45%, rgba(212, 175, 85, 0.5));
  box-shadow: var(--shadow-3);
}
.hero__portrait-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 18px;
  background: #0a3c2c;
}
.hero__portrait-tag {
  position: absolute;
  inset-inline-start: 0;
  bottom: 1.4rem;
  transform: translateX(-18%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(212, 175, 85, 0.5);
  box-shadow: var(--shadow-2);
  color: var(--deep);
  font-size: 0.78rem;
  line-height: 1.6;
  max-width: 220px;
}
.hero__portrait-tag strong {
  display: block;
  font-size: 0.82rem;
}
.hero__portrait-tag span {
  color: var(--muted);
  font-size: 0.72rem;
}
.hero__portrait-tag::before {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex-shrink: 0;
  background: linear-gradient(150deg, var(--emerald), var(--deep));
  box-shadow: inset 0 0 0 1px rgba(232, 211, 155, 0.5);
}

/* 7. بخش‌های صفحه اصلی ---------------------------------------------------- */
.service-card {
  position: relative;
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: rgba(212, 175, 85, 0.4);
}
.service-card:hover::after {
  transform: scaleX(1);
}
.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}
.service-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.95;
}

.icon-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 1.1rem;
  background: linear-gradient(150deg, rgba(6, 75, 53, 0.08), rgba(212, 175, 85, 0.14));
  border: 1px solid rgba(6, 75, 53, 0.08);
  color: var(--emerald);
}
.icon-badge svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.why-item:hover {
  border-color: rgba(212, 175, 85, 0.45);
  transform: translateX(-3px);
  box-shadow: var(--shadow-1);
}
.why-item__num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(6, 75, 53, 0.06);
  color: var(--emerald);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(6, 75, 53, 0.09);
}
.why-item h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}
.why-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.85;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(1.9rem, 4.5vw, 3.4rem);
  background: linear-gradient(155deg, #07523a, var(--deep) 60%, #032a20);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(212, 175, 85, 0.35);
  box-shadow: var(--shadow-3);
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(38% 60% at 92% 12%, rgba(212, 175, 85, 0.24), transparent 70%),
    radial-gradient(30% 50% at 4% 92%, rgba(232, 211, 155, 0.12), transparent 72%);
}
.cta-band h2 {
  color: #fff;
  max-width: 30ch;
}
.cta-band p {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.5rem;
}
.cta-band .gold-rule {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.contact-tile {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 85, 0.45);
  box-shadow: var(--shadow-1);
  color: inherit;
}
.contact-tile .icon-badge {
  margin: 0;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
}
.contact-tile small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}
.contact-tile strong {
  display: block;
  font-size: 0.9rem;
  color: var(--deep);
  font-weight: 500;
  word-break: break-word;
}

/* 8. کارت‌ها و اجزای مشترک ------------------------------------------------ */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
}
.card--glass {
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.card__body {
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
}

.page-hero {
  position: relative;
  padding-block: clamp(2.25rem, 4.5vw, 3.5rem);
  background: linear-gradient(165deg, #fdfbf7, #f4ebdd 70%, #f7efe2);
  border-bottom: 1px solid var(--line-gold);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset-inline-end: -80px;
  top: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 85, 0.18), transparent 68%);
  pointer-events: none;
}
.page-hero h1 {
  margin-bottom: 0.6rem;
}
.page-hero p {
  max-width: 62ch;
  margin: 0;
  color: #4a665c;
  font-size: 0.98rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.breadcrumb li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.breadcrumb li + li::before {
  content: "›";
  color: rgba(109, 131, 123, 0.7);
}
.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--emerald);
}
.breadcrumb [aria-current="page"] {
  color: var(--emerald);
  font-weight: 500;
}

.avatar-quote {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.avatar-quote p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 2;
  color: #3d5c53;
}
.avatar-quote footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.avatar-quote .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--emerald), var(--deep));
  color: var(--gold-soft);
  font-size: 0.8rem;
  font-weight: 700;
}
.quote-stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 0.8rem;
}

.empty-state {
  text-align: center;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #ffffff, #fbf6ec);
  border: 1px dashed rgba(212, 175, 85, 0.6);
}
.empty-state__icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 1.1rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(6, 75, 53, 0.06);
  color: var(--emerald);
  border: 1px solid rgba(6, 75, 53, 0.1);
}
.empty-state h3 {
  margin-bottom: 0.5rem;
}
.empty-state p {
  max-width: 52ch;
  margin: 0 auto 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.notice {
  display: flex;
  gap: 0.8rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(212, 175, 85, 0.09);
  border: 1px solid rgba(212, 175, 85, 0.4);
  font-size: 0.86rem;
  line-height: 1.95;
  color: #6b571f;
}
.notice svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.35rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}
.notice--neutral {
  background: rgba(6, 75, 53, 0.05);
  border-color: rgba(6, 75, 53, 0.18);
  color: #3c5a51;
}
.notice strong {
  color: var(--deep);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.35rem 0;
  border-block: 1px solid var(--line-gold);
}
.stat-row div {
  text-align: center;
}
.stat-row strong {
  display: block;
  font-size: 1.05rem;
  color: var(--deep);
}
.stat-row span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* 9. فروشگاه و صفحه محصول ------------------------------------------------- */
.shop-toolbar {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr 0.9fr 0.9fr auto;
  gap: 0.75rem;
  align-items: end;
  padding: 1.1rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  margin-bottom: 1.5rem;
}
.field {
  display: grid;
  gap: 0.35rem;
}
.field label {
  font-size: 0.78rem;
  font-weight: 500;
  color: #4a675e;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: #fdfcf9;
  border: 1px solid rgba(6, 75, 53, 0.16);
  border-radius: 12px;
  padding: 0.62rem 0.8rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(6, 75, 53, 0.3);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(6, 75, 53, 0.1);
}
.field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.9;
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--emerald) 50%),
    linear-gradient(135deg, var(--emerald) 50%, transparent 50%);
  background-position: calc(0% + 14px) calc(50% + 2px), calc(0% + 19px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-inline-start: 2.2rem;
}
.field__hint {
  font-size: 0.72rem;
  color: var(--muted);
}
.field__error {
  font-size: 0.75rem;
  color: #a13b2c;
  min-height: 1.1em;
}

.shop-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
  font-size: 0.83rem;
  color: var(--muted);
}
.shop-meta strong {
  color: var(--deep);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(1rem, 1.8vw, 1.4rem);
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: rgba(212, 175, 85, 0.4);
}
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, #f7f1e6, #eef4f1);
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .product-card__media img {
  transform: scale(1.04);
}
.product-card__badges {
  position: absolute;
  top: 0.7rem;
  inset-inline-start: 0.7rem;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.product-card__body {
  padding: 1.05rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}
.product-card__cat {
  font-size: 0.72rem;
  color: var(--muted);
}
.product-card h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
}
.product-card__desc {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__price {
  margin-top: auto;
  padding-top: 0.6rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--deep);
}
.product-card__price span {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
}
.product-card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  margin-top: 0.35rem;
}
.product-card__actions .btn {
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}
.gallery__main {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, #f7f1e6, #eef4f1);
  border: 1px solid var(--line);
}
.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-top: 0.7rem;
}
.gallery__thumbs button {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #f7f1e6;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.gallery__thumbs button:hover,
.gallery__thumbs button[aria-pressed="true"] {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0.35rem 0 0.9rem;
}
.detail-price strong {
  font-size: 1.4rem;
  color: var(--deep);
}
.detail-price span {
  font-size: 0.8rem;
  color: var(--muted);
}
.spec-list {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.spec-list li {
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
  margin: 0;
}
.spec-list li span:first-child {
  color: var(--muted);
}
.spec-list li span:last-child {
  color: var(--ink);
  font-weight: 500;
  text-align: end;
}
.prose h2 {
  font-size: 1.25rem;
  margin-top: 1.8rem;
}
.prose h3 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
}
.prose p,
.prose li {
  font-size: 0.95rem;
  line-height: 2.05;
  color: #3f5d54;
}
.prose ul {
  padding-inline-start: 1.15rem;
}
.prose strong {
  color: var(--deep);
}

/* 10. همکاری و پکیج‌ها ---------------------------------------------------- */
.package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.15rem, 2.4vw, 1.9rem);
  align-items: stretch;
}
.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, #ffffff, #fdf9f1);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
  overflow: hidden;
}
.package-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(6, 75, 53, 0.35), rgba(212, 175, 85, 0.9));
}
.package-card--silver::before {
  background: linear-gradient(90deg, #9aa7a2, #d9e0dd);
}
.package-card--gold {
  background: linear-gradient(168deg, #07523a, var(--deep) 65%, #03291f);
  border-color: rgba(212, 175, 85, 0.5);
  color: rgba(255, 255, 255, 0.82);
}
.package-card--gold::before {
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--gold));
}
.package-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.package-card__title {
  margin: 0;
  font-size: 1.15rem;
}
.package-card--gold .package-card__title,
.package-card--gold h3 {
  color: #fff;
}
.package-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding-bottom: 1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.package-card--gold .package-card__price {
  border-color: rgba(232, 211, 155, 0.28);
}
.package-card__price strong {
  font-size: 1.5rem;
  color: var(--deep);
  letter-spacing: -0.3px;
}
.package-card--gold .package-card__price strong {
  color: var(--gold-soft);
}
.package-card__price small {
  font-size: 0.78rem;
  color: var(--muted);
}
.package-card--gold .package-card__price small {
  color: rgba(255, 255, 255, 0.6);
}
.package-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.package-features li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.88rem;
  line-height: 1.85;
  margin: 0;
  color: #3d5a51;
}
.package-card--gold .package-features li {
  color: rgba(255, 255, 255, 0.82);
}
.package-features li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: rgba(6, 75, 53, 0.08);
  border: 1px solid rgba(212, 175, 85, 0.7);
  box-shadow: inset 0 0 0 3px #fff;
}
.package-card--gold .package-features li::before {
  background: rgba(232, 211, 155, 0.25);
  box-shadow: inset 0 0 0 3px var(--deep);
}
.package-card__actions {
  margin-top: auto;
  display: grid;
  gap: 0.6rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  position: relative;
  margin: 0;
  padding: 1.4rem 1.3rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--line);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--emerald), var(--deep));
  color: var(--gold-soft);
  font-size: 0.82rem;
  font-weight: 700;
}
.steps h3 {
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
}
.steps p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.9;
}

.finance-notes {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.finance-notes li {
  position: relative;
  margin: 0;
  padding-inline-start: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.95;
  color: #3e5c53;
}
.finance-notes li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.75em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* 11. مجله و مقاله -------------------------------------------------------- */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.9vw, 1.5rem);
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: rgba(212, 175, 85, 0.4);
}
.cover {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(150deg, var(--emerald), var(--deep));
  isolation: isolate;
}
.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.9;
  background-image: radial-gradient(40% 60% at 82% 16%, rgba(212, 175, 85, 0.4), transparent 68%),
    radial-gradient(46% 60% at 8% 92%, rgba(232, 211, 155, 0.22), transparent 72%);
}
.cover::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 3;
  border: 1px solid rgba(232, 211, 155, 0.28);
  border-radius: 12px;
  pointer-events: none;
}
.cover[data-tone="2"] {
  background: linear-gradient(150deg, #0a5a41, #064b35);
}
.cover[data-tone="3"] {
  background: linear-gradient(150deg, #123f33, #033b2c);
}
.cover[data-tone="4"] {
  background: linear-gradient(150deg, #2c3a32, #064b35);
}
.cover__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cover__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(3, 41, 31, 0.12), rgba(3, 41, 31, 0.78));
}
.cover__label {
  position: relative;
  z-index: 2;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold-soft);
  letter-spacing: 0.3px;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(232, 211, 155, 0.4);
  border-radius: 999px;
  background: rgba(3, 59, 44, 0.4);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.cover__mark {
  position: absolute;
  z-index: 2;
  inset-inline-end: 1.15rem;
  bottom: 1.1rem;
  font-size: 0.68rem;
  letter-spacing: 2px;
  color: rgba(232, 211, 155, 0.5);
}
.article-card__body {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.73rem;
  color: var(--muted);
}
.article-card__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(109, 131, 123, 0.6);
}
.article-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
}
.article-card h3 a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}
.article-card h3 a:hover {
  color: var(--emerald);
}
.article-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card .link-arrow {
  margin-top: auto;
  padding-top: 0.4rem;
  font-size: 0.84rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}
.filter-pills button {
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 500;
  color: #45625a;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.filter-pills button:hover {
  border-color: rgba(212, 175, 85, 0.55);
  color: var(--emerald);
}
.filter-pills button[aria-pressed="true"] {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #fff;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  align-items: start;
}
.article-body {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-1);
}
.article-header h1 {
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  margin-bottom: 0.7rem;
}
.article-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--line);
}
.article-figure {
  margin: 0 0 1.6rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-gold);
}
.article-figure .cover {
  aspect-ratio: 21 / 9;
}
.article-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
  font-size: 0.8rem;
  color: var(--emerald);
  background: rgba(6, 75, 53, 0.05);
  border: 1px solid rgba(6, 75, 53, 0.12);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}
.share-btn:hover {
  background: rgba(6, 75, 53, 0.1);
  border-color: rgba(6, 75, 53, 0.22);
  color: var(--deep);
}

.sidebar-block {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
  margin-bottom: 1.1rem;
}
.sidebar-block h2,
.sidebar-block h3 {
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}
.sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.sidebar-list li {
  margin: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.sidebar-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.sidebar-list a {
  display: block;
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--ink);
  text-decoration: none;
}
.sidebar-list a:hover {
  color: var(--emerald);
}
.sidebar-list small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.faq-item[open] {
  border-color: rgba(212, 175, 85, 0.55);
  box-shadow: var(--shadow-1);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(6, 75, 53, 0.06);
  color: var(--emerald);
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-item[open] summary::after {
  content: "−";
  background: rgba(212, 175, 85, 0.18);
}
.faq-item__body {
  padding: 0 1.15rem 1.1rem;
  font-size: 0.89rem;
  line-height: 2;
  color: #44615a;
}
.faq-item__body p:last-child {
  margin-bottom: 0;
}

/* 12. فرم‌ها -------------------------------------------------------------- */
.form-card {
  padding: clamp(1.35rem, 3vw, 2.1rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}
.form-grid .field--full {
  grid-column: 1 / -1;
}
.form-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}
.form-status {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.87rem;
  line-height: 1.95;
  border: 1px solid transparent;
}
.form-status.is-visible {
  display: block;
}
.form-status--ok {
  background: rgba(6, 75, 53, 0.07);
  border-color: rgba(6, 75, 53, 0.22);
  color: #194a3b;
}
.form-status--info {
  background: rgba(212, 175, 85, 0.1);
  border-color: rgba(212, 175, 85, 0.45);
  color: #6b571f;
}
.form-status--error {
  background: rgba(161, 59, 44, 0.07);
  border-color: rgba(161, 59, 44, 0.28);
  color: #8e3527;
}
.form-status__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.form-status pre {
  margin: 0.75rem 0 0;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px dashed rgba(109, 131, 123, 0.4);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.82rem;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 220px;
  overflow: auto;
}
.privacy-note {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.85;
}
.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #47645b;
  line-height: 1.8;
}
.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 0.25rem;
  accent-color: var(--emerald);
  flex-shrink: 0;
}

/* 13. فوتر و ناوبری موبایل ------------------------------------------------ */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #04352a, #02251d);
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.5rem;
  margin-top: auto;
  border-top: 1px solid rgba(212, 175, 85, 0.35);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 85, 0.7), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: 2rem;
}
.footer-brand .brand__text strong {
  color: #fff;
}
.footer-brand .brand__text small {
  color: rgba(255, 255, 255, 0.55);
}
.footer-brand p {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.62);
  max-width: 34ch;
}
.footer-col h2 {
  font-size: 0.92rem;
  color: var(--gold-soft);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.footer-col li {
  margin: 0;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.25s var(--ease), padding 0.25s var(--ease);
  display: inline-block;
}
.footer-col a:hover {
  color: var(--gold-soft);
  padding-inline-start: 3px;
}
.footer-contact li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  line-height: 1.9;
}
.footer-contact span {
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}
.footer-contact a {
  direction: ltr;
  unicode-bidi: isolate;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.9;
}
.footer-disclaimer {
  margin: 1.4rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(232, 211, 155, 0.2);
  background: rgba(232, 211, 155, 0.05);
  font-size: 0.76rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.6);
}

.bottom-nav {
  position: fixed;
  z-index: 90;
  inset-inline: 0;
  bottom: 0;
  display: none;
  background: rgba(3, 49, 38, 0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(212, 175, 85, 0.35);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, 0.6);
}
.bottom-nav ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  margin: 0;
  padding: 0.4rem 0.25rem;
}
.bottom-nav li {
  margin: 0;
}
.bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.35rem 0.1rem;
  min-height: 52px;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 500;
  border-radius: 10px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.bottom-nav svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}
.bottom-nav a[aria-current="page"] {
  color: var(--gold-soft);
  background: rgba(232, 211, 155, 0.08);
}
.bottom-nav a[aria-current="page"] svg {
  transform: translateY(-2px);
}
.bottom-nav a:active svg {
  transform: scale(0.92);
}

/* 13.5 اجزای صفحه درباره من ------------------------------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: start;
}
.portrait-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-3);
  background: linear-gradient(160deg, #07523a, var(--deep));
}
.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.portrait-card__caption {
  padding: 1rem 1.15rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.8;
  border-top: 1px solid rgba(232, 211, 155, 0.28);
  background: rgba(3, 41, 31, 0.6);
}
.portrait-card__caption strong {
  display: block;
  color: var(--gold-soft);
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}
.trust-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.trust-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.9;
  color: #3e5c53;
}
.trust-list li::before {
  content: "✓";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 0.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(6, 75, 53, 0.08);
  color: var(--emerald);
  font-size: 0.72rem;
  font-weight: 700;
}

.video-shell {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-gold);
  background: linear-gradient(160deg, #07523a, var(--deep));
  box-shadow: var(--shadow-2);
  aspect-ratio: 16 / 9;
}
.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #02251d;
}
.video-note {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.6rem;
  text-align: center;
  padding: 2rem 1.5rem;
  color: rgba(255, 255, 255, 0.78);
}
.video-note strong {
  color: var(--gold-soft);
  font-size: 1rem;
}
.video-note p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.95;
  max-width: 44ch;
  margin-inline: auto;
}

.agency-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.agency-card img {
  border-radius: var(--radius);
  border: 1px solid var(--line-gold);
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.consult-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.25rem, 2.6vw, 1.8rem);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(6, 75, 53, 0.05), rgba(212, 175, 85, 0.1));
  border: 1px solid var(--line-gold);
}
.consult-callout h3 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
}
.consult-callout p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  max-width: 52ch;
}

/* 13.6 دیالوگ جزئیات پکیج ------------------------------------------------ */
.dialog {
  width: min(94vw, 560px);
  max-width: 94vw;
  padding: 0;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--body);
  box-shadow: var(--shadow-3);
  overflow: hidden;
}
.dialog::backdrop {
  background: rgba(3, 32, 24, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.35rem;
  border-bottom: 1px solid var(--line-gold);
  background: linear-gradient(160deg, #fdfbf7, #f6eee0);
}
.dialog__head h2 {
  margin: 0;
  font-size: 1.02rem;
}
.dialog__close {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--deep);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.dialog__body {
  padding: 1.35rem;
  max-height: min(62vh, 520px);
  overflow-y: auto;
}
.dialog__body h3 {
  margin-top: 1.3rem;
}
.dialog__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0 1.35rem 1.35rem;
}
.dialog__foot .btn {
  flex: 1 1 auto;
}

/* 14. انیمیشن‌ها ---------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
