@charset "UTF-8";
/* ==========================================================================
   اوج نما | Oj Nama Wood  —  ojnama.ir
   استایل اصلی سایت — طراحی و توسعه اختصاصی
   ========================================================================== */

/* ------------------------------ فونت ------------------------------ */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn-var.woff2") format("woff2-variations"),
       url("../fonts/Vazirmatn-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0600-06FF, U+0750-077F, U+200C-200E, U+2010-2015, U+FB50-FDFF, U+FE70-FEFF;
}

/* ------------------------------ ریست ------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

:root {
  --bg: #0b0c0f;
  --bg-2: #101216;
  --panel: #14171c;
  --panel-2: #1a1e25;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --gold: #c9a45c;
  --gold-soft: #e3c994;
  --gold-deep: #96712c;
  --cream: #f6f1e7;
  --cream-2: #ece4d5;

  --text: #eceae5;
  --muted: #a2a5ad;
  --ink: #14161a;
  --ink-muted: #5c5f66;

  --wa: #25d366;

  /* سطوح و شیشه */
  --glass: rgba(11, 12, 15, 0.72);
  --glass-solid: rgba(10, 11, 14, 0.96);
  --overlay: rgba(8, 9, 11, 0.98);
  --hover: rgba(255, 255, 255, 0.06);
  --hover-2: rgba(255, 255, 255, 0.1);
  --text-2: #cfccc6;
  --body-2: #c8c5bf;
  --input-bg: #0e1014;
  --input-bg-focus: #12141a;
  --card-grad: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014));
  --footer-bg: #0a0b0e;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --shadow-1: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-2: 0 18px 50px -18px rgba(0, 0, 0, 0.75);
  --shadow-gold: 0 18px 40px -20px rgba(201, 164, 92, 0.55);

  --container: 1200px;
  --header-h: 68px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #f8f5ef;
  --bg-2: #f1ece2;
  --panel: #ffffff;
  --panel-2: #ffffff;
  --line: rgba(23, 25, 29, 0.1);
  --line-strong: rgba(23, 25, 29, 0.16);

  --gold: #9a7326;
  --gold-soft: #7f5f1d;
  --gold-deep: #6d5117;
  --cream: #f2ebdc;
  --cream-2: #e8ddc7;

  --text: #181a1e;
  --muted: #5f636b;
  --ink: #14161a;
  --ink-muted: #5c5f66;

  --glass: rgba(248, 245, 239, 0.78);
  --glass-solid: rgba(248, 245, 239, 0.97);
  --overlay: rgba(248, 245, 239, 0.99);
  --hover: rgba(23, 25, 29, 0.05);
  --hover-2: rgba(23, 25, 29, 0.09);
  --text-2: #3b3e45;
  --body-2: #3f434a;
  --input-bg: #ffffff;
  --input-bg-focus: #fffdf8;
  --card-grad: linear-gradient(160deg, #ffffff, #fdfbf7);
  --footer-bg: #efe9dd;

  --shadow-1: 0 2px 8px rgba(23, 25, 29, 0.06);
  --shadow-2: 0 18px 50px -22px rgba(23, 25, 29, 0.3);
  --shadow-gold: 0 16px 36px -20px rgba(154, 115, 38, 0.55);
}

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: clip;
}

body {
  font-family: "Vazirmatn", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.85;
  font-size: 16px;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

img { background-color: #1a1d22; }

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  font-size: 16px;
}

button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; }

::selection { background: var(--gold); color: #14161a; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------- تایپوگرافی --------------------------- */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.85rem, 6.2vw, 3.6rem); line-height: 1.28; }
h2 { font-size: clamp(1.45rem, 4.4vw, 2.5rem); }
h3 { font-size: clamp(1.12rem, 3vw, 1.45rem); }
h4 { font-size: clamp(1rem, 2.4vw, 1.15rem); font-weight: 700; }

p { text-wrap: pretty; }

.lead {
  font-size: clamp(0.98rem, 2.4vw, 1.16rem);
  color: var(--muted);
  line-height: 2;
}

.gold { color: var(--gold); }

.grad-text {
  background: linear-gradient(100deg, var(--gold-soft), var(--gold) 45%, #b08a3e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------- لایه‌بندی --------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 32px);
}

.section { padding-block: clamp(52px, 9vw, 104px); position: relative; }
.section--tight { padding-block: clamp(36px, 6vw, 64px); }
.section--cream { background: var(--cream); color: var(--ink); }
.section--cream .lead,
.section--cream .muted { color: var(--ink-muted); }
.section--panel { background: var(--bg-2); }

.section-head {
  max-width: 720px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  background: rgba(201, 164, 92, 0.1);
  border: 1px solid rgba(201, 164, 92, 0.26);
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section--cream .eyebrow {
  background: rgba(150, 113, 44, 0.09);
  border-color: rgba(150, 113, 44, 0.25);
  color: #8a6a28;
}

.eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.section-head h2 + p { margin-top: 14px; }

.muted { color: var(--muted); }

/* ---------------------------- دکمه‌ها ---------------------------- */
.btn {
  --btn-bg: var(--panel-2);
  --btn-fg: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 22px;
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--line-strong);
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
  white-space: nowrap;
  cursor: pointer;
  text-align: center;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.985); }

.btn svg { width: 19px; height: 19px; flex: none; }

.btn--gold {
  --btn-bg: linear-gradient(135deg, #e3c994, #c9a45c 55%, #b18c40);
  --btn-fg: #17140c;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover { --btn-bg: linear-gradient(135deg, #eed9ae, #d4b06a 55%, #bb954a); }

.btn--ghost {
  --btn-bg: transparent;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.4); }

.section--cream .btn--ghost {
  border-color: rgba(20, 22, 26, 0.22);
  color: var(--ink);
}

.section--cream .btn--ghost:hover { background: rgba(20, 22, 26, 0.05); border-color: rgba(20, 22, 26, 0.4); }

.btn--wa {
  --btn-bg: rgba(37, 211, 102, 0.13);
  --btn-fg: #7ff0aa;
  border-color: rgba(37, 211, 102, 0.35);
}

.btn--wa:hover { --btn-bg: rgba(37, 211, 102, 0.2); }

.btn--sm { min-height: 42px; padding: 8px 16px; font-size: 0.88rem; }
.btn--lg { min-height: 54px; padding: 14px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ----------------------------- هدر ----------------------------- */
.skip-link {
  position: absolute;
  top: -100px;
  right: 12px;
  z-index: 200;
  background: var(--gold);
  color: #17140c;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  transition: top 0.2s;
}

.skip-link:focus { top: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.site-header.is-scrolled {
  background: var(--glass-solid);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 5vw, 32px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  min-width: 0;
}

.brand-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 0 0 1px rgba(201, 164, 92, 0.45), 0 6px 18px -8px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: none;
  padding: 2px;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.brand-name { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.62rem; color: var(--muted); letter-spacing: 0.16em; font-weight: 500; }

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}

.nav a {
  position: relative;
  padding: 9px 11px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #cfcdc8;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav a:hover { color: var(--text); background: var(--hover); }

.nav a[aria-current="page"] { color: var(--gold); }

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-inline: 11px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.header-cta { display: flex; align-items: center; gap: 8px; margin-inline-start: 10px; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gold);
  direction: ltr;
  padding: 6px 2px;
}

.header-phone svg { width: 17px; height: 17px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  place-items: center;
  margin-inline-start: auto;
  flex: none;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  position: relative;
  transition: transform 0.3s var(--ease), background 0.2s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), top 0.25s;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* منوی موبایل */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: var(--overlay);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 22px clamp(16px, 5vw, 32px) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}

body.nav-open .mobile-nav {
  opacity: 1;
  visibility: visible;
  transform: none;
}

body.nav-open { overflow: hidden; }

.mobile-nav ul { display: grid; gap: 4px; margin-bottom: 22px; }

.mobile-nav ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel);
  font-weight: 700;
  font-size: 1rem;
}

.mobile-nav ul a[aria-current="page"] { border-color: rgba(201, 164, 92, 0.5); color: var(--gold); }

.mobile-nav ul a span.arrow { color: var(--gold); font-size: 1.1rem; }

.mobile-nav .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mobile-nav .btn-row .btn { width: 100%; min-height: 50px; font-size: 0.95rem; }

.mobile-nav .mobile-contact {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 2;
}

/* ----------------------------- هیرو ----------------------------- */
.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: flex;
  align-items: flex-end;
  padding-block: clamp(40px, 8vw, 90px) clamp(32px, 6vw, 70px);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  background: #0b0c0f;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, #0b0c0f 2%, rgba(11, 12, 15, 0.88) 34%, rgba(11, 12, 15, 0.42) 68%, rgba(11, 12, 15, 0.66) 100%),
    radial-gradient(90% 60% at 80% 10%, rgba(201, 164, 92, 0.16), transparent 60%);
}

.hero__inner { position: relative; width: 100%; }

/* هیرو همیشه تیره است، مستقل از تم */
.hero {
  --text: #f1efe9;
  --text-2: #d9d5cd;
  --body-2: #c3c1bb;
  --muted: #a2a5ad;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.32);
  --hover: rgba(255, 255, 255, 0.09);
  --hover-2: rgba(255, 255, 255, 0.14);
  --panel: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.hero h1 { max-width: 19ch; }

.hero h1 em {
  font-style: normal;
  display: inline-block;
  background: linear-gradient(100deg, #f0dcae, var(--gold) 50%, #b18c40);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  max-width: 52ch;
  margin-top: 18px;
  color: #c3c1bb;
}

.hero .btn-row { margin-top: 26px; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--hover);
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.pill svg { width: 14px; height: 14px; color: var(--gold); flex: none; }

.pill--gold {
  background: rgba(201, 164, 92, 0.16);
  border-color: rgba(201, 164, 92, 0.42);
  color: var(--gold-soft);
}

/* نوار متحرک کلیدواژه */
.marquee {
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(201, 164, 92, 0.07), rgba(201, 164, 92, 0.02));
  overflow: hidden;
  padding-block: 13px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 34px;
  animation: marquee 38s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #b6b3ac;
  white-space: nowrap;
}

.marquee span::after {
  content: "◆";
  font-size: 0.55rem;
  color: var(--gold);
  opacity: 0.8;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ---------------------------- شبکه‌ها ---------------------------- */
.grid { display: grid; gap: clamp(14px, 2.4vw, 22px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* کارت ویژگی */
.feature {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--radius);
  background: var(--card-grad);
  border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
  overflow: hidden;
}

.feature::after {
  content: "";
  position: absolute;
  inset-inline-start: -40%;
  top: -60%;
  width: 60%;
  height: 200%;
  background: radial-gradient(closest-side, rgba(201, 164, 92, 0.13), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.feature:hover { border-color: rgba(201, 164, 92, 0.36); transform: translateY(-3px); }
.feature:hover::after { opacity: 1; }

.feature__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(201, 164, 92, 0.13);
  border: 1px solid rgba(201, 164, 92, 0.26);
  color: var(--gold);
  margin-bottom: 16px;
}

.feature__icon svg { width: 23px; height: 23px; }

.feature h3 { font-size: 1.02rem; margin-bottom: 7px; }

.feature p { font-size: 0.87rem; color: var(--muted); line-height: 1.9; }

.section--cream .feature {
  background: #fff;
  border-color: rgba(20, 22, 26, 0.08);
  box-shadow: 0 1px 2px rgba(20, 22, 26, 0.04), 0 12px 30px -22px rgba(20, 22, 26, 0.5);
}

.section--cream .feature p { color: var(--ink-muted); }
.section--cream .feature__icon { background: rgba(150, 113, 44, 0.1); border-color: rgba(150, 113, 44, 0.22); color: #8a6a28; }

/* -------------------------- بخش شاخص -------------------------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.split--reverse .split__media { order: -1; }

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.split__media--tall img { aspect-ratio: 3 / 4; }

.split__badge {
  position: absolute;
  inset-block-end: 14px;
  inset-inline-start: 14px;
  background: rgba(11, 12, 15, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 9px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.split__badge svg { width: 16px; height: 16px; color: var(--gold); }

.check-list { display: grid; gap: 12px; margin-top: 22px; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.94rem;
  line-height: 1.8;
}

.check-list svg {
  width: 21px;
  height: 21px;
  flex: none;
  margin-top: 3px;
  color: var(--gold);
}

.section--cream .check-list svg { color: #8a6a28; }

.check-list strong { font-weight: 800; }

/* آمار */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat {
  background: var(--bg-2);
  padding: 22px 16px;
  text-align: center;
}

.stat__num {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.stat__label { font-size: 0.78rem; color: var(--muted); margin-top: 4px; }

/* --------------------------- سبک کابینت --------------------------- */
.styles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(228px, 1fr));
  gap: 12px;
}

.style-card {
  position: relative;
  padding: 18px 18px 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.style-card:hover { border-color: rgba(201, 164, 92, 0.4); background: var(--panel-2); transform: translateY(-2px); }

.style-card__n {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold);
  background: rgba(201, 164, 92, 0.12);
  border: 1px solid rgba(201, 164, 92, 0.24);
  border-radius: 8px;
  min-width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.style-card h3 { font-size: 0.95rem; margin-bottom: 3px; }
.style-card p { font-size: 0.8rem; color: var(--muted); line-height: 1.75; }

/* ----------------------------- گالری ----------------------------- */
.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 22px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.filters::-webkit-scrollbar { display: none; }

.chip {
  flex: none;
  padding: 9px 17px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--hover);
  transition: all 0.22s;
  min-height: 40px;
}

.chip:hover { background: var(--hover-2); }

.chip.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #17140c;
  font-weight: 800;
}

.gallery {
  column-count: 3;
  column-gap: 12px;
}

.gallery__item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  cursor: zoom-in;
  border: 1px solid var(--line);
  padding: 0;
  width: 100%;
  display: block;
  margin-bottom: 12px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  line-height: 0;
}

.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--ease), filter 0.4s;
}

.gallery__item:hover img { transform: scale(1.04); }

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.gallery__item:hover::after { opacity: 1; }

.gallery__cap {
  position: absolute;
  inset-block-end: 10px;
  inset-inline: 12px;
  z-index: 2;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  text-align: right;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.gallery__item:hover .gallery__cap { opacity: 1; transform: none; }

.gallery__item.is-hidden { display: none; }

/* موزاییک مربعی برای پیش‌نمایش صفحه اصلی */
.gallery--mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  column-count: initial;
}

.gallery--mosaic .gallery__item {
  margin-bottom: 0;
  aspect-ratio: 1 / 1;
}

.gallery--mosaic .gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* لایت‌باکس */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(5, 6, 8, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 130px);
  max-height: calc(100dvh - 130px);
  width: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px -30px #000;
}

.lightbox__close {
  position: absolute;
  top: calc(12px + env(safe-area-inset-top));
  inset-inline-start: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.3rem;
  z-index: 2;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  color: #fff;
  z-index: 2;
}

.lightbox__nav--prev { inset-inline-end: 10px; }
.lightbox__nav--next { inset-inline-start: 10px; }

.lightbox__cap {
  position: absolute;
  inset-block-end: calc(14px + env(safe-area-inset-bottom));
  inset-inline: 0;
  text-align: center;
  font-size: 0.82rem;
  color: #b9b6b0;
  padding-inline: 20px;
}

/* --------------------------- فرآیند کار --------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2.5vw, 26px);
  counter-reset: step;
  position: relative;
}

.step {
  position: relative;
  counter-increment: step;
  padding-top: 8px;
}

.step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  background: var(--ink);
  color: var(--cream);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.step__num::before { content: counter(step, persian); }

.step::after {
  content: "";
  position: absolute;
  top: 30px;
  inset-inline-start: 52px;
  width: calc(100% - 40px);
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(20, 22, 26, 0.22) 0 6px, transparent 6px 12px);
}

.step:last-child::after { display: none; }

.step h3 { font-size: 1rem; margin-bottom: 5px; }
.step p { font-size: 0.84rem; color: var(--ink-muted); line-height: 1.85; }

/* --------------------------- سوالات متداول --------------------------- */
.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}

.faq details[open] { border-color: rgba(201, 164, 92, 0.4); background: var(--panel-2); }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::before {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gold);
  flex: none;
  transition: transform 0.25s var(--ease);
  font-weight: 400;
  width: 18px;
  text-align: center;
}

.faq details[open] summary::before { transform: rotate(45deg); }

.faq .faq__a {
  padding: 0 18px 18px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 2;
}

.faq .faq__a p + p { margin-top: 10px; }

/* --------------------------- بنر تماس --------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(28px, 6vw, 56px);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(201, 164, 92, 0.28), transparent 55%),
    linear-gradient(135deg, #1b1a16, #14161a 55%, #1a1710);
  border: 1px solid rgba(201, 164, 92, 0.24);
  text-align: center;
}

.cta-band {
  --text: #f4f1ea;
  --text-2: #cfccc5;
  --muted: #a9a6a0;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.3);
  color: var(--text);
}

.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: #bdbab4; max-width: 56ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 24px; }

.cta-band__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: center;
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--muted);
}

.cta-band__phones a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--gold-soft);
  direction: ltr;
}

.cta-band__phones svg { width: 17px; height: 17px; }

/* ---------------------------- QR ---------------------------- */
.qr-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  padding: clamp(22px, 4vw, 38px);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(201, 164, 92, 0.14), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(201, 164, 92, 0.28);
}

.qr-block__img {
  background: #fff;
  padding: 12px;
  border-radius: 18px;
  width: clamp(140px, 40vw, 200px);
  box-shadow: 0 20px 50px -25px rgba(0, 0, 0, 0.9);
  flex: none;
}

.qr-block__img img { width: 100%; height: auto; border-radius: 8px; }

/* ---------------------------- فوتر ---------------------------- */
.site-footer {
  background: #07080a;
  border-top: 1px solid var(--line);
  padding-top: clamp(40px, 7vw, 68px);
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 38px;
}

.footer-brand p { color: var(--muted); margin-top: 14px; line-height: 1.95; font-size: 0.86rem; }

.footer-title {
  font-size: 0.92rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
}

.footer-links { display: grid; gap: 9px; }

.footer-links a {
  color: var(--muted);
  font-size: 0.85rem;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover { color: var(--gold); }

.footer-contact { display: grid; gap: 12px; }

.footer-contact li {
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.85;
  align-items: flex-start;
}

.footer-contact svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 5px; }

.footer-contact a { color: #d5d2cb; direction: ltr; font-weight: 600; }
.footer-contact a:hover { color: var(--gold); }

.socials { display: flex; gap: 9px; margin-top: 16px; }

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: #cfccc6;
  transition: all 0.22s;
}

.socials a:hover { background: var(--gold); color: #17140c; border-color: var(--gold); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: center;
  color: #6e7178;
  font-size: 0.78rem;
}

.footer-bottom a { color: #8f9299; }
.footer-bottom a:hover { color: var(--gold); }

/* ------------------- نوار شناور موبایل ------------------- */
.mobile-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  gap: 8px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  background: var(--glass-solid);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}

.mobile-bar a {
  flex: 1;
  min-height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.84rem;
  font-weight: 700;
}

.mobile-bar a svg { width: 18px; height: 18px; }

.mobile-bar .bar-call { background: var(--gold); color: #17140c; }
.mobile-bar .bar-wa { background: rgba(37, 211, 102, 0.16); color: #7ff0aa; border: 1px solid rgba(37, 211, 102, 0.32); }
.mobile-bar .bar-qr { background: var(--hover); color: var(--text); border: 1px solid var(--line); flex: 0 0 52px; }

/* ------------------------- صفحه داخلی ------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(34px, 7vw, 74px) clamp(30px, 6vw, 60px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 85% -10%, rgba(201, 164, 92, 0.16), transparent 62%),
    var(--bg-2);
  overflow: hidden;
}

.page-hero h1 { max-width: 26ch; }
.page-hero p { max-width: 62ch; margin-top: 16px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 18px;
  padding: 0;
}

.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li + li::before { content: "›"; color: #5a5d64; }
.breadcrumb [aria-current="page"] { color: var(--text-2); }

.prose { max-width: 78ch; }
.prose h2 { margin-top: 2em; margin-bottom: 0.6em; }
.prose h3 { margin-top: 1.6em; margin-bottom: 0.5em; color: var(--gold-soft); }
.prose p { margin-bottom: 1em; color: var(--body-2); line-height: 2.05; }
.prose ul, .prose ol { margin: 0 0 1.2em; display: grid; gap: 8px; }
.prose ul li, .prose ol li { position: relative; padding-inline-start: 22px; color: var(--body-2); line-height: 2; }
.prose ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 4px;
  top: 0.85em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; }
.prose ol li::before {
  content: counter(n) ".";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85em;
  line-height: 2.4;
}
.prose strong { color: var(--text); font-weight: 800; }
.prose a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose blockquote {
  border-inline-start: 3px solid var(--gold);
  padding: 4px 18px;
  margin: 1.5em 0;
  color: var(--text-2);
  background: rgba(201, 164, 92, 0.06);
  border-radius: 0 12px 12px 0;
}
.prose figure { margin: 1.6em 0; }
.prose figure img { border-radius: 16px; width: 100%; }
.prose figcaption { font-size: 0.78rem; color: var(--muted); margin-top: 8px; text-align: center; }

.note {
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(201, 164, 92, 0.08);
  border: 1px solid rgba(201, 164, 92, 0.24);
  font-size: 0.88rem;
  color: #d8d4cb;
  line-height: 1.95;
  margin: 1.4em 0;
}

.note strong { color: var(--gold-soft); }

.section--cream .note {
  background: #fff;
  border-color: rgba(150, 113, 44, 0.26);
  color: #4a4d54;
  box-shadow: 0 10px 30px -24px rgba(20, 22, 26, 0.6);
}

.section--cream .note strong { color: #8a6a28; }

/* جدول */
.table-wrap { overflow-x: auto; margin: 1.6em 0; border-radius: 14px; border: 1px solid var(--line); }

table { width: 100%; border-collapse: collapse; font-size: 0.87rem; min-width: 480px; }

th, td { padding: 12px 14px; text-align: right; border-bottom: 1px solid var(--line); }

th { background: var(--panel-2); font-weight: 800; color: #fff; font-size: 0.83rem; white-space: nowrap; }

tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--hover); }

/* کارت تماس */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
}

.info-card {
  padding: clamp(20px, 3.5vw, 32px);
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
}

.info-list { display: grid; gap: 18px; }

.info-item { display: flex; gap: 13px; align-items: flex-start; }

.info-item__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(201, 164, 92, 0.12);
  border: 1px solid rgba(201, 164, 92, 0.24);
  display: grid;
  place-items: center;
  color: var(--gold);
  flex: none;
}

.info-item__icon svg { width: 20px; height: 20px; }

.info-item h3 { font-size: 0.9rem; margin-bottom: 3px; }
.info-item p, .info-item a { font-size: 0.87rem; color: var(--muted); line-height: 1.9; }
.info-item a:hover { color: var(--gold); }
.info-item a.tel { direction: ltr; display: inline-block; font-weight: 700; color: #dcd9d2; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 30px 20px;
  text-align: center;
  gap: 12px;
  position: relative;
  background-image:
    linear-gradient(rgba(201, 164, 92, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 164, 92, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
}

.map-frame p { font-size: 0.85rem; color: var(--muted); max-width: 34ch; }

/* --------------------------- فرم تماس --------------------------- */
.wa-form { display: grid; gap: 14px; }

.field { display: grid; gap: 6px; }

.field > span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--input-bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea { resize: vertical; min-height: 92px; }

.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238d9098' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 14px 14px;
  padding-left: 38px;
  padding-right: 14px;
}

.field input::placeholder,
.field textarea::placeholder { color: #6a6d75; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--input-bg-focus);
}


/* ---------------------- کارت دیجیتال (QR) ---------------------- */
.card-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(18px, 5vw, 44px) 16px calc(28px + env(safe-area-inset-bottom));
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 45% at 50% 0%, rgba(201, 164, 92, 0.2), transparent 62%),
    radial-gradient(60% 40% at 10% 100%, rgba(201, 164, 92, 0.1), transparent 60%),
    #0a0b0e;
}

.card-wrap { width: 100%; max-width: 460px; margin: auto; }

.vcard {
  position: relative;
  border-radius: 26px;
  background: linear-gradient(170deg, #16181d, #101216 45%, #14120d);
  border: 1px solid rgba(201, 164, 92, 0.3);
  box-shadow: 0 40px 90px -40px #000, 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  overflow: hidden;
  padding: clamp(22px, 6vw, 34px) clamp(18px, 5vw, 30px) clamp(20px, 5vw, 28px);
}

.vcard::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(201, 164, 92, 0.16), transparent);
  pointer-events: none;
}

.vcard__top { text-align: center; position: relative; }

.vcard__logo {
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.22), 0 16px 40px -18px #000;
  overflow: hidden;
}

.vcard__logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; background: none; }

.vcard h1 { font-size: clamp(1.35rem, 5.5vw, 1.7rem); line-height: 1.4; }

.vcard__sub {
  font-size: 0.83rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 5px;
  letter-spacing: 0.01em;
}

.vcard__tagline {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.9;
}

.vcard__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  overflow: hidden;
  margin: 20px 0;
}

.vcard__stats div { background: #12141a; padding: 11px 6px; text-align: center; }
.vcard__stats b { display: block; color: var(--gold-soft); font-size: 0.95rem; font-weight: 800; }
.vcard__stats span { font-size: 0.66rem; color: var(--muted); }

.vcard__actions { display: grid; gap: 9px; }

.vcard__actions .btn { justify-content: flex-start; padding-inline: 16px; border-radius: 14px; }

.vcard__actions .btn .label { flex: 1; text-align: right; }
.vcard__actions .btn .hint { font-size: 0.72rem; font-weight: 500; opacity: 0.72; direction: ltr; letter-spacing: 0.02em; }

body.no-bar { padding-bottom: 0; }
body.no-bar .mobile-bar { display: none; }

.btn--row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

.vcard__foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.74rem;
  color: var(--muted);
}

.vcard__foot img { width: 62px; height: 62px; border-radius: 8px; background: #fff; padding: 3px; flex: none; }

.card-page__bottom {
  text-align: center;
  margin-top: 18px;
  font-size: 0.76rem;
  color: #6b6e75;
}

.card-page__bottom a { color: var(--gold); }

@media (min-width: 900px) {
  .card-page::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("../img/logo-white.png") center / 620px no-repeat;
    opacity: 0.035;
    pointer-events: none;
    z-index: 0;
  }
  .card-page .card-wrap { position: relative; z-index: 1; }
}

/* --------------------------- انیمیشن ورود --------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-in { opacity: 1; transform: none; }

.js .reveal[data-d="1"] { transition-delay: 0.07s; }
.js .reveal[data-d="2"] { transition-delay: 0.14s; }
.js .reveal[data-d="3"] { transition-delay: 0.21s; }
.js .reveal[data-d="4"] { transition-delay: 0.28s; }

/* ----------------------------- کمکی ----------------------------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 18px; }
.mt-3 { margin-top: 28px; }
.mt-4 { margin-top: 40px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.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;
}

/* ---------------------------- 404 ---------------------------- */
.err-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 60px;
}

.err-code {
  font-size: clamp(4rem, 22vw, 9rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(160deg, var(--gold-soft), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================ ریسپانسیو ============================ */
@media (max-width: 1024px) {
  .nav { display: none; }
  .header-phone { display: none; }
  .nav-toggle { display: grid; }
  .header-cta { margin-inline-start: auto; }
  .header-cta .btn { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .split--reverse .split__media { order: 0; }
  .split__media img { aspect-ratio: auto; height: auto; object-fit: cover; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .step:nth-child(2)::after { display: none; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { column-count: 2; }
}

@media (max-width: 760px) {
  :root { --header-h: 62px; }

  body { font-size: 15.5px; line-height: 1.85; }

  .brand-badge { width: 38px; height: 38px; }
  .brand-name { font-size: 0.95rem; }
  .brand-sub { font-size: 0.56rem; letter-spacing: 0.12em; }

  .hero { min-height: auto; padding-block: 54px 40px; }
  .hero h1 { font-size: clamp(1.7rem, 8.4vw, 2.3rem); max-width: 100%; }
  .hero p.lead { font-size: 0.94rem; }
  .hero__media img { object-position: center 35%; }
  .hero__media::after {
    background:
      linear-gradient(to top, #0b0c0f 1%, rgba(11, 12, 15, 0.92) 40%, rgba(11, 12, 15, 0.52) 78%, rgba(11, 12, 15, 0.76) 100%);
  }

  .hero .btn-row .btn { flex: 1 1 auto; min-width: 46%; }
  .hero .btn-row { gap: 9px; }

  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }

  .feature { padding: 18px 16px; }
  .feature__icon { width: 40px; height: 40px; border-radius: 11px; margin-bottom: 12px; }
  .feature__icon svg { width: 20px; height: 20px; }
  .feature h3 { font-size: 0.98rem; }
  .feature p { font-size: 0.84rem; line-height: 1.85; }
  .grid { gap: 12px; }

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

  .gallery { column-count: 2; column-gap: 9px; }
  .gallery__item { margin-bottom: 9px; }
  .gallery--mosaic { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .gallery--mosaic .gallery__item { margin-bottom: 0; }
  .gallery__cap { display: none; }

  .qr-block { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .qr-block__img { width: 168px; }

  .cta-band { border-radius: 20px; padding: 26px 18px; }
  .cta-band .btn-row .btn { flex: 1 1 100%; }

  .steps { grid-template-columns: 1fr; gap: 18px; }
  .step { padding-inline-start: 58px; padding-top: 0; }
  .step__num { position: absolute; inset-inline-start: 0; top: 0; margin: 0; }
  .step::after { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; gap: 8px; }

  .mobile-bar { display: flex; }
  body { padding-bottom: 68px; }
  .card-page { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .card-page ~ .mobile-bar,
  .no-bar .mobile-bar { display: none; }

  .page-hero { padding-block: 30px 34px; }
  .breadcrumb { font-size: 0.72rem; }

  .prose p, .prose ul li, .prose ol li { font-size: 0.93rem; }

  .btn--lg { width: 100%; }
  .lightbox__nav { width: 40px; height: 40px; }

  .faq summary { font-size: 0.9rem; padding: 14px 15px; }
  .faq .faq__a { padding: 0 15px 15px; font-size: 0.86rem; }
}

@media (max-width: 340px) {
  .gallery { column-count: 1; }
}

@media (max-width: 400px) {
  .btn-row .btn { flex: 1 1 100%; }
  .hero-badges .pill { font-size: 0.72rem; padding: 5px 10px; }
  .vcard__stats b { font-size: 0.85rem; }
}

/* ---------------------- کاهش حرکت ---------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
}

/* ------------------------- چاپ ------------------------- */
@media print {
  .site-header, .site-footer, .mobile-bar, .marquee, .nav-toggle, .lightbox { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  .section { padding-block: 16px; }
  .section--cream { background: #fff; }
  a { text-decoration: none; color: #000; }
  .vcard { box-shadow: none; border: 1px solid #999; background: #fff; }
  .vcard h1, .vcard__stats b { color: #000; }
}


/* ==========================================================================
   نسخه ۲ — تم روز/شب، دکمه‌ها، ناوبری، نوار اعتماد، فوتر
   ========================================================================== */

/* ------------------------- دکمه تغییر تم ------------------------- */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--gold);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.4s var(--ease), background 0.3s;
}

.theme-toggle:hover {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 164, 92, 0.14);
  transform: rotate(12deg);
}

.theme-toggle:active { transform: scale(0.94); }

.theme-toggle svg {
  width: 19px;
  height: 19px;
  position: absolute;
  transition: opacity 0.3s ease, transform 0.5s var(--ease);
}

.theme-toggle .ic-moon { opacity: 1; transform: scale(1) rotate(0deg); }
.theme-toggle .ic-sun { opacity: 0; transform: scale(0.3) rotate(-90deg); }

html[data-theme="light"] .theme-toggle .ic-moon { opacity: 0; transform: scale(0.3) rotate(90deg); }
html[data-theme="light"] .theme-toggle .ic-sun { opacity: 1; transform: scale(1) rotate(0deg); }

/* ---------------------------- دکمه‌ها ---------------------------- */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 100px;
  padding: 11px 22px;
  min-height: 48px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: var(--text);
  background: linear-gradient(180deg, var(--hover-2), var(--hover));
  border: 1px solid var(--line-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 10px 22px -18px rgba(0, 0, 0, 0.95);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
              background 0.3s, border-color 0.3s, color 0.25s;
}

:where(html[data-theme="light"]) .btn {
  background: var(--btn-light-bg, linear-gradient(180deg, #ffffff, #f5f1e9));
  box-shadow: var(--btn-light-shadow, inset 0 1px 0 #fff, 0 8px 18px -14px rgba(23, 25, 29, 0.4));
}

.btn::after {
  content: "";
  position: absolute;
  top: -60%;
  bottom: -60%;
  left: -45%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-14deg);
  transition: transform 0.75s var(--ease);
  pointer-events: none;
  z-index: 1;
}

.btn:hover::after { transform: translateX(330%) skewX(-14deg); }

.btn:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 34px -22px rgba(0, 0, 0, 0.95);
}

.btn:active { transform: translateY(0) scale(0.985); }

.btn svg { transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: scale(1.12); }

.btn--gold {
  color: #1a1509;
  background: linear-gradient(160deg, #f4dfb3 0%, #dcba79 36%, #c69c50 72%, #b28a3d 100%);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6),
              0 14px 30px -16px rgba(201, 164, 92, 0.85),
              0 2px 6px rgba(0, 0, 0, 0.22);
}

.btn--gold:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7),
              0 20px 42px -18px rgba(201, 164, 92, 0.95),
              0 2px 8px rgba(0, 0, 0, 0.25);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--hover);
  border-color: var(--gold);
  color: var(--gold);
}

.btn--ghost::after { display: none; }

.btn--soft {
  background: var(--panel);
  border-color: var(--line);
  color: var(--gold);
  box-shadow: none;
}

.btn--soft:hover {
  border-color: var(--gold);
  background: var(--hover);
}

.btn--wa {
  color: #8ff5b6;
  background: linear-gradient(180deg, rgba(37, 211, 102, 0.22), rgba(37, 211, 102, 0.1));
  border-color: rgba(37, 211, 102, 0.42);
  box-shadow: 0 14px 28px -22px rgba(37, 211, 102, 0.8);
}

.btn--wa:hover { border-color: rgba(37, 211, 102, 0.7); }

html[data-theme="light"] .btn--wa {
  color: #0e6b36;
  background: linear-gradient(180deg, #eafaf1, #dbf6e6);
  border-color: rgba(15, 122, 61, 0.3);
  box-shadow: 0 10px 22px -18px rgba(15, 122, 61, 0.55);
}

/* --------------------------- ناوبری --------------------------- */
.nav { gap: 3px; }

.nav a {
  padding: 8px 13px;
  border-radius: 100px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--text-2);
  background: var(--hover);
  border: 1px solid var(--line);
  transition: color 0.22s, background 0.22s, border-color 0.22s, transform 0.22s var(--ease), box-shadow 0.22s;
}

.nav a::after { display: none; }

.nav a:hover {
  color: var(--gold);
  background: var(--panel);
  border-color: rgba(201, 164, 92, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -14px rgba(0, 0, 0, 0.8);
}

.nav a[aria-current="page"] {
  color: var(--gold);
  background: rgba(201, 164, 92, 0.14);
  border-color: rgba(201, 164, 92, 0.32);
}

html[data-theme="light"] .nav a[aria-current="page"] {
  background: rgba(154, 115, 38, 0.11);
  border-color: rgba(154, 115, 38, 0.28);
}

/* ------------------------ نوار اعتماد ------------------------ */
.trust-strip {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
}

.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px 8px;
  position: relative;
}

.trust + .trust::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 24%;
  bottom: 24%;
  width: 1px;
  background: var(--line);
}

.trust svg {
  width: 21px;
  height: 21px;
  color: var(--gold);
  flex: none;
}

.trust b {
  display: block;
  font-size: 0.87rem;
  font-weight: 800;
  line-height: 1.5;
}

.trust span {
  display: block;
  font-size: 0.73rem;
  color: var(--muted);
  line-height: 1.6;
}

/* --------------------- فهرست فشرده سبک‌ها --------------------- */
.style-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 clamp(18px, 3vw, 34px);
}

.style-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.style-list__n {
  width: 27px;
  height: 27px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 1px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold);
  background: rgba(201, 164, 92, 0.12);
  border: 1px solid rgba(201, 164, 92, 0.26);
  font-variant-numeric: tabular-nums;
}

.style-list b {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.6;
}

.style-list .d {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.75;
}

/* -------------------------- کارت تیم -------------------------- */
.team-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}

.team-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 1.2rem;
  font-weight: 800;
  color: #1a1509;
  background: linear-gradient(160deg, #f4dfb3, #c69c50);
  box-shadow: 0 10px 22px -14px rgba(201, 164, 92, 0.9);
}

.team-avatar svg { width: 27px; height: 27px; }

.team-card h3 { font-size: 1rem; line-height: 1.5; }
.team-card p { font-size: 0.79rem; color: var(--muted); line-height: 1.6; }

.team-card .btn {
  margin-inline-start: auto;
  flex: none;
  direction: ltr;
}

/* --------------------- شبکه‌های اجتماعی --------------------- */
.social-list { display: grid; gap: 8px; margin-top: 10px; }

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  transition: border-color 0.22s, background 0.22s, transform 0.22s var(--ease);
}

.social-link:hover {
  border-color: var(--gold);
  background: var(--hover);
  transform: translateX(-3px);
}

.social-link svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.social-link b { font-size: 0.85rem; font-weight: 700; }

.social-link em {
  margin-inline-start: auto;
  font-style: normal;
  font-size: 0.75rem;
  color: var(--muted);
  direction: ltr;
}

/* ---------------------------- فوتر ---------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--footer-bg);
  border-top: 1px solid var(--line);
  padding-top: clamp(38px, 6vw, 62px);
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  font-size: 0.88rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 92, 0.6), transparent);
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -170px;
  inset-inline-start: -130px;
  width: 430px;
  height: 430px;
  background: radial-gradient(closest-side, rgba(201, 164, 92, 0.13), transparent);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1.3fr;
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 34px;
}

.footer-brand p {
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.95;
  font-size: 0.84rem;
  max-width: 34ch;
}

.footer-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text);
}

.footer-title::before {
  content: "";
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  flex: none;
}

.footer-links { display: grid; gap: 2px; }

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--muted);
  font-size: 0.84rem;
  padding: 5px 0;
  transition: color 0.2s, gap 0.2s;
}

.footer-links a::before {
  content: "›";
  color: var(--gold);
  width: 0;
  overflow: hidden;
  opacity: 0;
  transition: width 0.2s, opacity 0.2s;
  line-height: 1;
}

.footer-links a:hover { color: var(--gold); gap: 7px; }
.footer-links a:hover::before { width: 8px; opacity: 1; }

.footer-contact { display: grid; gap: 10px; }

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
}

.footer-contact .fc-ic {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 2px;
  color: var(--gold);
  background: rgba(201, 164, 92, 0.1);
  border: 1px solid rgba(201, 164, 92, 0.22);
}

.footer-contact .fc-ic svg { width: 15px; height: 15px; }

.footer-contact a {
  color: var(--text);
  direction: ltr;
  font-weight: 700;
  display: inline-block;
}

.footer-contact a:hover { color: var(--gold); }

.footer-contact em {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  color: var(--muted);
  direction: rtl;
}

.footer-social { display: flex; gap: 8px; margin-top: 16px; }

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--hover);
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1509;
  transform: translateY(-3px);
}

.footer-social svg { width: 18px; height: 18px; }

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.77rem;
}

.footer-bottom a { color: var(--text-2); }
.footer-bottom a:hover { color: var(--gold); }

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 0.76rem;
  font-weight: 600;
  transition: border-color 0.22s, color 0.22s, transform 0.22s var(--ease);
}

.to-top:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.to-top svg { width: 14px; height: 14px; transform: rotate(90deg); }

/* ------------------- اصلاحات تم روز ------------------- */
html[data-theme="light"] th {
  background: #f0eade;
  color: var(--ink);
}

html[data-theme="light"] .chip.is-active {
  background: #8a6722;
  border-color: #8a6722;
  color: #fff;
}

html[data-theme="light"] .mobile-bar .bar-wa {
  background: rgba(15, 122, 61, 0.1);
  color: #0e6b36;
  border-color: rgba(15, 122, 61, 0.26);
}

html[data-theme="light"] .note {
  color: #43474e;
  background: #fdf8ec;
  border-color: rgba(154, 115, 38, 0.24);
}

html[data-theme="light"] .note strong { color: #7f5f1d; }

html[data-theme="light"] .prose blockquote {
  color: var(--text-2);
  background: rgba(154, 115, 38, 0.06);
}

html[data-theme="light"] .qr-block {
  background: linear-gradient(150deg, rgba(201, 164, 92, 0.16), #ffffff 65%);
}

html[data-theme="light"] .section--cream .feature { background: #fff; }

/* مناطقی که همیشه تیره می‌مانند */
.hero,
.cta-band,
.card-page,
.vcard {
  --gold: #c9a45c;
  --gold-soft: #e3c994;
  --gold-deep: #96712c;
}

.card-page,
.vcard {
  --text: #eceae5;
  --text-2: #d3d0c9;
  --body-2: #c8c5bf;
  --muted: #a2a5ad;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --panel: #14171c;
  --panel-2: #1a1e25;
  --hover: rgba(255, 255, 255, 0.07);
  --hover-2: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

html[data-theme="light"] .card-page,
html[data-theme="light"] .vcard {
  --gold: #c9a45c;
  --gold-soft: #e3c994;
  --btn-light-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  --btn-light-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 10px 22px -18px rgba(0, 0, 0, 0.95);
}

/* ------------------------- ریسپانسیو نسخه ۲ ------------------------- */
@media (max-width: 1240px) {
  .header-phone { display: none; }
}

@media (max-width: 1024px) {
  .theme-toggle { width: 40px; height: 40px; }
  .trust-strip__inner { grid-template-columns: repeat(2, 1fr); }
  .trust:nth-child(odd)::before { display: none; }
  .trust:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .style-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 760px) {
  .theme-toggle { width: 40px; height: 40px; }
  .nav-toggle { margin-inline-start: 0; }

  .trust { padding: 13px 6px; gap: 9px; }
  .trust svg { width: 18px; height: 18px; }
  .trust b { font-size: 0.8rem; }
  .trust span { font-size: 0.68rem; }

  .style-list { grid-template-columns: 1fr; }
  .style-list li { padding: 12px 0; }

  .team-card { flex-wrap: wrap; }
  .team-card .btn { margin-inline-start: 0; width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-brand p { max-width: none; }
}
