/* =====================================================================
   آسان‌پایا – استایل اصلی
   رنگ سازمانی: زرد (#FFD200) روی زمینه تیره (#0B1220)
   ===================================================================== */

@font-face {
    font-family: 'Vazirmatn';
    src: url('../vendor/fonts/Vazirmatn[wght].woff2') format('woff2 supports variations'),
         url('../vendor/fonts/Vazirmatn[wght].woff2') format('woff2-variations');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --ap-yellow:       #FFD200;
    --ap-yellow-2:     #FFB800;
    --ap-yellow-3:     #FFE45C;
    --ap-yellow-soft:  #FFF7CC;
    --ap-yellow-glow:  rgba(255, 210, 0, .35);
    --ap-dark:         #0B1220;
    --ap-dark-2:       #141C2E;
    --ap-dark-3:       #1E2A44;
    --ap-ink:          #1F2937;
    --ap-muted:        #6B7280;
    --ap-line:         #E5E7EB;
    --ap-bg:           #F6F7FA;
    --ap-radius:       16px;
    --ap-radius-sm:    10px;
    --ap-shadow:       0 10px 30px rgba(15, 23, 42, .08);
    --ap-shadow-lg:    0 30px 60px rgba(2, 6, 23, .25);
    --header-h:        52px;

    --bs-font-sans-serif: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-color: var(--ap-ink);
    --bs-link-color: #B45309;
    --bs-link-hover-color: #92400E;
    --bs-border-radius: var(--ap-radius-sm);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    font-family: var(--bs-font-sans-serif);
    background: #fff;
    color: var(--ap-ink);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.8;
}
img { max-width: 100%; }
a { text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.5; color: var(--ap-dark); }
.text-brand { color: var(--ap-yellow-2) !important; }
.bg-brand { background: var(--ap-yellow) !important; }

.skip-link {
    position: absolute; top: -60px; right: 16px; z-index: 2000;
    background: var(--ap-yellow); color: #111; padding: 8px 14px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

/* ---------- دکمه سازمانی زرد ---------- */
.btn-brand {
    --bs-btn-color: #111;
    --bs-btn-bg: var(--ap-yellow);
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #111;
    --bs-btn-hover-bg: var(--ap-yellow-2);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-color: #111;
    --bs-btn-active-bg: var(--ap-yellow-2);
    --bs-btn-active-border-color: transparent;
    --bs-btn-focus-shadow-rgb: 255, 210, 0;
    --bs-btn-font-weight: 800;
    background-image: linear-gradient(180deg, #FFE24A 0%, #FFD200 55%, #FFC400 100%);
    box-shadow: 0 8px 20px var(--ap-yellow-glow), inset 0 1px 0 rgba(255, 255, 255, .5);
    border-radius: 12px;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-brand:hover { filter: saturate(1.1) brightness(1.02); transform: translateY(-1px); box-shadow: 0 12px 26px var(--ap-yellow-glow), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-brand:active { transform: translateY(0); }
.btn-brand i { margin-inline-end: 4px; }
.btn-outline-dark { --bs-btn-border-radius: 12px; font-weight: 700; border-radius: 12px; }
.btn-lg { padding: .75rem 1.5rem; font-size: 1.05rem; }

/* ---------- فرم‌ها ---------- */
.form-label { font-weight: 700; font-size: .9rem; margin-bottom: .35rem; }
.form-label .req { color: #DC2626; }
.form-control, .form-select {
    border-radius: var(--ap-radius-sm);
    border-color: #D1D5DB;
    padding: .65rem .9rem;
    min-height: 48px;
    font-size: 1rem;
}
.form-control:focus, .form-select:focus { border-color: var(--ap-yellow-2); box-shadow: 0 0 0 .25rem rgba(255, 210, 0, .28); }
.form-control.is-invalid, .form-select.is-invalid { border-color: #DC2626; }
.form-check-input:checked { background-color: var(--ap-yellow-2); border-color: var(--ap-yellow-2); }
.form-check-input:focus { border-color: var(--ap-yellow-2); box-shadow: 0 0 0 .25rem rgba(255, 210, 0, .28); }
.input-icon { position: relative; }
.input-icon > i { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-start: 14px; color: var(--ap-muted); pointer-events: none; }
.input-icon > .form-control { padding-inline-start: 42px; }
.input-icon > .form-control[dir="ltr"] { text-align: left; padding-left: 42px; padding-right: .9rem; }
.input-icon > .form-control[dir="ltr"] + i, .input-icon[dir="ltr"] > i { left: 14px; right: auto; }
.form-alert { border-radius: var(--ap-radius-sm); padding: 12px 16px; font-size: .95rem; font-weight: 600; }
.form-alert.error { background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.form-alert.success { background: #F0FDF4; color: #166534; border: 1px solid #BBF7D0; }
.invalid-feedback { display: block; font-size: .8rem; }

/* =====================================================================
   هدر (ارتفاع ۵۰ پیکسل، هم‌عرض کانتینر ۱۳۲۰)
   ===================================================================== */
.site-header {
    position: sticky; top: 0; z-index: 1030;
    background: var(--ap-dark);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(2, 6, 23, .35); }
.header-inner {
    position: relative;
    height: var(--header-h);
    display: flex;
    align-items: center;
    gap: 6px;
}
.brand { display: inline-flex; align-items: center; height: 100%; flex-shrink: 0; }
.brand-logo { height: 36px; width: auto; max-width: 144px; display: block; object-fit: contain; }

.header-nav { display: flex; align-items: center; height: 100%; margin-inline-start: 8px; }
.header-nav .nav-link {
    color: #E5E7EB;
    font-weight: 600;
    font-size: .95rem;
    padding: 0 14px;
    height: var(--header-h);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: 0;
    position: relative;
    white-space: nowrap;
    transition: color .15s;
}
.header-nav .nav-link i { font-size: 1rem; color: var(--ap-yellow); }
.header-nav .nav-link::after {
    /* bottom: -1px تا خط زرد روی border-bottom تیره هدر بیفتد و زیرش خط سیاه دیده نشود */
    content: ''; position: absolute; bottom: -1px; right: 14px; left: 14px; height: 3px;
    background: var(--ap-yellow); border-radius: 3px 3px 0 0; transform: scaleX(0); transition: transform .2s;
}
.header-nav .nav-link:hover, .header-nav .nav-link.active, .mega-open .mega-toggle { color: var(--ap-yellow); }
.header-nav .nav-link:hover::after, .header-nav .nav-link.active::after, .mega-open .mega-toggle::after { transform: scaleX(1); }
.mega-toggle .chev { font-size: .65rem !important; color: currentColor !important; transition: transform .2s; }
.mega-open .mega-toggle .chev { transform: rotate(180deg); }

.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; height: 100%; }
.header-phone {
    color: #fff; display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: .95rem; letter-spacing: .3px; white-space: nowrap;
    line-height: 1; height: 36px;
    transition: color .15s;
}
.header-phone span { display: block; line-height: 1; transform: translateY(2px); } /* ارقام فونت وزیرمتن کمی بالاتر از وسط خط هستند */
/* آیکون و شماره هر دو دقیقاً وسط ارتفاع هدر (حذف جابه‌جایی پیش‌فرض آیکون‌فونت) */
.header-phone i { color: var(--ap-yellow); font-size: 1rem; display: inline-flex; align-items: center; line-height: 1; }
.header-phone i::before { vertical-align: 0; }
.header-phone:hover { color: var(--ap-yellow); }
.header-phone-icon { width: 36px; height: 36px; border-radius: 10px; justify-content: center; background: rgba(255,255,255,.06); }
.btn-header {
    height: 36px; padding: 0 16px; display: inline-flex; align-items: center; gap: 6px;
    font-size: .9rem; border-radius: 10px; white-space: nowrap;
}
.btn-header i { font-size: 1.05rem; margin: 0; }
.hamburger {
    width: 38px; height: 36px; border: 0; background: rgba(255,255,255,.06); border-radius: 10px;
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ap-yellow); border-radius: 2px; }

/* ---------- منوی کشویی محصولات ---------- */
.mega-menu {
    position: absolute; top: 100%; right: 0; left: 0;
    background: #fff; color: var(--ap-ink);
    border-radius: 0 0 var(--ap-radius) var(--ap-radius);
    border-top: 3px solid var(--ap-yellow);
    box-shadow: var(--ap-shadow-lg);
    padding: 18px;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 1031;
}
.mega-open .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.mega-item {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 12px; border-radius: 12px; color: inherit;
    transition: none; /* هاور فوری؛ با transition جابه‌جایی بین آیتم‌ها کند به نظر می‌رسید */
}
.mega-item:hover { background: var(--ap-yellow-soft); color: inherit; transform: translateY(-1px); }
.mega-icon {
    width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
    background: var(--ap-yellow); color: #111;
    display: grid; place-items: center; font-size: 1.25rem;
    box-shadow: 0 6px 14px var(--ap-yellow-glow);
}
.mega-text { min-width: 0; }
.mega-text strong { display: block; font-size: .95rem; font-weight: 800; line-height: 1.5; }
.mega-text small { display: block; color: var(--ap-muted); font-size: .76rem; line-height: 1.7; margin-top: 2px; }
@media (max-width: 1399.98px) { .mega-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1199.98px) { .mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991.98px) { .mega-menu { display: none; } }

/* ---------- منوی موبایل ---------- */
.mobile-menu { --bs-offcanvas-width: 320px; --bs-offcanvas-bg: var(--ap-dark); --bs-offcanvas-color: #fff; background: var(--ap-dark); color: #fff; }
.mobile-menu .offcanvas-header { border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-phone {
    display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700;
    background: rgba(255,255,255,.05); border-radius: 12px; padding: 12px 14px; margin-bottom: 18px;
}
.mobile-phone i { color: var(--ap-yellow); }
.mobile-section-title { font-size: .8rem; color: #9CA3AF; font-weight: 700; margin: 12px 0 6px; display: flex; gap: 6px; align-items: center; }
.mobile-section-title i { color: var(--ap-yellow); }
.mobile-products, .mobile-links { list-style: none; margin: 0; padding: 0; }
.mobile-products a, .mobile-links a {
    display: flex; align-items: center; gap: 12px; color: #E5E7EB; padding: 11px 10px;
    border-radius: 10px; font-size: .95rem; font-weight: 500;
}
.mobile-products a:hover, .mobile-links a:hover { background: rgba(255,255,255,.06); color: var(--ap-yellow); }
.mobile-products a > i:first-child, .mobile-links a > i:first-child {
    width: 34px; height: 34px; border-radius: 9px; background: rgba(255,210,0,.12); color: var(--ap-yellow);
    display: grid; place-items: center; font-size: 1rem; flex-shrink: 0;
}

/* =====================================================================
   بخش‌های عمومی
   ===================================================================== */
.section { padding: 56px 0; }
.section-alt { background: var(--ap-bg); }
.section-title { font-size: 1.6rem; font-weight: 900; position: relative; padding-inline-start: 16px; margin-bottom: 8px; }
.section-title::before {
    content: ''; position: absolute; inset-inline-start: 0; top: .35em; bottom: .25em; width: 6px;
    background: var(--ap-yellow); border-radius: 6px;
}
.section-sub { color: var(--ap-muted); margin: 0; padding-inline-start: 16px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.section-head .link-more { font-weight: 700; color: var(--ap-ink); }
.section-head .link-more:hover { color: var(--ap-yellow-2); }

/* =====================================================================
   اسلایدر صفحه اصلی
   ===================================================================== */
.hero { padding: 20px 0 0; }
.hero-slide {
    position: relative; height: 440px;
    border-radius: var(--ap-radius); overflow: hidden;
    display: flex; align-items: center;
    background: var(--ap-dark);
}
.hero-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.hero-slide::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(11,18,32,0) 35%, rgba(11,18,32,.55) 65%, rgba(11,18,32,.85) 100%);
}
.hero-slide-content { position: relative; z-index: 1; max-width: 600px; padding: 0 56px; color: #fff; }
.hero-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,210,0,.14); color: var(--ap-yellow);
    border: 1px solid rgba(255,210,0,.4); border-radius: 100px;
    padding: 5px 14px; font-size: .85rem; font-weight: 700; margin-bottom: 16px;
}
/* آیکون دقیقاً هم‌تراز وسط متن (حذف جابه‌جایی پیش‌فرض آیکون‌فونت) */
.hero-kicker i { display: inline-flex; align-items: center; line-height: 1; font-size: 1rem; }
.hero-kicker i::before { vertical-align: 0; }
.hero-slide h2 { color: #fff; font-size: 2.2rem; font-weight: 900; line-height: 1.4; margin-bottom: 12px; }
.hero-slide p { font-size: 1.05rem; color: #D1D5DB; line-height: 1.9; margin-bottom: 24px; }
.hero-slide .btn-outline-light { border-radius: 12px; font-weight: 700; }
.carousel-control-prev, .carousel-control-next { width: 56px; opacity: .8; }
.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 44px; height: 44px; border-radius: 50%; background-color: rgba(255,255,255,.15); background-size: 45%;
    backdrop-filter: blur(4px);
}
.hero .carousel-indicators { margin-bottom: 12px; }
.hero .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 0; opacity: .5; }
.hero .carousel-indicators .active { background: var(--ap-yellow); opacity: 1; width: 26px; border-radius: 6px; }

/* ۴ آیکون موضوعی زیر اسلایدر */
.hero-tabs {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
    margin-top: -30px; position: relative; z-index: 2; padding: 0 28px;
}
.hero-tab {
    background: #fff; border: 1.5px solid var(--ap-line); border-radius: 14px;
    padding: 14px 16px; display: flex; align-items: center; gap: 12px;
    cursor: pointer; box-shadow: var(--ap-shadow); text-align: start; color: var(--ap-ink);
    transition: transform .2s; font: inherit; /* رنگ تب فعال بدون تاخیر عوض می‌شود */
}
.hero-tab:hover { transform: translateY(-2px); }
.hero-tab.active { border-color: var(--ap-yellow); box-shadow: 0 12px 30px rgba(255, 210, 0, .28); }
.hero-tab i {
    width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
    background: var(--ap-yellow-soft); color: #111;
    display: grid; place-items: center; font-size: 1.25rem;
}
.hero-tab.active i { background: var(--ap-yellow); box-shadow: 0 6px 14px var(--ap-yellow-glow); }
.hero-tab strong { display: block; font-size: .95rem; font-weight: 800; }
.hero-tab small { display: block; color: var(--ap-muted); font-size: .75rem; }

/* =====================================================================
   کارت‌های خدمات / محصولات
   ===================================================================== */
.service-card {
    display: flex; flex-direction: column; align-items: flex-start; height: 100%;
    background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-radius);
    padding: 26px 22px; color: inherit; position: relative; overflow: hidden;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service-card::before {
    content: ''; position: absolute; top: -40px; inset-inline-end: -40px; width: 120px; height: 120px;
    background: var(--ap-yellow-soft); border-radius: 50%; transition: transform .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--ap-shadow); border-color: var(--ap-yellow); color: inherit; }
.service-card:hover::before { transform: scale(1.6); }
.service-icon {
    position: relative; width: 64px; height: 64px; border-radius: 18px;
    background: var(--ap-dark); color: var(--ap-yellow);
    display: grid; place-items: center; font-size: 1.8rem; margin-bottom: 18px;
}
.service-card h3 { position: relative; font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.service-card p { position: relative; color: var(--ap-muted); font-size: .9rem; margin: 0 0 14px; flex: 1; }
.service-card .more { position: relative; font-weight: 700; color: var(--ap-ink); font-size: .9rem; display: inline-flex; align-items: center; gap: 4px; }
.service-card:hover .more { color: var(--ap-yellow-2); }

.product-card {
    display: flex; align-items: center; gap: 14px; height: 100%;
    background: #fff; border: 1px solid var(--ap-line); border-radius: 14px; padding: 16px; color: inherit;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--ap-shadow); border-color: var(--ap-yellow); color: inherit; }
.product-card .p-icon {
    width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
    background: var(--ap-yellow); color: #111; display: grid; place-items: center; font-size: 1.35rem;
}
.product-card strong { display: block; font-size: .95rem; font-weight: 800; }
.product-card small { display: block; color: var(--ap-muted); font-size: .78rem; line-height: 1.6; }

.feature-card {
    height: 100%; background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-radius); padding: 22px 20px;
    transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--ap-shadow); }
.feature-icon {
    width: 52px; height: 52px; border-radius: 14px; background: var(--ap-yellow-soft); color: #111;
    display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 14px;
}
.feature-card h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 6px; }
.feature-card p { color: var(--ap-muted); font-size: .88rem; margin: 0; line-height: 1.8; }

/* چرا ما */
.why-band { background: var(--ap-dark); color: #fff; padding: 48px 0; position: relative; overflow: hidden; }
.why-band::before {
    content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,210,0,.25), transparent 70%); top: -200px; left: -120px;
}
.why-item { display: flex; gap: 14px; align-items: flex-start; position: relative; }
.why-item i { width: 48px; height: 48px; border-radius: 12px; background: var(--ap-yellow); color: #111; display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.why-item strong { display: block; color: #fff; font-size: 1rem; font-weight: 800; }
.why-item span { color: #9CA3AF; font-size: .88rem; }

/* CTA */
.cta-box {
    background: linear-gradient(135deg, #FFE45C 0%, #FFD200 50%, #FFC400 100%);
    border-radius: var(--ap-radius); padding: 36px 40px; color: #111;
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    box-shadow: 0 20px 40px var(--ap-yellow-glow);
}
.cta-box h2 { color: #111; font-size: 1.5rem; margin-bottom: 6px; }
.cta-box p { margin: 0; color: #3F3F46; }
.cta-box .btn-dark { border-radius: 12px; font-weight: 800; padding: .75rem 1.5rem; background: var(--ap-dark); border-color: var(--ap-dark); }

/* =====================================================================
   شرکای تجاری
   ===================================================================== */
.partners { padding: 48px 0; border-top: 1px solid var(--ap-line); background: #fff; }
.partners-head { margin-bottom: 24px; }
.partners-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; }
.partner {
    flex: 1 1 150px; max-width: 190px; min-width: 130px; height: 74px;
    border: 1px solid var(--ap-line); border-radius: 14px; background: #fff;
    display: flex; align-items: center; justify-content: center; padding: 14px 18px;
    filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s, transform .2s, border-color .2s;
}
.partner:hover { filter: none; opacity: 1; transform: translateY(-2px); border-color: var(--ap-yellow); }
.partner img { max-height: 40px; width: auto; max-width: 100%; }

/* =====================================================================
   فوتر
   ===================================================================== */
.site-footer { background: var(--ap-dark); color: #CBD5E1; padding: 56px 0 0; margin-top: 0; }
.footer-top { padding-bottom: 36px; }
.footer-brand { display: inline-block; margin-bottom: 14px; }
.footer-about { font-size: .9rem; line-height: 1.9; color: #9CA3AF; margin-bottom: 12px; }
.footer-hours { font-size: .85rem; color: #9CA3AF; }
.footer-hours i { color: var(--ap-yellow); }
.footer-title { color: #fff; font-weight: 800; font-size: 1rem; margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.footer-title::after { content: ''; position: absolute; bottom: 0; inset-inline-start: 0; width: 28px; height: 3px; background: var(--ap-yellow); border-radius: 3px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #CBD5E1; font-size: .9rem; transition: color .15s, padding .15s; }
.footer-links a:hover { color: var(--ap-yellow); padding-inline-start: 4px; }
.footer-social-text { font-size: .88rem; color: #9CA3AF; }
.social-links { display: flex; gap: 10px; }
/* هاور: آیکون سر جای خود (بدون جابه‌جایی) می‌ماند؛ فقط رنگ آیکون زرد و یک حاشیه نازک دور کادر نمایش داده می‌شود */
.social {
    width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
    background: rgba(255,255,255,.06); color: #fff; font-size: 1.3rem; line-height: 1;
    box-shadow: inset 0 0 0 1px transparent;
    transition: background .15s, color .15s, box-shadow .15s;
}
.social i { display: block; line-height: 1; }
.social i::before { vertical-align: 0; display: block; }
.social:hover, .social:focus-visible { color: var(--ap-yellow); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1.5px var(--ap-yellow); }
.social:focus { outline: none; }
.social:focus:not(:focus-visible):not(:hover) { color: #fff; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px transparent; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0 24px;
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px;
}
.footer-contact { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .88rem; }
.footer-contact a, .footer-contact span { color: #CBD5E1; display: inline-flex; align-items: center; gap: 6px; }
.footer-contact a:hover { color: var(--ap-yellow); }
.footer-contact i { color: var(--ap-yellow); }
.copyright { font-size: .85rem; color: #9CA3AF; }

/* =====================================================================
   صفحات داخلی
   ===================================================================== */
.page-hero { background: var(--ap-dark); color: #fff; padding: 22px 0 36px; position: relative; overflow: hidden; }
.page-hero::before {
    content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,210,0,.22), transparent 68%); top: -260px; left: -160px; pointer-events: none;
}
.page-hero::after {
    content: ''; position: absolute; inset: auto -80px -160px auto; width: 320px; height: 320px; border-radius: 50%;
    border: 40px solid rgba(255,255,255,.03); pointer-events: none;
}
.page-hero .container { position: relative; }
.crumbs .breadcrumb { margin-bottom: 14px; font-size: .82rem; }
.crumbs .breadcrumb-item a { color: #9CA3AF; }
.crumbs .breadcrumb-item a:hover { color: var(--ap-yellow); }
.crumbs .breadcrumb-item span { color: #9CA3AF; }
.crumbs .breadcrumb-item.active { color: var(--ap-yellow); }
.crumbs .breadcrumb-item + .breadcrumb-item::before { color: #4B5563; content: '‹'; float: right; padding-left: .5rem; }
.page-hero-inner { display: flex; align-items: center; gap: 22px; }
.page-hero-icon {
    width: 76px; height: 76px; border-radius: 22px; flex-shrink: 0;
    background: var(--ap-yellow); color: #111; display: grid; place-items: center; font-size: 2.1rem;
    box-shadow: 0 14px 30px var(--ap-yellow-glow);
}
.page-hero-text { flex: 1; min-width: 0; }
.page-hero h1 { color: #fff; font-size: 1.9rem; font-weight: 900; margin-bottom: 8px; }
.page-hero .lead { color: #D1D5DB; font-size: 1rem; line-height: 1.9; margin: 0; max-width: 780px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.badge-pill {
    display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 700;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 100px; padding: 5px 12px; color: #E5E7EB;
}
.badge-pill i { color: var(--ap-yellow); }
.page-hero-cta { flex-shrink: 0; }

/* ---------- آیکون‌فونت داخل کادرهای آیکون: دقیقاً وسط از بالا و پایین ----------
   bootstrap-icons به‌طور پیش‌فرض آیکون را vertical-align: -.125em پایین می‌برد و ارتفاع خط متن
   (line-height بدنه) هم فضای اضافه بالا/پایین می‌سازد؛ در کادرهای مربعی آیکون از وسط خارج می‌شد. */
.page-hero-icon > .bi, .request-head-icon > .bi, .mega-icon > .bi, .success-icon > .bi, .lic-icon > .bi,
.service-icon > .bi, .p-icon > .bi, .feature-icon > .bi, .stat-card .s-icon > .bi, .session-icon > .bi,
.step-dot > .bi, .msg-avatar > .bi, .panel-toggle > .bi {
    display: block; line-height: 1;
}
.page-hero-icon > .bi::before, .request-head-icon > .bi::before, .mega-icon > .bi::before, .success-icon > .bi::before, .lic-icon > .bi::before,
.service-icon > .bi::before, .p-icon > .bi::before, .feature-icon > .bi::before, .stat-card .s-icon > .bi::before, .session-icon > .bi::before,
.step-dot > .bi::before, .msg-avatar > .bi::before, .panel-toggle > .bi::before {
    display: block; /* ارتفاع آیکون = اندازه خودش؛ بدون فضای اضافه خط فونت متن */
}
/* کادرهایی که خود تگ i کادر است (display: grid): آیکون آیتم گرید است و فقط ارتفاع خط باید ۱ باشد */
.hero-tab i.bi, .why-item i.bi, .contact-card i.ci, .info-list li i.bi, .auth-points li i.bi, .quick-links a i.bi,
.mobile-products a > i.bi:first-child, .mobile-links a > i.bi:first-child, .settings-menu .dropdown-item i.bi, .settings-grid a i.bi {
    line-height: 1;
}

/* کارت فرم درخواست */
.request-section { margin-top: -22px; position: relative; z-index: 2; margin-bottom: 8px; }
.request-card {
    background: #fff; border-radius: var(--ap-radius); box-shadow: var(--ap-shadow-lg);
    border: 1px solid var(--ap-line); padding: 28px; position: relative; overflow: hidden;
}
.request-card::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 5px; background: linear-gradient(90deg, var(--ap-yellow-2), var(--ap-yellow), var(--ap-yellow-3)); }
.request-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.request-head-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--ap-yellow-soft); color: #111; display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0; }
.request-title { font-size: 1.25rem; font-weight: 900; margin-bottom: 4px; }
.request-sub { margin: 0; color: var(--ap-muted); font-size: .9rem; }
.request-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.request-hint { color: var(--ap-muted); font-size: .85rem; display: inline-flex; align-items: center; gap: 6px; }
.request-hint i { color: var(--ap-yellow-2); }
.btn-submit { min-width: 190px; justify-content: center; }
.fixed-price {
    display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap;
    background: var(--ap-yellow-soft); border: 1px dashed var(--ap-yellow-2); border-radius: 12px; padding: 14px 18px;
}
.fixed-price-label { font-weight: 700; }
.fixed-price-value { font-size: 1.5rem; font-weight: 900; color: #111; font-variant-numeric: tabular-nums; }
.fixed-price-note { color: var(--ap-muted); font-size: .85rem; flex-basis: 100%; }
.request-success { text-align: center; padding: 24px 12px; }
.success-icon { width: 76px; height: 76px; border-radius: 50%; background: #DCFCE7; color: #16A34A; display: grid; place-items: center; font-size: 2.4rem; margin: 0 auto 16px; }
.request-success h3 { font-size: 1.3rem; }
.request-success .tracking { font-size: 1.2rem; letter-spacing: 1px; color: var(--ap-ink); }

/* بدنه متنی */
.content-body { background: #fff; border-radius: var(--ap-radius); border: 1px solid var(--ap-line); padding: 32px; }
.content-body h2 { font-size: 1.3rem; margin: 28px 0 12px; padding-inline-start: 14px; position: relative; }
.content-body h2:first-child { margin-top: 0; }
.content-body h2::before { content: ''; position: absolute; inset-inline-start: 0; top: .3em; bottom: .3em; width: 5px; background: var(--ap-yellow); border-radius: 5px; }
.content-body h3 { font-size: 1.05rem; margin: 20px 0 8px; }
.content-body p { color: #374151; line-height: 2; margin-bottom: 14px; }
.content-body ul, .content-body ol { color: #374151; line-height: 2; padding-inline-start: 22px; margin-bottom: 14px; }
.content-body li::marker { color: var(--ap-yellow-2); }
.content-body .note { background: var(--ap-yellow-soft); border-inline-start: 4px solid var(--ap-yellow); border-radius: 10px; padding: 12px 16px; margin: 16px 0; font-size: .92rem; }
.content-body table { width: 100%; font-size: .92rem; }
.content-body .table > :not(caption) > * > * { padding: .7rem .9rem; }
.content-body .table thead th { background: var(--ap-yellow-soft); font-weight: 800; border-bottom: 2px solid var(--ap-yellow); }
.side-card { background: #fff; border-radius: var(--ap-radius); border: 1px solid var(--ap-line); padding: 24px; }
.side-card h3 { font-size: 1.05rem; margin-bottom: 14px; }
.sticky-side { position: sticky; top: calc(var(--header-h) + 20px); }
.check-list { list-style: none; padding: 0; margin: 0 0 8px; }
.check-list li { position: relative; padding-inline-start: 28px; margin-bottom: 10px; font-size: .92rem; color: #374151; }
.check-list li::before {
    content: '\F26B'; font-family: 'bootstrap-icons'; position: absolute; inset-inline-start: 0; top: 0;
    width: 20px; height: 20px; border-radius: 50%; background: var(--ap-yellow); color: #111;
    display: grid; place-items: center; font-size: .75rem; margin-top: 4px;
}

/* آکاردئون سوالات */
.faq-accordion {
    --bs-accordion-border-color: var(--ap-line);
    --bs-accordion-border-radius: 14px;
    --bs-accordion-inner-border-radius: 13px;
    --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(255, 210, 0, .28);
    --bs-accordion-active-bg: var(--ap-yellow-soft);
    --bs-accordion-active-color: #111;
    --bs-accordion-btn-padding-y: 1.1rem;
    --bs-accordion-btn-padding-x: 1.25rem;
    --bs-accordion-btn-icon-width: 1rem;
}
.faq-accordion .accordion-item { margin-bottom: 10px; border-radius: 14px !important; overflow: hidden; }
.faq-accordion .accordion-button { font-weight: 700; font-size: .98rem; }
.faq-accordion .accordion-button:not(.collapsed) { box-shadow: none; }
.faq-accordion .accordion-button::after { filter: none; }
.faq-accordion .accordion-body { color: #374151; line-height: 2; font-size: .93rem; background: #fff; }
.faq-cat-title { font-size: 1.1rem; font-weight: 800; margin: 28px 0 12px; display: flex; align-items: center; gap: 8px; }
.faq-cat-title:first-child { margin-top: 0; }
.faq-cat-title i { color: var(--ap-yellow-2); }

/* تماس با ما */
.contact-card { background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-radius); padding: 24px; height: 100%; display: flex; gap: 16px; align-items: flex-start; }
.contact-card i.ci { width: 52px; height: 52px; border-radius: 14px; background: var(--ap-yellow); color: #111; display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0; }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.contact-card p, .contact-card a { margin: 0; color: #374151; font-size: .93rem; }
.contact-card a:hover { color: var(--ap-yellow-2); }
.license-box { background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-radius); padding: 22px; text-align: center; height: 100%; }
.license-box .lic-icon { width: 80px; height: 80px; border-radius: 20px; background: var(--ap-bg); border: 1px dashed #CBD5E1; margin: 0 auto 14px; display: grid; place-items: center; font-size: 2rem; color: var(--ap-muted); }
.license-box .lic-seal { min-height: 80px; margin: 0 auto 14px; display: grid; place-items: center; }
.license-box .lic-seal img { max-width: 100%; height: auto; max-height: 125px; }
.license-box strong { display: block; font-size: .95rem; }
.license-box span { color: var(--ap-muted); font-size: .82rem; }
.map-box { border-radius: var(--ap-radius); overflow: hidden; border: 1px solid var(--ap-line); background: var(--ap-bg); min-height: 280px; display: grid; place-items: center; color: var(--ap-muted); position: relative; }
.map-box .map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px); background-size: 28px 28px; }
.map-box .map-pin { position: relative; text-align: center; }
.map-box .map-pin i { font-size: 3rem; color: #DC2626; }

/* ثبت تخلف */
.report-card { background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-radius); padding: 28px; box-shadow: var(--ap-shadow); }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .92rem; color: #374151; }
.info-list li i { width: 36px; height: 36px; border-radius: 10px; background: var(--ap-yellow-soft); color: #111; display: grid; place-items: center; flex-shrink: 0; }

/* =====================================================================
   صفحات ورود / ثبت‌نام (جدا از سایت)
   ===================================================================== */
.auth-body { background: var(--ap-bg); min-height: 100vh; }
.auth-wrap { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100vh; }
.auth-side {
    background: var(--ap-dark); color: #fff; padding: 48px; position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between;
}
.auth-side::before {
    content: ''; position: absolute; width: 640px; height: 640px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,210,0,.35), transparent 65%); bottom: -300px; left: -200px;
}
.auth-side::after {
    content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%;
    border: 50px solid rgba(255,255,255,.03); top: -120px; right: -120px;
}
.auth-side > * { position: relative; }
.auth-side-title { font-size: 2rem; font-weight: 900; color: #fff; line-height: 1.5; margin: 30px 0 14px; }
.auth-side-title span { color: var(--ap-yellow); }
.auth-side p { color: #9CA3AF; font-size: 1rem; max-width: 460px; }
.auth-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.auth-points li { display: flex; gap: 12px; align-items: center; color: #E5E7EB; font-weight: 600; }
.auth-points li i { width: 36px; height: 36px; border-radius: 10px; background: var(--ap-yellow); color: #111; display: grid; place-items: center; }
.auth-side-foot { color: #6B7280; font-size: .85rem; }
.auth-main { display: flex; align-items: center; justify-content: center; padding: 32px 16px; }
.auth-card { width: 100%; max-width: 460px; background: #fff; border-radius: 22px; padding: 36px 32px; box-shadow: var(--ap-shadow); border: 1px solid var(--ap-line); }
.auth-card .auth-logo { display: flex; justify-content: center; margin-bottom: 22px; }
.auth-card .auth-logo img { height: 40px; }
.auth-card h1 { font-size: 1.45rem; font-weight: 900; margin-bottom: 6px; text-align: center; }
.auth-card .auth-sub { color: var(--ap-muted); text-align: center; font-size: .92rem; margin-bottom: 22px; }
.auth-step[hidden] { display: none !important; }
.otp-input {
    font-size: 1.9rem; letter-spacing: .55em; text-align: center; direction: ltr; font-weight: 800;
    font-variant-numeric: tabular-nums; padding-left: .55em; min-height: 62px;
}
.otp-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: .88rem; }
.otp-timer { font-weight: 800; color: var(--ap-ink); font-variant-numeric: tabular-nums; direction: ltr; }
.otp-timer.expired { color: #DC2626; }
.btn-link-brand { color: #B45309; font-weight: 700; padding: 0; text-decoration: none; background: none; border: 0; }
.btn-link-brand:disabled { color: #9CA3AF; }
.phone-preview { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--ap-bg); border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; font-weight: 700; }
.phone-preview span { direction: ltr; font-variant-numeric: tabular-nums; }
.dev-code {
    background: #FFFBEB; border: 1px dashed var(--ap-yellow-2); border-radius: 10px; padding: 10px 14px; margin-top: 14px;
    font-size: .85rem; color: #92400E; display: flex; align-items: center; gap: 8px;
}
.dev-code strong { font-size: 1.1rem; letter-spacing: 3px; direction: ltr; }
.auth-foot { text-align: center; font-size: .9rem; color: var(--ap-muted); margin-top: 22px; }
.auth-foot a { font-weight: 700; }
.auth-back { display: inline-flex; align-items: center; gap: 6px; color: var(--ap-muted); font-size: .85rem; margin-top: 18px; }
.auth-back:hover { color: var(--ap-ink); }
@media (max-width: 991.98px) {
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-side { display: none; }
    .auth-main { align-items: flex-start; padding-top: 40px; }
}
@media (max-width: 575.98px) {
    .auth-card { padding: 28px 20px; border-radius: 18px; }
    .otp-input { font-size: 1.6rem; letter-spacing: .4em; padding-left: .4em; }
}

/* =====================================================================
   پنل کاربری
   ===================================================================== */
.panel-body { background: var(--ap-bg); min-height: 100vh; }
.panel-wrap { display: flex; min-height: 100vh; }
.panel-sidebar {
    --bs-offcanvas-width: 290px;
    --bs-offcanvas-bg: var(--ap-dark);
    --bs-offcanvas-color: #fff;
    --bs-offcanvas-padding-x: 18px;
    --bs-offcanvas-padding-y: 18px;
    width: 270px; flex-shrink: 0; background: var(--ap-dark); color: #fff;
    position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 22px 18px;
}
@media (min-width: 992px) {
    .panel-sidebar { background-color: var(--ap-dark) !important; }
}
.panel-sidebar .offcanvas-header { padding: 0 0 18px; }
.panel-sidebar .offcanvas-body { padding: 0; display: flex; flex-direction: column; }
.panel-user { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.05); border-radius: 14px; padding: 12px 14px; margin-bottom: 18px; }
.panel-user .avatar { width: 44px; height: 44px; border-radius: 12px; background: var(--ap-yellow); color: #111; display: grid; place-items: center; font-size: 1.3rem; font-weight: 900; flex-shrink: 0; }
.panel-user strong { display: block; color: #fff; font-size: .95rem; line-height: 1.4; }
.panel-user small { color: #9CA3AF; direction: ltr; display: inline-block; }
.panel-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.panel-nav a {
    display: flex; align-items: center; gap: 12px; color: #CBD5E1; padding: 11px 14px; border-radius: 12px; font-weight: 600; font-size: .95rem;
    transition: background .15s, color .15s;
}
.panel-nav a i { font-size: 1.1rem; width: 22px; text-align: center; }
.panel-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.panel-nav a.active { background: var(--ap-yellow); color: #111; }
.panel-nav a.active i { color: #111; }
.panel-nav .divider { height: 1px; background: rgba(255,255,255,.08); margin: 10px 0; }
.panel-nav a.logout { color: #FCA5A5; }
.panel-nav a.logout:hover { background: rgba(220,38,38,.15); color: #FEE2E2; }
.panel-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.panel-topbar {
    height: 62px; background: #fff; border-bottom: 1px solid var(--ap-line);
    display: flex; align-items: center; gap: 12px; padding: 0 24px; position: sticky; top: 0; z-index: 1020;
}
.panel-topbar h1 { font-size: 1.15rem; margin: 0; }
.panel-topbar .top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.panel-content { padding: 24px; flex: 1; }
.panel-toggle { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--ap-line); background: #fff; display: grid; place-items: center; font-size: 1.2rem; }
.stat-card { background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-radius); padding: 20px; display: flex; align-items: center; gap: 14px; }
.stat-card .s-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--ap-yellow-soft); color: #111; display: grid; place-items: center; font-size: 1.4rem; flex-shrink: 0; }
.stat-card strong { display: block; font-size: 1.5rem; font-weight: 900; line-height: 1.2; }
.stat-card span { color: var(--ap-muted); font-size: .85rem; }
.panel-card { background: #fff; border: 1px solid var(--ap-line); border-radius: var(--ap-radius); padding: 22px; }
.panel-card h2 { font-size: 1.1rem; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.panel-card h2 a { font-size: .85rem; font-weight: 700; }
.table-req { font-size: .9rem; margin: 0; }
.table-req th { font-weight: 800; color: var(--ap-muted); font-size: .8rem; border-bottom-width: 2px; white-space: nowrap; }
.table-req td { vertical-align: middle; white-space: nowrap; }
.table-req td.wrap { white-space: normal; min-width: 160px; }
.status { display: inline-flex; align-items: center; gap: 6px; border-radius: 100px; padding: 3px 12px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-new { background: #FEF9C3; color: #854D0E; }
.status-processing { background: #DBEAFE; color: #1E40AF; }
.status-done { background: #DCFCE7; color: #166534; }
.status-canceled { background: #FEE2E2; color: #991B1B; }
.empty-state { text-align: center; padding: 40px 16px; color: var(--ap-muted); }
/* فقط آیکون اصلی (فرزند مستقیم) بزرگ می‌شود؛ آیکون داخل دکمه‌ها تحت تاثیر قرار نمی‌گیرد */
.empty-state > i { font-size: 3rem; line-height: 1; color: #D1D5DB; display: block; margin-bottom: 10px; }
.empty-state p { margin: 0 0 16px; }
.empty-state .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; max-width: 100%; white-space: normal; }
.empty-state .btn i { font-size: 1em; margin: 0; }
@media (max-width: 575.98px) {
    .empty-state { padding: 28px 12px; }
    .empty-state > i { font-size: 2.5rem; }
}
.quick-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.quick-links a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--ap-line); border-radius: 12px; color: var(--ap-ink); font-weight: 700; font-size: .9rem; transition: border-color .15s, background .15s; }
.quick-links a i { width: 34px; height: 34px; border-radius: 9px; background: var(--ap-yellow-soft); display: grid; place-items: center; flex-shrink: 0; }
.quick-links a:hover { border-color: var(--ap-yellow); background: #FFFDF0; }
@media (max-width: 991.98px) {
    .panel-sidebar { position: fixed; height: 100%; width: 290px; padding: 18px; }
    .panel-topbar { padding: 0 16px; }
    .panel-content { padding: 16px; }
}

/* =====================================================================
   واکنش‌گرایی عمومی
   ===================================================================== */
@media (max-width: 1199.98px) {
    .hero-slide h2 { font-size: 1.9rem; }
}
@media (max-width: 991.98px) {
    .section { padding: 44px 0; }
    .section-title { font-size: 1.35rem; }
    .hero-slide { height: 400px; }
    .hero-slide-content { padding: 0 32px; max-width: 520px; }
    .hero-slide h2 { font-size: 1.7rem; }
    .hero-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; padding: 0; }
    .carousel-control-prev, .carousel-control-next { display: none; }
    .page-hero h1 { font-size: 1.55rem; }
    .page-hero-icon { width: 62px; height: 62px; font-size: 1.7rem; border-radius: 18px; }
    .content-body { padding: 24px 20px; }
    .sticky-side { position: static; }
    /* تبلت و موبایل: متن و دکمه‌ها زیر هم و وسط‌چین (جلوگیری از خالی ماندن سمت چپ کادر) */
    .cta-box { padding: 28px 24px; flex-direction: column; justify-content: center; text-align: center; gap: 20px; }
    .cta-box .cta-actions { justify-content: center; }
}
@media (max-width: 767.98px) {
    .hero { padding-top: 12px; }
    /* موبایل: محتوا وسط‌چین؛ ارتفاع ثابت نیست تا متن بلند بریده نشود */
    .hero-slide { height: auto; min-height: 380px; align-items: center; justify-content: center; }
    .hero-slide-img { object-position: center; }
    .hero-slide::after { background: linear-gradient(180deg, rgba(11,18,32,.55) 0%, rgba(11,18,32,.8) 50%, rgba(11,18,32,.92) 100%); }
    /* padding پایین برای جا دادن نشانگرهای اسلایدر بدون هم‌پوشانی با دکمه‌ها */
    .hero-slide-content { width: 100%; max-width: 100%; padding: 28px 20px 48px; text-align: center; }
    .hero-kicker { margin-bottom: 12px; }
    .hero-slide h2 { font-size: 1.45rem; margin-bottom: 10px; }
    .hero-slide p { font-size: .92rem; line-height: 1.85; margin: 0 auto 18px; max-width: 460px; }
    .hero-actions { justify-content: center; }
    .hero-slide .btn { font-size: .9rem; padding: .55rem 1rem; }
    .page-hero { padding-bottom: 30px; }
    .page-hero-inner { gap: 14px; }
    .request-card { padding: 22px 18px; }
    .request-section { margin-top: -18px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .partner { flex-basis: 120px; min-width: 110px; height: 64px; }
    .partners { padding: 36px 0; }
}
@media (max-width: 575.98px) {
    .header-inner { gap: 4px; }
    .brand-logo { max-width: 128px; height: 32px; }
    .btn-header { padding: 0 12px; }
    .hero-slide { min-height: 400px; }
    .hero-slide h2 { font-size: 1.3rem; }
    .hero-actions .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; }
    .hero-tabs { gap: 8px; }
    .hero-tab { padding: 12px; gap: 10px; }
    .hero-tab i { width: 36px; height: 36px; font-size: 1.1rem; }
    .hero-tab strong { font-size: .85rem; }
    .hero-tab small { display: none; }
    .page-hero-icon { display: none; }
    .page-hero h1 { font-size: 1.35rem; }
    .page-hero .lead { font-size: .92rem; }
    .section { padding: 36px 0; }
    .section-title { font-size: 1.2rem; }
    .content-body { padding: 20px 16px; }
    .content-body h2 { font-size: 1.1rem; }
    .cta-box h2 { font-size: 1.2rem; }
    .cta-box .cta-actions { width: 100%; }
    .cta-box .btn-dark { width: 100%; }
    .request-actions .btn-submit { width: 100%; }
    .partner { flex-basis: calc(50% - 8px); max-width: none; }
}
@media (max-width: 379.98px) {
    .brand-logo { max-width: 112px; height: 28px; }
    .btn-header { padding: 0 10px; font-size: .82rem; }
    .header-phone-icon { width: 32px; }
    .hero-tabs { grid-template-columns: 1fr 1fr; }
    .hero-tab { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- اعلان‌های toast (پیام خطا/موفقیت) ---------- */
.toast-container { z-index: 1090; max-width: 100%; }
.toast-container .toast { width: 360px; max-width: 100%; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.toast-container .toast-body { flex: 1 1 auto; min-width: 0; padding: .8rem 1rem; line-height: 1.9; overflow-wrap: anywhere; }
.toast-container .toast .btn-close { flex-shrink: 0; margin: 0 .75rem; opacity: .85; }
.toast-container .toast .btn-close:hover { opacity: 1; }
@media (max-width: 575.98px) {
    .toast-container { left: 0 !important; right: 0 !important; padding: .75rem !important; }
    .toast-container .toast { width: 100%; }
}
