/* ===== Variables ===== */
:root {
    --green: #00B956;
    --green-dark: #009945;
    --green-light: #E8F9EF;
    --purple: #731982;
    --purple-dark: #5a1270;
    --dark: #1a1a1a;
    --gray-900: #333;
    --gray-600: #666;
    --gray-400: #999;
    --gray-200: #e8e8e8;
    --gray-100: #f5f5f5;
    --white: #fff;
    --red: #ff3333;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.2s ease;
    --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --header-offset: 172px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
}
section[id] {
    scroll-margin-top: var(--header-offset);
}
body {
    font-family: var(--font);
    color: var(--gray-900);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn--primary {
    background: var(--green);
    color: var(--white);
}
.btn--primary:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 185, 86, 0.35);
}
.btn--outline {
    border: 2px solid var(--green);
    color: var(--green);
    background: transparent;
}
.btn--outline:hover { background: var(--green-light); }
.btn--white {
    background: var(--white);
    color: var(--green);
}
.btn--white:hover { background: var(--gray-100); }
.btn--outline-white {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}
.btn--outline-white:hover { background: rgba(255,255,255,0.15); }
.btn--hero {
    background: var(--purple);
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
}
.btn--hero:hover {
    background: var(--purple-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(115, 25, 130, 0.35);
}
.btn--hero-outline {
    background: transparent;
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}
.btn--hero-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 2px var(--white);
    text-decoration: none;
}
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--sm { padding: 8px 20px; font-size: 14px; }
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ===== Header ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.header__bar {
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.header__bar-inner {
    display: flex;
    align-items: center;
    min-height: 42px;
}

.header__bar-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header__bar-links a,
.header__bar-links .header__bar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-900);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition);
}

.header__bar-btn {
    padding: 0;
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

.header__bar-icon {
    flex-shrink: 0;
    color: var(--gray-600);
    transition: color var(--transition);
}

.header__bar-links a:hover,
.header__bar-links .header__bar-btn:hover {
    color: var(--green);
    text-decoration: none;
}

.header__bar-links a:hover .header__bar-icon,
.header__bar-links .header__bar-btn:hover .header__bar-icon {
    color: var(--green);
}

.header__region--mobile {
    display: none;
}

.header__region--bar {
    display: none;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: none;
    background: none;
    color: var(--gray-900);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: color var(--transition);
    font-family: inherit;
}
.header__region--bar svg {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    color: var(--green);
}
.header__region--bar:hover {
    color: var(--green);
}

.header__brand-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.header__region--inline {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--gray-400);
    border-radius: 10px;
    background: var(--white);
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition);
    flex-shrink: 0;
    font-family: inherit;
}
.header__region--inline:hover {
    border-color: var(--green);
    color: var(--green);
}
.header__region--inline svg {
    color: var(--gray-600);
    flex-shrink: 0;
}
.header__region--inline:hover svg {
    color: var(--green);
}

.header__top-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}
.header__brand:hover { text-decoration: none; }

.header__logo-img {
    height: 43px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.header__phones {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.header__phone-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header__phone-label {
    font-size: 12px;
    color: var(--gray-600);
    white-space: nowrap;
}

.header__phone-num {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -0.02em;
}
.header__phone-num:hover {
    color: var(--green);
    text-decoration: none;
}

.header__cta {
    padding: 14px 28px;
    background: var(--green);
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background var(--transition), transform var(--transition);
}
.header__cta:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

.header__nav-bar {
    border-top: 1px solid var(--gray-200);
    background: var(--white);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 44px;
    min-height: 58px;
}

.header__nav a {
    color: var(--dark);
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    padding: 16px 0;
    transition: color var(--transition);
}
.header__nav a:hover {
    color: var(--green);
    text-decoration: none;
}

.header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 8px;
    flex-shrink: 0;
}
.header__mobile-actions {
    display: none;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}
.header__phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.header__phone-btn:hover {
    background: var(--green-dark);
    transform: scale(1.05);
}
.header__phone-btn svg {
    flex-shrink: 0;
}
.header__burger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}
.header__burger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.header__burger.active span:nth-child(2) { opacity: 0; }
.header__burger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 114px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 24px 20px;
    z-index: 99;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    overflow-y: auto;
}
.mobile-menu.open {
    transform: translateX(0);
    opacity: 1;
}
.mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.mobile-menu nav > a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-200);
}
.mobile-menu nav > a:hover { color: var(--green); }

.header__bar-icon {
    flex-shrink: 0;
    color: var(--gray-600);
}

.mobile-menu__bar-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid var(--gray-200);
    background: none;
    color: var(--dark);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}
.mobile-menu__bar-btn:hover { color: var(--green); }

.mobile-menu__phones {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius);
}
.mobile-menu__phone-block span {
    display: block;
    font-size: 12px;
    color: var(--gray-600);
    margin-bottom: 4px;
}
.mobile-menu__phone-block a {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
}
.mobile-menu__phone-block a:hover { color: var(--green); }

.footer__logo-img {
    height: 40px;
    width: auto;
    display: block;
    flex-shrink: 0;
}
.hero {
    padding: 32px 0 48px;
    background: var(--gray-100);
}
.hero__banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    background: var(--green);
    border-radius: var(--radius-lg);
    padding: 48px 56px;
    overflow: hidden;
}
.hero__content {
    max-width: 520px;
}
.hero h1 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 16px;
}
.hero__subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 20px;
    line-height: 1.6;
}
.hero__icons {
    display: none;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}
.hero__icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.hero__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--white);
}
.hero__icon-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1;
}
.hero__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    max-width: none;
}
.hero__actions .btn {
    width: auto;
    flex: 0 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    padding: 0 38px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    border: none;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
}
.hero__actions .btn--hero-outline {
    padding: 0 38px;
}
.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero__image img {
    width: 100%;
    max-width: 360px;
    height: auto;
    display: block;
}

/* ===== Address check ===== */
.address-check {
    padding: 0 0 64px;
    background: var(--gray-100);
}
.address-check__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}
.address-check__info h2 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}
.address-check__info p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.6;
}
.address-check__form {
    max-width: 420px;
    justify-self: end;
    width: 100%;
}
.address-check__city-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--dark);
}
.address-check__city-label strong {
    font-weight: 700;
}
.address-check__city-change {
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: var(--white);
    color: var(--gray-600);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition);
}
.address-check__city-change:hover {
    border-color: var(--dark);
    color: var(--dark);
}

/* ===== Forms ===== */
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 6px;
}
.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    transition: border-color var(--transition);
    outline: none;
}
.form-group input:focus {
    border-color: var(--green);
}
.form-group input.error {
    border-color: var(--red);
}
.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 20px;
    cursor: pointer;
}
.checkbox input {
    margin-top: 3px;
    accent-color: var(--green);
    flex-shrink: 0;
}

/* ===== Benefits ===== */
.benefits {
    padding: 0 0 40px;
    background: var(--white);
}
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.benefit-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    background: var(--gray-100);
    transition: transform var(--transition);
}
.benefit-card:hover { transform: translateY(-4px); }
.benefit-card__icon {
    font-size: 36px;
    margin-bottom: 16px;
}
.benefit-card h3 {
    font-size: 16px;
    margin-bottom: 8px;
}
.benefit-card p {
    font-size: 14px;
    color: var(--gray-600);
}

/* ===== Tariffs ===== */
.tariffs {
    padding: 48px 0 64px;
    background: var(--gray-100);
}
.tariffs__header {
    margin-bottom: 28px;
}
.section-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    margin-bottom: 8px;
}
.section-title--left {
    text-align: left;
    margin-bottom: 0;
}
.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 40px;
}
.tariffs__tabs {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.tariffs__tab {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--white);
    border: 2px solid var(--gray-200);
    transition: all var(--transition);
}
.tariffs__tab.active,
.tariffs__tab:hover {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}
.tariffs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* Tariff card — Beeline-style layout, MegaFon theme */
.tariff-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
    overflow: visible;
    border: 1px solid var(--gray-200);
}
.tariff-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.tariff-card--hit {
    border-color: var(--green);
    box-shadow: 0 4px 24px rgba(0, 185, 86, 0.15);
}

.tariff-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 20px 18px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    position: relative;
}
.tariff-card__head-main {
    flex: 1;
    min-width: 0;
}
.tariff-card__badge-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 24px;
    margin-bottom: 8px;
}
.tariff-card__name {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 14px;
    padding-right: 76px;
    min-height: 50px;
    max-height: 50px;
    overflow: hidden;
}
.tariff-card__badge {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
}
.tariff-card__badge--hit {
    background: var(--green);
    color: var(--white);
}
.tariff-card__badge--sale {
    background: #ff6b00;
    color: var(--white);
}

.tariff-card__specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tariff-card__spec {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
}
.tariff-card__spec svg {
    flex-shrink: 0;
    color: var(--green);
}

.tariff-card__head-visual {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    margin-top: 4px;
}
.tariff-card__orb {
    position: absolute;
    border-radius: 50%;
}
.tariff-card__orb--green {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--green) 0%, #00d463 100%);
    top: 0;
    right: 0;
    opacity: 0.9;
}
.tariff-card__orb--purple {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--purple) 0%, #9b3fb8 100%);
    bottom: 2px;
    left: 0;
    opacity: 0.85;
}

.tariff-card__body {
    padding: 18px 20px 16px;
    flex: 1;
}
.tariff-card__desc {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 14px;
}
.tariff-card__extras {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tariff-card__extra {
    font-size: 13px;
    color: var(--dark);
    line-height: 1.45;
}
.tariff-card__extra-line {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.tariff-card__extra-hint {
    display: block;
    font-size: 11px;
    color: var(--gray-400);
    margin-top: 2px;
}

.tariff-card__tip {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}
.tariff-card__tip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--dark);
    border-radius: 50%;
    background: transparent;
    color: var(--dark);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: color var(--transition), border-color var(--transition), transform var(--transition);
}
.tariff-card__tip-btn:hover {
    background: transparent;
    color: var(--green);
    border-color: var(--green);
    transform: scale(1.08);
}
.tariff-card__tip-popup {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: min(280px, 72vw);
    padding: 12px 14px;
    background: #2b2b2b;
    color: var(--white);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 20;
    text-align: left;
}
.tariff-card__tip-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-top-color: #2b2b2b;
}
.tariff-card__tip:hover .tariff-card__tip-popup,
.tariff-card__tip:focus-within .tariff-card__tip-popup,
.tariff-card__tip.is-open .tariff-card__tip-popup {
    opacity: 1;
    visibility: visible;
}

.tariff-card__promo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--purple);
}
.tariff-card__promo svg {
    flex-shrink: 0;
    color: var(--purple);
}

.tariff-card__foot {
    padding: 0 20px 20px;
    margin-top: auto;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.tariff-card__price {
    margin-bottom: 14px;
}
.tariff-card__price-current {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.1;
    letter-spacing: -0.02em;
}
.tariff-card__price-note {
    font-size: 13px;
    color: var(--gray-600);
    margin-top: 6px;
    line-height: 1.4;
}
.tariff-card__btn {
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
}

/* ===== How ===== */
.how {
    padding: 40px 0 64px;
}
.how .section-title {
    margin-bottom: 44px;
}
.how__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}
.how__step { text-align: center; }
.how__num {
    width: 48px;
    height: 48px;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
}
.how__step h3 {
    font-size: 16px;
    margin-bottom: 8px;
}
.how__step p {
    font-size: 14px;
    color: var(--gray-600);
}
.how__cta { text-align: center; }

/* ===== Equipment ===== */
.equipment {
    padding: 40px 0 64px;
    background: var(--white);
}
.equipment__lead {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.6;
    max-width: 720px;
    margin-top: 12px;
    margin-bottom: 40px;
}
.equipment__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
}
.equipment-card {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
}
.equipment-card__img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius);
}
.equipment-card__img-wrap img {
    max-width: 100%;
    max-height: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.equipment-card__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}
.equipment-card__desc {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.equipment-card__specs {
    flex: 1;
    margin-bottom: 20px;
}
.equipment-card__specs h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-600);
    margin: 16px 0 8px;
}
.equipment-card__specs h4:first-child {
    margin-top: 0;
}
.equipment-card__specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.equipment-card__specs li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-900);
}
.equipment-card__specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
}
.equipment-card__notice {
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 18px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--gray-600);
}
.equipment-card__pricing {
    margin-bottom: 16px;
    padding-top: 4px;
}
.equipment-card__price-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.equipment-card__price-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}
.equipment-card__price-value {
    font-size: 15px;
    color: var(--gray-900);
    line-height: 1.4;
}

/* ===== FAQ ===== */
.faq {
    padding: 40px 0 64px;
    background: var(--gray-100);
}
.faq__list {
    max-width: 760px;
    margin: 0 auto;
}
.faq__item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.faq__item summary {
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: '+';
    font-size: 20px;
    color: var(--green);
    font-weight: 400;
    transition: transform var(--transition);
}
.faq__item[open] summary::after {
    transform: rotate(45deg);
}
.faq__item p {
    padding: 0 24px 20px;
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== CTA Banner ===== */
.cta-banner {
    background: var(--gray-100);
    padding: 0 0 48px;
}
.cta-banner__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
    padding: 36px 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}
.cta-banner__text {
    flex: 1;
    min-width: 240px;
}
.cta-banner h2 {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.25;
}
.cta-banner p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--gray-600);
    max-width: 560px;
}
.cta-banner__btn {
    flex-shrink: 0;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

/* ===== Footer ===== */
.footer {
    background: var(--white);
    color: var(--dark);
}
.footer__main {
    padding: 56px 0 48px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.footer__brand-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.footer__partner {
    font-size: 12px;
    line-height: 1.35;
    color: var(--gray-600);
    max-width: 160px;
}
.footer__brand-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}
.footer__brand-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--gray-600);
    margin-bottom: 18px;
    max-width: 320px;
}
.footer__region {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 999px;
    background: var(--gray-100);
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background var(--transition);
}
.footer__region:hover {
    background: var(--gray-200);
}
.footer__region svg {
    color: var(--gray-600);
    flex-shrink: 0;
}
.footer__heading {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--dark);
}
.footer__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.footer__nav a,
.footer__nav-btn {
    font-size: 14px;
    line-height: 1.4;
    color: var(--gray-600);
    text-decoration: none;
    transition: color var(--transition);
    text-align: left;
}
.footer__nav-btn {
    padding: 0;
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}
.footer__nav a:hover,
.footer__nav-btn:hover {
    color: var(--green);
    text-decoration: none;
}
.footer__phones {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}
.footer__phone-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.footer__phone-label {
    font-size: 12px;
    color: var(--gray-600);
}
.footer__phone-num {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.footer__phone-num:hover {
    color: var(--green);
    text-decoration: none;
}
.footer__callback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: var(--white);
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.footer__callback:hover {
    border-color: var(--green);
    color: var(--green);
    background: var(--green-light);
}
.footer__legal-bar {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    padding: 24px 0 28px;
}
.footer__legal {
    font-size: 12px;
    line-height: 1.65;
    color: var(--gray-600);
    text-align: justify;
}
.footer__legal a {
    color: var(--gray-600);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer__legal a:hover {
    color: var(--green);
}

body.modal-open {
    overflow: hidden;
}

html.modal-open {
    overflow: hidden;
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    pointer-events: none;
}
.modal.open {
    visibility: visible;
    pointer-events: auto;
}
.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
    opacity: 0;
    transition:
        opacity 0.45s ease,
        backdrop-filter 0.45s ease,
        -webkit-backdrop-filter 0.45s ease;
}
.modal.open .modal__overlay {
    opacity: 1;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.modal__content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 440px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: opacity 0.35s ease 0.08s;
}
.modal.open .modal__content {
    opacity: 1;
}
.modal__content--success {
    text-align: center;
    max-width: 500px;
    padding: 48px 44px 44px;
}
.modal__content--success h2 {
    font-size: 26px;
    margin-bottom: 12px;
}
.modal__content--success p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--gray-600);
    margin: 0;
}
.modal__content--success .modal__note {
    margin-top: 8px;
    font-size: 14px;
}
.modal__content--success .btn {
    margin-top: 28px;
    min-width: 260px;
    width: 100%;
    max-width: 320px;
    padding: 14px 40px;
}
.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 28px;
    color: var(--gray-400);
    line-height: 1;
    padding: 4px;
}
.modal__close:hover { color: var(--dark); }
.modal h2 {
    font-size: 24px;
    margin-bottom: 8px;
}
.modal__subtitle {
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 24px;
}

/* ===== City picker ===== */
.modal__content--city-picker {
    max-width: 920px;
    width: min(920px, calc(100vw - 40px));
    height: 680px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    padding: 28px 28px 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.city-picker__title {
    margin: 0 0 20px;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    flex-shrink: 0;
}

.city-picker__search-wrap {
    position: relative;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.city-picker__search {
    width: 100%;
    padding: 14px 48px 14px 16px;
    border: none;
    border-radius: 12px;
    background: var(--gray-100);
    font-size: 16px;
    color: var(--dark);
}

.city-picker__search:focus {
    outline: 2px solid rgba(0, 185, 86, 0.35);
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--gray-200);
}

.city-picker__search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

.city-picker__body {
    display: grid;
    grid-template-columns: minmax(240px, 34%) 1fr;
    gap: 0;
    flex: 1;
    min-height: 0;
    height: 100%;
    border-top: 1px solid var(--gray-200);
    overflow: hidden;
}

.city-picker__body.is-search {
    grid-template-columns: 1fr;
}

.city-picker__body.is-search .city-picker__regions {
    display: none;
}

.city-picker__body.is-search .city-picker__cities {
    padding-left: 0;
}

.city-picker__regions,
.city-picker__cities {
    overflow: auto;
    padding: 16px 0;
    min-height: 0;
}

.city-picker__regions {
    border-right: 1px solid var(--gray-200);
    padding-right: 12px;
}

.city-picker__cities {
    padding-left: 24px;
}

.city-picker__letter {
    padding: 10px 12px 6px;
    font-size: 13px;
    font-weight: 700;
    color: #e20a16;
    letter-spacing: 0.04em;
}

.city-picker__region,
.city-picker__city {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--gray-900);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.city-picker__city {
    padding: 6px 12px;
    line-height: 1.3;
}

.city-picker__region:hover,
.city-picker__city:hover {
    background: var(--gray-100);
}

.city-picker__region.is-active {
    background: var(--green-light);
    color: var(--green-dark);
    font-weight: 600;
}

.city-picker__city.is-current {
    color: var(--green-dark);
}

.city-picker__city--result {
    padding: 8px 12px;
}

.city-picker__city-label {
    display: block;
    font-weight: 500;
    color: var(--gray-900);
}

.city-picker__city.is-primary .city-picker__city-label {
    font-weight: 700;
    color: var(--dark);
}

.city-picker__city.is-current .city-picker__city-label {
    color: var(--green-dark);
}

.city-picker__city--result .city-picker__city-label {
    font-size: 16px;
}

.city-picker__city--result:not(.is-primary) .city-picker__city-label {
    font-weight: 500;
    color: var(--gray-900);
}

.city-picker__city-region {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: var(--gray-600);
    font-weight: 400;
}

.city-picker__empty {
    padding: 12px;
    color: var(--gray-600);
    font-size: 14px;
}

.phones-modal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.phones-modal__item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border-radius: var(--radius);
    background: var(--gray-100);
    text-decoration: none;
    transition: background var(--transition);
}
.phones-modal__item:hover {
    background: var(--gray-200);
    text-decoration: none;
}
.phones-modal__label {
    font-size: 13px;
    color: var(--gray-600);
}
.phones-modal__num {
    font-size: 22px;
    font-weight: 700;
    color: var(--green);
}
.success-icon {
    width: 72px;
    height: 72px;
    background: var(--green-light);
    color: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    margin: 0 auto 24px;
}

/* ===== Cookie banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    color: var(--gray-900);
    border-top: 1px solid var(--gray-200);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 150;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    flex-wrap: wrap;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--gray-600);
    max-width: 900px;
    margin: 0;
}

/* ===== Toast ===== */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--dark);
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    z-index: 300;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}
.toast.show {
    transform: translateY(0);
    opacity: 1;
}
.toast--error { background: var(--red); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .header__phones { gap: 20px; }
    .header__phone-num { font-size: 15px; }
    .header__nav { gap: 28px; }
    .header__nav a { font-size: 16px; padding: 14px 0; }
    .benefits__grid { grid-template-columns: repeat(2, 1fr); }
    .how__steps { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 900px) {
    :root {
        --header-offset: 72px;
    }

    .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .header__bar-links--desktop { display: none; }
    .header__region--desktop { display: none; }
    .header__region--bar {
        display: inline-flex;
        font-size: 16px;
        gap: 8px;
    }
    .header__region--bar svg {
        width: 18px;
        height: 18px;
    }

    .header__phones { display: none; }
    .header__cta { display: none; }
    .header__logo-img { height: 32px; }
    .header__nav-bar { display: none; }
    .header__top-inner {
        min-height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .header__bar-inner {
        min-height: 38px;
    }
    .header__mobile-actions {
        display: flex;
        gap: 8px;
    }
    .header__burger { display: flex; }
    .mobile-menu { display: block; padding-left: 10px; padding-right: 10px; }
    .hero__image { display: none; }
    .hero__icons { display: flex; }
    .hero {
        padding: 16px 0;
    }
    .tariffs {
        padding-top: 20px;
    }
}

@media (max-width: 768px) {
    .hero__banner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 28px 16px 24px;
        text-align: center;
    }
    .hero__content { max-width: none; margin: 0 auto; }
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        width: 100%;
        gap: 10px;
    }
    .hero__actions .btn {
        width: 100%;
        min-height: 44px;
        padding: 0 26px;
        font-size: 14px;
    }
    .tariffs {
        padding-top: 16px;
    }
    .tariffs__header {
        margin-bottom: 20px;
    }
    .tariff-card__head {
        padding: 16px 16px 14px;
    }
    .tariff-card__body,
    .tariff-card__foot {
        padding-left: 16px;
        padding-right: 16px;
    }
    .tariff-card__foot {
        padding-bottom: 16px;
    }
    .tariff-card__price-current {
        font-size: 28px;
    }
    .address-check__card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 28px 20px;
    }
    .address-check__form { max-width: none; justify-self: stretch; }
    .equipment__grid { grid-template-columns: 1fr; }
    .equipment-card { padding: 24px 20px; }
    .benefits__grid { grid-template-columns: 1fr; }
    .how__steps { grid-template-columns: 1fr; gap: 24px; }
    .cta-banner__card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 28px 24px;
    }
    .cta-banner__text { min-width: 0; }
    .cta-banner p { max-width: none; }
    .cta-banner__btn { width: 100%; }
    .footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .footer__main { padding: 40px 0 32px; }

    .city-picker.modal {
        padding: 10px;
        align-items: stretch;
    }
    .modal__content--city-picker {
        width: 100%;
        max-width: none;
        height: calc(100vh - 20px);
        height: calc(100dvh - 20px);
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
        padding: 22px 14px 14px;
    }
    .city-picker__title {
        font-size: 22px;
        margin-bottom: 14px;
    }
    .city-picker__search-wrap {
        margin-bottom: 14px;
    }
    .city-picker__search {
        padding: 12px 44px 12px 14px;
        font-size: 15px;
    }
    .city-picker__body {
        grid-template-columns: 1fr 1fr;
    }
    .city-picker__regions {
        padding-right: 6px;
    }
    .city-picker__cities {
        padding-left: 8px;
    }
    .city-picker__region {
        padding: 8px 4px;
        font-size: 12px;
        line-height: 1.3;
    }
    .city-picker__city {
        padding: 5px 6px;
        font-size: 13px;
        line-height: 1.25;
    }
    .city-picker__letter {
        padding: 6px 4px 3px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .modal__content { padding: 28px 20px; }
    .modal__content--success { padding: 36px 24px 32px; }
    .modal__content--success .btn { max-width: none; }
    .city-picker.modal {
        padding: 8px;
    }
    .modal__content--city-picker {
        width: 100%;
        padding: 18px 12px 12px;
        border-radius: 16px;
    }
    .modal__content--city-picker .modal__close {
        top: 12px;
        right: 12px;
    }
    .city-picker__title {
        font-size: 20px;
        margin-bottom: 12px;
        padding-right: 28px;
    }
    .city-picker__body {
        grid-template-columns: 1fr 1fr;
    }
    .city-picker__region {
        padding: 7px 3px;
        font-size: 11px;
        line-height: 1.25;
    }
    .city-picker__city {
        padding: 4px 5px;
        font-size: 12px;
        line-height: 1.2;
    }
    .city-picker__regions {
        padding-right: 4px;
    }
    .city-picker__cities {
        padding-left: 6px;
    }
}
