/*
Theme Name: Avana Farsi
Theme URI: https://avanahub.com
Author: Avana Hub
Author URI: https://avanahub.com
Description: قالب حرفه‌ای فارسی برای آژانس دیجیتال مارکتینگ — سیستم طراحی مدرن، تمیز و بدون گرادیانت. شامل صفحه اصلی، خدمات، بلاگ و فرم تماس.
Version: 2.9.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: avana-farsi
Tags: rtl-language-support, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   ۱. توکن‌های طراحی (Design Tokens)
   پالت رنگ:
     - cream  : #FFE1D7  (پس‌زمینه نرم)
     - sky    : #84AFFB  (آبی روشن، تأکید ثانوی)
     - blue   : #0259DD  (رنگ اصلی برند)
     - coral  : #FF6648  (رنگ تأکید / CTA)
============================================================ */
:root {
  /* پالت برند */
  --c-cream: #FFE1D7;
  --c-cream-soft: #FFF4EF;
  --c-sky: #84AFFB;
  --c-sky-soft: #E6EEFE;
  --c-blue: #0259DD;
  --c-blue-dark: #0246B0;
  --c-blue-soft: #DDE8FB;
  --c-coral: #FF6648;
  --c-coral-dark: #E84A2C;
  --c-coral-soft: #FFE3DC;

  /* خنثی‌ها */
  --c-ink: #0C1532;
  --c-text: #1F2A44;
  --c-muted: #5B6680;
  --c-line: #E6E8EE;
  --c-line-strong: #CFD3DC;
  --c-bg: #FFFFFF;
  --c-bg-alt: #F6F7FB;
  --c-bg-tinted: #FBF7F4;

  /* آلیاس‌های سازگاری (برای کلاس‌های قدیمی .av-*) */
  --color-primary: var(--c-blue);
  --color-primary-dark: var(--c-blue-dark);
  --color-secondary: var(--c-coral);
  --color-accent: var(--c-sky);
  --color-dark: var(--c-ink);
  --color-text: var(--c-text);
  --color-muted: var(--c-muted);
  --color-light: var(--c-bg-alt);
  --color-border: var(--c-line);
  --color-bg: var(--c-bg);
  --color-bg-alt: var(--c-bg-alt);

  /* سایه‌ها — نرم و یکدست */
  --shadow-xs: 0 1px 2px rgba(12, 21, 50, 0.04);
  --shadow-sm: 0 2px 6px rgba(12, 21, 50, 0.05);
  --shadow-md: 0 8px 20px rgba(12, 21, 50, 0.06);
  --shadow-lg: 0 18px 40px rgba(12, 21, 50, 0.08);

  /* شعاع گوشه — یکسان و حرفه‌ای */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --radius-sm: var(--r-sm);
  --radius-md: var(--r-md);
  --radius-lg: var(--r-lg);

  /* انتقال */
  --t-fast: 0.18s ease;
  --t-base: 0.24s ease;
  --transition: var(--t-base);

  /* لی‌اوت */
  --container: 1180px;
  --header-h: 70px;

  /* تایپوگرافی — کمی کوچک‌تر و حرفه‌ای‌تر */
  --fs-xs:  12px;
  --fs-sm:  13px;
  --fs-base:14px;
  --fs-md:  15px;
  --fs-lg:  16px;
  --fs-xl:  18px;
  --font-base: var(--fs-base);
  --font-sm:   var(--fs-sm);
  --font-lg:   var(--fs-md);
}

/* ============================================================
   ۲. ریست
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
}

body {
  font-family: 'Vazirmatn', 'IRANSans', Tahoma, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--c-text);
  background: var(--c-bg);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-width: 320px;
  font-feature-settings: "ss02", "ss03";
}

body.menu-open { overflow: hidden; }

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

a {
  color: var(--c-blue);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: var(--c-blue-dark); }

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--c-blue);
  color: #fff;
}

/* ============================================================
   ۳. تایپوگرافی
============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.35;
  color: var(--c-ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.55em;
}

h1 { font-size: 1.85rem; }   /* ~30px */
h2 { font-size: 1.5rem; }    /* ~24px */
h3 { font-size: 1.2rem; }    /* ~19px */
h4 { font-size: 1.05rem; }
h5 { font-size: 0.95rem; }
h6 { font-size: 0.85rem; }

p { margin-bottom: 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* ============================================================
   ۴. هدر و منوی اصلی
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow var(--t-base), border-color var(--t-base);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: var(--header-h);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--c-ink);
  flex-shrink: 0;
}
.site-logo .logo-mark {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--c-blue);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-menu li { position: relative; }

.main-menu > li > a,
.main-menu a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: var(--fs-base);
  color: var(--c-text);
  white-space: nowrap;
}

.main-menu > li > a:hover,
.main-menu .current-menu-item > a,
.main-menu .current-menu-parent > a,
.main-menu .current-menu-ancestor > a {
  background: var(--c-blue-soft);
  color: var(--c-blue);
}

/* فلش برای آیتم‌های دارای زیرمنو */
.main-menu .menu-item-has-children > a::after,
.main-menu li.has-children > a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-right: 4px;
  opacity: 0.6;
  transition: transform var(--t-fast);
}
.main-menu .menu-item-has-children:hover > a::after,
.main-menu li.has-children:hover > a::after {
  transform: rotate(-135deg);
  opacity: 1;
}

/* زیرمنو دسکتاپ */
.main-menu .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
  z-index: 50;
}
.main-menu li:hover > .sub-menu,
.main-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-menu .sub-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--r-xs);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-text);
}
.main-menu .sub-menu a:hover,
.main-menu .sub-menu .current-menu-item > a {
  background: var(--c-bg-alt);
  color: var(--c-blue);
}

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

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--c-blue);
  color: #fff !important;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: background var(--t-fast), transform var(--t-fast);
}
.header-cta:hover {
  background: var(--c-blue-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--c-bg-alt);
  color: var(--c-ink);
  font-size: 19px;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
}
.menu-toggle:hover { background: var(--c-blue-soft); color: var(--c-blue); }

/* ============================================================
   ۵. دکمه‌ها
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--fs-base);
  line-height: 1.2;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-blue);
  color: #fff;
  border-color: var(--c-blue);
}
.btn-primary:hover {
  background: var(--c-blue-dark);
  border-color: var(--c-blue-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn-accent {
  background: var(--c-coral);
  color: #fff;
  border-color: var(--c-coral);
}
.btn-accent:hover {
  background: var(--c-coral-dark);
  border-color: var(--c-coral-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line-strong);
}
.btn-outline:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
  background: var(--c-blue-soft);
}
.btn-ghost {
  background: var(--c-bg-alt);
  color: var(--c-ink);
  border-color: transparent;
}
.btn-ghost:hover { background: var(--c-line); }
.btn-sm { padding: 8px 16px; font-size: var(--fs-sm); }
.btn-lg { padding: 14px 28px; font-size: var(--fs-md); }

/* ============================================================
   ۶. هیرو (Hero) — استاندارد، تمیز، بدون شناوری بی‌منطق
============================================================ */
.hero {
  position: relative;
  padding: 80px 0 70px;
  background: var(--c-bg-tinted);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}
.hero::before {
  /* لکه‌ی نرم گوشه‌ای — تک‌رنگ، بدون گرادیانت */
  content: "";
  position: absolute;
  top: -120px;
  left: -120px;
  width: 360px;
  height: 360px;
  background: var(--c-cream);
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.65;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -160px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: var(--c-sky-soft);
  border-radius: 50%;
  opacity: 0.7;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-blue);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: var(--shadow-xs);
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-coral);
  box-shadow: 0 0 0 4px rgba(255, 102, 72, 0.18);
}

.hero h1 {
  font-size: 2.3rem;
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--c-ink);
}
.hero h1 .accent { color: var(--c-blue); }
.hero h1 .accent-coral { color: var(--c-coral); }

.hero-desc {
  font-size: var(--fs-md);
  color: var(--c-muted);
  margin-bottom: 28px;
  max-width: 540px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
}
.hero-stat .num {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--c-ink);
  line-height: 1.1;
}
.hero-stat .label {
  display: block;
  font-size: var(--fs-xs);
  color: var(--c-muted);
  margin-top: 2px;
}

/* ویژوال هیرو — یک پنل خلاصه واقعی، نه کارت‌های شناور تو‌خالی */
.hero-visual {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
}
.hero-visual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 16px;
}
.hero-visual-head .title {
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--c-ink);
}
.hero-visual-head .badge {
  background: var(--c-coral-soft);
  color: var(--c-coral-dark);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
}
.hero-metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.hero-metric {
  background: var(--c-bg-alt);
  border-radius: var(--r-md);
  padding: 14px;
}
.hero-metric .label {
  font-size: 11.5px;
  color: var(--c-muted);
  margin-bottom: 4px;
}
.hero-metric .num {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-ink);
  line-height: 1.1;
}
.hero-metric .delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: #047857;
  font-weight: 700;
  margin-right: 6px;
}
.hero-metric .delta.down { color: var(--c-coral-dark); }

.hero-chart {
  height: 100px;
  border-radius: var(--r-md);
  background: var(--c-blue-soft);
  position: relative;
  overflow: hidden;
}
.hero-chart svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-channels {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}
.hero-channel {
  display: grid;
  grid-template-columns: 84px 1fr 44px;
  gap: 10px;
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}
.hero-channel .bar {
  height: 6px;
  background: var(--c-line);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.hero-channel .bar > span {
  display: block;
  height: 100%;
  background: var(--c-blue);
  border-radius: inherit;
}
.hero-channel.coral .bar > span { background: var(--c-coral); }
.hero-channel.sky   .bar > span { background: var(--c-sky); }
.hero-channel .val {
  text-align: left;
  font-weight: 700;
  color: var(--c-ink);
  font-size: var(--fs-xs);
  direction: ltr;
}

/* ============================================================
   ۷. سکشن عمومی
============================================================ */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--c-bg-alt);
}
.section-tinted {
  background: var(--c-cream-soft);
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 50px;
}
.section-head.align-start { text-align: right; margin-right: 0; margin-left: 0; }

.section-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--c-blue-soft);
  color: var(--c-blue);
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.section-tag.coral { background: var(--c-coral-soft); color: var(--c-coral-dark); }

.section-head h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}
.section-head p {
  color: var(--c-muted);
  font-size: var(--fs-md);
  margin: 0;
}

/* ============================================================
   ۸. خدمات (Services)
============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-blue);
}

.service-card .service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
  background: var(--c-blue-soft);
  color: var(--c-blue);
}
.service-card.is-coral .service-icon { background: var(--c-coral-soft); color: var(--c-coral-dark); }
.service-card.is-sky   .service-icon { background: var(--c-sky-soft); color: var(--c-blue); }
.service-card.is-cream .service-icon { background: var(--c-cream); color: var(--c-coral-dark); }

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--c-ink);
}
.service-card p {
  color: var(--c-muted);
  font-size: var(--fs-sm);
  line-height: 1.85;
  margin-bottom: 16px;
  flex: 1;
}
.service-card .service-link {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--c-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.service-card .service-link:hover { color: var(--c-blue-dark); gap: 9px; }

/* ============================================================
   ۹. چرا ما / ویژگی‌ها
============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.features-grid > div:first-child > .section-tag { margin-bottom: 12px; }
.features-grid h2 { font-size: 1.75rem; margin-bottom: 14px; }
.features-grid > div:first-child > p { color: var(--c-muted); margin-bottom: 8px; }

.feature-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}
.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-item .check {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--c-blue-soft);
  color: var(--c-blue);
  display: grid;
  place-items: center;
  font-size: 17px;
}
.feature-item h4 {
  margin-bottom: 4px;
  font-size: 1rem;
  color: var(--c-ink);
}
.feature-item p {
  color: var(--c-muted);
  font-size: var(--fs-sm);
  margin: 0;
  line-height: 1.8;
}

/* پنل ویژوال — جایگزین حرفه‌ای برای "Avana" گرادیانت قبلی */
.features-visual {
  position: relative;
  background: var(--c-cream);
  border-radius: var(--r-lg);
  padding: 40px 36px;
  display: grid;
  gap: 16px;
  min-height: 380px;
  border: 1px solid var(--c-line);
}
.features-visual .fv-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  gap: 12px;
}
.features-visual .fv-card .ico {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--c-blue-soft);
  color: var(--c-blue);
  display: grid;
  place-items: center;
  font-size: 17px;
  flex-shrink: 0;
}
.features-visual .fv-card.coral .ico { background: var(--c-coral-soft); color: var(--c-coral-dark); }
.features-visual .fv-card.sky   .ico { background: var(--c-sky-soft); color: var(--c-blue); }
.features-visual .fv-card .title {
  font-weight: 700; font-size: var(--fs-sm); color: var(--c-ink); display: block; line-height: 1.4;
}
.features-visual .fv-card .sub {
  font-size: 11.5px; color: var(--c-muted); display: block; line-height: 1.4;
}

/* ============================================================
   ۱۰. نوار آمار
============================================================ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px;
  background: var(--c-blue);
  border-radius: var(--r-lg);
  color: #fff;
  margin: 36px 0 0;
}
.stat-item { text-align: center; }
.stat-item .stat-num {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1;
  color: #fff;
}
.stat-item .stat-label {
  font-size: var(--fs-sm);
  opacity: 0.85;
}

/* ============================================================
   ۱۱. بلاگ کارت
============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.post-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-blue);
}

.post-card .post-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--c-bg-alt);
  position: relative;
  display: block;
}
.post-card .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover .post-thumb img { transform: scale(1.04); }

.post-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--c-cream-soft);
  font-size: 2rem;
  color: var(--c-blue);
}

.post-card .post-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11.5px;
  color: var(--c-muted);
  margin-bottom: 10px;
}
.post-meta a { color: var(--c-muted); }
.post-meta a:hover { color: var(--c-blue); }
.post-meta .post-cat {
  background: var(--c-blue-soft);
  color: var(--c-blue);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-weight: 700;
}

.post-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  line-height: 1.55;
}
.post-card h3 a { color: var(--c-ink); }
.post-card h3 a:hover { color: var(--c-blue); }
.post-card .post-excerpt {
  color: var(--c-muted);
  font-size: var(--fs-sm);
  margin-bottom: 14px;
  flex: 1;
  line-height: 1.8;
}
.post-card .read-more {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--c-blue);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}
.post-card .read-more:hover { gap: 9px; color: var(--c-blue-dark); }

/* ============================================================
   ۱۲. فرم تماس
============================================================ */
.contact-section {
  padding: 80px 0;
  background: var(--c-bg-alt);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 44px;
  align-items: start;
}
.contact-info h2 {
  font-size: 1.7rem;
  margin-bottom: 14px;
}
.contact-info p {
  color: var(--c-muted);
  margin-bottom: 26px;
}

.contact-list {
  display: grid;
  gap: 14px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
}
.contact-list .ico {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--c-blue-soft);
  color: var(--c-blue);
  display: grid;
  place-items: center;
  font-size: 17px;
  flex-shrink: 0;
}
.contact-list .lbl {
  font-size: 11.5px;
  color: var(--c-muted);
}
.contact-list .val {
  font-weight: 700;
  color: var(--c-ink);
  font-size: var(--fs-sm);
  word-break: break-word;
}
.contact-list .val.ltr {
  direction: ltr;
  text-align: right;
  unicode-bidi: embed;
}
.contact-list li > div {
  min-width: 0;
  flex: 1;
}

.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-line);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-field { margin-bottom: 14px; }
.form-field label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--c-ink);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-sm);
  font-size: var(--fs-base);
  background: #fff;
  color: var(--c-text);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 3px rgba(2, 89, 221, 0.12);
}
.form-field textarea {
  resize: vertical;
  min-height: 130px;
}
.form-submit {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.form-message {
  padding: 13px 16px;
  border-radius: var(--r-sm);
  margin-bottom: 18px;
  font-size: var(--fs-sm);
  font-weight: 500;
}
.form-message.success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.form-message.error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* ============================================================
   ۱۳. فوتر
============================================================ */
.site-footer {
  background: var(--c-ink);
  color: #C7CCD8;
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.98rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col p {
  font-size: var(--fs-sm);
  line-height: 1.85;
  color: #9AA3B5;
}
.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.footer-contact p i {
  color: var(--c-sky);
  font-size: 14px;
  flex-shrink: 0;
}
.footer-contact p.ltr span {
  direction: ltr;
  unicode-bidi: embed;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}
.footer-logo .logo-mark {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--c-blue);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 0.9rem;
}

.footer-col ul {
  display: grid;
  gap: 9px;
}
.footer-col ul a {
  color: #9AA3B5;
  font-size: var(--fs-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--t-fast), transform var(--t-fast);
}
.footer-col ul a i { font-size: 10px; color: var(--c-sky); }
.footer-col ul a:hover {
  color: #fff;
  transform: translateX(-3px);
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  transition: background var(--t-fast), transform var(--t-fast);
}
.footer-social a:hover {
  background: var(--c-blue);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #8990A3;
}

/* ============================================================
   ۱۴. صفحات داخلی / محتوای مقاله
============================================================ */
.page-header {
  padding: 56px 0 40px;
  background: var(--c-bg-alt);
  border-bottom: 1px solid var(--c-line);
}
.page-header h1 {
  font-size: 1.9rem;
  margin-bottom: 8px;
}
.page-header p {
  color: var(--c-muted);
  font-size: var(--fs-md);
  margin: 0;
}

.breadcrumbs {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  margin-bottom: 10px;
}
.breadcrumbs a { color: var(--c-muted); }
.breadcrumbs a:hover { color: var(--c-blue); }
.breadcrumbs .sep {
  margin: 0 6px;
  color: var(--c-line-strong);
}

.content-area { padding: 60px 0 80px; }

.blog-layout,
.single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.article-wrap {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.article-thumb {
  aspect-ratio: 21/9;
  overflow: hidden;
  background: var(--c-bg-alt);
}
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-body { padding: 36px; }

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--c-muted);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-line);
}
.article-meta a { color: var(--c-muted); }
.article-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.article-body > h1.article-title {
  font-size: 1.75rem;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* ============================================================
   ۱۵. محتوای ادیتور (entry-content)
============================================================ */
.entry-content {
  font-size: var(--fs-base);
  line-height: 2;
  color: var(--c-text);
}
.entry-content p { margin-bottom: 1.1em; }
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin-top: 1.7em;
  margin-bottom: 0.55em;
  color: var(--c-ink);
}
.entry-content h2 {
  font-size: 1.4rem;
  padding-right: 14px;
  border-right: 3px solid var(--c-blue);
}
.entry-content h3 { font-size: 1.18rem; }
.entry-content h4 { font-size: 1.05rem; }

.entry-content a {
  color: var(--c-blue);
  border-bottom: 1px dashed currentColor;
}
.entry-content a:hover {
  color: var(--c-coral-dark);
}

.entry-content strong, .entry-content b {
  color: var(--c-ink);
  font-weight: 700;
}

.entry-content img {
  border-radius: var(--r-md);
  margin: 22px auto;
  box-shadow: var(--shadow-sm);
}

.entry-content ul,
.entry-content ol {
  margin: 0.9em 0 1.3em;
  padding-right: 0;
}
.entry-content ul li,
.entry-content ol li {
  position: relative;
  padding-right: 24px;
  margin-bottom: 8px;
  line-height: 1.85;
}
.entry-content ul li::before {
  content: "";
  position: absolute;
  right: 4px;
  top: 14px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-blue);
}
.entry-content ol {
  counter-reset: ol-counter;
}
.entry-content ol li {
  counter-increment: ol-counter;
  padding-right: 32px;
}
.entry-content ol li::before {
  content: counter(ol-counter);
  position: absolute;
  right: 0;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: var(--r-xs);
  background: var(--c-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul { margin: 6px 0; }

.entry-content blockquote {
  margin: 24px 0;
  padding: 18px 24px;
  background: var(--c-cream-soft);
  border-right: 4px solid var(--c-coral);
  border-radius: var(--r-md);
  font-style: normal;
  font-size: var(--fs-md);
  color: var(--c-ink);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }

.entry-content code {
  background: var(--c-bg-alt);
  padding: 2px 7px;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  font-size: 0.88em;
  color: var(--c-coral-dark);
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}
.entry-content pre {
  background: var(--c-ink);
  color: #E2E8F0;
  padding: 18px;
  border-radius: var(--r-md);
  overflow-x: auto;
  margin: 20px 0;
  direction: ltr;
  text-align: left;
  font-family: 'Courier New', monospace;
  font-size: 12.5px;
  line-height: 1.7;
}
.entry-content pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.entry-content hr {
  border: 0;
  height: 1px;
  background: var(--c-line);
  margin: 28px 0;
}

/* جدول */
.entry-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 22px 0;
  font-size: var(--fs-sm);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.entry-content table th,
.entry-content table td {
  padding: 11px 14px;
  text-align: right;
  border-bottom: 1px solid var(--c-line);
}
.entry-content table th {
  background: var(--c-blue);
  color: #fff;
  font-weight: 700;
  border-bottom: 0;
}
.entry-content table tbody tr:nth-child(even) {
  background: var(--c-bg-alt);
}
.entry-content table tbody tr:hover {
  background: var(--c-blue-soft);
}
.entry-content table tbody tr:last-child td { border-bottom: 0; }

.entry-content .wp-caption {
  max-width: 100%;
  margin: 22px auto;
}
.entry-content .wp-caption-text,
.entry-content figcaption {
  text-align: center;
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 6px;
}
.entry-content .alignleft  { float: right; margin: 0 0 14px 20px; }
.entry-content .alignright { float: left;  margin: 0 20px 14px 0; }
.entry-content .aligncenter{ display: block; margin: 14px auto; }

/* تگ‌ها */
.post-tags {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.post-tags .tags-label {
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--c-ink);
  margin-left: 4px;
}
.post-tags a {
  display: inline-block;
  padding: 4px 11px;
  background: var(--c-bg-alt);
  color: var(--c-text);
  border-radius: var(--r-pill);
  font-size: 12px;
  transition: background var(--t-fast), color var(--t-fast);
  border-bottom: 0;
}
.post-tags a:hover {
  background: var(--c-blue);
  color: #fff;
}

/* ============================================================
   ۱۶. سایدبار
============================================================ */
.sidebar { position: sticky; top: calc(var(--header-h) + 20px); }
.widget {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 22px;
  margin-bottom: 20px;
}
.widget-title {
  font-size: 1rem;
  margin-bottom: 16px;
  padding-right: 10px;
  border-right: 3px solid var(--c-blue);
  color: var(--c-ink);
}
.widget ul { display: grid; gap: 10px; }
.widget ul li a {
  color: var(--c-text);
  font-size: var(--fs-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.widget ul li a i { color: var(--c-blue); font-size: 11px; }
.widget ul li a:hover { color: var(--c-blue); }

.widget-search input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
}
.widget-search input:focus {
  outline: none;
  border-color: var(--c-blue);
}

.widget-newsletter {
  background: var(--c-blue);
  color: #fff;
  border: 0;
}
.widget-newsletter .widget-title {
  color: #fff;
  border-right-color: rgba(255, 255, 255, 0.5);
}
.widget-newsletter p {
  font-size: var(--fs-sm);
  opacity: 0.95;
  margin-bottom: 12px;
}
.widget-newsletter input {
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  margin-bottom: 8px;
}
.widget-newsletter button {
  width: 100%;
  padding: 10px;
  background: var(--c-coral);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: background var(--t-fast);
}
.widget-newsletter button:hover { background: var(--c-coral-dark); }

.widget-posts li {
  display: flex;
  gap: 12px;
  align-items: center;
}
.widget-posts .mini-thumb {
  width: 58px;
  height: 58px;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--c-bg-alt);
}
.widget-posts .mini-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.widget-posts .mini-thumb .placeholder {
  width: 100%; height: 100%;
  background: var(--c-cream-soft);
  display: grid; place-items: center;
  color: var(--c-blue);
}
.widget-posts .mini-info .mini-title {
  font-size: 12.5px;
  color: var(--c-ink);
  font-weight: 600;
  line-height: 1.55;
  display: block;
  margin-bottom: 3px;
}
.widget-posts .mini-info .mini-date {
  font-size: 11px;
  color: var(--c-muted);
}

/* ============================================================
   ۱۷. صفحه‌بندی
============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-text);
  font-weight: 600;
  font-size: var(--fs-sm);
  padding: 0 12px;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.pagination a:hover,
.pagination .current {
  background: var(--c-blue);
  color: #fff;
  border-color: var(--c-blue);
}

/* ============================================================
   ۱۸. ناوبری پست بعدی/قبلی
============================================================ */
.single-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.single-nav-card {
  display: block;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.single-nav-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--c-blue);
}
.single-nav-next { text-align: left; }
.single-nav-label {
  font-size: 11.5px;
  color: var(--c-muted);
  margin-bottom: 5px;
  font-weight: 500;
}
.single-nav-title {
  font-weight: 700;
  color: var(--c-ink);
  font-size: var(--fs-sm);
  line-height: 1.55;
}

/* ============================================================
   ۱۹. دیدگاه‌ها
============================================================ */
.comments-area {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-top: 28px;
}
.comments-title {
  font-size: 1.2rem;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line);
}
.comment-list {
  display: grid;
  gap: 20px;
  margin-bottom: 28px;
}
.comment-list li.comment {
  background: var(--c-bg-alt);
  padding: 18px;
  border-radius: var(--r-md);
}
.comment-author {
  font-weight: 700;
  margin-bottom: 3px;
}
.comment-meta {
  font-size: 11.5px;
  color: var(--c-muted);
  margin-bottom: 10px;
}
.comment-content p {
  font-size: var(--fs-sm);
}
.comment-form .form-row {
  grid-template-columns: 1fr 1fr;
}
.comment-form textarea {
  min-height: 130px;
}

/* ============================================================
   ۲۰. برگه (page)
============================================================ */
.page-content-wrap {
  max-width: 900px;
  margin: 0 auto;
}
.page-content-wrap .entry-content {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 44px;
}

/* ============================================================
   ۲۱. صفحه خدمت (Single Service Landing)
============================================================ */
.service-hero {
  padding: 70px 0 60px;
  background: var(--c-bg-tinted);
  border-bottom: 1px solid var(--c-line);
}
.service-hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: center;
}
.service-hero h1 {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1.3;
}
.service-hero p.lead {
  font-size: var(--fs-md);
  color: var(--c-muted);
  margin-bottom: 22px;
  line-height: 1.85;
}
.service-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.service-hero-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.service-hero-card .ico {
  width: 50px; height: 50px;
  border-radius: var(--r-md);
  background: var(--c-blue-soft);
  color: var(--c-blue);
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.service-hero-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.service-hero-card ul {
  display: grid;
  gap: 8px;
}
.service-hero-card ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--c-text);
}
.service-hero-card ul li i {
  color: var(--c-blue);
  font-size: 14px;
  flex-shrink: 0;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-feature {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 22px;
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.service-feature:hover {
  border-color: var(--c-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.service-feature .ico {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--c-coral-soft);
  color: var(--c-coral-dark);
  display: grid; place-items: center;
  font-size: 18px;
  margin-bottom: 12px;
}
.service-feature h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.service-feature p {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  margin: 0;
  line-height: 1.8;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.process-step {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 22px;
  position: relative;
  counter-increment: step;
}
.process-step::before {
  content: counter(step, decimal);
  position: absolute;
  top: -14px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: var(--c-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: var(--fs-sm);
}
.process-step h3 {
  font-size: 0.98rem;
  margin: 10px 0 6px;
}
.process-step p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--c-muted);
  line-height: 1.8;
}

/* ============================================================
   ۲۲. کامپوننت‌های HTML سفارشی (.av-*)
   — همگی بدون گرادیانت، با پالت جدید
============================================================ */

/* ساختار و فاصله */
.av-section { padding: 50px 0; }
.av-section-sm { padding: 30px 0; }
.av-section-lg { padding: 80px 0; }
.av-section-alt {
  background: var(--c-bg-alt);
  margin: 28px 0;
  padding: 32px;
  border-radius: var(--r-md);
}
.av-spacer { height: 36px; }
.av-spacer-sm { height: 18px; }
.av-spacer-lg { height: 70px; }
.av-divider {
  height: 1px;
  background: var(--c-line);
  margin: 28px 0;
  border: 0;
}
.av-divider-gradient { /* بدون گرادیانت — خط ساده */
  height: 1px;
  background: var(--c-line);
  margin: 28px 0;
  border: 0;
}

/* هدر بخش */
.av-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}
.av-section-head .av-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--c-blue-soft);
  color: var(--c-blue);
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 10px;
}
.av-section-head h2 { font-size: 1.6rem; margin-bottom: 10px; }
.av-section-head p { color: var(--c-muted); font-size: var(--fs-md); margin: 0; }

/* کارت */
.av-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 22px;
  box-shadow: var(--shadow-xs);
  margin: 16px 0;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.av-card-hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-blue);
}
.av-card-gradient {
  background: var(--c-blue);
  color: #fff;
  border: 0;
}
.av-card-gradient h2, .av-card-gradient h3, .av-card-gradient h4, .av-card-gradient h5 { color: #fff; }

/* باکس آیکن */
.av-icon-box {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 26px 22px;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  text-align: right;
}
.av-icon-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-blue);
}
.av-icon-box .av-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 16px;
  background: var(--c-blue-soft);
  color: var(--c-blue);
}
.av-icon-box .av-icon.av-icon-cyan { background: var(--c-sky-soft); color: var(--c-blue); }
.av-icon-box .av-icon.av-icon-pink { background: var(--c-coral-soft); color: var(--c-coral-dark); }
.av-icon-box .av-icon.av-icon-purple { background: var(--c-blue-soft); color: var(--c-blue-dark); }
.av-icon-box .av-icon.av-icon-amber { background: var(--c-cream); color: var(--c-coral-dark); }
.av-icon-box h3, .av-icon-box h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.av-icon-box p {
  color: var(--c-muted);
  font-size: var(--fs-sm);
  margin: 0;
  line-height: 1.8;
}

/* شبکه */
.av-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.av-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.av-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.av-grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

/* ستون با تصویر */
.av-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  margin: 22px 0;
}
.av-split-reverse { direction: ltr; }
.av-split-reverse > * { direction: rtl; }
.av-split img,
.av-split .av-split-media {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  width: 100%;
  height: auto;
}

/* دکمه‌ها */
.av-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--fs-base);
  background: var(--c-blue);
  color: #fff;
  text-decoration: none;
  transition: background var(--t-fast), transform var(--t-fast), color var(--t-fast);
  border: 1.5px solid var(--c-blue);
  cursor: pointer;
}
.av-btn:hover { background: var(--c-blue-dark); border-color: var(--c-blue-dark); transform: translateY(-1px); color: #fff; }
.av-btn-outline {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-line-strong);
}
.av-btn-outline:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
  background: var(--c-blue-soft);
}
.av-btn-ghost {
  background: var(--c-bg-alt);
  color: var(--c-text);
  border-color: transparent;
}
.av-btn-ghost:hover { background: var(--c-line); color: var(--c-ink); }
.av-btn-sm { padding: 8px 16px; font-size: var(--fs-sm); }
.av-btn-lg { padding: 14px 28px; font-size: var(--fs-md); }
.av-btn-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0;
}

/* هشدارها */
.av-alert {
  padding: 13px 16px;
  border-radius: var(--r-sm);
  margin: 14px 0;
  background: var(--c-blue-soft);
  border-right: 4px solid var(--c-blue);
  color: var(--c-ink);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.av-alert i { font-size: 18px; line-height: 1; padding-top: 2px; color: var(--c-blue); flex-shrink: 0; }
.av-alert-success { background: #ecfdf5; border-color: #10b981; }
.av-alert-success i { color: #047857; }
.av-alert-warning { background: var(--c-cream); border-color: var(--c-coral); }
.av-alert-warning i { color: var(--c-coral-dark); }
.av-alert-danger  { background: #fef2f2; border-color: #ef4444; }
.av-alert-danger i { color: #b91c1c; }

/* نشان */
.av-badge {
  display: inline-block;
  padding: 3px 11px;
  background: var(--c-blue-soft);
  color: var(--c-blue);
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.6;
}
.av-badge-success { background: #d1fae5; color: #047857; }
.av-badge-warning { background: var(--c-cream); color: var(--c-coral-dark); }
.av-badge-danger  { background: #fee2e2; color: #b91c1c; }
.av-badge-dark    { background: var(--c-ink); color: #fff; }

/* نقل قول */
.av-quote {
  position: relative;
  margin: 24px 0;
  padding: 26px 28px;
  background: var(--c-cream-soft);
  border-right: 4px solid var(--c-coral);
  border-radius: var(--r-md);
  font-size: var(--fs-md);
  color: var(--c-ink);
  line-height: 1.9;
}
.av-quote::before {
  content: "\201D";
  position: absolute;
  top: -8px;
  right: 18px;
  font-size: 3.5rem;
  color: var(--c-coral);
  opacity: 0.22;
  line-height: 1;
  font-family: serif;
}
.av-quote cite {
  display: block;
  font-size: var(--fs-sm);
  color: var(--c-muted);
  font-style: normal;
  font-weight: 600;
  margin-top: 12px;
}
.av-quote cite::before { content: "— "; }

/* نوار پیشرفت */
.av-progress { margin: 12px 0; }
.av-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--c-ink);
}
.av-progress-bar {
  width: 100%;
  height: 8px;
  background: var(--c-bg-alt);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.av-progress-fill {
  height: 100%;
  background: var(--c-blue);
  border-radius: var(--r-pill);
  transition: width 0.6s ease;
}

/* لیست تیک */
.av-list-check {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  list-style: none;
  padding: 0;
}
.av-list-check li {
  position: relative;
  padding-right: 32px;
  line-height: 1.85;
  font-size: var(--fs-base);
}
.av-list-check li::before {
  content: "\2713";
  position: absolute;
  right: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: var(--r-xs);
  background: var(--c-blue);
  color: #fff;
  font-size: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  line-height: 1;
}

/* آمار */
.av-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
  padding: 32px;
  background: var(--c-blue);
  border-radius: var(--r-lg);
  color: #fff;
  margin: 24px 0;
  text-align: center;
}
.av-stats .av-stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 5px;
  display: block;
  color: #fff;
}
.av-stats .av-stat-label {
  font-size: var(--fs-sm);
  opacity: 0.9;
}

/* CTA */
.av-cta {
  background: var(--c-blue);
  color: #fff;
  padding: 40px 36px;
  border-radius: var(--r-lg);
  margin: 24px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.av-cta h2, .av-cta h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.av-cta p {
  color: rgba(255, 255, 255, 0.92);
  font-size: var(--fs-md);
  margin-bottom: 20px;
  max-width: 580px;
  margin-right: auto;
  margin-left: auto;
}
.av-cta .av-btn {
  background: var(--c-coral);
  color: #fff;
  border-color: var(--c-coral);
}
.av-cta .av-btn:hover { background: var(--c-coral-dark); border-color: var(--c-coral-dark); color: #fff; }

/* توصیه مشتری */
.av-testimonial {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 26px;
  position: relative;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.av-testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-blue);
}
.av-testimonial .av-testimonial-text {
  font-size: var(--fs-base);
  color: var(--c-text);
  line-height: 1.95;
  margin-bottom: 16px;
}
.av-testimonial .av-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--c-line);
}
.av-testimonial .av-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  overflow: hidden;
}
.av-testimonial .av-testimonial-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.av-testimonial .av-testimonial-name {
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--c-ink);
  display: block;
  line-height: 1.4;
}
.av-testimonial .av-testimonial-role {
  font-size: 11.5px;
  color: var(--c-muted);
}
.av-testimonial .av-stars {
  color: var(--c-coral);
  font-size: 13px;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

/* قیمت */
.av-price {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  text-align: center;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
  position: relative;
  display: flex;
  flex-direction: column;
}
.av-price:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-blue);
}
.av-price-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-muted);
  margin-bottom: 12px;
}
.av-price-amount {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--c-ink);
  line-height: 1;
  margin-bottom: 4px;
}
.av-price-amount .av-price-currency {
  font-size: 0.95rem;
  color: var(--c-muted);
  font-weight: 600;
  margin-right: 4px;
}
.av-price-period {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  margin-bottom: 20px;
}
.av-price-features {
  display: grid;
  gap: 9px;
  list-style: none;
  padding: 20px 0;
  margin: 0 0 20px;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-sm);
  text-align: right;
}
.av-price-features li {
  position: relative;
  padding-right: 24px;
}
.av-price-features li::before {
  content: "\2713";
  position: absolute;
  right: 0;
  top: 0;
  color: #10b981;
  font-size: 15px;
  font-weight: 800;
}
.av-price-features li.av-no::before {
  content: "\2715";
  color: #ef4444;
}
.av-price .av-btn { width: 100%; margin-top: auto; }
.av-price-featured {
  background: var(--c-blue);
  color: #fff;
  border: 0;
  transform: translateY(-6px);
}
.av-price-featured:hover { transform: translateY(-10px); }
.av-price-featured .av-price-name,
.av-price-featured .av-price-amount,
.av-price-featured .av-price-amount .av-price-currency,
.av-price-featured .av-price-period { color: #fff; }
.av-price-featured .av-price-features {
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.22);
}
.av-price-featured .av-price-features li::before { color: #fff; }
.av-price-featured .av-btn { background: var(--c-coral); color: #fff; border-color: var(--c-coral); }
.av-price-featured .av-btn:hover { background: var(--c-coral-dark); border-color: var(--c-coral-dark); color: #fff; }
.av-price-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 11px;
  background: var(--c-ink);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
}
.av-price-featured .av-price-badge { background: var(--c-coral); color: #fff; }

/* تیم */
.av-team {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  text-align: center;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.av-team:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-blue);
}
.av-team-photo {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: var(--c-cream);
  display: grid;
  place-items: center;
  font-size: 2.8rem;
  color: var(--c-blue);
  font-weight: 800;
  overflow: hidden;
}
.av-team-photo img { width: 100%; height: 100%; object-fit: cover; }
.av-team-body { padding: 18px 16px 22px; }
.av-team-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 3px;
}
.av-team-role {
  font-size: var(--fs-sm);
  color: var(--c-muted);
  margin-bottom: 12px;
}
.av-team-social {
  display: flex;
  justify-content: center;
  gap: 7px;
}
.av-team-social a {
  width: 32px;
  height: 32px;
  border-radius: var(--r-xs);
  background: var(--c-bg-alt);
  color: var(--c-muted);
  display: grid;
  place-items: center;
  font-size: 14px;
  border: 0;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.av-team-social a:hover {
  background: var(--c-blue);
  color: #fff;
  transform: translateY(-2px);
}

/* تب‌ها */
.av-tabs { margin: 22px 0; }
.av-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: var(--c-bg-alt);
  padding: 4px;
  border-radius: var(--r-md);
  margin-bottom: 20px;
}
.av-tabs-nav button {
  flex: 1;
  min-width: 100px;
  padding: 10px 16px;
  border: 0;
  background: transparent;
  color: var(--c-muted);
  font-weight: 600;
  font-size: var(--fs-sm);
  border-radius: var(--r-sm);
  cursor: pointer;
  font-family: inherit;
  transition: background var(--t-fast), color var(--t-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.av-tabs-nav button:hover { color: var(--c-ink); }
.av-tabs-nav button.av-active {
  background: #fff;
  color: var(--c-blue);
  box-shadow: var(--shadow-xs);
}
.av-tab-panel {
  display: none;
  animation: avFade 0.25s ease;
}
.av-tab-panel.av-active { display: block; }
@keyframes avFade {
  from { opacity: 0; transform: translateY(3px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* آکاردئون */
.av-accordion {
  margin: 20px 0;
  display: grid;
  gap: 10px;
}
.av-accordion-item {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.av-accordion-item.av-open {
  border-color: var(--c-blue);
  box-shadow: var(--shadow-sm);
}
.av-accordion-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-ink);
  text-align: right;
  cursor: pointer;
  transition: color var(--t-fast);
}
.av-accordion-head:hover { color: var(--c-blue); }
.av-accordion-head .av-accordion-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--r-xs);
  background: var(--c-bg-alt);
  display: grid;
  place-items: center;
  color: var(--c-blue);
  font-size: 13px;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.av-accordion-item.av-open .av-accordion-icon {
  background: var(--c-blue);
  color: #fff;
  transform: rotate(180deg);
}
.av-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.av-accordion-body-inner {
  padding: 2px 20px 18px;
  color: var(--c-muted);
  font-size: var(--fs-sm);
  line-height: 1.95;
}
.av-accordion-body-inner p:last-child { margin-bottom: 0; }

/* تایم‌لاین */
.av-timeline {
  position: relative;
  margin: 28px 0;
  padding-right: 24px;
}
.av-timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  right: 7px;
  width: 2px;
  background: var(--c-blue);
  border-radius: 2px;
}
.av-timeline-item {
  position: relative;
  padding: 0 0 24px 0;
}
.av-timeline-item:last-child { padding-bottom: 0; }
.av-timeline-item::before {
  content: "";
  position: absolute;
  right: -21px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c-blue);
}
.av-timeline-date {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-blue);
  background: var(--c-blue-soft);
  padding: 3px 11px;
  border-radius: var(--r-pill);
  margin-bottom: 7px;
}
.av-timeline-item h3, .av-timeline-item h4 {
  font-size: 1.05rem;
  margin: 0 0 5px;
}
.av-timeline-item p {
  color: var(--c-muted);
  font-size: var(--fs-sm);
  margin: 0;
}

/* ویدیو */
.av-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  margin: 20px 0;
  background: var(--c-ink);
  box-shadow: var(--shadow-sm);
}
.av-video iframe,
.av-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* FAQ ساده — نشانگر استاندارد بدون کاراکتر فارسی */
.av-faq-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
}
.av-faq-item:last-child { border-bottom: 0; }
.av-faq-item h4 {
  font-size: 1rem;
  color: var(--c-ink);
  margin-bottom: 6px;
  position: relative;
  padding-right: 26px;
}
.av-faq-item h4::before {
  content: "Q";
  position: absolute;
  right: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
}
.av-faq-item p {
  color: var(--c-muted);
  font-size: var(--fs-sm);
  margin: 0;
}

/* متن «گرادیانی» — اکنون فقط رنگ تأکید */
.av-text-gradient {
  color: var(--c-blue);
  font-weight: 800;
}
.av-text-coral { color: var(--c-coral); font-weight: 800; }

/* رفع تداخل با entry-content */
.entry-content .av-btn,
.entry-content a.av-btn,
.entry-content .av-team-social a,
.entry-content .av-tabs-nav a,
.entry-content .av-badge,
.entry-content a.av-badge,
.entry-content .post-tags a {
  border-bottom: 0;
}
.entry-content .av-btn:hover,
.entry-content .av-team-social a:hover { border-bottom: 0; }

.entry-content .av-card h2,
.entry-content .av-card h3,
.entry-content .av-cta h2,
.entry-content .av-cta h3,
.entry-content .av-section-head h2,
.entry-content .av-section-head h3,
.entry-content .av-icon-box h2,
.entry-content .av-icon-box h3,
.entry-content .av-icon-box h4,
.entry-content .av-price h2,
.entry-content .av-price h3,
.entry-content .av-team h2,
.entry-content .av-team h3,
.entry-content .av-timeline-item h3,
.entry-content .av-timeline-item h4,
.entry-content .av-testimonial h3,
.entry-content .av-faq-item h4 {
  padding-right: 0;
  border-right: 0;
  margin-top: 0;
}
.entry-content .av-faq-item h4 { padding-right: 26px; }

.entry-content .av-team-photo img,
.entry-content .av-testimonial-avatar img,
.entry-content .av-icon-box img,
.entry-content .av-split img {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
.entry-content .av-split img { border-radius: var(--r-lg); }
.entry-content .av-card img { margin: 0 0 10px; }

.entry-content .av-list-check,
.entry-content .av-price-features,
.entry-content .av-tabs-nav,
.entry-content .av-accordion,
.entry-content .av-team-social,
.entry-content .av-btn-group,
.entry-content .av-timeline,
.entry-content .av-stats {
  padding-right: 0;
}
.entry-content .av-list-check li,
.entry-content .av-price-features li,
.entry-content .av-team-social li,
.entry-content .av-tabs-nav li {
  padding-right: 0;
  margin-bottom: 0;
}
.entry-content .av-list-check li { padding-right: 32px; margin-bottom: 0; }
.entry-content .av-price-features li { padding-right: 24px; }
.entry-content .av-list-check li::before,
.entry-content .av-price-features li::before,
.entry-content .av-team-social li::before,
.entry-content .av-tabs-nav li::before {
  background: none;
  width: auto;
  height: auto;
  top: 0;
  right: 0;
  border-radius: 0;
}
.entry-content .av-list-check li::before {
  content: "\2713";
  width: 22px;
  height: 22px;
  border-radius: var(--r-xs);
  background: var(--c-blue);
  color: #fff;
  font-size: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  line-height: 1;
  top: 2px;
  right: 0;
}
.entry-content .av-price-features li::before {
  content: "\2713";
  color: #10b981;
  font-size: 15px;
  font-weight: 800;
  top: 0;
  right: 0;
}
.entry-content .av-price-features li.av-no::before {
  content: "\2715";
  color: #ef4444;
  background: none;
}
.entry-content .av-price-featured .av-price-features li::before { color: #fff; background: none; }
.entry-content .av-stats { padding-right: 32px; padding-left: 32px; }

/* ============================================================
   ۲۳. کلاس‌های کمکی
============================================================ */
.text-center { text-align: center; }
.text-start  { text-align: right; }
.text-end    { text-align: left; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.screen-reader-text {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================================
   ۲۴. ریسپانسیو
============================================================ */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-features { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  :root {
    --fs-base: 13.5px;
    --fs-sm:   12.5px;
    --fs-md:   14.5px;
  }
  .hero { padding: 60px 0 60px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .features-grid { grid-template-columns: 1fr; gap: 36px; }
  .features-visual { max-width: 480px; margin: 0 auto; width: 100%; min-height: 280px; }
  .blog-layout, .single-layout, .contact-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; top: auto; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-hero-grid { grid-template-columns: 1fr; }
  .av-grid-3, .av-grid-4 { grid-template-columns: 1fr 1fr; }
  .av-split { grid-template-columns: 1fr; gap: 24px; }
  .av-price-featured { transform: none; }
  .av-price-featured:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  :root {
    --fs-base: 13.5px;
    --fs-sm:   12.5px;
    --fs-md:   14px;
  }
  .section, .contact-section { padding: 56px 0; }
  .hero { padding: 50px 0 56px; }
  .container { padding: 0 18px; }

  /* هدر */
  .header-inner { gap: 10px; }
  .site-nav {
    position: static;
    flex: 0 0 auto;
    justify-content: flex-end;
  }
  .main-menu {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-bottom: 1px solid var(--c-line);
    gap: 2px;
    transform: translateY(-130%);
    transition: transform var(--t-base);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    z-index: 99;
  }
  .main-menu.open { transform: translateY(0); }
  .main-menu > li > a { padding: 11px 14px; }
  .main-menu li { width: 100%; }

  .main-menu .menu-item-has-children > a::after,
  .main-menu li.has-children > a::after {
    margin-right: auto;
  }

  .main-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 4px 14px 10px;
    background: var(--c-bg-alt);
    border: 0;
    min-width: 0;
    border-radius: 0;
    margin: 2px 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  .main-menu li.has-children.is-open > .sub-menu,
  .main-menu .menu-item-has-children.is-open > .sub-menu {
    max-height: 600px;
    padding: 6px 14px 10px;
  }
  .main-menu .sub-menu a {
    padding: 8px 10px;
    color: var(--c-text);
  }

  .menu-toggle { display: inline-flex; }
  .header-cta {
    padding: 8px 14px;
    font-size: 12.5px;
  }
  .header-cta span.txt { display: none; }

  /* هیرو */
  .hero h1 { font-size: 1.7rem; }
  .hero-stats { gap: 22px; padding-top: 22px; }
  .hero-stat .num { font-size: 1.25rem; }
  .hero-metric-row { grid-template-columns: 1fr 1fr; }

  .section-head { margin-bottom: 38px; }
  .section-head h2 { font-size: 1.45rem; }
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }

  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-features { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 22px; }

  .features-visual { padding: 26px 22px; }

  .stats-bar { padding: 26px 20px; gap: 16px; grid-template-columns: repeat(2, 1fr); }
  .stat-item .stat-num { font-size: 1.55rem; }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .article-body { padding: 22px 18px; }
  .article-body > h1.article-title { font-size: 1.35rem; }
  .article-meta { gap: 10px; font-size: 11px; }
  .entry-content h2 { font-size: 1.2rem; }
  .entry-content h3 { font-size: 1.08rem; }
  .entry-content blockquote { padding: 16px 18px; font-size: var(--fs-base); }

  .page-content-wrap .entry-content { padding: 24px 20px; }

  .contact-form { padding: 24px 20px; }

  .comments-area { padding: 22px 18px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .footer-bottom { text-align: center; justify-content: center; }

  .av-grid-2, .av-grid-3, .av-grid-4 { grid-template-columns: 1fr; }
  .av-section-alt { margin: 22px 0; padding: 22px 18px; }
  .av-cta { padding: 30px 22px; }
  .av-cta h2, .av-cta h3 { font-size: 1.35rem; }
  .av-stats { padding: 24px 18px; gap: 16px; }
  .av-stats .av-stat-num { font-size: 1.55rem; }
  .av-tabs-nav { flex-direction: column; }
  .av-tabs-nav button { min-width: 0; }
  .av-section-head h2 { font-size: 1.4rem; }
  .av-price-amount { font-size: 1.9rem; }

  .entry-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .entry-content table th,
  .entry-content table td { white-space: nowrap; }

  .single-nav-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  :root { --header-h: 60px; }
  .hero h1 { font-size: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .header-inner { height: 60px; }
  .site-logo { font-size: 1rem; gap: 8px; }
  .site-logo .logo-mark { width: 30px; height: 30px; font-size: 0.85rem; }
  .menu-toggle { width: 36px; height: 36px; font-size: 17px; }
  .header-cta { padding: 7px 12px; }

  .hero-stats { gap: 16px; width: 100%; justify-content: space-between; padding-top: 18px; }
  .hero-stat { flex: 1; min-width: 80px; }
  .hero-stat .num { font-size: 1.15rem; }

  .stats-bar { padding: 22px 16px; gap: 14px; }
  .stat-item .stat-num { font-size: 1.4rem; }

  .section-head h2 { font-size: 1.3rem; }
  .article-body { padding: 18px 14px; }
  .article-body > h1.article-title { font-size: 1.2rem; }
  .page-content-wrap .entry-content { padding: 20px 14px; }
  .contact-form { padding: 20px 14px; }
  .article-thumb { aspect-ratio: 16/10; }
  .pagination a, .pagination span { min-width: 34px; height: 34px; padding: 0 8px; }
}

/* ============================================================
   ۲۰. لندینگ طراحی سایت (template-landing-webdesign.php)
   مستقل از هدر/فوتر اصلی — کلاس‌های با پیشوند .lp-
============================================================ */
body.avana-landing { background: #fff; color: var(--c-text); }
body.avana-landing .site-header,
body.avana-landing .site-footer,
body.avana-landing .contact-section { display: none !important; }

.lp-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.lp-container-narrow { max-width: 860px; }

.ink-blue  { color: var(--c-blue); }
.ink-coral { color: var(--c-coral); }

/* --- نوار بالایی --- */
.lp-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--c-line);
}
.lp-topbar .lp-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.lp-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--c-ink);
    font-weight: 800;
    font-size: 16px;
}
.lp-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--c-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: 'Inter', system-ui, sans-serif;
}
.lp-topbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--c-coral);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13.5px;
    transition: background var(--t-fast), transform var(--t-fast);
}
.lp-topbar-cta:hover { background: var(--c-coral-dark); color: #fff; transform: translateY(-1px); }
.lp-topbar-cta i { font-size: 15px; }

/* منوی هدر — انکر به سکشن‌ها */
.lp-topnav {
    display: flex;
    align-items: center;
    gap: 26px;
    flex: 1;
    justify-content: center;
}
.lp-topnav a {
    color: var(--c-text);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    transition: color var(--t-fast);
    position: relative;
    padding: 4px 0;
}
.lp-topnav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--c-blue);
    border-radius: 2px;
    transition: width var(--t-fast);
}
.lp-topnav a:hover { color: var(--c-blue); }
.lp-topnav a:hover::after { width: 100%; }

/* اسکرول نرم برای کلیک روی انکرها + فضای کافی زیر نوار بالا */
html { scroll-behavior: smooth; }
body.avana-landing { scroll-behavior: smooth; }
body.avana-landing [id] { scroll-margin-top: 76px; }

/* --- دکمه‌های لندینگ --- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all var(--t-fast);
    border: 1px solid transparent;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
}
.lp-btn i { font-size: 16px; }
.lp-btn-primary { background: var(--c-blue); color: #fff; border-color: var(--c-blue); }
.lp-btn-primary:hover { background: var(--c-blue-dark); border-color: var(--c-blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(2, 89, 221, 0.25); }
.lp-btn-coral { background: var(--c-coral); color: #fff; border-color: var(--c-coral); }
.lp-btn-coral:hover { background: var(--c-coral-dark); border-color: var(--c-coral-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 102, 72, 0.3); }
.lp-btn-outline { background: #fff; color: var(--c-blue); border-color: var(--c-blue); }
.lp-btn-outline:hover { background: var(--c-blue); color: #fff; }
.lp-btn-white-coral { background: #fff; color: var(--c-coral); border-color: #fff; }
.lp-btn-white-coral:hover { background: var(--c-coral); color: #fff; border-color: #fff; transform: translateY(-2px); }
.lp-btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.lp-btn-ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }
.lp-btn-block { width: 100%; }
.lp-btn-lg { padding: 16px 28px; font-size: 15px; }

/* --- تگ‌های متنی --- */
.lp-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: var(--c-blue-soft);
    color: var(--c-blue);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 24px;
}
.lp-tag .dot { width: 7px; height: 7px; background: var(--c-coral); border-radius: 50%; }
.lp-tag-small {
    display: inline-block;
    padding: 5px 12px;
    background: var(--c-coral-soft);
    color: var(--c-coral-dark);
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.2px;
    margin-bottom: 14px;
}
.lp-tag-small.light { background: rgba(255, 255, 255, 0.15); color: #fff; }

/* --- بخش‌های عمومی --- */
.lp-section { padding: 80px 0; }
.lp-section-alt { background: var(--c-bg-alt); }
.lp-section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.lp-section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; color: var(--c-ink); margin-bottom: 14px; line-height: 1.35; }
.lp-section-head p { font-size: 15px; color: var(--c-muted); line-height: 1.9; }

/* ============================================================
   بنر هیرو — تک، کلیک‌پذیر، با المان‌های انیمیشن سریع
============================================================ */
.lp-hero-banner {
    position: relative;
    display: block;
    width: 100%;
    min-height: 500px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0%, rgba(255,102,72,0.22) 0, transparent 50%),
        radial-gradient(circle at 20% 100%, rgba(255,225,215,0.45) 0, transparent 55%),
        linear-gradient(135deg, #0259DD 0%, #0246B0 100%);
    color: #fff;
}

/* پس‌زمینه‌ی شناور — کانفتی و ستاره‌ها */
.lp-hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}
.lp-particle {
    position: absolute;
    opacity: 0.7;
    will-change: transform;
}
.lp-particle.dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c-coral);
}
.lp-particle.ring {
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.45);
    border-radius: 50%;
    background: transparent;
}
.lp-particle.star {
    width: 14px; height: 14px;
    background: #fff;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.lp-particle.sq {
    width: 12px; height: 12px;
    background: var(--c-sky);
    border-radius: 3px;
    transform: rotate(20deg);
}
@keyframes lp-float-up {
    0%   { transform: translateY(100vh) rotate(0deg);   opacity: 0; }
    10%  { opacity: 0.7; }
    90%  { opacity: 0.7; }
    100% { transform: translateY(-20vh) rotate(540deg); opacity: 0; }
}
.lp-particle.p1 { left: 6%;  animation: lp-float-up 6s   linear infinite; animation-delay: -1s; }
.lp-particle.p2 { left: 14%; animation: lp-float-up 7s   linear infinite; animation-delay: -3s; }
.lp-particle.p3 { left: 22%; animation: lp-float-up 5.5s linear infinite; animation-delay: -2.2s; }
.lp-particle.p4 { left: 38%; animation: lp-float-up 8s   linear infinite; animation-delay: -4.5s; }
.lp-particle.p5 { left: 52%; animation: lp-float-up 6.5s linear infinite; animation-delay: -0.5s; }
.lp-particle.p6 { left: 66%; animation: lp-float-up 7.5s linear infinite; animation-delay: -2.8s; }
.lp-particle.p7 { left: 78%; animation: lp-float-up 5s   linear infinite; animation-delay: -1.4s; }
.lp-particle.p8 { left: 88%; animation: lp-float-up 6s   linear infinite; animation-delay: -3.6s; }
.lp-particle.p9 { left: 95%; animation: lp-float-up 7s   linear infinite; animation-delay: -4s; }

.lp-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 40px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
    min-height: 500px;
}

/* --- متن سمت راست --- */
.lp-hero-banner .lp-hero-text { position: relative; z-index: 3; }

.lp-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.lp-hero-tag .dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--c-coral);
    animation: lp-tag-pulse 0.9s ease-in-out infinite;
}
@keyframes lp-tag-pulse {
    0%, 100% { transform: scale(1);   box-shadow: 0 0 0 0   rgba(255,102,72,0.6); }
    50%      { transform: scale(1.3); box-shadow: 0 0 0 6px rgba(255,102,72,0); }
}

.lp-hero-title {
    font-size: clamp(1.7rem, 3.6vw, 2.8rem);
    font-weight: 900;
    line-height: 1.45;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
    color: #fff;
}
.lp-hero-title .accent {
    background: var(--c-coral);
    color: #fff;
    padding: 4px 12px;
    border-radius: 10px;
    display: inline-block;
    margin: 0 4px;
    box-shadow: 0 6px 20px rgba(255,102,72,0.45);
}
.lp-hero-title .accent-line {
    position: relative;
    display: inline-block;
}
.lp-hero-title .accent-line::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 4px;
    background: var(--c-coral);
    border-radius: 4px;
    animation: lp-line-grow 1.2s ease-out 0.3s both;
    transform-origin: right;
}
@keyframes lp-line-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.lp-hero-lead {
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    line-height: 2;
    margin-bottom: 28px;
    max-width: 540px;
    color: rgba(255,255,255,0.88);
}

.lp-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}
.lp-hero-pills span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.lp-hero-pills i { color: var(--c-coral); font-size: 14px; }

.lp-hero-ctas {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.lp-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
    border: 1px solid transparent;
    position: relative;
    cursor: pointer;
}
.lp-hero-cta i { font-size: 18px; }
.lp-hero-cta-primary {
    background: #fff;
    color: var(--c-blue);
    box-shadow: 0 10px 30px rgba(0,0,0,0.20);
    animation: lp-btn-pulse 1.6s ease-in-out infinite;
}
.lp-hero-cta-primary:hover {
    background: var(--c-coral);
    color: #fff;
    transform: translateY(-3px);
}
@keyframes lp-btn-pulse {
    0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,0.20), 0 0 0 0   rgba(255,255,255,0.4); }
    50%      { box-shadow: 0 10px 30px rgba(0,0,0,0.20), 0 0 0 14px rgba(255,255,255,0); }
}
.lp-hero-cta-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.lp-hero-cta-secondary:hover {
    background: rgba(255,255,255,0.14);
    border-color: #fff;
    color: #fff;
    transform: translateY(-3px);
}

/* --- ویژوال سمت چپ --- */
.lp-hero-banner .lp-hero-visual {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 400px;
    margin: 0 auto;
}

/* جعبه‌ی هدیه — وسط، پرشی و چرخان */
.lp-gift {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: linear-gradient(180deg, var(--c-coral) 0%, var(--c-coral-dark) 100%);
    border-radius: 22px;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.4);
    transform: translate(-50%, -50%);
    animation: lp-gift-bounce 0.9s cubic-bezier(.55,.07,.49,1.41) infinite alternate;
}
@keyframes lp-gift-bounce {
    0%   { transform: translate(-50%, -50%) rotate(-4deg) scale(1); }
    100% { transform: translate(-50%, -65%) rotate(4deg)  scale(1.04); }
}
.lp-gift::before {
    content: '';
    position: absolute;
    top: -10px; bottom: -10px;
    left: 50%; transform: translateX(-50%);
    width: 30px;
    background: rgba(255,255,255,0.85);
    border-radius: 4px;
}
.lp-gift::after {
    content: '';
    position: absolute;
    left: -10px; right: -10px;
    top: 50%; transform: translateY(-50%);
    height: 30px;
    background: rgba(255,255,255,0.85);
    border-radius: 4px;
}
.lp-gift-core {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
}
.lp-gift-core i {
    font-size: 80px;
    color: #fff;
    background: var(--c-ink);
    width: 100px; height: 100px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    animation: lp-gift-icon-pop 0.9s ease-in-out infinite alternate;
}
@keyframes lp-gift-icon-pop {
    0%   { transform: scale(1)   rotate(-6deg); }
    100% { transform: scale(1.1) rotate(6deg); }
}

/* ----- ایستر اِگ: کلیک روی جعبه → باز شدن و پریدن جایزه ----- */
.lp-gift-prize {
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-50%, 20px) scale(0);
    transform-origin: center bottom;
    opacity: 0;
    pointer-events: none;
    z-index: 12;
    transition: opacity 0.25s ease, transform 0.5s cubic-bezier(.34, 1.6, .64, 1);
}
.lp-gift.is-open .lp-gift-prize {
    transform: translate(-50%, -110%) scale(1);
    opacity: 1;
}
.lp-gift-prize-card {
    background: linear-gradient(180deg, var(--c-coral) 0%, var(--c-coral-dark) 100%);
    color: #fff;
    padding: 14px 22px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 24px 50px -10px rgba(255,102,72,0.55), 0 0 0 4px rgba(255,255,255,0.12);
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    border: 2px solid rgba(255,255,255,0.18);
}
.lp-gift-prize-card .emoji { font-size: 22px; line-height: 1; }
.lp-gift-prize-card strong { font-size: 14.5px; font-weight: 900; }
.lp-gift-prize-card .sub { font-size: 11.5px; opacity: 0.92; font-weight: 600; }

/* با باز شدن، آیکن داخل جعبه به‌سمت پایین خم می‌شود (انگار درب باز شد) */
.lp-gift.is-open .lp-gift-core i {
    animation: none;
    transform: translateY(14px) rotate(-22deg) scale(0.85);
    opacity: 0.55;
    transition: transform 0.35s ease, opacity 0.3s ease;
}
/* لرزش جعبه هم متوقف می‌شود تا جایزه ثابت دیده شود */
.lp-gift.is-open { animation-play-state: paused; }

/* کانفتی منفجر شونده */
.lp-gift-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.lp-gift-confetti span {
    position: absolute;
    top: 50%; left: 50%;
    width: 8px; height: 8px;
    border-radius: 2px;
    opacity: 0;
}
.lp-gift.is-open .lp-gift-confetti span {
    animation: lp-confetti-burst 1.1s ease-out forwards;
}
.lp-gift-confetti span:nth-child(1) { background: var(--c-coral); --tx: -70px; --ty: -90px; --r: 140deg; animation-delay: 0.05s; }
.lp-gift-confetti span:nth-child(2) { background: var(--c-sky);   --tx:  80px; --ty: -80px; --r: -110deg; animation-delay: 0.1s; }
.lp-gift-confetti span:nth-child(3) { background: #fff;            --tx: -110px; --ty: -10px; --r:  80deg; animation-delay: 0.12s; }
.lp-gift-confetti span:nth-child(4) { background: var(--c-coral); --tx: 120px;  --ty:   0px; --r: -90deg; animation-delay: 0.15s; }
.lp-gift-confetti span:nth-child(5) { background: var(--c-sky);   --tx: -60px;  --ty:  70px; --r: 180deg; animation-delay: 0.18s; }
.lp-gift-confetti span:nth-child(6) { background: #fff;            --tx:  70px;  --ty:  80px; --r: -160deg; animation-delay: 0.22s; }
.lp-gift-confetti span:nth-child(7) { background: var(--c-coral); --tx: -30px;  --ty: -120px; --r:  60deg; animation-delay: 0.08s; }
.lp-gift-confetti span:nth-child(8) { background: var(--c-sky);   --tx:  30px;  --ty: -130px; --r: -60deg; animation-delay: 0.14s; }
@keyframes lp-confetti-burst {
    0%   { transform: translate(-50%, -50%) translate(0, 0) rotate(0deg); opacity: 1; }
    100% { transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) rotate(var(--r)); opacity: 0; }
}

/* درخشش‌های دور جعبه — سریع */
.lp-sparkle {
    position: absolute;
    color: #fff;
    font-size: 22px;
    opacity: 0;
    animation: lp-sparkle 1.1s ease-in-out infinite;
    text-shadow: 0 0 12px rgba(255,255,255,0.6);
    pointer-events: none;
}
@keyframes lp-sparkle {
    0%, 100% { transform: scale(0)   rotate(0deg);   opacity: 0; }
    50%      { transform: scale(1.2) rotate(180deg); opacity: 1; }
}
.lp-sparkle.s1 { top: 14%; left: 50%; animation-delay: 0s;    color: #fff; }
.lp-sparkle.s2 { top: 28%; left: 78%; animation-delay: 0.25s; color: var(--c-sky); }
.lp-sparkle.s3 { top: 60%; left: 86%; animation-delay: 0.5s;  color: #fff; }
.lp-sparkle.s4 { top: 75%; left: 50%; animation-delay: 0.75s; color: var(--c-coral); }
.lp-sparkle.s5 { top: 60%; left: 12%; animation-delay: 0.35s; color: #fff; }
.lp-sparkle.s6 { top: 28%; left: 18%; animation-delay: 0.6s;  color: var(--c-sky); }

/* چیپ‌های شناور با چرخش لرزشی */
.lp-chip {
    position: absolute;
    background: #fff;
    color: var(--c-ink);
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 14px;
    display: inline-flex; align-items: center; gap: 10px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.25);
    z-index: 4;
    white-space: nowrap;
}
.lp-chip i {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.lp-chip.c1 { top: 22px; right: -8px; animation: lp-chip-wobble-a 1.1s ease-in-out infinite; }
.lp-chip.c1 i { background: var(--c-coral-soft); color: var(--c-coral); }
.lp-chip.c2 { bottom: 70px; left: -14px; animation: lp-chip-wobble-b 1.3s ease-in-out infinite; }
.lp-chip.c2 i { background: var(--c-blue-soft); color: var(--c-blue); }
.lp-chip.c3 { bottom: 0; right: 50px; animation: lp-chip-wobble-c 1.0s ease-in-out infinite; }
.lp-chip.c3 i { background: #d1fae5; color: #10b981; }
@keyframes lp-chip-wobble-a {
    0%, 100% { transform: rotate(3deg)  translateY(0); }
    50%      { transform: rotate(-3deg) translateY(-8px); }
}
@keyframes lp-chip-wobble-b {
    0%, 100% { transform: rotate(-3deg) translateY(0); }
    50%      { transform: rotate(3deg)  translateY(-10px); }
}
@keyframes lp-chip-wobble-c {
    0%, 100% { transform: rotate(2deg)  translateY(0); }
    50%      { transform: rotate(-2deg) translateY(-6px); }
}

/* بَج «۱۰ روز» — پرشی، گردِ شناور بالا چپ */
.lp-days-badge {
    position: absolute;
    top: -10px;
    left: 30px;
    width: 92px; height: 92px;
    background: #fff;
    color: var(--c-blue);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column;
    box-shadow: 0 18px 36px -10px rgba(0,0,0,0.3);
    font-weight: 900;
    z-index: 5;
    animation: lp-badge-spin 1.2s ease-in-out infinite;
    border: 4px solid var(--c-coral);
}
.lp-days-badge .num {
    font-size: 34px;
    line-height: 1;
    color: var(--c-coral);
    font-family: 'Inter', system-ui, sans-serif;
}
.lp-days-badge .lbl {
    font-size: 11px;
    color: var(--c-ink);
    margin-top: 2px;
    font-weight: 800;
}
@keyframes lp-badge-spin {
    0%, 100% { transform: rotate(-10deg) scale(1)    translateY(0); }
    50%      { transform: rotate(10deg)  scale(1.08) translateY(-8px); }
}

/* راکت کوچک که در پس‌زمینه شناور حرکت می‌کند */
.lp-rocket {
    position: absolute;
    width: 56px; height: 56px;
    background: var(--c-ink);
    color: var(--c-coral);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    z-index: 3;
    top: 60%;
    right: -10px;
    animation: lp-rocket-dash 1.6s ease-in-out infinite alternate;
    box-shadow: 0 14px 30px rgba(0,0,0,0.3);
}
.lp-rocket-text { display: none; } /* فقط در موبایل نمایش داده می‌شود */
@keyframes lp-rocket-dash {
    0%   { transform: rotate(-25deg) translate(0, 0); }
    100% { transform: rotate(-25deg) translate(-12px, -16px); }
}

@media (prefers-reduced-motion: reduce) {
    .lp-hero-banner *,
    .lp-hero-banner *::before,
    .lp-hero-banner *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
    }
}

/* --- نوار آمار --- */
.lp-strip { padding: 30px 0; background: var(--c-ink); color: #fff; }
.lp-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.lp-strip-item .num {
    font-size: 1.9rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}
.lp-strip-item .label { font-size: 12.5px; color: rgba(255, 255, 255, 0.7); font-weight: 500; }

/* --- برندهای همکار — نوار اسلایدی بی‌درز --- */
.lp-brands {
    padding: 50px 0 56px;
    background: #fff;
}
.lp-section-head-tight { margin-bottom: 28px; }

.lp-marquee {
    overflow: hidden;
    width: 100%;
    padding: 14px 0;
    background: #fff;
    /* اجباری LTR — تا تراک از لبه‌ی چپ شروع شود و سمت راست همیشه پر بماند */
    direction: ltr;
    /* محو شدن نرم در دو لبه */
    -webkit-mask-image: linear-gradient(to left, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(to left, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.lp-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    direction: ltr; /* جلوگیری از به‌هم ریختن چینش در RTL */
    animation: lp-marquee 38s linear infinite;
}
.lp-marquee:hover .lp-marquee-track { animation-play-state: paused; }
/* نوار سه‌برابر کپی شده — انیمیشن دقیقاً به اندازه‌ی یک کپی (یک‌سوم کل) جابجا می‌شود
   تا حلقه روی نمایشگرهای پهن هم بدون فضای خالی ادامه پیدا کند. */
@keyframes lp-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-100% / 3)); }
}
.lp-marquee-item {
    flex: 0 0 auto;
    height: 64px;
    min-width: 130px;
    max-width: 220px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    padding: 10px 18px;
    /* به جای gap، margin-right روی همه‌ی آیتم‌ها — تا فاصله بعد از
       آخرین آیتم هم لحاظ شود و حلقه‌ی -50% دقیقاً بی‌درز شود */
    margin-right: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--t-fast), transform var(--t-fast);
}
.lp-marquee-item:hover { border-color: var(--c-blue); transform: translateY(-2px); }
.lp-marquee-item img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: none;
}

.lp-brands-tagline {
    margin-top: 32px;
    text-align: center;
    font-size: 15px;
    line-height: 1.9;
    color: var(--c-text);
    background: #fff;
    border: 1px dashed var(--c-coral);
    border-radius: 14px;
    padding: 18px 24px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}
.lp-brands-tagline i {
    color: var(--c-coral);
    font-size: 18px;
    margin-left: 6px;
    vertical-align: -2px;
}
.lp-brands-tagline strong { color: var(--c-coral-dark); }

@media (prefers-reduced-motion: reduce) {
    .lp-marquee-track { animation: none; }
}

/* --- ویژگی‌ها — یک باکس واحد، ۶ ستون کنار هم --- */
.lp-features-box {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 22px;
    padding: 28px 18px;
    box-shadow: var(--shadow-md);
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}
.lp-feature-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 16px 10px;
    border-radius: 14px;
    transition: background var(--t-fast), transform var(--t-fast);
    position: relative;
}
.lp-feature-row + .lp-feature-row::before {
    content: '';
    position: absolute;
    top: 18%;
    bottom: 18%;
    right: 0;
    width: 1px;
    background: var(--c-line);
    border-right: 1px dashed var(--c-line);
}
.lp-feature-row:hover {
    background: var(--c-bg-alt);
    transform: translateY(-3px);
}
.lp-feature-ico {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--c-blue-soft);
    color: var(--c-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}
.lp-feature-ico.coral { background: var(--c-coral-soft); color: var(--c-coral); }
.lp-feature-ico.sky   { background: var(--c-sky-soft);   color: var(--c-blue); }
.lp-feature-body h3 { font-size: 14.5px; font-weight: 800; color: var(--c-ink); margin-bottom: 6px; line-height: 1.5; }
.lp-feature-body p { font-size: 12.5px; line-height: 1.85; color: var(--c-muted); }

/* --- نمونه‌کارها --- */
.lp-portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.lp-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--t-fast);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.lp-card.is-hidden { display: none; }
.lp-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px -15px rgba(12, 21, 50, 0.18);
    border-color: var(--c-blue);
}
.lp-card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--c-bg-alt);
}
.lp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}
.lp-card:hover .lp-card-image img { transform: scale(1.05); }
.lp-card-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--c-blue);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.lp-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(2, 89, 221, 0.88);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    opacity: 0;
    transition: opacity var(--t-fast);
}
.lp-card-overlay i { font-size: 18px; }
.lp-card:hover .lp-card-overlay { opacity: 1; }
.lp-card-body { padding: 18px 20px; }
.lp-card-body h3 { font-size: 15.5px; font-weight: 800; color: var(--c-ink); margin-bottom: 6px; }
.lp-card-body p { font-size: 13px; color: var(--c-muted); line-height: 1.7; margin-bottom: 10px; }
.lp-card-url { font-size: 12px; color: var(--c-blue); font-weight: 600; direction: ltr; }

.lp-portfolio-more { text-align: center; margin-top: 40px; }
.lp-portfolio-more .lp-btn { padding: 14px 28px; }

/* --- قیمت‌گذاری --- */
.lp-pricing-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    max-width: 100%;
    margin: 0 auto 30px;
    background: linear-gradient(90deg, var(--c-coral) 0%, var(--c-coral-dark) 100%);
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 14px 30px -8px rgba(255,102,72,0.45);
    animation: lp-banner-pulse 1.6s ease-in-out infinite;
}
.lp-pricing-banner i { font-size: 18px; }
.lp-pricing-banner strong { font-weight: 900; letter-spacing: 0.3px; }
.lp-pricing-banner span { opacity: 0.92; }
@keyframes lp-banner-pulse {
    0%, 100% { box-shadow: 0 14px 30px -8px rgba(255,102,72,0.45), 0 0 0 0   rgba(255,102,72,0.35); }
    50%      { box-shadow: 0 14px 30px -8px rgba(255,102,72,0.45), 0 0 0 14px rgba(255,102,72,0); }
}

.lp-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 920px;
    margin: 0 auto;
}
.lp-pricing-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1180px;
}
/* تنظیمات فشرده‌تر فقط روی دسکتاپ (در تبلت/موبایل پلن‌ها ستون‌چینی استاندارد می‌گیرند) */
@media (min-width: 981px) {
    .lp-pricing-grid-3 .lp-price { padding: 32px 26px; }
    .lp-pricing-grid-3 .lp-price-num { font-size: 2.3rem; }
    .lp-pricing-grid-3 .lp-price-name { font-size: 17px; }
    .lp-pricing-grid-3 .lp-price-sub { font-size: 12.5px; }
    .lp-pricing-grid-3 .lp-price-features li { font-size: 13px; line-height: 1.7; }
}
.lp-price {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 20px;
    padding: 36px 32px;
    transition: all var(--t-fast);
    display: flex;
    flex-direction: column;
    position: relative;
}
.lp-price:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px -15px rgba(12, 21, 50, 0.18);
}
.lp-price-head { margin-bottom: 20px; }
.lp-price-ico {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--c-blue-soft);
    color: var(--c-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}
.lp-price-name { font-size: 18px; font-weight: 800; color: var(--c-ink); margin-bottom: 8px; }
.lp-price-sub { font-size: 13px; color: var(--c-muted); line-height: 1.8; }
.lp-price-amount {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 0 18px;
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    margin-bottom: 20px;
}
.lp-price-old {
    font-size: 14.5px;
    color: var(--c-muted);
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-color: var(--c-coral);
    text-decoration-thickness: 2px;
    opacity: 0.7;
}
.lp-price-now {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.lp-price-num { font-size: 2.6rem; font-weight: 900; color: var(--c-blue); line-height: 1; }
.lp-price-unit { font-size: 14px; color: var(--c-muted); font-weight: 600; }
.lp-price-discount {
    margin-top: 4px;
    font-size: 11.5px;
    color: var(--c-coral-dark);
    font-weight: 800;
    background: var(--c-coral-soft);
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,102,72,0.18);
}
.lp-price-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: grid;
    gap: 10px;
    flex: 1;
}
.lp-price-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--c-text);
    line-height: 1.7;
}
.lp-price-features li i {
    color: #10b981;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}
.lp-price-features li.lp-feat-hl {
    background: var(--c-coral-soft);
    color: var(--c-coral-dark);
    padding: 8px 10px;
    margin: 2px -4px;
    border-radius: 8px;
    font-weight: 800;
}
.lp-price-features li.lp-feat-hl i { color: var(--c-coral-dark); }
/* پلن «پر فروش‌ترین» هم پس‌زمینه‌ی سفید دارد، پس همان رنگ‌ها روی آن هم خوانا است */
.lp-price-featured {
    background: linear-gradient(180deg, #fff 0%, #fff 100%);
    border-color: var(--c-coral);
    border-width: 2px;
}
.lp-price-featured .lp-price-num { color: var(--c-coral); }
.lp-price-featured .lp-price-ico { background: var(--c-coral-soft); color: var(--c-coral); }
.lp-price-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--c-coral);
    color: #fff;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(255, 102, 72, 0.3);
}
.lp-pricing-note {
    text-align: center;
    margin-top: 32px;
    padding: 14px 20px;
    background: var(--c-cream-soft);
    border-radius: 12px;
    color: var(--c-text);
    font-size: 13px;
    line-height: 1.9;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.lp-pricing-note i { color: var(--c-coral); margin-left: 4px; }

/* --- مارکت‌پلیس --- */
.lp-marketplace {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.lp-marketplace-text h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 800; color: var(--c-ink); margin-bottom: 16px; line-height: 1.45; }
.lp-marketplace-text p { font-size: 15px; line-height: 2; color: var(--c-muted); margin-bottom: 22px; }
.lp-marketplace-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.lp-marketplace-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--c-text); font-weight: 600; }
.lp-marketplace-list li i { color: var(--c-coral); font-size: 18px; }
.lp-marketplace-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.lp-logo-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 14px;
    padding: 22px 12px;
    text-align: center;
    transition: all var(--t-fast);
}
.lp-logo-card:hover { border-color: var(--c-blue); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.lp-logo-card .logo-text {
    display: block;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--c-blue);
    margin-bottom: 4px;
}
.lp-logo-card .logo-fa { font-size: 12px; color: var(--c-muted); }

/* --- تحویل فوری ۱۰ روزه --- */
.lp-delivery {
    background: linear-gradient(135deg, var(--c-cream-soft) 0%, var(--c-sky-soft) 100%);
    border: 1px solid var(--c-line);
    border-radius: 24px;
    padding: 56px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.lp-delivery::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(2, 89, 221, 0.08) 0, transparent 60%);
    pointer-events: none;
}
.lp-delivery::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 102, 72, 0.08) 0, transparent 60%);
    pointer-events: none;
}
.lp-delivery > * { position: relative; z-index: 1; }
.lp-delivery-icon {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    background: var(--c-coral);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin-bottom: 22px;
    box-shadow: 0 14px 30px rgba(255, 102, 72, 0.35);
}
.lp-delivery h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--c-ink);
    line-height: 1.5;
    margin: 14px auto 14px;
    max-width: 780px;
}
.lp-delivery p {
    font-size: 15px;
    line-height: 2;
    color: var(--c-text);
    max-width: 560px;
    margin: 0 auto 28px;
}
.lp-delivery-cta { display: flex; justify-content: center; }

/* --- نظرات (کروسل افقی، دستی) --- */
.lp-carousel { position: relative; }
.lp-carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 4px 14px;
    margin: 0 -4px;
}
.lp-carousel-viewport::-webkit-scrollbar { display: none; }
.lp-carousel-track {
    display: flex;
    gap: 18px;
    align-items: stretch;
    width: max-content;
}
.lp-carousel-slide {
    flex: 0 0 auto;
    width: calc((1180px - 48px - 36px) / 3);
    max-width: 380px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}
.lp-carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
}
.lp-carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--c-line);
    color: var(--c-blue);
    cursor: pointer;
    transition: all var(--t-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-sm);
}
.lp-carousel-btn:hover {
    background: var(--c-blue);
    color: #fff;
    border-color: var(--c-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 89, 221, 0.25);
}

.lp-testi {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 16px;
    padding: 26px 24px;
    transition: all var(--t-fast);
}
.lp-testi:hover { box-shadow: var(--shadow-md); border-color: var(--c-blue); }
.lp-stars { color: var(--c-coral); margin-bottom: 12px; font-size: 14px; letter-spacing: 2px; }
.lp-testi p { font-size: 14px; line-height: 2; color: var(--c-text); margin-bottom: 18px; }
.lp-testi-author { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--c-line); }
.lp-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--c-blue-soft);
    color: var(--c-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
}
.lp-testi-author strong { display: block; font-size: 13.5px; color: var(--c-ink); font-weight: 800; }
.lp-testi-author small { font-size: 11.5px; color: var(--c-muted); }

/* --- FAQ --- */
.lp-faq { display: grid; gap: 12px; }
.lp-faq-item {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    padding: 4px 4px;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.lp-faq-item[open] { border-color: var(--c-blue); box-shadow: var(--shadow-sm); }
.lp-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    cursor: pointer;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--c-ink);
    list-style: none;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary i { transition: transform var(--t-fast); color: var(--c-blue); font-size: 16px; }
.lp-faq-item[open] summary i { transform: rotate(45deg); }
.lp-faq-item p {
    padding: 0 20px 18px;
    font-size: 13.5px;
    line-height: 2;
    color: var(--c-muted);
}

/* --- CTA نهایی --- */
.lp-cta { padding: 80px 0; background: var(--c-bg); }
.lp-cta-box {
    background: var(--c-blue);
    border-radius: 24px;
    padding: 60px 50px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.lp-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 102, 72, 0.25) 0, transparent 60%);
    pointer-events: none;
}
.lp-cta-box > * { position: relative; z-index: 1; }
.lp-cta-box h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    margin: 14px 0 14px;
    line-height: 1.4;
    color: #fff;
}
.lp-cta-box p { font-size: 15px; line-height: 2; color: rgba(255, 255, 255, 0.92); max-width: 620px; margin: 0 auto 30px; }
.lp-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* --- فوتر --- */
.lp-footer { background: var(--c-ink); color: rgba(255, 255, 255, 0.75); padding: 40px 0 24px; }
.lp-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}
.lp-footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; }
.lp-footer-brand .lp-brand-mark { width: 32px; height: 32px; border-radius: 8px; }
.lp-footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}
.lp-footer-contact a:hover { color: var(--c-coral); }
.lp-footer-bottom { font-size: 12.5px; text-align: center; color: rgba(255, 255, 255, 0.5); }

/* --- دکمه شناور تماس --- */
.lp-floating-call {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 90;
    background: var(--c-coral);
    color: #fff;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 13px;
    box-shadow: 0 12px 30px rgba(255, 102, 72, 0.4);
    transition: transform var(--t-fast);
}
.lp-floating-call:hover { transform: translateY(-3px); color: #fff; }

/* --- ریسپانسیو --- */
@media (max-width: 980px) {
    /* بنر هیرو در تبلت — ستون تکی: متن بالا، ویژوال (هدایا) زیر متن */
    .lp-hero-banner { min-height: auto; }
    .lp-hero-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 46px 28px 56px;
        min-height: auto;
        text-align: center;
    }
    .lp-hero-banner .lp-hero-text { order: 0; }
    .lp-hero-banner .lp-hero-visual {
        order: 1;
        height: 240px;
        max-width: 320px;
        margin: 0 auto;
    }
    .lp-hero-tag { margin-left: auto; margin-right: auto; }
    .lp-hero-title { font-size: 2rem; line-height: 1.5; margin-bottom: 16px; }
    .lp-hero-title .accent { padding: 4px 11px; border-radius: 9px; margin: 0 4px; }
    .lp-hero-lead { font-size: 13.5px; line-height: 1.85; margin: 0 auto 18px; }
    .lp-hero-pills { gap: 6px; margin-bottom: 20px; justify-content: center; }
    .lp-hero-pills span { padding: 5px 11px; font-size: 11.5px; gap: 5px; }
    .lp-hero-cta { padding: 13px 22px; font-size: 13.5px; }
    .lp-hero-cta { padding: 13px 24px; font-size: 13.5px; }
    /* المان‌های ویژوال — هدایا (جعبه + بج + درخشش + راکت) — چیپ‌ها مخفی */
    .lp-chip { display: none; }
    .lp-gift { width: 150px; height: 150px; border-radius: 18px; }
    .lp-gift::before { width: 22px; top: -8px; bottom: -8px; }
    .lp-gift::after  { height: 22px; left: -8px; right: -8px; }
    .lp-gift-core i { font-size: 58px; width: 76px; height: 76px; border-radius: 14px; }
    .lp-days-badge { width: 72px; height: 72px; top: -6px; left: 18px; border-width: 3px; }
    .lp-days-badge .num { font-size: 28px; }
    .lp-days-badge .lbl { font-size: 9px; }
    .lp-rocket { width: 46px; height: 46px; font-size: 22px; border-radius: 12px; top: 60%; right: 4px; }
    .lp-sparkle { font-size: 18px; }

    .lp-strip-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
    .lp-features-box {
        grid-template-columns: repeat(3, 1fr);
        padding: 22px 16px;
    }
    .lp-feature-row { padding: 16px 10px; gap: 10px; }
    /* خط‌چین تنها بین ستون‌های واقعی — نه بعد از خط جدید */
    .lp-feature-row + .lp-feature-row::before { display: none; }
    .lp-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
    .lp-marketplace { grid-template-columns: 1fr; gap: 30px; }
    .lp-carousel-slide { width: 320px; }
    .lp-delivery { padding: 44px 24px; }
    .lp-marquee-item { height: 56px; min-width: 110px; max-width: 180px; padding: 8px 14px; margin-right: 24px; }

    .lp-section { padding: 60px 0; }
    .lp-section-head { margin-bottom: 36px; }

    .lp-cta-box { padding: 44px 28px; border-radius: 18px; }
}

@media (max-width: 600px) {
    .lp-container { padding: 0 16px; }
    .lp-topbar .lp-container { height: 58px; }
    .lp-topbar-cta span { display: none; }
    .lp-topbar-cta { padding: 9px 12px; }
    .lp-topbar-cta i { font-size: 16px; }
    .lp-brand-text { display: none; }
    .lp-topnav { display: none; }

    /* بنر هیرو در موبایل — ستون تکی، فشرده‌تر */
    .lp-hero-inner {
        padding: 30px 16px 40px;
        gap: 14px;
    }
    .lp-hero-banner .lp-hero-visual {
        height: 200px;
        max-width: 260px;
    }
    .lp-hero-tag { padding: 5px 12px; font-size: 11px; margin-bottom: 12px; }
    .lp-hero-title { font-size: 1.7rem; line-height: 1.5; margin-bottom: 14px; }
    .lp-hero-title .accent { padding: 3px 10px; border-radius: 8px; margin: 0 3px; }
    .lp-hero-lead { font-size: 12px; line-height: 1.8; margin-bottom: 14px; }
    .lp-hero-pills { gap: 5px; margin-bottom: 16px; }
    .lp-hero-pills span { padding: 4px 9px; font-size: 10.5px; gap: 4px; }
    .lp-hero-pills i { font-size: 11px; }
    .lp-hero-cta { padding: 11px 20px; font-size: 12.5px; gap: 6px; border-radius: 10px; }
    .lp-hero-cta i { font-size: 14px; }
    /* المان‌های ویژوال — مقیاس کوچک‌تر */
    .lp-gift { width: 124px; height: 124px; border-radius: 16px; }
    .lp-gift::before { width: 20px; top: -7px; bottom: -7px; }
    .lp-gift::after  { height: 20px; left: -7px; right: -7px; }
    .lp-gift-core i { font-size: 46px; width: 60px; height: 60px; border-radius: 12px; }
    .lp-days-badge { width: 58px; height: 58px; top: -4px; left: 14px; border-width: 3px; }
    .lp-days-badge .num { font-size: 22px; }
    .lp-days-badge .lbl { font-size: 8px; }
    /* در موبایل: راکت تبدیل می‌شود به یک قرص متن «هاست و دامنه رایگان» */
    .lp-rocket {
        width: auto; height: auto;
        background: var(--c-coral);
        color: #fff;
        border-radius: 999px;
        padding: 7px 14px;
        font-size: 11.5px;
        font-weight: 800;
        top: auto; bottom: 4px; right: -6px;
        box-shadow: 0 10px 24px rgba(255,102,72,0.45);
        white-space: nowrap;
        animation: lp-rocket-dash 1.6s ease-in-out infinite alternate;
    }
    .lp-rocket i { display: none; }
    .lp-rocket-text { display: inline; }
    .lp-sparkle { font-size: 14px; }

    .lp-features-box { grid-template-columns: repeat(2, 1fr); padding: 16px 10px; }
    .lp-feature-ico { width: 44px; height: 44px; font-size: 20px; border-radius: 12px; }
    .lp-feature-body h3 { font-size: 13.5px; }
    .lp-feature-body p { font-size: 12px; line-height: 1.8; }
    .lp-portfolio-grid { grid-template-columns: 1fr; }
    .lp-marketplace-logos { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .lp-logo-card { padding: 14px 8px; }
    .lp-logo-card .logo-text { font-size: 15px; }
    .lp-logo-card .logo-fa { font-size: 11px; }
    .lp-carousel-slide { width: 88vw; max-width: 360px; }
    .lp-carousel-btn { width: 42px; height: 42px; font-size: 16px; }
    .lp-delivery-icon { width: 64px; height: 64px; font-size: 28px; }

    .lp-section { padding: 50px 0; }
    .lp-section-head h2 { font-size: 1.4rem; }
    .lp-price { padding: 28px 22px; }
    .lp-cta-box { padding: 36px 20px; }
    .lp-cta-actions .lp-btn { width: 100%; }

    .lp-floating-call { display: inline-flex; }
}


/* ============================================================
   ۲۱. لندینگ RFP «جهانک»
============================================================ */
body.avana-rfp-page { background: var(--c-bg-alt); }
body.avana-rfp-page .lp-topbar .lp-container { display: flex; align-items: center; justify-content: space-between; }
.rfp-confidential {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,102,72,0.12);
    color: var(--c-coral-dark);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 800;
    border: 1px solid rgba(255,102,72,0.18);
}

.rfp-container { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* --- Cover --- */
.rfp-cover {
    padding: 64px 0 56px;
    background:
        radial-gradient(circle at 90% 10%, var(--c-cream-soft) 0, transparent 50%),
        radial-gradient(circle at 0% 100%, var(--c-sky-soft) 0, transparent 55%),
        #fff;
    text-align: center;
    border-bottom: 1px solid var(--c-line);
}
.rfp-cover-pill {
    display: inline-block;
    padding: 6px 16px;
    background: var(--c-blue-soft);
    color: var(--c-blue);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.3px;
    margin-bottom: 22px;
}
.rfp-cover-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--c-ink);
    margin-bottom: 18px;
    line-height: 1.3;
}
.rfp-cover-title .rfp-x { color: var(--c-coral); margin: 0 8px; }
.rfp-cover-sub {
    font-size: 15px;
    line-height: 2;
    color: var(--c-text);
    max-width: 680px;
    margin: 0 auto 26px;
}
.rfp-cover-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 22px;
    margin: 0 auto 26px;
    max-width: 720px;
    font-size: 12.5px;
    color: var(--c-muted);
    font-weight: 600;
}
.rfp-cover-meta i { color: var(--c-blue); margin-left: 4px; }
.rfp-cover-cta .rfp-btn { font-size: 15px; padding: 14px 28px; }

/* --- Why --- */
.rfp-why {
    padding: 36px 0;
    text-align: center;
    border-bottom: 1px solid var(--c-line);
    background: #fff;
}
.rfp-why h2 { font-size: 1.7rem; font-weight: 800; color: var(--c-ink); margin-bottom: 12px; }
.rfp-why h2 .rfp-accent { color: var(--c-blue); }
.rfp-why p { font-size: 14px; line-height: 2; color: var(--c-text); max-width: 700px; margin: 0 auto; }

/* --- Status banners --- */
.rfp-status { padding: 18px 0; }
.rfp-status .rfp-container {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    border-radius: 14px;
}
.rfp-status i { font-size: 30px; flex-shrink: 0; }
.rfp-status h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.rfp-status p { font-size: 13px; line-height: 1.8; }
.rfp-status-success .rfp-container { background: #d1fae5; color: #065f46; }
.rfp-status-success i { color: #10b981; }
.rfp-status-error .rfp-container { background: #fee2e2; color: #991b1b; }
.rfp-status-error i { color: #ef4444; }

/* --- Form sections --- */
.rfp-form { display: block; }
.rfp-section { padding: 44px 0; border-bottom: 1px solid var(--c-line); background: #fff; }
.rfp-section:nth-child(even) { background: var(--c-bg-alt); }
.rfp-section-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 8px;
}
.rfp-section-num {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--c-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 18px;
    flex-shrink: 0;
}
.rfp-section-head h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--c-ink);
    margin: 0;
}
.rfp-section-intro {
    font-size: 13.5px;
    line-height: 1.95;
    color: var(--c-muted);
    margin-bottom: 22px;
    padding-right: 54px;
}

/* --- Question --- */
.rfp-question {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 14px;
    padding: 20px 22px;
    margin-bottom: 16px;
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.rfp-section:nth-child(even) .rfp-question { background: #fff; }
.rfp-question:hover { border-color: var(--c-blue-soft); box-shadow: var(--shadow-sm); }
.rfp-q-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}
.rfp-q-num {
    background: var(--c-blue-soft);
    color: var(--c-blue);
    width: 28px; height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13.5px;
    flex-shrink: 0;
}
.rfp-q-text {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.8;
    color: var(--c-ink);
}
.rfp-q-multi {
    display: inline-block;
    margin-right: 6px;
    background: var(--c-coral-soft);
    color: var(--c-coral-dark);
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

/* --- Options --- */
.rfp-options { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rfp-option { position: relative; }
.rfp-opt-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-line);
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--t-fast);
    font-size: 13.5px;
    line-height: 1.7;
}
.rfp-opt-row:hover {
    background: #fff;
    border-color: var(--c-blue);
}
.rfp-opt-row input[type="radio"],
.rfp-opt-row input[type="checkbox"] {
    margin-top: 5px;
    flex-shrink: 0;
    accent-color: var(--c-blue);
    cursor: pointer;
}
.rfp-opt-row:has(input:checked) {
    background: var(--c-blue-soft);
    border-color: var(--c-blue);
}
.rfp-opt-letter {
    font-weight: 800;
    color: var(--c-blue);
    flex-shrink: 0;
}
.rfp-opt-text { color: var(--c-text); flex: 1; }
.rfp-opt-other {
    width: 100%;
    margin-top: 8px;
    padding: 10px 14px;
    border: 1px dashed var(--c-line-strong);
    border-radius: 10px;
    font-family: inherit;
    font-size: 13.5px;
    background: #fff;
    color: var(--c-text);
}
.rfp-opt-other:focus { outline: 2px solid var(--c-blue); outline-offset: -2px; border-color: var(--c-blue); border-style: solid; }

/* --- Open-ended textarea --- */
.rfp-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    background: var(--c-bg-alt);
    font-family: inherit;
    font-size: 13.5px;
    line-height: 1.9;
    color: var(--c-ink);
    resize: vertical;
    min-height: 90px;
    transition: all var(--t-fast);
}
.rfp-textarea:focus {
    outline: 0;
    border-color: var(--c-blue);
    background: #fff;
    box-shadow: 0 0 0 3px var(--c-blue-soft);
}

/* --- Note --- */
.rfp-note {
    margin-top: 12px;
    padding: 10px 14px;
    background: #fff8f4;
    border: 1px dashed var(--c-coral);
    border-radius: 10px;
    color: var(--c-text);
    font-size: 12.5px;
    line-height: 1.85;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.rfp-note i { color: var(--c-coral); font-size: 16px; flex-shrink: 0; margin-top: 2px; }

/* --- Contact section --- */
.rfp-section-contact { background: #fff; }
.rfp-section-contact .rfp-section-head h2 i { color: var(--c-blue); margin-left: 6px; }
.rfp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
    margin-top: 8px;
}
.rfp-field-full { grid-column: 1 / -1; }
.rfp-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-ink);
    margin-bottom: 6px;
}
.rfp-field .req { color: var(--c-coral); }
.rfp-field input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    background: var(--c-bg-alt);
    font-family: inherit;
    font-size: 13.5px;
    color: var(--c-ink);
    transition: all var(--t-fast);
}
.rfp-field input:focus {
    outline: 0;
    border-color: var(--c-blue);
    background: #fff;
    box-shadow: 0 0 0 3px var(--c-blue-soft);
}

/* --- Submit --- */
.rfp-submit-row {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    padding: 22px;
    background: linear-gradient(135deg, var(--c-blue-soft) 0%, var(--c-cream-soft) 100%);
    border-radius: 14px;
}
.rfp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 12px;
    background: var(--c-blue);
    color: #fff;
    border: 0;
    font-family: inherit;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--t-fast);
    box-shadow: 0 8px 22px rgba(2,89,221,0.25);
}
.rfp-btn:hover {
    background: var(--c-blue-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(2,89,221,0.35);
}
.rfp-btn-lg { padding: 16px 32px; font-size: 15px; }
.rfp-btn-primary { background: var(--c-blue); }
.rfp-submit-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--c-muted);
    font-weight: 600;
}
.rfp-submit-note i { color: var(--c-blue); font-size: 16px; }

/* --- Responsive --- */
@media (max-width: 700px) {
    .rfp-cover { padding: 44px 0 40px; }
    .rfp-section { padding: 32px 0; }
    .rfp-container { padding: 0 16px; }
    .rfp-section-head { gap: 10px; }
    .rfp-section-num { width: 34px; height: 34px; font-size: 15px; }
    .rfp-section-head h2 { font-size: 1.1rem; }
    .rfp-section-intro { padding-right: 0; font-size: 12.5px; }
    .rfp-question { padding: 16px 14px; }
    .rfp-q-text { font-size: 13.5px; }
    .rfp-opt-row { font-size: 12.5px; padding: 9px 12px; }
    .rfp-contact-grid { grid-template-columns: 1fr; }
    .rfp-submit-row { flex-direction: column; align-items: stretch; padding: 16px; }
    .rfp-btn { width: 100%; }
}

/* ============================================================
   ۲۲. پاپ‌آپ ثبت تماس — فقط دسکتاپ
============================================================ */
.lp-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}
.lp-modal:not([hidden]) { pointer-events: auto; }
.lp-modal.is-open { opacity: 1; }

.lp-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 21, 50, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.lp-modal-dialog {
    position: relative;
    width: 92%;
    max-width: 460px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 40px 80px -20px rgba(12,21,50,0.4), 0 0 0 1px var(--c-line);
    padding: 36px 32px 28px;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.32s cubic-bezier(.34, 1.56, .64, 1);
    overflow: hidden;
}
.lp-modal.is-open .lp-modal-dialog { transform: translateY(0) scale(1); }

.lp-modal-close {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-line);
    color: var(--c-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t-fast);
}
.lp-modal-close:hover {
    background: var(--c-coral-soft);
    color: var(--c-coral);
    border-color: var(--c-coral);
    transform: rotate(90deg);
}

.lp-modal-head { text-align: center; margin-bottom: 22px; }
.lp-modal-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--c-coral) 0%, var(--c-coral-dark) 100%);
    color: #fff;
    font-size: 28px;
    margin-bottom: 12px;
    box-shadow: 0 12px 28px -8px rgba(255,102,72,0.45);
    animation: lp-modal-ico-pulse 1.6s ease-in-out infinite;
}
@keyframes lp-modal-ico-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.06); }
}
.lp-modal-head h3 { font-size: 1.3rem; font-weight: 900; color: var(--c-ink); margin: 0 0 8px; line-height: 1.5; }
.lp-modal-head p { font-size: 13.5px; line-height: 1.95; color: var(--c-muted); margin: 0; }
.lp-modal-head p strong { color: var(--c-coral-dark); font-weight: 800; }

.lp-modal-form-fields { display: grid; gap: 14px; }
.lp-modal-field { display: grid; gap: 6px; }
.lp-modal-field label {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--c-ink);
}
.lp-modal-field input {
    width: 100%;
    padding: 13px 16px;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-line);
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    color: var(--c-ink);
    transition: all var(--t-fast);
}
.lp-modal-field input:focus {
    outline: 0;
    border-color: var(--c-blue);
    background: #fff;
    box-shadow: 0 0 0 3px var(--c-blue-soft);
}

.lp-modal-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    border: 1px solid #fecaca;
}

.lp-modal-submit {
    width: 100%;
    padding: 14px 22px;
    background: var(--c-coral);
    color: #fff;
    border: 0;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 800;
    font-size: 14.5px;
    cursor: pointer;
    transition: all var(--t-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px -8px rgba(255,102,72,0.5);
}
.lp-modal-submit:hover:not(:disabled) {
    background: var(--c-coral-dark);
    transform: translateY(-2px);
}
.lp-modal-submit:disabled { opacity: 0.7; cursor: progress; }
.lp-modal-submit .label,
.lp-modal-submit .loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.lp-modal-submit i { font-size: 16px; }
.lp-modal-submit .loading i {
    animation: lp-spin 0.8s linear infinite;
}
@keyframes lp-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.lp-modal-note {
    margin: 4px 0 0;
    font-size: 11.5px;
    color: var(--c-muted);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    line-height: 1.7;
}
.lp-modal-note i { color: var(--c-blue); }

/* پنل موفقیت */
.lp-modal-success { text-align: center; padding: 8px 0; }
.lp-modal-tick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px; height: 76px;
    border-radius: 50%;
    background: #d1fae5;
    color: #10b981;
    font-size: 38px;
    margin-bottom: 16px;
    animation: lp-tick-pop 0.5s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes lp-tick-pop {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}
.lp-modal-success h3 { font-size: 1.25rem; font-weight: 900; color: var(--c-ink); margin: 0 0 10px; }
.lp-modal-success p { font-size: 13.5px; line-height: 2; color: var(--c-text); margin: 0 0 18px; }
.lp-modal-success p strong { color: #065f46; font-weight: 800; }
.lp-modal-close-btn {
    padding: 11px 28px;
    background: var(--c-bg-alt);
    color: var(--c-ink);
    border: 1px solid var(--c-line);
    border-radius: 10px;
    font-family: inherit;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all var(--t-fast);
}
.lp-modal-close-btn:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
