* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,
body {
    scroll-behavior: smooth;
}
:root {
    --color-white: #ffffff;
    --color-light-blue: rgb(58, 96, 143);
    --color-dark-blue: #1c2a4a;
    --color-accent-purple: #6c4ab6;
    --color-accent-orange: #ff5722;
    --color-gray-050: #f4f6fa;
    --color-gray-400: #7a8394;
    --color-gray-700: #555a65;

    --color-text-main: var(--color-dark-blue);
    --color-text-secondary: var(--color-gray-700);
    --color-bg-main: var(--color-light-blue);
    --color-bg-alt: var(--color-gray-050);

    --radius-xl: 16px;
    --shadow-sm: 0 6px 20px rgba(28, 42, 74, 0.08);
    --shadow-md: 0 12px 28px rgba(28, 42, 74, 0.12);

    --container: 1150px;
    --gutter: 20px;
    --header-h: 100px;

    --font-main: "Heebo", sans-serif;
    --font-heading: "Rubik", "Heebo", sans-serif;

    --h1-size: clamp(
        2rem,
        5vw + 1rem,
        2.75rem
    ); /* min 32px → растёт с экраном → max ~44px */
    --h2-size: clamp(1.5rem, 3vw + 0.5rem, 2rem); /* 24px → 32px */
    --h3-size: clamp(1.1rem, 2vw + 0.5rem, 1.25rem); /* 17.6px → 20px */
    --h4-size: clamp(1rem, 1.5vw + 0.5rem, 1.1rem); /* 16px → 17.6px */
    --text-size: clamp(0.9rem, 1vw + 0.5rem, 1rem); /* 14px → 16px */
}

body {
    margin: 0;
    font-family: var(--font-main);
    font-size: var(--text-size);
    line-height: 1.6;
    color: var(--color-text-main);
    background: var(--color-bg-main);
    overflow-x: hidden !important; /* Убираем горизонтальную прокрутку */
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    margin: 0 0 0.6em;
    font-weight: 700;
    line-height: 1.2;
}
h1 {
    font-size: var(--h1-size);
}
h2 {
    font-size: var(--h2-size);
}
h3 {
    font-size: var(--h3-size);
}
h4 {
    font-size: var(--h4-size);
}
p {
    margin: 0 0 1em;
}
.container {
    width: min(100%, var(--container));
    margin: auto;
    padding-inline: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    transition: 0.2s;
    font-family: var(--font-heading);
}
.btn--primary {
    background: var(--color-accent-purple);
    color: #fff;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}
.btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn--outline {
    color: var(--color-accent-purple);
    border-color: var(--color-accent-purple);
}
.btn--outline:hover {
    background: rgba(108, 74, 182, 0.08);
}
.header {
    position: sticky;
    height: var(--header-h);
    top: 0;
    z-index: 100;
    position: sticky;
}
.header {
    position: sticky;
} /* на всякий случай перекрыть старые правила */
.header {
    position: sticky;
    top: 0;
}

/* Слой стекла под контентом шапки */
.header {
    position: sticky;
}
.header {
    position: sticky;
} /* якорим ::after */
.header {
    position: sticky;
}
.header::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none; /* клики проходят сквозь */
    background: rgb(255, 255, 255); /* цвет стекла */
    backdrop-filter: saturate(1.2) blur(10px);
    -webkit-backdrop-filter: saturate(1.2) blur(10px);
    border-bottom: 1px solid rgba(28, 42, 74, 0.08);
    box-shadow: 0 6px 20px rgba(28, 42, 74, 0.08);
    opacity: 1; /* по умолчанию невидим */
    transition: opacity 0.25s ease; /* меняем только opacity */
    z-index: -1; /* под контентом хедера */
}

/* При скролле делаем фон видимым */
.header.is-glass::after {
    opacity: 0.5;
}

/* Фоллбек, если нет backdrop-filter */
@supports not (
    (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
    .header::after {
        background: rgb(255, 255, 255);
    }
}
.header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.brand {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-weight: 800;
}
.brand__logo {
    width: 5rem;
    aspect-ratio: 1;
    border-radius: 10px;
    display: grid;
    place-items: center;
}
.nav {
    display: flex;
    gap: 24px;
    align-items: center;
}
.nav a {
    color: var(--color-text-secondary);
    font-weight: 600;
}

.nav a:hover {
    color: var(--color-dark-blue);
}
.nav__cta {
    margin-right: 8px;
}
.burger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #fff;
}
.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1c2a4a;
    margin: 6px auto;
}

/* Hero */
.hero {
    display: flex;
    justify-content: center;
    padding: clamp(56px, 7vw, 96px) 0;
    position: relative;
    min-height: 620px;
    background-image: url("../images/gallery/walkie-talkie-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(108, 94, 255, 0.1);
}
.video-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

.video-bg__media1 {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    filter: saturate(1.05);
}
.video-bg__media2 {
    display: none;
}

.hero__grid {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    flex-wrap: wrap;
    background-color: #ffffffe2;
    padding: 3rem 5rem;
    border-radius: 1rem;
}
.hero__media {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 320px;
}
.hero__logo {
    width: min(420px, 85%);
    max-width: 520px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(28, 42, 74, 0.16));
}
.kicker {
    color: var(--color-accent-purple);
    font-weight: 700;
}
.hero h1 {
    margin: 0.4rem 0 1rem;
    font-size: clamp(28px, 4.2vw, 44px);
    line-height: 1.2;
}
.hero__lead {
    color: var(--color-text-secondary);
    max-width: 55ch;
}
.hero__cta {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 1rem 0;
    background: var(--color-bg-main);
}
.section--alt {
    background: var(--color-bg-alt);
}
.section__head {
    display: flex;
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}
.section__title {
    text-align: center;
    font-size: clamp(22px, 3vw, 32px);
    margin: 0;
}

/* ABOUT */
.about-us {
    padding: 1rem 0.5rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius-xl); /* скругляем углы */
    box-shadow: var(--shadow-md); /* тень на всю секцию */
}

.about-us__container {
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* ВАЖНО: обе колонки одной высоты */
    gap: 40px;
    max-width: var(--container);
    margin: auto;
    padding: 2rem 1rem;
    border-radius: var(--radius-xl); /* скругляем углы */
}
.faq__container {
    background: var(--color-bg-alt);
    padding: 2rem 1rem;
    border-radius: var(--radius-xl); /* скругляем углы */
}

.about-us__image,
.about-us__content {
    flex: 1 1 50%;
    max-width: 50%;
}
.about-us__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* убираем space-between */
    padding: 10px 0;
    align-items: center;
}

.about-us__content .btn {
    width: 100%;
}
.about-us__image img {
    width: 100%;
    height: auto;
    padding: 1rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}
.about-us__list {
    margin: 1.5em 0;
    padding-right: 1.2em; /* RTL: отступ справа для буллетов */
    list-style: none;
}

.about-us__list li {
    position: relative;
    margin-bottom: 0.8em;
    line-height: 1.6;
    color: var(--color-text-secondary);
    font-size: var(--text-size);
}

/* кастомный маркер */
.about-us__list li::before {
    content: "✔";
    position: absolute;
    right: -1.2em; /* RTL */
    color: var(--color-accent-purple);
    font-weight: bold;
}

.about-us__content h2 {
    font-size: var(--h2-size);
    margin-bottom: 1rem;
    color: var(--color-dark-blue);
}

.about-us__content p {
    /* убираем align-self: flex-end; чтобы не сдвигало текст */
    align-self: auto;
}

.about-us__content .btn {
    margin-top: auto; /* прижимает кнопку к низу колонки */
    align-self: flex-start; /* в RTL это будет вправо */
}
/* ABOUT PTT */
.about-ptt {
    padding: 1rem 20px;
    background: var(--color-bg-alt); /* светло-серый или твой alt background */
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    max-width: var(--container);
    margin: 60px auto;
    text-align: center;
}

.about-ptt__container {
    background: var(--color-bg-alt);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 2rem 1rem;
    border-radius: var(--radius-xl);
}

.about-ptt__image img {
    max-width: 50%;
    margin: 0 auto 30px;
    display: block;
    border-radius: var(--radius-xl);
}

.about-ptt__content h2 {
    font-size: var(--h2-size);
    margin-bottom: 1rem;
    color: var(--color-dark-blue);
}

.about-ptt__content p {
    margin-bottom: 1em;
    line-height: 1.8;
    color: black;
    font-size: var(--text-size);
}

/* Cards container (flex вместо grid) */
/* WHY-US */
.section--card {
    background: var(--color-bg-main);
    border-radius: var(--radius-xl);
    padding: 48px 20px;
    margin: 60px auto;
}

.cards {
    display: flex; /* вместо grid — flex */
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 24px;
}

.card {
    flex: 1 1 280px; /* адаптивные карточки по 2–3 в ряд */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: var(--color-bg-alt);
    border: 1px solid rgba(28, 42, 74, 0.06);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: 18px 16px;
    transition: transform 0.18s ease, box-shadow 0.18s ease,
        border-color 0.18s ease;
    min-height: 160px;
}

.card:hover,
.card:focus-within {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(28, 42, 74, 0.12);
}

.card__icon {
    width: 32px;
    height: 32px;
    color: var(--color-accent-purple); /* иконка берёт текущий цвет */
    line-height: 0;
}

.card h3 {
    font-size: var(--h3-size);
    margin: 0.2rem 0 0.1rem;
    color: var(--color-dark-blue);
}

.card p {
    margin: 0;
    color: var(--color-text-secondary);
    line-height: 1.65;
    font-size: var(--text-size);
}

/* Features (карточки с картинкой) */
.feature {
    overflow: hidden;
}
.feature img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}
.feature h3 {
    margin: 0.75rem 1rem 0.25rem;
}
.feature p {
    margin: 0 1rem 1rem;
    color: var(--color-text-secondary);
}

/* Products */
.product__img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.product__img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.product__bullets {
    margin: 0.5rem 0 0;
    padding-inline-start: 1rem;
    color: var(--color-text-secondary);
}
.product__bullets li {
    margin: 0.15rem 0;
}
.product__cta {
    margin-top: 0.75rem;
}
.centered {
    display: flex;
    justify-content: center;
}
.mt-20 {
    margin-top: 20px;
}
.btn.big {
    padding: 1rem 1.4rem;
}
.chip {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    background: #fff;
    border: 1px solid #e9eef5;
    box-shadow: var(--shadow-sm);
}
.chip--blue {
    color: var(--color-dark-blue);
}
.chip--orange {
    color: var(--color-accent-orange);
}
.chip--purple {
    color: var(--color-accent-purple);
}

/* Industries (flex сетка плиток) */
.industries {
    display: flex;
    align-items: center;
    background: #fff;
}
.industries__container {
    max-width: var(--container);
    background-color: transparent;
    padding: 2rem 1rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}
.industries__container .section__title {
    width: 100%;
    text-align: center;
}
.industries__container h3 {
    margin-top: 1rem;
}
.industry-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.industry {
    flex: 1 1 calc(25% - 12px);
    min-width: 220px;
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 14px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 10px;
    box-shadow: var(--shadow-sm);
    transition: 0.2s;
}
.industry img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}
.industry b {
    display: block;
    margin: 0.5rem 0 0.1rem;
}
.industry small {
    color: var(--color-text-secondary);
}
.industry:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Контейнер с отзывами — сетка на flex */
.testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: var(--t-gap);
    background: var(--color-bg-alt);
    border: 1px solid #e9eef5;
    border-radius: 20px;
    padding: 2rem 1rem;
    box-shadow: var(--shadow-sm);
}

/* Заголовок занимает всю строку */
.testimonials > .section__title {
    flex: 1 1 100%;
    margin-bottom: 4px;
    text-align: center;
}

/* Карточки: 2 в ряд на больших экранах */
.testimonials .quote {
    flex: 1 1 calc(50% - var(--t-gap) / 2); /* (100% - gap)/2 */
    min-width: 300px;
    margin: 0;
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

/* Contact card – отдельный блок */
.contact-wrap {
    display: flex;
    justify-content: center;
}
.contact-card {
    width: 100%;
}
.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0;
}
.contact-form input,
.contact-form select {
    flex: 1 1 calc(50% - 10px);
    padding: 0.75rem 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font: inherit;
}
.contact-form button,
.contact-form a {
    flex: 1 1 calc(50% - 10px);
    min-width: 220px;
}
.contact-lines {
    color: var(--color-text-secondary);
    margin-top: 8px;
    text-align: center;
}

/* CTA band */
.cta {
    background: var(--color-text-main);
    color: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.cta p {
    margin: 0;
}

.testimonials {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quote {
    position: relative;
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 14px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.quote__google {
    position: absolute;
    top: 10px;
    left: 10px; /* RTL – значок будет справа, но лучше явно */
    width: 24px;
    height: 24px;
}

.quote__google img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.quote p {
    margin: 0 0 10px;
    color: var(--color-text-secondary);
}

.stars {
    color: #fbbc05; /* жёлтые звёзды, как в Google */
    font-size: 1.1rem;
    margin-bottom: 6px;
}
.author-name {
    display: block;
    font-weight: 700; /* имя выделено */
    color: var(--color-dark-blue);
    font-size: 1rem;
}

.author-role {
    display: block;
    font-size: 0.9rem; /* чуть меньше */
    color: var(--color-gray-700);
    margin-top: 2px;
}
/* FAQ base */
.faq {
    background: var(--color-bg-alt);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    margin: 0 auto;
}

.faq__list {
    display: flex;
    flex-direction: column; /* flex, не grid */
    gap: 12px;
    margin-top: 16px;
}

.faq__item {
    background: var(--color-bg-main);
    border: 1px solid rgba(28, 42, 74, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq__heading {
    margin: 0;
}

.faq__button {
    width: 100%;
    text-align: start;
    background-color: #fff;
    border: 0;
    padding: 16px 18px;
    font: inherit;
    color: var(--color-dark-blue);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

/* caret */
.faq__button::after {
    content: "▾";
    transform: rotate(0deg);
    transition: transform 0.2s ease;
    margin-inline-start: 8px;
}
.faq__button[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* focus visible */
.faq__button:focus-visible {
    outline: 3px solid var(--color-accent-purple);
    outline-offset: 2px;
    border-radius: calc(var(--radius-xl) - 2px);
}

.faq__panel {
    padding: 0 18px 16px;
    background-color: var(--color-bg-alt);
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-size: var(--text-size);
}

/* small helpers */
.sr-only {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}
/* MAP SECTION */
.map-section {
    background: var(--color-bg-alt);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: 48px 20px;
    margin: 60px auto;
}

.map-wrap {
    display: flex; /* flex, לא grid */
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch; /* чтобы колонки были одной высоты */
    margin-top: 16px;
}

/* Левая колонка — карта */
.map-embed {
    flex: 2 1 580px;
    min-width: 280px;
    background: var(--color-bg-main);
    border: 1px solid rgba(28, 42, 74, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    aspect-ratio: 16 / 9; /* современная, доступная высота */
}
.map-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Правая колонка — адрес/кнопки */
.map-aside {
    flex: 1 1 320px;
    min-width: 260px;
    background: var(--color-bg-alt);
    border: 1px solid rgba(28, 42, 74, 0.08);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.map-aside__title {
    margin: 0 0 4px 0;
    font-size: var(--h3-size);
    color: var(--color-dark-blue);
}

.map-aside__addr {
    font-style: normal;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

.map-aside__contact {
    list-style: none;
    margin: 4px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.map-aside__contact a {
    text-decoration: none;
    color: var(--color-accent-purple);
    font-weight: 600;
}

.map-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.map-aside__note {
    margin-top: 6px;
    color: var(--color-gray-700);
    font-size: 0.95em;
}

/* 2) Ограничить правило “width:100%” только для текстовых полей */
.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
    width: 100%;
}

/* 3) Ряд согласия и кастомный стиль чекбокса */
.consent-row {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    direction: rtl; /* для RTL: чекбокс справа */
}

.consent-row input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px; /* фикс. место в ряду */
    margin: 0;
    padding: 0;
}
.consent-row label {
    flex: 1; /* занимает всю оставшуюся ширину */
    line-height: 1.4;
}

/* кастомный квадратик */
.consent-row input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 2px solid var(--color-accent-purple);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: 0.2s;
}
.consent-row input[type="checkbox"]:hover {
    border-color: var(--color-accent-orange);
}
.consent-row input[type="checkbox"]:checked {
    background: var(--color-accent-purple);
    border-color: var(--color-accent-purple);
}
.consent-row input[type="checkbox"]:checked::after {
    content: "✔";
    color: #fff;
    font-size: 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
}

/* ссылки в тексте согласия */
.consent-row a {
    color: var(--color-accent-purple);
    text-decoration: underline;
    font-weight: 500;
}
.consent-row a:hover {
    color: var(--color-accent-orange);
}

/* фокус-доступность */
.consent-row input[type="checkbox"]:focus-visible {
    outline: 3px solid rgba(58, 190, 249, 0.45); /* light-blue glow */
    outline-offset: 2px;
}

/* screen reader only helper (как в FAQ) */
.sr-only {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}
/* FOOTER */
.footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    min-height: 60px;
    background-color: var(--color-dark-blue);
    color: #fff;
    text-align: center;
}

.footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer p {
    color: var(--color-bg-alt);
}

.footer a:hover {
    color: #fed700;
    text-decoration: underline;
}

.footer__author-ref {
    margin-top: 10px;
}
.footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: var(--container);
    width: 100%;
    padding: 0 1rem;
    text-align: center;
}
.footer__container #author-ref {
    margin-top: 10px;
    color: #000303;
    background-color: #fed700;
    font-weight: 700;
    cursor: pointer;
    border-radius: 5px;
    padding: 0 5px 0;
}
/* SOCIAL */
.social {
    display: flex;
    width: 50%;
    gap: 1rem;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0.5rem 1rem;
    margin: 1rem;
    text-decoration: none;
    color: var(--color-link);
    font-weight: bold;
    cursor: pointer;
    background: var(--button-gradient-background);
}
.email-button img {
    background-color: #f44336;
    border-radius: 50%;
}
.facebok-button img {
    background-color: #1976d2;
    border-radius: 50%;
}

#phone-fixed {
    position: fixed;
    bottom: 200px;
    left: 100px;
    z-index: 50;
    display: none;
}

#phone-fixed img {
    width: 50px;
    height: 50px;
    box-shadow: 0 0 6px var(--color-primary-dark);
}

#whatsApp-fixed {
    position: fixed;
    bottom: 200px;
    right: 100px;
    z-index: 50;
    display: none;
}
#whatsApp-fixed img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 0 6px var(--color-primary-dark);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#phone-fixed,
#whatsApp-fixed {
    position: fixed;
    bottom: 100px;
    z-index: 50;
    animation: pulse 2s infinite;
    transition: transform 0.3s ease;
}

.call-button img {
    padding: 2px;
    background-color: rgb(108, 220, 45);
    border-radius: 50%;
}

.social img:hover {
    transform: scale(1.2);
    color: #000303;
    transition: all 0.3s ease, color 0.3s ease;
    border: #000000 2px solid;
}

/* Стрелка вверх */
.scroll-to-top {
    position: fixed;
    z-index: 1000;
    bottom: 20%;
    left: 5px;
    background-color: var(--color-gray-050);
    color: var(--color-accent);
    font-size: 30px;
    text-decoration: none;
    border: 1px solid var(--color-dark-blue);
    padding: 1px 17px;
    border-radius: 50%;
    opacity: 0.5;
    transition: 0.3s ease, transform 0.3s ease;
    color: #000;
    box-shadow: 0 0 5px var(--color-black);
}

.scroll-to-top:hover,
.scroll-to-top.active {
    opacity: 1;
    scale: 1.2;
    color: var(--color-white);
    border: 1px solid var(--color-dark-blue);
    background-color: var(--color-accent-purple);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero__grid {
        padding: 1rem;
    }
}
@media (max-width: 960px) {
    .hero {
        min-height: 300px;
        padding: 2rem;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .video-bg__media1 {
        display: none;
    }
    .video-bg__media2 {
        display: block;
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: bottom;
        filter: saturate(1.05);
    }
    .hero__cta {
        justify-content: center;
    }

    .nav {
        position: fixed;
        top: var(--header-h);
        inset-inline: 0;
        background: var(--color-bg-main);
        border-bottom: 1px solid #e9eef5;
        box-shadow: var(--shadow-md);
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 12px 12px 16px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.25s ease;
        z-index: 110;
    }
    .nav.nav--open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav a {
        color: #fff;
        padding: 12px 10px;
        font-weight: 600;
        border-radius: 10px;
    }
    .nav a:focus,
    .nav a:hover,
    .nav a:active {
        background: rgba(108, 74, 182, 0.08);
        border: 1px solid #000;
        border-radius: 10px;
    }

    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 5;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s;
    }
    .nav-overlay.is-active {
        opacity: 1;
        pointer-events: auto;
    }
    .header {
        z-index: 100;
    }
    /* запрет прокрутки фона при открытом меню */
    body.nav-open {
        overflow: hidden;
    }

    .burger {
        z-index: 70;
        display: block;
    }
    .hero__grid {
        justify-content: center;
    }
    .about-us {
        margin: 0.2rem 1rem;
    }
    .about-us__container {
        flex-direction: column-reverse;
        align-items: center;
    }

    .about-us__image {
        max-width: 50%;
        background-color: var(--color-bg-alt);
        border-radius: var(--radius-xl);
    }
    .about-us__content {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .about-us__content h2 {
        margin-top: 20px;
    }
    .about-ptt {
        margin: 2rem 1rem;
    }
    .about-ptt__image img {
        max-width: 100%;
    }

    .cards > .card,
    .features-grid > .feature,
    .products > .product {
        flex: 1 1 calc(50% - 12px);
    } /* 2 в ряд */

    .industries {
        margin: 36px 16px;
        border-radius: 1rem;
    }
    .industries__container {
        background: transparent;
        box-shadow: none;
    }
    .industry {
        flex: 1 1 calc(50% - 12px);
    }
    .industry img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        object-position: center;
        display: block;
    }
    .testimonials {
        box-shadow: none;
    }
    .contact-form input,
    .contact-form select,
    .contact-form button,
    .contact-form a {
        flex: 1 1 100%;
    }
    .faq {
        padding: 36px 16px;
        margin: 0 1rem;
    }
    .faq__button {
        padding: 14px 16px;
    }
    .faq__panel {
        padding: 0 16px 14px;
    }
    .map-section {
        display: flex;
        margin: 40px 1rem;
        text-align: center;
    }
    .map-section .btn,
    .map-actions {
        flex: 1 1 100%;
    }
    #phone-fixed {
        display: flex;
        position: fixed;
        bottom: 50px;
        left: 50px;
        z-index: 50;
    }
    #whatsApp-fixed {
        display: flex;
        position: fixed;
        bottom: 50px;
        right: 50px;
        z-index: 50;
    }
}

@media (max-width: 640px) {
    .nav .btn--outline {
        border: 1px solid #ffffff;
    }
    .hero__media {
        display: none;
    }
    .hero__grid {
        padding: 1.5rem;
    }
    .cards > .card,
    .features-grid > .feature,
    .products > .product {
        flex: 1 1 100%;
    } /* 1 в ряд */
    .industry {
        flex: 1 1 100%;
    }
    .section--card {
        padding: 36px 16px;
    }
    .card {
        min-height: auto;
    }
    .why-us-image {
        width: 150px;
    }
    .cta-links {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}
