/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #007AFF;
    --primary-dark: #0051D5;
    --text: #1D1D1F;
    --text-secondary: #86868B;
    --bg: #FFFFFF;
    --bg-secondary: #F5F5F7;
    --border: #D2D2D7;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg);
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Фиксированная шапка */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    min-height: 64px;
}

.logo {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.logo:hover {
    opacity: 0.7;
}

.logo__img {
    height: 40px;
    width: auto;
    display: block;
}

/* Навигация */
.nav__list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav__item {
    position: relative;
}

.nav__link {
    color: var(--text);
    text-decoration: none;
    font-weight: 400;
    font-size: 17px;
    transition: color 0.3s ease;
    position: relative;
    display: block;
}

.nav__link:hover {
    color: var(--primary);
}

/* Выпадающее меню */
.nav__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    list-style: none;
}

.nav__item--dropdown:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
    display: block;
    padding: 12px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
}

.nav__dropdown-link:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

/* Кнопки */
.btn {
    padding: 10px 22px;
    border: none;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
    background: transparent;
}

.btn--primary {
    background: var(--primary);
    color: white;
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.btn--secondary {
    color: var(--primary);
    border: 1px solid var(--primary);
    background: white;
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
}

.hero .btn--secondary {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero .btn--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
}

.btn--large {
    padding: 14px 28px;
    font-size: 19px;
}

.btn--block {
    width: 100%;
}

/* Бургер меню */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.burger:hover {
    background: rgba(0, 0, 0, 0.05);
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
    display: block;
    position: relative;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--text);
}

.burger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
    width: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--text);
}

/* Мобильное меню overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
    overflow: hidden;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-overlay__nav {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    padding: 100px 40px 40px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
}

.menu-overlay.active .menu-overlay__nav {
    transform: translateX(0);
}

.menu-overlay__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.menu-overlay__list > li {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-overlay.active .menu-overlay__list > li {
    opacity: 1;
    transform: translateX(0);
}

.menu-overlay.active .menu-overlay__list > li:nth-child(1) {
    transition-delay: 0.1s;
}

.menu-overlay.active .menu-overlay__list > li:nth-child(2) {
    transition-delay: 0.15s;
}

.menu-overlay.active .menu-overlay__list > li:nth-child(3) {
    transition-delay: 0.2s;
}

.menu-overlay.active .menu-overlay__list > li:nth-child(4) {
    transition-delay: 0.25s;
}

.menu-overlay.active .menu-overlay__list > li:nth-child(5) {
    transition-delay: 0.3s;
}

.menu-overlay.active .menu-overlay__list > li:nth-child(6) {
    transition-delay: 0.35s;
}

.menu-overlay.active .menu-overlay__list > li:nth-child(7) {
    transition-delay: 0.4s;
}

.menu-overlay__link {
    color: var(--text);
    text-decoration: none;
    font-size: 32px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    padding: 16px 0;
    position: relative;
    letter-spacing: -0.5px;
}

.menu-overlay__link::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-overlay__link:hover {
    color: var(--primary);
    transform: translateX(8px);
}

.menu-overlay__link:hover::after {
    width: 40px;
}

.menu-overlay__btn {
    margin-top: 32px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.45s, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.45s;
}

.menu-overlay.active .menu-overlay__btn {
    opacity: 1;
    transform: translateY(0);
}

.menu-overlay__sublist {
    list-style: none;
    padding-left: 24px;
    margin-top: 12px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), margin 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 1;
}

.menu-overlay__sublink {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 22px;
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    padding: 12px 0;
    position: relative;
    opacity: 0;
    transform: translateX(20px);
}

.menu-overlay.active .menu-overlay__sublink {
    opacity: 1;
    transform: translateX(0);
}

.menu-overlay__sublink:nth-child(1) {
    transition-delay: 0.25s;
}

.menu-overlay__sublink:nth-child(2) {
    transition-delay: 0.3s;
}

.menu-overlay__sublink:nth-child(3) {
    transition-delay: 0.35s;
}

.menu-overlay__sublink:nth-child(4) {
    transition-delay: 0.4s;
}

.menu-overlay__sublink:hover {
    color: var(--primary);
    transform: translateX(8px);
}

/* Hero секция */
.hero {
    position: relative;
    padding: 160px 0 120px;
    text-align: center;
    background: var(--bg);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 50%, #003D9E 100%);
    opacity: 0.95;
    z-index: 0;
}

.hero__bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    background-size: 100% 100%, 100% 100%, 200% 200%;
    animation: heroPattern 20s linear infinite;
}

.hero__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
    opacity: 0.5;
}

@keyframes heroPattern {
    0% {
        background-position: 0% 0%, 0% 0%, 0% 0%;
    }
    100% {
        background-position: 0% 0%, 0% 0%, 100% 100%;
    }
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero__title {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.07;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero__subtitle {
    font-size: 21px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.38;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-hero .hero__actions {
    margin-top: 40px;
}

/* Статистика */
.stats {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    text-align: center;
}

.stats__number {
    font-size: 48px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stats__label {
    font-size: 17px;
    color: var(--text-secondary);
}

/* Секции */
.section__header {
    text-align: center;
    margin-bottom: 64px;
}

.section__title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    color: var(--text);
}

.section__subtitle {
    font-size: 21px;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Услуги */
.services {
    padding: 120px 0;
    background: var(--bg);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.service-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--primary);
}

.service-card__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
    letter-spacing: -0.3px;
}

.service-card__text {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 17px;
}

.service-card__link {
    color: var(--primary);
    font-size: 17px;
    font-weight: 400;
}

/* Преимущества */
.advantages {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.advantage-item {
    text-align: left;
}

.advantage-item__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: var(--primary);
}

.advantage-item__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
    letter-spacing: -0.3px;
}

.advantage-item__text {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 17px;
}

/* О интернете */
.about-internet {
    padding: 120px 0;
    background: var(--bg);
}

.about-internet__content {
    max-width: 800px;
    margin: 0 auto;
}

.about-internet__text p {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.about-internet__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 48px 0;
    padding: 32px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item strong {
    font-size: 17px;
    color: var(--text);
    font-weight: 600;
}

.feature-item span {
    font-size: 15px;
    color: var(--text-secondary);
}

/* FAQ */
.faq {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 21px;
    font-weight: 400;
    color: var(--text);
    transition: color 0.3s ease;
    user-select: none;
}

.faq-item__question:hover {
    color: var(--primary);
}

.faq-item__question svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-secondary);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-item__question svg {
    transform: rotate(180deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-item__answer {
    max-height: 500px;
}

.faq-item__answer p {
    padding-top: 16px;
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Контакты */
.contacts {
    padding: 120px 0;
    background: var(--bg);
}

.contacts__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    text-align: center;
}

.contacts__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--primary);
}

.contacts__title {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.contacts__text {
    font-size: 17px;
    color: var(--text-secondary);
}

.contacts__link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.contacts__link:hover {
    color: var(--primary);
    opacity: 0.9;
}

/* Футер */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer__logo {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.footer__text {
    font-size: 17px;
    color: var(--text-secondary);
}

.footer__title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
}

.footer__list {
    list-style: none;
}

.footer__list li {
    margin-bottom: 12px;
}

.footer__list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 17px;
    transition: color 0.3s ease;
}

.footer__list a:hover {
    color: var(--primary);
}

.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
}

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.modal__content {
    position: relative;
    background: var(--bg);
    border-radius: 18px;
    padding: 40px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2001;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalAppear 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 0;
}

.modal__close:hover {
    background: var(--bg-secondary);
    color: var(--text);
}

.modal__title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
    letter-spacing: -0.5px;
}

.modal__subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Формы */
.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form__group {
    margin-bottom: 16px;
}

.form__label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
    color: var(--text);
    font-size: 15px;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 17px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--bg);
    color: var(--text);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--text-secondary);
}

.form__textarea {
    resize: vertical;
    min-height: 80px;
}

/* Уведомления */
.notification {
    position: fixed;
    top: 80px;
    right: 24px;
    background: var(--text);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    z-index: 3000;
    transform: translateX(400px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 360px;
    font-size: 17px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: #34C759;
}

.notification.error {
    background: #FF3B30;
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header__btn {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero__title {
        font-size: 40px;
    }

    .hero__subtitle {
        font-size: 19px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .section__title {
        font-size: 36px;
    }

    .section__subtitle {
        font-size: 19px;
    }

    .services,
    .advantages,
    .about-internet,
    .faq,
    .contacts {
        padding: 80px 0;
    }

    .services__grid,
    .advantages__grid {
        grid-template-columns: 1fr;
    }

    .about-internet__features {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .form__row {
        grid-template-columns: 1fr;
    }

    .modal__content {
        padding: 32px 24px;
    }

    .modal__title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero__title {
        font-size: 32px;
    }

    .section__title {
        font-size: 28px;
    }

    .stats__grid {
        grid-template-columns: 1fr;
    }

    .notification {
        right: 16px;
        left: 16px;
        max-width: none;
    }
}

/* Страницы услуг */
.service-hero {
    position: relative;
    padding: 140px 0 80px;
    text-align: center;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.service-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.service-hero--internet .service-hero__bg {
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 50%, #003D9E 100%);
}

.service-hero--wifi .service-hero__bg {
    background: linear-gradient(135deg, #5856D6 0%, #3D3DB8 50%, #2A2A8A 100%);
}

.service-hero--telephony .service-hero__bg {
    background: linear-gradient(135deg, #34C759 0%, #28A745 50%, #1E7E34 100%);
}

.service-hero--video .service-hero__bg {
    background: linear-gradient(135deg, #FF9500 0%, #E6850E 50%, #CC7500 100%);
}

.service-hero__bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0.8;
}

.service-hero__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
    opacity: 0.5;
}

.service-hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.service-hero__title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.service-hero__subtitle {
    font-size: 21px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.38;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.service-content {
    padding: 80px 0;
    background: var(--bg);
}

.service-content__main {
    max-width: 800px;
    margin: 0 auto;
}

.service-content__main h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 24px;
    margin-top: 48px;
    color: var(--text);
    letter-spacing: -0.5px;
}

.service-content__main h2:first-child {
    margin-top: 0;
}

.service-content__main h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 40px;
    color: var(--text);
    letter-spacing: -0.3px;
}

.service-content__main p {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-list {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.service-list li {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
}

.service-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 24px;
    line-height: 1;
}

.service-cta {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.service-cta__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.service-cta__content h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
    letter-spacing: -0.5px;
}

.service-cta__content p {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Блоки для страниц услуг */
.service-advantages {
    padding: 120px 0;
    background: var(--bg);
}

.service-advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-advantage-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.service-advantage-card__icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary);
}

.service-advantage-card__title {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
    letter-spacing: -0.3px;
}

.service-advantage-card__text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 17px;
}

.service-features {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.service-features__content {
    max-width: 900px;
    margin: 0 auto;
}

.service-features__text {
    margin-bottom: 48px;
}

.service-features__text p {
    font-size: 19px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-features__bullets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.bullet-item:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}

.bullet-item__icon {
    width: 32px;
    height: 32px;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.bullet-item span {
    font-size: 17px;
    color: var(--text);
    font-weight: 400;
}

.service-for {
    padding: 120px 0;
    background: var(--bg);
}

.service-for__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.service-for__item {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-secondary);
    border-radius: 18px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.service-for__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.service-for__icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.service-for__title {
    font-size: 19px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.3px;
}

.service-faq {
    padding: 120px 0;
    background: var(--bg-secondary);
}

@media (max-width: 768px) {
    .service-hero {
        padding: 120px 0 60px;
    }

    .service-hero__title {
        font-size: 36px;
    }

    .service-hero__subtitle {
        font-size: 19px;
    }

    .service-advantages,
    .service-features,
    .service-for,
    .service-faq {
        padding: 80px 0;
    }

    .service-advantages__grid {
        grid-template-columns: 1fr;
    }

    .service-features__bullets {
        grid-template-columns: 1fr;
    }

    .service-for__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-cta {
        padding: 60px 0;
    }

    .service-cta__content h2 {
        font-size: 28px;
    }
}

/* Подсказки адресов */
.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-top: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: 280px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.address-suggestions.active {
    display: block;
}

.address-suggestion-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid var(--border);
}

.address-suggestion-item:last-child {
    border-bottom: none;
}

.address-suggestion-item:hover,
.address-suggestion-item.active {
    background: var(--bg-secondary);
}

.address-suggestion-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.address-suggestion-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.address-suggestion-main {
    color: var(--text);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4;
}

.address-suggestion-additional {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form__group {
    position: relative;
}

/* Страница результата проверки */
.check-result {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    padding: 40px 20px;
}

.check-result__container {
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.check-result__loading {
    padding: 60px 0;
}

.loader {
    margin-bottom: 32px;
}

.loader__spinner {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border: 4px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.check-result__loading-text {
    font-size: 19px;
    color: var(--text-secondary);
    margin-top: 24px;
}

.check-result__content {
    background: var(--bg);
    border-radius: 18px;
    padding: 60px 40px;
    box-shadow: var(--shadow);
}

.check-result__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 32px;
    background: rgba(52, 199, 89, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #34C759;
}

.check-result__title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text);
    letter-spacing: -0.5px;
}

.check-result__text {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.check-result__address {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 32px;
    font-size: 17px;
    color: var(--text);
}

.check-result__address strong {
    color: var(--text);
    font-weight: 600;
}

.check-result__back {
    display: inline-block;
    margin-top: 24px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 17px;
    transition: color 0.3s ease;
}

.check-result__back:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .check-result__content {
        padding: 40px 24px;
    }

    .check-result__title {
        font-size: 28px;
    }

    .check-result__text {
        font-size: 17px;
    }
}

/* Блог */
.blog-hero {
    padding: 140px 0 80px;
    text-align: center;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.blog-hero__title {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.07;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    color: var(--text);
}

.blog-hero__subtitle {
    font-size: 21px;
    color: var(--text-secondary);
    line-height: 1.38;
}

.blog-list {
    padding: 120px 0;
    background: var(--bg);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.blog-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.blog-card__image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    position: relative;
    overflow: hidden;
}

.blog-card__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 255, 255, 0.03) 2px, rgba(255, 255, 255, 0.03) 4px);
    opacity: 0.5;
}

.blog-card__content {
    padding: 32px;
}

.blog-card__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.blog-card__excerpt {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.blog-card__read {
    color: var(--primary);
    font-size: 17px;
    font-weight: 400;
}

/* Страница статьи */
.article {
    padding: 120px 0;
    background: var(--bg);
}

.article__header {
    max-width: 800px;
    margin: 0 auto 64px;
    text-align: center;
}

.article__title {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.07;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    color: var(--text);
}

.article__meta {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.article__content {
    max-width: 800px;
    margin: 0 auto;
}

.article__content h2 {
    font-size: 36px;
    font-weight: 600;
    margin-top: 64px;
    margin-bottom: 24px;
    color: var(--text);
    letter-spacing: -0.5px;
}

.article__content h2:first-of-type {
    margin-top: 0;
}

.article__content h3 {
    font-size: 28px;
    font-weight: 600;
    margin-top: 48px;
    margin-bottom: 16px;
    color: var(--text);
    letter-spacing: -0.3px;
}

.article__content p {
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.article__content ul,
.article__content ol {
    margin: 24px 0;
    padding-left: 0;
    list-style: none;
}

.article__content li {
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
}

.article__content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 24px;
    line-height: 1;
}

.article__content ol {
    counter-reset: list-counter;
}

.article__content ol li {
    counter-increment: list-counter;
    padding-left: 48px;
}

.article__content ol li::before {
    content: counter(list-counter) '.';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
    font-size: 19px;
}

.article__content strong {
    color: var(--text);
    font-weight: 600;
}

.article__content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.article__content a:hover {
    border-bottom-color: var(--primary);
}

.article__cta {
    margin-top: 64px;
    padding: 48px;
    background: var(--bg-secondary);
    border-radius: 18px;
    text-align: center;
    border: 1px solid var(--border);
}

.article__cta h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text);
}

.article__cta p {
    font-size: 19px;
    margin-bottom: 32px;
    color: var(--text-secondary);
}

.article__back {
    display: inline-block;
    margin-top: 48px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 17px;
    transition: color 0.3s ease;
}

.article__back:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 120px 0 60px;
    }

    .blog-hero__title {
        font-size: 40px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .article {
        padding: 80px 0;
    }

    .article__title {
        font-size: 40px;
    }

    .article__content h2 {
        font-size: 28px;
    }

    .article__content h3 {
        font-size: 24px;
    }

    .article__cta {
        padding: 32px 24px;
    }
}

/* Блок проверки адреса */
.check-address {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.check-address__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.check-address__header {
    margin-bottom: 48px;
}

.check-address__title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.check-address__subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.check-address__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.check-address__input-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.check-address__input-wrapper .address-suggestions {
    top: calc(100% + 8px);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.check-address__input {
    width: 100%;
    padding: 20px 24px;
    font-size: 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #ffffff;
    color: var(--text-primary);
    transition: all 0.3s ease;
    outline: none;
}

.check-address__input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.check-address__input::placeholder {
    color: #999;
}

@media (max-width: 768px) {
    .check-address {
        padding: 60px 0;
    }

    .check-address__title {
        font-size: 36px;
    }

    .check-address__subtitle {
        font-size: 18px;
    }

    .check-address__form {
        gap: 20px;
    }

    .check-address__input {
        padding: 16px 20px;
        font-size: 16px;
    }
}

/* Блок о компании */
.about-company {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.about-company__content {
    max-width: 900px;
    margin: 0 auto;
}

.about-company__text {
    margin-top: 32px;
}

.about-company__text p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text);
}

.about-company__text h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 32px 0 20px;
    color: var(--text);
}

.about-company__text ul {
    margin: 20px 0;
    padding-left: 24px;
}

.about-company__text li {
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
}

.about-company__text strong {
    font-weight: 600;
    color: var(--primary);
}

@media (max-width: 768px) {
    .about-company {
        padding: 60px 0;
    }

    .about-company__text p {
        font-size: 16px;
    }

    .about-company__text h3 {
        font-size: 20px;
    }

    .logo__img {
        height: 32px;
    }

    /* Адаптивное меню */
    .menu-overlay__nav {
        max-width: 100%;
        padding: 80px 32px 32px;
    }

    .menu-overlay__link {
        font-size: 28px;
        padding: 14px 0;
    }

    .menu-overlay__sublink {
        font-size: 20px;
        padding: 10px 0;
    }

    .burger {
        width: 44px;
        height: 44px;
    }

    .burger span {
        width: 22px;
    }
}
