/* ════════════════════════════════════════════════════════════════════
   MiniSite_v37 — کلینیک پوست و لیزر
   VERTICAL FULL-SCREEN SCROLL-SNAP DECK
   پالت: سفید کلینیکال + رزگلد + یاسی ملایم
   ════════════════════════════════════════════════════════════════════ */

@import url('/templates/_shared/fonts/fonts.css');

.msd-deck, .msd-deck * { box-sizing: border-box; }

.msd-deck {
    --rose: #c08a6e;
    --rose-deep: #a86a4d;
    --rose-soft: #e9c9b8;
    --gold: #d9a87e;
    --lav: #efe9f6;
    --lav-deep: #b9a9d6;
    --ink: #3a3340;
    --ink-soft: #6e6677;
    --line: #ece7ef;
    --white: #ffffff;
    --bg: #fdfbfc;
    --shadow: 0 22px 60px rgba(120, 90, 110, .14);
    --radius: 24px;

    font-family: 'Vazirmatn', Tahoma, sans-serif;
    color: var(--ink);
    direction: rtl;
    background: var(--bg);
    line-height: 1.85;

    /* ── هستهٔ معماری: دک اسنپ عمودی تمام‌صفحه ── */
    height: 100vh;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.msd-deck::-webkit-scrollbar { width: 0; height: 0; }

/* هر پنل دقیقاً یک ویوپورت کامل و یک نقطهٔ snap */
.msd-panel {
    position: relative;
    min-height: 100vh;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 26px;
    overflow: hidden;
    background: var(--white);
}
.msd-panel--lav { background: linear-gradient(160deg, var(--lav) 0%, #faf6fc 70%); }

/* محتوای داخلی پنل: می‌تواند در صورت بلندبودن اسکرول داخلی داشته باشد */
.msd-panel-wrap {
    width: 100%;
    max-width: 1120px;
    max-height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    text-align: center;
}
.msd-panel-wrap::-webkit-scrollbar { width: 4px; }
.msd-panel-wrap::-webkit-scrollbar-thumb { background: var(--rose-soft); border-radius: 4px; }
.msd-panel-wrap--narrow { max-width: 760px; }

/* انیمیشن ورود پنل */
.msd-panel-wrap, .msd-hero-inner, .msd-about-inner, .msd-booking-wrap {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .7s ease, transform .7s ease;
}
.msd-panel.is-inview .msd-panel-wrap,
.msd-panel.is-inview .msd-hero-inner,
.msd-panel.is-inview .msd-about-inner,
.msd-panel.is-inview .msd-booking-wrap { opacity: 1; transform: none; }

.msd-eyebrow {
    display: inline-block;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--rose-deep);
    background: linear-gradient(135deg, #fbeee6, #f3e8f6);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.msd-panel-title {
    font-size: clamp(1.55rem, 3.4vw, 2.5rem);
    font-weight: 800;
    margin: 0 0 14px;
    color: var(--ink);
    line-height: 1.4;
}
.msd-panel-lead {
    max-width: 640px;
    margin: 0 auto 30px;
    color: var(--ink-soft);
    font-size: 1.02rem;
}

/* ── دکمه‌ها ── */
.msd-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .98rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.msd-btn-rose {
    background: linear-gradient(135deg, var(--rose), var(--rose-deep));
    color: #fff;
    box-shadow: 0 14px 30px rgba(168, 106, 77, .32);
}
.msd-btn-rose:hover { transform: translateY(-3px); box-shadow: 0 20px 38px rgba(168, 106, 77, .42); color: #fff; }
.msd-btn-line {
    background: #fff;
    color: var(--rose-deep);
    border: 1.5px solid var(--rose-soft);
}
.msd-btn-line:hover { transform: translateY(-3px); background: #fbeee6; color: var(--rose-deep); }

/* ════════════ ریل نقطه‌ای ناوبری عمودی (ثابت) ════════════ */
.msd-dots {
    position: fixed;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 13px;
    align-items: flex-end;
}
.msd-dot {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-direction: row-reverse;
}
.msd-dot-mark {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--rose-soft);
    box-shadow: 0 3px 8px rgba(120, 90, 110, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: .55rem;
    transition: all .3s ease;
    flex: none;
}
.msd-dot-label {
    font-size: .82rem;
    font-weight: 700;
    color: var(--ink);
    background: #fff;
    padding: 4px 12px;
    border-radius: 50px;
    box-shadow: 0 6px 16px rgba(120, 90, 110, .14);
    opacity: 0;
    transform: translateX(8px);
    pointer-events: none;
    transition: all .3s ease;
    white-space: nowrap;
}
.msd-dot:hover .msd-dot-label { opacity: 1; transform: none; }
.msd-dot.is-active .msd-dot-mark {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--rose), var(--rose-deep));
    border-color: transparent;
    color: #fff;
    font-size: .68rem;
    box-shadow: 0 6px 16px rgba(168, 106, 77, .4);
}
.msd-dot.is-active .msd-dot-label { opacity: 1; transform: none; color: var(--rose-deep); }

/* ── نشان برند شناور ── */
.msd-brandtag {
    position: fixed;
    top: 22px;
    right: 26px;
    z-index: 55;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(10px);
    padding: 9px 18px 9px 14px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    color: var(--ink);
    box-shadow: 0 8px 24px rgba(120, 90, 110, .14);
    border: 1px solid var(--line);
}
.msd-brandtag-mark {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), var(--lav-deep));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem;
}

/* ── دکمهٔ رزرو شناور پایین ── */
.msd-bookfab {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 55;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--rose), var(--rose-deep));
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 16px 36px rgba(168, 106, 77, .4);
    transition: transform .25s ease;
}
.msd-bookfab:hover { transform: translateY(-3px) scale(1.03); }

/* ════════════ پنل بنر ════════════ */
.msd-hero { background: linear-gradient(150deg, #fff 0%, #fbf4f7 55%, var(--lav) 100%); }
.msd-hero-aura {
    position: absolute;
    width: 60vw; height: 60vw;
    max-width: 720px; max-height: 720px;
    right: -12vw; top: -14vw;
    background: radial-gradient(circle, rgba(217, 168, 126, .28), transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}
.msd-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1120px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
}
.msd-hero-copy { text-align: right; }
.msd-chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff;
    color: var(--rose-deep);
    border: 1px solid var(--rose-soft);
    padding: 7px 16px;
    border-radius: 50px;
    font-size: .85rem; font-weight: 700;
    margin-bottom: 20px;
}
.msd-hero-copy h1 {
    font-size: clamp(2rem, 4.6vw, 3.3rem);
    font-weight: 800;
    line-height: 1.32;
    margin: 0 0 18px;
    color: var(--ink);
}
.msd-hero-sub {
    font-size: 1.08rem;
    color: var(--ink-soft);
    margin: 0 0 30px;
    max-width: 540px;
}
.msd-hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.msd-hero-trust {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--rose-deep);
    font-size: .92rem;
    font-weight: 600;
}
.msd-hero-visual { position: relative; }
.msd-hero-frame {
    position: relative;
    z-index: 2;
    border-radius: 34px 34px 120px 34px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 8px solid #fff;
    aspect-ratio: 4/5;
}
.msd-hero-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.msd-hero-glow {
    position: absolute;
    inset: 14px -18px -22px 14px;
    border-radius: 34px 34px 120px 34px;
    background: linear-gradient(135deg, var(--lav-deep), var(--rose));
    opacity: .28;
    z-index: 1;
}
.msd-scrollcue {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fff;
    color: var(--rose-deep);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(120, 90, 110, .18);
    animation: msdBounce 1.8s ease-in-out infinite;
    z-index: 3;
}
@keyframes msdBounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ════════════ پنل آمار ════════════ */
.msd-stats { background: linear-gradient(160deg, #fff, #fbf4f7); }
.msd-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 14px;
}
.msd-stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 16px;
    box-shadow: 0 10px 30px rgba(120, 90, 110, .08);
    transition: transform .3s ease;
}
.msd-stat:hover { transform: translateY(-6px); }
.msd-stat-icon {
    width: 54px; height: 54px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbeee6, var(--lav));
    color: var(--rose-deep);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
}
.msd-stat-num { font-size: 2.1rem; font-weight: 800; color: var(--rose-deep); }
.msd-stat-lbl { color: var(--ink-soft); font-size: .95rem; margin-top: 4px; }

/* ════════════ پنل خدمات/درمان ════════════ */
.msd-treat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    text-align: right;
}
.msd-treat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: 0 10px 30px rgba(120, 90, 110, .07);
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
    overflow: hidden;
}
.msd-treat-card::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--rose), var(--lav-deep));
    transform: scaleX(0); transform-origin: right;
    transition: transform .35s ease;
}
.msd-treat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.msd-treat-card:hover::before { transform: scaleX(1); }
.msd-treat-icon {
    width: 58px; height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fbeee6, var(--lav));
    color: var(--rose-deep);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 16px;
}
.msd-treat-card h4 { font-size: 1.15rem; font-weight: 700; margin: 0 0 8px; }
.msd-treat-card p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ════════════ پست‌ها (خدمات/وبلاگ) ════════════ */
.msd-postscroll .page-services-widget__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 900px) { .msd-postscroll .page-services-widget__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .msd-postscroll .page-services-widget__grid { grid-template-columns: 1fr; } }

/* ════════════ پنل مزیت‌ها ════════════ */
.msd-ben-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.msd-ben-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 18px;
    box-shadow: 0 10px 28px rgba(120, 90, 110, .07);
    transition: transform .3s ease;
}
.msd-ben-card:hover { transform: translateY(-6px); }
.msd-ben-icon {
    width: 60px; height: 60px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), var(--lav-deep));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.msd-ben-card h4 { font-size: 1.08rem; font-weight: 700; margin: 0 0 6px; }
.msd-ben-card p { color: var(--ink-soft); font-size: .92rem; margin: 0; }

/* ════════════ پنل تجهیزات ════════════ */
.msd-dev-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    text-align: right;
}
.msd-dev-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(120, 90, 110, .1);
    transition: transform .3s ease;
}
.msd-dev-card:hover { transform: translateY(-6px); }
.msd-dev-media { aspect-ratio: 16/10; overflow: hidden; }
.msd-dev-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.msd-dev-card:hover .msd-dev-media img { transform: scale(1.06); }
.msd-dev-body { padding: 20px 22px; }
.msd-dev-body h4 { font-size: 1.1rem; font-weight: 700; margin: 0 0 6px; }
.msd-dev-body p { color: var(--ink-soft); font-size: .92rem; margin: 0; }

/* ════════════ پنل درباره ما ════════════ */
.msd-about-inner {
    width: 100%;
    max-width: 1080px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 48px;
    align-items: center;
}
.msd-about-img { position: relative; }
.msd-about-img img {
    width: 100%;
    border-radius: 30px 90px 30px 30px;
    box-shadow: var(--shadow);
    border: 8px solid #fff;
    aspect-ratio: 4/5;
    object-fit: cover;
}
.msd-about-badge {
    position: absolute;
    bottom: -18px; right: -18px;
    background: linear-gradient(135deg, var(--rose), var(--rose-deep));
    color: #fff;
    border-radius: 22px;
    padding: 16px 22px;
    text-align: center;
    box-shadow: 0 14px 30px rgba(168, 106, 77, .4);
}
.msd-years { display: block; font-size: 1.9rem; font-weight: 800; }
.msd-years-lbl { font-size: .82rem; opacity: .9; }
.msd-about-text { text-align: right; }
.msd-about-text p { color: var(--ink-soft); font-size: 1.02rem; margin: 0 0 18px; }
.msd-about-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.msd-about-list li { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink); }
.msd-about-list i { color: var(--rose-deep); }

/* ════════════ پنل فرایند ════════════ */
.msd-proc-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    counter-reset: msd;
    text-align: right;
}
.msd-proc-step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
    position: relative;
    box-shadow: 0 10px 28px rgba(120, 90, 110, .07);
}
.msd-proc-num {
    width: 46px; height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--rose), var(--lav-deep));
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.msd-proc-body h4 { font-size: 1.05rem; font-weight: 700; margin: 0 0 6px; }
.msd-proc-body p { color: var(--ink-soft); font-size: .9rem; margin: 0; }

/* ════════════ پنل گالری ════════════ */
.msd-gal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 14px;
}
.msd-gal-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(120, 90, 110, .1);
}
.msd-gal-item:first-child { grid-column: span 2; grid-row: span 2; }
.msd-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.msd-gal-item:hover img { transform: scale(1.07); }
.msd-gal-cap {
    position: absolute; inset: auto 0 0 0;
    background: linear-gradient(transparent, rgba(58, 51, 64, .82));
    color: #fff;
    padding: 26px 14px 12px;
    font-size: .9rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity .3s ease;
}
.msd-gal-item:hover .msd-gal-cap { opacity: 1; }

/* ════════════ پنل رزرو ════════════ */
.msd-booking-wrap { max-width: 900px; text-align: center; }
.msd-booking-icon {
    width: 70px; height: 70px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), var(--rose-deep));
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 14px 30px rgba(168, 106, 77, .35);
}
.msd-booking-perks {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 18px;
    margin: 18px 0 26px;
}
.msd-booking-perks span {
    display: inline-flex; align-items: center; gap: 7px;
    color: var(--rose-deep); font-weight: 600; font-size: .92rem;
}
.msd-widget-shell {
    background: #fff;
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    text-align: right;
}

/* ════════════ پنل تعرفه ════════════ */
.msd-price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
    text-align: right;
}
.msd-plan {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: 0 12px 30px rgba(120, 90, 110, .08);
    position: relative;
    display: flex; flex-direction: column;
    transition: transform .3s ease;
}
.msd-plan:hover { transform: translateY(-6px); }
.msd-plan--featured {
    border: 2px solid var(--rose);
    box-shadow: 0 20px 44px rgba(168, 106, 77, .22);
    transform: scale(1.03);
}
.msd-plan-badge {
    position: absolute; top: -14px; right: 26px;
    background: linear-gradient(135deg, var(--rose), var(--rose-deep));
    color: #fff;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: .8rem; font-weight: 700;
}
.msd-plan h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 10px; }
.msd-plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.msd-plan-amount { font-size: 1.5rem; font-weight: 800; color: var(--rose-deep); }
.msd-plan-period { color: var(--ink-soft); font-size: .9rem; }
.msd-plan-features { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.msd-plan-features li { display: flex; align-items: center; gap: 9px; color: var(--ink-soft); font-size: .94rem; }
.msd-plan-features i { color: var(--rose-deep); }
.msd-plan-note { font-size: .85rem; color: var(--lav-deep); margin: 0 0 16px; font-weight: 600; }
.msd-plan .msd-btn { margin-top: auto; }

/* ════════════ پنل نظرات ════════════ */
.msd-testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    text-align: right;
}
.msd-testi-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: 0 12px 30px rgba(120, 90, 110, .09);
}
.msd-testi-stars { color: var(--gold); margin-bottom: 12px; font-size: .92rem; }
.msd-testi-text { color: var(--ink); font-size: .98rem; margin: 0 0 18px; line-height: 1.9; }
.msd-testi-foot { display: flex; align-items: center; gap: 12px; }
.msd-testi-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.msd-testi-avatar--ph {
    background: linear-gradient(135deg, #fbeee6, var(--lav));
    color: var(--rose-deep);
    display: flex; align-items: center; justify-content: center;
}
.msd-testi-author { font-weight: 700; }
.msd-testi-role { color: var(--ink-soft); font-size: .85rem; }

/* ════════════ پنل تیم ════════════ */
.msd-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.msd-member {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(120, 90, 110, .1);
    transition: transform .3s ease;
}
.msd-member:hover { transform: translateY(-6px); }
.msd-member-photo { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.msd-member-body { padding: 18px 14px; text-align: center; }
.msd-member-body h4 { font-size: 1.05rem; font-weight: 700; margin: 0 0 4px; }
.msd-member-body p { color: var(--rose-deep); font-size: .88rem; margin: 0; }

/* ════════════ پنل سوالات ════════════ */
.msd-faq-list { text-align: right; }
.msd-faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(120, 90, 110, .05);
}
.msd-faq-q {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    background: none; border: none; cursor: pointer;
    padding: 18px 22px;
    font-family: inherit;
    font-size: 1rem; font-weight: 700;
    color: var(--ink);
    text-align: right;
}
.msd-faq-q i { color: var(--rose-deep); transition: transform .3s ease; }
.msd-faq-item.is-open .msd-faq-q i { transform: rotate(180deg); }
.msd-faq-a {
    max-height: 0;
    overflow: hidden;
    padding: 0 22px;
    color: var(--ink-soft);
    transition: max-height .35s ease, padding .35s ease;
}
.msd-faq-item.is-open .msd-faq-a { max-height: 340px; padding: 0 22px 18px; }

/* ════════════ پنل تماس ════════════ */
.msd-ct-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    text-align: right;
    margin-top: 8px;
}
.msd-ct-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 26px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}
.msd-ct-card h3 { font-size: 1.2rem; font-weight: 700; margin: 0 0 18px; }
.msd-ct-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.msd-ct-row > i {
    width: 38px; height: 38px; flex: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #fbeee6, var(--lav));
    color: var(--rose-deep);
    display: flex; align-items: center; justify-content: center;
}
.msd-ct-lbl { font-size: .8rem; color: var(--ink-soft); }
.msd-ct-val { font-weight: 600; }
.msd-ct-val a { color: inherit; text-decoration: none; }
.msd-hours { margin: 16px 0; border-top: 1px dashed var(--line); padding-top: 14px; }
.msd-h-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.msd-h-row:last-child { border-bottom: none; }
.msd-h-day { color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.msd-h-day i { color: var(--rose-deep); }
.msd-h-time { color: var(--ink-soft); }
.msd-ct-socials { display: flex; gap: 10px; margin: 16px 0; }
.msd-soc {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbeee6, var(--lav));
    color: var(--rose-deep);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: transform .25s ease;
}
.msd-soc:hover { transform: translateY(-3px); background: var(--rose); color: #fff; }
.msd-ct-book { width: 100%; justify-content: center; }
.msd-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-height: 320px;
}
.msd-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.msd-foot {
    margin-top: 26px;
    text-align: center;
    color: var(--ink-soft);
    font-size: .88rem;
}
.msd-foot p { margin: 0 0 6px; }

/* ════════════ واکنش‌گرا ════════════ */
@media (max-width: 1000px) {
    .msd-stats-grid, .msd-ben-grid, .msd-team-grid { grid-template-columns: repeat(2, 1fr); }
    .msd-treat-grid, .msd-dev-grid, .msd-proc-track, .msd-price-grid, .msd-testi-grid { grid-template-columns: repeat(2, 1fr); }
    .msd-gal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .msd-deck { scroll-snap-type: none; height: auto; overflow-y: visible; }
    .msd-panel { height: auto; min-height: auto; padding: 80px 20px; scroll-snap-align: none; }
    .msd-panel-wrap, .msd-hero-inner, .msd-about-inner, .msd-booking-wrap { opacity: 1; transform: none; max-height: none; overflow: visible; }
    .msd-hero-inner, .msd-about-inner { grid-template-columns: 1fr; gap: 32px; }
    .msd-hero-copy, .msd-about-text { text-align: center; }
    .msd-hero-btns { justify-content: center; }
    .msd-hero-sub { margin-inline: auto; }
    .msd-about-list { grid-template-columns: 1fr; }
    .msd-dots { right: 12px; gap: 10px; }
    .msd-dot-label { display: none; }
    .msd-ct-grid { grid-template-columns: 1fr; }
    .msd-bookfab span { display: none; }
    .msd-scrollcue { display: none; }
}
@media (max-width: 560px) {
    .msd-stats-grid, .msd-ben-grid, .msd-team-grid,
    .msd-treat-grid, .msd-dev-grid, .msd-proc-track, .msd-price-grid, .msd-testi-grid,
    .msd-gal-grid { grid-template-columns: 1fr; }
    .msd-gal-grid { grid-auto-rows: 220px; }
    .msd-gal-item:first-child { grid-column: span 1; grid-row: span 1; }
    .msd-brandtag span:not(.msd-brandtag-mark) { display: none; }
}


/* ===== Appointment widget — modal/calendar z-index over template layers ===== */
#bookingModal { z-index: 10050 !important; }
.modal-backdrop { z-index: 10040 !important; }
body .popover { z-index: 10060 !important; }
