/* ═══ لایه‌ی مشترک صفحات (استفاده از توکن‌های brand.css) ═══ */
.ic{width:18px;height:18px;flex:none;vertical-align:-3px}
.skip-link{position:absolute;inset-inline-start:8px;top:-60px;background:var(--navy-800);color:#fff;padding:10px 16px;border-radius:var(--radius-md);z-index:1000}
.skip-link:focus{top:8px}
:where(a,button,summary,input,select,textarea):focus-visible{outline:3px solid var(--accent-500);outline-offset:2px}
html{scroll-behavior:smooth;scroll-padding-top:calc(var(--topbar-height) + 60px)}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important;transition:none!important}}
body{font-family:var(--font-fa);color:var(--brand-text);background:var(--white);line-height:1.9}
.wrap{max-width:1160px;margin:0 auto;padding:0 24px}
.wrap.narrow{max-width:820px}

/* hero — بنفش تیره + طلایی؛ اول عکس، بعد متن */
.hero{background:radial-gradient(1200px 500px at 85% 0%,#3a2182 0%,transparent 60%),linear-gradient(135deg,var(--navy-900),var(--navy-700));color:#fff;padding:56px 0 110px}
.hero-inner{max-width:1160px;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:minmax(260px,420px) 1fr;gap:64px;align-items:center}
.eyebrow{display:inline-block;color:var(--gold-300);font-size:14px;font-weight:600;margin-bottom:14px;padding:6px 16px;border:1px solid rgba(245,197,66,.4);border-radius:99px;background:rgba(255,255,255,.04)}
.hero h1{font-size:clamp(28px,3.5vw,42px);line-height:1.55;font-weight:800;margin-bottom:16px;color:#fff}
.accent{color:var(--gold-400);white-space:nowrap}
.lead{font-size:16px;line-height:2.1;color:#ddd5f3;max-width:620px}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.hero-photo{justify-self:center;width:min(420px,78vw);aspect-ratio:1;border-radius:50%;overflow:hidden;border:12px solid rgba(190,170,240,.55);box-shadow:0 28px 70px rgba(0,0,0,.45);background:var(--navy-600)}
.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 20%;display:block}
.btn{display:inline-flex;align-items:center;gap:8px;justify-content:center;padding:13px 24px;border-radius:var(--radius-lg);font:600 15px var(--font-fa);cursor:pointer;border:1.5px solid transparent;text-decoration:none;transition:transform .15s,box-shadow .15s}
.btn:hover{transform:translateY(-1px);box-shadow:var(--shadow-md)}
.btn-gold{background:linear-gradient(135deg,var(--gold-400),var(--gold-500));color:#2a1665;border-color:transparent}
.btn-gold:hover{box-shadow:0 8px 24px rgba(245,197,66,.35)}
.btn-ghost{border-color:rgba(255,255,255,.35);color:#fff;background:transparent}
.btn-block{display:flex;width:100%;margin-top:10px}

/* trust + proof */
.trust{position:relative;z-index:2;margin-top:-64px}
.trust-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;padding:26px 28px;background:#fff;border-radius:22px;box-shadow:0 18px 50px rgba(29,15,69,.18);border-top:3px solid var(--gold-400);max-width:1100px}
.trust-item{display:flex;gap:12px;align-items:center}
.trust-item .ic{width:44px;height:44px;padding:11px;border-radius:12px;background:var(--navy-50);color:var(--navy-600)}
.trust-item strong{display:block;font-size:14px;color:var(--navy-800);line-height:1.6}
.trust-item span{font-size:12.5px;color:var(--brand-muted)}
.proof{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;text-align:center}
.proof div{padding:22px;border:1px solid var(--brand-border);border-radius:var(--radius-xl)}
.proof strong{display:block;font-size:30px;color:var(--navy-700)}
.proof span{font-size:13px;color:var(--brand-muted)}

/* sections */
.sec{padding:64px 0}.sec-alt{background:var(--brand-bg)}
.sec-title{font-size:26px;color:var(--navy-800);margin-bottom:8px;line-height:1.6}
.sec-sub{color:var(--brand-muted);margin-bottom:28px}
.sec-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:18px}
.link-more{color:var(--accent-700);font-weight:600;text-decoration:none}
.svc-grid,.art-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px}
.svc-card,.art-card{display:block;background:#fff;border:1px solid var(--brand-border);border-radius:var(--radius-xl);padding:22px;text-decoration:none;color:inherit;transition:box-shadow .2s,border-color .2s}
.svc-card:hover,.art-card:hover{box-shadow:var(--shadow-lg);border-color:var(--accent-300)}
.svc-card h2,.svc-card h3,.art-card h2,.art-card h3{font-size:18px;color:var(--navy-800);margin-bottom:8px;line-height:1.7}
.art-card h2 a,.art-card h3 a{color:inherit;text-decoration:none}
.svc-card p,.art-card p{font-size:14px;color:var(--gray-600);line-height:2}
.more{display:inline-flex;gap:6px;align-items:center;margin-top:12px;color:var(--accent-700);font-weight:600;font-size:14px}
.meta{font-size:12.5px;color:var(--brand-muted);margin-top:10px}
.chips,.pager{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}
.chip{display:inline-block;padding:4px 14px;border-radius:99px;background:var(--navy-50);color:var(--navy-700);font-size:13px;text-decoration:none;border:1px solid var(--navy-100)}
.chip.on{background:var(--navy-700);color:#fff}
.steps{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:20px}
.steps li{display:flex;gap:14px;background:#fff;border-radius:var(--radius-xl);padding:20px;border:1px solid var(--brand-border)}
.steps .n{flex:none;width:40px;height:40px;border-radius:50%;background:var(--accent-600);color:#fff;display:grid;place-items:center;font-weight:700}
.steps h3{font-size:16px;color:var(--navy-800)}.steps p{font-size:14px;color:var(--gray-600)}

/* faq */
.faq-item{border:1px solid var(--brand-border);border-radius:var(--radius-lg);margin-bottom:10px;background:#fff}
.faq-item summary{cursor:pointer;padding:16px 20px;font-weight:600;color:var(--navy-800);list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";float:left;font-size:20px;color:var(--accent-600)}
.faq-item[open] summary::after{content:"−"}
.faq-item p{padding:0 20px 18px;color:var(--gray-700)}

/* location */
.loc{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:start}
.addr{display:flex;gap:8px;align-items:flex-start;margin-bottom:14px}
.hours{border-collapse:collapse;width:100%;max-width:380px}
.hours th,.hours td{padding:8px 0;border-bottom:1px dashed var(--brand-border);text-align:right;font-weight:500}
.warn-box{display:flex;gap:14px;background:#fff5f5;border:1px solid #fecaca;border-radius:var(--radius-xl);padding:22px;color:#7f1d1d}
.warn-box .ic{width:28px;height:28px;color:var(--danger)}
.warn-box ul,.urgent-warning ul{margin:8px 20px}
.cta-band{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap;background:var(--navy-800);color:#fff;border-radius:var(--radius-xl);padding:28px;margin-top:40px}
.cta-band h2{font-size:20px}.cta-band p{color:#c7d4e0}

/* inner pages */
.page-head{background:linear-gradient(135deg,var(--navy-900),var(--navy-700));color:#fff;padding:44px 0}
.page-head h1{font-size:clamp(24px,3.2vw,34px);line-height:1.6;color:#fff}
.page-head .lead{margin-top:8px}
.crumbs{font-size:13px;color:var(--navy-200);margin-bottom:10px}.crumbs a{color:var(--accent-300);text-decoration:none}
.byline{color:#c7d4e0;font-size:13.5px;margin-top:10px}.byline a{color:var(--accent-300)}
.two-col{display:grid;grid-template-columns:1fr 320px;gap:36px;align-items:start}
.side{position:sticky;top:calc(var(--topbar-height) + 70px);display:grid;gap:16px}
.side-card{border:1px solid var(--brand-border);border-radius:var(--radius-xl);padding:20px;background:#fff}
.side-card h2{font-size:17px;margin-bottom:6px;color:var(--navy-800)}
.plain{list-style:none}.plain li{padding:6px 0;border-bottom:1px solid var(--gray-100)}.plain a{color:var(--navy-600);text-decoration:none}
.prose{font-size:16.5px;line-height:2.15;color:var(--gray-900)}
.prose h2{font-size:23px;color:var(--navy-800);margin:34px 0 10px}
.prose h3{font-size:19px;color:var(--navy-700);margin:24px 0 8px}
.prose p{margin-bottom:14px}.prose ul,.prose ol{margin:0 24px 16px}.prose li{margin-bottom:4px}
.prose a{color:var(--accent-700)}
.prose table{border-collapse:collapse;width:100%;margin:16px 0;display:block;overflow-x:auto}
.prose th,.prose td{border:1px solid var(--brand-border);padding:8px 12px}
.prose blockquote{border-inline-start:4px solid var(--accent-500);padding:4px 16px;background:var(--navy-50);margin:16px 0}
.summary-box{background:var(--accent-100);border-radius:var(--radius-lg);padding:16px 20px;margin-bottom:20px;color:var(--accent-700);font-weight:500}
.toc{background:var(--navy-50);border-radius:var(--radius-lg);padding:16px 20px;margin-bottom:24px}.toc ol{margin:8px 20px}
.disclaimer{font-size:13px;color:var(--brand-muted);background:var(--gray-50);border-radius:var(--radius-md);padding:12px 16px;margin-top:26px}
.author-box{display:flex;gap:16px;align-items:flex-start;border:1px solid var(--brand-border);border-radius:var(--radius-xl);padding:20px;margin:30px 0;background:var(--navy-50)}
.author-box img{width:72px;height:72px;border-radius:50%;object-fit:cover}
.author-box span{display:block;font-size:13px;color:var(--brand-muted)}.author-box p{margin:8px 0 12px;font-size:14px}

/* footer */
.main-footer{background:var(--navy-900);color:#c7d4e0;padding:48px 24px 24px;margin-top:0}
.footer-grid{max-width:1160px;margin:0 auto;display:grid;grid-template-columns:1.4fr 1fr 1.2fr 1.3fr;gap:32px}
.main-footer h2{font-size:15px;color:#fff;margin-bottom:12px}
.main-footer ul{list-style:none}.main-footer li{margin-bottom:8px;font-size:14px}
.main-footer a{color:#c7d4e0;text-decoration:none}.main-footer a:hover{color:var(--accent-300)}
.footer-brand strong{display:block;color:#fff;font-size:17px}.footer-brand span{font-size:13px;color:var(--accent-300)}
.footer-grid p{font-size:14px;margin-top:10px}
.footer-disclaimer,.footer-copy{max-width:1160px;margin:22px auto 0;font-size:12.5px;color:#8aa0b8;border-top:1px solid rgba(255,255,255,.1);padding-top:16px}
.footer-copy{border:0;margin-top:6px;padding-top:0}

/* modal (کمینه‌ی لازم روی brand.css) */
.urgent-warning{display:flex;gap:12px;background:#fff5f5;border-radius:var(--radius-lg);padding:14px;color:#7f1d1d;margin-bottom:12px}
.urgent-warning .ic{width:26px;height:26px;color:var(--danger);flex:none}

@media (max-width:900px){
  .hero-inner,.two-col,.loc{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}.trust-grid{grid-template-columns:1fr 1fr}
  .steps,.proof{grid-template-columns:1fr}
  .side{position:static}.hero-photo{order:-1;width:220px}
}
@media (max-width:520px){.trust-grid,.footer-grid{grid-template-columns:1fr}.wrap{padding:0 16px}.sec{padding:44px 0}}

.urgent-signs{margin-top:16px;background:#fff5f5;border:1px solid #fecaca;border-radius:var(--radius-lg);padding:14px 16px;color:#7f1d1d;font-size:13.5px}
.urgent-signs-head{display:flex;align-items:center;gap:8px;margin-bottom:6px}
.urgent-signs-head .ic{color:var(--danger)}
.urgent-signs ul{margin:6px 22px}.urgent-signs p{margin-top:6px;font-size:12.5px;color:#9a3a3a}
.booking-option.urgent{border-color:#fca5a5}
.topbar-fixed{border-bottom:2px solid rgba(245,197,66,.55)!important}
@media (max-width:900px){.hero-inner{grid-template-columns:1fr;gap:32px;text-align:center}.hero-cta{justify-content:center}.lead{margin-inline:auto}.hero-photo{width:min(300px,76vw)}.trust{margin-top:-40px}}

/* ═══ هیرو: خطوط معرفی و دکمه‌ی سفید ═══ */
.hero-lines{margin-top:6px}
.hero-line{font-size:clamp(16px,1.9vw,21px);line-height:2.1;color:#fff;margin:0}
.hero-line strong{font-weight:800;font-size:1.12em}
.btn-white{border-color:#fff;color:#fff;background:transparent}
.btn-white:hover{background:rgba(255,255,255,.12)}

/* ═══ رزرو نوبت ═══ */
.muted{color:var(--brand-muted)}.small{font-size:13px}
.bk-step{background:#fff;border:1px solid var(--brand-border);border-radius:var(--radius-xl);padding:22px;margin-bottom:18px}
.bk-step h2,.bk-done h2{font-size:18px;color:var(--navy-800);margin-bottom:14px;display:flex;align-items:center;gap:10px}
.bk-step .n{width:30px;height:30px;border-radius:50%;background:var(--accent-600);color:#fff;display:grid;place-items:center;font-size:14px}
.bk-days{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px}
.bk-day,.bk-time{border:1.5px solid var(--brand-border);background:#fff;border-radius:var(--radius-lg);padding:10px 8px;text-align:center;cursor:pointer;font:600 14px var(--font-fa);color:var(--navy-800)}
.bk-day small{display:block;font-weight:500;color:var(--brand-muted);font-size:12px}
.bk-day:hover,.bk-time:hover{border-color:var(--accent-500)}
.bk-day[aria-selected=true],.bk-time[aria-selected=true]{background:var(--navy-700);border-color:var(--navy-700);color:#fff}
.bk-day[aria-selected=true] small{color:#ddd5f3}
.bk-day:disabled,.bk-time:disabled{opacity:.4;cursor:not-allowed;text-decoration:line-through}
.bk-times{display:grid;grid-template-columns:repeat(auto-fill,minmax(86px,1fr));gap:10px}
.bk-form{display:grid;gap:14px}
.bk-form label,.fld,.chk{display:block;font-weight:600;font-size:14px;color:var(--navy-800)}
.bk-form input,.bk-form select,.bk-form textarea,.fld input,.fld select,.jdate select{width:100%;margin-top:6px;padding:11px 12px;border:1.5px solid var(--brand-border);border-radius:var(--radius-md);font:500 15px var(--font-fa);background:#fff}
.bk-sum{background:var(--navy-50);border-radius:var(--radius-md);padding:10px 14px;font-weight:600;color:var(--navy-800)}
.bk-done{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:var(--radius-xl);padding:22px}
.side-card.warn{background:#fff5f5;border-color:#fecaca;color:#7f1d1d}.side-card.warn ul{margin:6px 20px}

/* ═══ محاسبه‌گر ═══ */
.calc-box{background:#fff;border:1px solid var(--brand-border);border-radius:var(--radius-xl);padding:24px;margin-bottom:28px;box-shadow:var(--shadow-md);display:grid;gap:16px}
.fld-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.chk{display:flex;gap:8px;align-items:center;font-weight:500}.chk input{width:auto;margin:0}
.jdate{display:grid;grid-template-columns:1.1fr 1.3fr 1fr;gap:8px}
.calc-out:empty{display:none}
.calc-out{border-radius:var(--radius-lg);padding:18px;background:var(--navy-50);line-height:2}
.calc-out.err{background:#fff5f5;color:#7f1d1d}
.calc-out.warn{background:#fffbeb;color:#78350f;border:1px solid #fde68a}
.calc-big{font-size:26px;font-weight:800;color:var(--navy-800)}
.calc-out dl{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;margin:8px 0}
.calc-out dt{color:var(--brand-muted)}.calc-out dd{font-weight:700;margin:0}
.calc-out ul{margin:8px 22px}
.calc-note{font-size:13px;color:var(--brand-muted)}
.save-box{border-top:1px dashed var(--brand-border);padding-top:14px;display:grid;gap:10px}
@media (max-width:560px){.fld-row{grid-template-columns:1fr}.jdate{grid-template-columns:1fr 1.3fr 1fr}}

/* ═══════════════ هدر حرفه‌ای / پزشکی ═══════════════ */
:root{--topbar-height:96px}
.topbar-fixed{background:#fff;color:var(--navy-800);border-bottom:1px solid var(--gray-200);box-shadow:0 2px 16px rgba(29,15,69,.08)}
.topbar-fixed::after{content:"";position:absolute;inset-inline:0;bottom:-1px;height:3px;background:linear-gradient(90deg,var(--navy-700),var(--gold-400) 50%,var(--navy-700))}
.topbar-info{color:var(--navy-700);font-weight:600}
.topbar-info:hover{color:var(--navy-900,var(--navy-800))}
.topbar-info svg{stroke:var(--navy-500)}
.topbar-divider{background:var(--gray-200)}
.topbar-center{gap:16px}
.topbar-logo{width:112px;height:70px;border-radius:14px;background:var(--navy-800);padding:0;box-shadow:0 6px 18px rgba(29,15,69,.28),0 0 0 2px var(--gold-400)}
.topbar-logo img{width:100%;height:100%;object-fit:cover;border-radius:12px}
.topbar-brand-name{color:var(--navy-800);font-size:20px;font-weight:800}
.topbar-brand-en{font-size:11.5px;font-weight:700;letter-spacing:.16em;color:var(--gold-500);line-height:1.5;text-align:start}
.topbar-brand-specialty{color:var(--gray-600);font-size:11.5px}
.btn-booking{background:var(--navy-700);box-shadow:0 2px 8px rgba(76,48,166,.35)}
.btn-booking:hover{background:var(--navy-800)}
.main-nav{background:var(--navy-50)}
.nav-link:hover{background:#fff}
@media(max-width:900px){
  :root{--topbar-height:80px}
  .topbar-logo{width:84px;height:53px;border-radius:11px}
  .topbar-brand-name{font-size:16px}
  .topbar-brand-en{font-size:10px}
}
@media(max-width:600px){
  :root{--topbar-height:70px}
  .topbar-fixed-inner{padding:8px 12px;gap:8px}
  .topbar-logo{width:68px;height:43px}
  .topbar-brand-name{font-size:14px}
  .topbar-brand-en{display:none}
  .btn-booking{padding:9px 12px}
}
@media(max-width:380px){.topbar-brand-text{display:none}}

/* ═══════════════ باکس‌های «چرا این مطب» ═══════════════ */
.values{background:#fff;padding:34px 0 8px}
.values-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.value-card{border:1px solid var(--gray-200);border-radius:var(--radius-xl);padding:22px 16px;text-align:center;background:#fff;box-shadow:var(--shadow-xs);display:flex;flex-direction:column;align-items:center;gap:6px;transition:transform .2s,box-shadow .2s}
.value-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
.value-ic{width:52px;height:52px;border-radius:50%;background:var(--navy-50);display:grid;place-items:center;color:var(--navy-600,var(--navy-700));margin-bottom:6px}
.value-ic .ic{width:26px;height:26px}
.value-card strong{color:var(--navy-800);font-size:16.5px}
.value-card span:last-child{color:var(--gray-600);font-size:13.5px}
@media(max-width:900px){.values-grid{grid-template-columns:1fr 1fr}}
@media(max-width:420px){.values-grid{gap:10px}.value-card{padding:16px 10px}.value-card strong{font-size:14.5px}.value-card span:last-child{font-size:12.5px}}

/* ═══════════════ موبایل: ایمنی کلی ═══════════════ */
html{-webkit-text-size-adjust:100%}
body{overflow-x:hidden}
img,video,iframe,svg{max-width:100%}
input,select,textarea{font-size:16px}          /* جلوگیری از زوم خودکار iOS */
.btn,button,.nav-link,.chip2,.bk-day,.bk-time{min-height:44px}
.table-wrap,.hours{overflow-x:auto;-webkit-overflow-scrolling:touch}
.modal{max-height:92vh;overflow-y:auto}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:900px){
  .hero-text{text-align:center}
  .hero-cta{justify-content:center}
  .hero-photo{margin-inline:auto}
}
@media(max-width:520px){
  .hero-cta .btn{flex:1 1 100%}
  .page-head h1{font-size:23px;line-height:1.7}
  .bk-days{grid-template-columns:repeat(auto-fill,minmax(96px,1fr))}
  .calc-box{padding:16px}
  .jdate{gap:6px}
  .cs{padding:24px 14px 60px}
}

/* ═══ نتیجه‌ی پرداخت ═══ */
.pay-card{background:#fff;border:1px solid var(--gray-200);border-radius:var(--radius-xl);padding:32px 24px;text-align:center;box-shadow:var(--shadow-md);display:grid;gap:12px;justify-items:center}
.pay-card.ok{border-color:#86efac}.pay-card.fail{border-color:#fca5a5}
.pay-ic{width:64px;height:64px;border-radius:50%;display:grid;place-items:center}
.pay-card.ok .pay-ic{background:#dcfce7;color:#16a34a}.pay-card.fail .pay-ic{background:#fee2e2;color:#dc2626}
.pay-ic .ic{width:34px;height:34px}
.pay-card h1{font-size:22px;color:var(--navy-800)}

/* ═══ پیگیری نوبت / کد پیگیری / درگاه آزمایشی ═══ */
.track-code{background:var(--navy-50);border:1.5px dashed var(--navy-700);border-radius:var(--radius-lg);padding:14px 20px;display:grid;gap:4px;justify-items:center}
.track-code strong{font-size:28px;letter-spacing:.25em;color:var(--navy-800)}
.track-code small{color:var(--gray-600)}
.badge-test{background:#fef3c7;color:#92400e;padding:4px 12px;border-radius:99px;font-size:12px;font-weight:700}
.trk{margin-top:16px;border:1px solid var(--gray-200);border-radius:var(--radius-lg);padding:18px;background:#fff;display:grid;gap:10px}
.trk.dead{background:#fef2f2;border-color:#fecaca}
.trk-head{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}
.trk-badge{background:var(--navy-50);color:var(--navy-700);padding:3px 12px;border-radius:99px;font-weight:700;font-size:13px}
.trk dl{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;margin:0}.trk dt{color:var(--gray-600)}.trk dd{margin:0;font-weight:700}
.trk-steps{list-style:none;margin:6px 0;padding:0;display:grid;gap:10px}
.trk-steps li{display:flex;gap:10px;align-items:center;color:var(--gray-500)}
.trk-steps i{width:18px;height:18px;border-radius:50%;border:2px solid var(--gray-300,#d1d5db);flex:none}
.trk-steps li.done{color:var(--navy-800);font-weight:700}.trk-steps li.done i{background:#16a34a;border-color:#16a34a;box-shadow:inset 0 0 0 3px #fff}

/* ═══════════════ محاسبه‌گرها: ظاهر شاداب ═══════════════ */
.calc-head,.calc-index-head{background:var(--bg,linear-gradient(135deg,#f5f3ff,#fdf2f8));text-align:center;padding:38px 0 46px;position:relative;overflow:hidden}
.calc-head::before,.calc-head::after,.calc-index-head::before{content:"";position:absolute;border-radius:50%;background:var(--acc,#8b5cf6);opacity:.12;pointer-events:none}
.calc-head::before{width:220px;height:220px;top:-70px;inset-inline-start:-60px}
.calc-head::after{width:150px;height:150px;bottom:-60px;inset-inline-end:8%}
.calc-index-head::before{width:240px;height:240px;top:-90px;inset-inline-end:-50px}
.calc-head .wrap,.calc-index-head .wrap{position:relative}
.calc-head h1{color:var(--navy-800)}
.calc-emoji{font-size:58px;line-height:1;margin:6px 0 4px;display:inline-block;animation:floaty 3.2s ease-in-out infinite}
.calc-cheer{font-weight:700;color:var(--acc);margin-top:6px}
.calc-sec .calc-box{border-top:6px solid var(--acc);border-radius:22px;box-shadow:0 14px 34px rgba(29,15,69,.10)}
.calc-sec .calc-go{background:var(--acc);border-color:var(--acc);font-weight:800;font-size:16px;padding:14px 22px;border-radius:14px}
.calc-sec .calc-go:hover{filter:brightness(.93);transform:translateY(-1px)}
.calc-sec .fld input:focus,.calc-sec .fld select:focus,.calc-sec .jdate select:focus{outline:0;border-color:var(--acc);box-shadow:0 0 0 3px color-mix(in srgb,var(--acc) 22%,transparent)}
.calc-out{animation:pop .35s ease both;border:1px solid color-mix(in srgb,var(--acc,#8b5cf6) 25%,transparent);background:linear-gradient(135deg,color-mix(in srgb,var(--acc,#8b5cf6) 8%,#fff),#fff)}
.calc-out.warn{background:#fffbeb;border-color:#fde68a}.calc-out.err{background:#fff5f5;border-color:#fecaca}
.calc-big{font-size:28px;color:var(--navy-800)}
.calc-card{position:relative;background:var(--bg);border:1px solid color-mix(in srgb,var(--acc) 30%,transparent);transition:transform .2s,box-shadow .2s}
.calc-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(29,15,69,.12)}
.calc-card h2{color:var(--navy-800)}.calc-card .more{color:var(--acc);font-weight:700}
.calc-card-emoji{font-size:40px;display:block;margin-bottom:6px}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@keyframes pop{from{opacity:0;transform:scale(.96) translateY(6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.calc-emoji,.calc-out{animation:none}}

/* ═══ نام انگلیسی هم‌راستا با نام فارسی ═══ */
.topbar-brand-text{align-items:stretch}
.topbar-brand-en,.footer-brand .en{display:block;direction:rtl;text-align:start;unicode-bidi:isolate;font-weight:700;letter-spacing:.14em}
.topbar-brand-en{font-size:11.5px;line-height:1.5;color:var(--gold-500)}
.footer-brand .en{font-size:12.5px;color:var(--gold-300);margin:2px 0}

.bk-notice{background:#fffbeb;border:1.5px solid #f59e0b;border-radius:var(--radius-xl);padding:16px 20px;margin-bottom:18px;color:#78350f;line-height:2}
.bk-notice strong{display:flex;align-items:center;gap:8px;color:#92400e;margin-bottom:4px}
.bk-notice .ic{width:20px;height:20px}
.bk-notice ul{margin:0;padding-inline-start:20px}

/* ═══ ابزارهای سلامت: خطوط بنفش پررنگ‌تر ═══ */
.calc-sec,.calc-index-head,.calc-head{--line:#7c5cd6}
.calc-sec .calc-box{border:2px solid var(--line);border-top:6px solid var(--acc)}
.calc-sec .fld input,.calc-sec .fld select,.calc-sec .jdate select{border:2px solid var(--line);background:#fff}
.calc-sec .fld input:hover,.calc-sec .fld select:hover,.calc-sec .jdate select:hover{border-color:#5b3fc4}
.calc-sec .chk input{accent-color:#5b3fc4;width:20px;height:20px}
.calc-sec .calc-out{border:2px solid var(--line)}
.calc-sec .calc-out.warn{border-color:#d97706}.calc-sec .calc-out.err{border-color:#dc2626}
.calc-sec .save-box{border-top:2px dashed var(--line)}
.calc-sec .faq-item,.calc-sec .side-card{border:2px solid #b6a4ec}
.calc-sec .faq-item[open]{border-color:var(--line)}
.calc-card{border:2px solid color-mix(in srgb,var(--acc) 65%,#fff)}
.crumbs a{color:#5b3fc4;font-weight:600}

/* ═══ ابزارهای سلامت: هیرو و متن‌ها پررنگ (همه‌ی صفحه‌های ابزارها) ═══ */
.calc-index-head{background:linear-gradient(135deg,#dccdff 0%,#ffc7e2 100%)}
.calc-head::before,.calc-head::after,.calc-index-head::before{opacity:.22}
.calc-index-head h1,.calc-head h1{color:#1d0f45!important;font-weight:900}
.calc-index-head .lead,.calc-head .lead{color:#33285f!important;font-weight:600;opacity:1}
.calc-index-head .crumbs,.calc-head .crumbs,.calc-index-head .crumbs span,.calc-head .crumbs span{color:#3b2a8f;opacity:1;font-weight:600}
.calc-index-head .crumbs a,.calc-head .crumbs a{color:#2b1a86;font-weight:800}
.calc-cheer{color:var(--acc);font-weight:800;filter:brightness(.8)}
.calc-card p,.calc-sec .prose p,.calc-sec .prose li,.calc-sec .faq-item p{color:#33285f}
.calc-card h2{color:#1d0f45}
.calc-sec .prose h2{color:#1d0f45;border-bottom:3px solid #b6a4ec;padding-bottom:6px}
.calc-sec .faq-item summary{color:#1d0f45;font-weight:800}
.calc-sec .fld{color:#1d0f45}

/* ═══ رزرو: اولین نوبت خالی، فرم تأیید ═══ */
.bk-first{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:linear-gradient(135deg,#fef3c7,#fde68a);border:2px solid #f59e0b;border-radius:var(--radius-xl);padding:14px 18px;margin-bottom:18px;color:#78350f}
.bk-first-ic{font-size:30px}.bk-first strong{display:block;color:#92400e}.bk-first div{flex:1;min-width:150px;font-weight:700}
.bk-first .btn{white-space:nowrap}
.bk-row2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.bk-who{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:var(--radius-md);padding:10px 14px;font-weight:600;color:#14532d}
.bk-who a{color:#5b3fc4;font-size:13px}
.auth-err{color:#b91c1c;font-weight:600;font-size:13.5px;margin:8px 0 0;min-height:0}
.bk-type{margin:0;color:var(--navy-800)}
@media(max-width:520px){.bk-row2{grid-template-columns:1fr}}

/* ═══════════════ هدر چسبان — طرح تمیز و حرفه‌ای ═══════════════
   دسکتاپ: لوگو و مشخصات دکتر | آدرس کوتاه + تلفن | رزرو نوبت.  موبایل: همبرگر | نام وسط | تماس + دکمه‌ی شناور رزرو */
:root{--topbar-height:114px}
.topbar-fixed{background:#fff;border-bottom:1px solid #ece7f8;box-shadow:0 6px 24px rgba(29,15,69,.07)}
.topbar-fixed::after{content:"";position:absolute;inset-inline:0;bottom:0;height:3px;background:linear-gradient(90deg,var(--navy-700),var(--gold-400) 50%,var(--navy-700))}
.th-inner{box-sizing:border-box;display:flex;align-items:center;gap:32px;max-width:1280px;margin:0 auto;padding:18px 32px;min-height:var(--topbar-height)}
.th-brand{display:flex;align-items:center;gap:20px;text-decoration:none;color:inherit;min-width:0}
.topbar-logo{width:124px;height:78px;flex:none;border-radius:14px;background:var(--navy-800);box-shadow:0 6px 18px rgba(29,15,69,.25),0 0 0 2px var(--gold-400)}
.topbar-logo img{width:100%;height:100%;object-fit:cover;border-radius:12px;display:block}
.th-text{display:flex;flex-direction:column;align-items:flex-start;text-align:start;min-width:0}
.th-name{font-size:30px;font-weight:900;line-height:1.3;color:var(--navy-800)}
.th-spec{font-size:14.5px;font-weight:800;color:#a8741a;margin-top:4px;line-height:1.5}      /* تخصص: بولد و طلایی */
.th-en{font-size:11.5px;font-weight:700;letter-spacing:.28em;color:#6b5aa8;margin-top:5px;direction:rtl;text-align:start;unicode-bidi:isolate}
.th-info{margin-inline-start:auto;display:flex;align-items:center;gap:18px;padding-inline-start:30px;border-inline-start:1px solid #e6def7;min-width:0}
.th-line{display:inline-flex;align-items:center;gap:9px;font-size:14px;font-weight:700;color:var(--navy-800);text-decoration:none;white-space:nowrap}
.th-line:hover{color:var(--navy-600)}
.th-line .ic{width:18px;height:18px;stroke:var(--navy-600);flex:none}
.th-sep{width:1px;height:22px;background:#d9cff3;flex:none}
.th-book{display:inline-flex;align-items:center;gap:10px;padding:8px 24px 8px 9px;border:0;border-radius:99px;cursor:pointer;color:#fff;font:800 15px inherit;font-family:inherit;white-space:nowrap;
  background:linear-gradient(135deg,var(--navy-600),var(--navy-800));box-shadow:0 8px 20px rgba(76,48,166,.32);transition:transform .15s,box-shadow .15s}
.th-book:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(76,48,166,.4)}
.th-book-ic{width:34px;height:34px;border-radius:50%;background:var(--gold-400);display:grid;place-items:center}
.th-book-ic .ic{width:17px;height:17px;stroke:var(--navy-900)}
.th-burger,.th-call,.float-book,.mobile-menu{display:none}
.main-nav{background:var(--navy-50)}
@media(max-width:1180px){.th-line.addr,.th-sep{display:none}.th-info{padding-inline-start:22px}}

/* ───── موبایل / تبلت ───── */
@media(max-width:900px){
  :root{--topbar-height:68px}
  .th-inner{padding:8px 10px;gap:6px;justify-content:space-between}
  .th-info,.th-book{display:none}
  .main-nav{display:none}
  .th-burger,.th-call{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;border:0;background:var(--navy-50);color:var(--navy-700);flex:none;cursor:pointer;text-decoration:none}
  .th-call .ic{width:21px;height:21px;stroke:var(--navy-700)}
  .th-burger{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}
  .th-burger span{display:block;width:22px;height:2.5px;border-radius:2px;background:var(--navy-700);transition:transform .2s,opacity .2s}
  .th-burger.open span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
  .th-burger.open span:nth-child(2){opacity:0}
  .th-burger.open span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}
  .th-brand{flex:1;justify-content:center;gap:10px}
  .topbar-logo{width:58px;height:37px;border-radius:10px;box-shadow:0 0 0 1.5px var(--gold-400)}
  .th-text{align-items:center;text-align:center}
  .th-name{font-size:18px}
  .th-spec{font-size:10.5px;margin-top:1px}
  .th-en{font-size:8.5px;letter-spacing:.2em;margin-top:1px}
  /* منو */
  .mobile-menu{display:none;position:fixed;inset-inline:0;top:var(--topbar-height);bottom:0;z-index:990;background:#fff;overflow:auto;padding:8px 18px 120px;border-top:3px solid var(--gold-400);-webkit-overflow-scrolling:touch}
  .mobile-menu.open{display:block}
  .mm-link{display:block;padding:15px 6px;font-size:17px;font-weight:700;color:var(--navy-800);text-decoration:none;border-bottom:1px solid #f0ecfa}
  .mm-link.active{color:var(--navy-600);border-inline-start:4px solid var(--gold-400);padding-inline-start:12px}
  .mm-contact{margin-top:18px;background:var(--navy-50);border-radius:16px;padding:8px 16px}
  .mm-row{display:flex;align-items:flex-start;gap:12px;padding:12px 0;font-weight:700;color:var(--navy-800);text-decoration:none;border-bottom:1px solid #e6def7;line-height:1.9}
  .mm-row .ic{width:20px;height:20px;stroke:var(--navy-600);flex:none;margin-top:5px}
  .mm-hours{width:100%;font-size:14px;margin:6px 0;border-collapse:collapse}.mm-hours th{text-align:start;color:var(--gray-600);font-weight:600;padding:4px 0}.mm-hours td{text-align:end;font-weight:700}
  /* دکمه‌ی شناور رزرو نوبت */
  .float-book{display:inline-flex;align-items:center;gap:9px;position:fixed;z-index:980;left:50%;transform:translateX(-50%);bottom:calc(14px + env(safe-area-inset-bottom,0px));
    padding:14px 30px;border:0;border-radius:99px;font:800 16px inherit;font-family:inherit;color:#fff;cursor:pointer;
    background:linear-gradient(135deg,var(--navy-600),var(--navy-800));box-shadow:0 12px 30px rgba(76,48,166,.5),0 0 0 3px rgba(251,191,36,.9)}
  .float-book .ic{width:19px;height:19px;stroke:var(--gold-300,#fcd34d)}
  .mm-open .float-book{display:none}
  .mm-open body{overflow:hidden}
  body{padding-bottom:88px}
}
@media(max-width:380px){.th-spec{display:none}.th-name{font-size:16.5px}.topbar-logo{width:50px;height:32px}}

/* ═══════════════════════════════════════════════════════════════
   طراحی جدید هدر و هیرو (الهام از طرح دکتر): سفید + بنفش لوگو + فیروزه‌ای + طلایی
   ═══════════════════════════════════════════════════════════════ */
:root{--brand-purple:#482275;--brand-indigo:#2d1b69;--brand-teal:#2aa7b0;--brand-teal-soft:#86c9d0;--brand-gold:#c8921a}
.th-en{display:none}                          /* انگلیسی داخل لوگو هست */
.topbar-fixed::after{background:linear-gradient(90deg,var(--brand-purple),var(--brand-teal-soft) 55%,var(--brand-purple))}

@media(min-width:901px){
  :root{--topbar-height:122px}
  .topbar-fixed{border-bottom:0!important}
  .th-inner{max-width:none;padding:0 0 0 40px;gap:30px;min-height:var(--topbar-height);height:var(--topbar-height);align-items:stretch}
  .th-brand{gap:28px;align-items:stretch}
  .topbar-logo{width:236px;height:auto;border-radius:0 0 0 40px;background:var(--brand-purple);box-shadow:none;display:grid;place-items:center;padding:8px 18px}
  .topbar-logo img{width:100%;height:100%;max-height:104px;object-fit:contain;border-radius:0}
  .th-text{justify-content:center;gap:0}
  .th-name{font-size:32px;font-weight:900;color:var(--brand-indigo);line-height:1.35;margin:0}
  .th-spec{font-size:17px;font-weight:800;color:#3b2a9a;margin:2px 0 0;line-height:1.6}
  .th-tag{font-size:17px;font-weight:800;color:var(--brand-teal);line-height:1.6}
  .th-info{align-self:center;border-inline-start:0;padding-inline-start:0}
  .th-book{align-self:center;background:var(--brand-purple);box-shadow:0 8px 20px rgba(72,34,117,.28);padding:12px 26px;border-radius:18px;font-size:16px}
  .th-book-ic{background:transparent;width:auto;height:auto}
  .th-book-ic .ic{stroke:#fff;width:22px;height:22px}
  .th-info{margin-inline-start:auto}
  .main-nav{background:#fff;border-bottom:1px solid #ece7f8}
  .main-nav-inner{padding-inline-start:300px}   /* زیر مشخصات دکتر، مثل طرح */
  .nav-link{font-size:14px;font-weight:600;color:#2d2a4a}
  .nav-link.active{color:var(--brand-purple);border-bottom-color:var(--brand-purple);font-weight:800}
}
@media(min-width:901px) and (max-width:1180px){
  .topbar-logo{width:190px}.th-name{font-size:26px}.th-spec,.th-tag{font-size:14.5px}.th-inner{gap:18px;padding-left:20px}
  .main-nav-inner{padding-inline-start:210px}
}
@media(max-width:900px){
  .th-tag{display:none}
  .th-name{color:var(--brand-indigo)}
  .th-spec{color:#3b2a9a;font-weight:800}
  .topbar-logo{background:var(--brand-purple);box-shadow:none}
  .topbar-logo img{object-fit:contain}
}

/* ───── هیرو ───── */
.hero{position:relative;overflow:hidden;color:var(--brand-indigo);padding:70px 0 130px;
  background:radial-gradient(700px 420px at 12% 20%,rgba(134,201,208,.16),transparent 70%),linear-gradient(120deg,#fff 0%,#f7f4fd 60%,#efeafa 100%)}
.hero::before,.hero::after{content:"";position:absolute;border-radius:50%;pointer-events:none;width:1000px;height:1000px;top:-250px}
.hero::before{right:-560px;background:var(--brand-teal-soft)}
.hero::after{right:-650px;background:linear-gradient(160deg,#52299a,var(--brand-purple) 60%,#3a1b78)}
.hero-inner{position:relative;z-index:1}
.hero-photo{border:8px solid #fff;box-shadow:0 0 0 5px #5b34a8,0 26px 60px rgba(45,27,105,.35);background:#fff}
.hero-text{text-align:start}
.hero .hero-name{font-size:clamp(38px,5.2vw,66px);font-weight:900;line-height:1.35;color:var(--brand-indigo);margin:0 0 10px}
.hero-sub{font-size:clamp(20px,2.4vw,31px);font-weight:800;line-height:1.7;color:#4a2fa0;margin:0}
.hero-line1{display:flex;align-items:baseline;gap:.45em;white-space:nowrap;font-size:clamp(18px,2.3vw,31px);font-weight:800;line-height:1.8;margin:8px 0 0}
.hero-tag{color:#4338b8}
.hero-gold{color:var(--brand-gold)}
.hero-cta{margin-top:30px}
.btn-royal{background:var(--brand-purple);color:#fff;border-color:var(--brand-purple);box-shadow:0 8px 20px rgba(72,34,117,.28)}
.btn-royal:hover{background:#3a1b78}
.btn-teal-soft{background:#fff;color:#1b8890;border-color:var(--brand-teal-soft)}
.btn-teal-soft:hover{background:#eaf7f8}
@media(max-width:900px){
  .hero{padding:34px 0 90px;background:linear-gradient(180deg,#fff,#f4f0fb)}
  .hero::before,.hero::after{right:50%;width:640px;height:640px}
  .hero::before{margin-right:-320px;top:-400px}
  .hero::after{margin-right:-290px;top:-420px;width:580px;height:580px}
  .hero-inner{gap:26px}
  .hero-text{text-align:center}
  .hero-line1{justify-content:center;font-size:clamp(14px,4.5vw,20px)}
  .hero-photo{width:min(250px,64vw)}
  .hero-sub{font-size:clamp(16px,4.6vw,22px)}
}

[hidden]{display:none!important}             /* بدون این، display در CSS اجزا، attribute hidden را بی‌اثر می‌کرد (مراحل رزرو همه با هم دیده می‌شدند) */
.hero-leaves{position:absolute;left:-60px;top:0;height:100%;width:auto;min-width:420px;z-index:0;pointer-events:none}
.th-addr-bar{display:none}
@media(max-width:900px){
  :root{--topbar-height:102px}
  .th-inner{height:68px;min-height:68px}
  .th-tag{display:block;font-size:10.5px;font-weight:700;color:var(--brand-teal);line-height:1.5}
  .th-addr-bar{display:flex;align-items:center;justify-content:center;gap:7px;height:34px;padding:0 12px;background:#f4f0fb;border-top:1px solid #e6def7;color:var(--brand-purple);font-size:12.5px;font-weight:700;text-decoration:none;white-space:nowrap;overflow:hidden}
  .th-addr-bar .ic{width:15px;height:15px;stroke:var(--brand-teal);flex:none}
  .th-addr-bar span{overflow:hidden;text-overflow:ellipsis}
  .hero-leaves{left:-90px;min-width:340px;opacity:.8}
}
@media(max-width:380px){.th-tag{display:none}}

/* جلا و حرفه‌ای‌تر: کارت‌ها و عنوان بخش‌ها */
.svc-card{border:1px solid #ece7f8;border-top:3px solid var(--brand-teal-soft);border-radius:18px;box-shadow:0 8px 24px rgba(72,34,117,.07)}
.svc-card .more{color:var(--brand-purple);font-weight:800}
.sec-title{color:var(--brand-indigo);font-weight:900}
.sec-title::after{content:"";display:block;width:54px;height:4px;border-radius:4px;margin-top:8px;background:linear-gradient(90deg,var(--brand-purple),var(--brand-teal-soft))}
.trust{border-radius:22px;box-shadow:0 18px 44px rgba(72,34,117,.14)}
@media(max-width:900px){
  .sec-title{font-size:23px}
  .svc-card{padding:20px}
  .btn{min-height:50px;border-radius:16px}
}

.btn-teal{background:linear-gradient(135deg,#2aa7b0,#1b8890);color:#fff;border:0;box-shadow:0 8px 20px rgba(27,136,144,.28)}
.btn-teal:hover{filter:brightness(1.06);transform:translateY(-1px)}
.btn-teal:disabled{opacity:.6;transform:none}

/* ═══════════ v16: هدر با کارت لوگو، هم‌ترازی، رنگ باکس‌ها ═══════════ */
/* لوگوی هدر همان برش بالای کارت دکتر است (زمینه‌ی بنفش + منحنی سفید/فیروزه‌ای)؛ هیرو با همان منحنی‌ها ادامه می‌یابد */
.topbar-logo{background:var(--brand-purple);overflow:hidden}
.topbar-logo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
@media(min-width:901px){
  .topbar-logo{width:340px;height:var(--topbar-height);padding:0;border-radius:0 0 0 36px;display:block}
  .topbar-logo img{max-height:none}
  .main-nav-inner{padding-inline-start:380px}
}
@media(min-width:901px) and (max-width:1180px){
  .topbar-logo{width:260px}
  .main-nav-inner{padding-inline-start:300px}
}
@media(max-width:900px){
  .topbar-logo{width:132px;height:44px;border-radius:10px;padding:0}
}
@media(max-width:380px){.topbar-logo{width:104px;height:36px}}

/* نشانی و شماره‌ی هدر دسکتاپ: دو آیتم هم‌اندازه، یک خط افقی و بدون اختلاف سطح */
.th-info{align-items:center}
.th-line{height:40px;line-height:1;align-items:center}
.th-line .ic{width:20px;height:20px;display:block;flex:none}
.th-line span{display:block;line-height:1;padding-top:1px}
.th-line.phone span{unicode-bidi:isolate}

/* ردیف سوابق علمی: همه‌ی کارت‌ها از یک خط شروع می‌شوند؛ عنوان دوخطی (فلوشیپ) آیکن را جابه‌جا نمی‌کند */
.trust-grid{align-items:start}
.trust-item{align-items:flex-start}
.trust-item .ic{flex:none;box-sizing:border-box}
.trust-item strong{min-height:3.2em;display:flex;align-items:flex-end}   /* هر عنوان تا دو خط جا دارد؛ زیرنویس همه روی یک خط می‌نشیند */
@media(max-width:520px){.trust-item strong{min-height:0;display:block}}

/* باکس‌ها: همه به رنگ بنفش/نیلی قبلی؛ فیروزه‌ای فقط در لوگو و نوار باریک هدر می‌ماند */
.svc-card{border-top-color:var(--navy-300)}
.sec-title::after{background:linear-gradient(90deg,var(--brand-purple),var(--gold-400))}
.th-tag{color:var(--navy-500)}
.th-addr-bar .ic{stroke:var(--brand-purple)}

/* نتایج تقویم سلامت (بدون ذخیره، هم‌سبک ماشین‌حساب‌ها) */
.cal-grid{display:grid;gap:14px;margin-top:18px}
.cal-item{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px solid #e6def7;border-inline-start:5px solid var(--navy-500);border-radius:16px;padding:16px 18px}
.cal-item .cal-ic{font-size:26px;line-height:1.2;flex:none}
.cal-item h3{margin:0 0 4px;font-size:15.5px;color:var(--navy-800);display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.cal-item p{margin:0;font-size:13.5px;line-height:1.9;color:var(--gray-600)}
.cal-item.ok{border-inline-start-color:#16a34a}
.cal-item.warn{border-inline-start-color:#d97706}
.cal-badge{font-size:11px;font-weight:700;padding:3px 10px;border-radius:99px;background:var(--navy-50);color:var(--navy-600)}
.cal-item.ok .cal-badge{background:#e7f6ec;color:#15803d}
.cal-item.warn .cal-badge{background:#fff1dc;color:#b45309}
.cal-section{margin:24px 0 8px;font-size:16px;font-weight:800;color:var(--navy-800)}

/* نوبت برای خودم / فرد دیگر */
.who-pick{border:0;padding:0;margin:4px 0 12px;display:grid;gap:8px}
.who-pick legend{font-weight:800;color:var(--navy-800);margin-bottom:6px;padding:0}
.who-opt{display:flex!important;align-items:center;gap:10px;padding:11px 14px;border:1.5px solid #e6def7;border-radius:14px;background:#fff;cursor:pointer;font-weight:700;color:var(--navy-800)}
.who-opt input{width:auto!important;margin:0!important;accent-color:var(--brand-purple)}
.who-opt:has(input:checked){border-color:var(--brand-purple);background:var(--navy-50)}
.who-card{background:var(--navy-50);border:1px dashed var(--navy-300);border-radius:12px;padding:10px 14px;margin:6px 0 12px;line-height:1.9;color:var(--navy-800)}
.who-card .who-note{display:block;font-size:12.5px;font-weight:500;color:var(--gray-600)}

/* هماهنگی رنگ هیرو با لوگوی هدر: همان باند فیروزه‌ای روشن + باند میانیِ خاکستری‌آبی + بنفش کارت لوگو */
:root{--brand-teal-soft:#9cc7cb;--brand-teal-mid:#6f9aaa}
.topbar-logo img{object-position:center top}
.hero::before{background:var(--brand-teal-soft);box-shadow:48px 0 0 0 var(--brand-teal-mid)}
@media(max-width:900px){.hero::before{box-shadow:26px 0 0 0 var(--brand-teal-mid)}}

/* ═══════════ v18: اصلاح هم‌ترازی هدر، ردیف مدارک، امتداد منحنی لوگو در هیرو ═══════════ */
/* علت اختلاف ارتفاع نشانی و تلفن: کلاس عمومی .addr (فوتر) margin-bottom:14px به لینک نشانی هدر هم می‌رسید */
.th-line.addr{margin:0;display:inline-flex;align-items:center}
.th-line span{padding-top:0;line-height:1.4}
/* ردیف مدارک: همه‌ی کارت‌ها از یک خط شروع می‌شوند (آیکن و عنوان بالا؛ عنوان دوخطی فقط پایین‌تر ادامه می‌یابد) */
.trust-grid{align-items:start}
.trust-item{align-items:flex-start}
.trust-item strong{min-height:0;display:block;align-items:initial}
@media(max-width:520px){.trust-item strong{min-height:0}}
/* منحنی هیرو دقیقاً از جایی ادامه می‌یابد که باندهای لوگوی هدر تمام می‌شوند (نوار فیروزه‌ای باریک ← پهن‌تر شونده) */
@media(min-width:1181px){
  .hero::before{right:-598px;box-shadow:16px 0 0 0 var(--brand-teal-mid)}
  .hero::after{right:-643px}
}
.no-nid{margin:4px 0 12px;font-size:13px;color:var(--gray-600)}
.no-nid a{color:var(--navy-600);font-weight:700}
.trk-who{margin:6px 0 10px;font-weight:700;color:var(--navy-800)}

.lost-code{margin-top:18px;padding:16px 18px;border:1px dashed var(--navy-300);border-radius:14px;background:var(--navy-50);line-height:1.9}
.lost-code p{margin:6px 0 10px}

/* ═══════════ v20: لوگوی جدید (فیروزه‌ای روشن + بنفش)؛ هدر، هیرو و منحنی‌ها هم‌رنگ و هم‌امتداد ═══════════ */
:root{--brand-teal-soft:#55cdd8}
.topbar-logo img{object-fit:cover;object-position:center 49%}     /* برش مرکزیِ لوگو: نشان + «DR. ZAHRA SHIRAVANI» کامل دیده می‌شود */
.hero::before{background:var(--brand-teal-soft);box-shadow:none}
@media(min-width:1181px){
  /* لبه‌ی بنفشِ هیرو دقیقاً زیر لبه‌ی بنفشِ لوگو شروع می‌شود و باند فیروزه‌ای از زیر آن پهن‌تر می‌شود */
  .hero::before{top:-176px;right:-542px}
  .hero::after{top:-250px;right:-610px}
}

/* ═══════════ v21: هلال بنفش + نوار باریک فیروزه‌ای؛ هدر و هیرو یک دایره‌ی واحدند ═══════════
   دایره‌ی بنفش (شعاع ۵۰۰) از هدر شروع می‌شود، پشت نوار منو می‌گذرد و در هیرو ادامه می‌یابد؛
   نوار فیروزه‌ای همان دایره است که ۱۸px به چپ رفته. اگر ارتفاع هدر/منو عوض شد فقط  --hdr-offset  را عوض کنید. */
:root{--arc-r:500px;--arc-beyond:110px;--band:18px;--hdr-h:var(--topbar-height);--hdr-offset:calc(var(--topbar-height) + 61px)}   /* hdr-offset = ارتفاع هدر + ارتفاع نوار منو (≈۶۱px) */
@media(min-width:1181px){
  .topbar-logo.shaped{position:relative;width:300px;height:var(--hdr-h);overflow:hidden;background:transparent;border-radius:0}
  .topbar-logo.shaped::before,.topbar-logo.shaped::after{content:"";position:absolute;border-radius:50%;
    width:calc(var(--arc-r)*2);height:calc(var(--arc-r)*2);top:calc(250px + var(--hdr-offset) - var(--arc-r))}
  .topbar-logo.shaped::before{background:var(--brand-teal-soft);right:calc(-1*(var(--arc-beyond) - var(--band) + var(--arc-r)))}
  .topbar-logo.shaped::after{background:var(--brand-purple);right:calc(-1*(var(--arc-beyond) + var(--arc-r)))}
  .topbar-logo.shaped img{position:relative;z-index:2;width:100%;height:100%;object-fit:contain;object-position:82% 50%}
  /* هیرو: همان دو دایره با همان مختصات */
  .hero::before{top:calc(-1*var(--arc-r)/2);right:calc(-1*(var(--arc-beyond) - var(--band) + var(--arc-r)));width:calc(var(--arc-r)*2);height:calc(var(--arc-r)*2);background:var(--brand-teal-soft);box-shadow:none}
  .hero::after{top:calc(-1*var(--arc-r)/2);right:calc(-1*(var(--arc-beyond) + var(--arc-r)));width:calc(var(--arc-r)*2);height:calc(var(--arc-r)*2)}
}
@media(max-width:1180px){.topbar-logo.shaped{background:var(--brand-purple)}}


/* ═══════════ v22: منحنی S ملایم (به‌جای دایره)؛ هدر و هیرو یک منحنی‌اند، با نوار باریک فیروزه‌ای ═══════════
   شکل در یک SVG است (مختصات از چپِ ۴۲۰px): بدنه‌ی بنفش (گرادیان)، نوار فیروزه‌ای ۱۸px چپ‌تر، یک خط ظریف فیروزه‌ای دورتر و یک موج روشن محو داخل بنفش.
   منحنی S: M…H178 C178 300 70 250 70 520 C70 760 122 760 122 1000 ← عدد ۷۰ = عمق برآمدگی (کمتر = S بازتر)، ۱۷۸ = پهنای بنفش در هدر، ۵۲۰ = جای وسط S.
   همان عددها در سه مسیر دیگر (فیروزه‌ای و خط) با اختلاف ثابت تکرار شده‌اند؛ اگر عددی را عوض کردید، همان را در همه‌ی مسیرها عوض کنید.
   اگر ارتفاع هدر/منو عوض شد فقط --hdr-offset (بالای همین بلوک در v21) را عوض کنید. */
@media(min-width:1181px){
  .topbar-logo.shaped{background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20420%201000%27%20preserveAspectRatio%3D%27none%27%3E%3Cdefs%3E%3ClinearGradient%20id%3D%27t%27%20x1%3D%271%27%20y1%3D%270%27%20x2%3D%270%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%238ae8ee%27/%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%233fbfcf%27/%3E%3C/linearGradient%3E%3ClinearGradient%20id%3D%27p%27%20x1%3D%271%27%20y1%3D%270%27%20x2%3D%270%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%233a1766%27/%3E%3Cstop%20offset%3D%27.55%27%20stop-color%3D%27%23482275%27/%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%236a3aa8%27/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath%20fill%3D%27url%28%23t%29%27%20d%3D%27M162%200C150%20270%2030%20220%2034%20470C38%20760%20112%20770%20122%201000C122%20760%2070%20760%2070%20520C70%20250%20178%20300%20178%200Z%27/%3E%3Cpath%20fill%3D%27url%28%23p%29%27%20d%3D%27M420%200H178C178%20300%2070%20250%2070%20520C70%20760%20122%20760%20122%201000H420Z%27/%3E%3Cpath%20fill%3D%27%23fff%27%20fill-opacity%3D%27.045%27%20d%3D%27M420%20120C300%20200%20250%20330%20262%20520C272%20700%20330%20820%20420%20900Z%27/%3E%3Cpath%20fill%3D%27none%27%20stroke%3D%27%2355cdd8%27%20stroke-opacity%3D%27.55%27%20stroke-width%3D%272.2%27%20d%3D%27M136%200C124%20270%204%20220%208%20470C12%20760%2086%20770%2096%201000%27/%3E%3C/svg%3E") no-repeat right top/420px 1000px}
  .topbar-logo.shaped::before,.topbar-logo.shaped::after{display:none}
  .hero::before{content:"";position:absolute;left:auto;right:0;top:0;bottom:0;width:420px;height:auto;border-radius:0;box-shadow:none;
    background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20420%201000%27%20preserveAspectRatio%3D%27none%27%3E%3Cdefs%3E%3ClinearGradient%20id%3D%27t%27%20x1%3D%271%27%20y1%3D%270%27%20x2%3D%270%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%238ae8ee%27/%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%233fbfcf%27/%3E%3C/linearGradient%3E%3ClinearGradient%20id%3D%27p%27%20x1%3D%271%27%20y1%3D%270%27%20x2%3D%270%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%233a1766%27/%3E%3Cstop%20offset%3D%27.55%27%20stop-color%3D%27%23482275%27/%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%236a3aa8%27/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath%20fill%3D%27url%28%23t%29%27%20d%3D%27M162%200C150%20270%2030%20220%2034%20470C38%20760%20112%20770%20122%201000C122%20760%2070%20760%2070%20520C70%20250%20178%20300%20178%200Z%27/%3E%3Cpath%20fill%3D%27url%28%23p%29%27%20d%3D%27M420%200H178C178%20300%2070%20250%2070%20520C70%20760%20122%20760%20122%201000H420Z%27/%3E%3Cpath%20fill%3D%27%23fff%27%20fill-opacity%3D%27.045%27%20d%3D%27M420%20120C300%20200%20250%20330%20262%20520C272%20700%20330%20820%20420%20900Z%27/%3E%3Cpath%20fill%3D%27none%27%20stroke%3D%27%2355cdd8%27%20stroke-opacity%3D%27.55%27%20stroke-width%3D%272.2%27%20d%3D%27M136%200C124%20270%204%20220%208%20470C12%20760%2086%20770%2096%201000%27/%3E%3C/svg%3E") no-repeat right calc(-1*var(--hdr-offset))/420px 1000px}
  .hero::after{display:none}
}


/* ═══════════ v25: موبایل/تبلت — نوار بنفش و فیروزه‌ای در لبه‌ی چپ، منوی سه‌نقطه، دکمه‌ی شناور چپ ═══════════
   شکل‌ها «تیغه‌ی قلم نستعلیق»اند: نوار فیروزه‌ای در بالا باریک، در میانه ضخیم و در انتها تیز می‌شود (مثل کشیده‌ی الف).
   موبایل: SVG با ارتفاع ۱۳۰۰ (پهنا ۱۲۰px)؛ --hdr-m-h = ارتفاع هدر موبایل (ردیف + نوار آدرس) تا هیرو ادامه‌ی هدر شود. */
:root{--hdr-m-h:104px}
.th-strip{display:none}
@media(max-width:1180px){
  .topbar-fixed::before{content:"";position:absolute;left:0;top:0;height:var(--hdr-m-h);width:120px;pointer-events:none;z-index:0;
    background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20120%201300%27%20preserveAspectRatio%3D%27none%27%3E%3Cdefs%3E%3ClinearGradient%20id%3D%27t%27%20x1%3D%271%27%20y1%3D%270%27%20x2%3D%270%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%238ae8ee%27/%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%233fbfcf%27/%3E%3C/linearGradient%3E%3ClinearGradient%20id%3D%27p%27%20x1%3D%271%27%20y1%3D%270%27%20x2%3D%270%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%233a1766%27/%3E%3Cstop%20offset%3D%27.55%27%20stop-color%3D%27%23482275%27/%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%236a3aa8%27/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath%20fill%3D%27url%28%23t%29%27%20d%3D%27M24%200C32%20340%2066%20290%2063%20600C60%20990%2030%201000%2022%201300C22%20988%2042%20988%2042%20676C42%20325%2016%20390%2016%200Z%27/%3E%3Cpath%20fill%3D%27url%28%23p%29%27%20d%3D%27M0%200H16C16%20390%2042%20325%2042%20676C42%20988%2022%20988%2022%201300H0Z%27/%3E%3Cpath%20fill%3D%27none%27%20stroke%3D%27%2355cdd8%27%20stroke-opacity%3D%27.6%27%20stroke-width%3D%271.8%27%20d%3D%27M34%200C42%20340%2076%20290%2073%20600C70%20990%2040%201000%2032%201300%27/%3E%3C/svg%3E") no-repeat left top/120px 1300px}
  .th-inner,.th-strip{position:relative;z-index:1}
  .hero::before{content:"";position:absolute;left:0;right:auto;top:0;bottom:0;width:120px;height:auto;border-radius:0;box-shadow:none;
    background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20120%201300%27%20preserveAspectRatio%3D%27none%27%3E%3Cdefs%3E%3ClinearGradient%20id%3D%27t%27%20x1%3D%271%27%20y1%3D%270%27%20x2%3D%270%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%238ae8ee%27/%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%233fbfcf%27/%3E%3C/linearGradient%3E%3ClinearGradient%20id%3D%27p%27%20x1%3D%271%27%20y1%3D%270%27%20x2%3D%270%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%233a1766%27/%3E%3Cstop%20offset%3D%27.55%27%20stop-color%3D%27%23482275%27/%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%236a3aa8%27/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath%20fill%3D%27url%28%23t%29%27%20d%3D%27M24%200C32%20340%2066%20290%2063%20600C60%20990%2030%201000%2022%201300C22%20988%2042%20988%2042%20676C42%20325%2016%20390%2016%200Z%27/%3E%3Cpath%20fill%3D%27url%28%23p%29%27%20d%3D%27M0%200H16C16%20390%2042%20325%2042%20676C42%20988%2022%20988%2022%201300H0Z%27/%3E%3Cpath%20fill%3D%27none%27%20stroke%3D%27%2355cdd8%27%20stroke-opacity%3D%27.6%27%20stroke-width%3D%271.8%27%20d%3D%27M34%200C42%20340%2076%20290%2073%20600C70%20990%2040%201000%2032%201300%27/%3E%3C/svg%3E") no-repeat left calc(-1*var(--hdr-m-h))/120px 1300px}
  .hero::after{display:none}
}
@media(max-width:900px){
  .th-burger{display:none!important}
  .th-brand{justify-content:flex-start;gap:10px;min-width:0}
  .topbar-logo,.topbar-logo.shaped{width:78px;height:44px;border-radius:12px;background:var(--brand-purple);box-shadow:none}
  .topbar-logo.shaped img,.topbar-logo img{object-fit:contain;object-position:center}
  .th-text{align-items:flex-start;text-align:start;min-width:0}
  .th-name{font-size:17px;white-space:nowrap;line-height:1.35}
  .th-spec{font-size:11px;white-space:nowrap;line-height:1.5}
  .th-tag{display:none}
  .th-strip{display:flex;align-items:center;gap:8px;height:38px;padding:0 10px;background:#f4f0fb;border-top:1px solid #e6def7}
  .th-strip .th-addr-bar{flex:1;min-width:0;height:100%;padding:0;background:none;border:0;justify-content:flex-start}
  .th-dots{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px 0 10px;border:0;border-radius:99px;background:#fff;color:var(--brand-purple);
    font:700 13px inherit;font-family:inherit;cursor:pointer;box-shadow:0 1px 6px rgba(72,34,117,.18)}
  .th-dots svg{width:16px;height:16px;fill:currentColor}
  /* منوی کوچک زیر نوار */
  .mobile-menu{inset-inline:auto;left:10px;right:auto;bottom:auto;width:min(86vw,330px);max-height:min(68vh,540px);padding:6px 8px 10px;border:0;border-radius:20px;
    box-shadow:0 18px 50px rgba(29,15,69,.35);transform-origin:top left;animation:mmIn .16s ease-out}
  @keyframes mmIn{from{opacity:0;transform:scale(.96) translateY(-6px)}to{opacity:1;transform:none}}
  .mm-backdrop{position:fixed;inset:0;z-index:985;background:rgba(20,10,40,.28)}
  .mm-backdrop[hidden]{display:none}
  .mm-link{display:flex;justify-content:space-between;align-items:center;padding:12px 10px;font-size:15.5px;border-radius:12px;border-bottom:0;width:100%;background:none;border:0;font-family:inherit;text-align:start;cursor:pointer}
  .mm-link:active,.mm-link:hover{background:var(--navy-50)}
  .mm-link.active{border-inline-start:0;padding-inline-start:10px;background:var(--navy-50)}
  .mm-toggle svg{width:16px;height:16px;stroke:var(--navy-600);fill:none;stroke-width:2.4;transition:transform .2s}
  .mm-group.open>.mm-toggle svg{transform:rotate(180deg)}
  .mm-sub{display:none;margin:0 6px 6px;padding:6px;background:var(--navy-50);border-radius:14px}
  .mm-group.open>.mm-sub{display:grid;gap:2px}
  .mm-sub a{padding:10px 10px;border-radius:10px;font-size:14.5px;font-weight:600;color:var(--navy-800);text-decoration:none;line-height:1.6}
  .mm-sub a:hover{background:#fff}
  .mm-sub .mm-all{color:var(--navy-600);font-weight:800}
  .mm-hours-box{padding:6px 10px}
  /* دکمه‌ی شناور: پایین چپ (نه وسط) */
  .float-book{left:14px;right:auto;transform:none;padding:13px 24px}
}


/* ═══════════ v26: منحنی نهایی + هدر و منوی موبایل ═══════════
   دسکتاپ: برآمدگی بالا، فرورفتگی پایین، بدون خط نازک. موبایل: نوار بنفش + فیروزه‌ای ضخیم در لبه‌ی راست (SVG آینه‌شده).
   عمق برآمدگی دسکتاپ: دو عدد ۷۰ در مسیرها؛ ضخامت فیروزه‌ای موبایل: «88/86» در مسیر فیروزه‌ای --arc-mob. */
:root{--arc-desk:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 1000' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='t' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%238ae8ee'/%3E%3Cstop offset='1' stop-color='%233fbfcf'/%3E%3C/linearGradient%3E%3ClinearGradient id='p' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233a1766'/%3E%3Cstop offset='.55' stop-color='%23482275'/%3E%3Cstop offset='1' stop-color='%236a3aa8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23t)' d='M126 0C114 240 30 220 34 460C38 760 170 740 178 1000C178 700 70 750 70 480C70 240 140 240 140 0Z'/%3E%3Cpath fill='url(%23p)' d='M420 0H140C140 240 70 240 70 480C70 750 178 700 178 1000H420Z'/%3E%3Cpath fill='%23fff' fill-opacity='.045' d='M420 120C300 200 250 330 262 520C272 700 330 820 420 900Z'/%3E%3C/svg%3E");--arc-mob:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 1300' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='t' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%238ae8ee'/%3E%3Cstop offset='1' stop-color='%233fbfcf'/%3E%3C/linearGradient%3E%3ClinearGradient id='p' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233a1766'/%3E%3Cstop offset='.55' stop-color='%23482275'/%3E%3Cstop offset='1' stop-color='%236a3aa8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23t)' d='M40 0C50 312 88 290 86 600C84 960 24 900 18 1300C18 910 44 975 44 624C44 312 24 312 24 0Z'/%3E%3Cpath fill='url(%23p)' d='M0 0H24C24 312 44 312 44 624C44 975 18 910 18 1300H0Z'/%3E%3C/svg%3E")}
@media(min-width:1181px){
  .topbar-logo.shaped{background:var(--arc-desk) no-repeat right top/420px 1000px}
  .hero::before{background:var(--arc-desk) no-repeat right calc(-1*var(--hdr-offset))/420px 1000px}
  .topbar-logo .emblem{display:none}
}
@media(min-width:901px) and (max-width:1180px){:root{--hdr-m-h:calc(var(--topbar-height) + 61px)} .topbar-logo .emblem{display:none}}
@media(max-width:1180px){
  .topbar-fixed::before{left:auto;right:0;transform:scaleX(-1);background:var(--arc-mob) no-repeat left top/120px 1300px}
  .hero::before{left:auto;right:0;transform:scaleX(-1);background:var(--arc-mob) no-repeat left calc(-1*var(--hdr-m-h))/120px 1300px}
}
@media(max-width:900px){
  :root{--topbar-height:130px;--hdr-m-h:130px}
  .th-inner{height:86px;min-height:86px;padding:0 12px;gap:10px}
  .th-call{display:none!important}
  .th-brand{flex:1;justify-content:flex-start;gap:12px;min-width:0}
  /* لوگو: نشان + «DR. ZAHRA SHIRAVANI» زیر آن */
  .topbar-logo,.topbar-logo.shaped{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;flex:none;width:100px;height:72px;border-radius:16px;background:var(--brand-purple)}
  .topbar-logo.shaped .mark{display:none}
  .topbar-logo .emblem{display:block;width:auto;height:44px;position:relative;z-index:2}
  .topbar-logo.shaped::after{display:block;position:static;content:"DR. ZAHRA SHIRAVANI";width:auto;height:auto;background:none;border-radius:0;
    font:600 7px/1 Georgia,"Times New Roman",serif;letter-spacing:.4px;color:#fff;white-space:nowrap}
  /* عنوان کنار لوگو: وسط‌چین؛ دکتر ← تخصص ← فلوشیپ */
  .th-text{display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;flex:1;min-width:0}
  .th-name{order:1;font-size:16.5px;font-weight:800;line-height:1.4;white-space:nowrap}
  .th-tag{order:2;display:block;font-size:11px;font-weight:700;line-height:1.5;color:var(--navy-600)}
  .th-spec{order:3;font-size:11px;font-weight:700;line-height:1.5;white-space:nowrap;color:var(--brand-teal)}
  .th-en{display:none}
  /* نوار زیر هدر: [دسترسی] [آدرس] [تلفن] */
  .th-strip{display:flex;align-items:center;gap:6px;height:46px;padding:0 8px;background:#f4f0fb;border-top:1px solid #e6def7}
  .th-dots{order:0;flex:none;height:32px;padding:0 12px;border-radius:12px;background:var(--brand-purple);color:#fff;box-shadow:0 2px 8px rgba(72,34,117,.28);gap:6px;font-size:12.5px}
  .th-dots svg{fill:none;stroke:#fff;stroke-width:2.4;stroke-linecap:round;width:16px;height:16px}
  .th-strip .th-addr-bar{order:1;flex:1;min-width:0;height:32px;padding:0 8px;gap:5px;background:#fff;border:1px solid #e6def7!important;border-radius:12px;font-size:11px;justify-content:flex-start}
  .th-strip .th-addr-bar span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .th-strip-phone{order:2;flex:none;display:inline-flex;align-items:center;gap:5px;height:32px;padding:0 9px;background:#fff;border:1px solid #e6def7;border-radius:12px;
    font-size:11.5px;font-weight:800;color:var(--brand-purple);text-decoration:none;white-space:nowrap}
  .th-strip-phone .ic{width:14px;height:14px;stroke:var(--brand-teal)}
  .mobile-menu{left:auto;right:10px;transform-origin:top right}
  /* برگ‌های محو: کوچک‌تر و ظریف‌تر */
  .hero-leaves{left:-70px;min-width:250px;height:62%;opacity:.4}
}
@media(min-width:901px){.th-strip-phone{display:none}}


/* ═══════════ v27: اصلاح موبایل ═══════════ */
/* دکمه‌ی بلند «ورود با شماره…» صفحه را از عرض موبایل بیرون می‌زد (مرورگر صفحه را کوچک می‌کرد) */
.btn{max-width:100%}
.lost-code .btn{display:flex;width:100%;justify-content:center;white-space:normal;text-align:center;line-height:1.7;height:auto;padding:11px 14px}
.calc-box,.lost-code{max-width:100%;overflow-wrap:anywhere}
@media(max-width:1180px){
  /* هدر: نوار بنفش/فیروزه‌ای نباشد (با لوگو تداخل داشت)؛ فقط در هیرو و سمت راست */
  .topbar-fixed::before{display:none}
  /* علت ناپدید‌شدن نوار هیرو: «margin-right:-320px» قدیمی آن را از صفحه بیرون می‌برد */
  .hero::before{margin:0;left:auto;right:0;top:0;bottom:0;transform:scaleX(-1);background:var(--arc-mob) no-repeat left top/120px 1300px}
}
@media(max-width:900px){
  /* «خدمات سایت»: هم‌اندازه و هم‌رنگ باکس آدرس */
  .th-dots{height:32px;padding:0 10px;border-radius:12px;background:#fff;color:var(--brand-purple);border:1px solid #e6def7;box-shadow:none;gap:6px;font-size:11.5px;font-weight:800}
  .th-dots svg{stroke:var(--brand-purple);width:15px;height:15px}
  /* متن معرفی دقیقاً وسطِ فضای کنار لوگو */
  .th-inner{padding:0 10px}
  .th-brand{gap:0}
  .th-text{padding:0 8px;align-self:stretch;justify-content:center}
  .th-name,.th-tag,.th-spec{text-align:center;width:100%}
}
/* فوتر: نشانی زیر آیکن (نه کنار آن) */
.main-footer .addr{flex-direction:column;align-items:flex-start;gap:6px}


/* ═══════════ v28 ═══════════ */
/* موبایل: نوار در لبه‌ی چپ، از هدر شروع می‌شود (پشت نوار آدرس/تلفن می‌گذرد و روی شماره نمی‌افتد)، رنگ آبی‌بنفش ملایم */
:root{--arc-mob2:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 1300' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='t' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%239aeaf0'/%3E%3Cstop offset='1' stop-color='%235fcde0'/%3E%3C/linearGradient%3E%3ClinearGradient id='p' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%235a47b0'/%3E%3Cstop offset='.55' stop-color='%236e5fc6'/%3E%3Cstop offset='1' stop-color='%238a7edb'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23t)' d='M40 0C50 312 88 290 86 600C84 960 24 900 18 1300C18 910 44 975 44 624C44 312 24 312 24 0Z'/%3E%3Cpath fill='url(%23p)' d='M0 0H24C24 312 44 312 44 624C44 975 18 910 18 1300H0Z'/%3E%3C/svg%3E")}
@media(max-width:1180px){
  .topbar-fixed::before{display:block;left:0;right:auto;transform:none;background:var(--arc-mob2) no-repeat left top/120px 1300px}
  .hero::before{left:0;right:auto;margin:0;transform:none;background:var(--arc-mob2) no-repeat left calc(-1*var(--hdr-m-h))/120px 1300px}
}
@media(max-width:900px){
  /* لوگو کمی کوچک‌تر؛ متن دقیقاً وسط عرض صفحه */
  .th-inner{position:relative}
  .th-brand{position:static}
  .topbar-logo,.topbar-logo.shaped{width:88px;height:64px;margin-inline-start:auto}
  .topbar-logo .emblem{height:39px}
  .topbar-logo.shaped::after{font-size:6.4px}
  .th-text{position:absolute;top:0;bottom:0;left:104px;right:104px;padding:0;align-self:auto;flex:none}
  /* دکمه‌ی شناور رزرو: فقط بعد از اسکرول (بالای صفحه دو دکمه‌ی رزرو و مشاوره هست) */
  .float-book{opacity:0;pointer-events:none;transform:translateY(14px);transition:opacity .25s,transform .25s}
  .float-book.show{opacity:1;pointer-events:auto;transform:none}
  /* دو دکمه‌ی بالای صفحه‌ی اول کمی کوچک‌تر */
  .hero .btn{padding:9px 14px;font-size:14px;min-height:42px}
}
/* صفحه‌ی خوش‌آمد (لوگو) هنگام اولین ورود */
#splash{position:fixed;inset:0;z-index:99999;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;
  background:radial-gradient(900px 600px at 80% 10%,#6a3aa8 0%,transparent 60%),linear-gradient(160deg,#3a1766,#482275 60%,#2c1050);color:#fff;
  animation:spOut .55s ease 1.7s forwards}
#splash.out{opacity:0;visibility:hidden;transition:opacity .45s,visibility .45s}
#splash img{width:min(46vw,190px);height:auto;max-height:36vh;object-fit:contain;animation:spIn .9s ease both}
#splash .sp-en{font:600 15px/1.4 Georgia,"Times New Roman",serif;letter-spacing:.22em;animation:spIn .9s .2s ease both}
#splash .sp-fa{font-size:20px;font-weight:800;animation:spIn .9s .35s ease both}
#splash .sp-bar{width:96px;height:3px;border-radius:3px;background:linear-gradient(90deg,#55cdd8,#9aeaf0);animation:spBar 1.5s ease both}
@keyframes spIn{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
@keyframes spBar{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes spOut{to{opacity:0;visibility:hidden}}
@media(prefers-reduced-motion:reduce){#splash{display:none}}


/* ═══════════ v29 ═══════════ */
/* نوار زیر هدر موبایل: سه باکس دقیقاً هم‌ارتفاع */
@media(max-width:900px){
  .th-strip{align-items:center}
  .th-strip .th-dots,.th-strip .th-addr-bar,.th-strip .th-strip-phone{box-sizing:border-box;height:34px;min-height:34px;line-height:1.1;margin:0}
}
/* فوتر: آیکن و متن هر مورد در یک خط؛ هدف لمسی راحت‌تر */
.main-footer .addr{flex-direction:row;margin-bottom:4px}
.main-footer li{margin-bottom:2px;font-size:14px}
.main-footer li a{display:inline-flex;align-items:center;gap:8px;min-height:38px}
.main-footer li.addr a{align-items:flex-start;line-height:1.8;padding-top:6px}
.main-footer .ic{flex:none;width:18px;height:18px}
.main-footer .ic-wa,.ic-wa{width:20px;height:20px;display:inline-block;vertical-align:middle}
.booking-option.whatsapp{display:flex;align-items:center;gap:12px}
.ic-wa-lg{width:34px;height:34px;flex:none}
.mm-urgent{color:#b91c1c;font-weight:800}.mm-urgent .ic{width:16px;height:16px;stroke:#b91c1c;margin-inline-end:6px}
/* پاپ‌آپِ مراحل رزرو و مشاوره (بعد از انتخاب ساعت) */
.bk-backdrop,.cs-backdrop{position:fixed;inset:0;z-index:1100;background:rgba(20,10,40,.52)}
.bk-backdrop[hidden],.cs-backdrop[hidden]{display:none}
.bk-step.bk-modal{position:fixed;z-index:1101;left:50%;top:50%;transform:translate(-50%,-50%);width:min(94vw,540px);max-height:90vh;overflow:auto;background:#fff;border-radius:22px;padding:24px 20px 20px;box-shadow:0 30px 80px rgba(20,10,40,.45)}
.bk-step.bk-modal[hidden]{display:none}
.bk-x,.cs-x{position:absolute;top:10px;inset-inline-end:12px;width:36px;height:36px;border-radius:50%;border:0;background:var(--navy-50,#f4f0fb);color:var(--navy-700,#2d1b69);font-size:22px;line-height:1;cursor:pointer;z-index:2}
body.cs-popup{overflow:hidden}
body.cs-popup #authBox,body.cs-popup #panelCallForm{position:fixed!important;z-index:1101;left:50%;top:50%;transform:translate(-50%,-50%);width:min(94vw,540px);max-height:90vh;overflow:auto;margin:0!important}
.cs-x{display:none}body.cs-popup .cs-x{display:block}
.bk-consent{margin:8px 0 12px;font-size:13px;align-items:flex-start}
.bk-consent input{margin-top:4px}
/* نوار منوی دسکتاپ در ۹۰۱–۱۱۸۰px بریده نشود (برای آیپد و لپ‌تاپ کوچک) */
@media(min-width:901px) and (max-width:1180px){
  .main-nav .main-nav-inner{flex-wrap:wrap;justify-content:center;padding-inline-start:0;gap:2px 4px;overflow:visible}
  .main-nav .main-nav-inner a{padding:10px 11px;font-size:14px}
}
/* موبایل: عکس هیرو کوچک‌تر تا دکمه‌ی رزرو در صفحه‌ی اول دیده شود */
@media(max-width:900px){.hero-photo{width:min(190px,54vw)}}
/* کنتراست: دکمه‌ی محاسبه‌گر (سفید روی صورتی) و لینک‌های داخل مقاله */
.calc-go{background:color-mix(in srgb,var(--acc,#6d4bd1) 74%,#000)}
.prose a{color:#1f3ba6;text-decoration:underline;text-underline-offset:3px}
/* لینک‌های فوتر و متن‌های ریز حداقل ۱۳px */
.footer-disclaimer,.footer-copy{font-size:13px}


/* ═══════════ v30: رنگ پررنگ‌تر + پاپ‌آپ «نوبت ثبت شد» ═══════════ */
:root{--arc-desk:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 1000' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='t' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%236edde6'/%3E%3Cstop offset='1' stop-color='%2327b0c4'/%3E%3C/linearGradient%3E%3ClinearGradient id='p' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23321059'/%3E%3Cstop offset='.55' stop-color='%2343206f'/%3E%3Cstop offset='1' stop-color='%236234a3'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23t)' d='M126 0C114 240 30 220 34 460C38 760 170 740 178 1000C178 700 70 750 70 480C70 240 140 240 140 0Z'/%3E%3Cpath fill='url(%23p)' d='M420 0H140C140 240 70 240 70 480C70 750 178 700 178 1000H420Z'/%3E%3Cpath fill='%23fff' fill-opacity='.04' d='M420 120C300 200 250 330 262 520C272 700 330 820 420 900Z'/%3E%3C/svg%3E");--arc-mob2:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 1300' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='t' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%2366dbe5'/%3E%3Cstop offset='1' stop-color='%2327b2c6'/%3E%3C/linearGradient%3E%3ClinearGradient id='p' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%234a36a0'/%3E%3Cstop offset='.55' stop-color='%235f4bba'/%3E%3Cstop offset='1' stop-color='%237561d0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23t)' d='M40 0C50 312 88 290 86 600C84 960 24 900 18 1300C18 910 44 975 44 624C44 312 24 312 24 0Z'/%3E%3Cpath fill='url(%23p)' d='M0 0H24C24 312 44 312 44 624C44 975 18 910 18 1300H0Z'/%3E%3C/svg%3E")}
.bk-done.bk-modal{position:fixed;z-index:1101;left:50%;top:50%;transform:translate(-50%,-50%);width:min(94vw,520px);max-height:90vh;overflow:auto;border-radius:22px;padding:26px 22px 22px;box-shadow:0 30px 80px rgba(20,10,40,.45);background:#fff}
.bk-done.bk-modal[hidden]{display:none}


/* ═══════════ v31 ═══════════ */
/* رنگ‌های نسخه‌ی ۲۶ (بنفش تیره + فیروزه‌ای روشن) و نوار باریک‌تر */
:root{--arc-desk:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 1000' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='t' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%238ae8ee'/%3E%3Cstop offset='1' stop-color='%233fbfcf'/%3E%3C/linearGradient%3E%3ClinearGradient id='p' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233a1766'/%3E%3Cstop offset='.55' stop-color='%23482275'/%3E%3Cstop offset='1' stop-color='%236a3aa8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23t)' d='M144 0C134 240 62 220 66 460C70 760 188 740 198 1000C198 700 90 750 90 480C90 240 160 240 160 0Z'/%3E%3Cpath fill='url(%23p)' d='M420 0H160C160 240 90 240 90 480C90 750 198 700 198 1000H420Z'/%3E%3Cpath fill='%23fff' fill-opacity='.045' d='M420 120C300 200 250 330 262 520C272 700 330 820 420 900Z'/%3E%3C/svg%3E");--arc-mob2:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 1300' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='t' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%238ae8ee'/%3E%3Cstop offset='1' stop-color='%233fbfcf'/%3E%3C/linearGradient%3E%3ClinearGradient id='p' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233a1766'/%3E%3Cstop offset='.55' stop-color='%23482275'/%3E%3Cstop offset='1' stop-color='%236a3aa8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23t)' d='M30 0C38 312 66 290 64 600C62 960 20 900 14 1300C14 910 36 975 36 624C36 312 20 312 20 0Z'/%3E%3Cpath fill='url(%23p)' d='M0 0H20C20 312 36 312 36 624C36 975 14 910 14 1300H0Z'/%3E%3C/svg%3E")}
/* «تخصص، مهارت و تجربه» طلایی‌تر */
.hero-gold{background:linear-gradient(90deg,#ffd66b,#f0a800 55%,#ffd66b);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:#f0a800}
/* واتساپ در رزرو: متن اول، لوگوی کوچک‌تر، همه هم‌راستا */
.ic-wa-lg{width:26px;height:26px;flex:none}
.ic-wa-sm{width:20px;height:20px}
.booking-option.whatsapp{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:start}
.booking-option .booking-option-content{text-align:start}
/* مرحله‌ی شماره: دکمه‌ی دریافت کد با فیلد شماره تداخل نکند */
#vPhoneStep,#vCodeStep{display:grid;gap:16px}
.bk-form .btn,.bk-modal .btn{padding:10px 16px;font-size:14px;min-height:42px;margin-top:4px}
/* هیروی صفحه‌ی هر خدمت با تصویر خودش (تصویر کم‌رنگ و محو به سمت متن) */
.page-head.has-img{position:relative;overflow:hidden}
.page-head.has-img::before{content:"";position:absolute;inset-block:0;inset-inline-end:0;width:min(46%,640px);background:var(--hero-img) center/cover no-repeat;opacity:.92;
  -webkit-mask-image:linear-gradient(to right,#000 55%,transparent);mask-image:linear-gradient(to right,#000 55%,transparent)}
.page-head.has-img .wrap{position:relative;z-index:1}
@media(max-width:900px){.page-head.has-img::before{width:100%;opacity:.2;-webkit-mask-image:none;mask-image:none}}
.svc-thumb{display:block;width:100%;aspect-ratio:500/265;object-fit:cover;border-radius:14px;margin-bottom:12px}
.trust-seals{display:flex;justify-content:center;padding:14px 0 6px}
@media(max-width:900px){
  /* هدر موبایل: لوگو کمی کوچک‌تر و متن کنار لوگو (راست‌چین) */
  .topbar-logo,.topbar-logo.shaped{width:80px;height:58px}
  .topbar-logo .emblem{height:34px}
  .topbar-logo.shaped::after{font-size:5.8px}
  .th-brand{gap:10px}
  .th-text{position:static;left:auto;right:auto;top:auto;bottom:auto;align-self:center;flex:1;align-items:flex-start;text-align:start;padding:0 2px}
  .th-name,.th-tag,.th-spec{text-align:start;width:auto}
}


/* ═══════════ v32 ═══════════ */
:root{--arc-desk:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 1000' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='t' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%238ae8ee'/%3E%3Cstop offset='1' stop-color='%233fbfcf'/%3E%3C/linearGradient%3E%3ClinearGradient id='p' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233a1766'/%3E%3Cstop offset='.55' stop-color='%23482275'/%3E%3Cstop offset='1' stop-color='%236a3aa8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='none' stroke='%2355cdd8' stroke-opacity='.65' stroke-width='2' d='M122 0C112 240 40 220 44 460C48 760 166 740 176 1000'/%3E%3Cpath fill='url(%23t)' d='M144 0C134 240 62 220 66 460C70 760 188 740 198 1000C198 700 90 750 90 480C90 240 160 240 160 0Z'/%3E%3Cpath fill='url(%23p)' d='M420 0H160C160 240 90 240 90 480C90 750 198 700 198 1000H420Z'/%3E%3Cpath fill='%23fff' fill-opacity='.045' d='M420 120C300 200 250 330 262 520C272 700 330 820 420 900Z'/%3E%3C/svg%3E");--arc-mob2:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 1300' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='t' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%238ae8ee'/%3E%3Cstop offset='1' stop-color='%233fbfcf'/%3E%3C/linearGradient%3E%3ClinearGradient id='p' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233a1766'/%3E%3Cstop offset='.55' stop-color='%23482275'/%3E%3Cstop offset='1' stop-color='%236a3aa8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='none' stroke='%2355cdd8' stroke-opacity='.7' stroke-width='1.6' d='M44 0C52 312 80 290 78 600C76 960 34 900 28 1300'/%3E%3Cpath fill='url(%23t)' d='M30 0C38 312 66 290 64 600C62 960 20 900 14 1300C14 910 36 975 36 624C36 312 20 312 20 0Z'/%3E%3Cpath fill='url(%23p)' d='M0 0H20C20 312 36 312 36 624C36 975 14 910 14 1300H0Z'/%3E%3C/svg%3E")}
/* دکمه‌ی شناور: فقط در صفحه‌ی خانه بعد از اسکرول؛ در بقیه‌ی صفحه‌ها از اول دیده می‌شود */
@media(max-width:900px){
  .float-book{opacity:1;pointer-events:auto;transform:none}
  .float-book.float-late{opacity:0;pointer-events:none;transform:translateY(14px)}
  .float-book.float-late.show{opacity:1;pointer-events:auto;transform:none}
  /* متن مشخصات دکتر کنار لوگو: وسط‌چین */
  .th-text{align-items:center;text-align:center}
  .th-name,.th-tag,.th-spec{text-align:center;width:100%}
  /* دکمه‌های هیرو کمی باریک‌تر تا روی نوار بنفش/فیروزه‌ای نیفتند (نوار در لبه‌ی چپ است) */
  .hero .hero-cta{margin-left:64px}
}
/* پاپ‌آپ نتیجه‌ی پرداخت */
.pay-backdrop{position:fixed;inset:0;z-index:1100;background:rgba(20,10,40,.55)}
.pay-card.pay-modal{position:fixed;z-index:1101;left:50%;top:50%;transform:translate(-50%,-50%);width:min(94vw,520px);max-height:90vh;overflow:auto;margin:0;background:#fff;border-radius:22px;padding:30px 22px 22px;box-shadow:0 30px 80px rgba(20,10,40,.45);text-align:center}
.pay-x{position:absolute;top:10px;inset-inline-end:12px;width:36px;height:36px;border-radius:50%;background:var(--navy-50,#f4f0fb);color:var(--navy-700,#2d1b69);font-size:22px;line-height:36px;text-decoration:none}


/* ═══════════ v33 ═══════════ */
/* تصویر خدمت: بنر داخل هیرو (نه پس‌زمینه)، کامل و بدون برش */
.page-head.has-img::before{display:none}
.page-head.has-img .ph-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,380px);gap:28px;align-items:center}
.svc-banner{display:block;width:100%;max-width:380px;height:auto;aspect-ratio:500/265;object-fit:contain;border-radius:18px;box-shadow:0 14px 40px rgba(0,0,0,.28);justify-self:end;background:#f4f0fb}
.svc-thumb{height:auto!important;aspect-ratio:500/265;object-fit:contain;width:88%;margin:0 auto 12px;border-radius:14px;background:#f4f0fb}
.art-card img,.article-card img{object-fit:contain;background:#f4f0fb}
img{max-width:100%}
@media(max-width:900px){
  .page-head.has-img .ph-grid{grid-template-columns:1fr}
  .svc-banner{max-width:300px;justify-self:center;margin-top:6px}
  /* مشخصات دکتر دقیقاً وسط عرض صفحه (لوگو ۸۰px راست؛ ۱۰۰px خالی در هر طرف) */
  .th-text{position:absolute;top:0;bottom:0;left:100px;right:100px;flex:none;align-self:auto;padding:0;align-items:center;text-align:center}
  .th-name,.th-tag,.th-spec{text-align:center;width:100%}
  /* دو دکمه‌ی هیرو: از دو طرف به یک اندازه فاصله */
  .hero .hero-cta{margin-left:0;margin-right:0;margin-inline:56px}
}

.contact-card .contact-icon img{width:38px;height:38px;object-fit:contain;display:block}
.contact-card.wa .contact-icon,.contact-card.ig .contact-icon{background:#fff}


/* ═══════════ v34: هدر مثل کارت ویزیت (لپ‌تاپ) ═══════════
   تصویر کارت (header-card.webp) سمت راست هدر می‌نشیند و سفیدِ چپِ آن با زمینه‌ی سفید هدر یکی می‌شود؛ مشخصات دکتر وسطِ عرض صفحه است.
   نوار بنفش/فیروزه‌ای هیرو دقیقاً از لبه‌ی بنفشِ پایین کارت ادامه می‌یابد. ارتفاع هدر 132px و نوار منو ≈61px (اگر عوض شد --hdr-offset). */
@media(min-width:901px){
  :root{--topbar-height:132px;--hdr-h:132px;--hdr-offset:193px;--arc-desk:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 1000' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='t' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%238ae8ee'/%3E%3Cstop offset='1' stop-color='%233fbfcf'/%3E%3C/linearGradient%3E%3ClinearGradient id='p' x1='1' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%233a1766'/%3E%3Cstop offset='.55' stop-color='%23482275'/%3E%3Cstop offset='1' stop-color='%236a3aa8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='none' stroke='%2355cdd8' stroke-opacity='.65' stroke-width='2' d='M80 0C70 240 -1 220 3 460C7 760 125 740 135 1000'/%3E%3Cpath fill='url(%23t)' d='M94 0C84 240 13 220 17 460C21 760 139 740 149 1000C149 700 41 750 41 480C41 240 111 240 111 0Z'/%3E%3Cpath fill='url(%23p)' d='M420 0H111C111 240 41 240 41 480C41 750 149 700 149 1000H420Z'/%3E%3Cpath fill='%23fff' fill-opacity='.045' d='M420 120C300 200 250 330 262 520C272 700 330 820 420 900Z'/%3E%3C/svg%3E")}
  .topbar-fixed{background:#fff url("/assets/images/header-card.webp") no-repeat right top/auto 132px}
  .topbar-fixed::before{display:none}
  .th-inner{position:relative;max-width:none;margin:0;padding:0 24px;min-height:132px;display:flex;align-items:center;gap:18px}
  .topbar-logo,.topbar-logo.shaped{display:none!important}
  .th-brand{flex:1;position:static}
  .th-text{position:absolute;left:50%;top:0;bottom:0;transform:translateX(-50%);width:min(44vw,560px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;margin:0;padding:0}
  .th-name{order:1;font-size:clamp(26px,2.4vw,36px);font-weight:800;color:#2b124c;line-height:1.3}
  .th-tag{order:2;display:block;font-size:clamp(15px,1.5vw,21px);font-weight:700;color:#2aa6a0}
  .th-spec{order:3;font-size:clamp(14px,1.3vw,18px);font-weight:600;color:#2b124c}
  .th-en{display:none}
  .th-info{flex-direction:column;align-items:flex-start;gap:4px}
  .th-sep{display:none}
  .main-nav .main-nav-inner{padding-inline-start:0;justify-content:center}
  .hero::before{content:"";position:absolute;left:auto;right:0;top:0;bottom:0;width:420px;height:auto;margin:0;border-radius:0;box-shadow:none;transform:none;
    background:var(--arc-desk) no-repeat right calc(-1*var(--hdr-offset))/420px 1000px}
  .hero::after{display:none}
}
@media(min-width:901px) and (max-width:1359px){.th-line.addr{display:none}}
@media(min-width:901px) and (max-width:1180px){
  .hero::before{width:300px;background-size:300px 715px;background-position:right calc(-.714*var(--hdr-offset))}
}
