﻿/* Ensure content outside <main> is not clipped */
main{overflow:visible}
/* Main CSS file for the Federal Repair Service project */

/* --- Глобальные настройки и переменные --- */
:root {
    --header-height: 80px;
    --color-primary: #1a73e8; /* Ярко-синий */
    --color-secondary: #fb8500; /* Яркий оранжевый */
    --color-primary-light: #4dabf7; /* Светло-синий */
    --color-text: #333;
    --color-text-light: #777;
    --color-light: #f8f9fa;
    --color-white: #ffffff;
    --color-border: #e0e0e0;
    --font-family: 'Inter', sans-serif;
    --container-width: 1200px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --transition: all 0.3s ease;
}

.question-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg,#FFD600 0%,#FFC107 100%);
    box-shadow: 0 8px 32px rgba(255,193,7,0.18);
    margin: 32px 0 0 0;
    padding: 36px 0 36px 0;
    width: 100% !important;
    min-width: 100% !important;
    overflow:visible;
}

/* --- Сброс стилей и базовые стили --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Стиль для увеомлений: начало */
.success-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    animation: slideInRight 0.3s ease-out;
    max-width: 400px;
}

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

.success-notification__content i:first-child {
    font-size: 18px;
    color: #fff;
}

.success-notification__close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    font-size: 16px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.success-notification__close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}
/* Стиль для увеомлений: конец */

/* Стиль для увеомлений: начало */
.error-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #FFF5F5; /* Очень светлый красный фон */
    color: #D32F2F; /* Темно-красный текст */
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10000;
    animation: slideInRight 0.3s ease-out;
    max-width: 400px;
    border-left: 4px solid #D32F2F; /* Акцентная полоса */
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.error-notification__content i:first-child {
    font-size: 18px;
    color: #D32F2F;
}

.error-notification__close {
    background: none;
    border: none;
    color: #D32F2F;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
    font-size: 16px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.error-notification__close:hover {
    opacity: 1;
}
/* Стиль для увеомлений: конец */

.related-services {
    margin: 40px 0;
    padding: 0 15px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition);
}

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

h1, h2, h3 {
    line-height: 1.3;
    font-weight: 700;
}

/* --- Переиспользуемые компоненты --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

.btn-primary:hover {
    background-color: #ff9d2b;
    transform: translateY(-2px);
}

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

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

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

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--color-text);
}

/* --- Шапка --- */
.header {
    background: linear-gradient(120deg, #0d6efd 0%, #764ba2 100%);
    color: #fff;
    padding: 36px 0 36px 0;
    box-shadow: 0 4px 32px rgba(13,110,253,0.13);
    margin-bottom: 0;
    position: relative;
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
}

.logo i {
    color: var(--color-primary);
    margin-right: 10px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--color-text);
    font-weight: 500;
}

.header__contacts .phone {
    font-weight: 700;
    margin-right: 20px;
}

/* --- Селектор города --- */
.city-selector {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--color-border);
    padding: 8px 12px;
    border-radius: var(--radius);
}

.city-selector:hover {
    border-color: var(--color-primary);
}

.city-selector__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 10px 0;
    margin-top: 5px;
    min-width: 200px;
    z-index: 1001;
}

.city-selector.active .city-selector__dropdown {
    display: block;
}

.city-selector__dropdown ul {
    list-style: none;
}

.city-selector__dropdown li {
    padding: 10px 20px;
    transition: var(--transition);
}

.city-selector__dropdown li:hover {
    background-color: var(--color-light);
}


/* --- Главный экран (Hero) --- */
.hero {
    background: linear-gradient(to right, rgba(26, 115, 232, 0.7), rgba(77, 171, 247, 0.7)), url('../img/hero-image-2.png') no-repeat center center/cover;
    color: #fff;
    padding: 120px 0;
    text-align: left;
}

.hero__inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    align-items: center;
    gap: 60px;
}

.hero .container {
    padding: 0 15px;
}

.hero__content {
    max-width: 650px;
    text-align: left;
}

.hero__title {
    font-size: 3.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero__features {
    margin-top: 30px;
}

.hero__feature-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.hero__feature-item i {
    color: var(--color-secondary);
}

.hero__form-wrapper {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.hero-form h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 10px;
}

.hero-form p {
    text-align: center;
    margin-bottom: 25px;
    opacity: 0.9;
}

.hero-form .form-group {
    margin-bottom: 15px;
}

.hero-form input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.hero-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.hero-form .btn-primary {
    width: 100%;
    margin-top: 10px;
}

.hero-form .form-agreement {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 15px;
    opacity: 0.7;
}

.hero__form {
    margin-top: 30px;
}

.hero__actions {
    display: flex;
    gap: 15px;
}

.request-form {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.request-form h3 {
    text-align: center;
    margin-bottom: 10px;
}
.request-form p {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 15px;
}
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-family);
}

/* --- Схема работы (Process) --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.step__icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    background-color: var(--color-light);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-block;
}

.step__title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* --- Услуги --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-card {
    background: var(--color-white);
    border: 1px solid var(--color-light);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.service-card__icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.service-card__title {
    font-size: 1.2rem;
    font-weight: 500;
}

/* --- Отзывы --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: var(--radius);
    border-left: 4px solid var(--color-secondary);
}

.review-card__text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.review-card__author {
    font-weight: 700;
    text-align: right;
    margin-top: 10px;
    color: var(--color-text-light);
}

/* --- Подвал --- */
.footer {
    background-color: #2c3e50;
    color: var(--color-light);
    padding: 60px 0;
    font-size: 0.9rem;
}

.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}
.footer__col h4 {
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer__col a {
    color: var(--color-light);
    display: block;
    margin-bottom: 10px;
}
.footer__col a:hover {
    color: var(--color-secondary);
}
.footer__col ul {
    list-style: none;
}
.footer .logo {
    margin-bottom: 20px;
    color: var(--color-white);
}
.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- Адаптивность --- */
.burger { display: none; }

@media (max-width: 992px) {
    .nav, .header__contacts {
        display: none;
    }
    .burger {
        display: block;
        /* Дальнейшие стили для бургер-меню */
    }
    .hero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero__content {
        text-align: left;
    }
    .hero__features {
        align-items: flex-start;
    }
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
     .footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer .logo {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    .hero__title {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .hero__form .compact-form {
        flex-direction: column;
    }
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    .service-card {
        flex-basis: calc(50% - 15px);
    }
    .how-it-works-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Секция Услуги --- */
#services {
    background-color: var(--color-primary);
    color: var(--color-white);
}

#services .section-title {
    color: var(--color-white);
}

#services .service-card {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius);
    padding: 40px 20px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

#services .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

#services .service-card__icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.service-card__title {
    color: var(--color-white);
    flex-grow: 1;
    margin-bottom: 15px;
}

.service-card__text {
    color: var(--color-white);
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
}

.service-card__link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    margin-top: 20px;
    display: inline-block;
    transition: var(--transition);
    align-self: center;
}

.service-card__link:hover {
    color: var(--color-white);
    transform: scale(1.05);
}

.service-card__link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-card__link:hover i {
    transform: translateX(4px);
}

/* Стили для кнопок-ссылок в карточках услуг */
.service-card__details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: 16px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.service-card__details:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.service-card__details i {
    transition: transform 0.3s ease;
}

.service-card__details:hover i {
    transform: translateX(4px);
}

/* --- Секция О компании --- */
#about {
    background-color: var(--color-primary);
    color: var(--color-white);
}

#about .section-title {
    color: var(--color-white);
}

.about-us__content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-us__content p {
    margin-bottom: 1.5em;
}

/* --- Секция Наши достижения --- */
.stats-section {
    background-color: var(--color-primary);
    color: #fff;
    padding: 80px 0;
    margin-top: 10px;
}

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

.stat-item__number {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-item__label {
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 10px;
}

/* --- Преимущества --- */
#features {
    background-color: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-card__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.feature-card__title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--color-primary);
    padding: 80px 0;
    text-align: center;
    color: var(--color-white);
}

.cta-section__title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-section__text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* --- Секция Форма заявки --- */
#request-form {
    padding: 100px 0;
    background-color: var(--color-light);
}

#request-form .section-title {
    margin-bottom: 15px;
}

#request-form .section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.2rem;
    color: var(--color-text-light);
}

#request-form form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

#request-form .form-group {
    flex: 1 1 300px;
}

#request-form input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 1rem;
}

#request-form .btn-primary {
    flex: 0 1 auto;
    padding: 15px 30px;
    font-size: 1rem;
}

#request-form .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(251, 133, 0, 0.4);
}

/* --- Footer --- */
.footer {
    grid-template-columns: 1fr;
    text-align: center;
}

.hero {
    text-align: center;
}

.hero__actions {
    justify-content: center;
}

.header .container {
    flex-direction: column;
    gap: 15px;
}

.service-card {
    flex-basis: calc(50% - 15px);
}

.how-it-works-grid {
    grid-template-columns: 1fr;
}

@media (max-width: 576px) {
    .hero__title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* --- Контакты --- */
#contacts {
    background-color: var(--color-light);
}

.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contacts-info,
.contacts-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contacts-info h3,
.contacts-form h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contacts-info p,
.contacts-form p {
    margin-bottom: 20px;
    color: var(--color-text-light);
}

.contact-list {
    list-style: none;
    padding: 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-list i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-right: 15px;
    width: 24px;
    text-align: center;
}

.contacts-form .form-group {
    margin-bottom: 20px;
}

.contacts-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-text);
}

.contacts-form input,
.contacts-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}

.contacts-form input:focus,
.contacts-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

.contacts-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contacts-form .form-agreement {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* --- Стили для страниц услуг --- */
.service-hero {
    padding: 80px 0;
    text-align: left;
}

.breadcrumbs {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #fff;
    text-decoration: underline;
}

.breadcrumbs i {
    font-size: 0.8rem;
    margin: 0 10px;
}

/* --- Стили для прайс-листа --- */
.price-list {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    overflow: hidden;
}

.price-list th, .price-list td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.price-list thead {
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 1.1rem;
}

.price-list tbody tr:nth-child(even) {
    background-color: var(--color-light);
}

.price-list tbody tr:hover {
    background-color: #e9ecef;
}

.price-list td:last-child {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
    width: 25%;
}

.price-list i {
    color: var(--color-secondary);
    margin-right: 15px;
}

.price-notice {
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-light);
}/* Современные маркетинговые улучшения */
.marketing-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255,107,107,0.4);
    animation: pulse 2s infinite;
    z-index: 10;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.guarantee-badge {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(40,167,69,0.3);
}

.price-highlight {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    color: #333;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    margin: 10px 0;
    box-shadow: 0 4px 16px rgba(255,215,0,0.4);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 4px 16px rgba(255,215,0,0.4); }
    to { box-shadow: 0 6px 24px rgba(255,215,0,0.6); }
}

.urgency-timer {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    padding: 12px 20px;
    border-radius: 15px;
    text-align: center;
    margin: 15px 0;
    position: relative;
    overflow: hidden;
}

.urgency-timer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.social-proof {
    background: rgb(255 255 255 / 10%);
    border-left: 4px solid #28a745;
    padding: 12px 16px;
    margin: 15px 0;
    border-radius: 8px;
    font-size: 0.9rem;
    color: rgb(255 255 255 / 80%);
}

.trust-indicators {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    flex-wrap: wrap;
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(13,110,253,0.1);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.trust-indicator i {
    color: #80cb91;
}

/* Сервисы */
#services.section {
    background: #fff !important;
}

.service-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    border: none;
    box-shadow: 0 4px 16px rgba(102,126,234,0.10);
    color: #fff !important;
    display: flex;
    flex-direction: column;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FFA500 0%, #ff8c00 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(102,126,234,0.25);
}

.service-card__description {
    color: #e3eafc;
    font-size: 15px;
    line-height: 1.5;
    flex-grow: 1;
    margin-top: 10px;
    margin-bottom: 20px;
}

.service-card__details {
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    margin-top: auto;
}

.service-card__details:hover {
    transform: translateX(5px);
}

.service-card__details i {
    margin-left: 8px;
    font-size: 0.9em;
}

.service-card__title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin: 15px 0 5px 0 !important;
    color: #fff !important;
    text-align: center !important;
    background: none !important;
    position: static !important;
}

.service-card__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.service-card__icon i {
    color: #FFA500 !important;
    font-size: 2.2rem;
}

.section-title {
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    color: #0d6efd !important;
    margin-bottom: 32px !important;
    margin-top: 0 !important;
    text-align: center !important;
    letter-spacing: -1px;
}

#about .section-title {
    color: #fff !important;
}

/* Улучшенная hero секция */
.hero-enhancement {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.hero-enhancement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Улучшенные кнопки */
.cta-button-enhanced {
    background: linear-gradient(135deg, #FFA500 0%, #ff8c00 100%);
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(255,165,0,0.4);
}

.cta-button-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button-enhanced:hover::before {
    left: 100%;
}

.cta-button-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255,165,0,0.6);
}

/* Счётчики и статистика */
.stats-counter {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    min-width: 120px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFA500;
    display: block;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #fff;
    margin-top: 5px;
}

/* Блок "Как мы работаем" */
#how-it-works {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

#how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(13,110,253,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.process-steps {
    position: relative;
    z-index: 2;
}

.step {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 8px 32px rgba(13,110,253,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #FFA500 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.step:hover::before {
    transform: scaleX(1);
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(102,126,234,0.2);
}

.step__icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    margin: 0 auto 20px auto;
    position: relative;
}

.step__icon::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFA500, #667eea);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step:hover .step__icon::after {
    opacity: 1;
}

/* Блок цен */
#prices {
    background: #fff;
    color: #333;
    position: relative;
    overflow: hidden;
}

#prices::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

#prices .section-title {
    color: #333;
    position: relative;
    z-index: 2;
}

.prices-table-wrapper {
    position: relative;
    z-index: 2;
    overflow-x: auto;
    margin: 40px 0 24px 0;
}

.prices-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 420px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(13,110,253,0.08);
    font-size: 1.07rem;
}

.prices-table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-weight: 700;
    padding: 18px 12px;
    text-align: center;
    font-size: 1.1rem;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.prices-table tbody td {
    padding: 16px 12px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.prices-table tbody tr.highlight td {
    background: #e3eafc;
    color: #0d6efd;
    font-weight: 600;
}

.prices-table tbody tr:nth-child(even):not(.highlight) td {
    background: #f8f9fa;
}

.prices-table i {
    color: #FFA500;
    margin-right: 8px;
    font-size: 1.2em;
    vertical-align: middle;
}

.prices-table .desc {
    color: #888;
    font-size: 0.98em;
    font-weight: 400;
    margin-left: 4px;
}

.price-note {
    background: rgba(13,110,253,0.1);
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 4px solid #FFA500;
    font-size: 0.9rem;
    margin-top: 20px;
    position: relative;
    z-index: 2;
    color: #333;
}

/* Блок статистики */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding-top: 48px;
    padding-bottom: 48px;
}

.stats-section .section-title {
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px;
    margin: 40px 0 24px 0;
    justify-items: center;
}

.stat-card {
    background: transparent;
    border-radius: 16px;
    box-shadow: none;
    padding: 18px 6px 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFA500;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    color: #e3eafc;
    font-size: 1.01rem;
    text-align: center;
    line-height: 1.3;
}

/* Блок преимуществ */
#features {
    background: #fff;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(13,110,253,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd 0%, #FFA500 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(13,110,253,0.2);
    border-color: rgba(13,110,253,0.1);
}

.feature-card__icon {
    background: linear-gradient(135deg, #0d6efd 0%, #4dabf7 100%);
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
}

.feature-card__icon::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #FFA500, #0d6efd);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-card__icon::after {
    opacity: 1;
}

.feature-card__title {
    color: #333;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.feature-card__text {
    color: #666;
    line-height: 1.6;
}

/* Блок "О нас" */
#about {
    background: linear-gradient(135deg, #0d6efd 0%, #4dabf7 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagon" width="20" height="20" patternUnits="userSpaceOnUse"><polygon points="10,2 18,7 18,13 10,18 2,13 2,7" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagon)"/></svg>');
    opacity: 0.3;
}

#about .section-title {
    color: #fff;
    position: relative;
    z-index: 2;
}

.about-us__content {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.2);
}

.about-us__content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Блок отзывов */
#reviews {
    background: #fff;
    position: relative;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin: 40px 0 24px 0;
}

.review-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(13,110,253,0.08);
    padding: 28px 22px 18px 22px;
    display: flex;
    flex-direction: column;
    min-height: 160px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-left: 4px solid transparent;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(13,110,253,0.2);
    border-left-color: #FFA500;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 4rem;
    color: rgba(13,110,253,0.1);
    font-family: serif;
    line-height: 1;
}

.review-card__text {
    color: #222;
    font-size: 1.05rem;
    margin-bottom: 18px;
    font-style: italic;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.review-card__author {
    color: #0d6efd;
    font-weight: 600;
    font-size: 1rem;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

/* Блок FAQ */
.faq-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.faq-section .section-title {
    color: #fff !important;
}

.faq-accordion {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(102,126,234,0.9);
    border: 1px solid rgba(118,75,162,0.5);
    border-radius: 14px;
    margin-bottom: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.faq-item:hover {
    border-color: rgba(13,110,253,0.2);
    box-shadow: 0 8px 32px rgba(13,110,253,0.15);
}

.faq-item__question {
    cursor: pointer;
    padding: 22px 24px 22px 24px;
    font-size: 1.13rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.faq-item__question:hover {
    background: rgba(102,126,234,0.9);
}

.faq-item__question i {
    font-size: 1.2em;
    transition: transform 0.3s;
}

.faq-item.active .faq-item__question i {
    transform: rotate(45deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    background: rgba(102,126,234,0.9);
    color: #fff;
    font-size: 1.05rem;
    padding: 0 24px;
    transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
    line-height: 1.6;
}

.faq-item.active .faq-item__answer {
    padding: 18px 24px 22px 24px;
    max-height: 300px;
}

/* Статьи */
.articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.article-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 32px rgba(13,110,253,0.10);
    padding: 32px 28px 26px 28px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 380px;
    max-width: 100%;
    word-break: break-word;
    justify-content: space-between;
    transition: box-shadow 0.22s, transform 0.22s;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.7s cubic-bezier(.23,1.01,.32,1) both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.article-card:hover {
  box-shadow: 0 12px 48px rgba(13,110,253,0.18);
  transform: translateY(-4px) scale(1.025);
}

.article-title {
    font-size: 1.22rem;
    font-weight: 900;
    margin: 0 0 8px 0;
    color: #0d6efd;
    word-break: break-word;
    max-width: 100%;
    min-width: 0;
    line-height: 1.22;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: left;
}

.article-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  margin-bottom: 8px;
}
.article-category {
  border-radius: 8px;
  padding: 5px 14px;
  font-size: 1rem;
  font-weight: 800;
  margin-right: 8px;
  white-space: nowrap;
  color: #fff;
  background: #FFA500;
}
.article-category.guides { background: #0d6efd; }
.article-category.tips { background: #FFA500; }
.article-category.news { background: #764ba2; }
.article-date {
  color: #764ba2;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-weight: 600;
}
.article-desc {
  color: #444;
  font-size: 1.09rem;
  margin-bottom: 8px;
  word-break: break-word;
  flex: 1 1 auto;
}
.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #e3eafc;
}
.article-stats {
  display: flex;
  gap: 16px;
  align-items: center;
}
.article-stat {
  color: #764ba2;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}
.article-more {
  background: linear-gradient(90deg, #0d6efd 0%, #764ba2 100%);
  color: #fff;
  border-radius: 10px;
  padding: 9px 22px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  font-size: 1.08rem;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 8px rgba(13,110,253,0.07);
}
.article-more:hover {
  background: #FFA500;
  color: #222;
  box-shadow: 0 4px 16px rgba(255,165,0,0.13);
}
@media (max-width: 900px) {
  .article-card {
    min-height: 320px;
    padding: 24px 20px 20px 20px;
  }
  .article-title {
    font-size: 1.15rem;
  }
  .article-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .article-more {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* --- 404 страница --- */
.error-container {
  background: rgba(255,255,255,0.97);
  color: #222;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(13,110,253,0.12);
  padding: 48px 32px 32px 32px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
  margin: 60px auto 0 auto;
  animation: fadeInUp 1s cubic-bezier(.23,1.01,.32,1) 0.2s both;
}
.error-code {
  font-size: 6rem;
  font-weight: 900;
  color: #0d6efd;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.error-title {
  font-size: 2rem;
  font-weight: 700;
  color: #764ba2;
  margin-bottom: 18px;
}
.error-desc {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 28px;
}
.error-btn {
  background: linear-gradient(90deg, #0d6efd 0%, #764ba2 100%);
  color: #fff;
  border-radius: 12px;
  padding: 14px 32px;
  font-weight: 800;
  text-decoration: none;
  font-size: 1.15rem;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(13,110,253,0.07);
  display: inline-block;
  margin-top: 10px;
}
.error-btn:hover {
  background: #FFA500;
  color: #222;
  box-shadow: 0 4px 16px rgba(255,165,0,0.13);
}
@media (max-width: 600px) {
  .error-container {
    padding: 24px 8px 18px 8px;
    max-width: 98vw;
  }
  .error-code {
    font-size: 3.2rem;
  }
  .error-title {
    font-size: 1.2rem;
  }
  .error-desc {
    font-size: 0.98rem;
  }
  .error-btn {
    padding: 10px 18px;
    font-size: 1rem;
  }
}

/* Футер */
.footer-new {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 0;
    font-size: 1rem;
    margin-top: 0;
}

.footer-new__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 24px 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-new__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-new__logo-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    min-width: 220px;
}

.footer-new__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    margin-bottom: 6px;
}

.footer-new__socials {
    display: flex;
    gap: 16px;
    margin-top: 4px;
}

.footer-new__social {
    color: #fff;
    font-size: 1.5rem;
    transition: color 0.2s;
}

.footer-new__social:hover {
    color: #25D366; /* WhatsApp */
}

.footer-new__social:last-child:hover {
    color: #229ED9; /* Telegram */
}

.footer-new__nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 160px;
    align-items: flex-start;
    margin-top: 4px;
}

.footer-new__nav a {
    color: #e3eafc;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.08rem;
    transition: color 0.2s;
}

.footer-new__nav a:hover {
    color: #FFA500;
}

.footer-new__contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 220px;
    align-items: flex-end;
}

.footer-new__contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 500;
}

.footer-new__contact-item a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.footer-new__legal {
    border-top: 1px solid #3c87fd;
    margin-top: 10px;
    padding-top: 8px;
    color: #e3eafc;
    font-size: 0.97rem;
    width: 100%;
}

.footer-new__legal-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 32px;
}

.footer-new__legal-text {
    margin: 0;
    padding: 0;
    line-height: 1.3;
}

.footer-new__legal-link {
    color: #FFA500;
    text-decoration: underline;
    font-size: 0.97rem;
    transition: color 0.2s;
    margin: 0 2px;
}

.footer-new__legal-link:hover {
    color: #fff;
}

.footer-new__legal-sep {
    color: #FFA500;
    font-size: 1.1em;
    margin: 0 2px;
}

.footer-new__copyright {
    margin-top: 4px;
    font-size: 0.95rem;
    color: #e3eafc;
}

/* Хедер */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .logo span, .header .header__city span, .header .header__city i {
    color: #fff;
}

.header .logo i {
    color: #FFA500;
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}

.nav a:hover {
    color: #FFA500;
}

.header__contacts {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.header-main-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.header-phone {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-phone i {
    color: #FFA500;
}

.header-email {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #fff;
    text-decoration: none;
    margin-top: 4px;
}

.header-email i {
    color: #FFA500;
}

.header-working-hours {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.9rem;
    color: #fff;
    padding-top: 2px;
}

.header-working-hours i {
    color: #FFA500;
    margin-top: 3px;
}

/* Мобильное бургер-меню */
.burger {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    cursor: pointer;
    margin-left: 18px;
    z-index: 1201;
}

.burger span {
    display: block;
    position: absolute;
    width: 24px;
    height: 3px;
    left: 50%;
    border-radius: 2px;
    transition: 0.3s;
    background-color: #fff;
    transform: translateX(-50%);
}

.burger span:nth-child(1) {
    top: calc(50% - 9px);
}

.burger span:nth-child(2) {
    top: calc(50% - 1.5px);
}

.burger span:nth-child(3) {
    top: calc(50% + 6px);
}

.burger.active span {
    background-color: #667eea;
}

.burger.active span:nth-child(1) {
    top: calc(50% - 1.5px);
    transform: translateX(-50%) rotate(45deg);
}

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

.burger.active span:nth-child(3) {
    top: calc(50% - 1.5px);
    transform: translateX(-50%) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0; right: 0; left: 0;
    background: #fff;
    box-shadow: 0 8px 32px rgba(13,110,253,0.10);
    z-index: 1200;
    flex-direction: column;
    align-items: center;
    padding: 80px 0 24px 0;
    gap: 18px;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
}

/* Глобальное правило: отображать меню при добавлении .active */
.mobile-nav.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.mobile-nav a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #e3eafc;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav .mobile-call {
    color: #FFA500;
    font-size: 1.1rem;
    font-weight: 700;
}

.mobile-nav__city {
    color: #555;
    font-weight: 600;
    padding: 12px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #e3eafc;
    font-size: 1.1rem;
    background: #f8f9fa;
}

.mobile-nav__city i {
    color: #667eea;
    margin-right: 8px;
}

/* Фиксированная кнопка вызова */
.mobile-call-btn {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100vw;
    background: #FFA500;
    color: #fff;
    font-size: 1.18rem;
    font-weight: 700;
    text-align: center;
    padding: 18px 0 16px 0;
    z-index: 1500;
    border-radius: 0;
    text-decoration: none;
    transition: background 0.2s;
}

.mobile-call-btn i {
    margin-right: 10px;
    font-size: 1.2em;
}

/* Точечная блокировка рекламы */
.adsbygoogle,
[id^="yandex_rtb"],
[class^="yandex-rtb"],
[id^="adfox"],
[class^="adfox"],
.ya-site-form,
[data-block-type="ad"],
[data-block-type="banner"],
[data-ya-partner],
[data-adfox-banner] {
    display: none !important;
    visibility: hidden !important;
}

/* Мобильная адаптация для новых элементов */
@media (max-width: 768px) {
    .trust-indicators {
        gap: 8px;
    }

    .trust-indicator {
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    .stats-counter {
        gap: 20px;
    }

    .stat-item {
        min-width: 100px;
        padding: 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .floating-element {
        display: none;
    }

    .step {
        padding: 20px 15px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-card__icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .about-us__content {
        padding: 25px;
    }

    .review-card {
        padding: 20px;
    }


}

/* Мобильная оптимизация */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .hero {
        padding-top: 25px;
        padding-bottom: 30px;
    }
    .hero__inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .hero__title {
        font-size: 1.8rem;
    }
    .hero__subtitle {
        font-size: 1.1rem;
    }
    .hero__features {
        justify-content: center;
        text-align: left;
    }
    .section {
        padding: 40px 0;
    }
    .section-title {
        font-size: 1.8rem !important;
    }
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .process-steps {
        flex-direction: column;
        gap: 25px;
    }
    .step {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    .hero__subtitle {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    .hero__feature-item {
        font-size: 0.85rem;
        line-height: 1.35;
    }
    .hero__content {
        padding-left: 4px;
        padding-right: 4px;
    }
    .hero__form-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    .hero-form input[type="text"],
    .hero-form input[type="tel"],
    .hero-form button {
        max-width: 260px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        display: block;
    }
    .hero-form .form-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .form-agreement {
        font-size: 0.82rem;
        margin-top: 7px;
    }
    .logo {
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
    }
    .section-title {
        font-size: 1.6rem !important;
    }
    .footer .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 1100px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .stats-section {
        padding-top: 32px;
        padding-bottom: 32px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .stat-card {
        padding: 12px 2px 8px 2px;
    }
    .stat-number {
        font-size: 1.3rem;
    }
    .stat-label {
        font-size: 0.93rem;
    }
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .article-card {
        padding: 20px 16px 18px 16px;
        min-height: 280px;
    }
    .article-title {
        font-size: 1.08rem;
    }
}

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .prices-table {
        font-size: 0.9rem;
        min-width: 340px;
    }
    .prices-table thead th {
        padding: 12px 8px;
        text-align: center;
    }
    .prices-table tbody td {
        padding: 10px 8px;
    }
}

/* Футер мобильная адаптация */
@media (max-width: 900px) {
    .footer-new__top {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .footer-new__logo-block, .footer-new__contacts, .footer-new__nav {
        align-items: center !important;
        min-width: unset;
    }
    .footer-new__logo-block {
        width: 100%;
        align-items: center !important;
        margin-bottom: 0;
    }
    .footer-new__logo {
        justify-content: center;
        width: 100%;
    }
    .footer-new__copyright {
        text-align: center;
        margin-top: 2px !important;
        margin-bottom: 2px !important;
    }
    .footer-new__socials {
        justify-content: center;
        width: 100%;
        margin-bottom: 2px;
    }
    .footer-new__nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        width: 100%;
        margin: 0 0 2px 0;
    }
    .footer-new__nav a {
        font-size: 1rem;
        padding: 2px 6px;
    }
    .footer-new__contacts {
        align-items: center !important;
        margin-top: 2px;
        gap: 2px;
        width: 100%;
    }
    .footer-new__contact-item {
        font-size: 0.97rem;
        justify-content: center;
        width: 100%;
    }
    .footer-new__legal-row {
        flex-direction: column;
        gap: 2px;
        text-align: center;
    }
    .footer-new__legal-sep {
        display: none;
    }
}

@media (max-width: 900px) {
    .header__inner {
        position: relative;
        justify-content: flex-start;
    }
    .burger {
        display: flex;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
    }
    .nav, .header__contacts, .header__city {
        display: none !important;
    }
    .mobile-nav.active {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    .mobile-call-btn {
        display: block !important;
    }
    body {
        padding-bottom: 64px !important;
    }
}

@media (max-width: 768px) {
    .footer-new__container {
        padding: 24px 15px 12px 15px !important;
    }
    .footer-new__top {
        gap: 16px;
    }
    .footer-new__contact-item {
        font-size: 1rem !important;
    }
    .footer-new__nav a {
        font-size: 1.05rem !important;
    }
    .footer-new__legal {
        font-size: 0.95rem !important;
    }
}

@media (max-width: 600px) {
    .footer-new__container {
        padding: 20px 12px 10px 12px !important;
    }
    .footer-new__logo span {
        font-size: 1.5rem !important;
    }
    .footer-new__contact-item {
        font-size: 0.95rem !important;
    }
    .footer-new__nav a {
        font-size: 1rem !important;
    }
    .footer-new__nav {
        gap: 4px;
    }
    .footer-new__nav a {
        font-size: 0.97rem;
        padding: 2px 4px;
    }
    .footer-new__copyright {
        font-size: 0.93rem;
    }
    .footer-new__container {
        padding: 6px 2px 2px 2px;
    }
}

@media (max-width: 480px) {
    .footer-new__container {
        padding: 16px 10px 8px 10px !important;
    }
    .footer-new__logo span {
        font-size: 1.4rem !important;
    }
    .footer-new__contact-item {
        font-size: 0.9rem !important;
    }
    .footer-new__nav a {
        font-size: 0.95rem !important;
        padding: 1px 4px !important;
    }
    .footer-new__legal {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 320px) {
    .footer-new__container {
        padding: 12px 8px 6px 8px !important;
    }
    .footer-new__logo span {
        font-size: 1.2rem !important;
    }
    .footer-new__contact-item {
        font-size: 0.85rem !important;
    }
    .footer-new__nav a {
        font-size: 0.9rem !important;
    }
    .footer-new__legal {
        font-size: 0.85rem !important;
    }
}

/* --- Новый стильный блок "О компании" (about-enhanced) --- */
.about-enhanced {
    background: linear-gradient(145deg, #667eea 0%, #764ba2 50%, #1a73e8 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.about-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 165, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(77, 171, 247, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(13, 110, 253, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.about-enhanced::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    background: conic-gradient(from 0deg, transparent, rgba(255, 165, 0, 0.08), transparent);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.about-enhanced__wrapper {
    position: relative;
    z-index: 2;
    padding: 100px 0;
    display: flex;
    align-items: center;
    min-height: 600px;
}

.about-enhanced__content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.about-enhanced__text-content {
    max-width: 700px;
}

.about-enhanced__header {
    margin-bottom: 40px;
}

.about-enhanced__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.25) 0%, rgba(13, 110, 253, 0.25) 100%);
    border-radius: 50%;
    font-size: 2.5rem;
    margin-bottom: 30px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.25);
    position: relative;
}

.about-enhanced__icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFA500, transparent, #0d6efd, transparent);
    border-radius: 50%;
    z-index: -1;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about-enhanced__title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #fff 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.about-enhanced__subtitle {
    font-size: 1.6rem;
    color: #ffd382;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-enhanced__intro {
    margin-bottom: 40px;
}

.about-enhanced__intro p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.about-enhanced__intro strong {
    color: #fff88f;
    font-weight: 700;
}

.about-enhanced__features {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 40px;
}

.about-enhanced__feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.about-enhanced__feature:hover {
    background: rgba(255, 165, 0, 0.15);
    border-color: rgba(255, 165, 0, 0.4);
    transform: translateY(-2px);
}

.about-enhanced__feature i {
    font-size: 1.2rem;
    color: #ffffff;
}

.about-enhanced__feature span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.about-enhanced__cta-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.about-enhanced__cta-btn {
    background-color: #FDEE00;
    background-image: linear-gradient(319deg, #FDEE00 0%, #ff8243 37%, #f94d00 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 18px 40px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(255, 165, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.about-enhanced__cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.about-enhanced__cta-btn:hover::before {
    left: 100%;
}

.about-enhanced__cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 165, 0, 0.5);
}

.about-enhanced__phone-link {
    color: #FDEE00;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-enhanced__phone-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.about-enhanced__visual {
    position: relative;
    width: 400px;
    height: 400px;
}

.about-enhanced__visual-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 165, 0, 0.4);
}

.about-enhanced__visual-circle:nth-child(1) {
    width: 100%;
    height: 100%;
    animation: pulse1 4s ease-in-out infinite;
}

.about-enhanced__visual-circle:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-color: rgba(13, 110, 253, 0.5);
    animation: pulse2 4s ease-in-out infinite 1s;
}

.about-enhanced__visual-circle:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-color: rgba(77, 171, 247, 0.4);
    animation: pulse3 4s ease-in-out infinite 2s;
}

@keyframes pulse1 {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes pulse2 {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.15); opacity: 0.7; }
}

@keyframes pulse3 {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.6; }
}

.about-enhanced__visual-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background-color: #FDEE00;
    background-image: linear-gradient(319deg, #FDEE00 0%, #ff8243 37%, #f94d00 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 20px 40px rgba(255, 165, 0, 0.4);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-20px); }
}

/* Адаптив для нового about-enhanced */
@media (max-width: 1024px) {
    .about-enhanced__content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .about-enhanced__visual {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
}

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

    .about-enhanced__title {
        font-size: 2.5rem;
    }

    .about-enhanced__subtitle {
        font-size: 1.3rem;
    }

    .about-enhanced__intro p {
        font-size: 1.1rem;
    }

    .about-enhanced__features {
        justify-content: center;
    }

    .about-enhanced__cta-section {
        justify-content: center;
        text-align: center;
    }

    .about-enhanced__visual {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .about-enhanced__title {
        font-size: 2rem;
    }

    .about-enhanced__content {
        gap: 40px;
    }

    .about-enhanced__cta-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
    }

    .about-enhanced__phone-link {
        font-size: 1.2rem;
    }

    .about-enhanced__visual {
        width: 200px;
        height: 200px;
    }
}

/* --- Мобильная оптимизация жёлтого баннера --- */

/* Убираем белую линию между блоками */
.question-banner {
    margin-top: 0 !important;
}

/* Скрываем картинку девушки на мобильных */
@media (max-width: 768px) {
    .question-banner__img {
        display: none !important;
    }

    .question-banner {
        padding: 30px 20px !important;
        margin: 0 !important;
    }

    .question-banner__content {
        flex: 1 !important;
        text-align: center !important;
        padding: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .question-banner h2 {
        font-size: 1.8rem !important;
        margin-bottom: 15px !important;
    }

    .question-banner p {
        font-size: 1.1rem !important;
        margin-bottom: 20px !important;
    }

    .question-banner form {
        flex-direction: column !important;
        gap: 15px !important;
        max-width: 100% !important;
    }

    .question-banner input[type="tel"] {
        width: 100% !important;
        font-size: 1rem !important;
        padding: 12px 15px !important;
    }

    .question-banner button {
        width: 100% !important;
        font-size: 1rem !important;
        padding: 12px 20px !important;
        justify-content: center !important;
    }
}

@media (max-width: 480px) {
    .question-banner {
        padding: 25px 15px !important;
    }

    .question-banner h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    .question-banner p {
        font-size: 1rem !important;
    }

    .question-banner input[type="tel"] {
        font-size: 0.9rem !important;
        padding: 10px 12px !important;
    }

    .question-banner button {
        font-size: 0.9rem !important;
        padding: 10px 15px !important;
    }

    .question-banner form div {
        font-size: 0.85rem !important;
        margin-top: 8px !important;
    }
}

/* Дополнительная мобильная оптимизация */
@media (max-width: 768px) {
    /* Улучшаем отступы секций */
    .section {
        padding: 60px 0 !important;
    }

    .faq-section {
        padding-bottom: 0 !important;
    }

    /* Оптимизируем заголовки */
    .section-title {
        font-size: 2rem !important;
        margin-bottom: 40px !important;
    }

    /* Карточки отзывов */
    .reviews-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .review-card {
        padding: 20px !important;
    }



    /* Статистика */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .stat-card {
        padding: 20px !important;
    }

    .stat-number {
        font-size: 2rem !important;
    }

    .stat-label {
        font-size: 1rem !important;
    }

    /* Преимущества */
    .advantages-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .advantage-card {
        padding: 20px !important;
    }

    /* Цены */
    .price-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .price-card {
        padding: 20px !important;
    }

    .price-card__title {
        font-size: 1.2rem !important;
    }

    .price-card__price {
        font-size: 1.8rem !important;
    }

    /* Герой секция */
    .hero-section {
        padding: 80px 0 60px !important;
        text-align: center !important;
    }

    .hero-section h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 25px !important;
    }

    .hero-section .description {
        font-size: 1.1rem !important;
        margin-bottom: 30px !important;
    }

    .hero-section .cta-button {
        font-size: 1.1rem !important;
        padding: 15px 30px !important;
        margin-bottom: 20px !important;
    }

    /* Навигация */
    .navbar {
        padding: 15px 0 !important;
    }

    .navbar-brand {
        font-size: 1.5rem !important;
    }

    .navbar-nav .nav-link {
        font-size: 1rem !important;
        padding: 10px 0 !important;
    }


}

@media (max-width: 480px) {
    .section {
        padding: 40px 0 !important;
    }

    .container {
        padding: 0 15px !important;
    }

    .section-title {
        font-size: 1.7rem !important;
        margin-bottom: 30px !important;
    }

    .review-card {
        padding: 15px !important;
    }

    .review-card__text {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }



    /* Статистика для телефонов */
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .stat-card {
        padding: 15px !important;
    }

    .stat-number {
        font-size: 1.8rem !important;
    }

    /* Преимущества для телефонов */
    .advantage-card {
        padding: 15px !important;
    }

    .advantage-card__title {
        font-size: 1rem !important;
    }

    .advantage-card__text {
        font-size: 0.9rem !important;
    }

    /* Цены для телефонов */
    .price-card {
        padding: 15px !important;
    }

    .price-card__title {
        font-size: 1.1rem !important;
    }

    .price-card__price {
        font-size: 1.6rem !important;
    }

    /* Герой секция для телефонов */
    .hero-section h1 {
        font-size: 1.9rem !important;
        line-height: 1.1 !important;
        margin-bottom: 20px !important;
    }

    .hero-section .description {
        font-size: 1rem !important;
        margin-bottom: 25px !important;
    }

    .hero-section .cta-button {
        font-size: 1rem !important;
        padding: 12px 25px !important;
        margin-bottom: 15px !important;
    }



    /* Подвал для телефонов */
    .footer-new__top {
        flex-direction: column !important;
        gap: 30px !important;
    }

    .footer-new__nav {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
    }

    .footer-new__contacts {
        text-align: center !important;
    }

    .footer-new__contact-item {
        font-size: 0.9rem !important;
        margin-bottom: 8px !important;
    }
}

/* Медиа-запросы для планшетов и больших телефонов */
@media (min-width: 481px) and (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .price-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .hero-section h1 {
        font-size: 2.5rem !important;
    }

    .section-title {
        font-size: 2.2rem !important;
    }
}

/* Ландшафтная ориентация для телефонов */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 40px 0 30px !important;
    }

    .hero-section h1 {
        font-size: 1.6rem !important;
        margin-bottom: 15px !important;
    }

    .section {
        padding: 30px 0 !important;
    }


}

/* Дополнительная оптимизация для очень маленьких экранов */
@media (max-width: 360px) {
    .container {
        padding: 0 10px !important;
    }

    .hero-section h1 {
        font-size: 1.7rem !important;
    }

    .section-title {
        font-size: 1.5rem !important;
    }

    .question-banner h2 {
        font-size: 1.3rem !important;
    }

    .question-banner {
        padding: 20px 10px !important;
    }


}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.header-icon {
  font-size: 2.8rem;
  color: #FFA500;
}
.header-btn {
  background: #fff;
  color: #0d6efd;
  border-radius: 14px;
  padding: 14px 28px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(13,110,253,0.07);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-size: 1.13rem;
}
.header-btn:hover {
  background: #0d6efd;
  color: #fff;
}
@media (max-width: 900px) {
  .header {
    padding: 18px 0 18px 0;
  }
  .header-row {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
    padding: 0 10px;
  }
  .header-btn {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }
}
.info-block {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(13,110,253,0.07);
  max-width: 700px;
  margin: 38px auto 38px auto;
  padding: 38px 24px 32px 24px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.info-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: #0d6efd;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.info-sub {
  font-size: 1.18rem;
  color: #764ba2;
  font-weight: 600;
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .info-block {
    padding: 18px 6px 16px 6px;
    margin: 18px 4px 18px 4px;
  }
  .info-title {
    font-size: 1.18rem;
  }
  .info-sub {
    font-size: 1rem;
  }
}

/* --- Управление статьями: поиск, фильтры, сортировка --- */
.controls-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(13,110,253,0.07);
  padding: 18px 22px;
}
.search-container {
  flex: 1 1 300px;
}
.search-box {
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(13,110,253,0.07);
  display: flex;
  align-items: center;
  padding: 10px 18px;
  gap: 10px;
  margin-bottom: 8px;
}
.search-input {
  border: none;
  outline: none;
  font-size: 1.1rem;
  flex: 1;
  background: transparent;
  color: #222;
}
.search-icon {
  color: #0d6efd;
  font-size: 1.2rem;
}
.filter-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.filter-tag {
  background: #e3eafc;
  color: #0d6efd;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.1px;
  border: none;
}
.filter-tag.active, .filter-tag:hover {
  background: #0d6efd;
  color: #fff;
}
.results-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  gap: 12px;
  font-size: 1.05rem;
  color: #444;
}
.sort-options {
  display: flex;
  gap: 8px;
  align-items: center;
}
.sort-btn {
  background: #fff;
  color: #764ba2;
  border: 1.5px solid #e3eafc;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  margin-right: 4px;
}
.sort-btn.active, .sort-btn:hover {
  background: #764ba2;
  color: #fff;
  border-color: #764ba2;
}
@media (max-width: 700px) {
  .controls-section {
    flex-direction: column;
    gap: 10px;
    padding: 10px 6px;
  }
  .search-box {
    padding: 8px 10px;
    font-size: 1rem;
  }
  .filter-tag {
    padding: 7px 12px;
    font-size: 0.97rem;
  }
  .sort-btn {
    padding: 7px 12px;
    font-size: 0.97rem;
  }
}

@media (max-width: 700px) {
  .search-container {
    width: 100%;
    max-width: 100%;
    flex: unset;
  }
  .search-box {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 6px 8px;
    margin-bottom: 0;
  }
}

@media (max-width: 700px) {
  .header {
    padding: 14px 0 14px 0;
  }
  .header-row {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    padding: 0 6px;
  }
  .header-btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    font-size: 1rem;
    padding: 10px 0;
  }
  .header-icon {
    font-size: 2rem;
  }
  .info-block {
    padding: 12px 4px 10px 4px;
    margin: 12px 2px 12px 2px;
    border-radius: 12px;
  }
  .info-title {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }
  .info-sub {
    font-size: 0.97rem;
  }
  .controls-section {
    flex-direction: column;
    gap: 8px;
    padding: 8px 4px;
    border-radius: 10px;
  }
  .search-box {
    padding: 6px 6px;
    font-size: 0.97rem;
    border-radius: 8px;
  }
  .search-input {
    font-size: 0.97rem;
  }
  .filter-tags {
    gap: 6px;
    margin-bottom: 4px;
  }
  .filter-tag {
    padding: 6px 10px;
    font-size: 0.95rem;
    border-radius: 6px;
  }
  .results-info {
    flex-direction: column;
    gap: 4px;
    font-size: 0.97rem;
  }
  .sort-options {
    gap: 4px;
  }
  .sort-btn {
    padding: 6px 10px;
    font-size: 0.95rem;
    border-radius: 6px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }
  .article-card {
    min-height: 160px;
    padding: 10px 4px 8px 4px;
    border-radius: 12px;
  }
  .article-header {
    gap: 6px;
    margin-bottom: 4px;
  }
  .article-category {
    font-size: 0.92rem;
    padding: 4px 8px;
    border-radius: 6px;
  }
  .article-date {
    font-size: 0.92rem;
    gap: 3px;
  }
  .article-title {
    font-size: 0.97rem;
    margin: 0 0 4px 0;
  }
  .article-desc {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }
  .article-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-top: 8px;
  }
  .article-more {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.97rem;
    padding: 7px 0;
    border-radius: 8px;
  }
}
@media (max-width: 480px) {
  .header {
    padding: 8px 0 8px 0;
  }
  .header-icon {
    font-size: 1.4rem;
  }
  .info-block {
    padding: 6px 2px 6px 2px;
    margin: 6px 1px 6px 1px;
    border-radius: 8px;
  }
  .info-title {
    font-size: 0.98rem;
  }
  .info-sub {
    font-size: 0.85rem;
  }
  .controls-section {
    padding: 4px 2px;
    border-radius: 6px;
  }
  .search-box {
    padding: 4px 2px;
    font-size: 0.92rem;
    border-radius: 6px;
  }
  .filter-tag {
    padding: 4px 6px;
    font-size: 0.9rem;
    border-radius: 4px;
  }
  .sort-btn {
    padding: 4px 6px;
    font-size: 0.9rem;
    border-radius: 4px;
  }
  .article-card {
    min-height: 120px;
    padding: 6px 2px 4px 2px;
    border-radius: 8px;
  }
  .article-title {
    font-size: 0.85rem;
  }
  .article-desc {
    font-size: 0.85rem;
  }
  .article-more {
    font-size: 0.9rem;
    padding: 5px 0;
    border-radius: 6px;
  }
  .error-container {
    padding: 14px 2px 8px 2px;
    max-width: 99vw;
    border-radius: 10px;
  }
  .error-code {
    font-size: 1.7rem;
  }
  .error-title {
    font-size: 0.95rem;
  }
  .error-desc {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }
  .error-btn {
    padding: 7px 10px;
    font-size: 0.9rem;
    border-radius: 7px;
  }
}

@media (max-width: 700px) {
  /* ... существующие стили ... */
  .controls-section {
    flex-direction: column;
    gap: 4px;
    padding: 8px 4px;
    border-radius: 10px;
  }
  .search-box {
    padding: 6px 6px;
    font-size: 0.97rem;
    border-radius: 8px;
    margin-bottom: 0;
  }
  .filter-tags {
    gap: 6px;
    margin-bottom: 0;
  }
  .results-info {
    margin-bottom: 4px;
  }
}

/* --- Переключатель типа клиента --- */
.client-type-switch {
    display: flex;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
    border: 2px solid #e3eafc;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.switch-label {
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
    color: #666;
    position: relative;
    background: transparent;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.switch-label input[type="radio"] {
    display: none;
}

.switch-label.active {
    background: linear-gradient(90deg, #0d6efd 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(13,110,253,0.2);
}

.switch-label:hover:not(.active) {
    background: #e3eafc;
    color: #0d6efd;
}

.switch-text {
    display: block;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.switch-text.legal {
    white-space: pre-line;
}

/* Анимация переключения полей */
.form-fields {
    transition: all 0.3s ease;
}

.legal-fields {
    opacity: 0;
    transform: translateY(-10px);
}

.legal-fields.show {
    opacity: 1;
    transform: translateY(0);
}

/* Адаптивность для переключателя */
@media (max-width: 768px) {
    .client-type-switch {
        margin-bottom: 16px;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .switch-label {
        padding: 10px 12px;
        font-size: 0.9rem;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .client-type-switch {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 14px;
    }

    .switch-label {
        padding: 8px 8px;
        font-size: 0.85rem;
        min-height: 40px;
    }
}

.section-title--white {
    color: #fff !important;
}
.trust-indicators--white, .trust-indicators--white .trust-indicator {
    color: #fff !important;
}
.trust-indicators--white .trust-indicator i {
    color: #fff !important;
}

/* Price table styles for service pages */
.price-table {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.price-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: #0d6efd;
    transform: translateY(-2px);
}

.price-item__service {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.price-item__service i {
    font-size: 1.2rem;
    color: #0d6efd;
    width: 24px;
    text-align: center;
}

.price-item__service span {
    font-size: 1rem;
    font-weight: 500;
    color: #2c3e50;
}

.price-item__price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0d6efd;
    white-space: nowrap;
    margin-left: 20px;
}

.price-item:first-child {
    background: linear-gradient(135deg, #0d6efd 0%, #00BCD4 100%);
    color: white;
    border-color: #0d6efd;
}

.price-item:first-child .price-item__service i,
.price-item:first-child .price-item__service span,
.price-item:first-child .price-item__price {
    color: white;
}

.price-note {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
    text-align: center;
}

.price-note p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.price-note strong {
    color: #0d6efd;
}

@media (max-width: 768px) {
    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .price-item__service {
        width: 100%;
    }

    .price-item__price {
        margin-left: 0;
        align-self: flex-end;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .price-table {
        gap: 12px;
    }

    .price-item {
        padding: 14px;
    }

    .price-item__service span {
        font-size: 0.9rem;
    }

    .price-note {
        padding: 12px;
    }

    .price-note p {
        font-size: 0.8rem;
    }
}

/* Связанные услуги */
.related-services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.main-service-link {
    text-align: center;
    margin-bottom: 1rem;
}

.main-service-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0d6efd 0%, #00BCD4 100%);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

.main-service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.3);
    color: white;
}

.related-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.related-service-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.related-service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #0d6efd;
    color: #0d6efd;
}

.related-service-card i {
    font-size: 1.2rem;
    color: #0d6efd;
    width: 20px;
    text-align: center;
}

.related-service-card span {
    font-weight: 500;
}

@media (max-width: 768px) {
    .related-services-grid {
        grid-template-columns: 1fr;
    }

    .main-service-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Поддержка старого класса .related-service-item, который используется в HTML */
.related-service-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.related-service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #0d6efd;
    color: #0d6efd;
}

.related-service-item span {
    font-weight: 500;
}





/* --- Typo boost for index hero (bring to parity with service pages) --- */
.hero-enhancement h1 {
    font-size: 3.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
}
.hero-enhancement .hero__subtitle {
    font-size: 1.3rem;
}
@media (max-width: 768px) {
    .hero-enhancement h1 { font-size: 2.2rem; }
    .hero-enhancement .hero__subtitle { font-size: 1.15rem; }
}
@media (max-width: 480px) {
    .hero-enhancement h1 { font-size: 1.8rem; }
    .hero-enhancement .hero__subtitle { font-size: 0.95rem; }
}

/* Desktop city dropdown fix */
.city-dropdown{display:none;position:absolute;top:100%;left:0;background-color:var(--color-white);border-radius:var(--radius);box-shadow:var(--shadow);padding:10px 0;margin-top:5px;min-width:240px;z-index:1001;max-height:60vh;overflow:auto}
.city-dropdown .city-option{display:flex;align-items:center;gap:8px;padding:10px 16px;color:var(--color-text)}
.city-dropdown .city-option:hover{background-color:var(--color-light)}
.city-selector.active .city-dropdown{display:block}
