/* ========================================
   GLOBAL SETUP
   ======================================== */
:root {
    --header-height: 92.4px;
    --primary-blue: #2563eb;
    --primary-blue-dark: #1d4ed8;
    --text-slate: #0f172a;
    --muted-slate: #6b7280;
    --surface-white: #ffffff;
    --surface-glass: rgba(255, 255, 255, 0.94);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    background: #f8fafc;
    color: var(--text-slate);
    line-height: 1.65;
}

body.has-site-header {
    padding-top: var(--header-height);
}

body.has-site-header .page-shell {
    display: block;
    padding-top: clamp(1.5rem, 5vw, 3rem);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 24px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(59, 130, 246, 0.82));
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.26);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: #ffffff;
    color: #1e3a8a;
    border: 1px solid rgba(30, 64, 175, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 6px 14px rgba(30, 64, 175, 0.08);
}

.btn-secondary:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.28);
    color: #0f3fad;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 18px rgba(30, 64, 175, 0.12);
}

/* ========================================
   HEADER
   ======================================== */
header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
    color: var(--text-slate);
    overflow: visible;
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header.is-scrolled {
    height: calc(var(--header-height) - 8px);
}

.header__inner {
    width: min(100% - 48px, 1280px);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(0.8rem, 2vw, 1.6rem);
    padding: clamp(14px, 2vw, 22px) clamp(16px, 4vw, 26px);
    border-radius: 22px;
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
    transition: box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
    overflow: visible;
    position: relative;
    box-sizing: border-box;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    color: var(--text-slate);
    text-align: right;
    flex-wrap: nowrap;
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.brand > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.brand img {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(219, 234, 254, 0.6);
    padding: 8px;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.22);
}

.brand__title {
    font-size: 1.04rem;
    white-space: nowrap;
}

.brand__subtitle {
    font-size: 0.85rem;
    color: rgba(71, 85, 105, 0.8);
    white-space: nowrap;
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.8rem, 2vw, 1.2rem);
    font-weight: 500;
    flex-wrap: wrap;
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    position: relative;
    overflow: visible;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: #374151;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

nav a:hover {
    color: var(--primary-blue-dark);
    background: rgba(37, 99, 235, 0.08);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
}

nav a.is-active {
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.16);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

/* ========================================
   DROPDOWN MENU
   ======================================== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown > a::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.nav-dropdown.is-open > a::after {
    transform: rotate(180deg);
}

.nav-dropdown.is-open > a,
.nav-dropdown > a:hover {
    color: #f97316;
    background: rgba(249, 115, 22, 0.15);
}

.nav-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    padding: 8px;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
}

.nav-dropdown.is-open .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dropdown__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 12px;
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    position: relative;
}

.nav-dropdown__item:hover,
.nav-dropdown__item.is-active {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
    transform: translateX(-3px);
}

.nav-dropdown__item.is-active {
    background: rgba(249, 115, 22, 0.25);
    color: #fb923c;
}

/* Nested dropdown (dropdown inside dropdown) */
.nav-dropdown__item.nav-dropdown {
    padding: 0;
}

.nav-dropdown__item.nav-dropdown > a {
    padding: 12px 16px;
    color: rgba(226, 232, 240, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 12px;
    width: 100%;
    justify-content: space-between;
}

/* Removed ::after arrow for nested dropdown */

.nav-dropdown__item.nav-dropdown.is-open > a,
.nav-dropdown__item.nav-dropdown > a:hover {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
}

.nav-dropdown__item.nav-dropdown .nav-dropdown__menu {
    position: absolute;
    right: calc(100% + 8px);
    top: 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1001;
}

.nav-dropdown__item.nav-dropdown.is-open .nav-dropdown__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.nav-dropdown__item.nav-dropdown .nav-dropdown__item {
    font-size: 0.85rem;
    padding: 10px 14px;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__actions .btn {
    min-height: 36px;
    padding: 0 18px;
    font-size: 0.86rem;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(37, 99, 235, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.menu-toggle span {
    width: 22px;
    height: 2.4px;
    border-radius: 999px;
    background: #1d4ed8;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav__divider,
.mobile-nav__actions,
.mobile-nav__meta {
    display: none;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    position: relative;
    padding: 60px 0 36px;
    background: linear-gradient(160deg, #0f172a 0%, #0b1120 55%, #020617 100%);
    color: rgba(226, 232, 240, 0.9);
}

.footer__container {
    width: min(100% - 64px, 1150px);
    margin: 0 auto;
}

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: flex-start;
}

.footer__section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__section--brand {
    gap: 14px;
}

.footer__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(96, 165, 250, 0.18);
    color: rgba(191, 219, 254, 0.95);
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.footer__brand img {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.45);
    padding: 6px;
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.2);
}

.footer__subtitle {
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.86rem;
}

.footer__tagline {
    color: rgba(226, 232, 240, 0.75);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer__social {
    display: flex;
    gap: 10px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.25);
    display: grid;
    place-items: center;
    color: #e2e8f0;
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.footer__social a:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.55);
    background: rgba(30, 41, 59, 0.72);
}

.footer__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 16px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.footer__cta--primary {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(59, 130, 246, 0.82));
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.26);
}

.footer__cta--secondary {
    background: rgba(15, 23, 42, 0.52);
    border: 1px solid rgba(148, 163, 184, 0.28);
    color: rgba(226, 232, 240, 0.82);
}

.footer__title {
    font-size: 1rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer__title::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.85);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}

.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer__links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 14px;
    color: rgba(226, 232, 240, 0.78);
    background: rgba(15, 23, 42, 0.36);
    border: 1px solid rgba(148, 163, 184, 0.16);
    transition: transform 0.2s ease, background 0.2s ease;
}

.footer__links a::before {
    content: '›';
    font-size: 1.1rem;
    color: rgba(148, 163, 184, 0.78);
}

.footer__links a:hover {
    transform: translateX(-3px);
    background: rgba(59, 130, 246, 0.18);
}

.footer__contact-list,
.footer__phones {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.footer__contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: rgba(226, 232, 240, 0.8);
}

.footer__contact-label {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.7);
}

.footer__contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__contact-link:hover {
    color: #ffffff;
}

.footer__phone {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border-radius: 14px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.32);
    color: #f8fafc;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer__phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.24);
}

.footer__bottom {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.86rem;
    color: rgba(203, 213, 225, 0.78);
}

.footer__bottom-links {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.footer__bottom-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__bottom-links a:hover {
    color: #ffffff;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1020px) {
    .footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "brand brand"
            "contact contact"
            "products phones";
    }

    .footer__cta-group {
        gap: 8px;
    }
}

@media (max-width: 900px) {
    nav {
        display: none;
    }

    nav.is-open {
        display: flex;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .mobile-nav__divider,
    .mobile-nav__actions,
    .mobile-nav__meta {
        display: block;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 105.6px;
    }

    body.has-site-header {
        padding-top: var(--header-height);
    }

    body.has-site-header .page-shell {
        padding-top: clamp(1.25rem, 6vw, 2.4rem);
    }

    .header__inner {
        position: relative;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
    }

    .brand {
        gap: 0.5rem;
    }

    .brand img {
        width: 48px;
        height: 48px;
    }

    .brand__title {
        font-size: 0.94rem;
        line-height: 1.3;
    }

    .brand__subtitle {
        font-size: 0.74rem;
    }

    .header__actions {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .header__actions > .btn {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        width: 44px;
        height: 44px;
        border-radius: 14px;
        background: rgba(37, 99, 235, 0.12);
        border: 1px solid rgba(37, 99, 235, 0.2);
        justify-self: end;
    }

    nav {
        position: absolute;
        top: calc(100% + 12px);
        left: 50%;
        transform: translate(-50%, -8px);
        width: min(100% - 32px, 360px);
        padding: 20px 18px;
        background: rgba(255, 255, 255, 0.98);
        border-radius: 22px;
        border: 1px solid rgba(148, 163, 184, 0.15);
        box-shadow: 0 28px 56px rgba(15, 23, 42, 0.22);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        flex-direction: column;
        gap: 6px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease;
        z-index: 999;
    }

    nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }

    nav a {
        justify-content: flex-start;
        width: 100%;
        padding: 12px 18px;
        border-radius: 16px;
        font-size: 0.95rem;
        font-weight: 600;
        color: #0f172a;
        background: rgba(248, 250, 255, 0.9);
        border: 1px solid rgba(148, 163, 184, 0.18);
        box-shadow: none;
    }

    nav a + a {
        margin-top: 8px;
    }

    nav a:hover {
        color: var(--primary-blue-dark);
        background: rgba(219, 234, 254, 0.92);
        border-color: rgba(37, 99, 235, 0.24);
    }

    nav a.is-active {
        color: var(--primary-blue-dark);
        background: rgba(219, 234, 254, 0.98);
        border-color: rgba(37, 99, 235, 0.3);
    }

    /* Mobile dropdown styles - Accordion style */
    .nav-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .nav-dropdown > a {
        width: 100%;
        justify-content: space-between;
        padding: 12px 18px;
        padding-right: 40px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 1);
        border: 1px solid rgba(148, 163, 184, 0.2);
        color: #0f172a;
        position: relative;
    }

    /* Hide desktop arrow in mobile */
    .nav-dropdown > a::after {
        content: '+' !important;
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%) !important;
        font-size: 1.2rem;
        font-weight: 300;
        color: #64748b;
        transition: color 0.2s ease;
        line-height: 1;
        display: block;
    }

    .nav-dropdown.is-open > a {
        background: rgba(219, 234, 254, 0.95);
        border-color: rgba(37, 99, 235, 0.4);
        color: #1e40af;
        font-weight: 600;
    }

    .nav-dropdown.is-open > a::after {
        content: '−' !important;
        color: #1e40af;
        font-weight: 400;
        transform: translateY(-50%) !important;
    }

    .nav-dropdown__menu {
        position: static !important;
        display: block !important;
        width: 100%;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        background: transparent;
        border: none;
        margin-top: 8px;
        margin-right: 0;
        border-radius: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        box-shadow: none;
        transition: max-height 0.3s ease, margin-top 0.2s ease;
    }

    .nav-dropdown.is-open .nav-dropdown__menu {
        max-height: 2000px;
        margin-top: 8px;
        padding: 0;
    }

    .nav-dropdown__item {
        color: #475569;
        padding: 10px 14px;
        font-size: 0.9rem;
        background: rgba(255, 255, 255, 1);
        border-radius: 12px;
        margin-top: 4px;
        border: 1px solid rgba(148, 163, 184, 0.15);
    }

    /* Removed ::before for cleaner look */

    .nav-dropdown__item:hover,
    .nav-dropdown__item.is-active {
        background: rgba(249, 115, 22, 0.1);
        color: #f97316;
        transform: none;
        border-color: rgba(249, 115, 22, 0.25);
    }

    .nav-dropdown__item.is-active {
        background: rgba(249, 115, 22, 0.15);
        color: #ea580c;
        border-color: rgba(249, 115, 22, 0.3);
        font-weight: 500;
    }

    /* Mobile nested dropdown styles - Accordion style */
    .nav-dropdown__item.nav-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-top: 4px;
    }

    .nav-dropdown__item.nav-dropdown > a {
        width: 100%;
        justify-content: space-between;
        padding: 10px 16px;
        padding-right: 36px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 1);
        border: 1px solid rgba(148, 163, 184, 0.2);
        font-size: 0.9rem;
        color: #475569;
        position: relative;
    }

    .nav-dropdown__item.nav-dropdown > a::after {
        content: '+' !important;
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%) !important;
        font-size: 1.1rem;
        font-weight: 300;
        color: #64748b;
        transition: color 0.2s ease;
        line-height: 1;
        display: block;
    }

    .nav-dropdown__item.nav-dropdown.is-open > a {
        background: rgba(249, 115, 22, 0.12);
        border-color: rgba(249, 115, 22, 0.35);
        color: #ea580c;
        font-weight: 600;
    }

    .nav-dropdown__item.nav-dropdown.is-open > a::after {
        content: '−' !important;
        color: #ea580c;
        font-weight: 400;
        transform: translateY(-50%) !important;
    }

    .nav-dropdown__item.nav-dropdown .nav-dropdown__menu {
        position: static !important;
        right: auto;
        top: auto;
        margin-right: 0;
        margin-top: 6px;
        min-width: auto;
        width: 100%;
        max-height: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        overflow: hidden;
        transition: max-height 0.3s ease, margin-top 0.2s ease;
    }

    .nav-dropdown__item.nav-dropdown.is-open .nav-dropdown__menu {
        max-height: 2000px;
        margin-top: 6px;
        padding: 0;
    }

    .nav-dropdown__item.nav-dropdown .nav-dropdown__item {
        padding: 8px 24px;
        font-size: 0.85rem;
        border-radius: 8px;
        margin-top: 2px;
        background: rgba(255, 255, 255, 1);
        border: 1px solid rgba(148, 163, 184, 0.12);
        color: #64748b;
    }

    .nav-dropdown__item.nav-dropdown .nav-dropdown__item:hover {
        background: rgba(249, 115, 22, 0.08);
        color: #f97316;
        border-color: rgba(249, 115, 22, 0.2);
    }

    .nav-dropdown__item.nav-dropdown .nav-dropdown__item.is-active {
        background: rgba(249, 115, 22, 0.12);
        color: #ea580c;
        border-color: rgba(249, 115, 22, 0.25);
        font-weight: 500;
    }

    .footer__grid {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "brand"
            "contact"
            "products"
            "phones";
    }

    .footer__cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 640px) {
    header {
        padding: 6px 0;
    }

    .header__inner {
        width: calc(100% - 24px);
        padding: 10px 14px;
    }

    .brand img {
        width: 44px;
        height: 44px;
    }

    .brand__title {
        font-size: 0.9rem;
        line-height: 1.35;
    }

    .brand__subtitle {
        font-size: 0.72rem;
        white-space: normal;
    }
}
