/* Основные стили сайта */
:root {
    --primary: #000000;      /* чёрный */
    --accent: #fbbf24;       /* оранжевый */
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --font-title: 'Montserrat', sans-serif;
    --font-text: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

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

.section-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary);
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    text-decoration: none;
}
.btn--small {
    padding: 8px 16px;
    font-size: 0.9rem;
}
.btn--large {
    padding: 16px 32px;
    font-size: 1.1rem;
}
.btn--outline {
    border: 2px solid #ffffff;
    color: #ffffff;
    background: transparent;
}
.btn--outline:hover {
    background: var(--accent);
    color: #000000;
    border-color: var(--accent);
}
.btn--accent {
    background: #ffd500dc;            /* ярко-оранжевый */
    color: #000000;                  /* чёрный текст */
    border-radius: 20px;             /* сильно скруглённая */
    border: 2px solid #cc7a00;       /* тёмно-оранжевая обводка */
    box-shadow: 0 8px 20px rgba(255, 153, 0, 0.4); /* цветная тень */
    font-weight: 700;                 /* жирный текст */
}
.btn--accent:hover {
    background: #e68a00;              /* чуть темнее при наведении */
    transform: translateY(-3px);       /* поднимаем сильнее */
    box-shadow: 0 12px 28px rgba(255, 153, 0, 0.6);
}
.btn--full {
    width: 100%;
}

/* Фокус для интерактивных элементов */
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Прогресс-бар */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--accent);
    width: 0%;
    z-index: 1000;
    transition: width 0.2s;
}

/* Header */
.header {
    background: rgba(7, 7, 7, 0.913);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}
.header__logo a {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}
.header__logo img {
    aspect-ratio: 500 / 250;
    height: auto;
    width: auto;
    max-height: 80px;
    display: block;
    animation: pulseSlow 4s infinite ease-in-out;
}
@keyframes pulseSlow {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

.nav__list {
    display: flex;
    gap: 30px;
    list-style: none;
}
.nav__list a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: inline-block;
}
.nav__list a:hover {
    color: var(--accent);
    transform: scale(1.1);
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}
.header__contacts {
    display: flex;
    align-items: center;
    gap: 30px;
}
.contacts__info {
    display: flex;
    align-items: center;
    gap: 20px;
}
.contacts__action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}
.contacts__phone a {
    transition: all 0.3s ease;
    display: inline-block;
    color: #f7de61;
    font-size: 1.6rem;
    font-weight: 900;
    text-decoration: none;
}
.contacts__phone a:hover {
    color: var(--accent);
    transform: scale(1.1);
    text-shadow: 0 0 8px rgb(251, 190, 36);
}
.contacts__social {
    display: flex;
    gap: 20px;
}
.contacts__social img {
    width: 24px;
    height: 24px;
}
.contacts__worktime {
    font-size: 0.85rem;
    color: #e0e0e0;
}
.header__burger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}
.header__burger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Мобильная кнопка (скрыта на десктопе) */
.btn--mobile-call {
    display: none;
}

/* Блок с иконками в меню (скрыт на десктопе) */
.mobile-social {
    display: none;
}

/* Hero */
.hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
    padding: 90px 0;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
}
.hero__container {
    position: relative;
    z-index: 2;
    text-align: center;
}
.hero__title {
    font-family: var(--font-title);
    font-size: 4.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    padding-left: 20px;
    padding-right: 20px;
}
.hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
}
.hero__advantages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

/* Плитки преимуществ */
.advantage-card {
    background: linear-gradient(135deg, var(--accent) 0%, #ff9500a1 100%);
    color: #000000;
    padding: 15px 35px;
    border-radius: 50px 20px 50px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
    transition: all 0.3s;
}
.advantage-card i {
    color: #000000;
    font-size: 1.2rem;
}
.advantage-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(251, 191, 36, 0.3);
}

/* About */
.about {
    padding: 30px 0;
}
.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    font-size: 1.1rem;
}
.about__text p {
    text-align: justify;
}
.about__region {
    background: var(--light);
    padding: 10px;
    border-radius: 20px;
}
.about__region i {
    color: var(--accent);
    font-size: 1rem;
    margin-right: 5px;
}
.region__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    list-style: none;
}
.region__list li {
    background: white;
    padding: 5px 15px;
    border-radius: 15px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Виды работ */
.service-item {
    background: linear-gradient(135deg, var(--accent) 0%, #cc5a028a 100%);
    padding: 20px;
    border-radius: 50px 20px 50px 20px;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.service-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
    transition: color 0.3s;
}
.service-item:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(251,191,36,0.15);
}
.service-item:hover i {
    color: var(--accent);
}

/* Technology */
.technology {
    background: var(--light);
    padding: 40px 0;
}
.card {
    background: rgba(255, 255, 255, 0.87);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.card h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.technology .card {
    max-width: 100%;
    text-align: left;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.technology .card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.technology .card h4 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--primary);
    font-weight: 600;
}

.card__intro {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--dark);
    text-align: justify;
}

.card__list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.card__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.5;
}

.card__list i {
    color: var(--accent);
    font-size: 1.2rem;
    min-width: 24px;
    margin-top: 2px;
}

/* Изображение на всю ширину экрана */
.technology__full-image {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 40px;
}

.technology__full-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* FAQ */
.faq {
    padding: 80px 0;
    background: var(--light);
}
.faq__grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq__item {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s;
    border: 1px solid #eaeaea;
}
.faq__item:hover {
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.15);
}
.faq__question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s, color 0.3s;
}
.faq__question:hover {
    background: rgba(251, 191, 36, 0.05);
    color: #000000;
}
.faq__question i {
    transition: transform 0.4s ease;
    color: var(--accent);
    font-size: 1.2rem;
}
.faq__item.active .faq__question i {
    transform: rotate(180deg);
}
.faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease-out, padding 0.3s ease, border-color 0.3s;
    background: #fcfcfc;
    border-top: 1px solid transparent;
    overflow: hidden;
}

.faq__answer > * {
    min-height: 0; /* обязательно для корректной работы grid-template-rows */
}

.faq__item.active .faq__answer {
    grid-template-rows: 1fr;
    padding: 20px 25px;
    border-top-color: #f0f0f0;
}
.faq__answer p {
    margin: 0;
    color: var(--gray);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Recommendations */
.recommendations {
    background: var(--light);
    padding: 30px 0;
}
.rec__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.rec-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.rec-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
}
.rec-card h4 {
    color: var(--primary);
    margin-bottom: 15px;
}
.rec-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Gallery */
.gallery {
    padding: 40px 0;
}
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.gallery__item {
    display: block;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    aspect-ratio: 4 / 3;
}
.gallery__item:hover {
    transform: scale(1.02);
}
.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Contacts */
.contacts {
    background: var(--light);
    padding: 40px 0;
}

.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.contacts__heading {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}
.info-item.social-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 25px;
    border-bottom: none;
    padding: 10px 0;
}
.info-item.social-group i,
.info-item.social-group .social-link {
    display: inline-flex;
    align-items: center;
}
.info-item.social-group .social-link {
    margin-left: -10px;
}
.info-item.social-group i {
    margin-right: -5px;
}

/* Телефон и email в одной строке */
.contact-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.separator {
    color: var(--gray);
    font-weight: 300;
}

/* Выравнивание кнопок */
#callbackBtnContacts {
    margin: 20px auto 0;
    width: auto;
    align-self: center;
}
.contact-form button[type="submit"] {
    margin-top: 10px;
}

/* Форма обратной связи */
.contact-form {
    display: flex;
    flex-direction: column;
}

.form-input {
    width: 100%;
    padding: 8px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: var(--font-text);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

/* Контакты информация */
.contacts__info {
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.info-item i {
    width: 24px;
    color: var(--primary);
    font-size: 1.2rem;
    text-align: center;
}

.info-item a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 40px 0 0;
}

.footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer__logo img {
    aspect-ratio: 500 / 250;
    height: auto;
    width: auto;
    max-height: 60px;
}

.footer__desc {
    color: #ccc;
    max-width: 400px;
    font-size: 0.95rem;
    margin: 0;
}

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

.footer__phone {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    transition: color 0.3s, text-shadow 0.3s;
}

.footer__phone:hover {
    color: var(--accent);
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

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

.footer__social img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.footer__social a:hover img {
    transform: scale(1.15);
    filter: drop-shadow(0 0 5px var(--accent));
}

.footer__nav {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    list-style: none;
    padding: 0;
}

.footer__nav a {
    color: #ccc;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.footer__nav a:hover {
    color: var(--accent);
}

.footer__bottom {
    background: #0f172a;
    padding: 20px 0;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Адаптивность футера */
@media (max-width: 768px) {
    .footer__top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer__logo {
        justify-content: center;
    }

    .footer__desc {
        text-align: center;
    }

    .footer__contacts {
        justify-content: center;
    }

    .footer__nav ul {
        justify-content: center;
        gap: 15px;
    }
}

/* Плавающие элементы */
.scroll-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    cursor: pointer;
    z-index: 99;
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* ===== ПЛАВАЮЩЕЕ МЕНЮ ===== */
.floating-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.floating-call {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    animation: gentleShake 3s infinite;
    transform-origin: center;
}

.floating-call i {
    font-size: 1.8rem;
    color: var(--dark);
}

.floating-call:hover {
    transform: scale(1.1);
}

.floating-tooltip {
    position: absolute;
    right: 70px;
    background: var(--dark);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.floating-call:hover .floating-tooltip {
    opacity: 1;
}

/* Скрываем подсказку при открытом меню */
.floating-wrapper.menu-open .floating-tooltip {
    opacity: 0;
    visibility: hidden;
}

.floating-call::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    background: rgba(251, 191, 36, 0.3);
    opacity: 0;
    z-index: -1;
    pointer-events: none;
    animation: waterRipple 3s infinite ease-out;
}

@keyframes gentleShake {
    0% {
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
        transform: scale(1) rotate(0deg);
    }
    20% {
        box-shadow: 0 5px 30px var(--accent);
        transform: scale(1.02) rotate(2deg);
    }
    40% {
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
        transform: scale(1) rotate(-2deg);
    }
    60% {
        box-shadow: 0 5px 30px var(--accent);
        transform: scale(1.02) rotate(1deg);
    }
    80% {
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
        transform: scale(1) rotate(-1deg);
    }
    100% {
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
        transform: scale(1) rotate(0deg);
    }
}

@keyframes waterRipple {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.4;
    }
    50% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
    100% {
        width: 100%;
        height: 100%;
        opacity: 0;
    }
}

/* Меню выбора */
.floating-menu {
    display: none;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 10px;
    overflow: hidden;
    min-width: 180px;
}

.floating-menu.active {
    display: flex;
}

.floating-menu-item {
    padding: 12px 16px;
    background: white;
    border: none;
    text-align: left;
    font-family: var(--font-text);
    font-size: 1rem;
    color: var(--dark);
    text-decoration: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.floating-menu-item i {
    width: 20px;
    color: var(--accent);
}

.floating-menu-item:hover {
    background: #f5f5f5;
}

.floating-menu-item:first-child {
    border-bottom: 1px solid #eee;
}

/* Отключение анимаций для пользователей, предпочитающих уменьшенное движение */
@media (prefers-reduced-motion: reduce) {
    .floating-call,
    .floating-call::after,
    .header__logo img {
        animation: none;
    }
}

/* Фоновый водяной знак */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/logo.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
}

/* Эффекты для социальных иконок */
.contacts__social a,
.footer__social a {
    display: inline-block;
    transition: transform 0.3s ease;
}
.contacts__social a:hover,
.footer__social a:hover {
    transform: scale(1.15);
}
.contacts__social a:hover img,
.footer__social a:hover img {
    filter: brightness(1.2) drop-shadow(0 0 5px var(--accent));
}

/* Для иконок Font Awesome в блоке контактов */
.contacts .info-item .social-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.3s ease, color 0.3s;
}
.contacts .info-item .social-link:hover {
    transform: scale(1.05);
    color: var(--accent);
}
.contacts .info-item .social-link:hover i {
    color: var(--accent);
}

/* Стили для списков внутри попапов */
.popup ul {
    margin: 15px 0 15px 20px;
    color: var(--dark);
}
.popup li {
    margin-bottom: 8px;
    line-height: 1.5;
}
.popup strong {
    color: var(--primary);
}

/* Принудительное отображение миниатюр LightGallery */
.lg-outer .lg-thumb-outer {
    display: block !important;
    height: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Единый полупрозрачный фон для основных секций */
.about,
.technology,
.faq,
.recommendations,
.gallery,
.contacts {
    background: rgba(248, 250, 252, 0.6); /* --light с прозрачностью 0.7 */
}
.rec-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

/* ========== МОБИЛЬНЫЕ СТИЛИ ========== */
@media (max-width: 1200px) {
    .contacts__social,
    .contacts__action {
        display: none;
    }

    .btn--mobile-call {
        display: inline-block;
        padding: 6px 12px;
        font-size: 14px;
        white-space: nowrap;
    }

    .header__nav {
    position: fixed;
    top: 90px;
    left: -100%;
    width: 100%;
    background: #000000;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: left 0.3s ease;
    z-index: 1000;
}
.header__nav.active {
    left: 0;
}

    .nav__list {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .nav__list a {
        color: #ffffff;
        font-size: 1.1rem;
        display: block;
        padding: 10px 0;
    }

    .hero__title {
        font-size: 2.7rem;
        line-height: 1.3;
    }

    .mobile-social {
        display: flex;
        justify-content: center;
        gap: 25px;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .mobile-social a {
        display: inline-block;
        transition: transform 0.3s;
    }

    .mobile-social a:hover {
        transform: scale(1.1);
    }

    .mobile-social img {
        width: 32px;
        height: 32px;
    }

    .header__contacts {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        margin-left: 0;
        flex-shrink: 1;
        min-width: auto;
    }

    .contacts__info {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .contacts__phone a {
        font-size: 20px;
        white-space: nowrap;
    }

    .contacts__worktime {
        display: none;
    }

    .header__burger {
        display: flex;
        flex-shrink: 0;
        margin-left: 8px;
    }

    .header__burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .header__burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .contacts__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .info-item span {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .about__content,
    .rec__grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 15px;
        padding: 12px 15px;
    }

    .service-item i {
        margin-bottom: 0;
        font-size: 1.5rem;
        display: inline-block;
    }

    .technology .card h3 {
        font-size: 1.8rem;
    }

    .technology .card h4 {
        font-size: 1.3rem;
    }

    .card__intro {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    } .footer__nav a {
        font-size: 0.7rem;
    }
}

/* Единый блок для узких мобильных (до 600px) */
@media (max-width: 600px) {
    .hero {
        padding-top: 50px;
    }

    .hero__title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero__subtitle {
        font-size: 1.05rem;
    }

    .hero__advantages {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .header__logo img {
        max-height: 55px;
    }

    .contacts__phone a {
        font-size: 19px;
    }

    .btn--mobile-call {
        padding: 4px 8px;
        font-size: 12px;
    }

    .advantage-card {
        width: 100%;
        padding: 10px 15px;
        font-size: 0.95rem;
    }

    .region__list li {
        padding: 3px 10px;
        font-size: 1rem;
    }

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

    .technology .card {
        padding: 20px;
    }

    .technology .card h3 {
        font-size: 1.3rem;
    }

    .technology .card h4 {
        font-size: 1.2rem;
    }

    .faq__question {
        padding: 15px;
        font-size: 0.95rem;
    }

    .faq__answer {
        padding: 0 15px;
    }

    .faq__item.active .faq__answer {
        padding: 15px;
    }

    .gallery__grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }

    .form-input {
        padding: 12px 10px;
        font-size: 16px;
    }

    .btn--full {
        padding: 14px;
        font-size: 1rem;
    }

    .contacts__grid {
        gap: 20px;
    }

    .info-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .info-item i {
        width: 20px;
        font-size: 1rem;
    }

    .contacts__info .info-item a,
    .contacts__info .info-item span {
        font-size: 0.9rem;
    }

    .contact-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .separator {
        display: none;
    }

    /* Скрываем email и разделитель */
    .contact-row .contact-item:last-child,
    .contact-row .separator {
        display: none;
    }

    /* Центрируем весь блок контактов */
    .contacts__info {
        text-align: center;
        align-items: center;
    }

    /* Дополнительно центрируем элементы внутри info-item */
    .info-item {
        justify-content: center;
    }
}