/* =========================================================
   دکتر ساناز آدینه‌وند — هیرو سکشن
   سرمه‌ای + پترنِ آیکن‌های دندانپزشکی، فونت Vazirmatn
   ========================================================= */
@font-face { font-family:'Vazirmatn'; font-weight:400; font-style:normal; font-display:swap; src:url('../fonts/Vazirmatn-400.woff2') format('woff2'); }
@font-face { font-family:'Vazirmatn'; font-weight:500; font-style:normal; font-display:swap; src:url('../fonts/Vazirmatn-500.woff2') format('woff2'); }
@font-face { font-family:'Vazirmatn'; font-weight:700; font-style:normal; font-display:swap; src:url('../fonts/Vazirmatn-700.woff2') format('woff2'); }
@font-face { font-family:'Vazirmatn'; font-weight:900; font-style:normal; font-display:swap; src:url('../fonts/Vazirmatn-900.woff2') format('woff2'); }

:root {
  --ink: #16203f;
  --navy: #1f4068;            /* رنگِ پایه‌ی سرمه‌ای (هماهنگ با رفرنس) */
  --navy-deep: #122b47;       /* سرمه‌ایِ تیره — دکمه‌ی تلفن */
  --blue: #3f7fc4;            /* آبیِ دکمه‌ی رزرو — ستِ سرمه‌ای */
  --blue-2: #5a97d8;
  --svc-badge: #dbeff8;       /* دایره‌ی پشتِ آیکنِ خدمات */
  --svc-band: linear-gradient(135deg, var(--blue-2), var(--blue));  /* نوارِ پایینِ کارتِ خدمات = همرنگ دکمهٔ رزرو */
  --svc-icon: #14233f;        /* رنگِ آیکن‌های خدمات */
  --bg: #eef1f8;
  --header-bg: #ffffff;
  --line: #e3e8f2;
  --muted: #4d5573;
  --gutter: clamp(34px, 5vw, 96px);
  --tile: clamp(360px, 34vw, 480px);
  --font: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; overscroll-behavior-x: none; scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.9; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; right: 16px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 0 0 12px 12px; transition: top .2s; }
.skip-link:focus { top: 0; }

/* ===================== HEADER ===================== */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--header-bg); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 10px 34px rgba(20,28,64,.10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: 92px; padding-inline: clamp(22px, 3.5vw, 56px); }
.logo-img { height: 58px; width: auto; }
.nav-shell { display: contents; }   /* دسکتاپ: بدون اثر؛ موبایل: پوستهٔ کلیپ‌کنندهٔ منو */
.main-nav { display: flex; align-items: center; }
.main-nav ul { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 40px); }
.main-nav a { position: relative; font-weight: 600; font-size: 1.04rem; color: var(--navy); transition: color .2s ease, text-shadow .2s ease; }
.main-nav a.active { color: var(--navy); }
/* هاورِ دسکتاپ: زیرخطِ متحرک + کمی پررنگ‌تر شدن (بدونِ پرشِ چیدمان) */
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; inset-inline: 0; bottom: -7px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue-2), var(--blue)); transform: scaleX(0); transform-origin: center; transition: transform .28s cubic-bezier(.4,0,.2,1); }
.main-nav a:not(.nav-cta):hover { color: var(--navy); text-shadow: 0 0 .5px currentColor, 0 0 .5px currentColor; }
.main-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
/* دکمهٔ رزرو نوبتِ هدر — filledِ سرمه‌ای، متمایز از لینک‌های متنی */
.main-nav .nav-cta { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 11px 22px; border: 0; border-radius: 12px; background: linear-gradient(135deg, #1f4068 0%, #122b47 100%); color: #fff; font-weight: 700; font-size: 1.18rem; line-height: 1; white-space: nowrap; box-shadow: 0 6px 16px rgba(18,43,71,.28), inset 0 1px 0 rgba(255,255,255,.12); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.main-nav .nav-cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; animation: navCtaPulse 2.6s ease-in-out infinite; }
@keyframes navCtaPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(90,151,216,0), 0 0 14px 0 rgba(120,170,235,0); } 50% { box-shadow: 0 0 0 7px rgba(90,151,216,.5), 0 0 24px 4px rgba(120,170,235,.6); } }
.main-nav .nav-cta:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(18,43,71,.34), inset 0 1px 0 rgba(255,255,255,.14); }
.main-nav .nav-cta:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(18,43,71,.26); }
.main-nav .nav-cta:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; }
.main-nav .nav-cta svg { flex: none; }
@media (max-width: 760px) { .main-nav .nav-cta { justify-content: center; margin-top: 16px; font-size: 1.25rem; } }
.header-cta-mobile { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 3px; transition: .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-backdrop { position: fixed; inset: 0; background: rgba(8,12,32,.5); z-index: 90; backdrop-filter: blur(2px); }

/* ===================== HERO ===================== */
.hero { position: relative; margin-bottom: clamp(56px, 7vw, 92px); }
.hero-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  border-radius: 0;
  padding: clamp(48px, 5.2vw, 78px) clamp(28px, 3.6vw, 60px) clamp(6px, 0.8vw, 12px);
  min-height: clamp(480px, 56vw, 638px);
  color: #f3f7ff;
  background: linear-gradient(157deg, #27507c 0%, #1f4068 46%, #173656 100%);
  box-shadow: 0 50px 120px rgba(7,11,32,.42);
}
/* پترنِ آیکن‌های دندانپزشکی + drift سبک */
.hero-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: url('../images/dental-pattern.svg') 0 0 / var(--tile) var(--tile) repeat;
}
/* عمقِ نور — ملایم */
.hero-panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 520px at 88% -16%, rgba(120,170,235,.20), transparent 58%),
    radial-gradient(760px 600px at -6% 116%, rgba(13,30,54,.4), transparent 60%);
}

/* ===================== محتوای هیرو ===================== */
.hero-grid { position: relative; z-index: 1; flex: 1; display: flex; align-items: stretch; gap: clamp(20px, 2.6vw, 50px); }
.hero-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; padding-bottom: clamp(92px, 9vw, 120px); }
.hero-features { margin-top: clamp(28px, 2.9vw, 40px); display: flex; align-items: flex-start; gap: clamp(16px, 2.4vw, 44px); }
.hero-address { position: relative; z-index: 1; margin: auto 0 0; padding-top: clamp(15px, 1.7vw, 22px); border-top: 1px solid rgba(255,255,255,.14); display: block; text-align: right; color: rgba(225,236,252,.8); font-weight: 600; font-size: clamp(1rem, .42vw + .9rem, 1.16rem); line-height: 1.85; text-shadow: 0 1px 3px rgba(4,9,26,.6); }
.hero-address .addr-ic { display: inline-block; vertical-align: -0.16em; margin-inline-end: 6px; opacity: .85; }
.features-b { order: 1; flex: 0 0 auto; }
.features-a { order: 2; flex: 0 0 auto; }
.hero-device { flex: 0 0 auto; display: flex; align-items: flex-start; justify-content: center; }

.features { display: grid; gap: clamp(22px, 2.6vw, 32px); }
.features li {
  position: relative; padding-inline-start: 56px; white-space: nowrap;
  color: #ffffff; font-size: clamp(1.24rem, .55vw + 1.08rem, 1.5rem); font-weight: 800; line-height: 1.6;
  letter-spacing: -.012em;
  /* برجستگی: کانتورِ تیزِ تیره (جدا شدن از پترن) + سایه‌ی نرم برای حسِ برجسته بودن */
  text-shadow:
    -1px -1px 0 rgba(7,14,34,.65),
     1px -1px 0 rgba(7,14,34,.65),
    -1px  1px 0 rgba(7,14,34,.65),
     1px  1px 0 rgba(7,14,34,.65),
     0    1px 2px rgba(4,9,26,.85),
     0    3px 9px rgba(4,9,26,.7);
}
.features li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 34px; height: 34px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%23eaf2fd'/%3E%3Cstop offset='1' stop-color='%2393bbe9'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='16' cy='16' r='15' fill='url(%23g)'/%3E%3Cpath d='M9.4 16.4l4.1 4.1 9-9.1' fill='none' stroke='%2316314f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  border-radius: 50%; transform: translateY(-50%);
  filter: drop-shadow(0 6px 14px rgba(10,24,52,.45));
  animation: checkPop .6s cubic-bezier(.34,1.56,.64,1) backwards, checkGlow 3.6s ease-in-out infinite;
}
.features-b li:nth-child(1)::before { animation-delay: .05s, 1.0s; }
.features-b li:nth-child(2)::before { animation-delay: .14s, 1.4s; }
.features-b li:nth-child(3)::before { animation-delay: .23s, 1.8s; }
.features-b li:nth-child(4)::before { animation-delay: .32s, 2.2s; }
.features-b li:nth-child(5)::before { animation-delay: .41s, 2.6s; }
.features-a li:nth-child(1)::before { animation-delay: .09s, 1.2s; }
.features-a li:nth-child(2)::before { animation-delay: .18s, 1.6s; }
.features-a li:nth-child(3)::before { animation-delay: .27s, 2.0s; }
.features-a li:nth-child(4)::before { animation-delay: .36s, 2.4s; }
@keyframes checkPop { 0% { opacity: 0; transform: translateY(-50%) scale(.4); } 60% { transform: translateY(-50%) scale(1.16); } 100% { opacity: 1; transform: translateY(-50%) scale(1); } }
@keyframes checkGlow { 0%, 100% { box-shadow: 0 0 0 2px rgba(147,187,233,0); } 50% { box-shadow: 0 0 0 7px rgba(147,187,233,.18); } }

/* ===================== دستگاه‌ها — داخلِ هیرو، شفاف و بدون قاب ===================== */
.hero-devices { position: relative; width: clamp(330px, 34vw, 460px); margin-inline: auto; }
.dev { height: auto; }
.dev-scan { position: relative; display: block; width: 82%; margin-left: auto; z-index: 1; filter: drop-shadow(0 22px 34px rgba(0,0,0,.42)); }
.dev-rvg { position: absolute; width: 56%; left: 0; bottom: 4%; z-index: 2; filter: drop-shadow(0 18px 28px rgba(0,0,0,.45)); }

/* ===================== دکمه — ستِ سرمه‌ای ===================== */
.hero-cta { position: absolute; z-index: 6; bottom: clamp(26px, 3.2vw, 46px); inset-inline-start: clamp(28px, 3.6vw, 60px); left: auto; transform: none; display: flex; width: min(460px, 47%); border-radius: 16px; box-shadow: 0 22px 46px rgba(6,12,34,.5), 0 6px 16px rgba(6,12,34,.34); font-weight: 800; }
/* پالسِ ملایم دورِ دکمه‌های رزرو/تلفن — دسکتاپ و موبایل */
.hero-cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; animation: heroCtaPulse 2.6s ease-in-out infinite; }
@keyframes heroCtaPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(90,151,216,0), 0 0 20px 0 rgba(120,170,235,0); } 50% { box-shadow: 0 0 0 6px rgba(90,151,216,.28), 0 0 24px 2px rgba(120,170,235,.34); } }
/* پالسِ ملایمِ دکمهٔ رزروِ هیرو در موبایل (نه به شدتِ هدر) */
@keyframes heroBookPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(90,151,216,0); } 50% { box-shadow: 0 0 0 5px rgba(90,151,216,.3), 0 0 15px 1px rgba(120,170,235,.3); } }
.cta-book, .cta-phone { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 20px; font-size: 1.12rem; white-space: nowrap; box-shadow: inset 0 2px 0 rgba(255,255,255,.26), inset 0 -3px 6px rgba(0,0,0,.18); transition: filter .2s ease; }
.cta-book svg, .cta-phone svg { flex: none; }
.cta-book { background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; border-radius: 0 16px 16px 0; }
.cta-book svg { stroke: #fff; }
.cta-book:hover { filter: brightness(1.08); }
.cta-phone { background: rgba(255,255,255,.13); border: 1.5px solid rgba(255,255,255,.34); color: #fff; border-radius: 16px 0 0 16px; letter-spacing: .5px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cta-phone svg { opacity: 1; }
.cta-phone:hover { background: rgba(255,255,255,.2); }

/* ===================== خدمات برتر ===================== */
.services { padding: clamp(54px, 7vw, 104px) clamp(20px, 5vw, 80px) clamp(60px, 8vw, 120px); }

.svc-head { position: relative; isolation: isolate; text-align: center; max-width: 900px; margin: 0 auto clamp(42px, 5vw, 76px); }
.svc-head::before {
  content: ""; position: absolute; z-index: -1; top: -22px; left: 50%; transform: translateX(-50%);
  width: min(440px, 82%); height: 200px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(90,151,216,.16), transparent 72%);
}
#services-title { margin: 0; font-weight: 800; font-size: clamp(1.6rem, 1.8vw + 1rem, 2.5rem); color: var(--ink); line-height: 1.4; letter-spacing: -.015em; }
.svc-divider { position: relative; display: block; width: 132px; height: 14px; margin: clamp(18px, 2vw, 26px) auto 0; }
.svc-divider::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 3px; transform: translateY(-50%); border-radius: 3px; background: linear-gradient(90deg, transparent, var(--blue) 22%, var(--blue) 78%, transparent); }
.svc-divider::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 11px; transform: translate(-50%, -50%) rotate(45deg); border-radius: 2px; background: linear-gradient(135deg, var(--blue-2), var(--blue)); box-shadow: 0 0 0 5px var(--bg); }

.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.2vw, 34px);
  max-width: 1100px; margin-inline: auto;
}
.svc-grid > li { display: flex; }

.svc-card {
  flex: 1; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: 26px 56px 26px 56px;
  box-shadow: 0 16px 38px rgba(20,42,82,.10), 0 3px 10px rgba(20,42,82,.06);
  transition: transform .26s ease, box-shadow .26s ease;
}
.svc-card:hover { transform: translateY(-7px); box-shadow: 0 30px 60px rgba(20,42,82,.18), 0 6px 16px rgba(20,42,82,.10); }
.svc-card:focus-visible { transform: translateY(-7px); box-shadow: 0 30px 60px rgba(20,42,82,.18); outline: 3px solid var(--blue); outline-offset: 3px; }

.svc-top { flex: 1; display: grid; place-items: center; padding: clamp(36px, 4vw, 56px) 18px clamp(26px, 3vw, 38px); }
.svc-badge {
  display: grid; place-items: center; width: clamp(96px, 9.5vw, 130px); aspect-ratio: 1; border-radius: 50%;
  background: var(--svc-badge); transition: background .26s ease, transform .26s ease;
}
.svc-card:hover .svc-badge { transform: scale(1.06); }
.svc-ic { width: 58%; height: 58%; object-fit: contain; color: var(--svc-icon); }

.svc-name {
  background: var(--svc-band); color: #fff; font-weight: 800; text-align: center; line-height: 1.5;
  font-size: clamp(1rem, .5vw + .92rem, 1.26rem); padding: clamp(16px, 2vw, 24px) 12px;
}

/* ---- scroll reveal (سبک و حرفه‌ای) ---- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.js .reveal.in-view { opacity: 1; transform: none; }
.js .svc-divider.reveal { transition-delay: .1s; }
.js .svc-grid > li:nth-child(2).reveal { transition-delay: .06s; }
.js .svc-grid > li:nth-child(3).reveal { transition-delay: .12s; }
.js .svc-grid > li:nth-child(4).reveal { transition-delay: .18s; }
.js .svc-grid > li:nth-child(5).reveal { transition-delay: .24s; }
.js .svc-grid > li:nth-child(6).reveal { transition-delay: .30s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; max-width: 340px; }
  #services-title { font-size: 1.5rem; }
}

/* ===================== بیمه‌های طرف قرارداد ===================== */
.insurers { padding: clamp(8px, 2vw, 24px) clamp(20px, 5vw, 80px) clamp(64px, 9vw, 120px); }
.ins-head { position: relative; isolation: isolate; text-align: center; max-width: 900px; margin: 0 auto clamp(36px, 4.5vw, 60px); }
.ins-head::before {
  content: ""; position: absolute; z-index: -1; top: -22px; left: 50%; transform: translateX(-50%);
  width: min(420px, 82%); height: 190px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(90,151,216,.16), transparent 72%);
}
#insurers-title { margin: 0; font-weight: 800; font-size: clamp(1.5rem, 1.6vw + 1rem, 2.35rem); color: var(--ink); line-height: 1.4; letter-spacing: -.015em; }
.ins-divider { position: relative; display: block; width: 120px; height: 14px; margin: clamp(16px, 1.8vw, 22px) auto 0; }
.ins-divider::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 3px; transform: translateY(-50%); border-radius: 3px; background: linear-gradient(90deg, transparent, var(--blue) 22%, var(--blue) 78%, transparent); }
.ins-divider::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 11px; transform: translate(-50%, -50%) rotate(45deg); border-radius: 2px; background: linear-gradient(135deg, var(--blue-2), var(--blue)); box-shadow: 0 0 0 5px var(--bg); }

.ins-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 26px); max-width: 1100px; margin-inline: auto; }
.ins-grid > li { display: flex; min-width: 0; }
.ins-card {
  flex: 1; min-width: 0; display: grid; place-items: center;
  height: clamp(118px, 12vw, 162px);
  padding: clamp(16px, 1.8vw, 28px);
  background: #fff;
  border: 1px solid rgba(31,64,104,.07);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(31,64,104,.07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ins-card:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(31,64,104,.13); border-color: rgba(90,151,216,.32); }
.ins-card img { width: auto; height: auto; max-width: 82%; max-height: clamp(58px, 6vw, 82px); object-fit: contain; }

.js .ins-divider.reveal { transition-delay: .08s; }
.js .ins-grid > li:nth-child(2).reveal { transition-delay: .07s; }
.js .ins-grid > li:nth-child(3).reveal { transition-delay: .14s; }
.js .ins-grid > li:nth-child(4).reveal { transition-delay: .21s; }

@media (max-width: 760px) {
  .ins-grid { grid-template-columns: repeat(2, 1fr); max-width: 520px; }
}

/* ===================== در یک نگاه ===================== */
.glance { padding: clamp(40px, 5vw, 80px) clamp(20px, 5vw, 80px) clamp(64px, 9vw, 120px); }

/* تیتر — یکدست با خدمات و بیمه‌ها */
.glance-head { position: relative; isolation: isolate; text-align: center; max-width: 900px; margin: 0 auto clamp(40px, 5vw, 66px); }
.glance-head::before {
  content: ""; position: absolute; z-index: -1; top: -22px; left: 50%; transform: translateX(-50%);
  width: min(440px, 82%); height: 200px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(90,151,216,.16), transparent 72%);
}
#glance-title { margin: 0; font-weight: 800; font-size: clamp(1.5rem, 1.7vw + 1rem, 2.4rem); color: var(--ink); line-height: 1.4; letter-spacing: -.015em; }
.glance-divider { position: relative; display: block; width: 132px; height: 14px; margin: clamp(18px, 2vw, 26px) auto 0; }
.glance-divider::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 3px; transform: translateY(-50%); border-radius: 3px; background: linear-gradient(90deg, transparent, var(--blue) 22%, var(--blue) 78%, transparent); }
.glance-divider::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 11px; transform: translate(-50%, -50%) rotate(45deg); border-radius: 2px; background: linear-gradient(135deg, var(--blue-2), var(--blue)); box-shadow: 0 0 0 5px var(--bg); }

/* چیدمان دو ستونه — متن سمت راست، عکس‌ها سمت چپ */
.glance-about { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(30px, 4.5vw, 70px); align-items: start; max-width: 1080px; margin: 0 auto; }

/* متن معرفی */
.glance-text { color: #3b466a; text-align: justify; text-justify: inter-word; }
.glance-text p { margin: 0; font-size: clamp(1.02rem, .4vw + .94rem, 1.18rem); line-height: 2.2; }
.glance-text p + p { margin-top: clamp(12px, 1.4vw, 18px); }

/* ترکیب‌بندی خلاقانه‌ی قاب‌های تصویر */
.glance-media { position: relative; width: 100%; display: grid; place-items: center; }
.glance-media::before {            /* فرمِ نرمِ پس‌زمینه */
  content: ""; position: absolute; z-index: 0; left: 3%; top: 3%; width: 66%; aspect-ratio: 1;
  border-radius: 46% 54% 52% 48% / 54% 46% 56% 44%;
  background: linear-gradient(155deg, rgba(90,151,216,.30), rgba(31,64,104,.12));
}
.glance-media::after {             /* بافتِ نقطه‌ای */
  content: ""; position: absolute; z-index: 0; right: 0; bottom: 4%; width: 94px; height: 94px;
  background-image: radial-gradient(rgba(31,64,104,.20) 1.5px, transparent 1.6px);
  background-size: 13px 13px;
}

.glance-frame {
  position: relative; overflow: hidden; border: 5px solid #fff; border-radius: 20px;
  display: grid; grid-auto-flow: row; place-content: center; justify-items: center; gap: 12px;
  background:
    radial-gradient(120% 78% at 50% 0%, rgba(90,151,216,.14), transparent 62%),
    linear-gradient(162deg, #f5f9fe, #e7f0fb);
  box-shadow: 0 24px 50px rgba(20,42,82,.18);
  transition: transform .3s ease, box-shadow .3s ease;
}
.media-doc-wrap { position: relative; z-index: 2; width: min(66%, 256px); transition: transform .3s ease; }
.media-doc  { width: 100%; }
.doc-photo { display: block; width: 100%; height: auto; }   /* کلِ عکس بدونِ کراپ */
.glance-media:hover .media-doc-wrap { transform: translateY(-5px); }

/* نام و شماره نظام — زیرِ کارتِ دکتر */
.media-name { margin: clamp(15px, 2vw, 22px) 0 0; text-align: center; }
.media-name::before { content: ""; display: block; width: 30px; height: 3px; border-radius: 3px; margin: 0 auto 10px; background: linear-gradient(90deg, var(--blue-2), var(--blue)); }
.media-name strong { display: block; font-weight: 800; color: var(--navy); font-size: clamp(1.02rem, .5vw + .92rem, 1.28rem); letter-spacing: -.01em; }
.media-name > span { display: block; margin-top: 5px; font-weight: 600; color: var(--muted); font-size: clamp(.82rem, .22vw + .76rem, .96rem); }

/* ===================== خدماتی که ما را متمایز می‌کند ===================== */
.distinct { padding: clamp(8px, 2vw, 28px) clamp(20px, 5vw, 80px) clamp(64px, 9vw, 120px); }

.distinct-head { position: relative; isolation: isolate; text-align: center; max-width: 900px; margin: 0 auto clamp(34px, 4.5vw, 58px); }
.distinct-head::before {
  content: ""; position: absolute; z-index: -1; top: -22px; left: 50%; transform: translateX(-50%);
  width: min(440px, 82%); height: 200px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(90,151,216,.16), transparent 72%);
}
#distinct-title { margin: 0; font-weight: 800; font-size: clamp(1.45rem, 1.6vw + 1rem, 2.3rem); color: var(--ink); line-height: 1.4; letter-spacing: -.015em; }
.distinct-divider { position: relative; display: block; width: 124px; height: 14px; margin: clamp(16px, 1.8vw, 24px) auto 0; }
.distinct-divider::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 3px; transform: translateY(-50%); border-radius: 3px; background: linear-gradient(90deg, transparent, var(--blue) 22%, var(--blue) 78%, transparent); }
.distinct-divider::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 11px; transform: translate(-50%, -50%) rotate(45deg); border-radius: 2px; background: linear-gradient(135deg, var(--blue-2), var(--blue)); box-shadow: 0 0 0 5px var(--bg); }

/* متن — تمام عرض، تک‌بلوکِ خوانا (نه ستونی) */
.distinct-text { max-width: 980px; margin: 0 auto; }
.distinct-block { margin-top: clamp(22px, 3vw, 38px); }
.distinct-block:first-child { margin-top: 0; }
.distinct-block h4 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-weight: 800; color: var(--navy); font-size: clamp(1.16rem, .6vw + 1rem, 1.46rem); letter-spacing: -.01em; }
.distinct-block h4::before { content: ""; flex: none; width: 24px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue-2), var(--blue)); }
.distinct-block p { margin: 0; color: #3b466a; font-size: clamp(1rem, .3vw + .92rem, 1.13rem); line-height: 2.15; text-align: justify; text-justify: inter-word; }
.distinct-block p + p { margin-top: 12px; }
/* لیستِ مراحلِ استریلیزاسیون — متنِ ساده، هم‌فونتِ پاراگراف */
.infection-steps { margin: 6px 0; padding: 0; list-style: none; counter-reset: step; }
.infection-steps li { position: relative; counter-increment: step; padding-inline-start: 1.7em; color: #3b466a; font-size: clamp(1rem, .3vw + .92rem, 1.13rem); line-height: 2.15; text-align: right; }
.infection-steps li::before { content: counter(step) "."; position: absolute; inset-inline-start: 0; color: var(--navy); font-weight: 700; }

/* گالری — اسلایدرِ حلقه‌ای (بی‌نهایت) */
.gallery-slider { --gs-gap: clamp(16px, 1.8vw, 26px); position: relative; max-width: 1180px; margin: clamp(46px, 6vw, 84px) auto 0; }

/* پترنِ نقطه‌ای — دو گوشهٔ مقابل، بدونِ بکگراند */
.gallery-slider::before, .gallery-slider::after {
  content: ""; position: absolute; z-index: 0; width: 116px; height: 64px; pointer-events: none;
  background-image: radial-gradient(rgba(31, 64, 104, .22) 1.5px, transparent 1.6px);
  background-size: 14px 14px;
}
.gallery-slider::before { top: -28px; right: -4px; }
.gallery-slider::after  { bottom: -12px; left: -4px; }

.gs-viewport { position: relative; z-index: 1; overflow: hidden; padding: 16px 0 30px; }
.gs-rail { display: flex; direction: rtl; gap: var(--gs-gap); will-change: transform; transition: transform .55s cubic-bezier(.45, 0, .2, 1); }
.gs-item { flex: 0 0 calc((100% - var(--gs-gap)) / 2); aspect-ratio: 3 / 2; box-shadow: 0 14px 30px rgba(20,42,82,.13), 0 3px 9px rgba(20,42,82,.06); }
.gs-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gs-item:hover { transform: translateY(-5px); }

.gs-nav { position: absolute; top: calc(50% - 7px); z-index: 4; width: clamp(42px, 4vw, 50px); aspect-ratio: 1; border-radius: 50%; background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: 0 12px 28px rgba(20,42,82,.20), 0 2px 6px rgba(20,42,82,.10); transform: translateY(-50%); transition: background .2s ease, color .2s ease, transform .2s ease; }
.gs-nav:hover { background: var(--navy); color: #fff; transform: translateY(-50%) scale(1.07); }
.gs-nav:active { transform: translateY(-50%) scale(.95); }
.gs-nav svg { width: 22px; height: 22px; }
.gs-prev { right: clamp(-10px, -0.5vw, 2px); }
.gs-next { left: clamp(-10px, -0.5vw, 2px); }

.js .distinct-block.reveal:nth-child(2) { transition-delay: .06s; }
.js .distinct-block.reveal:nth-child(3) { transition-delay: .12s; }
.js .gallery-slider.reveal { transition-delay: .08s; }

/* ===================== سوالات متداول (آکاردئون) ===================== */
.faq { padding: clamp(8px, 2vw, 28px) clamp(20px, 5vw, 80px) clamp(64px, 9vw, 120px); }
.faq-head { position: relative; isolation: isolate; text-align: center; max-width: 900px; margin: 0 auto clamp(34px, 4.5vw, 58px); }
.faq-head::before {
  content: ""; position: absolute; z-index: -1; top: -22px; left: 50%; transform: translateX(-50%);
  width: min(440px, 82%); height: 200px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(90,151,216,.16), transparent 72%);
}
#faq-title { margin: 0; font-weight: 800; font-size: clamp(1.45rem, 1.6vw + 1rem, 2.3rem); color: var(--ink); line-height: 1.4; letter-spacing: -.015em; }
.faq-divider { position: relative; display: block; width: 124px; height: 14px; margin: clamp(16px, 1.8vw, 24px) auto 0; }
.faq-divider::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 3px; transform: translateY(-50%); border-radius: 3px; background: linear-gradient(90deg, transparent, var(--blue) 22%, var(--blue) 78%, transparent); }
.faq-divider::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 11px; transform: translate(-50%, -50%) rotate(45deg); border-radius: 2px; background: linear-gradient(135deg, var(--blue-2), var(--blue)); box-shadow: 0 0 0 5px var(--bg); }

.faq-list { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(13px, 1.6vw, 20px); }
.faq-item { background: #fff; border: 1px solid rgba(31,64,104,.07); border-radius: 18px; box-shadow: 0 10px 30px rgba(31,64,104,.08); overflow: hidden; transition: box-shadow .28s ease, border-color .28s ease, transform .28s ease; }
.faq-item:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(31,64,104,.12); }
.faq-item.open { border-color: rgba(90,151,216,.4); box-shadow: 0 18px 44px rgba(31,64,104,.16); }
.faq-q { width: 100%; display: flex; align-items: center; gap: clamp(14px, 2vw, 22px); padding: clamp(17px, 2.1vw, 25px) clamp(20px, 2.6vw, 32px); background: none; border: 0; cursor: pointer; text-align: right; font-family: inherit; }
.faq-q-text { flex: 1 1 auto; min-width: 0; font-weight: 800; color: var(--navy); font-size: clamp(1.04rem, .5vw + .94rem, 1.3rem); line-height: 1.7; letter-spacing: -.01em; }
.faq-icon { flex: none; width: clamp(38px, 4vw, 46px); height: clamp(38px, 4vw, 46px); display: grid; place-items: center; border-radius: 50%; background: #eaf3fb; color: var(--blue); box-shadow: inset 0 0 0 1px rgba(90,151,216,.18); transition: transform .38s cubic-bezier(.4,0,.2,1), background .25s ease, color .25s ease, box-shadow .25s ease; }
.faq-icon svg { width: 48%; height: 48%; }
.faq-item.open .faq-icon { transform: rotate(135deg); background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; box-shadow: 0 8px 18px rgba(63,127,196,.4); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s cubic-bezier(.4,0,.2,1); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { margin: 0; padding: clamp(4px, 1vw, 10px) clamp(20px, 2.6vw, 32px) clamp(19px, 2.3vw, 27px) clamp(20px, 2.6vw, 32px); border-top: 1px solid rgba(31,64,104,.08); color: #3b466a; font-size: clamp(1rem, .3vw + .92rem, 1.13rem); line-height: 2.15; text-align: justify; text-justify: inter-word; }
.js .faq-item.reveal:nth-child(2) { transition-delay: .05s; }
.js .faq-item.reveal:nth-child(3) { transition-delay: .1s; }
.js .faq-item.reveal:nth-child(4) { transition-delay: .15s; }
.js .faq-item.reveal:nth-child(5) { transition-delay: .2s; }

/* ===================== رزرو نوبت ===================== */
.booking { padding: clamp(8px, 2vw, 28px) clamp(20px, 5vw, 80px) clamp(64px, 9vw, 120px); }
.booking-head { position: relative; isolation: isolate; text-align: center; max-width: 900px; margin: 0 auto clamp(34px, 4.5vw, 58px); }
.booking-head::before {
  content: ""; position: absolute; z-index: -1; top: -22px; left: 50%; transform: translateX(-50%);
  width: min(440px, 82%); height: 200px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(90,151,216,.16), transparent 72%);
}
#booking-title { margin: 0; font-weight: 800; font-size: clamp(1.45rem, 1.6vw + 1rem, 2.3rem); color: var(--ink); line-height: 1.4; letter-spacing: -.015em; }
.booking-divider { position: relative; display: block; width: 124px; height: 14px; margin: clamp(16px, 1.8vw, 24px) auto 0; }
.booking-divider::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 3px; transform: translateY(-50%); border-radius: 3px; background: linear-gradient(90deg, transparent, var(--blue) 22%, var(--blue) 78%, transparent); }
.booking-divider::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 11px; transform: translate(-50%, -50%) rotate(45deg); border-radius: 2px; background: linear-gradient(135deg, var(--blue-2), var(--blue)); box-shadow: 0 0 0 5px var(--bg); }

.booking-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(22px, 3vw, 44px); align-items: stretch; max-width: 1120px; margin: 0 auto; }

/* کارت فرم */
.booking-card { background: #fff; border: 1px solid rgba(31,64,104,.07); border-radius: 24px; box-shadow: 0 18px 50px rgba(31,64,104,.10); padding: clamp(20px, 2.4vw, 32px); }
.bk-card-head { display: flex; align-items: flex-start; gap: 13px; margin-bottom: clamp(16px, 2vw, 22px); }
.bk-card-icon { flex: none; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; box-shadow: 0 12px 24px rgba(63,127,196,.34); }
.bk-card-icon svg { width: 27px; height: 27px; }
.bk-card-head h3 { margin: 0 0 5px; font-weight: 800; font-size: clamp(1.16rem, .6vw + 1rem, 1.42rem); color: var(--navy); letter-spacing: -.01em; }
.bk-card-head p { margin: 0; font-size: clamp(.92rem, .2vw + .86rem, 1rem); color: #6b7794; line-height: 1.75; }

.booking-form { display: flex; flex-direction: column; gap: clamp(11px, 1.2vw, 14px); }
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.4vw, 16px); }
.bk-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bk-field label { font-size: .92rem; font-weight: 700; color: var(--navy); }
.bk-req { color: #e2483a; font-weight: 800; }
/* honeypot — مخفی بدونِ سرریزِ افقی (left:-9999px در RTL باعثِ زوم‌اوت/اسکرولِ موبایل می‌شد) */
.bk-hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.bk-field input, .bk-field textarea, .bk-select select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: #f4f7fc; border: 1.5px solid rgba(31,64,104,.10); border-radius: 12px;
  padding: 11px 15px; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.bk-field textarea { resize: vertical; min-height: 58px; line-height: 1.8; }
.bk-field input::placeholder, .bk-field textarea::placeholder { color: #9aa6bf; }
.bk-field input:focus, .bk-field textarea:focus, .bk-select select:focus {
  outline: none; background: #fff; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(90,151,216,.16);
}
.bk-select { position: relative; }
.bk-select select { appearance: none; -webkit-appearance: none; padding-inline-end: 42px; cursor: pointer; }
.bk-select select:invalid { color: #9aa6bf; }
.bk-select svg { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--blue); pointer-events: none; }

/* فیلد تاریخ (تقویم) */
.bk-date { position: relative; }
.bk-date input { cursor: pointer; padding-inline-end: 44px; }
.bk-date-ic { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--blue); pointer-events: none; }
.bk-date.invalid input { border-color: #e2786f; box-shadow: 0 0 0 4px rgba(226,120,111,.14); }
.bk-field input.invalid { border-color: #e2786f; box-shadow: 0 0 0 4px rgba(226,120,111,.14); }

/* پیام خطا */
.bk-error { margin: 2px 0 0; padding: 11px 14px; border-radius: 11px; background: #fdecec; color: #c0392b; font-weight: 700; font-size: .93rem; text-align: center; line-height: 1.7; }

/* پاپ‌آپ تقویم شمسی */
.bk-cal { position: absolute; z-index: 30; top: calc(100% + 8px); inset-inline-start: 0; width: 304px; max-width: calc(100vw - 40px); background: #fff; border: 1px solid rgba(31,64,104,.10); border-radius: 16px; box-shadow: 0 22px 54px rgba(20,42,82,.26); padding: 14px; }
.bk-cal[hidden] { display: none; }
.bk-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.bk-cal-title { font-weight: 800; color: var(--navy); font-size: 1.04rem; }
.bk-cal-nav { width: 34px; height: 34px; border: 0; border-radius: 9px; background: #eef3fb; color: var(--navy); cursor: pointer; display: grid; place-items: center; transition: background .18s ease; }
.bk-cal-nav:hover { background: #dde9fb; }
.bk-cal-nav svg { width: 18px; height: 18px; }
.bk-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.bk-cal-wd { text-align: center; font-size: .76rem; font-weight: 700; color: #9aa6bf; padding: 4px 0; }
.bk-cal-empty { aspect-ratio: 1; }
.bk-cal-day { border: 0; background: none; border-radius: 9px; aspect-ratio: 1; font-family: inherit; font-size: .92rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: background .15s ease, color .15s ease; }
.bk-cal-day:hover:not(:disabled) { background: #eef3fb; }
.bk-cal-day.is-today { box-shadow: inset 0 0 0 1.5px var(--blue-2); }
.bk-cal-day.is-sel { background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; }
.bk-cal-day:disabled { color: #cdd4e2; cursor: default; }
/* بازهٔ زمانی داخلِ تقویم */
.bk-cal-slots { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(31,64,104,.10); }
.bk-cal-slots-label { font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.bk-cal-slot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.bk-cal-slot { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 4px; border: 1.5px solid rgba(31,64,104,.12); border-radius: 10px; background: #f4f7fc; cursor: pointer; font-family: inherit; transition: background .16s ease, border-color .16s ease; }
.bk-cal-slot strong { font-size: .9rem; font-weight: 800; color: var(--navy); }
.bk-cal-slot small { font-size: .72rem; color: #7a87a3; }
.bk-cal-slot:hover { border-color: var(--blue-2); }
.bk-cal-slot.sel { background: linear-gradient(135deg, var(--blue-2), var(--blue)); border-color: var(--blue-2); }
.bk-cal-slot.sel strong, .bk-cal-slot.sel small { color: #fff; }
/* راهنما: پس از انتخاب تاریخ، بازه‌های زمانی توجه‌جلب می‌کنند */
.bk-cal-slots.is-prompt .bk-cal-slots-label { color: var(--blue); font-weight: 800; }
.bk-cal-slots.is-prompt .bk-cal-slot { animation: slotPulse 1.25s ease-in-out infinite; }
@keyframes slotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(90,151,216,0); border-color: rgba(31,64,104,.12); }
  50% { box-shadow: 0 0 0 4px rgba(90,151,216,.20); border-color: var(--blue-2); }
}
/* دکمهٔ غیرفعال تا انتخابِ تاریخ و بازه */
.bk-submit:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.bk-submit:disabled:hover { filter: none; }

.bk-submit {
  margin-top: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 20px; border: 0; border-radius: 13px; cursor: pointer;
  font-family: inherit; font-weight: 800; font-size: 1.1rem; color: #fff;
  background: linear-gradient(135deg, #27507c 0%, #1f4068 55%, #122b47 100%);
  box-shadow: 0 14px 30px rgba(18,43,71,.30), inset 0 1px 0 rgba(255,255,255,.14);
  transition: filter .2s ease, transform .12s ease;
}
.bk-submit:hover { filter: brightness(1.08); }
.bk-submit:active { transform: translateY(1px); }
.bk-submit svg { width: 20px; height: 20px; }
.bk-success { margin: 4px 0 0; padding: 12px 14px; border-radius: 12px; background: #e8f6ee; color: #1c7a44; font-weight: 700; font-size: .98rem; text-align: center; line-height: 1.7; }

/* نقشه */
.booking-map { position: relative; min-height: 340px; border: 1px solid rgba(31,64,104,.07); border-radius: 24px; overflow: hidden; box-shadow: 0 18px 50px rgba(31,64,104,.12); }
.booking-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bk-map-bar { position: absolute; inset-inline: 16px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.93); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 26px rgba(20,42,82,.18); }
.bk-map-addr { flex: 1 1 auto; display: flex; align-items: flex-start; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1.65; }
.bk-map-addr svg { flex: none; width: 18px; height: 18px; color: var(--blue); margin-top: 1px; }
.bk-map-btn { flex: none; padding: 9px 16px; border-radius: 10px; background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; font-weight: 700; font-size: .92rem; text-decoration: none; box-shadow: 0 8px 18px rgba(63,127,196,.32); transition: filter .2s ease; }
.bk-map-btn:hover { filter: brightness(1.08); }

.js .booking-map.reveal { transition-delay: .08s; }

@media (max-width: 860px) {
  .booking-grid { grid-template-columns: 1fr; }
  .booking-map { min-height: 320px; }
}
@media (max-width: 520px) {
  .bk-row { grid-template-columns: 1fr; }
  .bk-map-bar { flex-direction: column; align-items: stretch; }
  .bk-map-btn { text-align: center; }
}

/* جبرانِ ارتفاع هدرِ چسبان هنگام پرش به لنگرها */
#services, #insurers, #about, #faq, #booking { scroll-margin-top: clamp(80px, 9vw, 104px); }

/* ===================== FOOTER ===================== */
.site-footer { margin-top: clamp(24px, 4vw, 64px); background: linear-gradient(165deg, #22466e 0%, #15304f 100%); color: #c2cfe6; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) clamp(22px, 5vw, 70px) clamp(26px, 3vw, 40px); display: grid; grid-template-columns: 1.6fr 1fr 1.5fr; gap: clamp(28px, 4vw, 60px); }
.footer-logo { height: 48px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { margin: 16px 0 20px; font-size: .97rem; line-height: 2.05; color: #a9b8d4; max-width: 380px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: rgba(255,255,255,.08); color: #dce6f6; transition: background .2s ease, transform .2s ease, color .2s ease; }
.footer-social a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-col h3 { margin: 0 0 18px; font-size: 1.12rem; font-weight: 800; color: #fff; position: relative; padding-bottom: 12px; }
.footer-col h3::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 34px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue-2), var(--blue)); }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.footer-col a { color: #b9c6e0; font-size: .97rem; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: .96rem; line-height: 1.95; color: #b9c6e0; }
.footer-contact svg { flex: none; width: 19px; height: 19px; color: var(--blue-2); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); }
.footer-bottom p { max-width: 1180px; margin: 0 auto; padding: 18px clamp(22px, 5vw, 70px); text-align: center; font-size: .9rem; color: #92a2c2; }
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .gallery-slider { --gs-gap: 14px; }
  .gs-item { flex-basis: 100%; }
}

.gf-corner { position: absolute; z-index: 2; width: 22px; height: 22px; border: 2.5px solid rgba(63,127,196,.5); }
.gf-corner.tl { top: 12px; left: 12px; border-inline-end: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.gf-corner.tr { top: 12px; right: 12px; border-inline-start: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.gf-corner.bl { bottom: 12px; left: 12px; border-inline-end: 0; border-top: 0; border-radius: 0 0 0 8px; }
.gf-corner.br { bottom: 12px; right: 12px; border-inline-start: 0; border-top: 0; border-radius: 0 0 8px 0; }
.ph-badge {
  display: grid; place-items: center; width: clamp(54px, 6.5vw, 74px); aspect-ratio: 1; border-radius: 50%;
  background: linear-gradient(150deg, #ffffff, #e7f0fb); color: var(--navy);
  box-shadow: 0 10px 22px rgba(31,64,104,.16), inset 0 0 0 1px rgba(255,255,255,.85);
}
.ph-badge svg { width: 48%; height: 48%; }
.ph-hint { font-size: clamp(.78rem, .2vw + .72rem, .9rem); font-weight: 600; color: #7d8fad; padding: 0 8px; text-align: center; }

.js .glance-divider.reveal { transition-delay: .08s; }
.js .glance-media.reveal { transition-delay: .12s; }

@media (max-width: 820px) {
  .glance-about { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 44px); max-width: 540px; }
  .glance-media { order: 1; max-width: 360px; margin-inline: auto; }
  .glance-text { text-align: right; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .hero-panel { padding-bottom: clamp(30px, 5vw, 48px); box-shadow: 0 14px 34px rgba(7,11,32,.26); }
  .hero-grid { flex: none; flex-direction: column; gap: clamp(22px, 4vw, 32px); align-items: stretch; }
  .hero-device { order: -1; justify-content: center; }
  .hero-devices { width: min(340px, 72vw); }     /* دستگاه جمع‌وجورتر */
  .hero-info { width: 100%; padding-bottom: 0; }

  /* ویژگی‌ها → کارتِ شیشه‌ایِ چک‌لیست؛ مرتب، خوانا، خلاقانه */
  .hero-features {
    margin-top: 0; flex-direction: column; gap: 0;
    max-width: 540px; margin-inline: auto;
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 20px;
    padding: 4px clamp(16px, 4vw, 24px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 16px 38px rgba(5,12,30,.26);
  }
  .features { width: 100%; display: block; }
  .features-a, .features-b { order: 0; flex: none; }
  .features li {
    white-space: normal; text-align: right; margin: 0;
    padding: clamp(12px, 3vw, 16px) 44px clamp(12px, 3vw, 16px) 0;
    font-size: clamp(1.02rem, .5vw + .92rem, 1.2rem); line-height: 1.7;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }
  .features-b li:first-child { border-top: 0; }
  .features li::before { width: 28px; height: 28px; }

  .hero-address { margin: clamp(20px, 4vw, 30px) 0 0; justify-content: center; text-align: center; }
  /* دکمه‌ها بیرونِ هیرو، دقیقاً وسطِ فاصلهٔ پنل و بخشِ بعدی — فاصلهٔ بالا و پایین یکسان (فقط موبایل) */
  .hero { margin-bottom: clamp(38px, 8vw, 60px); }
  .hero-cta { position: relative; transform: none; left: auto; inset-inline-start: auto; width: min(520px, calc(100% - 32px)); margin: clamp(38px, 8vw, 60px) auto 0; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  /* پوستهٔ ثابتِ هم‌اندازهٔ ویوپورت که بخشِ بیرون‌از‌صفحهٔ منو را کلیپ می‌کند
     (iOS با overflow:clip ریشه، عناصرِ fixed را کلیپ نمی‌کند → زوم‌اوت/اسکرول افقی) */
  .nav-shell { display: block; position: fixed; inset: 0; z-index: 95; overflow: clip; pointer-events: none; }
  .main-nav { position: absolute; top: 0; right: 0; height: 100dvh; width: min(84vw, 330px); background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 100px 28px 32px; box-shadow: -12px 0 40px rgba(15,20,45,.18); transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1); pointer-events: none; overflow-y: auto; }
  .main-nav.open { transform: translateX(0); pointer-events: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { display: block; padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 1.3rem; color: var(--navy); }
  .nav-cta-li { display: none; }   /* رزرو نوبت از منوی کشویی حذف؛ در نوارِ هدر است */

  /* چیدمانِ هدرِ موبایل: همبرگر راست، رزرو نوبت چپ، لوگو دقیقاً وسط */
  .header-inner { height: 72px; padding-inline: 14px; gap: 8px; display: flex; align-items: center; }
  .nav-toggle { order: 1; flex: none; }                                   /* راست */
  .brand { order: 2; flex: 1; min-width: 0; display: flex; justify-content: center; align-items: center; margin: 0; }  /* وسطِ فاصلهٔ دو دکمه */
  .header-cta-mobile { order: 3; flex: none; }                            /* چپ */
  .logo-img { height: 36px; }        /* ۱۵٪ بزرگ‌تر از حالت قبل */

  .header-cta-mobile {
    position: relative;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 8px 12px; border-radius: 10px;
    background: linear-gradient(135deg, #1f4068 0%, #122b47 100%);
    color: #fff; font-weight: 700; font-size: .8rem; line-height: 1; white-space: nowrap;
    box-shadow: 0 6px 14px rgba(18,43,71,.28), inset 0 1px 0 rgba(255,255,255,.12);
  }
  .header-cta-mobile svg { flex: none; width: 14px; height: 14px; }
  /* انیمیشن پالس مثل دکمهٔ هدرِ دسکتاپ */
  .header-cta-mobile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; animation: navCtaPulse 2.6s ease-in-out infinite; }
}
@media (max-width: 360px) {
  .header-cta-mobile span { display: none; }   /* روی صفحاتِ خیلی باریک فقط آیکن */
  .header-cta-mobile { padding: 8px 10px; }
}
@media (max-width: 480px) {
  :root { --gutter: 16px; }
}

/* ===================== هیروِ موبایل — بازطراحی: دستگاهِ اسپات‌لایت + چک‌لیستِ تمیز ===================== */
@media (max-width: 760px) {
  .hero { margin-bottom: clamp(34px, 8vw, 50px); }

  .hero-panel {
    min-height: calc(100vh - 73px);
    min-height: calc(100svh - 73px);
    display: flex; flex-direction: column;
    border-radius: 0;
    padding: clamp(16px, 5vw, 24px) clamp(18px, 6vw, 26px) 0;
    box-shadow: 0 14px 30px rgba(7,11,32,.22);
  }

  .hero-grid { position: relative; flex: 1; flex-direction: column; gap: clamp(6px, 2vw, 10px); align-items: stretch; min-height: 0; }
  .hero-info { flex: 0 0 auto; width: 100%; display: block; }

  /* ویژگی‌ها — چک‌لیستِ تمیزِ بدونِ کارت/شیشه روی پس‌زمینهٔ سرمه‌ای */
  .hero-features { margin: 0; flex-direction: column; gap: 0; max-width: 100%; background: none; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
  .features { width: 100%; display: block; }
  .features-a, .features-b { order: 0; flex: none; }
  .features li {
    white-space: normal; text-align: right; margin: 0; border: 0;
    padding: clamp(3px, 1.1vw, 6px) 30px clamp(3px, 1.1vw, 6px) 0;
    font-size: clamp(.98rem, .57vw + .86rem, 1.13rem); line-height: 1.4; font-weight: 700;
    text-shadow: 0 1px 4px rgba(4,9,26,.55);
  }
  .features li::before { width: 19px; height: 19px; filter: drop-shadow(0 3px 7px rgba(10,24,52,.4)); }

  /* نشانی — ریز و کم‌رنگ، با خطِ جداکننده تا با ویژگی‌ها قاطی نشود */
  .hero-address {
    margin: clamp(11px, 3.2vw, 16px) 0 0; padding-top: clamp(9px, 2.6vw, 13px);
    border-top: 1px solid rgba(255,255,255,.13);
    justify-content: flex-start; text-align: right;
    font-size: clamp(.87rem, .4vw + .79rem, .99rem); line-height: 1.55; color: rgba(214,228,248,.7); text-shadow: none;
  }
  .hero-address .addr-ic { vertical-align: -0.12em; width: 12px; height: 12px; margin-inline-end: 5px; opacity: .8; }

  /* دستگاه — بزرگ، مرکزِ نورانی (اسپات‌لایت)، فضای میانی را پر می‌کند */
  .hero-device {
    flex: 1 1 auto; min-height: 0; position: relative; order: 0; z-index: 1;
    display: grid; place-items: center center;
    padding-bottom: clamp(134px, 34vw, 160px);   /* فاصلهٔ بیشتر تا عکس زیرِ دکمه‌ها نرود */
  }
  .hero-device::before {
    content: ""; position: absolute; z-index: 0; left: 50%; top: 47%; transform: translate(-50%, -50%);
    width: min(135%, 470px); height: min(118%, 470px); pointer-events: none;
    background: radial-gradient(closest-side, rgba(126,176,238,.46), rgba(126,176,238,.16) 45%, transparent 70%);
  }
  .hero-devices {
    position: relative; z-index: 1; margin: 0 auto; width: min(61%, 238px); max-height: 36svh;
    filter: drop-shadow(0 24px 34px rgba(0,0,0,.42)); animation: heroFloat 5.5s ease-in-out infinite;
  }
}
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 760px) {

  /* دکمه‌ها — تمام‌عرض، انتهای هیرو، پیل‌مانند */
  .hero-cta {
    position: absolute; left: clamp(18px, 6vw, 26px); right: clamp(18px, 6vw, 26px); bottom: clamp(16px, 5vw, 22px);
    transform: none; width: auto; margin: 0;
    display: flex; flex-direction: column; gap: 9px;
    border-radius: 0; box-shadow: none;
  }
  .hero-cta::after { display: none; }   /* پالسِ نوارِ قبلی حذف؛ روی دکمهٔ رزرو می‌گذاریم */
  .cta-book, .cta-phone {
    flex: none; width: 100%; gap: 8px; padding: 13px 10px; font-size: 1rem; letter-spacing: 0;
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(6,12,34,.4), inset 0 1px 0 rgba(255,255,255,.2);
  }
  .cta-book { position: relative; }
  .cta-book::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; animation: heroBookPulse 2.6s ease-in-out infinite; }
  /* دکمهٔ تماس: شیشه‌ایِ روشن با لبهٔ سفید تا روی پس‌زمینهٔ سرمه‌ای تضاد داشته باشد (هم‌خانوادهٔ یوآی) */
  .cta-phone {
    background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.34); color: #fff; letter-spacing: 0;
    box-shadow: 0 10px 22px rgba(6,12,34,.3), inset 0 1px 0 rgba(255,255,255,.14);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  }
  .cta-phone svg { opacity: 1; }
  .cta-phone:hover { filter: none; background: rgba(255,255,255,.18); }
}

/* ===================== صفحهٔ خدمت (مقالهٔ تک‌صفحه‌ای) ===================== */
.article-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #f3f7ff;
  background: linear-gradient(157deg, #27507c 0%, #1f4068 46%, #173656 100%);
  border-radius: 0;
  padding: clamp(24px, 4vw, 46px) clamp(20px, 5vw, 80px) clamp(40px, 6vw, 72px);
  box-shadow: 0 30px 70px rgba(7, 11, 32, .30);
  margin-bottom: clamp(34px, 5vw, 60px);
}
.article-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: url('../images/dental-pattern.svg') 0 0 / var(--tile) var(--tile) repeat; opacity: .5; }
.article-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(820px 470px at 85% -22%, rgba(120,170,235,.22), transparent 60%), radial-gradient(640px 520px at -8% 120%, rgba(13,30,54,.35), transparent 60%); }
.article-hero-inner { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; text-align: center; }

.breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 7px; font-size: .87rem; color: rgba(220,232,250,.82); margin-bottom: clamp(16px, 2.6vw, 24px); }
.breadcrumb a { color: rgba(223,234,251,.9); transition: color .2s ease; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .cur { color: #fff; font-weight: 700; }

.article-hero-icon { width: clamp(70px, 9vw, 92px); aspect-ratio: 1; margin: 0 auto clamp(14px, 2vw, 20px); border-radius: 22px; display: grid; place-items: center; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.17); box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 16px 32px rgba(5,12,30,.32); }
.article-hero-icon img { width: 56%; height: 56%; object-fit: contain; filter: brightness(0) invert(1); opacity: .96; }
.article-hero h1 { margin: 0; font-weight: 800; font-size: clamp(1.6rem, 2.3vw + 1rem, 2.65rem); line-height: 1.42; letter-spacing: -.015em; color: #fff; text-shadow: 0 2px 12px rgba(4,9,26,.4); }
.article-hero .tagline { margin: clamp(10px, 1.6vw, 16px) auto 0; max-width: 660px; font-size: clamp(1.02rem, .5vw + .92rem, 1.22rem); line-height: 1.9; color: rgba(231,240,255,.92); }
.article-hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(20px, 3vw, 30px); }
.ah-btn { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px; border-radius: 13px; font-weight: 800; font-size: 1.05rem; white-space: nowrap; transition: transform .2s ease, filter .2s ease, box-shadow .2s ease; }
.ah-btn svg { flex: none; }
.ah-btn:hover { transform: translateY(-2px); filter: brightness(1.07); }
.ah-book { background: linear-gradient(135deg, var(--blue-2), var(--blue)); color: #fff; box-shadow: 0 12px 26px rgba(63,127,196,.4); }
.ah-book::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; animation: navCtaPulse 2.6s ease-in-out infinite; }
.ah-call { background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.28); letter-spacing: .4px; }
.ah-call:hover { background: rgba(255,255,255,.16); }

/* بدنهٔ مقاله */
.article-body { max-width: 880px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px) clamp(48px, 7vw, 96px); }
.article-lead { font-size: clamp(1.08rem, .55vw + 1rem, 1.3rem); line-height: 2.05; color: #2c3658; font-weight: 600; padding: clamp(18px, 2.5vw, 26px) clamp(20px, 2.6vw, 30px); background: linear-gradient(160deg, #f2f7fd, #eaf2fb); border-radius: 18px; border: 1px solid rgba(31,64,104,.08); border-inline-start: 5px solid var(--blue); margin-bottom: clamp(26px, 4vw, 42px); text-align: justify; text-justify: inter-word; }

.article-section { margin-bottom: clamp(26px, 4vw, 42px); }
.article-section h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 clamp(11px, 1.6vw, 16px); font-weight: 800; color: var(--navy); font-size: clamp(1.3rem, 1vw + 1rem, 1.7rem); line-height: 1.5; letter-spacing: -.01em; }
.article-section h2::before { content: ""; flex: none; width: 7px; height: clamp(22px, 2.4vw, 28px); border-radius: 4px; background: linear-gradient(180deg, var(--blue-2), var(--blue)); }
.article-section p { margin: 0 0 12px; color: #3b466a; font-size: clamp(1rem, .3vw + .94rem, 1.13rem); line-height: 2.15; text-align: justify; text-justify: inter-word; }
.article-section p:last-child { margin-bottom: 0; }

/* تصویرِ برندشده داخلِ مقاله (آیکن + پترنِ نقطه‌ای + کپشن) */
.article-figure { margin: clamp(24px, 3.5vw, 38px) 0; border-radius: 20px; overflow: hidden; border: 5px solid #fff; box-shadow: 0 22px 50px rgba(20,42,82,.16); background: #fff; }
.af-canvas { position: relative; aspect-ratio: 16 / 6.4; display: grid; place-items: center; background: radial-gradient(120% 86% at 50% 0%, rgba(90,151,216,.16), transparent 62%), linear-gradient(160deg, #f5f9fe, #e7f0fb); }
.af-canvas::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(31,64,104,.14) 1.5px, transparent 1.6px); background-size: 15px 15px; -webkit-mask-image: radial-gradient(120% 120% at 50% 50%, #000, transparent 78%); mask-image: radial-gradient(120% 120% at 50% 50%, #000, transparent 78%); }
.af-canvas img { position: relative; width: clamp(72px, 11vw, 112px); height: auto; opacity: .94; filter: drop-shadow(0 14px 24px rgba(20,42,82,.20)); }
.article-figure figcaption { padding: 11px 16px; text-align: center; font-size: .9rem; font-weight: 600; color: #62708c; background: #fff; border-top: 1px solid rgba(31,64,104,.07); }
/* عکسِ واقعی داخلِ مقاله — بنرِ تمام‌قد به‌جای آیکنِ کوچک */
.af-canvas.af-photo { aspect-ratio: 3 / 2; background: #fff; }
.af-canvas.af-photo::before { display: none; }
.af-canvas.af-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 1; filter: none; }

/* نکات کلیدی */
.article-keypoints { margin: clamp(26px, 4vw, 40px) 0; padding: clamp(20px, 2.6vw, 30px) clamp(20px, 2.8vw, 32px); border-radius: 20px; background: #fff; border: 1px solid rgba(31,64,104,.08); box-shadow: 0 14px 40px rgba(31,64,104,.08); }
.article-keypoints h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 clamp(14px, 2vw, 18px); font-weight: 800; color: var(--navy); font-size: clamp(1.2rem, .8vw + 1rem, 1.5rem); }
.article-keypoints h2 svg { flex: none; width: 24px; height: 24px; color: var(--blue); }
.article-keypoints ul { display: grid; gap: clamp(11px, 1.4vw, 14px); }
.article-keypoints li { position: relative; padding-inline-start: 36px; color: #33405f; font-weight: 600; font-size: clamp(.98rem, .3vw + .92rem, 1.1rem); line-height: 1.85; }
.article-keypoints li::before { content: ""; position: absolute; inset-inline-start: 0; top: .2em; width: 23px; height: 23px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15' fill='%23dbeff8'/%3E%3Cpath d='M9.5 16.4l4.1 4.1 9-9.1' fill='none' stroke='%231f4068' stroke-width='3.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }

.js .article-lead.reveal, .js .article-section.reveal, .js .article-figure.reveal, .js .article-keypoints.reveal { transition-delay: .04s; }

/* ===================== دکمه‌های شناورِ تماس سریع (استیکی، سمتِ چپ، وسطِ ارتفاع) ===================== */
.fab-stack {
  position: fixed; z-index: 80;
  left: clamp(12px, 2.2vw, 24px); bottom: clamp(16px, 3vw, 28px);
  display: flex; flex-direction: column; gap: clamp(12px, 1.5vw, 16px);
}
/* در لود مخفی، سپس با JS (fab-show) یک‌بار fade-in می‌شود و همیشه دیده می‌ماند؛
   موقعیتِ عمودی را JS کنترل می‌کند (موبایل: وسطِ هیرو → نزولِ نرم → داکِ فوتر) */
.js .fab-stack { opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(-8px); transition: opacity .3s ease, visibility .3s ease, transform .3s ease; }
.js .fab-stack.fab-show { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.fab {
  --glow: rgba(90,151,216,.7);
  position: relative; width: clamp(52px, 5.4vw, 60px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 26px rgba(8,20,45,.34), 0 0 14px 0 var(--glow), inset 0 1px 0 rgba(255,255,255,.22);
  animation: fabBreath 2.1s ease-in-out infinite;
  transition: transform .2s ease, filter .2s ease;
}
.fab svg { width: 52%; height: 52%; }
.fab:hover { transform: translateY(-3px) scale(1.07); filter: brightness(1.08); }
.fab:active { transform: scale(.96); }
.fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.fab-wa { --glow: rgba(37,211,102,.78); background: linear-gradient(145deg, #25d366, #119c52); }
.fab-call { --glow: rgba(90,151,216,.82); background: linear-gradient(145deg, #4a8fd6, #1f4068); }
/* حلقهٔ تپندهٔ درخشان (radar ping) + نفسِ نورانیِ شدید */
.fab::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  animation: fabRing 2.1s cubic-bezier(.32,.62,.38,1) infinite;
}
@keyframes fabRing { 0% { box-shadow: 0 0 0 0 var(--glow); } 72%, 100% { box-shadow: 0 0 0 16px transparent; } }
@keyframes fabBreath {
  0%, 100% { box-shadow: 0 10px 26px rgba(8,20,45,.34), 0 0 12px 0 var(--glow), inset 0 1px 0 rgba(255,255,255,.22); }
  50% { box-shadow: 0 13px 30px rgba(8,20,45,.42), 0 0 30px 6px var(--glow), inset 0 1px 0 rgba(255,255,255,.22); }
}
/* تولتیپِ کنارِ دکمه — فقط دسکتاپ (دستگاه‌های لمسی hover ندارند) */
.fab-tip {
  position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%) scale(.9);
  white-space: nowrap; padding: 6px 12px; border-radius: 9px;
  background: #16203f; color: #fff; font-size: .82rem; font-weight: 700;
  opacity: 0; pointer-events: none; box-shadow: 0 8px 20px rgba(8,20,45,.3);
  transition: opacity .2s ease, transform .2s ease;
}
.fab-tip::before { content: ""; position: absolute; left: -5px; top: 50%; transform: translateY(-50%) rotate(45deg); width: 10px; height: 10px; background: #16203f; border-radius: 2px; }
.fab:hover .fab-tip, .fab:focus-visible .fab-tip { opacity: 1; transform: translateY(-50%) scale(1); }
@media (hover: none) { .fab-tip { display: none; } }
@media (max-width: 480px) {
  .fab { width: 50px; }
  .fab-stack { left: 12px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .features li::before { opacity: 1; }
}
