/* ============================================================
   Art_v3 — Swiss / International Typographic (White + Red)
   پورتفولیو هنری با سبک سوئیسی مینیمال: سفید، اکسنت قرمز،
   چیدمان نامتقارن، گوشه‌های تیز، گالری شبکه‌ای تمیز.
   اسکلت مرجع: BeautySalon_LX / Dentist_Pro
   ============================================================ */

:root {
    --black: #111827;
    --red: #dc2626;
    --red-dark: #b91c1c;
    --red-light: rgba(220, 38, 38, 0.08);
    --white: #ffffff;
    --gray: #6b7280;
    --gray-light: #f9fafb;
    --gray-border: #e5e7eb;
    --transition: all 0.3s ease;
    --shadow: 0 10px 40px rgba(17,24,39,0.07);

    /* پل رنگ ویجت نوبت‌دهی (روی پوستهٔ روشن) */
    --dp-brand: #dc2626;
    --dp-brand-dark: #b91c1c;
    --dp-brand-soft: #fef2f2;
    --dp-brand-mist: #fff5f5;
    --dp-gold: #dc2626;
    --dp-text: #111827;
    --dp-muted: #6b7280;
    --dp-border: #e5e7eb;
}

.page-card-shell { border: none; background: transparent; padding: 0 !important; }

body, .sw-root, .sw-header, .sw-footer, .sw-fab-stack {
    font-family: Vazir, 'IRANYekan', Tahoma, sans-serif;
}

.sw-root { background: var(--white); color: var(--black); line-height: 1.9; overflow-x: hidden; }
.sw-root * { box-sizing: border-box; }
.sw-root a { text-decoration: none; color: inherit; transition: var(--transition); }
.sw-root ul { list-style: none; margin: 0; padding: 0; }
.sw-container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ===== Header ===== */
.sw-header { background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); padding: 18px 0; position: sticky; top: 0; z-index: 1001; transition: var(--transition); }
.sw-header.is-scrolled { border-bottom: 1px solid var(--gray-border); }
.sw-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.sw-logo { font-size: 1.3rem; font-weight: 900; color: var(--black); }
.sw-logo span.dot { color: var(--red); }
.sw-nav { display: flex; gap: 30px; align-items: center; }
.sw-nav > a, .sw-dropdown-toggle { font-size: 0.8rem; font-weight: 600; color: var(--gray); }
.sw-nav > a:hover, .sw-dropdown-toggle:hover { color: var(--red); }
.sw-header-actions { display: flex; align-items: center; gap: 14px; }
.sw-nav-book { background: var(--red); color: var(--white); padding: 11px 24px; font-weight: 700; font-size: 0.8rem; display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; }
.sw-nav-book:hover { background: var(--red-dark); color: var(--white); }
.sw-hamburger { display: none; font-size: 1.3rem; cursor: pointer; color: var(--black); background: none; border: none; }

/* dropdown خدمات */
.sw-dropdown { position: relative; }
.sw-dropdown-toggle { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.sw-dropdown-toggle i { font-size: 0.6rem; }
.sw-dropdown::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 16px; }
.sw-dropdown-menu { position: absolute; top: calc(100% + 14px); right: 0; min-width: 260px; background: var(--white); border: 1px solid var(--gray-border); box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); z-index: 1002; }
.sw-dropdown:hover .sw-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sw-dropdown-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 0.82rem; color: var(--gray); }
.sw-dropdown-item:hover { background: var(--red-light); color: var(--red); }
.sw-dropdown-item i { color: var(--red); width: 18px; flex-shrink: 0; }
.sw-dropdown-divider { height: 1px; background: var(--gray-border); margin: 6px 4px; }

/* ===== Mobile drawer ===== */
.sw-mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(17,24,39,0.5); z-index: 1090; }
.sw-mobile-overlay.active { display: block; }
.sw-mobile { position: fixed; top: 0; right: -300px; width: 280px; height: 100%; background: var(--white); z-index: 1100; box-shadow: var(--shadow); transition: right 0.3s ease; padding: 28px; overflow-y: auto; }
.sw-mobile.active { right: 0; }
.sw-mobile-header { font-size: 1.2rem; font-weight: 900; margin-bottom: 24px; }
.sw-mobile-header span.dot { color: var(--red); }
.sw-mobile-links a { display: flex; align-items: center; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--gray-border); font-weight: 600; font-size: 0.88rem; color: var(--gray); }
.sw-mobile-links a i { color: var(--red); width: 20px; }

/* ===== Hero (split screen) ===== */
.sw-hero { padding: 90px 0 80px; min-height: 80vh; display: flex; align-items: center; }
.sw-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sw-badge { display: inline-block; font-size: 0.72rem; font-weight: 800; color: var(--red); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px; }
.sw-hero h1 { font-size: 3.2rem; font-weight: 900; line-height: 1.15; margin: 0 0 20px; color: var(--black); }
.sw-subtitle { font-size: 1.1rem; color: var(--gray); font-weight: 600; margin-bottom: 16px; }
.sw-bio { color: var(--gray); line-height: 2.2; margin-bottom: 36px; max-width: 460px; }
.sw-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.sw-btn { padding: 14px 30px; font-weight: 700; font-size: 0.84rem; display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; transition: var(--transition); }
.sw-btn-fill { background: var(--red); color: var(--white); }
.sw-btn-fill:hover { background: var(--red-dark); transform: translateY(-2px); color: var(--white); }
.sw-btn-outline { background: transparent; color: var(--black); border: 2px solid var(--black); }
.sw-btn-outline:hover { background: var(--black); color: var(--white); }
.sw-hero-img { display: flex; justify-content: flex-start; }
.sw-hero-img img { width: 100%; max-width: 440px; height: 500px; object-fit: cover; }

/* ===== Section common ===== */
.sw-section { padding: 100px 0; }
.sw-section--gray { background: var(--gray-light); }
.sw-section-head { margin-bottom: 56px; }
.sw-section-head--center { text-align: center; }
.sw-eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 800; color: var(--red); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.sw-section-head h2 { font-size: 2rem; font-weight: 900; color: var(--black); margin: 0; }
.sw-section-head h2 .dot { display: inline-block; width: 8px; height: 8px; background: var(--red); border-radius: 50%; margin-left: 8px; vertical-align: middle; }
.sw-section-head p { color: var(--gray); font-size: 0.85rem; margin-top: 6px; }

/* ===== Booking strip ===== */
.sw-booking { padding: 80px 0; }
.sw-booking-head { text-align: center; margin-bottom: 26px; }
.sw-booking-icon { width: 54px; height: 54px; background: var(--red); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin: 0 auto 14px; }
.sw-booking-head h2 { font-size: 1.5rem; font-weight: 900; margin: 0 0 6px; }
.sw-booking-head p { color: var(--gray); font-size: 0.9rem; margin: 0 0 12px; }
.sw-booking-perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.sw-booking-perks span { font-size: 0.8rem; color: var(--gray); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.sw-booking-perks i { color: var(--red); }
.sw-widget-shell { background: var(--white); border: 1px solid var(--gray-border); padding: 14px; overflow: visible; max-width: 1000px; margin: 0 auto; }

/* ===== Stats ===== */
.sw-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--gray-border); border: 1px solid var(--gray-border); }
.sw-stat { text-align: center; background: var(--white); padding: 36px 16px; }
.sw-stat h4 { font-size: 2.4rem; font-weight: 900; color: var(--black); margin: 0; }
.sw-stat h4 b { color: var(--red); }
.sw-stat p { font-size: 0.8rem; color: var(--gray); margin: 8px 0 0; }

/* ===== About (asymmetric) ===== */
.sw-about { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: start; }
.sw-about-text p { color: var(--gray); line-height: 2.6; text-align: justify; margin-bottom: 28px; font-size: 0.95rem; }
.sw-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sw-hl { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border: 1px solid var(--gray-border); transition: var(--transition); }
.sw-hl:hover { border-color: var(--red); }
.sw-hl i { color: var(--red); font-size: 0.85rem; }
.sw-hl span { font-size: 0.82rem; font-weight: 700; color: var(--black); }
.sw-about-img { position: relative; }
.sw-about-img img { width: 100%; object-fit: cover; display: block; }
.sw-about-img::after { content: ''; position: absolute; top: 20px; right: -20px; width: 100%; height: 100%; border: 2px solid var(--red); z-index: -1; }
.sw-exp-badge { position: absolute; bottom: 0; left: 0; background: var(--red); color: var(--white); padding: 14px 20px; }
.sw-exp-badge .years { display: block; font-size: 1.6rem; font-weight: 900; line-height: 1; }
.sw-exp-badge .text { font-size: 0.7rem; font-weight: 700; }

/* ===== Manifesto ===== */
.sw-manifesto { border-top: 3px solid var(--red); border-bottom: 3px solid var(--red); padding: 60px 0; text-align: center; max-width: 900px; margin: 0 auto; }
.sw-manifesto-eyebrow { font-size: 0.72rem; font-weight: 800; color: var(--red); letter-spacing: 3px; text-transform: uppercase; }
.sw-manifesto blockquote { font-size: 1.9rem; font-weight: 800; line-height: 1.6; color: var(--black); margin: 20px 0 0; }

/* ===== Services ===== */
.sw-svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--gray-border); border: 1px solid var(--gray-border); }
.sw-svc-card { background: var(--white); padding: 38px 28px; text-align: center; transition: var(--transition); }
.sw-svc-card:hover { background: var(--gray-light); }
.sw-svc-icon { width: 48px; height: 48px; background: var(--red-light); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin: 0 auto 16px; }
.sw-svc-card h4 { font-size: 0.95rem; font-weight: 800; color: var(--black); margin: 0 0 8px; }
.sw-svc-card p { font-size: 0.83rem; color: var(--gray); line-height: 1.9; margin: 0; }

/* ===== Collections ===== */
.sw-collections { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2px; }
.sw-collection { position: relative; overflow: hidden; min-height: 340px; }
.sw-collection img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; transition: transform 0.5s; }
.sw-collection:hover img { transform: scale(1.04); }
.sw-collection-body { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; background: linear-gradient(to top, rgba(17,24,39,0.9), transparent 55%); color: var(--white); }
.sw-collection-body h3 { font-size: 1.1rem; font-weight: 800; margin: 0 0 6px; }
.sw-collection-body p { font-size: 0.83rem; opacity: 0.85; margin: 0; }

/* ===== Skills ===== */
.sw-skills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sw-skill-tag { padding: 10px 24px; border: 1px solid var(--gray-border); font-size: 0.82rem; font-weight: 700; color: var(--black); transition: var(--transition); background: var(--white); }
.sw-skill-tag:hover { border-color: var(--red); color: var(--red); }

/* ===== Portfolio (clean grid) ===== */
.sw-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.sw-gallery-item { overflow: hidden; aspect-ratio: 1; position: relative; }
.sw-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.sw-gallery-item:hover img { transform: scale(1.05); }
.sw-gallery-item figcaption { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 16px; background: linear-gradient(to top, rgba(17,24,39,0.7), transparent 55%); color: var(--white); font-size: 0.82rem; font-weight: 700; opacity: 0; transition: var(--transition); margin: 0; }
.sw-gallery-item:hover figcaption { opacity: 1; }

/* ===== Process ===== */
.sw-process { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2px; background: var(--gray-border); border: 1px solid var(--gray-border); }
.sw-process-step { background: var(--white); padding: 34px 24px; }
.sw-process-num { font-size: 2.2rem; font-weight: 900; color: var(--red); line-height: 1; margin-bottom: 14px; }
.sw-process-step h4 { font-size: 0.98rem; font-weight: 800; color: var(--black); margin: 0 0 8px; }
.sw-process-step p { font-size: 0.83rem; color: var(--gray); line-height: 1.9; margin: 0; }

/* ===== Exhibitions timeline ===== */
.sw-timeline { max-width: 760px; margin: 0 auto; }
.sw-tl-item { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--gray-border); }
.sw-tl-year { font-size: 1.1rem; font-weight: 900; color: var(--red); }
.sw-tl-title { font-size: 1rem; font-weight: 700; color: var(--black); margin: 0 0 4px; }
.sw-tl-venue { font-size: 0.82rem; color: var(--gray); }

/* ===== Clients / Brands ===== */
.sw-clients { display: flex; flex-wrap: wrap; justify-content: center; gap: 1px; background: var(--gray-border); border: 1px solid var(--gray-border); }
.sw-client { background: var(--white); padding: 26px 34px; display: flex; align-items: center; justify-content: center; min-width: 160px; min-height: 90px; }
.sw-client img { max-height: 48px; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: var(--transition); }
.sw-client:hover img { filter: grayscale(0); opacity: 1; }
.sw-client span { font-size: 0.95rem; font-weight: 800; color: var(--gray); }

/* ===== Pricing ===== */
.sw-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2px; align-items: stretch; }
.sw-plan { background: var(--white); border: 1px solid var(--gray-border); padding: 38px 28px; display: flex; flex-direction: column; transition: var(--transition); }
.sw-plan:hover { border-color: var(--black); }
.sw-plan--featured { border-color: var(--red); border-width: 2px; }
.sw-plan-badge { align-self: flex-start; font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--white); background: var(--red); padding: 4px 12px; margin-bottom: 14px; }
.sw-plan h3 { font-size: 1.1rem; font-weight: 800; color: var(--black); margin: 0 0 8px; }
.sw-plan-price { font-size: 1.5rem; font-weight: 900; color: var(--red); margin: 0 0 18px; }
.sw-plan-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; flex: 1; }
.sw-plan-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.84rem; color: var(--gray); }
.sw-plan-features i { color: var(--red); margin-top: 4px; font-size: 0.72rem; }
.sw-plan-note { font-size: 0.78rem; color: var(--gray); margin: 0 0 16px; }

/* ===== Testimonials ===== */
.sw-test-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2px; }
.sw-test-card { background: var(--white); padding: 34px; border: 1px solid var(--gray-border); position: relative; }
.sw-test-card::before { content: '"'; position: absolute; top: 14px; left: 22px; font-size: 3rem; color: var(--red); opacity: 0.25; font-family: serif; line-height: 1; }
.sw-test-stars { color: var(--red); margin-bottom: 12px; font-size: 0.82rem; }
.sw-test-text { color: var(--gray); font-size: 0.86rem; line-height: 2.2; margin: 0 0 14px; }
.sw-test-author { font-weight: 800; font-size: 0.8rem; color: var(--black); }

/* ===== Press ===== */
.sw-press { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sw-press-pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border: 1px solid var(--gray-border); font-size: 0.85rem; font-weight: 700; color: var(--gray); transition: var(--transition); }
.sw-press-pill:hover { border-color: var(--red); color: var(--red); }
.sw-press-pill i { color: var(--red); }

/* ===== FAQ ===== */
.sw-faq { max-width: 800px; margin: 0 auto; }
.sw-faq-item { border: 1px solid var(--gray-border); margin-bottom: -1px; }
.sw-faq-q { width: 100%; text-align: right; background: none; border: none; color: var(--black); font-family: inherit; font-size: 0.92rem; font-weight: 700; padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sw-faq-q i { color: var(--red); transition: var(--transition); flex-shrink: 0; }
.sw-faq-item.is-open .sw-faq-q i { transform: rotate(180deg); }
.sw-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--gray); font-size: 0.85rem; line-height: 2; padding: 0 24px; }
.sw-faq-item.is-open .sw-faq-a { max-height: 420px; padding: 0 24px 20px; }

/* ===== CTA ===== */
.sw-cta { background: var(--black); color: var(--white); padding: 70px 30px; text-align: center; }
.sw-cta h2 { font-size: 1.9rem; font-weight: 900; margin: 0 0 12px; }
.sw-cta p { color: rgba(255,255,255,0.7); margin: 0 0 26px; }

/* ===== Posts (page-services-widget مشترک) ===== */
.sw-section .page-services-tile { border: 1px solid var(--gray-border); border-radius: 0; }
.sw-section .page-services-tile:hover { border-color: var(--red); }

/* ===== Contact ===== */
.sw-contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4px; }
.sw-contact-card { background: var(--black); color: var(--white); padding: 44px; }
.sw-contact-card h3 { font-size: 1.1rem; margin: 0 0 28px; font-weight: 800; }
.sw-cm-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.sw-cm-row > i { width: 36px; height: 36px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; color: var(--red); }
.sw-cm-lbl { font-size: 0.7rem; opacity: 0.5; }
.sw-cm-val { font-weight: 600; font-size: 0.88rem; }
.sw-cm-val a { color: var(--white); }
.sw-cm-val a:hover { color: var(--red); }
.sw-socials { display: flex; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); }
.sw-soc { width: 40px; height: 40px; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1rem; transition: var(--transition); }
.sw-soc:hover { background: var(--red); color: var(--white); }
.sw-map { overflow: hidden; min-height: 420px; }
.sw-map iframe { width: 100%; height: 100%; min-height: 420px; border: none; display: block; }

/* ===== Footer ===== */
.sw-footer { border-top: 1px solid var(--gray-border); padding: 50px 0 0; }
.sw-footer-grid { max-width: 1200px; margin: 0 auto; padding: 0 32px 30px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.sw-footer-brand h3 { font-size: 1.3rem; font-weight: 900; margin: 0 0 12px; }
.sw-footer-brand h3 span.dot { color: var(--red); }
.sw-footer-brand p { font-size: 0.84rem; color: var(--gray); line-height: 2; margin: 0 0 18px; }
.sw-footer h4 { font-size: 0.95rem; margin: 0 0 14px; }
.sw-footer-links a { display: block; font-size: 0.84rem; padding: 6px 0; color: var(--gray); }
.sw-footer-links a:hover { color: var(--red); }
.sw-footer-social { display: flex; gap: 10px; }
.sw-footer-social a { width: 40px; height: 40px; border: 1px solid var(--gray-border); display: flex; align-items: center; justify-content: center; color: var(--black); transition: var(--transition); }
.sw-footer-social a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.sw-footer-bottom { border-top: 1px solid var(--gray-border); padding: 18px 32px; text-align: center; font-size: 0.78rem; color: var(--gray); }

/* ===== FAB ===== */
.sw-fab-stack { position: fixed; bottom: 24px; left: 24px; z-index: 1050; display: flex; flex-direction: column; gap: 12px; }
.sw-fab { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: var(--shadow); transition: var(--transition); }
.sw-fab:hover { transform: translateY(-3px); }
.sw-fab-wa { background: #25D366; color: #fff; }
.sw-fab-call { background: var(--black); color: #fff; }
.sw-fab-book { background: var(--red); color: #fff; }

/* ===== ویجت نوبت‌دهی — تداخل ===== */
#bookingModal { z-index: 10050 !important; }
.modal-backdrop { z-index: 10040 !important; }
body .popover { z-index: 10060 !important; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .sw-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .sw-hero h1 { font-size: 2.4rem; }
    .sw-hero-img img { max-width: 100%; height: 380px; }
    .sw-about { grid-template-columns: 1fr; gap: 50px; }
    .sw-contact-grid { grid-template-columns: 1fr; }
    .sw-gallery { grid-template-columns: repeat(2, 1fr); }
    .sw-footer-grid { grid-template-columns: 1fr 1fr; }
    .sw-manifesto blockquote { font-size: 1.5rem; }
}
@media (max-width: 768px) {
    .sw-nav, .sw-header-actions .sw-nav-book { display: none; }
    .sw-hamburger { display: block; }
    .sw-section { padding: 64px 0; }
    .sw-hero h1 { font-size: 1.9rem; }
    .sw-highlights { grid-template-columns: 1fr; }
    .sw-gallery { grid-template-columns: 1fr; }
    .sw-hero-img img { height: 300px; }
    .sw-about-img::after { display: none; }
    .sw-footer-grid { grid-template-columns: 1fr; }
}
