/* فالوینو — RTL Landing UI */

:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --ink: #1a2332;
    --muted: #6b7a90;
    --line: #e4eaf2;
    --primary: #2d5bff;
    --primary-dark: #1e44d4;
    --primary-soft: #eef2ff;
    --primary-glow: rgba(45, 91, 255, 0.18);
    --hero-bg: linear-gradient(180deg, #f8faff 0%, #eef3ff 55%, #f4f7fb 100%);
    --shadow-sm: 0 4px 16px rgba(26, 35, 50, 0.06);
    --shadow-md: 0 12px 40px rgba(45, 91, 255, 0.12);
    --shadow-lg: 0 24px 60px rgba(26, 35, 50, 0.1);
    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 24px;
    --ok: #16a34a;
    --danger: #dc2626;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.7;
    direction: inherit;
}
html[dir="ltr"] body {
    font-family: Inter, Segoe UI, Tahoma, sans-serif;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 1.25rem)); margin-inline: auto; }

/* Touch-friendly defaults */
@media (hover: none) {
    .btn:hover { transform: none; }
    .service-card:hover { transform: none; }
}

/* ── Header ── */
.site-top {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--line);
}
.site-header {
    position: relative;
    z-index: 101;
    background: #fff;
}
.nav-bar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    padding: .85rem 0;
    position: relative;
}
.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--ink);
}
.brand-logo {
    display: block;
    height: 44px;
    width: auto;
    max-width: min(200px, 55vw);
    object-fit: contain;
}
.brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #3b6dff, #2d5bff);
    box-shadow: 0 6px 16px var(--primary-glow);
}
.nav-center {
    display: none;
    align-items: center;
    gap: .15rem;
}
.nav-center a {
    padding: .5rem .85rem;
    border-radius: 999px;
    color: var(--muted);
    font-size: .92rem;
    font-weight: 500;
    transition: .2s;
}
.nav-center a:hover, .nav-center a.active {
    color: var(--primary);
    background: var(--primary-soft);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.nav-balance {
    display: inline-flex;
    align-items: center;
    padding: .35rem .75rem;
    background: #ecfdf5;
    color: #15803d;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.nav-balance:hover {
    background: #d1fae5;
    color: #166534;
}
.nav-center a.nav-balance {
    background: #ecfdf5;
    color: #15803d;
}
.nav-center a.nav-balance:hover,
.nav-center a.nav-balance.active {
    background: #d1fae5;
    color: #166534;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .72rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: .92rem;
    transition: .2s ease;
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--line);
    color: var(--ink);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: .5rem .95rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-icon { width: 18px; height: 18px; }

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    border: 0;
    cursor: pointer;
    padding: .55rem;
    color: var(--primary);
    border-radius: 10px;
    min-width: 44px;
    min-height: 44px;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle.is-open .icon-open { display: none; }
.menu-toggle.is-open .icon-close { display: block; }
.nav-mobile-only { display: none; }
.nav-desktop-only { display: inline-flex; }
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    /* Must stay BELOW .site-top (z-index:100) so the drawer/menu
       inside the sticky header stacking context stays clickable */
    z-index: 90;
}
body.nav-open { overflow: hidden; }
body.nav-open .site-top {
    z-index: 110;
}

/* ── Hero ── */
.hero-section {
    background: var(--hero-bg);
    padding: 1.25rem 0 2rem;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}
.hero-content { order: 2; }
.quick-order-card { order: 1; } /* mobile: سفارش سریع اول */

.hero-content h1 {
    margin: 0 0 .75rem;
    font-size: clamp(1.45rem, 6vw, 2.35rem);
    font-weight: 800;
    line-height: 1.35;
    color: var(--ink);
}
.hero-content h1 span { color: var(--primary); }
.hero-content > p {
    color: var(--muted);
    margin: 0 0 1rem;
    font-size: .92rem;
    max-width: 480px;
}
.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .8rem;
    background: var(--surface);
    border: 1px solid #d6e0ff;
    border-radius: 12px;
    font-size: .78rem;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}
.hero-pill svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

/* ── Hero art (static) ── */
.hero-art {
    position: relative;
    width: min(100%, 520px);
    margin: 1.1rem auto 0;
    aspect-ratio: 740 / 420;
}
.hero-art-img {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    pointer-events: none;
}

/* ── Quick Order Card ── */
.quick-order-card {
    background: #fff;
    border-radius: 22px;
    padding: 0;
    box-shadow: 0 18px 40px rgba(37, 99, 235, .1);
    border: 1px solid #e8eefc;
    overflow: hidden;
}
.qo-top {
    padding: 1.1rem 1.15rem .9rem;
    background:
        radial-gradient(circle at 90% 10%, rgba(59,109,255,.12), transparent 40%),
        linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
    border-bottom: 1px solid #eef2ff;
}
.qo-top-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}
.qo-top-main { flex: 1; min-width: 0; }
.qo-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .85rem;
}
.qo-step-badge {
    display: inline-flex;
    align-items: center;
    padding: .28rem .7rem;
    border-radius: 999px;
    background: #e8efff;
    color: var(--primary);
    font-size: .72rem;
    font-weight: 700;
}
.qo-step-track {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}
.qo-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: .72rem;
    font-weight: 700;
    background: #e5e7eb;
    color: #6b7280;
}
.qo-dot.is-active,
.qo-dot.is-done {
    background: var(--primary);
    color: #fff;
}
.qo-dot-line {
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: #e5e7eb;
}
.qo-dot-line.is-done { background: var(--primary); }
.qo-title-row {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
}
.qo-title-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, #3b6dff, #2d5bff);
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(45, 91, 255, .28);
}
.qo-title-icon svg { width: 20px; height: 20px; }
.qo-title-icon .qo-icon-check { display: none; }
.quick-order-card[data-step="2"] .qo-title-icon .qo-icon-bolt { display: none; }
.quick-order-card[data-step="2"] .qo-title-icon .qo-icon-check { display: block; }
.qo-heading h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e3a8a;
}
.quick-order-card[data-step="2"] .qo-heading h3 {
    font-size: 1.35rem;
    color: #0f172a;
}
.qo-card-sub {
    margin: .25rem 0 0;
    color: var(--muted);
    font-size: .82rem;
}
.quick-order-card[data-step="2"] .qo-card-sub {
    font-size: .86rem;
    max-width: 28ch;
}
.qo-confirm-art {
    flex-shrink: 0;
    width: 110px;
    display: none;
    place-items: center;
    padding-top: .15rem;
}
.quick-order-card[data-step="2"] .qo-confirm-art:not([hidden]) { display: grid; }
.qo-shield {
    position: relative;
    width: 96px;
    height: 108px;
}
.qo-shield-body {
    position: absolute;
    inset: 0 12px 18px;
    background: linear-gradient(160deg, #5b8cff 0%, #2d5bff 55%, #1d4ed8 100%);
    border-radius: 18px 18px 42% 42%;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 14px 28px rgba(45, 91, 255, .35);
}
.qo-shield-body svg { width: 34px; height: 34px; }
.qo-shield-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(180deg, #dbe7ff, #9db7ff);
    box-shadow: 0 6px 14px rgba(45, 91, 255, .2);
}
.qo-shield-spark {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #93c5fd;
    clip-path: polygon(50% 0%, 65% 35%, 100% 50%, 65% 65%, 50% 100%, 35% 65%, 0% 50%, 35% 35%);
}
.qo-shield-spark.s1 { top: 8%; right: 0; }
.qo-shield-spark.s2 { top: 40%; left: 0; }
.qo-shield-spark.s3 { bottom: 28%; right: 4%; }

.qo-features {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .9rem;
}
.qo-features span {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .32rem .65rem;
    border-radius: 999px;
    background: rgba(255,255,255,.85);
    border: 1px solid #dbe6ff;
    color: var(--primary);
    font-size: .72rem;
    font-weight: 600;
}
.qo-features svg { width: 13px; height: 13px; }

#qoStep1,
#qoStep2 { padding: 1rem 1.15rem 1.15rem; }

.qo-form { display: grid; gap: .85rem; }
.qo-field { display: grid; gap: .4rem; }
.qo-field[hidden] { display: none !important; }
.qo-field label {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 700;
    color: #334155;
    margin: 0;
}
.qo-field label svg {
    width: 15px;
    height: 15px;
    color: var(--primary);
    flex-shrink: 0;
}
.quick-order-card .form-control {
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    min-height: 46px;
    padding: .7rem .9rem;
}
.quick-order-card .qty-control {
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    overflow: hidden;
}
.quick-order-card .qty-control button {
    width: 46px;
    height: 46px;
    background: #eef4ff;
    color: var(--primary);
}
.qo-hint {
    display: flex;
    align-items: flex-start;
    gap: .35rem;
    margin-top: .15rem;
    color: var(--muted);
    font-size: .74rem;
    line-height: 1.5;
}
.qo-hint svg { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; margin-top: .15rem; }

.qo-bottom-grid {
    display: grid;
    gap: .75rem;
}
.qo-desc-box {
    background: #f3f7ff;
    border: 1px solid #dbe6ff;
    border-radius: 14px;
    padding: .85rem;
}
.qo-desc-box.is-dashed {
    border-style: dashed;
    background: #f8faff;
}
.qo-desc-box strong {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    color: #1e3a8a;
}
.qo-desc-box strong svg { width: 15px; height: 15px; color: var(--primary); }
.qo-desc-box ul {
    margin: .55rem 0 0;
    padding-right: 1.1rem;
    color: #64748b;
    font-size: .78rem;
    line-height: 1.7;
}
.qo-price-panel {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: .9rem 1rem;
    text-align: center;
}
.qo-price-panel > span {
    display: block;
    color: #64748b;
    font-size: .8rem;
    margin-bottom: .25rem;
}
.qo-price-panel > strong {
    display: block;
    color: #16a34a;
    font-size: 1.25rem;
    font-weight: 800;
}
.qo-guarantee {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    margin-top: .45rem;
    padding: .2rem .55rem;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: .7rem;
    font-style: normal;
    font-weight: 700;
}
.qo-guarantee svg { width: 12px; height: 12px; }
.qo-primary-btn {
    border-radius: 14px;
    min-height: 48px;
    font-weight: 700;
}

.qo-review-list {
    border: 1px solid #e8eefc;
    border-radius: 16px;
    padding: .35rem .85rem .85rem;
    margin-bottom: .85rem;
    background: #fff;
}
.qo-review-row {
    display: grid;
    grid-template-columns: minmax(6.5rem, 34%) 1fr;
    gap: .65rem;
    align-items: center;
    padding: .7rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.qo-review-label {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #64748b;
    font-size: .78rem;
    font-weight: 600;
}
.qo-review-label svg { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; }
.qo-review-value {
    padding: .55rem .75rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    font-size: .85rem;
    font-weight: 600;
    color: #0f172a;
    word-break: break-word;
}
.qo-link-value { direction: ltr; text-align: left; color: var(--primary); }
.qo-review-list .profile-preview { margin: .35rem 0 .65rem; }
.qo-review-list .qo-desc-box { margin-top: .35rem; }

.qo-pay-card {
    border: 1px solid #e8eefc;
    border-radius: 16px;
    padding: .85rem;
    margin-bottom: .9rem;
    background: #fff;
}
.qo-pay-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .45rem 0;
    color: #64748b;
    font-size: .84rem;
}
.qo-pay-row strong { color: #0f172a; font-weight: 700; }
.qo-pay-row strong.is-green { color: #16a34a; }
.qo-pay-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: .45rem;
    padding: .75rem .85rem;
    border-radius: 12px;
    background: #eef4ff;
    color: #1e3a8a;
    font-weight: 700;
}
.qo-pay-total strong {
    color: var(--primary);
    font-size: 1.05rem;
}

.qo-terms {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    margin: .35rem 0 1rem;
    font-size: .8rem;
    color: #475569;
    cursor: pointer;
}
.qo-terms input {
    margin-top: .15rem;
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}
.qo-actions {
    display: grid;
    grid-template-columns: 1.4fr .9fr;
    gap: .65rem;
}
.qo-actions .btn { width: 100%; border-radius: 14px; min-height: 46px; }
.qo-back-btn { color: var(--primary); border-color: #bfdbfe; background: #fff; }

@media (max-width: 479px) {
    .qo-confirm-art { width: 78px; }
    .qo-shield { width: 72px; height: 84px; }
    .qo-shield-body svg { width: 26px; height: 26px; }
    .qo-actions {
        grid-template-columns: 1fr;
    }
    .qo-actions .qo-back-btn { order: 2; }
}

@media (min-width: 480px) {
    .qo-bottom-grid {
        grid-template-columns: 1.2fr .8fr;
        align-items: stretch;
    }
}

/* ── Stats Bar ── */
.stats-bar {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.1rem .5rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .85rem;
    text-align: center;
}
.stat-item {
    padding: .35rem .5rem;
    position: relative;
}
.stat-item svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
    margin-bottom: .4rem;
}
.stat-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--ink);
}
.stat-item span {
    font-size: .78rem;
    color: var(--muted);
}

/* ── Sections ── */
.section { padding: 2.25rem 0; }
.section-head {
    text-align: center;
    margin-bottom: 1.35rem;
}
.section-head h2 {
    margin: 0 0 .35rem;
    font-size: clamp(1.2rem, 4.5vw, 1.5rem);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
}
.section-head .head-icon {
    width: 22px;
    height: 22px;
    color: var(--primary);
}
.section-head .head-emoji { font-size: .95em; }
.section-head h1 {
    margin: 0 0 .35rem;
    font-size: clamp(1.35rem, 5vw, 1.75rem);
    font-weight: 800;
}
.section-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.section-actions {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}
.services-all-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: 999px;
    padding: .7rem 1.4rem;
}

.service-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    justify-content: center;
    margin-bottom: 1.15rem;
}
.service-filter {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .45rem .9rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    font: inherit;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
}
.service-filter.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ── Service Cards ── */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .85rem;
}
.service-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.25rem 1rem 1.1rem;
    text-align: center;
    transition: .25s;
    box-shadow: var(--shadow-sm);
}
.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.service-badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    padding: .18rem .55rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
}
.service-badge.is-hot { background: #fee2e2; color: #dc2626; }
.service-badge.is-special { background: #ede9fe; color: #7c3aed; }
.service-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    margin: 0 auto .75rem;
    color: #fff;
    background: var(--primary);
}
.service-card-icon .network-icon { color: #fff; }
.service-card-icon.ig { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.service-card-icon.tg { background: linear-gradient(135deg, #37aee2, #1e96c8); }
.service-card-icon.yt { background: linear-gradient(135deg, #ff0000, #cc0000); }
.service-card-icon.tt { background: linear-gradient(135deg, #010101, #69c9d0); }
.service-card-icon.x { background: linear-gradient(135deg, #14171a, #657786); }

.network-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ni, currentColor);
    line-height: 0;
    vertical-align: middle;
}
.network-icon svg { display: block; }
.network-icon--instagram { color: var(--ni, #E4405F); }
.network-icon--telegram { color: var(--ni, #229ED9); }
.network-icon--youtube { color: var(--ni, #FF0000); }
.network-icon--tiktok { color: var(--ni, #111111); }
.network-icon--twitter { color: var(--ni, #0F1419); }
.network-icon--facebook { color: var(--ni, #1877F2); }
.network-icon--whatsapp { color: var(--ni, #25D366); }
.network-icon--aparat { color: var(--ni, #EA1D5D); }
.network-icon--rubika { color: var(--ni, #7C3AED); }
.network-icon--eitaa { color: var(--ni, #F97316); }
.network-icon--bale { color: var(--ni, #00A74F); }
.network-icon--soroush { color: var(--ni, #1D4ED8); }
.network-icon--threads { color: var(--ni, #101010); }
.network-icon--snapchat { color: var(--ni, #C7C400); }
.network-icon--pinterest { color: var(--ni, #E60023); }
.network-icon--linkedin { color: var(--ni, #0A66C2); }
.network-icon--discord { color: var(--ni, #5865F2); }
.network-icon--twitch { color: var(--ni, #9146FF); }
.network-icon--spotify { color: var(--ni, #1DB954); }
.network-icon--soundcloud { color: var(--ni, #FF5500); }
.chip .network-icon,
.service-filter .network-icon { margin-left: .35rem; }

/* انتخابگر شبکه با آیکون */
.qo-net-select {
    position: relative;
}
.qo-net-select__native {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}
.qo-net-select__btn {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .65rem;
    width: 100%;
    text-align: right;
    cursor: pointer;
    min-height: 48px;
}
.qo-net-select__current {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 0;
}
.qo-net-select__placeholder { color: #94a3b8; }
.qo-net-select__chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #64748b;
    transition: transform .15s;
}
.qo-net-select.is-open .qo-net-select__chevron { transform: rotate(180deg); }
.qo-net-select__menu {
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 6px);
    z-index: 40;
    max-height: 280px;
    overflow: auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .12);
    padding: .35rem;
}
.qo-net-select__option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: .7rem;
    border: 0;
    background: transparent;
    padding: .7rem .8rem;
    border-radius: 10px;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: right;
}
.qo-net-select__option:hover,
.qo-net-select__option.is-active {
    background: #eef2ff;
}
.qo-net-select__option-icon {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.qo-net-select__option-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.qo-net-select__option.is-placeholder .qo-net-select__option-label {
    color: #94a3b8;
}
.service-card h3 { margin: 0 0 .35rem; font-size: .95rem; font-weight: 700; }
.service-card p { margin: 0; font-size: .78rem; color: var(--muted); }
.service-card .from-price {
    margin-top: .7rem;
    font-size: .88rem;
    color: #16a34a;
    font-weight: 700;
}

/* ── Why Us ── */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .85rem;
}
.why-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    gap: .85rem;
    text-align: right;
    box-shadow: var(--shadow-sm);
}
.why-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary-soft);
    display: grid;
    place-items: center;
    margin: 0;
    color: var(--primary);
    flex-shrink: 0;
}
.why-card h3 { margin: 0 0 .25rem; font-size: .9rem; font-weight: 700; }
.why-card p { margin: 0; font-size: .78rem; color: var(--muted); }

/* ── Testimonials ── */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.35rem;
    box-shadow: var(--shadow-sm);
}
.testimonial-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .65rem;
}
.testimonial-quote {
    color: var(--primary);
    font-size: 1.6rem;
    line-height: 1;
    font-weight: 700;
}
.testimonial-stars { color: #fbbf24; font-size: .9rem; letter-spacing: 2px; }
.testimonial-card blockquote {
    margin: 0 0 1rem;
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.8;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: .65rem;
}
.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-soft), #c7d4ff);
    display: grid;
    place-items: center;
    font-weight: 700;
    color: var(--primary);
    font-size: .85rem;
}
.testimonial-author strong { display: block; font-size: .88rem; }
.testimonial-author span { font-size: .75rem; color: var(--muted); }
.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: .4rem;
    margin-top: 1rem;
}
.testimonial-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dbe4ff;
}
.testimonial-dots span.is-active { background: var(--primary); }

/* ── Home CTA banner ── */
.home-cta {
    padding: 0 0 2.5rem;
}
.home-cta-banner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.25rem;
    border-radius: 28px;
    background: linear-gradient(135deg, #eef4ff 0%, #f7faff 50%, #e8f0ff 100%);
    border: 1px solid #dbe6ff;
    box-shadow: 0 12px 30px rgba(45, 91, 255, .08);
}
.home-cta-body {
    text-align: center;
    min-width: 0;
}
.home-cta-body h2 {
    margin: 0 0 .45rem;
    font-size: clamp(1.05rem, 3.5vw, 1.45rem);
    font-weight: 800;
    color: #0f172a;
}
.home-cta-body p {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: .88rem;
}
.home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .55rem;
}
.home-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    border-radius: 14px;
    padding: .7rem 1.1rem;
}
.home-cta-primary .cta-arrow {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(255,255,255,.22);
    display: grid;
    place-items: center;
}
.home-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border-radius: 14px;
    background: #fff;
}
.home-cta-art { display: none; }
.cta-clipboard {
    width: 64px;
    height: 78px;
    border-radius: 12px;
    background: linear-gradient(180deg, #fff, #e8efff);
    border: 2px solid #c7d7ff;
    box-shadow: 0 10px 20px rgba(45, 91, 255, .15);
    display: grid;
    align-content: center;
    gap: .45rem;
    padding: .85rem .7rem;
}
.cta-clipboard span {
    display: block;
    height: 8px;
    border-radius: 999px;
    background: #93b4ff;
    position: relative;
}
.cta-clipboard span::before {
    content: '';
    position: absolute;
    right: -2px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: #22c55e;
    box-shadow: inset 0 0 0 2px #fff;
}
.cta-cart {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 35%, #6ea1ff, #2d5bff);
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: 0 14px 28px rgba(45, 91, 255, .3);
}
.cta-cart svg { width: 34px; height: 34px; }

@media (min-width: 640px) {
    .home-cta-art { display: grid; place-items: center; }
}

.breadcrumbs {
    margin: 0 0 1.25rem;
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: .85rem;
    color: var(--muted);
}
.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.breadcrumbs li:not(:last-child)::after {
    content: "/";
    color: var(--line);
}
.breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
}
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }

/* ── Forms ── */
.form-group { margin-bottom: .9rem; }
.form-group label {
    display: block;
    margin-bottom: .35rem;
    font-weight: 600;
    font-size: .85rem;
    color: var(--ink);
}
.form-control {
    width: 100%;
    padding: .75rem .9rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fafbfc;
    outline: none;
    font-size: 1rem; /* avoid iOS zoom */
    min-height: 46px;
    transition: .2s;
}
.form-control:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.qty-control {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #fafbfc;
}
.qty-control button {
    width: 42px;
    height: 42px;
    border: 0;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: 700;
}
.qty-control input {
    flex: 1;
    border: 0;
    text-align: center;
    background: transparent;
    font-weight: 600;
    outline: none;
}
.price-box {
    background: var(--primary-soft);
    border-radius: var(--radius-sm);
    padding: .85rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: .5rem 0 1rem;
}
.price-box span { color: var(--muted); font-size: .85rem; }
.price-box strong { color: var(--primary); font-size: 1.05rem; }

.profile-preview {
    margin-top: .65rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #f8fafc;
    padding: .75rem;
}
.profile-preview.is-loading,
.profile-preview.is-error,
.profile-preview.is-warn { padding: .7rem .85rem; }
.profile-preview-status {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.6;
}
.profile-preview.is-error .profile-preview-status,
.profile-preview.is-warn .profile-preview-status { color: #b45309; }
.profile-preview.is-warn .profile-preview-status { color: #92400e; }
.profile-preview-main {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
}
.profile-preview-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: #e5e7eb;
    flex-shrink: 0;
}
.profile-preview-avatar.is-post {
    width: 56px;
    height: 56px;
    border-radius: 10px;
}
.profile-preview-name {
    font-weight: 700;
    font-size: .92rem;
    line-height: 1.4;
}
.profile-preview-user {
    color: var(--muted);
    font-size: .8rem;
    margin-top: .1rem;
}
.profile-preview-bio {
    margin-top: .35rem;
    font-size: .78rem;
    color: var(--muted);
    line-height: 1.5;
}
.profile-preview-badge {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    color: #1d4ed8;
    background: #dbeafe;
    border-radius: 999px;
    padding: .1rem .45rem;
    margin-right: .25rem;
}
.profile-preview-badge.is-warn {
    color: #92400e;
    background: #fef3c7;
}
.profile-preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .5rem;
    margin-top: .75rem;
    padding-top: .7rem;
    border-top: 1px solid var(--line);
}
.profile-preview-stat { text-align: center; }
.profile-preview-stat strong {
    display: block;
    font-size: .95rem;
    color: var(--ink);
}
.profile-preview-stat span {
    font-size: .72rem;
    color: var(--muted);
}

/* ── Shared (panel/admin) ── */
.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.1rem;
    box-shadow: var(--shadow-sm);
}
.badge {
    display: inline-flex;
    padding: .2rem .55rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    background: var(--primary-soft);
    color: var(--primary);
}
.alert {
    padding: .85rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    border: 1px solid transparent;
    font-size: .9rem;
}
.alert-success { background: #ecfdf5; color: var(--ok); border-color: #bbf7d0; }
.alert-error { background: #fef2f2; color: var(--danger); border-color: #fecaca; }
.panel-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.2rem;
    padding: 1.5rem 0 2.5rem;
}
.sidebar {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: .8rem;
    position: sticky;
    top: 80px;
}
.sidebar a {
    display: block;
    padding: .7rem .85rem;
    border-radius: var(--radius-sm);
    color: var(--muted);
    margin-bottom: .2rem;
    font-size: .9rem;
}
.sidebar a:hover, .sidebar a.active {
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--surface); }
th, td {
    padding: .85rem .75rem;
    border-bottom: 1px solid var(--line);
    text-align: right;
    white-space: nowrap;
    font-size: .88rem;
}
th { color: var(--muted); font-weight: 600; background: #f8fafb; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.2rem; }
.stat-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
}
.price { color: var(--primary); font-weight: 700; }
.filters {
    display: flex;
    gap: .5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 1rem;
    padding-bottom: .25rem;
}
.filters::-webkit-scrollbar { display: none; }
.services-toolbar {
    display: grid;
    gap: .55rem;
    margin-bottom: 1rem;
}
.services-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: .55rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: .15rem .9rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.services-search svg {
    width: 18px;
    height: 18px;
    color: var(--muted);
    flex-shrink: 0;
}
.services-search input {
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    padding: .75rem 0;
    font: inherit;
    color: var(--text);
    min-width: 0;
}
.services-search input::placeholder { color: var(--muted); }
.services-search-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--line);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: services-spin .7s linear infinite;
    flex-shrink: 0;
}
@keyframes services-spin { to { transform: rotate(360deg); } }
.services-search-meta {
    min-height: 1.1rem;
    font-size: .85rem;
    color: var(--muted);
}
#servicesResults.is-loading {
    opacity: .55;
    pointer-events: none;
    transition: opacity .15s ease;
}

/* Prices / tariff table */
.prices-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: .75rem;
    margin-bottom: .65rem;
    align-items: stretch;
}
.prices-search { width: 100%; }
.prices-filter-wrap { display: flex; }
.prices-filter {
    width: 100%;
    height: 100%;
    min-height: 48px;
    border-radius: 14px;
}
.prices-meta {
    min-height: 1.2rem;
    margin-bottom: .85rem;
    color: var(--muted);
    font-size: .88rem;
}
.price-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .05);
}
.price-table-wrap.is-loading {
    opacity: .55;
    pointer-events: none;
    transition: opacity .15s ease;
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}
.price-table th,
.price-table td {
    padding: .85rem .9rem;
    text-align: right;
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    vertical-align: middle;
    font-size: .9rem;
}
.price-table thead th {
    background: #f8fafc;
    color: var(--muted);
    font-weight: 700;
    font-size: .78rem;
    white-space: nowrap;
}
.price-group-row td {
    background: linear-gradient(90deg, rgba(37, 99, 235, .12), rgba(37, 99, 235, .04));
    border-bottom-color: rgba(37, 99, 235, .15);
    padding: .7rem .9rem;
}
.price-group-title {
    display: flex;
    align-items: center;
    gap: .55rem;
}
.price-group-icon {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    font-size: .95rem;
}
.price-group-title em {
    color: var(--muted);
    font-style: normal;
    font-size: .8rem;
    margin-right: auto;
}
.price-id {
    font-weight: 700;
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}
.price-service-name {
    font-weight: 700;
    color: var(--text);
    line-height: 1.45;
}
.price-service-flags {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    margin-top: .35rem;
}
.price-service-flags span {
    font-size: .72rem;
    padding: .15rem .45rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--muted);
}
.price-service-flags .is-hot {
    background: #fff1f2;
    color: #e11d48;
}
.price-rate {
    display: inline-flex;
    align-items: center;
    padding: .35rem .65rem;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 800;
    white-space: nowrap;
}
.price-table .col-id { width: 88px; }
.price-table .col-rate { white-space: nowrap; }
.price-table .col-limit { white-space: nowrap; color: var(--muted); }
.price-table .col-time { white-space: nowrap; color: var(--muted); }
.price-table .col-action { width: 110px; text-align: left; }
.price-service-row:hover td { background: #f8fafc; }

.price-desc-dialog {
    border: 0;
    border-radius: 18px;
    padding: 0;
    max-width: min(520px, calc(100vw - 2rem));
    width: 100%;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
}
.price-desc-dialog::backdrop { background: rgba(15, 23, 42, .45); }
.price-desc-card { margin: 0; }
.price-desc-card header,
.price-desc-card footer,
.price-desc-card p {
    padding: 1rem 1.15rem;
}
.price-desc-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
}
.price-desc-card header h3 {
    margin: 0;
    font-size: 1rem;
}
.price-desc-close {
    border: 0;
    background: transparent;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: var(--muted);
}
.price-desc-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
    white-space: pre-wrap;
}
.price-desc-card footer {
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: flex-start;
}

/* About / Contact pages */
.page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, .8fr);
    gap: 1.25rem;
    align-items: stretch;
    margin-bottom: 1.5rem;
}
.page-hero-copy h1 {
    margin: 0 0 .6rem;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.page-hero-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
    max-width: 46rem;
}
.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1.1rem;
}
.page-hero-panel {
    display: grid;
    gap: .7rem;
    background: linear-gradient(160deg, rgba(37, 99, 235, .12), rgba(37, 99, 235, .03));
    border: 1px solid rgba(37, 99, 235, .14);
    border-radius: 18px;
    padding: 1rem;
}
.page-hero-stat {
    background: #fff;
    border-radius: 14px;
    padding: .85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .15rem;
}
.page-hero-stat strong {
    color: var(--primary);
    font-size: 1.15rem;
}
.page-hero-stat span {
    color: var(--muted);
    font-size: .85rem;
}
.content-card {
    padding: 1.15rem 1.2rem;
}
.content-card h2 {
    margin: 0 0 .7rem;
    font-size: 1.1rem;
}
.content-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.about-list {
    margin: 0;
    padding-right: 1.1rem;
    color: var(--muted);
    line-height: 1.9;
}
.about-list a { color: var(--primary); }
.prose :where(p, ul, ol) {
    color: var(--muted);
    line-height: 1.85;
}
.prose :where(h2, h3) { margin-top: 1.1rem; }

.contact-channels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
    margin-bottom: 1.25rem;
}
.contact-channel {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: 1rem 1.05rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-channel:hover {
    border-color: rgba(37, 99, 235, .35);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}
.contact-channel-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--primary-soft);
    color: var(--primary);
    flex-shrink: 0;
}
.contact-channel-icon svg { width: 20px; height: 20px; }
.contact-channel strong {
    display: block;
    color: var(--text);
    margin-bottom: .15rem;
}
.contact-channel em {
    font-style: normal;
    color: var(--muted);
    font-size: .88rem;
}
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(240px, .8fr);
    gap: 1rem;
    align-items: start;
}
.contact-form { margin-top: 1rem; }
.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}
.contact-form .form-group { margin-bottom: .85rem; }
.contact-form label {
    display: block;
    margin-bottom: .35rem;
    font-weight: 600;
    font-size: .9rem;
}
.contact-hours {
    margin-top: 1.1rem;
    padding: .9rem 1rem;
    border-radius: 14px;
    background: #f8fafc;
    display: grid;
    gap: .25rem;
}
.contact-hours span { color: var(--muted); font-size: .9rem; }

@media (max-width: 900px) {
    .page-hero,
    .about-grid,
    .contact-channels,
    .contact-layout,
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .prices-toolbar { grid-template-columns: 1fr; }
    .price-table { min-width: 0; }
    .price-table thead { display: none; }
    .price-table,
    .price-table tbody,
    .price-table tr,
    .price-table td { display: block; width: 100%; }
    .price-group-row td {
        border-radius: 0;
    }
    .price-service-row {
        padding: .35rem 0 .85rem;
        border-bottom: 8px solid #f1f5f9;
    }
    .price-service-row td {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        border: 0;
        padding: .35rem .9rem;
        text-align: left;
    }
    .price-service-row td::before {
        content: attr(data-label);
        color: var(--muted);
        font-size: .78rem;
        font-weight: 700;
        text-align: right;
        flex: 0 0 42%;
    }
    .price-service-row .col-service {
        flex-direction: column;
        align-items: stretch;
        text-align: right;
        gap: .35rem;
    }
    .price-service-row .col-service::before { flex: none; }
    .price-service-row .col-action {
        justify-content: flex-end;
        padding-top: .7rem;
    }
    .price-service-row .col-action::before { display: none; }
}

.chip {
    padding: .55rem .9rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    font-size: .85rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.chip.active, .chip:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 1.2rem; flex-wrap: wrap; }
.pagination a, .pagination span {
    padding: .4rem .7rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: .85rem;
}
.pagination .active span { background: var(--primary); color: #fff; border-color: var(--primary); }
.empty { text-align: center; padding: 2rem; color: var(--muted); }
.auth-wrap { min-height: calc(100vh - 80px); display: grid; place-items: center; padding: 2rem 0; }
.auth-card {
    width: min(440px, 100%);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.6rem;
    box-shadow: var(--shadow-md);
}
.auth-card-wide { width: min(460px, 100%); }
.auth-tabs { margin-top: .5rem; }
.auth-tab-nav { display: flex; gap: .35rem; margin-bottom: 1rem; background: #f3f4f6; padding: .35rem; border-radius: 12px; }
.auth-tab-btn { flex: 1; border: 0; background: transparent; padding: .55rem .5rem; border-radius: 9px; font-family: inherit; font-size: .82rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.auth-tab-btn.active { background: #fff; color: var(--primary); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.auth-tab-panel { display: none; }
.auth-tab-panel.active { display: block; }
.auth-submit { margin-top: 1rem; width: 100%; }
.btn-google { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; background: #fff; color: #374151; border: 1px solid var(--line); width: 100%; padding: .7rem 1rem; border-radius: 10px; font-weight: 600; text-decoration: none; }
.btn-google:hover { background: #f9fafb; }
.hint { font-size: .78rem; color: var(--muted); margin-top: .35rem; }
.alert-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; padding: .75rem 1rem; border-radius: 10px; margin-bottom: 1rem; font-size: .88rem; }

/* ── Footer ── */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--line);
    padding: 2.5rem 0 1.5rem;
    margin-top: 1rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.footer-brand p { color: var(--muted); font-size: .88rem; margin: .5rem 0 0; }
.footer-col h4 { margin: 0 0 .75rem; font-size: .92rem; }
.footer-col a {
    display: block;
    color: var(--muted);
    font-size: .85rem;
    padding: .25rem 0;
    transition: .2s;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 1.25rem;
    text-align: center;
    color: var(--muted);
    font-size: .82rem;
}

/* ── Responsive (mobile-first enhancements) ── */
@media (min-width: 480px) {
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .container { width: min(1180px, calc(100% - 2rem)); }
    .menu-toggle { display: none; }
    .nav-mobile-only { display: none !important; }
    .nav-desktop-only { display: inline-flex; }
    .nav-center {
        display: flex;
        position: static;
        left: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: .1rem;
        min-width: 0;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        box-shadow: none;
        border: 0;
        padding: 0;
        background: transparent;
        width: auto;
        max-height: none;
        z-index: 1;
        pointer-events: auto;
        -ms-overflow-style: none;
    }
    .nav-center::-webkit-scrollbar { display: none; }
    .nav-center a {
        padding: .42rem .55rem;
        font-size: .84rem;
        white-space: nowrap;
        flex: 0 0 auto;
    }
    .nav-bar > .brand,
    .nav-bar > .nav-actions {
        position: relative;
        z-index: 3;
        flex-shrink: 0;
    }
    .nav-actions {
        gap: .4rem;
    }
    .nav-balance {
        max-width: 9.5rem;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: .78rem;
        padding: .3rem .6rem;
    }
    html[lang="en"] .nav-center a,
    html[lang="ar"] .nav-center a {
        padding: .4rem .48rem;
        font-size: .82rem;
    }
    .hero-section { padding: 2rem 0 2.5rem; }
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: center;
    }
    .hero-content { order: 1; }
    .quick-order-card { order: 2; }
    .hero-art {
        width: min(100%, 560px);
        margin-inline: 0;
    }
    .quick-order-card { padding: 0; }
    .stats-bar {
        grid-template-columns: repeat(3, 1fr);
        padding: 1.25rem 1rem;
        margin-top: -1rem;
        gap: 0;
    }
    .stat-item {
        padding: .75rem 1rem;
    }
    .stat-item:not(:nth-child(3n)) {
        border-left: 1px solid var(--line);
    }
    .section { padding: 3rem 0; }
    .services-grid, .why-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .filters { flex-wrap: wrap; overflow: visible; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4, .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .form-row { grid-template-columns: 1fr 1fr; }
    .panel-layout { grid-template-columns: 240px 1fr; }
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.05fr .95fr;
        gap: 2.5rem;
    }
    .hero-content { order: 1; }
    .quick-order-card { order: 2; }
    .stats-bar {
        grid-template-columns: repeat(6, 1fr);
        padding: 1.35rem .5rem;
    }
    .stat-item:not(:nth-child(3n)) { border-left: 0; }
    .stat-item:not(:last-child) { border-left: 1px solid var(--line); }
    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .why-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

/* Mobile nav drawer */
@media (max-width: 767.98px) {
    .nav-bar {
        display: flex;
        justify-content: space-between;
        gap: .75rem;
    }
    .nav-center {
        display: none;
    }
    .nav-center.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: min(88vw, 320px);
        max-width: 100%;
        z-index: 105;
        background: var(--surface);
        border-left: 1px solid var(--line);
        padding: 5rem 1rem 1.5rem;
        box-shadow: var(--shadow-lg);
        gap: .35rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-center.open a {
        display: block;
        padding: .9rem 1rem;
        font-size: 1rem;
        border-radius: 12px;
    }
    .nav-mobile-only { display: block; }
    .nav-desktop-only { display: none !important; }
    .menu-toggle {
        display: inline-flex;
        z-index: 106;
    }
    .menu-toggle.is-open {
        position: fixed;
        top: .85rem;
        left: max(1rem, env(safe-area-inset-left));
        right: auto;
    }
    .qty-control button {
        width: 48px;
        height: 48px;
    }
    .btn-block { min-height: 48px; }
    .service-card, .why-card, .card {
        padding: 1.1rem;
    }
    th, td { white-space: normal; }
    .auth-wrap { padding: 1.25rem 0; min-height: auto; }
    .auth-card { padding: 1.25rem; border-radius: 16px; }
}

/* Prefer reduced motion on mobile animations */
@media (prefers-reduced-motion: reduce) {
    .rocket-body, .social-float, .rocket-flame { animation: none !important; }
}
