/* =========================================================
   دکتر مریم عباسی — استایل اصلی
   رنگ‌ها و فونت‌ها برگرفته از سایت فعلی
   ========================================================= */

@font-face { font-family: "Shabnam FD"; src: url("../fonts/Shabnam-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Shabnam FD"; src: url("../fonts/Shabnam-FD.woff2") format("woff2"); font-weight: 400 500; font-display: swap; }
@font-face { font-family: "Shabnam FD"; src: url("../fonts/Shabnam-Bold.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }

:root {
    --green-900: #003B34;
    --green-700: #087669;
    --teal: #2A7F76;
    --gold: #E3B742;
    --gold-hover: #EBC257;
    --gold-light: #F3D27A;
    --text: #1E2B2A;
    --text-2: #3E4F4C;
    --muted: #50605E;
    --mint: #D7ECE8;
    --bg-soft: #F4F8F7;
    --line: #DCE8E5;
    --radius: 14px;
    --shadow: 0 22px 40px rgba(0, 59, 52, .16);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: "Shabnam FD", Tahoma, sans-serif;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text);
    background: #fff;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); }
a:hover { color: var(--green-900); }
h1, h2, h3 { margin: 0; line-height: 1.4; }
p { margin: 0 0 14px; }
button { font: inherit; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container--narrow { max-width: 900px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.icon { flex: none; }

.skip-link { position: absolute; top: -60px; right: 16px; z-index: 100; background: var(--gold); color: var(--text); padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

.section-title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--green-900); margin-bottom: 12px; }
.eyebrow { display: block; color: var(--green-700); font-weight: 700; font-size: 15px; margin-bottom: 4px; }

/* ---------- دکمه‌ها ---------- */
.btn {
    white-space: nowrap;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
    padding: 12px 22px; border-radius: 12px; line-height: 1.5;
    transition: transform .2s, box-shadow .2s, background-color .2s, color .2s;
}
.btn--gold { background: var(--gold); color: var(--text); }
.btn--gold:hover { background: var(--gold-hover); color: var(--text); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(227, 183, 66, .38); }
.btn--outline { border: 2px solid var(--green-900); color: var(--green-900); background: transparent; padding: 9px 18px; }
.btn--outline:hover { background: var(--green-900); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 14px 26px; }

/* ---------- نوار بالا ---------- */
.topbar { background: var(--green-900); color: #fff; font-size: 13px; }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 24px; padding-block: 8px; }
.topbar__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--gold-light); }
.topbar .icon { color: var(--gold); }
.topbar__cta { color: var(--gold) !important; font-weight: 700; }

/* ---------- هدر ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0, 59, 52, .10); }
.site-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 16px; transition: padding .3s; }
.site-header.is-scrolled .site-header__inner { padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green-900); }
.brand__mark { width: 40px; height: 40px; border-radius: 12px 12px 12px 2px; background: var(--green-700); color: var(--gold); display: grid; place-items: center; }
.brand__text { display: flex; flex-direction: column; line-height: 1.35; }
.brand__name { font-weight: 800; font-size: 18px; white-space: nowrap; }
.brand__sub { font-size: 12px; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px 26px; font-size: 15px; font-weight: 500; }
.nav a { position: relative; color: var(--text); text-decoration: none; padding: 10px 0; white-space: nowrap; transition: color .2s; }
.nav a::after { content: ""; position: absolute; right: 0; bottom: 4px; height: 2px; width: 0; background: var(--gold); transition: width .25s; }
.nav a:hover { color: var(--green-700); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.nav a.is-active { color: #B8891A; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid #D5E2DF; background: #fff; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; color: var(--green-900); }

/* ---------- معرفی ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 60% 40%, var(--green-700) 0%, var(--green-900) 75%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1.2px, transparent 1.3px); background-size: 22px 22px; pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 200px; align-items: end; gap: 24px; padding-top: 64px; }
.hero__text { padding-bottom: 72px; }
.hero__badge { display: inline-block; background: rgba(255, 255, 255, .12); border-right: 3px solid var(--gold); padding: 6px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.hero__title { margin-top: 18px; font-size: clamp(40px, 5.2vw, 68px); font-weight: 900; line-height: 1.25; }
.hero__subtitle { margin: 6px 0 0; font-size: clamp(19px, 2vw, 26px); font-weight: 700; color: var(--gold-light); }
.hero__lead { margin-top: 16px; max-width: 46ch; color: var(--mint); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 28px; }
.play-btn { width: 54px; height: 54px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; animation: pulse 1.8s ease-out infinite; }
.hero__stories { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .18); }
.hero__stories a { color: #fff; font-size: 14px; }
.hero__stories .icon { color: var(--gold-light); }

.hero__media { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 560px; }
.hero__ring { position: absolute; bottom: 70px; width: 440px; height: 440px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(227, 183, 66, .55); animation: spin 48s linear infinite; }
.hero__disc { position: absolute; bottom: 110px; width: 360px; height: 360px; max-width: 82%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .07); }
.hero__photo { position: relative; height: 560px; width: auto; max-width: none; animation: docIn 1.1s .15s var(--ease) both; }

.hero__stats { display: flex; flex-direction: column; gap: 18px; padding-bottom: 80px; }
.stat { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 26px 20px; text-align: center; }
.stat--1 { border-radius: 60px 60px 18px 60px; animation: popIn .8s .7s var(--ease) both; }
.stat--2 { border-radius: 60px 18px 60px 60px; animation: popIn .8s .9s var(--ease) both, float 7s 2s ease-in-out infinite; }
.stat__num { display: block; font-size: 46px; font-weight: 900; color: var(--gold); line-height: 1.1; }
.stat__label { display: block; font-size: 15px; margin-top: 4px; }

/* ---------- هیرو بزرگ (نسخه ۲) ---------- */
.hero { min-height: calc(100vh - 112px); min-height: calc(100svh - 112px); display: flex; flex-direction: column; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(to top, rgba(0, 40, 35, .45), transparent); pointer-events: none; }
.hero__inner { flex: 1; max-width: 1380px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 40px; padding-top: 32px; }
.hero__text { padding-bottom: 110px; align-self: center; }
.hero__title { font-size: clamp(40px, 4.8vw, 72px); line-height: 1.15; margin-top: 22px; text-shadow: 0 6px 30px rgba(0, 0, 0, .18); }
.hero__title-pre { display: block; font-size: .4em; font-weight: 700; color: var(--gold-light); letter-spacing: 0; line-height: 1.4; margin-bottom: 2px; }
.hero__title { white-space: nowrap; }
.hero__subtitle { font-size: clamp(20px, 2.2vw, 30px); margin-top: 12px; }
.hero__lead { font-size: 17px; max-width: 44ch; margin-top: 20px; }
.hero__actions { margin-top: 34px; }
.hero__media { min-height: clamp(600px, calc(100vh - 150px), 900px); min-height: clamp(600px, calc(100svh - 150px), 900px); }
.hero__media::before { content: ""; position: absolute; left: -12%; right: -12%; top: 4%; bottom: 0; background: radial-gradient(ellipse 52% 46% at 50% 42%, rgba(243, 210, 122, .26), rgba(243, 210, 122, 0) 70%); pointer-events: none; }
.hero__photo { height: clamp(600px, calc(100vh - 150px), 900px); height: clamp(600px, calc(100svh - 150px), 900px); filter: drop-shadow(0 30px 40px rgba(0, 20, 18, .35)); }
.hero__ring, .hero__disc { display: none; }
.hero__stats { padding-bottom: 120px; align-self: end; }
.hero__arch, .hero__arch-frame { position: absolute; bottom: 0; left: 50%; width: min(70%, 520px); height: 88%; border-radius: 999px 999px 0 0; pointer-events: none; }
.hero__arch { transform: translateX(-50%); background: linear-gradient(180deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .06) 55%, rgba(255, 255, 255, 0) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18); transform-origin: bottom; animation: archRise 1.4s .2s cubic-bezier(.2, .7, .2, 1) both; }
.hero__arch-frame { transform: translate(calc(-50% + 26px), -26px); border: 1.5px solid rgba(232, 192, 92, .7); border-bottom: 0; animation: frameIn 1.4s .55s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes archRise { from { opacity: 0; transform: translateX(-50%) scaleY(.7); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes frameIn { from { opacity: 0; transform: translate(-50%, 0); } to { opacity: 1; transform: translate(calc(-50% + 26px), -26px); } }
.hero__scroll { position: absolute; z-index: 3; bottom: 22px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 14px; animation: fadeIn 1s 2s both; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes archDraw { to { stroke-dashoffset: 0; } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 1100px) {
    .hero { min-height: 0; }
    .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .hero__text { padding-bottom: 40px; }
    .hero__stats { padding-bottom: 60px; }
    .hero__scroll { display: none; }
}
@media (max-width: 720px) {
    .hero__inner { grid-template-columns: minmax(0, 1fr); padding-top: 36px; }
    .hero__media { min-height: 0; }
    .hero__photo { height: 500px; }
    .hero__arch, .hero__arch-frame { width: 78%; height: 84%; }
    .hero__title { font-size: 44px; }
}

/* ---------- خوش‌آمدگویی (درباره دکتر) ---------- */
.about { position: relative; overflow: hidden; padding-block: 110px; background: linear-gradient(180deg, #FBFAF6 0%, #FFFFFF 55%, #F6FAF9 100%); }
.about__eye-bg { position: absolute; top: 60px; left: -60px; width: 520px; height: auto; color: var(--green-700); opacity: .06; pointer-events: none; }
.about__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }

.eyebrow--line { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow--line::before { content: ""; width: 36px; height: 2px; background: var(--gold); border-radius: 2px; }
.about__title { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 18px; }
.about__text p { color: var(--text-2); max-width: none; font-size: 16.5px; line-height: 2.05; margin-bottom: 16px; }
.about__lead { color: var(--text) !important; }

.about__features { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 14px; }
.about__features li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s, box-shadow .3s, transform .3s; }
.about__features li:hover { border-color: rgba(227, 183, 66, .6); box-shadow: 0 14px 30px rgba(0, 59, 52, .08); transform: translateX(-4px); }
.about__features strong { display: block; color: var(--green-900); font-size: 16px; }
.about__features li span:last-child { font-size: 14px; color: var(--muted); line-height: 1.8; }
.about__icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--green-700); background: linear-gradient(145deg, #E8F4F1, #F7FBFA); border: 1px solid #D5EAE5; }

.about__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding-top: 26px; border-top: 1px solid var(--line); }
.about__sign { display: flex; align-items: center; gap: 14px; }
.about__sign img { width: 110px; }
.about__sign span { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); line-height: 1.7; }
.about__sign strong { color: var(--green-900); font-size: 15px; }
.about__actions { display: flex; align-items: center; gap: 20px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--green-700); transition: gap .2s; }
.link-arrow:hover { gap: 10px; }

.about__media { position: relative; min-height: 600px; }
.about__frame { position: absolute; top: 26px; right: calc(8% - 26px); width: 60%; height: 84%; border: 1.5px solid rgba(227, 183, 66, .75); border-radius: 999px 999px 26px 26px; }
.about__portrait { position: absolute; top: 0; right: 8%; width: 60%; height: 84%; object-fit: cover; object-position: 50% 20%; border-radius: 999px 999px 26px 26px; box-shadow: 0 30px 60px rgba(0, 59, 52, .18); }
.about__clinic { position: absolute; bottom: 0; left: 0; width: 52%; aspect-ratio: 4 / 3; object-fit: cover; border: 8px solid #fff; border-radius: 26px; box-shadow: 0 24px 50px rgba(0, 59, 52, .2); }
.about__badge { position: absolute; top: 14%; left: 0; display: flex; align-items: center; gap: 12px; max-width: 270px; padding: 14px 16px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid #EFE6CF; border-radius: 18px; box-shadow: 0 18px 40px rgba(0, 59, 52, .14); font-size: 12.5px; color: var(--muted); line-height: 1.7; animation: float 7s ease-in-out infinite; }
.about__badge strong { display: block; font-size: 14px; color: var(--green-900); }
.about__badge-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--text); }


/* ---------- بنر (بخش سوم) ---------- */
/* عکس ثابت: بخش مثل پنجره روی عکس حرکت می‌کند (clip-path عکسِ fixed را در کادر نگه می‌دارد؛ در iOS هم کار می‌کند) */
.banner { position: relative; height: 460px; overflow: hidden; clip-path: inset(0); background: var(--green-900); }
.banner__photo { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; object-fit: cover; object-position: center 35%; pointer-events: none; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 59, 52, .9) 0%, rgba(0, 59, 52, .6) 34%, rgba(0, 59, 52, .1) 62%, rgba(0, 59, 52, 0) 78%), linear-gradient(0deg, rgba(0, 40, 35, .3), rgba(0, 40, 35, 0) 40%); }
.banner__inner { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; justify-content: flex-end; }

.banner__quote {
    position: relative; margin: 0; max-width: 460px; padding: 40px 46px 36px; color: #fff;
    background: linear-gradient(135deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .05) 45%, rgba(255, 255, 255, .09) 100%);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .16); border-radius: 24px;
    outline: 1px solid rgba(232, 192, 92, .32); outline-offset: -9px;
    box-shadow: 0 30px 60px rgba(0, 20, 18, .3), inset 0 1px 0 rgba(255, 255, 255, .22);
}
/* گوشه‌های تزئینی طلایی */
.banner__quote::before, .banner__quote::after { content: ""; position: absolute; width: 26px; height: 26px; border-color: var(--gold); border-style: solid; pointer-events: none; }
.banner__quote::before { top: 14px; right: 14px; border-width: 2px 2px 0 0; border-top-right-radius: 12px; }
.banner__quote::after { bottom: 14px; left: 14px; border-width: 0 0 2px 2px; border-bottom-left-radius: 12px; }
.banner__eye { position: absolute; top: 32px; left: 46px; width: 46px; height: auto; color: var(--gold-light); opacity: .55; }
.banner__mark { display: block; width: 30px; height: auto; fill: var(--gold); margin-bottom: 14px; }
.banner__quote p { margin: 0; font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; line-height: 2.05; text-align: justify; text-align-last: right; }
.banner__quote footer { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(232, 192, 92, .28); font-size: 13px; color: var(--mint); }
.banner__quote footer strong { color: var(--gold-light); font-size: 14.5px; font-weight: 700; }

/* ---------- خدمات ---------- */
.services { position: relative; padding-block: 110px; background: linear-gradient(180deg, #FFFFFF 0%, #F7FAF9 100%); }
.services__head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.services__head .section-title { font-size: clamp(28px, 3vw, 38px); margin-bottom: 14px; }
.services__head p { color: var(--muted); font-size: 15px; text-align: justify; text-align-last: center; margin-bottom: 26px; }
.eyebrow--center { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.eyebrow--center::before, .eyebrow--center::after { content: ""; width: 28px; height: 1.5px; background: var(--gold); border-radius: 2px; }

/* فیلتر به شکل کلید ظریف */
.filters { display: inline-flex; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 6px 18px rgba(0, 59, 52, .05); }
.chip { font-size: 14px; font-weight: 500; padding: 7px 20px; border: 0; border-radius: 999px; cursor: pointer; background: transparent; color: var(--muted); transition: background-color .25s, color .25s; }
.chip:hover { color: var(--green-900); }
.chip.is-active { background: var(--green-900); color: #fff; }

.services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }

/* کارت خدمت */
.svc { display: flex; flex-direction: column; padding: 12px 12px 18px; background: #fff; border: 1px solid #E6EEEC; border-radius: 24px; color: inherit; text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s, opacity .35s; }
.svc:hover, .svc:focus-visible { color: inherit; transform: translateY(-6px); border-color: rgba(227, 183, 66, .6); box-shadow: 0 24px 46px rgba(0, 59, 52, .1); }
.svc__thumb { display: block; height: 196px; overflow: hidden; border-radius: 64px 64px 16px 16px; background: #E8F1EF; }
.svc__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc__thumb img { transform: scale(1.06); }
.svc__body { display: flex; flex-direction: column; flex: 1; padding: 16px 8px 0; }
.svc__cat { font-size: 12px; font-weight: 700; color: #805F16; margin-bottom: 2px; }
.svc__title { margin: 0; font-size: 16.5px; font-weight: 800; line-height: 1.6; color: var(--green-900); }
.svc__desc { flex: 1; margin-top: 6px; font-size: 13.5px; line-height: 1.9; color: var(--muted); text-align: justify; text-align-last: right; }
.svc__more { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid #EEF3F2; font-size: 13.5px; font-weight: 700; color: var(--green-700); }
.svc__more .icon { transition: transform .3s var(--ease); }
.svc:hover .svc__more .icon { transform: translateX(-4px); }
.svc.is-hidden { display: none; }
.svc[id] { scroll-margin-block-start: 88px; }

.services__photo-note { margin: 16px 0 0; color: var(--muted); text-align: center; font-size: 13px; }
.services__note { margin: 24px 0 0; text-align: center; }

/* ---------- برنامه کاری ---------- */
.schedule { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 20% 30%, var(--green-700) 0%, var(--green-900) 72%); }
.schedule::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .06) 1.2px, transparent 1.3px); background-size: 22px 22px; pointer-events: none; }
.schedule__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 72px; align-items: center; padding-block: 110px; }
.schedule__eyebrow { color: var(--gold-light); }
.schedule .section-title { color: #fff; font-size: clamp(28px, 3vw, 38px); margin-bottom: 14px; }
.schedule__text > p { color: var(--mint); max-width: 56ch; margin-bottom: 30px; }

.days { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.day { padding: 20px 22px 16px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); transition: border-color .4s, background-color .4s, transform .4s var(--ease); }
.day:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .26); }
.day.is-today { background: linear-gradient(140deg, rgba(227, 183, 66, .16), rgba(227, 183, 66, .05)); border-color: rgba(232, 192, 92, .75); }
.day__head { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; justify-content: space-between; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.day__name { margin: 0; font-size: 21px; font-weight: 800; color: #fff; }
.today-tag { display: none; font-size: 11.5px; font-weight: 700; color: var(--green-900); background: var(--gold); padding: 2px 10px; border-radius: 999px; }
.day.is-today .today-tag { display: inline-block; }
.day__row { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 14px; color: var(--mint); }
.day__row .icon, .schedule__addr .icon { color: var(--gold); flex: none; }

.schedule__text > .schedule__availability { display: flex; align-items: baseline; gap: 8px; max-width: none; margin: 14px 0 0; padding: 6px 0; font-size: 13px; text-align: start; text-align-last: start; }
.schedule__availability[hidden] { display: none; }
.schedule__availability .icon { align-self: center; flex: none; color: var(--gold-light); }
.schedule__availability strong { color: var(--gold-light); }

.schedule__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 22px; }
.schedule__addr { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(215, 236, 232, .85); }

.schedule__media { position: relative; justify-self: end; width: 100%; max-width: 440px; }
.schedule__photo { width: 100%; height: 540px; object-fit: cover; border-radius: 64px 64px 22px 22px; box-shadow: 0 36px 70px rgba(0, 20, 18, .45); }
.schedule__media::before { content: ""; position: absolute; inset: 0; border-radius: 64px 64px 22px 22px; border: 1px solid rgba(232, 192, 92, .55); transform: translate(18px, 18px); pointer-events: none; }
.status { position: absolute; right: 18px; left: 18px; bottom: 18px; margin: 0; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; background: rgba(0, 40, 35, .55); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .18); font-size: 14px; font-weight: 500; color: #fff; }
.status__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.status--open .status__dot { background: #5BE3A5; }

@media (min-width: 1200px) {
    .days { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .day { padding-inline: 14px; }
}

/* ---------- وبلاگ ---------- */
.blog { padding-block: 110px; background: linear-gradient(180deg, #FFFFFF 0%, #FBFAF6 100%); }
.blog__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.blog__head .section-title { font-size: clamp(28px, 3vw, 38px); margin-bottom: 8px; }
.blog__head p { margin: 0; color: var(--muted); font-size: 15px; }
.carousel__nav { display: flex; gap: 10px; }
.round-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid #D6E3E0; background: #fff; color: var(--green-900); display: grid; place-items: center; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.round-btn:hover { background: var(--green-900); border-color: var(--green-900); color: #fff; }

.carousel__track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 10px 2px 20px; }
.carousel__track::-webkit-scrollbar { display: none; }

.post { flex: 0 0 calc((100% - 66px) / 4); min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; padding: 12px 12px 16px; background: #fff; border: 1px solid #E6EEEC; border-radius: 24px; text-decoration: none; transition: transform .45s var(--ease), box-shadow .45s, border-color .45s; }
.post:hover, .post:focus-visible { transform: translateY(-6px); border-color: rgba(227, 183, 66, .6); box-shadow: 0 22px 44px rgba(0, 59, 52, .1); }
.post__img { position: relative; display: block; height: 196px; overflow: hidden; border-radius: 64px 64px 16px 16px; background: #E8F1EF; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post__img img { transform: scale(1.06); }
.post__cat { font-size: 12px; font-weight: 700; color: #A47A16; margin-bottom: 2px; }
.post__body { display: flex; flex-direction: column; flex: 1; padding: 16px 8px 0; }
.post__title { flex: 1; font-size: 16.5px; font-weight: 800; line-height: 1.7; color: var(--green-900); transition: color .25s; }
.post:hover .post__title { color: var(--green-700); }
.post__more { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px solid #EEF3F2; font-size: 13.5px; font-weight: 700; color: var(--green-700); }
.post__more .icon { transition: transform .3s var(--ease); }
.post:hover .post__more .icon { transform: translateX(-4px); }

.carousel__dots { display: flex; justify-content: center; gap: 6px; margin: 18px 0 30px; }
.carousel__dots button { height: 6px; width: 6px; border: 0; padding: 0; border-radius: 999px; background: #CFDDDA; cursor: pointer; transition: width .35s var(--ease), background-color .35s; }
.carousel__dots button[aria-current="true"] { width: 26px; background: var(--gold); }

.btn--line { border: 1px solid var(--green-900); color: var(--green-900); background: transparent; padding: 11px 26px; font-weight: 700; }
.btn--line:hover { background: var(--green-900); color: #fff; }
.btn--line .icon { transition: transform .3s var(--ease); }
.btn--line:hover .icon { transform: translateX(-4px); }

/* ---------- پرسش‌ها ---------- */
.faq { background: var(--bg-soft); padding-block: 88px; }
.faq .section-title { margin-bottom: 26px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .3s; }
.faq__item.is-open { box-shadow: 0 12px 28px rgba(0, 59, 52, .08); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: right; font-size: 17px; font-weight: 700; color: var(--green-900); background: none; border: 0; padding: 18px 22px; cursor: pointer; }
.faq__icon { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #E3F1EE; color: var(--green-700); transition: transform .3s, background-color .3s, color .3s; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); background: var(--gold); color: var(--text); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 22px 20px; color: var(--text-2); }

/* ---------- رزرو ---------- */
.booking-wrap { padding-block: 120px 96px; }
.booking { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: center; gap: 24px; padding-inline: 40px; border-radius: 28px; color: #fff; background: linear-gradient(204deg, var(--green-700) 0%, var(--green-900) 100%); }
.booking__body { padding-block: 48px; }
.booking .section-title { color: #fff; }
.booking__body > p { color: var(--mint); max-width: 54ch; }
.booking__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-block-start: 22px; }
.booking__help { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #fff; font-weight: 700; }
.booking__help:hover { color: var(--gold-light); }
.booking__photo { height: 420px; width: auto; margin-top: -72px; align-self: end; justify-self: center; animation: float 7s ease-in-out infinite; }

/* ---------- فوتر ---------- */
.site-footer {
    --footer-line: rgba(215, 236, 232, .23);
    background: #073731;
    color: var(--mint);
    font-size: 15px;
    padding-block-start: clamp(28px, 4vw, 56px);
}
.site-footer a { text-decoration: none; }
.site-footer__booking {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: clamp(20px, 3vw, 34px);
    background: #0B4941;
    border: 1px solid var(--footer-line);
    border-radius: 16px;
}
.site-footer__booking::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset-inline-end: -70px;
    inset-block-start: 50%;
    width: 260px;
    aspect-ratio: 1;
    transform: translateY(-50%);
    border: 1px solid rgba(243, 210, 122, .19);
    border-radius: 50%;
    box-shadow: 0 0 0 26px rgba(243, 210, 122, .06), 0 0 0 52px rgba(243, 210, 122, .04);
}
.site-footer__booking-icon {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
    border: 1px solid rgba(243, 210, 122, .4); color: var(--gold-light);
}
.site-footer__booking h2 { color: #fff; font-size: clamp(20px, 2.2vw, 28px); }
.site-footer__booking p { margin: 6px 0 0; }
.site-footer__booking-link { min-height: 48px; }
.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .75fr) minmax(0, 1.15fr);
    gap: clamp(24px, 5vw, 64px);
    padding-block: 38px 32px;
}
.site-footer__brand { display: inline-flex; gap: 12px; align-items: center; color: #fff; }
.site-footer__brand:hover { color: var(--gold-light); }
.site-footer__brand .brand__mark { flex: none; width: 48px; height: 48px; }
.site-footer__brand strong { font-size: 20px; line-height: 1.5; }
.site-footer__tagline { display: block; color: var(--mint); font-size: 14px; }
.site-footer__intro { max-width: 30ch; margin: 14px 0 16px; }
.site-footer__socials { display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer__socials a {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
    border: 1px solid var(--footer-line); color: var(--mint);
}
.site-footer__socials a:hover { background: #0B4941; color: var(--gold-light); }
.site-footer__title { margin-block-end: 8px; color: #fff; font-size: 18px; }
.site-footer__links, .site-footer__phones { list-style: none; margin: 0; padding: 0; }
#schedule-title { scroll-margin-block-start: 84px; }
.site-footer__links a, .site-footer__phones a {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--mint);
}
.site-footer__links a:hover, .site-footer__phones a:hover { color: var(--gold-light); text-decoration: underline; }
.site-footer__address { display: flex; gap: 8px; margin: 0; }
.site-footer__address .icon { margin-block-start: 4px; color: var(--gold-light); }
.site-footer__directions {
    display: inline-flex; gap: 8px; align-items: center; min-height: 44px;
    color: var(--gold-light); font-weight: 700;
}
.site-footer__directions:hover { color: #fff; text-decoration: underline; }
.site-footer__phones { border-block-start: 1px solid var(--footer-line); }
.site-footer__phones a { display: flex; justify-content: space-between; }
.site-footer__phones bdi { color: #fff; font-weight: 700; white-space: nowrap; }
.site-footer__bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    padding-block: 18px 30px; border-block-start: 1px solid var(--footer-line);
}
.site-footer__trust-seal { display: inline-flex; align-items: center; gap: 10px; color: var(--mint); font-size: 14px; }
.site-footer__trust-seal:hover, .site-footer__trust-seal:focus-visible { color: var(--gold-light); text-decoration: underline; }
.site-footer__trust-seal img { flex: none; object-fit: contain; padding: 4px; background: #fff; border-radius: 10px; }

@media (max-width: 820px) {
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__grid > :last-child { grid-column: 1 / -1; max-width: 460px; }
}

@media (max-width: 600px) {
    .site-footer__booking { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .site-footer__booking-icon { display: none; }
    .site-footer__booking-link { justify-self: start; }
    .site-footer__grid { grid-template-columns: minmax(0, 1fr); padding-block: 28px; }
    .site-footer__grid > :not(:first-child) { padding-block-start: 20px; border-block-start: 1px solid var(--footer-line); }
    .site-footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
    .site-footer__phones a { padding-inline-end: 54px; }
    .site-footer__bottom { padding-inline-end: 58px; padding-block-end: 44px; }
}

/* ---------- دکمه‌های شناور ---------- */
.floating { position: fixed; left: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.call-fab { width: 58px; height: 58px; border-radius: 50%; background: var(--gold); color: var(--text); display: grid; place-items: center; animation: pulse 1.8s ease-out infinite; }
.call-fab:hover { color: var(--text); background: var(--gold-hover); }
.to-top { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--green-900); box-shadow: 0 8px 20px rgba(0, 0, 0, .15); display: grid; place-items: center; cursor: pointer; animation: fadeIn .3s both; }

/* ---------- ویدیو ---------- */
.video-modal { border: 0; padding: 0; background: transparent; width: min(880px, 92vw); overflow: visible; }
.video-modal::backdrop { background: rgba(0, 30, 26, .82); }
.video-modal__box { position: relative; aspect-ratio: 16 / 9; background: var(--green-900); border-radius: 20px; overflow: hidden; animation: rise .4s both; }
.video-modal__frame, .video-modal__frame iframe { width: 100%; height: 100%; border: 0; }
.video-modal__close { position: absolute; top: 10px; left: 10px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--gold); color: var(--text); display: grid; place-items: center; cursor: pointer; }

/* ---------- انیمیشن‌ها ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes docIn { from { opacity: 0; transform: translateY(48px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes popIn { from { opacity: 0; transform: translateX(-30px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(227, 183, 66, .6); } 100% { box-shadow: 0 0 0 18px rgba(227, 183, 66, 0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.anim { animation: rise .8s var(--ease) both; }
.a1 { animation-delay: .05s; } .a2 { animation-delay: .15s; } .a3 { animation-delay: .25s; }
.a4 { animation-delay: .35s; } .a5 { animation-delay: .45s; } .a6 { animation-delay: .55s; }

/* ظاهر شدن هنگام اسکرول (فقط وقتی جاوااسکریپت فعال است) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .svc.reveal:nth-child(4n+2) { transition-delay: .07s; }
.js .svc.reveal:nth-child(4n+3) { transition-delay: .14s; }
.js .svc.reveal:nth-child(4n) { transition-delay: .21s; }

/* ---------- چشم‌های تعاملی اطراف عکس ---------- */
.eyes { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.eye {
    position: absolute; border-radius: 50%;
    pointer-events: auto; cursor: pointer; touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transform: translate(-50%, -50%);
    animation: eyeFloat 6s ease-in-out infinite;
}
.eye canvas { display: block; opacity: var(--o, .5); transition: opacity .4s; animation: eyeIn .7s var(--ease) both; animation-delay: calc(.9s + var(--i, 0) * .09s); }
.eye:hover canvas, .eye.is-poked canvas { opacity: .9; }
.eye.is-poked canvas { animation: eyePoke .45s var(--ease); }
@keyframes eyeFloat { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 9px)); } }
@keyframes eyeIn { from { opacity: 0; transform: scale(.85); } }
@keyframes eyePoke { 0% { transform: scale(1); } 40% { transform: scale(.94); } 100% { transform: scale(1); } }
@media (max-width: 720px) {
    .eye--lg-only { display: none; }
    .eye canvas { opacity: calc(var(--o, .5) * .85); }
}

/* ---------- متن‌های تراز دوطرفه ---------- */
.hero__lead, .about__text p, .schedule__text > p, .booking__body > p, .faq__a p, .blog__head p {
    text-align: justify;
    text-align-last: right;
    text-justify: inter-word;
    hyphens: none;
}

/* ---------- واکنش‌گرا ---------- */
@media (max-width: 1100px) {
    .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .hero__stats { grid-column: 1 / -1; flex-direction: row; justify-content: center; padding-bottom: 40px; order: 3; }
    .hero__stats .stat { flex: 0 1 220px; }
    .hero__media { order: 2; }
    .services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .post { flex-basis: calc((100% - 44px) / 3); }
}

@media (max-width: 1240px) {
    .nav { gap: 4px 18px; font-size: 14px; }
}

@media (max-width: 1100px) {
    .nav { display: none; position: absolute; top: 100%; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px 24px 18px; box-shadow: 0 18px 30px rgba(0, 0, 0, .08); }
    .nav.is-open { display: flex; animation: fadeIn .2s both; }
    .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .nav a::after { display: none; }
    .burger { display: inline-flex; }
    .hide-sm { display: none !important; }
}

@media (max-width: 960px) {
    .post { flex-basis: calc((100% - 22px) / 2); }
    .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about__inner, .schedule__inner { grid-template-columns: minmax(0, 1fr); }
    .about__inner { gap: 48px; }
    .about__media { max-width: 560px; width: 100%; margin-inline: auto; }
    .schedule__inner { gap: 46px; padding-block: 72px; }
    .schedule__media { justify-self: center; }
    .schedule__photo { height: 440px; }
    .booking { grid-template-columns: minmax(0, 1fr); padding-inline: 24px; }
    .booking__photo { display: none; }
}

@media (max-width: 720px) {
    .hero__inner { grid-template-columns: minmax(0, 1fr); padding-top: 40px; }
    .hero__text { padding-bottom: 8px; text-align: center; }
    .hero__lead { margin-inline: auto; text-align: justify; text-align-last: center; }
    .hero__actions, .hero__stories { justify-content: center; }
    .hero__media { min-height: 0; }
    .hero__photo { height: 420px; }
    .hero__ring { width: 340px; height: 340px; bottom: 40px; }
    .hero__disc { width: 280px; height: 280px; bottom: 70px; }
    .hero__stats { gap: 12px; }
    .stat { padding: 18px 12px; }
    .stat__num { font-size: 34px; }
    .about { padding-block: 72px 56px; }
    .about__media { min-height: 460px; }
    .about__badge { display: none; }
    .about__portrait { right: 4%; width: 74%; height: 88%; }
    .about__frame { right: calc(4% - 16px); top: 16px; width: 74%; height: 88%; }
    .about__clinic { width: 54%; border-width: 6px; }
    .about__foot { justify-content: center; }
    .about__eye-bg { width: 320px; left: -80px; }
    .services, .blog, .faq { padding-block: 64px; }
    .days { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .services__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .svc { flex-direction: row; align-items: stretch; gap: 14px; padding: 10px; border-radius: 20px; }
    .svc__thumb { flex: none; width: 92px; height: auto; min-height: 112px; border-radius: 34px 34px 12px 12px; }
    .svc__body { padding: 4px 0 2px; }
    .svc__desc { font-size: 13px; }
    .svc__more { margin-top: 6px; padding-top: 6px; }
    .post { flex-basis: 86%; }
    .site-header__actions .btn { display: none; }
    .brand__name { font-size: 16px; }
    .topbar__inner { justify-content: center; }
    .banner { height: auto; padding-block: 220px 28px; }
    .banner__photo { object-position: 72% 30%; }
    .banner::after { background: linear-gradient(0deg, rgba(0, 59, 52, .95) 0%, rgba(0, 59, 52, .6) 45%, rgba(0, 59, 52, 0) 75%); }
    .banner__inner { height: auto; justify-content: center; }
    .banner__quote { padding: 36px 38px 32px; }
    .banner__eye { left: 38px; top: 30px; }
    .floating { left: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

@media print {
    .topbar, .site-header, .floating, .carousel__nav, .booking-wrap { display: none; }
}


