/* ═══════════════════════════════════════════════════════════════
   لومینا — استایل صفحهٔ اصلی
   پالت دوحالتهٔ کامل + کامپوننت‌های موتور طراحی (data-rb)
   ═══════════════════════════════════════════════════════════════ */

:root,
html[data-theme="light"] {
  --lm-bg: #FFF9FB;
  --lm-bg-alt: #FBEDF2;
  --lm-surface: #FFFFFF;
  --lm-surface-2: #FFF4F7;
  --lm-ink: #2A0E18;
  --lm-soft: #7A5663;
  --lm-line: #F0D6DF;
  --lm-primary: #BE185D;
  --lm-primary-soft: #9D174D;
  --lm-accent: #BE185D;
  --lm-wine: #4C0519;
  --lm-cream: #FFF8F6;
  --lm-glow: rgba(190, 24, 93, .16);
  --lm-shadow: 0 18px 50px -26px rgba(94, 18, 45, .32);
  --lm-shadow-lg: 0 40px 90px -50px rgba(94, 18, 45, .45);
  --lm-radius: 26px;
  --lm-radius-sm: 16px;
}

html[data-theme="dark"] {
  --lm-bg: #14070D;
  --lm-bg-alt: #1E0A12;
  --lm-surface: #1E0A12;
  --lm-surface-2: #280D18;
  --lm-ink: #FDF4F7;
  --lm-soft: #C9A6B2;
  --lm-line: #3A1322;
  --lm-primary: #BE185D;
  --lm-primary-soft: #F472B6;
  --lm-accent: #F472B6;
  --lm-wine: #3A0B1C;
  --lm-cream: #FFF6F9;
  --lm-glow: rgba(244, 114, 182, .18);
  --lm-shadow: 0 22px 60px -30px rgba(0, 0, 0, .9);
  --lm-shadow-lg: 0 44px 100px -46px rgba(0, 0, 0, .95);
}

/* ───────── پایه ───────── */
.lm-home {
  background: var(--lm-bg);
  color: var(--lm-ink);
  font-family: var(--font-body, VazirMatn, Tahoma, sans-serif);
  overflow-x: clip;
}
.lm-home *,
.lm-home *::before,
.lm-home *::after { box-sizing: border-box; }

.lm-home h1,
.lm-home h2,
.lm-home h3 {
  font-family: var(--font-heading, Pinar, VazirMatn, sans-serif);
  color: var(--lm-ink);
  margin: 0;
  letter-spacing: -.01em;
}

.lm-home p { color: var(--lm-soft); line-height: 1.95; margin: 0; }
.lm-home img { display: block; max-width: 100%; }
.lm-home a { color: inherit; }

.lm-home svg { width: 18px; height: 18px; stroke-width: 1.8; }

.lm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px !important;
  color: var(--lm-accent) !important;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.lm-eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--lm-accent);
  opacity: .65;
  flex: 0 0 26px;
}

.lm-section {
  position: relative;
  padding: clamp(58px, 8vw, 106px) 0;
  background: var(--lm-bg);
}
.lm-section--alt { background: var(--lm-bg-alt); }

.lm-sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.lm-sec-head h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.3;
  font-weight: 700;
}
.lm-sec-head__desc {
  font-size: 14.5px;
  max-width: 460px;
  padding-bottom: 6px;
}

/* ───────── دکمه‌ها (تک‌خطی) ───────── */
.lm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: clamp(12px, .88vw, 13.5px);
  font-weight: 800;
  padding: 11px 22px;
  border-radius: 999px;
  line-height: 1.3;
  white-space: nowrap;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.lm-btn svg { width: 16px; height: 16px; }
.lm-btn:hover { transform: translateY(-2px); }

.lm-btn--primary {
  background: linear-gradient(135deg, #BE185D 0%, #9D174D 100%);
  color: #FFF7FA !important;
  box-shadow: 0 16px 36px -18px rgba(190, 24, 93, .75);
}
.lm-btn--primary:hover { box-shadow: 0 22px 46px -18px rgba(190, 24, 93, .85); }

.lm-btn--ghost {
  background: transparent;
  color: var(--lm-ink) !important;
  border-color: color-mix(in srgb, var(--lm-ink) 18%, transparent);
}
.lm-btn--ghost:hover {
  border-color: var(--lm-accent);
  color: var(--lm-accent) !important;
}

.lm-btn--light {
  background: var(--lm-cream);
  color: #4C0519 !important;
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .5);
}

.lm-btn--block { width: 100%; }

.lm-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--lm-accent) !important;
  text-decoration: none;
}
.lm-text-link span { transition: transform .3s ease; }
.lm-text-link:hover span { transform: translateX(-4px); }

/* ═════════ ۱ · هیرو ═════════ */
.lm-hero {
  position: relative;
  padding: clamp(34px, 5vw, 64px) 0 clamp(46px, 6vw, 84px);
  background:
    radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--lm-bg-alt) 92%, transparent) 0%, transparent 62%),
    var(--lm-bg);
  overflow: hidden;
}
.lm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--lm-ink) 7%, transparent) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .35;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 72%);
}
.lm-hero__in { position: relative; z-index: 2; }

.lm-hero__bento {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.lm-hero__main {
  grid-column: span 8;
  background: color-mix(in srgb, var(--lm-surface) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--lm-line) 80%, transparent);
  border-radius: 34px;
  padding: clamp(26px, 4.4vw, 54px);
  box-shadow: var(--lm-shadow);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lm-hero__title {
  font-size: clamp(34px, 5.4vw, 68px) !important;
  line-height: 1.16 !important;
  font-weight: 800 !important;
  letter-spacing: -.02em;
  margin: 0 0 18px !important;
  color: var(--lm-ink) !important;
}
.lm-hero__title .aw-de-word { display: inline-block; }

.lm-hero__sub {
  font-size: clamp(14.5px, 1.3vw, 17px);
  line-height: 2;
  max-width: 560px;
  margin-bottom: 26px !important;
}
.lm-hero__sub strong {
  color: var(--lm-accent);
  font-weight: 800;
}

.lm-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.lm-hero__trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 0;
  margin: 0;
}
.lm-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--lm-soft);
}
.lm-hero__trust svg { width: 16px; height: 16px; color: var(--lm-accent); }

.lm-hero__media {
  grid-column: span 4;
  position: relative;
  margin: 0 !important;
  border-radius: 34px;
  overflow: hidden;
  min-height: 340px;
  box-shadow: var(--lm-shadow-lg);
  border: 1px solid color-mix(in srgb, var(--lm-line) 60%, transparent);
}
.lm-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.22,.61,.36,1);
}
.lm-hero__media:hover img { transform: scale(1.045); }
.lm-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 4, 10, .02) 30%, rgba(20, 4, 10, .72) 100%);
}
.lm-hero__media-cap {
  position: absolute;
  inset-inline: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  gap: 5px;
  color: #FFF6F9;
}
.lm-hero__media-kicker {
  font-size: 10.5px;
  letter-spacing: .18em;
  font-weight: 800;
  color: #FFD9E6;
}
.lm-hero__media-title {
  font-family: var(--font-heading, Pinar, sans-serif);
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.4;
}
.lm-hero__media-badge {
  position: absolute;
  top: 18px;
  inset-inline-start: 18px;
  z-index: 2;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 249, 251, .92);
  color: #4C0519;
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.lm-hero__feature {
  grid-column: span 4;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: color-mix(in srgb, var(--lm-surface) 78%, transparent);
  border: 1px solid color-mix(in srgb, var(--lm-line) 78%, transparent);
  border-radius: 28px;
  backdrop-filter: blur(12px);
  box-shadow: var(--lm-shadow);
}
.lm-hero__feature-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--lm-primary) 12%, transparent);
  color: var(--lm-accent);
}
.lm-hero__feature-icon svg { width: 20px; height: 20px; }
.lm-hero__feature-kicker {
  font-size: 10.5px !important;
  letter-spacing: .16em;
  color: var(--lm-accent) !important;
  font-weight: 800;
  margin-bottom: 6px !important;
}
.lm-hero__feature h3 {
  font-size: 16.5px;
  line-height: 1.5;
  margin-bottom: 7px;
}
.lm-hero__feature p { font-size: 12.5px; line-height: 1.85; }

.lm-hero__stats {
  grid-column: span 8;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 20px 22px;
  border-radius: 28px;
  background: color-mix(in srgb, var(--lm-surface) 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--lm-line) 70%, transparent);
  backdrop-filter: blur(12px);
}
.lm-hero__stats div {
  display: grid;
  gap: 4px;
  padding-inline: 8px;
  border-inline-start: 1px solid color-mix(in srgb, var(--lm-line) 75%, transparent);
}
.lm-hero__stats div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.lm-hero__stats b {
  font-family: var(--font-heading, Pinar, sans-serif);
  font-size: clamp(18px, 1.9vw, 25px);
  color: var(--lm-ink);
  font-weight: 700;
}
.lm-hero__stats span { font-size: 11.5px; color: var(--lm-soft); line-height: 1.5; }

/* ═════════ ۲ · مارکی ═════════ */
.lm-marquee {
  position: relative;
  padding: 15px 0;
  background: #2A0611;
  border-block: 1px solid rgba(255, 214, 230, .16);
  overflow: hidden;
}
.lm-marquee__track {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;
  animation: lmMarquee 38s linear infinite;
}
.lm-marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  color: #FFE6EE;
  white-space: nowrap;
}
.lm-marquee__track svg { width: 16px; height: 16px; color: #F9A8D4; }
@keyframes lmMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
@media (prefers-reduced-motion: reduce) {
  .lm-marquee__track { animation: none; }
}

/* ═════════ ۳ · دسته‌بندی بنتو ═════════ */
.lm-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.lm-cat-card {
  display: flex;
  flex-direction: column;
  background: var(--lm-surface);
  border: 1px solid var(--lm-line);
  border-radius: var(--lm-radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 30px -24px rgba(94, 18, 45, .3);
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.lm-cat-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--lm-primary) 38%, var(--lm-line));
  box-shadow: var(--lm-shadow);
}
.lm-cat-card__media {
  height: 260px;
  overflow: hidden;
  position: relative;
  background: var(--lm-bg-alt);
}
.lm-cat-card__media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 0;
  transition: transform 1s cubic-bezier(.22,.61,.36,1);
}
.lm-cat-card:hover .lm-cat-card__media img { transform: scale(1.05); }
.lm-cat-card__media.cat-overlay {
  aspect-ratio: auto !important;
  display: block !important;
  align-items: stretch !important;
  height: 260px;
  padding: 0 !important;
  border-radius: 0 !important;
}
.lm-cat-card__media.cat-overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}
.lm-cat-card__body {
  position: relative;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.lm-cat-card__icon {
  position: absolute;
  top: -22px;
  inset-inline-end: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--lm-surface);
  border: 1px solid var(--lm-line);
  color: var(--lm-accent);
  box-shadow: 0 8px 20px -10px rgba(94, 18, 45, .35);
}
.lm-cat-card__icon svg { width: 19px; height: 19px; }
.lm-cat-card__body h3 { font-size: 16.5px; line-height: 1.5; }
.lm-cat-card__body p { font-size: 12.5px; line-height: 1.7; }
.lm-cat-card__link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--lm-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lm-cat-card__link b { transition: transform .3s ease; font-weight: 800; }
.lm-cat-card:hover .lm-cat-card__link b { transform: translateX(-4px); }

.lm-cat-banner {
  grid-column: span 4;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 300px;
  border-radius: var(--lm-radius);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--lm-shadow);
  border: 1px solid rgba(255, 255, 255, .08);
}
.lm-cat-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lm-cat-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(30, 3, 13, .94) 0%, rgba(30, 3, 13, .72) 52%, rgba(30, 3, 13, .18) 100%);
}
.lm-cat-banner__body {
  position: relative;
  z-index: 2;
  max-width: 330px;
  padding: clamp(24px, 3.4vw, 40px);
  display: grid;
  gap: 10px;
  justify-items: start;
}
.lm-cat-banner__body .lm-eyebrow { color: #F9A8D4 !important; margin: 0 !important; }
.lm-cat-banner__body .lm-eyebrow::before { background: #F9A8D4; }
.lm-cat-banner__body h3 {
  color: #FFF6F9 !important;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.35;
}
.lm-cat-banner__body p {
  color: rgba(255, 243, 247, .82) !important;
  font-size: 13px;
  line-height: 1.9;
}
.lm-cat-banner__body .lm-btn { margin-top: 8px; }
.lm-cat-banner__tag {
  position: absolute;
  top: 18px;
  inset-inline-start: 18px;
  z-index: 2;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #FFF6F9;
  font-size: 10.5px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

/* ═════════ ۴ · آزمایشگاه ═════════ */
.lm-lab__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.lm-lab__intro h2 {
  font-size: clamp(27px, 3.6vw, 44px);
  line-height: 1.28;
  margin-bottom: 18px;
}
.lm-lab__lead { font-size: 14.5px; line-height: 2; max-width: 470px; }
.lm-chip-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 22px 0;
}
.lm-chip-row li {
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--lm-primary) 22%, var(--lm-line));
  background: color-mix(in srgb, var(--lm-primary) 6%, transparent);
  color: var(--lm-ink);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.lm-lab__note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--lm-radius-sm);
  border: 1px dashed color-mix(in srgb, var(--lm-primary) 30%, var(--lm-line));
  background: color-mix(in srgb, var(--lm-surface) 60%, transparent);
}
.lm-lab__note svg { color: var(--lm-accent); flex: 0 0 18px; margin-top: 3px; }
.lm-lab__note p { font-size: 12px; line-height: 1.85; }

.lm-lab__panel {
  background: var(--lm-surface);
  border: 1px solid var(--lm-line);
  border-radius: 30px;
  padding: clamp(20px, 2.6vw, 30px);
  box-shadow: var(--lm-shadow);
}
.lm-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: var(--lm-bg-alt);
  border: 1px solid var(--lm-line);
  margin-bottom: 22px;
  overflow-x: auto;
  scrollbar-width: none;
}
.lm-tabs::-webkit-scrollbar { display: none; }
.lm-tab {
  flex: 1 0 auto;
  border: 0;
  background: transparent;
  padding: 9px 15px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  color: var(--lm-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: background .3s, color .3s, box-shadow .3s;
}
.lm-tab.is-active {
  background: var(--lm-surface);
  color: var(--lm-accent);
  box-shadow: 0 6px 18px -10px rgba(94, 18, 45, .35);
}
.lm-tab-panel { display: none; }
.lm-tab-panel.is-active { display: block; animation: lmFadeUp .45s ease both; }
.lm-tab-panel h3 {
  font-size: clamp(18px, 2vw, 23px);
  margin-bottom: 10px;
}
.lm-tab-panel p { font-size: 13.5px; line-height: 2; margin-bottom: 18px; }

.lm-bars { display: grid; gap: 12px; margin-bottom: 6px; }
.lm-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "label value" "bar bar";
  gap: 6px 10px;
  align-items: center;
}
.lm-bar span { grid-area: label; font-size: 11.5px; font-weight: 700; color: var(--lm-ink); }
.lm-bar b { grid-area: value; font-size: 11.5px; color: var(--lm-accent); font-weight: 800; }
.lm-bar i {
  grid-area: bar;
  display: block;
  height: 7px;
  border-radius: 999px;
  background: var(--lm-bg-alt);
  overflow: hidden;
  position: relative;
}
.lm-bar i::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: var(--v, 50%);
  border-radius: 999px;
  background: linear-gradient(90deg, #BE185D, #F472B6);
}
@keyframes lmFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.lm-faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 4vw, 56px);
  margin-top: clamp(46px, 6vw, 82px);
  padding-top: clamp(32px, 4vw, 52px);
  border-top: 1px solid var(--lm-line);
}
.lm-faq-head h2 {
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.4;
}
.lm-faq .rb-faq-item {
  border: 1px solid var(--lm-line);
  border-radius: var(--lm-radius-sm);
  background: var(--lm-surface);
  margin-bottom: 10px;
  overflow: hidden;
}
.lm-faq .rb-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--lm-ink);
  text-align: start;
  cursor: pointer;
}
.lm-faq .rb-faq-q span {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--lm-primary) 10%, transparent);
  color: var(--lm-accent);
  font-weight: 900;
  line-height: 1;
}
.lm-faq .rb-faq-a {
  padding: 0 18px 16px;
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--lm-soft);
}
.lm-faq .rb-faq-item:not(.open) .rb-faq-a { display: none; }

/* ═════════ ۵ · پوست‌یاب ═════════ */
.lm-finder { background: var(--lm-bg); }
.lm-finder__card {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(20px, 3.4vw, 40px);
  padding: clamp(22px, 3.6vw, 48px);
  border-radius: 34px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(244, 114, 182, .25) 0%, transparent 55%),
    linear-gradient(135deg, #3A0617 0%, #4C0519 55%, #2A0611 100%);
  box-shadow: var(--lm-shadow-lg);
  color: var(--lm-cream);
  align-items: center;
}
.lm-finder__copy .lm-eyebrow { color: #F9A8D4 !important; }
.lm-finder__copy .lm-eyebrow::before { background: #F9A8D4; }
.lm-finder__copy h2 {
  color: #FFF6F9 !important;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.28;
  margin-bottom: 14px;
}
.lm-finder__copy > p {
  color: rgba(255, 240, 246, .8) !important;
  font-size: 13.5px;
  line-height: 2;
}
.lm-finder__steps {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 20px;
}
.lm-finder__steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255, 240, 246, .9);
  line-height: 1.7;
}
.lm-finder__steps b {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #F9A8D4;
  font-size: 11px;
  font-weight: 800;
}
.lm-finder__privacy {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 11px;
  line-height: 1.8;
  color: rgba(255, 240, 246, .62);
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.lm-finder__privacy svg { flex: 0 0 15px; width: 15px; height: 15px; margin-top: 2px; color: #F9A8D4; }

.lm-finder__form {
  background: var(--lm-surface);
  border: 1px solid var(--lm-line);
  border-radius: 26px;
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .6);
}
.lm-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.lm-field { display: grid; gap: 6px; }
.lm-field--full { grid-column: 1 / -1; }
.lm-field > span {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--lm-ink);
}
.lm-field input,
.lm-field select,
.lm-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 13px;
  color: var(--lm-ink);
  background: var(--lm-bg-alt);
  border: 1px solid var(--lm-line);
  border-radius: 12px;
  padding: 11px 13px;
  line-height: 1.6;
  transition: border-color .25s, box-shadow .25s, background .25s;
  appearance: none;
}
.lm-field textarea { resize: vertical; min-height: 60px; }
.lm-field input::placeholder,
.lm-field textarea::placeholder { color: color-mix(in srgb, var(--lm-soft) 70%, transparent); }
.lm-field input:focus,
.lm-field select:focus,
.lm-field textarea:focus {
  outline: none;
  border-color: var(--lm-primary);
  background: var(--lm-surface);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lm-primary) 14%, transparent);
}
.lm-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--lm-soft) 50%), linear-gradient(135deg, var(--lm-soft) 50%, transparent 50%);
  background-position: calc(0% + 14px) calc(50% + 1px), calc(0% + 19px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-inline-start: 32px;
}
.lm-finder__hint {
  margin-top: 10px !important;
  text-align: center;
  font-size: 11px;
  color: var(--lm-soft) !important;
}
.lm-finder .aw-sandbox-result { margin-top: 22px; }
.lm-finder .aw-sandbox-result:empty { display: none; }

/* ═════════ ۶ · اعتماد ═════════ */
.lm-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}
.lm-trust__grid .rb-spotlight-card {
  padding: 26px 24px;
  border-radius: var(--lm-radius);
  border: 1px solid var(--lm-line);
  background: var(--lm-surface);
  box-shadow: 0 14px 34px -28px rgba(94, 18, 45, .35);
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.lm-trust__grid .rb-spotlight-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--lm-primary) 35%, var(--lm-line));
  box-shadow: var(--lm-shadow);
}
.lm-trust__grid svg {
  width: 26px;
  height: 26px;
  color: var(--lm-accent);
  margin-bottom: 16px;
}
.lm-trust__grid h3 { font-size: 15.5px; margin-bottom: 8px; line-height: 1.5; }
.lm-trust__grid p { font-size: 12.5px; line-height: 1.9; }

/* ═════════ ۷ · محصولات (بلوک داینامیک) ═════════ */
.lm-gridblock .dh-products,
.lm-sliderblock .dh-products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(12px, 1.6vw, 20px) !important;
}
.lm-gridblock .product-card,
.lm-sliderblock .product-card {
  border: 1px solid var(--lm-line) !important;
  border-radius: var(--lm-radius) !important;
  background: var(--lm-surface) !important;
  overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.lm-gridblock .product-card:hover,
.lm-sliderblock .product-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--lm-primary) 38%, var(--lm-line)) !important;
  box-shadow: var(--lm-shadow) !important;
}
.lm-gridblock .product-card img,
.lm-sliderblock .product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 0;
}
.lm-gridblock .product-card h3,
.lm-sliderblock .product-card h3 {
  font-family: var(--font-heading, Pinar, sans-serif) !important;
  color: var(--lm-ink) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}
.lm-gridblock .product-card .btn,
.lm-sliderblock .product-card .btn {
  border-radius: 999px !important;
  font-size: clamp(12px, .88vw, 13.5px) !important;
  padding: 9px 18px !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  background: var(--lm-primary) !important;
  color: #FFF7FA !important;
  border: 0 !important;
}
.lm-gridblock .badge-pill,
.lm-sliderblock .badge-pill {
  background: var(--lm-primary) !important;
  color: #FFF7FA !important;
  border-radius: 999px !important;
}
.lm-products .dh-head,
.lm-new .dh-head,
.lm-journal .dh-head { margin-bottom: clamp(22px, 3vw, 36px); }
.lm-products .dh-head h2,
.lm-new .dh-head h2,
.lm-journal .dh-head h2 {
  font-family: var(--font-heading, Pinar, sans-serif);
  color: var(--lm-ink);
  font-size: clamp(24px, 3vw, 36px);
}

/* ═════════ ۸ · تازه‌ها ═════════ */
.lm-new { background: var(--lm-bg); }
.lm-sliderblock .dh-products {
  display: flex !important;
  gap: clamp(12px, 1.6vw, 20px) !important;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.lm-sliderblock .product-card { flex: 0 0 clamp(240px, 24vw, 300px); }

/* ═════════ ۹ · داستان ═════════ */
.lm-story {
  position: relative;
  padding: clamp(58px, 8vw, 108px) 0;
  background:
    radial-gradient(100% 120% at 100% 0%, color-mix(in srgb, var(--lm-bg-alt) 90%, transparent) 0%, transparent 60%),
    var(--lm-bg);
  overflow: hidden;
}
.lm-story__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: center;
}
.lm-story__media {
  position: relative;
  margin: 0 !important;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--lm-shadow-lg);
  border: 1px solid var(--lm-line);
  aspect-ratio: 4 / 5;
}
.lm-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.lm-story__badge {
  position: absolute;
  inset-inline: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 249, 251, .92);
  backdrop-filter: blur(10px);
  color: #2A0E18;
  box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .45);
}
.lm-story__badge b {
  font-family: var(--font-heading, Pinar, sans-serif);
  font-size: 17px;
}
.lm-story__badge span { font-size: 11px; color: #6B4552; line-height: 1.6; }

.lm-story__copy h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.3;
  margin-bottom: 16px;
}
.lm-story__lead {
  font-size: 15px !important;
  color: var(--lm-ink) !important;
  line-height: 2;
  margin-bottom: 14px !important;
}
.lm-story__copy > p { font-size: 13.5px; line-height: 2; margin-bottom: 14px; }
.lm-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 24px;
  display: grid;
  gap: 10px;
}
.lm-list li {
  position: relative;
  padding-inline-start: 24px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--lm-ink);
}
.lm-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--lm-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lm-primary) 14%, transparent);
}
.lm-story__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 18px 0;
  margin-bottom: 22px;
  border-block: 1px solid var(--lm-line);
}
.lm-story__stats div { display: grid; gap: 4px; }
.lm-story__stats strong {
  font-family: var(--font-heading, Pinar, sans-serif);
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--lm-accent);
  font-weight: 700;
}
.lm-story__stats span { font-size: 11px; color: var(--lm-soft); }

/* ═════════ ۱۰ · نظرات ═════════ */
.lm-quotes { background: var(--lm-bg-alt); }
.lm-quotes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 18px);
}
.lm-quotes__grid blockquote {
  margin: 0;
  padding: 26px 24px;
  border-radius: var(--lm-radius);
  background: var(--lm-surface);
  border: 1px solid var(--lm-line);
  box-shadow: 0 14px 34px -28px rgba(94, 18, 45, .35);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lm-quotes__stars {
  color: #D99A16;
  font-size: 14px;
  letter-spacing: 3px;
}
html[data-theme="dark"] .lm-quotes__stars { color: #F2C14E; }
.lm-quotes__grid p {
  font-size: 13px;
  line-height: 2;
  color: var(--lm-ink);
  flex: 1;
}
.lm-quotes__grid footer {
  display: grid;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--lm-line);
}
.lm-quotes__grid footer b { font-size: 12.5px; color: var(--lm-ink); }
.lm-quotes__grid footer span { font-size: 11px; color: var(--lm-soft); }

/* ═════════ ۱۱ · مجله ═════════ */
.lm-journal .product-card img,
.lm-postblock img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--lm-radius-sm);
}
.lm-postblock .post-card {
  border-radius: var(--lm-radius) !important;
  border: 1px solid var(--lm-line) !important;
  background: var(--lm-surface) !important;
  overflow: hidden;
}
.lm-postblock h3 {
  font-family: var(--font-heading, Pinar, sans-serif) !important;
  color: var(--lm-ink) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

/* ═════════ ۱۲ · مشاوره ═════════ */
.lm-consult { background: var(--lm-bg); }
.lm-consult__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.lm-consult__copy h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.3;
  margin-bottom: 16px;
}
.lm-consult__copy > p { font-size: 13.5px; line-height: 2; max-width: 470px; }
.lm-consult__info {
  display: grid;
  gap: 12px;
  margin: 26px 0 20px;
}
.lm-consult__info div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--lm-ink);
  line-height: 1.8;
}
.lm-consult__info svg { color: var(--lm-accent); flex: 0 0 18px; margin-top: 3px; }
.lm-consult__info a { color: var(--lm-ink); text-decoration: none; font-weight: 700; }
.lm-consult__info a:hover { color: var(--lm-accent); }
.lm-consult__social { display: flex; gap: 8px; }
.lm-consult__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--lm-line);
  background: var(--lm-surface);
  color: var(--lm-ink);
  transition: transform .3s, border-color .3s, color .3s;
}
.lm-consult__social a:hover {
  transform: translateY(-3px);
  border-color: var(--lm-primary);
  color: var(--lm-accent);
}
.lm-consult__form {
  padding: clamp(20px, 3vw, 34px);
  border-radius: 30px;
  background: var(--lm-surface);
  border: 1px solid var(--lm-line);
  box-shadow: var(--lm-shadow);
}
.lm-consult__form-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--lm-line);
}
.lm-consult__form-head > svg {
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--lm-primary) 10%, transparent);
  color: var(--lm-accent);
  flex: 0 0 40px;
}
.lm-consult__form-head h3 { font-size: 16px; margin-bottom: 3px; }
.lm-consult__form-head p { font-size: 11.5px; }

/* فرم‌های موتور داخل این بخش */
.lm-consult__form .field,
.lm-consult__form input,
.lm-consult__form select,
.lm-consult__form textarea {
  font-family: inherit;
  border-radius: 12px !important;
  border: 1px solid var(--lm-line) !important;
  background: var(--lm-bg-alt) !important;
  color: var(--lm-ink) !important;
}
.lm-consult__form .btn,
.lm-consult__form button[type="submit"] {
  border-radius: 999px !important;
  white-space: nowrap !important;
  font-size: clamp(12px, .88vw, 13.5px) !important;
  padding: 10px 20px !important;
  background: var(--lm-primary) !important;
  color: #FFF7FA !important;
  border: 0 !important;
}

/* ═════════ واکنش‌گرایی ═════════ */
@media (max-width: 1100px) {
  .lm-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lm-cat-banner { grid-column: span 2; }
  .lm-hero__main { grid-column: span 7; }
  .lm-hero__media { grid-column: span 5; }
  .lm-hero__feature { grid-column: span 5; }
  .lm-hero__stats { grid-column: span 7; }
}

@media (max-width: 960px) {
  .lm-hero__main,
  .lm-hero__media,
  .lm-hero__feature,
  .lm-hero__stats { grid-column: span 12; }
  .lm-hero__media { min-height: 320px; aspect-ratio: 16 / 10; }
  .lm-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .lm-hero__stats div:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .lm-lab__grid,
  .lm-story__grid,
  .lm-consult__grid { grid-template-columns: minmax(0, 1fr); }
  .lm-faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .lm-finder__card { grid-template-columns: minmax(0, 1fr); }
  .lm-trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lm-quotes__grid { grid-template-columns: minmax(0, 1fr); }
  .lm-story__media { aspect-ratio: 16 / 11; max-height: 460px; }
  .lm-sec-head { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .lm-gridblock .dh-products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 767px) {
  .lm-home { overflow-x: hidden; }
  .lm-section { padding: 50px 0; }
  .lm-hero { padding-top: 24px; }
  .lm-hero__main { padding: 24px 20px; border-radius: 26px; }
  .lm-hero__title { font-size: clamp(30px, 9vw, 42px) !important; }
  .lm-hero__cta { width: 100%; }
  .lm-hero__cta .lm-btn { flex: 1 1 auto; }
  .lm-hero__media { border-radius: 26px; }
  .lm-hero__feature { border-radius: 22px; padding: 18px; }
  .lm-hero__stats { border-radius: 22px; padding: 16px; }
  .lm-cat-grid { grid-template-columns: minmax(0, 1fr); }
  .lm-cat-banner { grid-column: span 1; min-height: 260px; }
  .lm-cat-banner::after { background: linear-gradient(0deg, rgba(30, 3, 13, .94) 0%, rgba(30, 3, 13, .55) 70%, rgba(30, 3, 13, .18) 100%); }
  .lm-cat-banner__body { max-width: none; padding: 26px 20px; }
  .lm-cat-card__media,
  .lm-cat-card__media img { height: 230px; }
  .lm-form-grid { grid-template-columns: minmax(0, 1fr); }
  .lm-finder__card { padding: 22px 16px; border-radius: 26px; }
  .lm-finder__form { border-radius: 20px; padding: 16px; }
  .lm-trust__grid { grid-template-columns: minmax(0, 1fr); }
  .lm-gridblock .dh-products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .lm-gridblock .product-card img { height: 200px; }
  .lm-story__stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .lm-story__stats strong { font-size: 17px; }
  .lm-story__stats span { font-size: 9.5px; }
  .lm-sec-head__desc { max-width: none; }
  .lm-marquee__track { gap: 28px; }
  .lm-marquee__track span { font-size: 11.5px; }
  .lm-consult__form { padding: 18px; border-radius: 22px; }
  .lm-tab { font-size: 11px; padding: 8px 12px; }
  .lm-faq .rb-faq-q { font-size: 12.5px; padding: 14px 15px; }
  .lm-faq .rb-faq-a { font-size: 12px; padding: 0 15px 14px; }
}

@media (max-width: 430px) {
  .lm-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lm-btn { padding: 10px 16px; }
  .lm-hero__cta { flex-direction: column; }
  .lm-hero__cta .lm-btn { width: 100%; }
  .lm-cat-card__body h3 { font-size: 15px; }
  .lm-cat-card__media,
  .lm-cat-card__media img { height: 210px; }
}

/* ───────── اصلاحات کنتراست تم تیره ───────── */
html[data-theme="dark"] .lm-finder__form {
  background: #1B0810;
  border-color: #4A1A2C;
}
html[data-theme="dark"] .lm-field input,
html[data-theme="dark"] .lm-field select,
html[data-theme="dark"] .lm-field textarea {
  background: #2A0D18;
  border-color: #4A1A2C;
  color: #FDF4F7;
}
html[data-theme="dark"] .lm-field input::placeholder,
html[data-theme="dark"] .lm-field textarea::placeholder {
  color: #B98E9D;
  opacity: 1;
}
html[data-theme="dark"] .lm-field input:focus,
html[data-theme="dark"] .lm-field select:focus,
html[data-theme="dark"] .lm-field textarea:focus {
  border-color: #F472B6;
  box-shadow: 0 0 0 3px rgba(244, 114, 182, .18);
}
html[data-theme="dark"] .lm-story__badge {
  background: rgba(27, 8, 16, .9);
  border: 1px solid #4A1A2C;
  color: #FDF4F7;
}
html[data-theme="dark"] .lm-story__badge b { color: #FDF4F7; }
html[data-theme="dark"] .lm-story__badge span { color: #C9A6B2; }
html[data-theme="dark"] .lm-faq .rb-faq-q { color: #FDF4F7; }

/* پایان استایل صفحهٔ اصلی */
