/* ===== style.css ===== */
/* Основной файл стилей сайта "Демонтаж в Воронежской области" */
/* Содержит все стили: шрифты, переменные, базовые элементы, шапку, футер, страницы и адаптивность */

/* ----------------------------------------------- */
/* 1. Подключение шрифтов (Gilroy)                 */
/* ----------------------------------------------- */
@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy-UltraLight.woff2') format('woff2'),
         url('/fonts/Gilroy-UltraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy-Light.woff2') format('woff2'),
         url('/fonts/Gilroy-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy-Regular.woff2') format('woff2'),
         url('/fonts/Gilroy-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy-Medium.woff2') format('woff2'),
         url('/fonts/Gilroy-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy-Semibold.woff2') format('woff2'),
         url('/fonts/Gilroy-Semibold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy-Bold.woff2') format('woff2'),
         url('/fonts/Gilroy-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy-Heavy.woff2') format('woff2'),
         url('/fonts/Gilroy-Heavy.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy-Black.woff2') format('woff2'),
         url('/fonts/Gilroy-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ----------------------------------------------- */
/* 2. Переменные (цвета, основные значения)        */
/* ----------------------------------------------- */
:root {
    --color-black: #000;
    --color-white: #fff;
    --color-accent: #FFE500;          /* акцентный жёлтый */
    --color-dark: #34393d;
    --color-bg-light: #f7f7f7;
    --color-gray: #6b6b6b;
    --color-border: #ececec;
}

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

html {
    scroll-behavior: smooth;           /* плавный скролл по якорям */
}

body {
    font-family: 'Gilroy', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* Контейнеры */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}
.container--full {
    max-width: 100%;
    padding: 0;
}
.container--1440 {
    max-width: 1440px;
}

/* Заголовки секций */
.section-title {
    font-weight: 700;
    font-size: clamp(28px, 5vw, 60px);
    line-height: 1.2;
    color: var(--color-black);
    margin-bottom: 30px;
}
.section-title span {
    font-weight: 250;                  /* тонкое начертание для части заголовка */
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 30px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.1;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-black);
}
.btn-primary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}
.btn-secondary {
    background-color: var(--color-bg-light);
    color: var(--color-black);
}
.btn-secondary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}
.btn-large,
.btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}
.btn-long {
    min-width: 300px;                  /* для длинных кнопок */
}

/* ----------------------------------------------- */
/* 4. Логотип (текстовый вариант)                   */
/* ----------------------------------------------- */
.logo-text {
    font-family: 'Gilroy', sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    color: var(--color-black);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.logo-text__main {
    background: var(--color-black);
    color: var(--color-white);
    padding: 5px 12px;
    border-radius: 30px;
    letter-spacing: 0.5px;
}
.logo-text__domain {
    font-weight: 400;
    color: var(--color-accent);
    position: relative;
}
.logo-text__domain::before {
    content: '.';
    color: var(--color-black);
    margin-right: 2px;
}
.logo-text__domain::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
    opacity: 0.5;
}

/* ----------------------------------------------- */
/* 5. Шапка сайта (header)                          */
/* ----------------------------------------------- */
.header {
    padding: 15px 0;
    background-color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Логотип (изображение) */
.header__logo img {
    height: 45px;
    width: auto;
}

/* Навигационное меню */
.header__menu .menu__list {
    display: flex;
    gap: 40px;
    list-style: none;
}
.menu__link {
    font-weight: 600;
    font-size: 17px;
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s;
}
.menu__link:hover {
    color: var(--color-accent);
}

/* Выпадающее подменю услуг */
.menu__item.menu-item-has-children {
    position: relative;
}
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 10;
    list-style: none;
}
.menu__item.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.sub-menu a {
    display: block;
    padding: 8px 20px;
    color: var(--color-dark);
    text-decoration: none;
    font-size: 15px;
    transition: background 0.3s;
}
.sub-menu a:hover {
    background: var(--color-bg-light);
    color: var(--color-accent);
}

/* Селектор города */
.header__city-selector {
    position: relative;
    margin-left: 20px;
    cursor: pointer;
}
.city-selector__current {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: var(--color-bg-light);
    border-radius: 30px;
    font-weight: 500;
    font-size: 14px;
}
.city-selector__current svg {
    width: 18px;
    height: 18px;
}
.city-selector__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 10;
    list-style: none;
}
.header__city-selector:hover .city-selector__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.city-selector__dropdown a {
    display: block;
    padding: 8px 20px;
    color: var(--color-dark);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}
.city-selector__dropdown a:hover {
    background: var(--color-bg-light);
    color: var(--color-accent);
}

/* Инструменты (мессенджеры, телефон) */
.header__tools {
    display: flex;
    align-items: center;
}
.header__messengers {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 15px;
}
.messenger-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--color-bg-light);
    border-radius: 50%;
    transition: background 0.3s;
}
.messenger-link:hover {
    background: var(--color-accent);
}
.messenger-link img {
    width: 18px;
    height: 18px;
    filter: brightness(0); /* чёрная иконка */
}
.header__btn-t {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-bg-light);
    border-radius: 5px;
    padding: 12px 20px;
    font-weight: 600;
    color: var(--color-black);
    text-decoration: none;
    transition: all 0.3s;
}
.header__btn-t:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}
.header__btn-t svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Бургер-меню (скрыт на десктопе) */
.header__burger {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}
.header__burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-black);
    transition: all 0.3s;
}
.header__burger span:nth-child(1) {
    top: 0;
}
.header__burger span:nth-child(2) {
    top: 9px;
}
.header__burger span:nth-child(3) {
    top: 18px;
}
.header__burger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}
.header__burger.active span:nth-child(2) {
    opacity: 0;
}
.header__burger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* ----------------------------------------------- */
/* 6. Главная страница (home)                       */
/* ----------------------------------------------- */

/* Герой */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
    padding: 120px 0;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3));
    z-index: 1;
}
.hero .container {
    position: relative;
    z-index: 2;
}
.hero__wrapper {
    display: flex;
    flex-direction: column;
}
.hero__title {
    font-size: clamp(32px, 6vw, 70px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero__title span {
    font-weight: 250;
}
.hero__subtitle {
    font-size: 20px;
    margin-bottom: 30px;
}
.hero__img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.hero__tags {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}
.hero__tags span {
    background: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
}

/* Как мы работаем */
.how-work {
    padding: 100px 0;
}
.how-work__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 70px;
}
.how-work__text {
    font-size: 20px;
}
.how-work__inner {
    display: flex;
    gap: 30px;
}
.how-work__video {
    flex: 0 0 60%;
    position: relative;
}
.big-video {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}
.big-video img {
    width: 100%;
    height: auto;
    display: block;
}
.video-play-trigger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: opacity 0.3s;
}
.video-play-trigger svg {
    width: 130px;
    height: 130px;
}
.how-work__content {
    flex: 1;
    background: var(--color-bg-light);
    border-radius: 20px;
    padding: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.how-work__content--title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 35px;
}
.how-work__content--title span {
    font-weight: 250;
}
.how-work__content--text {
    font-size: 20px;
    line-height: 1.3;
    color: var(--color-dark);
}
.how-work__content2 {
    background: var(--color-bg-light);
    border-radius: 20px;
    padding: 60px;
    margin-top: 35px;
    font-size: 20px;
    line-height: 1.5;
}
.how-work__bottom {
    display: flex;
    justify-content: center;
    margin-top: 70px;
}

/* Быстрая оценка */
.quick-estimate {
    padding: 60px 0;
    background: var(--color-bg-light);
}
.estimate-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.estimate-form input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #d3d3d3;
    border-radius: 10px;
    font-size: 16px;
}
.estimate-form .btn {
    padding: 15px;
    font-size: 18px;
}
.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-gray);
}
.success-message {
    text-align: center;
    color: green;
    margin-top: 20px;
}

/* Преимущества */
.advantages {
    padding: 60px 0;
    background-color: var(--color-bg-light);
}
.advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}
.advantage {
    text-align: center;
    padding: 20px;
}
.advantage__icon {
    width: 70px;
    height: 70px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--color-black);
}
.advantage__icon img {
    max-width: 40px;
    max-height: 40px;
}
.advantage h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.advantage p {
    color: var(--color-gray);
}

/* Города (список) */
.cities {
    padding: 60px 0;
}
.cities__list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.city-item {
    display: flex;
    align-items: center;
    background-color: var(--color-bg-light);
    border-radius: 10px;
    padding: 15px 30px;
    text-decoration: none;
    color: var(--color-black);
    font-weight: 600;
    font-size: 18px;
    transition: background-color 0.3s;
}
.city-item:hover {
    background-color: var(--color-accent);
}
.city-arrow {
    margin-left: 15px;
    font-size: 22px;
    transition: transform 0.3s;
}
.city-item:hover .city-arrow {
    transform: translateX(5px);
}

/* Тарифы */
.rates {
    background-color: var(--color-bg-light);
    border-radius: 50px;
    padding: 90px 70px;
    margin: 0 auto;
    max-width: 1770px;
    width: calc(100% - 40px);
}
.rates__title {
    margin-bottom: 90px;
    padding-left: 72px;
}
.rates__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 18px;
}
.rates-item {
    background: var(--color-white);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.rates-item__name {
    font-size: 29px;
    font-weight: 500;
    color: var(--color-black);
    padding-bottom: 25px;
    margin-bottom: 30px;
    position: relative;
    width: 100%;
}
.rates-item__name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 125px;
    height: 1px;
    background: var(--color-black);
}
.rates-item__desc {
    font-size: 15px;
    color: var(--color-gray);
    margin-bottom: 20px;
}
.rates-item__price {
    font-size: 29px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 30px;
}
.rates-item__spec {
    width: 100%;
    background: var(--color-bg-light);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    font-size: 18px;
    font-weight: 500;
    color: var(--color-gray);
    min-height: 64px;
}
.rates-item__icon {
    width: 20px;
    height: 20px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rates-item__icon svg {
    width: 10px;
    height: 7px;
}
.rates-item__btn {
    width: 100%;
    height: 70px;
    font-size: 18px;
    font-weight: 500;
}
.rates__bottom {
    background: var(--color-black);
    color: var(--color-white);
    border-radius: 30px;
    padding: 25px 20px;
    margin-top: 60px;
    text-align: center;
}
.rates__bottom span {
    font-size: 30px;
    font-weight: 600;
}

/* Шаги */
.steps {
    padding: 50px 0;
}
.steps .swiper-slide {
    box-sizing: border-box;
    height: auto;
}
.steps__title {
    margin-bottom: 55px;
}
.steps__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.steps-item {
    border: 1px solid #eaeaea;
    border-radius: 20px;
    min-height: 308px;
    display: flex;
    flex-direction: column;
    padding: 35px 45px;
    transition: all 0.3s;
    cursor: pointer;
}
.steps-item__number {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-black);
    margin-bottom: 20px;
}
.steps-item__title {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-black);
    max-width: 180px;
    line-height: 1.25;
}
.steps-item__text {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-gray);
    margin-top: auto;
    max-width: 220px;
}
.steps-item--active {
    background-color: var(--color-accent);
    border-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: var(--color-black);
}
.steps-item--active .steps-item__text {
    color: var(--color-black);
}

/* Что даёт обращение */
.service {
    padding: 50px 0;
}
.service .swiper-slide {
    height: auto;
}
.service__wrapper {
    padding: 90px 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 50px;
}
.service__top {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 20px;
}
.service__title {
    max-width: 705px;
    margin-bottom: 70px;
}
.service__slider {
    max-width: 1480px;
    margin: 0 auto;
    padding: 0 20px;
}
.service__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.service-item {
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px 50px;
    min-height: 390px;
}
.service-item__top {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
}
.service-item__top svg {
    width: 107px;
    height: auto;
}
.service-item__number {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-accent);
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-black);
}
.service-item__title {
    font-size: 26px;
    font-weight: 500;
    color: var(--color-black);
    line-height: 1.3;
    padding-bottom: 11px;
    position: relative;
}
.service-item__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 135px;
    height: 1px;
    background: var(--color-black);
}

/* Кейсы */
.cases2 {
    background-color: #1c1c1c;
    border-radius: 25px;
    padding: 70px 0 80px;
    overflow: hidden;
}
.cases2__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
}
.cases2__title {
    color: var(--color-white);
}
.cases2__carouselInfo {
    display: flex;
    align-items: center;
}
.cases2__count {
    color: var(--color-white);
    font-size: 24px;
    font-weight: 500;
    margin-right: 30px;
}
.cases2__carousel--nav {
    display: flex;
    align-items: center;
}
.carousel__nav--arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    transition: background 0.3s;
}
.carousel__nav--arrow.prev {
    background: #353535;
    margin-right: 16px;
}
.carousel__nav--arrow.prev:hover {
    background: var(--color-accent);
}
.carousel__nav--arrow.prev svg path {
    fill: white;
}
.carousel__nav--arrow.prev:hover svg path {
    fill: black;
}
.carousel__nav--arrow.next {
    background: var(--color-accent);
}
.carousel__nav--arrow.next:hover {
    background: #353535;
}
.carousel__nav--arrow.next:hover svg path {
    fill: white;
}
.wrap-carousel-cases {
    width: 110vw;
    margin-left: -5vw;
    margin-right: -5vw;
}
.carousel__case {
    background: var(--color-bg-light);
    border-radius: 20px;
    padding: 25px 30px;
    transition: transform 0.3s;
}
.carousel__case--img {
    background: var(--color-white);
    border-radius: 20px;
    padding: 25px;
    height: 420px;
}
.carousel__case--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.carousel__case--content {
    text-align: center;
    margin-top: 26px;
}
.carousel__case--title {
    font-size: 20px;
    font-weight: 500;
    color: var(--color-black);
}
.carousel__case--category {
    display: inline-block;
    background: var(--color-accent);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 600;
    color: var(--color-black);
    margin-top: 12px;
}
.carousel__case--text {
    font-size: 14px;
    color: var(--color-dark);
    margin-top: 22px;
    line-height: 1.2;
}
.carousel-cases .owl-item.active.center .carousel__case {
    transform: scale(1.11);
}
.carousel-cases .owl-stage-outer {
    padding: 36px 0;
}
.cases2__bottom {
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

/* FAQ */
.faq {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg-light) 50.5%, var(--color-white) 120%);
}
.faq__title {
    margin-bottom: 75px;
}
.faq__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.faq-item {
    background: var(--color-white);
    border-radius: 20px;
    width: 100%;
    height: 100%;
    min-height: 459px;
}
.faq-item__top {
    padding: 60px;
    border-bottom: 1px solid #ececec;
}
.faq-item__title {
    max-width: 500px;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.33;
    color: var(--color-black);
}
.faq-item__body {
    padding: 60px;
}
.faq-item__text {
    font-size: 18px;
    line-height: 1.56;
    color: #2c2c2c;
}

/* Блок "Бесплатный выезд" */
.trial {
    padding-bottom: 100px;
}
.trial__wrapper {
    background-color: var(--color-black);
    border-radius: 50px;
    padding: 115px 130px;
    color: var(--color-white);
    text-align: center;
}
.trial__title {
    font-size: clamp(28px, 5vw, 82px);
    font-weight: 700;
    line-height: 1.25;
    max-width: 1245px;
    margin: 0 auto 35px;
}
.trial__text {
    font-size: clamp(16px, 2vw, 20px);
    max-width: 595px;
    margin: 0 auto 130px;
}
.trial__btn {
    max-width: 518px;
    width: 100%;
    height: 97px;
    font-size: 23px;
    background: var(--color-accent);
    color: var(--color-black);
    border-radius: 10px;
    margin: 0 auto;
}
.trial__btn:hover {
    background: var(--color-white);
    color: var(--color-black);
}

/* SEO-текст (сворачиваемый) */
.seo-text {
    padding-bottom: 100px;
}
.seo-text__text {
    margin-top: 32px;
}
.seo-text__text p,
.seo-text__text--more p {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 20px;
}
.seo-text__text--more {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s;
}
.seo-text__text--more.show {
    max-height: 100vh;
}
.seo-text__toggle {
    background: #f1f1f1;
    border-radius: 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    padding: 20px;
    cursor: pointer;
    transition: background 0.3s;
}
.seo-text__toggle span {
    line-height: 1;
}
.seo-text__toggle svg {
    margin-left: 10px;
    transition: transform 0.3s;
}
.seo-text__toggle.active svg {
    transform: rotate(-180deg);
}
.seo-text__toggle:not(.active) span:before {
    content: 'Читать ещё';
}
.seo-text__toggle.active span:before {
    content: 'Свернуть';
}
.seo-text__toggle:hover {
    background: #e5e1e1;
}

/* ----------------------------------------------- */
/* 7. Страница города (city)                        */
/* ----------------------------------------------- */
.city-hero {
    background: var(--color-bg-light);
    padding: 60px 0;
    text-align: center;
}
.city-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}
.city-services {
    padding: 60px 0;
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background-color: var(--color-bg-light);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.service-card__icon {
    margin-bottom: 20px;
}
.service-card__icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}
.service-card__title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-black);
}
.service-card__desc {
    color: var(--color-gray);
    margin-bottom: 20px;
    flex-grow: 1;
}
.service-card__price {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 20px;
}
.service-card__link {
    display: inline-block;
    margin-top: auto;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s;
}
.service-card__link:hover {
    color: var(--color-black);
}

/* ----------------------------------------------- */
/* 8. Страница услуги (service)                      */
/* ----------------------------------------------- */
.service-hero {
    background: var(--color-bg-light);
    padding: 60px 0;
    text-align: center;
}
.service-hero h1 {
    font-size: 48px;
    font-weight: 700;
}
.service-detail {
    padding: 60px 0;
}
.service-detail__content {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.7;
}
.service-detail__price {
    text-align: center;
    padding: 30px;
    background: var(--color-bg-light);
    border-radius: 20px;
}
.price-box {
    display: inline-block;
    text-align: left;
}
.price-label {
    font-size: 16px;
    color: var(--color-gray);
}
.price-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-black);
    margin-left: 15px;
}

/* Подтипы услуги */
.service-subtypes {
    margin: 40px 0;
    padding: 30px;
    background: var(--color-bg-light);
    border-radius: 20px;
}
.service-subtypes h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}
.subtypes-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
}
.subtypes-list li {
    padding-left: 25px;
    position: relative;
    font-size: 16px;
}
.subtypes-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* Форма заказа */
.order {
    padding: 60px 0;
    background: var(--color-bg-light);
}
.order h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    font-weight: 700;
}
.order-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.order-form input,
.order-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #d3d3d3;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
}
.order-form textarea {
    min-height: 100px;
    resize: vertical;
}
.order-form button {
    padding: 15px;
    font-size: 18px;
}

/* ----------------------------------------------- */
/* 9. Футер (footer)                                */
/* ----------------------------------------------- */
.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 60px 0 20px;
}
.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}
.footer__logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}
.footer__contacts a {
    display: block;
    color: var(--color-white);
    text-decoration: none;
    margin-bottom: 5px;
    font-size: 18px;
}
.footer__contacts a:hover {
    text-decoration: underline;
}
.footer__socials {
    display: flex;
    gap: 15px;
}
.footer__socials a {
    opacity: 0.7;
    transition: opacity 0.3s;
}
.footer__socials a:hover {
    opacity: 1;
}
.footer__socials img {
    width: 30px;
    height: 30px;
}
.footer__bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #aaa;
}

/* ----------------------------------------------- */
/* 10. Страница 404                                 */
/* ----------------------------------------------- */
.error-404 {
    text-align: center;
    padding: 100px 0;
}
.error-404 h1 {
    font-size: 120px;
    color: var(--color-accent);
    margin-bottom: 20px;
}
.error-404 p {
    font-size: 24px;
    margin-bottom: 30px;
}

/* ----------------------------------------------- */
/* 11. Адаптивность (медиа-запросы)                 */
/* ----------------------------------------------- */

/* Планшеты (до 991px) */
@media (max-width: 991px) {
    /* Шапка */
    .header__burger {
        display: block;
    }
    .header__menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        max-width: 400px;
        height: calc(100vh - 70px);
        background: var(--color-white);
        padding: 30px;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s;
        overflow-y: auto;
        z-index: 100;
    }
    .header__menu.active {
        left: 0;
    }
    .menu__list {
        flex-direction: column;
        gap: 20px;
    }
    .menu__item.menu-item-has-children .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 10px 0 0 20px;
        background: transparent;
    }
    .header__city-selector {
        margin-left: 10px;
    }
    .city-selector__current span {
        display: none; /* на планшетах показываем только иконку */
    }
    .city-selector__current svg {
        width: 24px;
        height: 24px;
    }
    .header__messengers {
        margin-right: 10px;
    }
    .header__btn-t span {
        display: none;
    }

    /* Главная */
    .how-work__inner {
        flex-direction: column;
    }
    .how-work__top {
        margin-bottom: calc(35px + 35 * ((100vw - 375px) / 895));
    }
    .how-work__title {
        margin-bottom: calc(20px + 10 * ((100vw - 375px) / 895));
    }
    .how-work__text {
        font-size: calc(16px + 4 * ((100vw - 375px) / 895));
    }
    .how-work__content {
        padding: 40px 30px;
    }
    .how-work__content--title {
        font-size: 28px;
    }
    .how-work__content--text {
        font-size: 18px;
    }
    .how-work__content2 {
        padding: 30px 25px;
        font-size: 18px;
    }
    .rates {
        padding: 40px;
    }
    .rates__title {
        padding-left: 0;
        margin-bottom: 50px;
    }
    .steps__items {
        display: flex;
        gap: 0;
    }
    .steps-item {
        width: 100%;
        max-width: 348px;
        min-height: 308px;
        padding: 30px;
    }
    .steps-item__title {
        font-size: calc(20px + 4 * ((100vw - 375px) / 895));
    }
    .steps-item__text {
        font-size: calc(14px + 4 * ((100vw - 375px) / 895));
    }
    .service__wrapper {
        padding: 50px 0;
    }
    .service__title {
        margin-bottom: 35px;
    }
    .service__slider {
        padding-bottom: 50px;
    }
    .service__list {
        display: flex;
        gap: 0;
    }
    .faq__title {
        margin-bottom: 35px;
    }
    .faq__list {
        display: flex;
    }
    .faq-item {
        min-height: auto;
    }
    .faq-item__top {
        padding: calc(25px + 35 * ((100vw - 375px) / 895));
    }
    .faq-item__title {
        font-size: calc(16px + 14 * ((100vw - 375px) / 895));
    }
    .faq-item__body {
        padding: calc(25px + 35 * ((100vw - 375px) / 895));
    }
    .faq-item__text {
        font-size: calc(14px + 4 * ((100vw - 375px) / 895));
    }
    .trial__wrapper {
        padding: calc(40px + 75 * ((100vw - 375px) / 895)) calc(24px + 106 * ((100vw - 375px) / 895));
    }
    .trial__title {
        margin-bottom: calc(20px + 15 * ((100vw - 375px) / 895));
    }
    .trial__text {
        margin-bottom: calc(50px + 80 * ((100vw - 375px) / 895));
    }
}

/* Мобильные телефоны (до 767px) */
@media (max-width: 767px) {
    /* Логотип */
    .logo-text {
        font-size: 18px;
    }
    .logo-text__main {
        padding: 3px 8px;
    }

    /* Шапка */
    .header__btn-t {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }

    /* Главная */
    .how-work {
        padding: 50px 0;
    }
    .video-play-trigger svg {
        width: 80px;
        height: 80px;
    }
    .rates {
        padding: 40px 20px;
    }
    .rates__list {
        grid-template-columns: 1fr;
    }
    .rates__bottom span {
        font-size: 20px;
    }
    .steps__title {
        margin-bottom: 30px;
    }
    .service__title {
        margin-bottom: 35px;
    }
    .trial {
        padding-bottom: 50px;
    }
    .trial__btn {
        height: 66px;
        font-size: 16px;
    }
    .seo-text {
        padding-bottom: 50px;
    }
    .seo-text__text p,
    .seo-text__text--more p {
        font-size: 16px;
    }

    /* Город и услуга */
    .services__grid {
        grid-template-columns: 1fr;
    }
    .advantages__grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer__inner {
        flex-direction: column;
        text-align: center;
    }
    .city-hero h1,
    .service-hero h1 {
        font-size: 36px;
    }
}

/* Очень маленькие телефоны (до 576px) */
@media (max-width: 576px) {
    .rates__list {
        grid-template-columns: 1fr;
    }
}