/* ===== Variables — светлая тема, лёгкая ===== */
:root {
    --color-primary: #2563eb;
    --color-primary-hover: #1d4ed8;
    --color-primary-soft: rgba(37, 99, 235, 0.08);
    --color-accent: #0ea5e9;
    --color-accent-soft: rgba(14, 165, 233, 0.1);
    --color-bg: #fafbfc;
    --color-bg-elevated: #ffffff;
    --color-bg-card: #ffffff;
    --color-border: rgba(0, 0, 0, 0.06);
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-text-soft: #94a3b8;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --header-height: 0px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 12px);
}
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    padding-top: var(--header-height);
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Noise — очень лёгкий */
.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    z-index: 1000;
}

/* ===== Header — два уровня (GigaNet-стиль) ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: #ffffff;
    transition: box-shadow 0.22s ease;
}
.header.is-scrolled {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}
.header-contacts-bar {
    padding: 12px 0;
    background: transparent;
    width: 100%;
}
/* Десктоп: максимально компактная шапка по высоте */
@media (min-width: 993px) {
    .header-contacts-bar {
        padding: 4px 0;
    }
    .header-main {
        padding: 4px 0 8px;
        min-height: 0;
    }
    .logo-img {
        height: 44px;
    }
    .header-nav__link {
        padding: 6px 10px;
        font-size: 1rem;
    }
    .has-dropdown .header-nav__link {
        padding-right: 4px;
    }
    .header-nav__chevron {
        width: 24px;
        height: 30px;
        margin: 0 1px 0 -4px;
    }
    .btn-personal-cabinet {
        padding: 8px 16px;
        font-size: 0.9375rem;
        border-radius: 8px;
    }
}
.header-contacts {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    column-gap: clamp(12px, 2vw, 24px);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-muted);
}
.header-contacts > li {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
}
.header-contacts > li:first-child { justify-content: flex-start; text-align: left; }
.header-contacts > li:last-child { justify-content: flex-end; text-align: right; }
.header-contacts > li:nth-child(2),
.header-contacts > li:nth-child(3) {
    justify-content: center;
    text-align: center;
}
.header-contact {
    display: inline-flex;
    align-items: center;
    justify-content: inherit;
    gap: 8px;
    max-width: 100%;
    color: var(--color-text-muted);
    transition: color 0.2s;
}
a.header-contact:hover { color: var(--color-primary); }
.header-contact--static { cursor: default; }
.header-contact__note {
    font-size: 0.95em;
    opacity: 0.85;
    white-space: nowrap;
}
.header-contact__icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    opacity: 0.75;
}
.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    /* padding: 0; */
    min-height: 0;
}
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-img {
    height: 52px;
    width: auto;
    max-width: min(260px, 52vw);
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}
.logo-img--footer {
    height: 40px;
    width: auto;
    max-width: min(180px, 40vw);
    filter: brightness(0) invert(1);
}
.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 4px;
    flex-wrap: wrap;
}
.header-nav__item {
    position: relative;
    display: flex;
    align-items: center;
}
.header-nav__link {
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--color-text);
    padding: 10px 14px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}
.header-nav__link:hover { color: var(--color-primary); background: var(--color-primary-soft); }
.has-dropdown .header-nav__link { padding-right: 6px; }
.header-nav__chevron {
    width: 28px;
    height: 36px;
    margin: 0 2px 0 -4px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-soft);
    transition: color 0.2s, background 0.2s;
}
.header-nav__chevron::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid currentColor;
}
.header-nav__item:hover .header-nav__chevron,
.header-nav__item:focus-within .header-nav__chevron { color: var(--color-primary); }
.header-nav__chevron:hover { background: var(--color-primary-soft); }
.header-nav__dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 240px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, visibility 0.2s, transform 0.2s ease;
    z-index: 120;
}
.header-nav__item:not(.has-dropdown) .header-nav__chevron { display: none; }
.header-nav__dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color 0.15s, background 0.15s;
}
.header-nav__dropdown a:hover { color: var(--color-primary); background: var(--color-primary-soft); }
@media (min-width: 993px) and (hover: hover) and (pointer: fine) {
    .header-nav__item.has-dropdown:not(.just-closed):hover .header-nav__dropdown,
    .header-nav__item.has-dropdown:not(.just-closed):focus-within .header-nav__dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}
.header-nav__item.has-dropdown.is-open .header-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.btn-personal-cabinet {
    flex-shrink: 0;
    padding: 11px 22px;
    background: var(--color-primary);
    color: #fff !important;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 10px;
    transition: background 0.2s, transform 0.2s;
    white-space: nowrap;
}
.btn-personal-cabinet:hover { background: var(--color-primary-hover); transform: translateY(-1px); }
.header-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    color: var(--color-text);
}
.header-burger:hover { background: var(--color-primary-soft); }
.header-phone-btn {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    border-radius: 8px;
    flex-shrink: 0;
}
.header-phone-btn svg {
    width: 20px;
    height: 20px;
    display: block;
}
.header-burger__line {
    display: block;
    height: 2px;
    width: 22px;
    margin: 0 auto;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.25s, opacity 0.25s;
}
body.header-menu-open .header-burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.header-menu-open .header-burger__line:nth-child(2) { opacity: 0; }
body.header-menu-open .header-burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header-mobile-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    z-index: 90;
}
body.header-menu-open .header-mobile-backdrop { display: block; }

@media (max-width: 1100px) {
    .header-contacts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px clamp(12px, 3vw, 24px);
    }
    .header-contacts > li {
        min-width: 0;
    }
    .header-contacts > li:nth-child(odd) {
        justify-self: start;
        justify-content: flex-start;
        text-align: left;
    }
    .header-contacts > li:nth-child(even) {
        justify-self: end;
        justify-content: flex-end;
        text-align: right;
    }
}
@media (max-width: 992px) {
    .header-inner { padding: 0 16px; }
    .header-contacts-bar { display: none; }
    .header-main { padding: 12px 0 14px; min-height: 56px; gap: 8px; }
    .header-main .logo { margin-right: auto; }
    .btn-personal-cabinet { display: none; }
    .header-phone-btn { display: inline-flex; margin-left: 0; }
    .header-burger { display: flex; z-index: 110; }
    .header-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 90vw);
        margin: 0;
        padding: 88px 20px 32px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 0;
        background: #fff;
        box-shadow: -8px 0 40px rgba(15, 23, 42, 0.12);
        transform: translateX(105%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 105;
    }
    body.header-menu-open .header-nav { transform: translateX(0); }
    .header-nav__item {
        flex-wrap: wrap;
        width: 100%;
        border-bottom: 1px solid var(--color-border);
        padding: 4px 0;
    }
    .header-nav__item:last-child { border-bottom: none; }
    .header-nav__link {
        flex: 1;
        padding: 12px 8px 12px 0;
    }
    .header-nav__chevron {
        margin: 0;
        width: 44px;
        height: 44px;
    }
    .header-nav__dropdown {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 8px 8px;
        max-height: none;
        overflow: visible;
        transition: none;
    }
    .header-nav__chevron { display: none; }
    .header-nav__dropdown a { padding: 10px 12px; font-size: 1rem; }
}
@media (max-width: 600px) {
    .header-contacts {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .header-contacts > li {
        justify-self: start;
        justify-content: flex-start;
        text-align: left;
    }
    .header-contact {
        justify-content: flex-start;
    }
}

/* ===== Hero: баннер-истории ===== */
.hero {
    position: relative;
    padding: 32px 0 0;
}
.hero-banner-wrap {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}
.hero-stories {
    --hero-interval: 8s;
    --hero-tab-active-title: #5b21b6;
    background: var(--hero-bg, linear-gradient(135deg, #eef1f6 0%, #e4e9f2 100%));
    background-color: #eef1f6;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0;
    transition: background 0.45s ease;
}
.hero-stories__shell {
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.hero-stories__stage {
    position: relative;
    flex: 1 1 auto;
    min-height: clamp(300px, 38vw, 440px);
}
.hero-stories__slides {
    position: relative;
    min-height: inherit;
    height: 100%;
}
.hero-stories__slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 0;
    align-items: center;
    padding: 28px 32px 24px 36px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s;
    pointer-events: none;
}
.hero-stories__slide.is-active {
    position: absolute;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.hero-stories__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: auto;
    min-height: 0;
    align-self: center;
    /* padding: 14px 22px 14px 18px; */
    border-radius: 18px;
    background: transparent;
    border: none;
    box-shadow: none;
}
.hero-stories__img-wrap {
    display: block;
    max-width: 100%;
    line-height: 0;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}
.hero-stories__media .hero-stories__img {
    position: relative;
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(460px, 58vw);
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
    background: transparent;
}
.hero-stories__slide--noimg .hero-stories__media {
    background: rgba(255, 255, 255, 0.22);
    min-height: 200px;
}
.hero-stories__slide--noimg .hero-stories__img {
    display: none;
}
.hero-stories__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    padding: 8px 28px 8px 4px;
    text-align: left;
    background: transparent;
}
.hero-stories__eyebrow {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(15, 23, 42, 0.45);
    margin-bottom: 10px;
}
.hero-stories__title {
    font-size: clamp(1.4rem, 2.6vw, 2.05rem);
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.18;
    margin-bottom: 12px;
    color: rgba(15, 23, 42, 0.94);
    max-width: 520px;
}
.hero-stories__subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(15, 23, 42, 0.58);
    margin-bottom: 22px;
    max-width: 440px;
}
.hero-stories__cta {
    align-self: flex-start;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(180deg, #ff9f43 0%, #ff7a00 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(255, 122, 0, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    font-family: inherit;
}
.hero-stories__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(255, 122, 0, 0.42);
}

.hero-stories__slide--dark .hero-stories__eyebrow {
    color: rgba(255, 255, 255, 0.48);
}
.hero-stories__slide--dark .hero-stories__title {
    color: rgba(255, 255, 255, 0.96);
}
.hero-stories__slide--dark .hero-stories__subtitle {
    color: rgba(255, 255, 255, 0.62);
}
.hero-stories__slide--dark .hero-stories__img-wrap {
    box-shadow: none;
    background: transparent !important;
}
.hero-stories__slide--dark .hero-stories__media {
    background: transparent !important;
}
.hero-stories__slide--dark .hero-stories__img {
    background: transparent !important;
}
.hero-stories__slide--dark.hero-stories__slide--noimg .hero-stories__media {
    background: rgba(255, 255, 255, 0.06);
}

.hero-stories--theme-dark {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42);
}
.hero-stories--theme-dark .hero-stories-tab:not([aria-selected="true"]) {
    background: rgba(255, 255, 255, 0.1);
}
.hero-stories--theme-dark .hero-stories-tab .hero-stories-tab__title {
    color: rgba(255, 255, 255, 0.88);
}
.hero-stories--theme-dark .hero-stories-tab .hero-stories-tab__sub {
    color: rgba(203, 213, 225, 0.86);
}
.hero-stories--theme-dark .hero-stories-tab[aria-selected="true"] .hero-stories-tab__sub {
    color: rgba(15, 23, 42, 0.56);
}
.hero-stories--theme-dark .hero-stories-tab:hover:not([aria-selected="true"]) {
    background: rgba(255, 255, 255, 0.16);
}
.hero-stories--theme-dark .hero-stories-tab__progress-track {
    background: rgba(255, 255, 255, 0.14);
}

.hero-stories__dock {
    flex: 0 0 auto;
    background: transparent;
    border-top: none;
    padding: 12px 18px 18px;
}
.hero-stories__tabs {
    position: static;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: stretch;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.hero-stories__tabs::-webkit-scrollbar {
    display: none;
}
.hero-stories-tab {
    position: relative;
    flex: 1 1 0;
    min-width: 132px;
    min-height: 76px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    border-radius: 14px;
    overflow: hidden;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.hero-stories-tab__body {
    display: block;
    padding: 12px 14px 14px;
}
.hero-stories-tab:hover:not([aria-selected="true"]) {
    background: rgba(255, 255, 255, 0.55);
}
.hero-stories-tab[aria-selected="true"] {
    background: #fff;
    box-shadow:
        0 10px 28px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(15, 23, 42, 0.06);
    transform: translateY(-3px);
    z-index: 2;
}
.hero-stories-tab__progress-track {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(15, 23, 42, 0.07);
    overflow: hidden;
    border-radius: 0 0 12px 12px;
}
.hero-stories-tab__progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, #2563eb 0%, #0ea5e9 45%, #ff9f43 75%, #ff7a00 100%);
}
.hero-stories-tab[aria-selected="true"] .hero-stories-tab__progress-fill {
    animation: heroStoriesProgress var(--hero-interval, 8s) linear forwards;
}
.hero-stories.paused .hero-stories-tab[aria-selected="true"] .hero-stories-tab__progress-fill {
    animation-play-state: paused;
}
.hero-stories--single .hero-stories-tab__progress-fill {
    animation: none !important;
    transform: scaleX(1);
    opacity: 0.25;
}
@keyframes heroStoriesProgress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}
.hero-stories-tab__title {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(15, 23, 42, 0.88);
    margin-bottom: 4px;
    line-height: 1.25;
}
.hero-stories-tab[aria-selected="true"] .hero-stories-tab__title {
    color: var(--hero-tab-active-title);
}
.hero-stories-tab__sub {
    display: block;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(15, 23, 42, 0.48);
    line-height: 1.35;
}
@media (prefers-reduced-motion: reduce) {
    .hero-stories__slide {
        transition: none;
    }
    .hero-stories-tab[aria-selected="true"] .hero-stories-tab__progress-fill {
        animation: none;
        transform: scaleX(1);
        opacity: 0.35;
    }
}
@media (max-width: 768px) {
    .hero-stories {
        border-radius: 18px;
        height: 500px;
    }
    .hero-stories__shell {
        gap: 10px;
        height: 100%;
    }
    .hero-stories__stage {
        min-height: 0;
        flex: 1 1 auto;
    }
    .hero-stories__slides {
        min-height: 0;
        height: 100%;
    }
    .hero-stories__slide {
        position: relative;
        inset: auto;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px 10px 6px;
        transition: none;
    }
    .hero-stories__slide.is-active {
        position: relative;
        display: grid;
        height: 100%;
        grid-template-rows: auto 1fr;
    }
    .hero-stories__media {
        order: -1;
        min-height: 0;
        height: auto;
        border-radius: 12px;
        padding: 0;
    }
    .hero-stories__img-wrap {
        width: 100%;
        margin: 0 auto;
        aspect-ratio: auto;
        background: transparent;
        border-radius: 0;
        margin: 0 auto;
    }
    .hero-stories__media .hero-stories__img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        object-position: center;
        border-radius: 12px;
    }
    .hero-stories__content {
        padding: 2px 4px 0;
    }
    .hero-stories__title {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
        margin-bottom: 8px;
    }
    .hero-stories__subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 14px;
    }
    .hero-stories__cta {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    .hero-stories__dock {
        padding: 0 10px 10px;
        background: rgba(255, 255, 255, 0.55);
        border-radius: 12px;
        margin: 0 10px 10px;
    }
    .hero-stories__tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
    }
    .hero-stories-tab {
        min-width: 0;
        min-height: 62px;
        border-radius: 10px;
    }
    .hero-stories-tab__body {
        padding: 8px 8px 10px;
    }
    .hero-stories-tab__title {
        font-size: 0.8rem;
        line-height: 1.2;
        margin-bottom: 2px;
    }
    .hero-stories-tab__sub {
        font-size: 0.68rem;
        line-height: 1.2;
    }
}

@media (max-width: 600px) {
    .callback-topic__buttons { grid-template-columns: 1fr; }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}
.btn-primary {
    background: var(--color-primary);
    color: white;
}
.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}
.btn[disabled],
.btn:disabled {
    cursor: not-allowed;
    opacity: 1;
    transform: none !important;
    box-shadow: none !important;
}
.btn-primary[disabled],
.btn-primary:disabled {
    background: #cbd5e1;
    border-color: #cbd5e1;
    color: #64748b;
}
.btn-primary[disabled]:hover,
.btn-primary:disabled:hover {
    background: #cbd5e1;
    border-color: #cbd5e1;
    color: #64748b;
    transform: none;
    box-shadow: none;
}
.btn-lg { padding: 16px 28px; font-size: 1rem; }

/* ===== Configurator ===== */
.configurator-section {
    padding: 40px 0 24px;
}
.configurator-section .container {
    max-width: 1440px;
    padding-left: 16px;
    padding-right: 16px;
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-text);
}
.section-subtitle { color: var(--color-text-muted); font-size: 0.95rem; }
.configurator-panel {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.configurator-after {
    margin-top: 16px;
}
.configurator-after__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}
.after-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 16px 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.after-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}
.after-card__footer {
    margin-top: auto;
}
.after-card__footer .btn {
    width: 100%;
    height: 46px;
    background: #f3f4f6;
    color: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: none;
    transform: none;
}
.after-card__footer .btn:not(:disabled) {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.after-card__footer .btn:not(:disabled):hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    transform: translateY(-1px);
}
.after-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 240px at 20% -10%, rgba(37, 99, 235, 0.18), transparent 55%),
        radial-gradient(700px 220px at 110% 10%, rgba(14, 165, 233, 0.14), transparent 55%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.04) 0%, rgba(15, 23, 42, 0.08) 100%);
    pointer-events: none;
}
.after-card > * { position: relative; }
.after-card__head {
    margin-bottom: 6px;
}
.after-card__head h3 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}
.after-card__head p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}
.order-form--inline .order-form-actions {
    margin-top: 6px;
}
.order-form--inline .form-group input,
.order-form--inline .form-group textarea {
    background: rgba(255, 255, 255, 0.9);
}
.order-form--inline .form-group input,
.sbp-fields .form-group input {
    height: 46px;
}
.order-form--inline .order-form-actions .btn,
.sbp-btn {
    height: 46px;
}
.order-form--inline .form-group { margin-bottom: 10px; }
.order-form--inline .form-group label { font-size: 0.82rem; }
.order-form--inline .order-form-actions { margin-top: 10px; }
.order-form--inline .order-form-actions .btn { width: 100%; flex: 0 0 auto; }
.callback-form .order-form-actions { margin-top: 10px; }

.callback-form {
    display: grid;
    gap: 8px;
}
.callback-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.callback-row .form-group { margin-bottom: 0; }
.callback-form .form-group { margin-bottom: 8px; }
.callback-topic__label {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 6px;
}
.callback-topic__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}
.callback-topic__btn {
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.after-card--callback .after-card__head { margin-bottom: 2px; }
.after-card--callback .after-card__head h3 { margin-bottom: 2px; }
.after-card--callback .after-card__body { padding-top: 2px; }

.after-card--callback .callback-form { gap: 6px; }
.after-card--callback .callback-row { gap: 6px; }
.after-card--callback .callback-form .form-group { margin-bottom: 6px; }

.after-card--callback .order-form--inline .form-group input { height: 44px; }
.after-card--callback .callback-topic__btn { height: 44px; }
.after-card--callback .callback-topic__label { margin-bottom: 4px; }
.after-card--callback .callback-consent__label { font-size: 0.82rem; line-height: 1.25; }
.callback-topic__btn:hover {
    border-color: rgba(37, 99, 235, 0.30);
    transform: translateY(-1px);
}
.callback-topic__btn.is-active {
    background: var(--color-primary-soft);
    border-color: rgba(37, 99, 235, 0.45);
    color: var(--color-primary);
}
.callback-topic__btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}
.callback-consent {
    margin-top: 0;
    margin-bottom: 0;
}
.callback-consent__label {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 8px;
    align-items: start;
    font-size: 0.84rem;
    line-height: 1.3;
    color: var(--color-text-muted);
    cursor: pointer;
    user-select: none;
}
.callback-consent__label input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--color-primary);
}
.callback-consent__label a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}
.callback-consent__label a:hover {
    color: #1d4ed8;
}
.callback-form .btn[disabled] {
    cursor: not-allowed;
}
.sbp-btn[disabled] {
    opacity: 1;
    cursor: default;
}
.after-card--sbp .after-card__head p {
    max-width: 52ch;
}
.after-card--sbp .after-card__head {
    padding-right: 270px;
    margin-bottom: 2px;
}
.after-card--sbp .after-card__head h3 {
    margin-bottom: 6px;
}
.after-card--sbp .after-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "form logo"
        "footer footer";
    align-items: start;
    column-gap: 18px;
    row-gap: 8px;
}
.after-card--sbp .sbp-fields--compact {
    grid-template-columns: 1fr;
    row-gap: 6px;
}
.sbp-logo {
    position: static;
    grid-area: logo;
    display: flex;
    align-self: start;
    justify-self: end;
    margin-right: -24px;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
}
.sbp-logo__img {
    height: 218px;
    width: auto;
    display: block;
    object-fit: contain;
}
.after-card--sbp .sbp-compact {
    grid-area: form;
    margin-top: 0;
    flex: 1 1 auto;
}
.after-card--sbp .sbp-fields .form-group {
    margin-bottom: 6px;
}
.after-card--sbp .form-group label {
    font-size: 0.82rem;
    margin-bottom: 4px;
}
.after-card--sbp .sbp-fields .form-group input {
    height: 44px;
}
.after-card--sbp .after-card__footer {
    grid-area: footer;
    margin-top: 0;
}
.sbp-compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
    margin-top: 0;
}
.sbp-qr {
    width: 160px;
    height: 160px;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(14, 165, 233, 0.05)),
        repeating-linear-gradient(0deg, rgba(15, 23, 42, 0.09) 0 2px, transparent 2px 10px),
        repeating-linear-gradient(90deg, rgba(15, 23, 42, 0.09) 0 2px, transparent 2px 10px);
    background-blend-mode: normal, multiply, multiply;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.sbp-qr--compact {
    width: 160px;
    height: 160px;
}
.sbp-qr__hint {
    font-weight: 800;
    letter-spacing: 0.18em;
    font-size: 0.95rem;
    color: rgba(15, 23, 42, 0.55);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px 12px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}
.sbp-fields {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 14px;
    align-items: end;
    margin-top: 8px;
}
.sbp-fields--compact {
    grid-template-columns: 1fr;
    margin-top: 0;
    align-items: start;
    gap: 10px;
}
.sbp-btn { white-space: nowrap; }
.sbp-fields .form-group { margin: 0; }
.sbp-fields .form-group input { background: rgba(255, 255, 255, 0.9); }
/* старый контейнер кнопки СБП больше не используется */
.after-card--sbp .sbp-qr--compact {
    margin-top: 12px;
}
.configurator-selectors {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    align-items: flex-end;
}
.selector-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}
.location-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 280px;
    padding: 14px 18px;
    font-size: 0.95rem;
    font-family: inherit;
    font-weight: 500;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.2s;
}
.location-trigger:hover {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-soft);
}
.location-trigger-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-primary);
}
.location-trigger-icon svg { width: 100%; height: 100%; }
.location-trigger-label {
    flex: 1;
    text-align: left;
}
.location-trigger-label.placeholder {
    color: var(--color-text-muted);
}
.location-trigger-chevron {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--color-text-muted);
    transition: transform 0.2s;
}
.location-trigger.popup-open .location-trigger-chevron {
    transform: rotate(180deg);
}
.selector {
    min-width: 200px;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text);
    cursor: pointer;
}
.selector:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-soft);
}
.period-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.period-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    min-height: 76px;
    padding: 10px 14px;
    font-family: inherit;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 14px;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, background 0.2s, transform 0.15s;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.period-btn:hover {
    border-color: rgba(37, 99, 235, 0.35);
    color: var(--color-primary);
}
.period-btn:focus-visible {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-soft);
}
.period-btn__num {
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--color-text);
}
.period-btn__unit {
    margin-top: 6px;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
}
.period-btn.active {
    background: var(--color-primary-soft);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
}
.period-btn.active .period-btn__num {
    color: var(--color-primary);
}
.period-btn.active .period-btn__unit {
    color: var(--color-primary);
    opacity: 0.85;
}
.category-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.category-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.2s;
}
.category-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.category-btn.active {
    background: var(--color-primary-soft);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* ===== Tariff Cards (карусель) ===== */
.tariff-carousel {
    position: relative;
    margin-top: 8px;
    container-type: inline-size;
    container-name: tariff-carousel;
}
.tariff-carousel__track.tariff-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 4px 52px 16px;
    margin: 0 -8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.tariff-carousel__track.tariff-grid::-webkit-scrollbar {
    display: none;
}
.tariff-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--color-text);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    cursor: pointer;
    transition: opacity 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease, visibility 0.25s;
    backdrop-filter: blur(8px);
}
.tariff-carousel-btn:hover:not(:disabled) {
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.25);
    color: var(--color-primary);
}
.tariff-carousel-btn:active:not(:disabled) {
    transform: translateY(-50%) scale(0.96);
}
.tariff-carousel-btn svg {
    width: 22px;
    height: 22px;
}
.tariff-carousel-btn--prev { left: 4px; }
.tariff-carousel-btn--next { right: 4px; }
.tariff-carousel-btn[aria-hidden="true"] {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.tariff-carousel-btn:not([aria-hidden="true"]) {
    opacity: 1;
    visibility: visible;
}
.tariff-carousel-btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}
.tariff-card {
    --tariff-track-pad: 104px;
    --tariff-gap-total: 60px;
    flex: 0 0 280px;
    min-width: 280px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 26px 24px 22px;
    transition: all 0.25s;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    color: var(--color-text);
    overflow: hidden;
}
@supports (width: 1cqi) {
    .tariff-card {
        flex: 0 0 calc((100cqi - var(--tariff-track-pad) - var(--tariff-gap-total)) / 4);
        min-width: calc((100cqi - var(--tariff-track-pad) - var(--tariff-gap-total)) / 4);
        max-width: calc((100cqi - var(--tariff-track-pad) - var(--tariff-gap-total)) / 4);
    }
}
@container tariff-carousel (max-width: 960px) {
    .tariff-card {
        --tariff-gap-total: 20px;
        flex: 0 0 calc((100cqi - var(--tariff-track-pad) - var(--tariff-gap-total)) / 2);
        min-width: calc((100cqi - var(--tariff-track-pad) - var(--tariff-gap-total)) / 2);
        max-width: calc((100cqi - var(--tariff-track-pad) - var(--tariff-gap-total)) / 2);
    }
}
@container tariff-carousel (max-width: 520px) {
    .tariff-carousel__track.tariff-grid {
        padding: 4px 12px 16px;
        margin: 0;
    }
    .tariff-card {
        --tariff-track-pad: 24px;
        flex: 0 0 calc(100cqi - var(--tariff-track-pad));
        min-width: calc(100cqi - var(--tariff-track-pad));
        max-width: calc(100cqi - var(--tariff-track-pad));
    }
}
.tariff-card:hover {
    border-color: rgba(37, 99, 235, 0.22);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}
.tariff-card--business:not(.popular) {
    border-color: rgba(98, 109, 124, 0.28);
    background:
        radial-gradient(130% 120% at 0% 0%, rgba(255,255,255,0.52) 0%, rgba(255,255,255,0.08) 48%, rgba(255,255,255,0) 100%),
        linear-gradient(160deg, #edf0f4 0%, #dde3ea 52%, #cdd4dd 100%);
    box-shadow: 0 10px 30px rgba(41, 51, 65, 0.14);
}
.tariff-card--business:not(.popular):hover {
    border-color: rgba(86, 98, 114, 0.36);
    box-shadow: 0 16px 42px rgba(32, 42, 56, 0.2);
}
.tariff-card--business:not(.popular) .tariff-line__num {
    color: #3f4754;
    font-weight: 650;
}
.tariff-card--business:not(.popular) .tariff-price {
    color: #2f3743;
}
.tariff-card--business:not(.popular) .tariff-price__suffix {
    color: rgba(47, 55, 67, 0.72);
}

.tariff-card.popular {
    border-color: rgba(255, 195, 89, 0.45);
    background: radial-gradient(120% 120% at 0% 0%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.015) 45%, rgba(0,0,0,0) 100%),
                linear-gradient(180deg, #141821 0%, #0f131b 100%);
    color: rgba(255,255,255,0.9);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}
.tariff-card.popular:hover {
    border-color: rgba(255, 195, 89, 0.55);
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}
.tariff-card.highlight:not(.popular) { border-color: rgba(255, 140, 0, 0.4); }

.tariff-ribbon {
    position: absolute;
    top: 0;
    right: 16px;
    width: 32px;
    height: 44px;
    background: linear-gradient(180deg, #ffb14a 0%, #ff7a00 100%);
    border-radius: 6px 6px 0 0;
    box-shadow: 0 4px 14px rgba(255, 140, 0, 0.22);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 17px;
    line-height: 1;
    color: rgba(255,255,255,0.96);
}
.tariff-ribbon::after {
    content: '';
    position: absolute;
    bottom: -9px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 0;
    height: 0;
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 9px solid #ff7a00;
}

.tariff-title {
    position: relative;
    font-size: 1.38rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    padding: 12px 48px 12px 14px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.1);
    color: var(--color-text);
}
.tariff-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 2px;
    background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
}
.tariff-card.popular .tariff-title {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255,255,255,0.96);
}
.tariff-card.popular .tariff-title::before {
    background: linear-gradient(180deg, #fbbf24 0%, #f97316 100%);
}
.tariff-card--business:not(.popular) .tariff-title {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(98, 109, 124, 0.18);
}
.tariff-card--business:not(.popular) .tariff-title::before {
    background: linear-gradient(180deg, #64748b 0%, #475569 100%);
}

.tariff-lines { display: grid; gap: 14px; }
.tariff-line { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; }
.tariff-line__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: var(--color-primary);
    background: var(--color-primary-soft);
    border: 1px solid rgba(37, 99, 235, 0.12);
}
.tariff-card.popular .tariff-line__icon {
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}
.tariff-line__icon svg { width: 18px; height: 18px; }
.tariff-line__value {
    font-size: 1.22rem;
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--color-text);
}
.tariff-line__num { font-weight: 600; }
.tariff-line__unit {
    font-weight: 400;
    font-size: 0.92em;
    letter-spacing: 0.01em;
}
.tariff-line--feature .tariff-line__value {
    font-weight: 400;
}
.tariff-card.popular .tariff-line__value {
    color: rgba(255,255,255,0.96);
}
.tariff-line__label {
    margin-top: 2px;
    font-size: 12px;
    color: rgba(20, 24, 33, 0.55);
    font-weight: 500;
}
.tariff-line__label:empty { display: none; }
.tariff-card.popular .tariff-line__label {
    color: rgba(255,255,255,0.55);
}

.tariff-line__sub { margin-top: 6px; }
.tariff-included__item {
    font-size: 12px;
    line-height: 1.25;
    font-weight: 500;
    color: rgba(20, 24, 33, 0.55);
}
.tariff-card.popular .tariff-included__item {
    color: rgba(255,255,255,0.55);
}

.tariff-line--feature-24 .tariff-line__value {
    font-size: 12px;
    line-height: 1.25;
    font-weight: 500;
    color: rgba(20, 24, 33, 0.55);
    letter-spacing: -0.01em;
}
.tariff-card.popular .tariff-line--feature-24 .tariff-line__value {
    color: rgba(255,255,255,0.55);
}
.tariff-line--feature-ip.tariff-line--disabled .tariff-line__value {
    font-size: 12px;
    line-height: 1.25;
    font-weight: 500;
    color: rgba(20, 24, 33, 0.55);
    letter-spacing: -0.01em;
}
.tariff-line--feature-wifi.tariff-line--disabled .tariff-line__value {
    font-size: 12px;
    line-height: 1.25;
    font-weight: 500;
    color: rgba(20, 24, 33, 0.55);
    letter-spacing: -0.01em;
}
.tariff-card.popular .tariff-line--feature-ip.tariff-line--disabled .tariff-line__value {
    color: rgba(255,255,255,0.55);
}
.tariff-card.popular .tariff-line--feature-wifi.tariff-line--disabled .tariff-line__value {
    color: rgba(255,255,255,0.55);
}
/* Бизнес-тарифы: при включённом IP / Wi‑Fi подпись не должна быть заметно мельче статуса */
.tariff-line--feature-ip:not(.tariff-line--disabled) .tariff-line__label,
.tariff-line--feature-wifi:not(.tariff-line--disabled) .tariff-line__label {
    font-size: 0.95rem;
    line-height: 1.28;
    font-weight: 600;
    margin-top: 3px;
    color: rgba(20, 24, 33, 0.72);
}
.tariff-card.popular .tariff-line--feature-ip:not(.tariff-line--disabled) .tariff-line__label,
.tariff-card.popular .tariff-line--feature-wifi:not(.tariff-line--disabled) .tariff-line__label {
    color: rgba(255, 255, 255, 0.72);
}
.tariff-line--disabled {
    opacity: 0.75;
}

.tariff-info {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    border-radius: 999px;
    border: 1px solid rgba(20, 24, 33, 0.18);
    color: rgba(20, 24, 33, 0.55);
    vertical-align: middle;
    cursor: help;
    outline: none;
}
.tariff-card.popular .tariff-info {
    border-color: rgba(255,255,255,0.20);
    color: rgba(255,255,255,0.62);
}
.tariff-info__icon {
    width: 12px;
    height: 12px;
    display: block;
}
.tariff-tooltip-overlay {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: 9999;
}
.tariff-tooltip-overlay__panel {
    position: fixed;
    width: min(340px, 78vw);
    padding: 12px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 16px 40px rgba(0,0,0,0.16);
    color: rgba(20, 24, 33, 0.86);
    font-size: 12px;
    line-height: 1.35;
}
.tariff-tooltip-overlay__panel::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: inherit;
    border-left: 1px solid rgba(0,0,0,0.08);
    border-top: 1px solid rgba(0,0,0,0.08);
}
.tariff-tooltip-overlay__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.65);
    display: grid;
    place-items: center;
    cursor: pointer;
    color: rgba(20, 24, 33, 0.7);
}
.tariff-tooltip-overlay__close svg {
    width: 16px;
    height: 16px;
    display: block;
}
.tariff-tooltip-overlay__text {
    padding-right: 34px;
}
.tariff-tooltip__link {
    color: var(--color-primary);
    font-weight: 600;
    white-space: nowrap;
}
.tariff-tooltip-overlay__panel .tariff-tooltip__link { color: var(--color-primary); }

.tariff-line--included .tariff-line__value {
    font-size: 1.22rem; /* как основные */
    line-height: 1.12;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--color-text);
}
.tariff-card.popular .tariff-line--included .tariff-line__value {
    color: rgba(255,255,255,0.96);
}
.tariff-line--business-devices .tariff-line__value {
    font-size: 1.06rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: rgba(20, 24, 33, 0.88);
}
.tariff-card.popular .tariff-line--business-devices .tariff-line__value {
    color: rgba(255, 255, 255, 0.92);
}

.tariff-pills { display: flex; gap: 8px; margin: 12px 0 8px; min-height: 28px; align-items: center; }
.tariff-pill {
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 12px;
}
.tariff-card.popular .tariff-pill {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.78);
}
.tariff-pill--promo {
    padding: 5px 11px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(52, 211, 153, 0.35) 0%, rgba(16, 185, 129, 0.28) 100%);
    border: 1px solid rgba(52, 211, 153, 0.65);
    color: #ecfdf5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    box-shadow:
        0 0 0 1px rgba(6, 78, 59, 0.35) inset,
        0 4px 14px rgba(16, 185, 129, 0.28);
}
.tariff-pill--promo:hover {
    border-color: rgba(110, 231, 183, 0.85);
    box-shadow:
        0 0 0 1px rgba(6, 78, 59, 0.35) inset,
        0 6px 18px rgba(16, 185, 129, 0.4);
}
.tariff-divider {
    height: 1px;
    background: var(--color-border);
    margin: 16px 0 20px;
    margin-top: auto;
}
.tariff-card.popular .tariff-divider {
    background: rgba(255,255,255,0.10);
}

.tariff-price-block { margin-bottom: 18px; }
.tariff-price {
    font-size: 40px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-align: center;
}
.tariff-price--light {
    color: var(--color-primary);
}
.tariff-price--light .tariff-price__suffix {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text-muted);
}
.tariff-price--dark {
    color: rgba(255,255,255,0.98);
}
.tariff-price--dark .tariff-price__suffix {
    font-size: 16px;
    font-weight: 600;
    color: rgba(255,255,255,0.88);
}

.tariff-btn {
    width: 100%;
    height: 56px;
    border-radius: 14px;
    background: var(--color-bg-card);
    color: var(--color-text);
    font-weight: 600;
    font-size: 16px;
    border: 2px solid rgba(37, 99, 235, 0.35);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
.tariff-btn:hover {
    transform: translateY(-1px);
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
}
.tariff-card.popular .tariff-btn {
    background: rgba(255,255,255,0.02);
    color: rgba(255,255,255,0.92);
    border: 2px solid rgba(255, 199, 107, 0.55);
    box-shadow:
        0 0 0 6px rgba(255, 199, 107, 0.10),
        inset 0 0 0 1px rgba(0,0,0,0.25);
}
.tariff-card.popular .tariff-btn:hover {
    border-color: rgba(255, 199, 107, 0.75);
    box-shadow: 0 0 0 8px rgba(255, 199, 107, 0.12);
}
.tariff-btn:active { transform: translateY(0); }

.tariff-discount {
    margin-top: 6px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.tariff-discount::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: 6px;
    vertical-align: middle;
    background: var(--color-accent);
    border-radius: 50%;
}

.tariff-benefit {
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.25;
    color: #ef4444;
    text-align: left;
}
.tariff-benefit__strong {
    font-weight: 900;
}
.tariff-card.popular .tariff-benefit {
    color: rgba(248, 113, 113, 0.98);
}
/* ===== Location Popup ===== */
.location-popup {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    overflow-y: auto;
}
.location-popup.open {
    opacity: 1;
    visibility: visible;
}
.location-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
}
.location-popup-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: calc(100dvh - 32px);
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
#orderPopup .location-popup-content {
    overflow: visible;
}
#orderPopup .order-popup-content {
    overflow: hidden;
}
@media (min-width: 900px) {
    #locationPopup .location-popup-content {
        max-width: 560px;
    }
}
@media (min-width: 1200px) {
    #locationPopup .location-popup-content {
        max-width: 720px;
    }
}
@media (min-width: 1600px) {
    #locationPopup .location-popup-content {
        max-width: 920px;
    }
}
.location-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}
.location-popup-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
}
.location-popup-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: var(--radius);
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}
.location-popup-close:hover {
    background: var(--color-primary-soft);
    color: var(--color-primary);
}
.location-popup-close svg { width: 20px; height: 20px; }
.location-popup-tree {
    padding: 12px 12px 16px 8px;
    max-height: 360px;
    overflow-y: auto;
}
@media (min-width: 900px) {
    #locationPopup .location-popup-tree {
        max-height: min(52vh, 520px);
    }
}
@media (min-width: 1200px) {
    #locationPopup .location-popup-tree {
        max-height: min(58vh, 600px);
    }
}
@media (min-width: 1600px) {
    #locationPopup .location-popup-tree {
        max-height: min(62vh, 680px);
    }
}
.location-tree-node {
    margin-bottom: 2px;
}
.location-tree-node-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.location-tree-node-inner:hover {
    background: var(--color-primary-soft);
}
.location-tree-node-inner.selected {
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-weight: 600;
}
.location-tree-node-expand {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: transform 0.2s;
}
.location-tree-node.expanded > .location-tree-node-inner .location-tree-node-expand {
    transform: rotate(90deg);
}
.location-tree-node-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--color-primary);
}
.location-tree-node-icon svg { width: 100%; height: 100%; }
.location-tree-node-label {
    flex: 1;
    text-align: left;
    font-size: 0.95rem;
}
.location-tree-node-children {
    margin-left: 8px;
    padding-left: 3px;
    border-left: 1px solid var(--color-border);
}
.location-tree-node-children .location-tree-node {
    margin-bottom: 2px;
}
@media (max-width: 768px) {
    .location-popup-tree {
        padding: 10px 8px 12px 4px;
    }
    .location-tree-node-inner {
        gap: 8px;
        padding: 7px 6px;
    }
    .location-tree-node-children {
        margin-left: 4px;
        padding-left: 1px;
    }
}

/* ===== Order form popup ===== */
.order-popup-content {
    max-width: 440px;
}
#orderPopup .order-popup-content {
    max-height: calc(100dvh - 32px);
    display: flex;
    flex-direction: column;
}
#orderPopup .order-form {
    padding: 0 22px 18px;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
}
#orderPopup .order-form .form-group:last-of-type {
    margin-bottom: 0;
}
.sbp-popup-content {
    max-width: 440px;
}
.sbp-popup-body {
    padding: 28px 24px 30px;
    display: grid;
    place-items: center;
    background: radial-gradient(700px 260px at 20% 0%, rgba(37, 99, 235, 0.10), transparent 60%),
        radial-gradient(520px 220px at 100% 10%, rgba(14, 165, 233, 0.08), transparent 60%);
}
.sbp-popup-logo {
    width: min(320px, 78%);
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(15, 23, 42, 0.12));
}
.order-tariff-info {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    padding: 12px 14px;
    background: var(--color-bg);
    border-radius: var(--radius);
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-bg-card);
    color: var(--color-text);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-soft);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.order-form-error {
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #b91c1c;
    background: rgba(185, 28, 28, 0.08);
    border-radius: var(--radius);
}
.order-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}
.order-form-actions .btn { flex: 1; }
.order-btn-cancel {
    background: transparent !important;
    border: 1px solid var(--color-border) !important;
    color: var(--color-text) !important;
}
.order-btn-cancel:hover {
    background: var(--color-bg) !important;
    border-color: var(--color-text-muted) !important;
}
@media (max-width: 768px) {
    .location-popup {
        padding: 10px;
        align-items: flex-start;
    }
    .location-popup-content {
        max-height: calc(100dvh - 20px);
        margin: auto;
    }
    #orderPopup .location-popup-header {
        padding: 14px 12px;
    }
    #orderPopup .order-form {
        padding: 0 12px 12px;
    }
    #orderPopup .order-form-actions {
        margin-top: 14px;
        gap: 8px;
    }
}

.tariff-empty {
  flex: 0 0 100%;
  min-width: 100%;
  text-align: center;
  padding: 40px 20px;
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* ===== Trust block (GigaNet-style) ===== */
.trust-section {
    padding: 21px 0 64px;
}
.trust-section .trust-container {
    max-width: 1440px;
    padding-left: 16px;
    padding-right: 16px;
}
.trust-layout {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.trust-head {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 24px;
    align-items: end;
    margin-bottom: 16px;
}
.trust-head h2 {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}
.trust-advantages-title {
    text-align: left;
}
.trust-advantages-title--mobile {
    display: none;
}

/* Reviews carousel (GigaNet-style) */
.reviews {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.reviews-carousel {
    background: transparent;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.reviews-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    flex: 1;
    transition: opacity 0.22s ease, transform 0.22s ease;
    will-change: opacity, transform;
}
.reviews-track.is-changing {
    opacity: 0;
    transform: translateY(4px);
}
.review-card {
    background: #f3f4f6;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 18px 18px 16px;
    min-height: 210px;
    height: 100%;
}
.review-head {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}
.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.10);
    color: rgba(15, 23, 42, 0.75);
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: 0.02em;
}
.review-name { font-weight: 800; font-size: 1rem; color: rgba(15, 23, 42, 0.92); }
.review-date { font-size: 0.85rem; color: rgba(15, 23, 42, 0.55); margin-top: 2px; }
.review-rating { display: flex; justify-content: flex-end; }
.review-stars { display: inline-flex; gap: 4px; }
.review-star { width: 16px; height: 16px; color: rgba(245, 158, 11, 0.25); display: inline-flex; }
.review-star svg { width: 16px; height: 16px; }
.review-star.is-on { color: rgba(245, 158, 11, 0.95); }
.review-text {
    color: rgba(15, 23, 42, 0.70);
    font-size: 0.95rem;
    line-height: 1.55;
}
.reviews-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
}
.reviews-dots { display: inline-flex; gap: 8px; }
.reviews-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.20);
}
.reviews-dot.is-active {
    width: 22px;
    background: rgba(37, 99, 235, 0.95);
}
.reviews-arrows { display: inline-flex; gap: 10px; }
.reviews-arrow {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    background: #f3f4f6;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: rgba(15, 23, 42, 0.75);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.reviews-arrow svg { width: 18px; height: 18px; }
.reviews-arrow:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(37, 99, 235, 0.25);
    color: rgba(37, 99, 235, 0.95);
}
.reviews-arrow:disabled { opacity: 0.45; cursor: default; }
.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    height: auto;
    align-content: start;
    grid-auto-rows: auto;
}
.trust-tile {
    position: relative;
    background:
        radial-gradient(130% 120% at 0% 0%, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.45) 38%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(160deg, #eef2f7 0%, #dde5ef 100%);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 18px;
    padding: 18px 20px;
    min-height: 78px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    height: auto;
    overflow: hidden;
    transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}
.trust-tile::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0)),
        radial-gradient(70px 70px at 85% 18%, rgba(37, 99, 235, 0.14), rgba(37, 99, 235, 0));
    opacity: 1;
    transition: opacity 0.28s ease;
    pointer-events: none;
}
.trust-tile::after {
    content: '';
    position: absolute;
    left: -18px;
    top: -18px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: rgba(37, 99, 235, 0.1);
    filter: blur(0.5px);
    pointer-events: none;
}
.trust-tile > * {
    position: relative;
    z-index: 1;
}
.trust-tile__icon {
    width: 32px;
    height: 32px;
    color: #1d4ed8;
    opacity: 0.96;
    flex: 0 0 auto;
}
.trust-tile__icon svg { width: 100%; height: 100%; }
.trust-tile p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.34;
    color: rgba(15, 23, 42, 0.88);
    font-weight: 500;
    letter-spacing: -0.01em;
}
.trust-tile:nth-child(2)::after { background: rgba(14, 165, 233, 0.12); }
.trust-tile:nth-child(3)::after { background: rgba(16, 185, 129, 0.12); }
.trust-tile:nth-child(4)::after { background: rgba(249, 115, 22, 0.12); }

@media (hover: hover) and (pointer: fine) {
    .trust-tile:hover {
        background:
            radial-gradient(130% 120% at 0% 0%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.52) 40%, rgba(255, 255, 255, 0) 100%),
            linear-gradient(160deg, #f3f6fb 0%, #e5ecf5 100%);
        border-color: rgba(59, 130, 246, 0.28);
        box-shadow: 0 16px 36px rgba(30, 41, 59, 0.14);
        transform: translateY(-3px);
    }
    .trust-tile:hover .trust-tile__icon {
        opacity: 1;
        transform: scale(1.06);
    }
    .trust-tile:hover::before { opacity: 0.72; }
}

@media (min-width: 1101px) {
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 14px;
    }
    .trust-tile {
        aspect-ratio: auto;
        min-height: 72px;
        padding: 12px 16px;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
        border-radius: 14px;
    }
    .trust-tile__icon {
        width: 22px;
        height: 22px;
    }
    .trust-tile p {
        font-size: 0.98rem;
        line-height: 1.26;
    }
}

@media (max-width: 1100px) {
    .trust-head { grid-template-columns: 1fr; gap: 10px; }
    .trust-head .trust-advantages-title { display: none; }
    .trust-layout { grid-template-columns: 1fr; }
    .trust-advantages-title--mobile {
        display: block;
        margin: 0 0 12px 0;
        font-size: 1.9rem;
        font-weight: 700;
        letter-spacing: -0.02em;
    }
    .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reviews-track { grid-template-columns: 1fr; }
}

/* ===== Services (RT-style) ===== */
.services-section .container {
    max-width: 1440px;
    padding-left: 16px;
    padding-right: 16px;
}
.services-head h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.services-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 14px;
    background: #f2f3f5;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    width: fit-content;
    max-width: 100%;
}
.services-tab {
    border: 1px solid transparent;
    background: transparent;
    color: rgba(15, 23, 42, 0.75);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
    font-family: inherit;
    white-space: nowrap;
}
.services-tab:hover {
    background: rgba(255, 255, 255, 0.65);
    color: var(--color-text);
}
.services-tab.is-active {
    background: linear-gradient(180deg, #ff9f43 0%, #ff7a00 100%);
    color: #fff;
    border-color: rgba(255, 122, 0, 0.55);
    box-shadow: 0 10px 26px rgba(255, 122, 0, 0.22);
}
.services-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.service-card {
    background: #f3f4f6;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 360px;
}
.service-card__media {
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    margin: 18px 18px 0;
    background: #e9edf3;
    position: relative;
}
.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}
.service-card__body {
    padding: 18px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.service-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
}
.service-card__desc {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.45;
    flex: 1;
}
.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff7a00;
    font-weight: 700;
    font-size: 0.95rem;
}
.service-card__link:hover { text-decoration: underline; }
.service-card__link svg { width: 16px; height: 16px; }

@media (hover: hover) and (pointer: fine) {
    .service-card:hover .service-card__media img {
        transform: scale(1.07);
    }
}

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .payments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .iptv-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .iptv-channels-wall { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .payment-card--sbp-large { grid-column: 1 / -1; }
    .payment-card--sbp-large .payment-card__intro h3 { font-size: 1.35rem; }
    .payment-card--sbp-large .payment-card__intro p { font-size: 0.92rem; }
    .payment-card__form--sbp { grid-template-columns: 1fr 1fr; }
    .payment-card__form--sbp .btn { width: auto; }
}

/* ===== IPTV page ===== */
.iptv-page {
    padding: 24px 0 34px;
}
.offers-page {
    padding: 24px 0 34px;
}
.offers-page .container {
    max-width: 1440px;
    padding-left: 16px;
    padding-right: 16px;
}
.offers-page__head {
    margin-bottom: 16px;
}
.offers-page__head h1 {
    margin: 0;
    font-size: clamp(1.55rem, 2.8vw, 2.15rem);
    letter-spacing: -0.02em;
}
.offers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.offer-card {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dbeafe;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.offer-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.offer-card__media {
    aspect-ratio: 16 / 8;
    background: linear-gradient(130deg, #dbeafe, #e0f2fe);
    overflow: hidden;
}
.offer-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.offer-card__body {
    padding: 10px 12px 12px;
}
.offer-card__date {
    margin-bottom: 6px;
    font-size: 0.76rem;
    color: rgba(100, 116, 139, 0.95);
}
.offer-card h3 {
    margin: 0 0 6px;
    font-size: 1.08rem;
    letter-spacing: -0.015em;
    color: #0f172a;
}
.offer-card p {
    margin: 0 0 10px;
    color: rgba(15, 23, 42, 0.82);
    font-size: 0.9rem;
    line-height: 1.34;
}
.offer-card__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 7px;
    border: 1px solid #dbeafe;
    background: #f8fbff;
    color: #1d4ed8;
    font-size: 0.78rem;
    font-weight: 700;
}
@media (hover: hover) and (pointer: fine) {
    .offer-card:hover {
        transform: scale(1.025);
        box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16);
    }
}
.page-iptv {
    background:
        radial-gradient(1200px 520px at 8% -10%, rgba(59, 130, 246, 0.16), transparent 60%),
        radial-gradient(1200px 520px at 110% 0%, rgba(245, 158, 11, 0.12), transparent 60%),
        #0a0f18;
    color: #dbe5f3;
}
.page-iptv .noise {
    opacity: 0.045;
}
.page-iptv .header {
    background: rgba(10, 15, 24, 0.92);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}
.page-iptv .header-contact,
.page-iptv .header-contact--static,
.page-iptv .header-nav__link {
    color: rgba(226, 232, 240, 0.88);
}
.page-iptv .header-contact__note {
    color: rgba(203, 213, 225, 0.82);
}
.page-iptv .header-nav__link:hover {
    color: #dbeafe;
    background: rgba(59, 130, 246, 0.16);
}
.page-iptv .header-nav__dropdown {
    background: #0f172a;
    border-color: rgba(148, 163, 184, 0.22);
}
.page-iptv .header-nav__dropdown a {
    color: rgba(226, 232, 240, 0.9);
}
.page-iptv .btn-personal-cabinet {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(96, 165, 250, 0.35);
    color: #dbeafe;
}

@media (max-width: 992px) {
    .page-iptv .header-main .logo {
        filter: brightness(0) invert(1);
    }
    .page-iptv .header-phone-btn,
    .page-iptv .header-burger {
        color: #f8fafc;
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(148, 163, 184, 0.34);
    }
    .page-iptv .header-phone-btn:hover,
    .page-iptv .header-burger:hover {
        background: rgba(59, 130, 246, 0.22);
        border-color: rgba(96, 165, 250, 0.44);
    }
    .page-iptv .header-nav {
        background: #0b1220;
        box-shadow: -12px 0 46px rgba(2, 6, 23, 0.55);
    }
    .page-iptv .header-nav__item {
        border-bottom-color: rgba(148, 163, 184, 0.18);
    }
    .page-iptv .header-nav__link {
        color: rgba(241, 245, 249, 0.94);
    }
    .page-iptv .header-nav__chevron {
        color: rgba(241, 245, 249, 0.84);
    }
    .page-iptv .header-nav__dropdown {
        background: transparent;
    }
    .page-iptv .header-nav__dropdown a {
        color: rgba(203, 213, 225, 0.92);
    }
    .page-iptv .header-nav__dropdown a:hover {
        background: rgba(59, 130, 246, 0.16);
        color: #eff6ff;
    }
}
.iptv-page .container {
    max-width: 1440px;
    padding-left: 16px;
    padding-right: 16px;
}
.iptv-hero {
    position: relative;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    min-height: clamp(380px, 52vw, 620px);
    margin-bottom: 16px;
    background: #0f172a;
}
.iptv-hero__media {
    position: absolute;
    inset: 0;
}
.iptv-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: opacity 0.75s ease;
}
.iptv-hero__slide.is-active {
    opacity: 1;
}
.iptv-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.86) 0%, rgba(2, 6, 23, 0.62) 45%, rgba(2, 6, 23, 0.32) 100%);
}
.iptv-hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: clamp(18px, 3vw, 34px);
    color: #e2e8f0;
}
.iptv-hero__chip {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(249, 115, 22, 0.38);
    background: rgba(249, 115, 22, 0.16);
    color: #fed7aa;
    font-size: 0.76rem;
    font-weight: 700;
    margin-top: -6px;
    margin-bottom: 12px;
}
.iptv-hero__content h1 {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 3vw, 2.35rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}
.iptv-hero__content p {
    margin: 0 0 14px;
    font-size: 1rem;
    line-height: 1.45;
    color: rgba(226, 232, 240, 0.88);
}
.iptv-hero__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}
.iptv-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}
.iptv-feature {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.74));
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 16px;
    padding: 14px;
}
.iptv-feature h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: #dbeafe;
}
.iptv-feature p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.35;
    color: rgba(203, 213, 225, 0.86);
}
.iptv-channels-block {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.78));
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    padding: 14px;
}
.iptv-channels-block__head h2 {
    margin: 0 0 6px;
    color: #e2e8f0;
    letter-spacing: -0.02em;
}
.iptv-channels-block__head p {
    margin: 0 0 12px;
    color: rgba(203, 213, 225, 0.86);
    font-size: 0.92rem;
}
.iptv-channels-wall {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 8px;
}
.iptv-channels-wall__loading {
    grid-column: 1 / -1;
    color: rgba(203, 213, 225, 0.88);
}
.iptv-channel-logo {
    position: relative;
    min-height: 56px;
    display: grid;
    place-items: center;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    transition: transform 0.18s ease;
}
.iptv-channel-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
}
@media (hover: hover) and (pointer: fine) {
    .iptv-channel-logo:hover {
        transform: translateY(-2px);
    }
}
@media (max-width: 1024px) {
    .iptv-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .iptv-channels-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ===== Payments page ===== */
.payments-page {
    padding: 28px 0 34px;
}
.payments-page .container {
    max-width: 1440px;
    padding-left: 16px;
    padding-right: 16px;
}
.payments-page__head {
    margin-bottom: 18px;
}
.payments-page__crumbs {
    font-size: 0.84rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}
.payments-page__head h1 {
    margin: 0 0 8px;
    font-size: clamp(1.55rem, 2.8vw, 2.15rem);
    letter-spacing: -0.02em;
}
.payments-page__head p {
    margin: 0;
    color: var(--color-text-muted);
}
.payments-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.payment-card {
    position: relative;
    background: #f3f4f6;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 14px;
    overflow: hidden;
}
.payment-card--sbp-large {
    grid-column: 1 / -1;
    background: #f6fbff;
    border-color: #d8ebfb;
}
.payment-card--sbp-wip {
    cursor: not-allowed;
}
.payment-card--sbp-wip .payment-card__wip-cover {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 18px;
    text-align: center;
    border-radius: inherit;
    background: rgba(248, 250, 252, 0.86);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.payment-card__wip-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1e40af;
    background: rgba(37, 99, 235, 0.14);
    border: 1px solid rgba(37, 99, 235, 0.28);
}
.payment-card__wip-note {
    margin: 0;
    max-width: 28ch;
    font-size: 0.92rem;
    line-height: 1.35;
    font-weight: 500;
    color: rgba(15, 23, 42, 0.72);
}
.payment-card--vtb {
    display: flex;
    flex-direction: column;
}
.payment-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(650px 200px at 15% -5%, rgba(37, 99, 235, 0.16), transparent 58%),
        radial-gradient(620px 180px at 105% 10%, rgba(14, 165, 233, 0.14), transparent 58%);
    pointer-events: none;
}
.payment-card > * {
    position: relative;
    z-index: 1;
}
.payment-card__badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    color: #7c2d12;
    background: rgba(255, 159, 67, 0.2);
    margin-bottom: 10px;
}
.payment-card__header .payment-card__badge {
    margin-bottom: 0;
}
.payment-card__badge--success {
    color: #065f46;
    background: rgba(16, 185, 129, 0.16);
}
.payment-card__badge--info {
    color: #1e40af;
    background: rgba(37, 99, 235, 0.16);
}
.payment-card__badge--vtb {
    display: grid;
    gap: 1px;
    text-align: right;
    line-height: 1.15;
}
.payment-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.payment-card__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 28px;
}
.payment-card__logo {
    width: auto;
    height: 30px;
    object-fit: contain;
}
.payment-card__logo--sbp-main {
    height: 70px;
}
.payment-card__logo--payberry,
.payment-card__logo--mir,
.payment-card__logo--vtb {
    height: 28px;
}
.payment-card__intro {
    margin-bottom: 12px;
}
.payment-card__intro h3 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}
.payment-card__intro p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.3;
    color: rgba(15, 23, 42, 0.85);
}
.payment-card--sbp-large .payment-card__intro h3 {
    font-size: 1.65rem;
}
.payment-card--sbp-large .payment-card__intro p {
    font-size: 1.03rem;
}
.payment-card__badge--sbp {
    color: #111827;
    background: #ffeb3b;
    border: 1px solid rgba(245, 158, 11, 0.45);
    font-size: 0.95rem;
    padding: 8px 16px;
    margin-bottom: 0;
}
.payment-card__form {
    display: grid;
    gap: 8px;
}
.payment-card__form--sbp {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: end;
}
.payment-card__form .form-group {
    margin-bottom: 0;
}
.payment-card__form label {
    font-size: 0.8rem;
    margin-bottom: 4px;
}
.payment-card__form input {
    height: 42px;
}
.payment-card__form .btn {
    margin-top: 4px;
    height: 42px;
}
.payment-card__form--sbp .btn {
    width: 150px;
}
.payment-card__hint-link {
    color: #1d4ed8;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: underline;
    white-space: nowrap;
    margin-bottom: 8px;
}
.payment-card__hint-link.payment-card__hint-link--muted {
    color: rgba(100, 116, 139, 0.9);
    text-decoration: none;
    cursor: default;
    pointer-events: none;
    font-weight: 500;
}
.payment-card__logos-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.payment-card__balance {
    margin: 4px 0 10px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: rgba(248, 250, 252, 0.95);
}
.payment-card__balance-main {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.payment-card__balance-fio {
    margin-top: 4px;
    font-size: 0.85rem;
    color: rgba(15, 23, 42, 0.65);
}
.payment-card__balance.is-error .payment-card__balance-main {
    color: #b91c1c;
    font-weight: 500;
}
.payment-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.payment-card__actions > .btn,
.payment-card__actions > a.btn {
    width: 100%;
    justify-content: center;
}
.payment-card__download {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin-top: auto;
}
.payment-card__download-left {
    display: grid;
    gap: 8px;
    align-items: end;
    align-self: end;
}
.payment-card__qr-hint {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.2;
    color: rgba(15, 23, 42, 0.72);
}
.payment-card__qr {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 4px;
}
.payment-card__stores {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    align-self: end;
}
.payment-card__stores img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 30px;
    object-fit: contain;
}

/* ===== Footer ===== */
.footer {
    padding: 56px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(900px 260px at 20% -10%, rgba(255, 179, 74, 0.18), transparent 60%),
        radial-gradient(900px 260px at 110% 10%, rgba(37, 99, 235, 0.18), transparent 60%),
        linear-gradient(180deg, #141821 0%, #0f131b 100%);
    color: rgba(255, 255, 255, 0.88);
}
.footer .container { max-width: 1440px; padding-left: 16px; padding-right: 16px; }
.footer a { color: rgba(255, 255, 255, 0.78); }
.footer a:hover { color: rgba(255, 255, 255, 0.95); }

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: start;
    padding-bottom: 26px;
    border-bottom: none;
    margin-bottom: 0;
}
.footer-brand__tagline { color: rgba(255, 255, 255, 0.70); font-size: 0.95rem; }

.footer-hotline__label { font-size: 0.85rem; font-weight: 700; color: rgba(255, 255, 255, 0.70); margin-bottom: 6px; }
.footer-hotline__phone { font-size: 1.25rem; font-weight: 900; letter-spacing: -0.02em; display: inline-block; margin-bottom: 6px; }
.footer-hotline__mail { display: inline-block; margin-bottom: 6px; }
.footer-hotline__meta { color: rgba(255, 255, 255, 0.62); font-size: 0.9rem; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr 1fr 1.2fr;
    gap: 30px;
    margin-bottom: 26px;
}
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}
.footer-contacts a { display: inline-block; }
.footer-right { min-width: 0; }
.footer-payments__title { margin-top: 16px; }
.footer-payments {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    align-items: center;
}
.footer-payments__icon {
    height: 22px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
    opacity: 0.92;
}
.footer-payments__icon:hover { opacity: 1; }
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-brand__logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-brand .logo-text { font-size: 1.15rem; font-weight: 800; color: rgba(255, 255, 255, 0.94); letter-spacing: -0.02em; }
.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.86);
    margin-bottom: 12px;
}
.footer-col a {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.70);
    transition: color 0.2s;
}
.footer-col a:hover { color: rgba(255, 255, 255, 0.95); }
.footer-col--stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.footer-col--stack .footer-col__section:last-child h4 {
    margin-top: 2px;
}
.footer-address {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
    line-height: 1.35;
}
.footer-social { margin-top: 14px; display: flex; gap: 12px; align-items: center; }
.footer-social__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 999px;
    box-shadow: none;
    color: inherit;
    transition: transform 0.2s, filter 0.2s;
}
.footer-social__btn:hover {
    transform: translateY(-1px);
    filter: drop-shadow(0 10px 28px rgba(255, 179, 74, 0.22));
}
.footer-social__btn:active { transform: translateY(0px); }
.footer-social__btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}
.footer-social__img {
    width: 35px;
    height: 35px;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}
.footer-social__btn:active { transform: translateY(0px); }
.footer-social__btn:focus-visible {
    outline: none;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.10) inset,
        0 16px 44px rgba(0, 0, 0, 0.32),
        0 0 0 3px rgba(37, 99, 235, 0.22),
        0 0 28px rgba(37, 99, 235, 0.22);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-copy { margin: 0; color: rgba(255, 255, 255, 0.58); font-size: 0.9rem; }
.footer-policy { color: rgba(255, 255, 255, 0.58); font-size: 0.9rem; }
.footer-policy:hover { color: rgba(255, 255, 255, 0.86); }

/* ===== Cookie banner (нижняя плашка) ===== */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
    background: rgba(15, 19, 26, 0.82);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.35);
}
.cookie-banner[hidden] {
    display: none !important;
}
.cookie-banner__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    flex-wrap: wrap;
}
.cookie-banner__text {
    flex: 1 1 240px;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}
.cookie-banner__text--short {
    display: none;
}
.cookie-banner__btn-txt--short {
    display: none;
}
.cookie-banner__btn {
    flex-shrink: 0;
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.cookie-banner__btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.cookie-banner__btn:active {
    transform: translateY(1px);
}
.cookie-banner__btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35), 0 2px 12px rgba(0, 0, 0, 0.2);
}

body.has-cookie-banner {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}
body.has-cookie-banner .back-to-top.is-visible {
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}
@media (max-width: 640px) {
    .cookie-banner {
        padding: 5px 0 calc(5px + env(safe-area-inset-bottom, 0px));
    }
    .cookie-banner__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 8px 10px;
        padding-left: 12px;
        padding-right: 12px;
    }
    .cookie-banner__text--full {
        display: none;
    }
    .cookie-banner__text--short {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
        font-size: 0.7rem;
        line-height: 1.25;
        letter-spacing: -0.01em;
    }
    .cookie-banner__btn-txt--full {
        display: none;
    }
    .cookie-banner__btn-txt--short {
        display: inline;
    }
    .cookie-banner__btn {
        flex-shrink: 0;
        width: auto;
        padding: 4px 12px;
        font-size: 0.7rem;
        font-weight: 800;
    }
    body.has-cookie-banner {
        padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px));
    }
    body.has-cookie-banner .back-to-top.is-visible {
        bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    }
}

/* ===== Back to top ===== */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 24px;
    width: 58px;
    height: 58px;
    border-radius: 999px;
    border: 1px solid rgba(37, 99, 235, 0.5);
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    display: grid;
    place-items: center;
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.35);
    cursor: pointer;
    z-index: 160;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, box-shadow 0.2s ease;
}
.back-to-top svg {
    width: 23px;
    height: 23px;
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
@media (hover: hover) and (pointer: fine) {
    .back-to-top:hover {
        box-shadow: 0 20px 38px rgba(37, 99, 235, 0.42);
        transform: translateY(-2px) scale(1.02);
    }
}
.page-iptv .back-to-top {
    background: #ffffff;
    color: #0f172a;
    border-color: rgba(148, 163, 184, 0.38);
    box-shadow: 0 14px 32px rgba(2, 6, 23, 0.42);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero { padding: 24px 0 0; }
    .hero-banner-wrap { padding: 0 16px; }
    .hero-stories {
        border-radius: 18px;
    }
    .hero-stories__shell {
        gap: 10px;
    }
    .configurator-section {
        padding: 18px 0 10px;
    }
    .configurator-section .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .configurator-panel {
        padding: 12px 10px;
        margin-bottom: 14px;
        border-radius: 12px;
    }
    .configurator-selectors {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .selector-group {
        width: 100%;
    }
    .selector-group label {
        font-size: 0.72rem;
        margin-bottom: 4px;
    }
    .location-trigger {
        width: 100%;
        min-width: 0;
        gap: 8px;
        padding: 9px 10px;
        font-size: 0.86rem;
        border-radius: 10px;
    }
    .location-trigger-icon {
        width: 16px;
        height: 16px;
    }
    .location-trigger-chevron {
        width: 14px;
        height: 14px;
    }
    .period-buttons {
        gap: 6px;
    }
    .period-btn {
        min-width: 58px;
        min-height: 58px;
        padding: 6px 8px;
        border-radius: 10px;
    }
    .period-btn__num {
        font-size: 1.25rem;
    }
    .period-btn__unit {
        margin-top: 2px;
        font-size: 0.58rem;
        letter-spacing: 0.04em;
    }
    .category-buttons {
        gap: 6px;
    }
    .category-buttons { width: 100%; }
    .category-btn {
        flex: 1;
        min-width: 0;
        padding: 8px 10px;
        font-size: 0.82rem;
        border-radius: 10px;
    }
    .tariff-carousel {
        margin-top: 4px;
    }
    .configurator-after {
        margin-top: 8px;
    }
    .configurator-after__grid {
        gap: 10px;
    }
    .configurator-after__grid { grid-template-columns: 1fr; }
    .after-card {
        padding: 10px 10px;
        border-radius: 12px;
    }
    .after-card__head {
        margin-bottom: 2px;
    }
    .after-card__head h3 {
        font-size: 1rem;
        margin-bottom: 2px;
    }
    .after-card__head p {
        font-size: 0.82rem;
        line-height: 1.3;
    }
    .after-card__body {
        gap: 6px;
    }
    .after-card__footer .btn {
        height: 40px;
        font-size: 0.88rem;
    }
    .order-form--inline .form-group {
        margin-bottom: 6px;
    }
    .order-form--inline .form-group label {
        font-size: 0.72rem;
        margin-bottom: 3px;
    }
    .order-form--inline .form-group input,
    .sbp-fields .form-group input {
        height: 38px;
        font-size: 0.84rem;
        padding: 8px 10px;
    }
    .callback-form {
        gap: 5px;
    }
    .callback-row {
        gap: 5px;
    }
    .callback-form .form-group {
        margin-bottom: 5px;
    }
    .callback-topic__label {
        font-size: 0.72rem;
        margin-bottom: 3px;
    }
    .callback-topic__buttons {
        gap: 6px;
    }
    .callback-topic__btn {
        height: 36px;
        font-size: 0.8rem;
        border-radius: 9px;
    }
    .callback-consent__label {
        grid-template-columns: 14px 1fr;
        gap: 6px;
        font-size: 0.74rem;
        line-height: 1.2;
    }
    .callback-consent__label input {
        width: 14px;
        height: 14px;
        margin-top: 1px;
    }
    .order-form-error {
        font-size: 0.78rem;
        margin-top: 4px;
    }
    .after-card--callback .after-card__head {
        margin-bottom: 0;
        padding: 0;
    }
    .after-card--callback .after-card__head h3 {
        margin-bottom: 0;
    }
    .after-card--callback .after-card__body {
        gap: 4px;
        padding: 0;
        flex: 0 0 auto;
        min-height: auto;
    }
    .after-card--callback .callback-form {
        gap: 4px;
        padding: 0;
    }
    .after-card--callback .callback-row {
        gap: 4px;
    }
    .after-card--callback .callback-form .form-group {
        margin-bottom: 4px;
    }
    .after-card--callback .order-form--inline .form-group input {
        height: 36px;
        padding: 7px 9px;
    }
    .after-card--callback .order-form--inline .form-group label {
        margin-bottom: 2px;
    }
    .after-card--callback .callback-topic__buttons {
        gap: 4px;
    }
    .after-card--callback .callback-topic__btn {
        height: 34px;
        font-size: 0.76rem;
        padding: 6px 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.1;
        white-space: normal;
    }
    .after-card--callback .callback-consent__label {
        font-size: 0.72rem;
        gap: 5px;
        line-height: 1.15;
    }
    .after-card--callback .callback-consent__label input {
        width: 13px;
        height: 13px;
    }
    .after-card--callback .after-card__footer {
        margin-top: 4px;
    }
    .after-card--callback .after-card__footer .btn {
        height: 38px;
        font-size: 0.84rem;
    }
    .after-card--sbp .after-card__head {
        padding-right: 0;
    }
    .after-card--sbp .after-card__body {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "form logo"
            "footer footer";
        row-gap: 6px;
        column-gap: 8px;
    }
    .sbp-logo {
        align-self: start;
        justify-self: end;
        margin-right: -14px;
    }
    .sbp-logo__img {
        height: 108px;
    }
    .after-card--sbp .sbp-compact {
        margin-top: 0;
    }
    .sbp-compact {
        gap: 8px;
    }
    .sbp-fields--compact {
        gap: 6px;
    }
    .sbp-qr--compact { width: 150px; height: 150px; }
    .hero-stories__stage {
        min-height: 0;
    }
    .hero-stories__slides {
        min-height: 0;
        height: auto;
    }
    .hero-stories__slide {
        position: relative;
        inset: auto;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        grid-template-columns: 1fr;
        padding: 10px 10px 6px;
        gap: 10px;
        transition: none;
    }
    .hero-stories__slide.is-active {
        position: relative;
        display: grid;
    }
    .hero-stories__media {
        order: -1;
        padding: 0;
        min-height: 0;
        border-radius: 12px;
    }
    .hero-stories__img-wrap {
        width: 100%;
        margin: 0 auto;
        border-radius: 0;
        aspect-ratio: auto;
        background: transparent;
    }
    .hero-stories__media .hero-stories__img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        object-position: center;
        border-radius: 12px;
    }
    .hero-stories__content {
        padding: 2px 4px 0;
    }
    .hero-stories__title {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
        margin-bottom: 8px;
    }
    .hero-stories__subtitle {
        font-size: 0.9rem;
        margin-bottom: 14px;
        line-height: 1.4;
    }
    .hero-stories__cta {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    .hero-stories__dock {
        padding: 0 10px 10px;
    }
    .hero-stories__tabs {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        overflow: visible;
    }
    .hero-stories-tab {
        min-width: 0;
        min-height: 62px;
        border-radius: 10px;
    }
    .hero-stories-tab__body {
        padding: 8px 8px 10px;
    }
    .hero-stories-tab__title {
        font-size: 0.8rem;
        line-height: 1.2;
        margin-bottom: 2px;
    }
    .hero-stories-tab__sub {
        font-size: 0.68rem;
        line-height: 1.2;
    }
    .footer-top { grid-template-columns: 1fr; text-align: left; }
    .footer-grid { grid-template-columns: 1fr; text-align: left; gap: 22px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .services-head h2 {
        line-height: 1.03;
    }
    .services-tabs { border-radius: 18px; padding: 10px; }
    .services-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-top: 14px;
        padding: 2px 16px 8px 2px;
    }
    .services-grid::-webkit-scrollbar { display: none; }
    .payments-page {
        padding: 14px 0 18px;
    }
    .offers-page {
        padding: 14px 0 18px;
    }
    .iptv-page {
        padding: 12px 0 18px;
    }
    .offers-page__head {
        margin-bottom: 10px;
    }
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .offer-card {
        border-radius: 12px;
    }
    .offer-card__body {
        padding: 9px 10px 10px;
    }
    .offer-card__date {
        margin-bottom: 5px;
        font-size: 0.72rem;
    }
    .offer-card h3 {
        font-size: 0.98rem;
        margin-bottom: 5px;
    }
    .offer-card p {
        font-size: 0.84rem;
        margin-bottom: 8px;
    }
    .offer-card__more {
        min-height: 26px;
        font-size: 0.74rem;
    }
    .iptv-hero {
        border-radius: 14px;
        min-height: 420px;
    }
    .iptv-hero__content {
        padding: 14px 10px;
    }
    .iptv-hero__content h1 {
        font-size: 1.28rem;
        margin-bottom: 6px;
    }
    .iptv-hero__content p {
        font-size: 0.86rem;
        line-height: 1.35;
    }
    .iptv-hero__chip {
        margin-bottom: 8px;
        font-size: 0.68rem;
    }
    .iptv-features {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 10px;
    }
    .iptv-feature {
        border-radius: 12px;
        padding: 10px;
    }
    .iptv-feature h3 {
        font-size: 0.92rem;
        margin-bottom: 4px;
    }
    .iptv-feature p {
        font-size: 0.8rem;
    }
    .iptv-channels-block {
        border-radius: 12px;
        padding: 10px;
    }
    .iptv-channels-block__head h2 {
        font-size: 1.2rem;
    }
    .iptv-channels-block__head p {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    .iptv-channels-wall {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .iptv-channel-logo {
        min-height: 64px;
        border-radius: 10px;
        padding: 6px;
    }
    .payments-page__head {
        margin-bottom: 10px;
    }
    .payments-page__head p {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    .payments-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .payment-card {
        padding: 10px;
        border-radius: 12px;
    }
    .payment-card__badge {
        margin-bottom: 8px;
        font-size: 0.7rem;
    }
    .payment-card__header {
        gap: 8px;
        margin-bottom: 8px;
    }
    .payment-card__logo {
        height: 24px;
    }
    .payment-card__logo--sbp-main {
        height: 42px;
    }
    .payment-card__logo--payberry {
        height: 28px;
    }
    .payment-card__logo--mir {
        height: 22px;
    }
    .payment-card__logo--vtb {
        height: 20px;
    }
    .payment-card__intro p {
        font-size: 0.82rem;
        line-height: 1.25;
    }
    .payment-card__form {
        gap: 6px;
    }
    .payment-card__form input,
    .payment-card__form .btn {
        height: 38px;
    }
    .payment-card__badge--sbp {
        justify-self: start;
        font-size: 0.78rem;
        padding: 4px 10px;
    }
    .payment-card--sbp-large .payment-card__intro h3 {
        margin: 0 0 4px;
        font-size: 1.2rem;
    }
    .payment-card--sbp-large .payment-card__intro p {
        font-size: 0.82rem;
        line-height: 1.24;
    }
    .payment-card__form--sbp {
        grid-template-columns: 1fr;
    }
    .payment-card__hint-link {
        margin-bottom: 0;
    }
    .payment-card__actions {
        grid-template-columns: 1fr;
    }
    .payment-card__download {
        grid-template-columns: 1fr;
    }
    .payment-card--vtb .payment-card__download,
    .after-card--vtb-main .payment-card__download {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
    }
    .payment-card__download-left {
        gap: 6px;
    }
    .payment-card__qr-hint {
        font-size: 0.78rem;
    }
    .payment-card__qr {
        width: 110px;
        height: 110px;
    }
    .payment-card__stores img {
        height: 24px;
    }
    .payment-card--vtb .payment-card__stores,
    .after-card--vtb-main .payment-card__stores {
        justify-self: end;
        align-self: end;
    }
    .service-card {
        min-height: 0;
        flex: 0 0 88%;
        min-width: 88%;
        scroll-snap-align: start;
        border-radius: 18px;
    }
    .trust-section {
        padding: 6px 0 20px;
    }
    .footer {
        padding: 20px 0 18px;
    }
    .back-to-top {
        width: 52px;
        height: 52px;
        right: 14px;
        bottom: 16px;
    }
    .trust-head h2,
    .trust-advantages-title--mobile {
        line-height: 1.03;
    }
    .callback-row { grid-template-columns: 1fr; }
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .trust-tile {
        min-height: 66px;
        padding: 11px 14px;
        border-radius: 12px;
        gap: 10px;
    }
    .trust-tile__icon {
        width: 20px;
        height: 20px;
    }
    .trust-tile p {
        font-size: 0.94rem;
        line-height: 1.24;
        letter-spacing: -0.005em;
    }
}
