/* Глобальные стили */
:root {
    --primary-color: #5a9fb8;
    --secondary-color: #7ab89f;
    --accent-color: #c9a961;
    --dark-color: #1a2332;
    --darker-color: #0f1621;
    --light-color: #e8eef2;
    --gray-color: #8a9db5;
    --light-gray: #1e2d3f;
    --border-color: #2d3e52;
    --success-color: #7ab89f;
    --grid-color: rgba(90, 159, 184, 0.08);
    --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--light-color);
    background: var(--darker-color);
    overflow-x: hidden;
    background-image: 
        repeating-linear-gradient(0deg, rgba(90, 159, 184, 0.04) 0px, transparent 1px, transparent 40px, rgba(90, 159, 184, 0.04) 41px),
        repeating-linear-gradient(90deg, rgba(90, 159, 184, 0.04) 0px, transparent 1px, transparent 40px, rgba(90, 159, 184, 0.04) 41px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Заголовки и текст */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 48px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #b8c5d6;
    margin-top: -30px;
    margin-bottom: 40px;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-main);
}

.btn--primary {
    background: var(--primary-color);
    color: var(--darker-color);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn--primary:hover {
    background: #6eb0ca;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(90, 159, 184, 0.2);
}

.btn--secondary {
    background: var(--secondary-color);
    color: var(--light-color);
}

.btn--secondary:hover {
    background: #388E3C;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn--outline:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

.btn--large {
    padding: 18px 45px;
    font-size: 18px;
}

/* Шапка */
.header {
    background: var(--dark-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__list a {
    font-weight: 500;
    position: relative;
}

.nav__list a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav__list a:hover {
    color: var(--primary-color);
}

.nav__list a:hover::after {
    width: 100%;
}

.header__phone {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.header__phone:hover {
    color: var(--secondary-color);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger span {
    width: 30px;
    height: 3px;
    background: var(--light-color);
    transition: var(--transition);
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Мобильное меню */
.nav.active {
    display: flex !important;
}

@media (max-width: 992px) {
    .nav {
        display: none;
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        background: var(--dark-color);
        padding: 30px;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    .nav__list {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
        width: 100%;
    }
    
    .nav__list a {
        font-size: 18px;
        display: block;
        padding: 12px 0;
        text-align: center;
        width: 100%;
    }
}

/* Главный блок */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(26, 35, 50, 0.92), rgba(15, 22, 33, 0.92)), url('../images/fon.jpg') center/cover no-repeat;
    color: var(--light-color);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, rgba(90, 159, 184, 0.06) 0px, transparent 1px, transparent 40px, rgba(90, 159, 184, 0.06) 41px),
        repeating-linear-gradient(90deg, rgba(90, 159, 184, 0.06) 0px, transparent 1px, transparent 40px, rgba(90, 159, 184, 0.06) 41px);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 5%;
    width: 450px;
    height: 450px;
    background: url('../images/blueprint-pattern.svg') center/contain no-repeat;
    opacity: 0.4;
    pointer-events: none;
    z-index: 1;
    transform: translateY(-50%);
    filter: brightness(1.8) contrast(1.4);
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 0;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero__title {
    font-size: 52px;
    margin-bottom: 25px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.95;
}

.hero__stats {
    display: flex;
    gap: 50px;
    margin-top: 60px;
}

.stat {
    text-align: center;
}

.stat__icon {
    margin-bottom: 15px;
}

.stat__number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat__text {
    font-size: 16px;
    opacity: 0.9;
}

/* О компании */
.about {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    background: var(--darker-color);
    border-bottom: 1px solid var(--border-color);
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 600px;
    height: 600px;
    background: url('../images/blueprint-pattern.svg') center/contain no-repeat;
    opacity: 0.08;
    pointer-events: none;
    transform: rotate(15deg);
    filter: brightness(1.3);
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__text p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.8;
    color: #b8c5d6;
}

.about__text strong {
    color: var(--primary-color);
    font-weight: 700;
}

.about__image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Преимущества */
.advantages {
    padding: 80px 0;
    background: var(--dark-color);
    border-bottom: 1px solid var(--border-color);
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: var(--darker-color);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.advantage-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(90, 159, 184, 0.15);
}

.advantage-card__icon {
    margin-bottom: 25px;
}

.advantage-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--light-color);
}

.advantage-card p {
    color: #b8c5d6;
    line-height: 1.6;
}

/* Услуги */
.services {
    padding: 80px 0;
    background: var(--darker-color);
    border-bottom: 1px solid var(--border-color);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--dark-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(90, 159, 184, 0.15);
}

.service-card__image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-card__image img {
    transform: scale(1.1);
}

.service-card__content {
    padding: 30px;
}

.service-card__content h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card__content p {
    color: #b8c5d6;
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-card__price {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Проекты */
.projects {
    padding: 80px 0;
    background: var(--dark-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: url('../images/blueprint-pattern.svg') center/contain no-repeat;
    opacity: 0.1;
    pointer-events: none;
    transform: rotate(-10deg);
    filter: brightness(1.3);
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.project-card {
    background: var(--darker-color);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.project-card__gallery {
    position: relative;
}

.project-card__image {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.project-card__thumbnails {
    display: flex;
    gap: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.05);
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    border: 2px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
}

.project-card__info {
    padding: 30px;
}

.project-card__info h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.project-card__features {
    margin-bottom: 25px;
}

.project-card__features li {
    padding: 8px 0;
    color: #b8c5d6;
    border-bottom: 1px solid var(--border-color);
}

.project-card__features li:last-child {
    border-bottom: none;
}

.project-card__price {
    font-size: 26px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.projects__cta {
    text-align: center;
}

/* Портфолио */
.portfolio {
    padding: 80px 0;
    background: var(--darker-color);
    border-bottom: 1px solid var(--border-color);
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--light-color);
    padding: 30px;
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-item__overlay {
    transform: translateY(0);
}

.portfolio-item__overlay h4 {
    margin-bottom: 5px;
    font-size: 20px;
}

.portfolio-item__overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* Отзывы */
.reviews {
    padding: 80px 0;
    background: var(--dark-color);
    border-bottom: 1px solid var(--border-color);
}

.reviews__slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.review-card {
    background: var(--darker-color);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(90, 159, 184, 0.15);
}

.review-card__header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.review-card__author h4 {
    margin-bottom: 5px;
}

.review-card__date {
    font-size: 14px;
    color: #b8c5d6;
}

.review-card__rating {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 15px;
}

.review-card__text {
    color: #b8c5d6;
    line-height: 1.7;
    margin-bottom: 20px;
}

.review-card__service {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}

.reviews__navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.reviews__arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: var(--light-color);
    color: var(--primary-color);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.reviews__arrow:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

/* CTA секция */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(90, 159, 184, 0.08), rgba(122, 184, 159, 0.08)), var(--dark-color);
    border: 1px solid var(--border-color);
    border-left: none;
    border-right: none;
    color: var(--light-color);
    text-align: center;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, rgba(90, 159, 184, 0.04) 0px, transparent 1px, transparent 20px, rgba(90, 159, 184, 0.04) 21px),
        repeating-linear-gradient(90deg, rgba(90, 159, 184, 0.04) 0px, transparent 1px, transparent 20px, rgba(90, 159, 184, 0.04) 21px);
    pointer-events: none;
}

.cta__title {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta__text {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* Контакты */
.contact {
    padding: 80px 0;
    background: var(--darker-color);
    border-bottom: 1px solid var(--border-color);
}

.contact__content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.contact__form h3 {
    margin-bottom: 15px;
}

.contact__form p {
    color: #b8c5d6;
    margin-bottom: 30px;
}

.contact__form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__form input,
.contact__form textarea,
.contact__form select {
    width: 100%;
    padding: 15px 20px;
    background: var(--dark-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--light-color);
    font-size: 16px;
    font-family: var(--font-main);
    transition: var(--transition);
}

.contact__form input:focus,
.contact__form textarea:focus,
.contact__form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(90, 159, 184, 0.15);
}

.form-privacy {
    font-size: 12px;
    color: #b8c5d6;
    text-align: center;
}

.form-privacy a {
    color: var(--primary-color);
    text-decoration: underline;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact__item h4 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact__item a {
    color: var(--light-color);
    font-size: 18px;
}

.contact__item a:hover {
    color: var(--primary-color);
}

.contact__item p {
    color: var(--light-color);
    font-size: 18px;
}

.contact__socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border-radius: 50%;
    color: #b8c5d6;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-3px);
}

/* Футер */
.footer {
    background: var(--darker-color);
    border-top: 1px solid var(--border-color);
    color: var(--light-color);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: url('../images/blueprint-pattern.svg') center/contain no-repeat;
    opacity: 0.1;
    pointer-events: none;
    filter: brightness(1.3);
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer__column h4 {
    margin-bottom: 20px;
    color: var(--light-color);
}

.footer__column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__column a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer__column a:hover {
    color: var(--primary-color);
}

.footer__column p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.6);
}

.footer__links {
    display: flex;
    gap: 30px;
}

.footer__links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer__links a:hover {
    color: var(--primary-color);
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.modal__content {
    position: relative;
    background: var(--dark-color);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 5px 20px rgba(90, 159, 184, 0.15);
}

.modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--light-gray);
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__close:hover {
    background: var(--primary-color);
    color: var(--light-color);
}

.modal__content h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
}

.modal__content form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal__content input,
.modal__content textarea,
.modal__content select {
    width: 100%;
    padding: 15px 20px;
    background: var(--darker-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--light-color);
    font-size: 16px;
    font-family: var(--font-main);
    transition: var(--transition);
}

.modal__content input:focus,
.modal__content textarea:focus,
.modal__content select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(90, 159, 184, 0.15);
}

/* Адаптивность */
@media (max-width: 992px) {
    .burger {
        display: flex;
    }
    
    h1 {
        font-size: 38px;
    }
    
    h2 {
        font-size: 30px;
    }
    
    .hero__title {
        font-size: 40px;
        line-height: 1.2;
    }
    
    .hero::after {
        width: 350px;
        height: 350px;
        opacity: 0.2;
    }
    
    .about__content {
        grid-template-columns: 1fr;
    }
    
    .contact__content {
        grid-template-columns: 1fr;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer__links {
        flex-direction: column;
        gap: 10px;
    }
    
    .advantages__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .services__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero__title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .hero__subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .hero::after {
        width: 280px;
        height: 280px;
        right: -50px;
        opacity: 0.15;
    }
    
    .hero__stats {
        flex-direction: row;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stat {
        flex: 1;
        min-width: 140px;
    }
    
    .stat__icon svg {
        width: 40px;
        height: 40px;
    }
    
    .stat__number {
        font-size: 22px;
    }
    
    .stat__text {
        font-size: 13px;
    }
    
    .services__grid,
    .projects__grid,
    .portfolio__grid,
    .reviews__slider {
        grid-template-columns: 1fr;
    }
    
    .advantages__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantage-card {
        padding: 30px 25px;
    }
    
    .service-card__content,
    .project-card__content {
        padding: 25px;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .header__content {
        padding: 15px 0;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .header__phone {
        font-size: 14px;
    }
    
    h1 {
        font-size: 26px;
    }
    
    h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .hero {
        min-height: 480px;
        padding: 40px 0 30px;
    }
    
    .hero__title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .hero__subtitle {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 20px;
    }
    
    .hero::after {
        width: 180px;
        height: 180px;
        right: 10px;
        top: auto;
        bottom: 30px;
        opacity: 0.12;
        transform: none;
    }
    
    .hero__stats {
        flex-direction: row;
        gap: 10px;
        margin-top: 25px;
        flex-wrap: wrap;
    }
    
    .stat {
        padding: 15px;
        background: rgba(26, 35, 50, 0.6);
        border-radius: 10px;
        border: 1px solid var(--border-color);
        flex: 1;
        min-width: calc(50% - 5px);
    }
    
    .stat__icon svg {
        width: 35px;
        height: 35px;
    }
    
    .stat__number {
        font-size: 20px;
    }
    
    .stat__text {
        font-size: 12px;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
    }
    
    .btn--large {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .section-title {
        margin-bottom: 25px;
        font-size: 24px;
    }
    
    .about,
    .advantages,
    .services,
    .projects,
    .portfolio,
    .reviews,
    .contact {
        padding: 50px 0;
    }
    
    .cta {
        padding: 50px 0;
    }
    
    .cta__title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .cta__text {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .advantage-card {
        padding: 25px 20px;
    }
    
    .advantage-card h3 {
        font-size: 18px;
    }
    
    .advantage-card__icon svg {
        width: 50px;
        height: 50px;
    }
    
    .service-card__content {
        padding: 20px;
    }
    
    .service-card__content h3 {
        font-size: 20px;
    }
    
    .project-card__content {
        padding: 20px;
    }
    
    .contact__form input,
    .contact__form textarea,
    .contact__form select {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .contact__item h4 {
        font-size: 16px;
    }
    
    .contact__item a,
    .contact__item p {
        font-size: 15px;
    }
    
    .modal__content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .modal__title {
        font-size: 22px;
    }
    
    .reviews__arrow {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .portfolio__item img {
        height: 250px;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.advantage-card,
.service-card,
.project-card,
.portfolio-item,
.review-card {
    animation: fadeIn 0.6s ease-out;
}

/* Страницы политики */
.policy-page {
    padding: 150px 0 80px;
    min-height: 100vh;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: var(--dark-color);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.policy-date {
    color: var(--gray-color);
    font-size: 14px;
    margin-bottom: 30px;
    font-style: italic;
}

.policy-content h2 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: 600;
    margin: 40px 0 20px;
}

.policy-content h2:first-of-type {
    margin-top: 0;
}

.policy-content p {
    color: var(--light-color);
    line-height: 1.8;
    margin-bottom: 15px;
}

.policy-content ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.policy-content ul li {
    color: var(--light-color);
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.6;
}

.policy-content ul li:before {
    content: "•";
    color: var(--primary-color);
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

.policy-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.policy-content a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.policy-content strong {
    color: var(--accent-color);
    font-weight: 600;
}

.policy-actions {
    text-align: center;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .policy-page {
        padding: 120px 0 60px;
    }
    
    .policy-content {
        padding: 25px;
    }
    
    .policy-content h2 {
        font-size: 20px;
    }
}
