/* Цветовая палитра, основанная на логотипе */
:root {
    --color-primary: rgba(
        255,
        255,
        255,
        0.95
    ); /* Основной цвет — светло-серый с прозрачностью */
    --color-primary-dark: rgba(
        0,
        0,
        0,
        0.95
    ); /* Немного темнее и полупрозрачный */
    --color-primary-accent: rgba(
        84,
        199,
        253,
        0.95
    ); /* Холодный неоновый акцент */
    --color-primary-accent-scrolled: rgba(
        84,
        199,
        253,
        0.5
    ); /* Холодный неоновый акцент */
    --color-title-text: #00757f;
    --color-phone-green: rgb(108, 220, 45); /* Зеленый цвет для телефона */
    --color-primary-light: #181c20; /* Светлый нейтрально-чёрный фон */
    --color-black: #000000; /* Абсолютный чёрный */

    --color-deep-dark: #2c2c2c; /* Для карточек */
    --color-accent: rgba(
        84,
        199,
        253,
        1
    ); /* Холодный неон: свет робота/киберподсветка */
    --color-white: #ffffff; /* Мягкий белый */
    --color-text: #3f3f46; /* Светлый, но не резкий текст */
    --color-text-secondary: #a3a3a3; /* Вторичный серый текст */
    --color-border: #3f3f46; /* Металлический серо-синий */
    --color-shadow: rgba(84, 199, 253, 1); /* Неоновая тень */
    --color-shadow-strong: rgba(84, 199, 253, 1); /* Сильная неоновая тень */
    --color-link: #00eaff; /* Ссылки — холодный неон */
    --color-link-hover: #ffffff; /* Белый при наведении */
    --color-button: #00eaff; /* Кнопки — киберстиль */
    --color-button-hover: #ffffff; /* Инверсия при наведении */
    --color-button-text: #0a0a0a; /* Чёрный текст на неоновой кнопке */
    --button-gradient-background: linear-gradient(
        to right,
        var(--color-black) 0%,
        rgba(0, 0, 0, 0.3) 100%,
        transparent 100%
    );
    --white-gradient-background: linear-gradient(
        to right,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.3) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    --button-neon-shadow: -5px 0 10px -2px var(--color-shadow); /* Тень для кнопок */
    --box-neon-shadow: 0 0 10px var(--color-shadow); /* Тень для блоков */
    --box-shadow-inset: inset 0 0 10px var(--color-black);
}

html,
body {
    font-size: 100%;
    scroll-behavior: smooth; /* Плавная прокрутка */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
/* ICONS */
.icon-phone {
    background-color: var(--color-phone-green); /* Зеленый цвет для телефона */
    border-radius: 50%; /* Круглая иконка */
    display: inline-block; /* Чтобы иконка была блочным элементом */
    font-size: 24px; /* Размер иконки */
    width: 32px;
    height: 32px;
    font-size: 5px; /* Размер иконки */
    margin-left: 8px;
    padding: 4px; /* Отступы внутри иконки */
    vertical-align: middle; /* Вертикальное выравнивание */
    transition: transform 0.3s ease;
}

.icon-phone:hover {
    transform: scale(1.1); /* лёгкая анимация при наведении */
}

/* Отдельные классы для неонового стиля */
.button:hover {
    color: var(--color-white); /* Белый при наведении */
    box-shadow: var(--button-neon-shadow);
    background: var(--button-gradient-background);
}

.neon-border-bottom-2px {
    border-bottom: 2px solid var(--color-accent); /* Добавляем рамку */
    box-shadow: 0 0 3px var(--color-shadow);
}
.black-border-bottom-2px {
    border-bottom: 2px solid var(--color-black); /* Добавляем рамку */
    box-shadow: 0 0 3px var(--color-black);
}
.neon-border-2px {
    border: 2px solid var(--color-accent); /* Добавляем рамку */
    border-radius: 8px; /* Добавляем скругление */
    box-shadow: 0 0 10px var(--color-shadow);
}
.neon-border-5px {
    border: 5px solid var(--color-accent); /* Добавляем рамку */
    border-radius: 20px; /* Добавляем скругление */
    box-shadow: 0 0 10px var(--color-shadow);
}

.box-shadow {
    box-shadow: 0 2px 5px var(--color-shadow);
}

.dark-shine {
    color: var(--color-white); /* Белый при наведении */
    box-shadow: -5px 0 10px -2px var(--color-shadow);
}

/* ОБЩИЕ СТИЛИ */
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-image: url("images/tablet-digitalyty.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Фиксированное фоновое изображение */
    overflow-x: hidden !important; /* Убираем горизонтальную прокрутку */
}

ul {
    list-style: none; /* Убираем стандартные маркеры списка */
    padding: 0; /* Убираем отступы */
    margin: 0; /* Убираем внешние отступы */
}

/* Main reusable classes styles */
.gradient-title {
    background: linear-gradient(135deg, #00eaff, #0f172a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gradient-title-darker {
    background: linear-gradient(135deg, var(--color-title-text), #0f172a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.df-row {
    display: flex;
    flex-direction: row;
}
.df-column {
    display: flex;
    flex-direction: column;
}
.df-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gap-space {
    gap: 2rem; /* Отступы между элементами */
}

.out__container-white {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
}
.out__container-accent {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary-accent);
}
.out__container-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary-dark);
}

.inner-container-transparent {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem; /* Отступ сверху */
    width: 90%;
    border-radius: 8px; /* Скругление углов */
}

.inner-container-accent {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin: 2rem auto; /* Центрирование */
    padding: 2rem; /* Отступы */
    background-color: var(--color-primary-accent); /* Акцентный фон */
    border-radius: 8px; /* Скругление углов */
}

.card-flex-white-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2rem auto; /* Центрирование */
    /* background-color: var(--color-primary); */
    box-shadow: var(--box-neon-shadow); /* Добавляем неоновую тень */
    border-radius: 8px; /* Скругление углов */
}

.inner-container-dark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin: 2rem auto; /* Центрирование */
    padding: 2rem; /* Отступы */
    background-color: var(--color-primary-dark); /* Темный фон */
    box-shadow: var(--box-neon-shadow); /* Добавляем неоновую тень */
    border-radius: 8px; /* Скругление углов */
}
.inner-container-light {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90%;
    margin: 2rem auto; /* Центрирование */
    padding: 2rem; /* Отступы */
    background-color: var(--color-primary); /* Светлый фон */
    box-shadow: var(--box-neon-shadow); /* Добавляем неоновую тень */
    border-radius: 8px; /* Скругление углов */
}

/* НАВИГАЦИЯ */
#home {
    position: relative;
    top: 0;
    left: 0;
}
.hamburger-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.main-nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
    align-items: center;
    background-color: var(--color-accent);
    box-shadow: 0 2px 5px var(--color-black);
    z-index: 1000;
}
.main-nav.scrolled {
    background-color: var(--color-primary-accent-scrolled);
    backdrop-filter: blur(10px);
    box-shadow: none; /* Убираем тень при скролле */
}

.nav__logo-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex: 0 0 100px; /* Фиксированная ширина для логотипа */
    height: 80%;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000000; /* Чёрная рамка */
    border-radius: 8px;
    box-shadow: inset 0 0 10px var(--color-black);
    padding: 0 0.3rem;
}

.nav__logo {
    height: 80%;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-black);
}

.nav__logo img {
    height: 100%;
    width: auto;
    display: block;
}

.nav__menu {
    display: flex;
    align-items: center;
    height: 100%;
    list-style: none;
    display: flex;
    gap: 0.5rem;
}

.nav__menu-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
}

.nav__menu-link {
    flex: 1;
    border-left: var(--color-black) 1px solid;
    display: flex;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 1rem;
    text-decoration: none;
    color: var(--color-black);
    font-weight: bold;
    transition: all 0.3s ease;
}

.nav__menu-link:hover {
    color: var(--color-white); /* Белый при наведении */
    border-left: var(--color-accent) 1px solid;
    box-shadow: inset 0 0 10px var(--color-black);
}

.nav__menu-link.active {
    color: var(--color-white);
    border-left: var(--color-accent) 1px solid;
    box-shadow: inset 0 0 10px var(--color-black);
}

/* HEADER */
.header {
    background-color: var(--color-black);
    height: fit-content;
    box-shadow: 0 2px 5px var(--color-shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 25;
    /* overflow: hidden; */
}
.header__container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1; /* чтобы контент был поверх видео */
    text-align: center;
    padding: 2rem;
}
.header__video-wrapper {
    position: relative;
    width: 100%;
    height: fit-content; /* или твоя высота */
}

.header__bg-video {
    width: 100%;
    height: auto;
    object-fit: cover;
    z-index: 0;
    padding: 4rem 0 4rem 0;
    pointer-events: none; /* чтобы видео не мешало кликам по контенту */
    overflow: hidden;
}

.header__container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
}

.header__logo {
    height: 100%;
    width: auto;
    position: relative;
    z-index: 23; /* чтобы логотип был поверх видео */
    background-color: transparent;
}

/* HERO */

.hero {
    position: relative;
    z-index: 21;
    text-align: center;
    background: transparent;
    /* padding: 1rem 1rem; */
    /* box-shadow: 0 0 10px var(--color-shadow); */
    border-radius: 8px;
    margin: 0rem 0rem 2rem 0rem;
    max-width: 800px;
}

.hero__title {
    color: var(--color-accent);
    margin: 0;
    background-color: transparent;
}

.hero__subtitle {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-top: 1rem;
}

.highlight {
    color: var(--color-accent);
    font-weight: bold;
}
.highlight-black {
    color: var(--color-black);
    font-weight: bold;
}

/* MAIN */

.about {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    /* gap: 2rem; */
}

.about__container {
    display: flex;
    height: min-content;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 1rem;
}

.about__list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.about__list li {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.6;
    font-weight: bold;
}

.about__inner-container {
    flex: 1;
    min-width: 280px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: start;
}
.about__description {
    font-weight: 500;
    color: var(--color-text);
    text-align: start;
}

.about__container-video {
    flex: 1;
    min-width: 280px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    /* box-shadow: 0 0 10px var(--color-black); */
}

/* Services */
.services {
    position: relative;
    z-index: 20;
}

.services__title {
    font-size: 2rem;
    text-align: center;
    margin-top: 2rem;
    border-radius: 10px;
    /* padding: 5px; */
    color: #00757f;
    color: var(--color-white);
    /* box-shadow: var(--box-shadow-inset); */
    padding: 5px 5px;
}
.services__title-h3 {
    font-weight: bolder;
    color: var(--color-accent);
    margin-top: 2rem;
    border-radius: 8px;
}
.services__title-h3-top {
    font-weight: bolder;
    color: var(--color-text);
    margin-top: 2rem;
    border-radius: 8px;
}
.services__inner-container-top {
    /* width: 80%; */
    background-color: var(--color-primary-dark);
}
.services__inner-container-bottom {
    /* width: 80%; */
    background-color: var(--color-primary);
    margin-bottom: 2rem;
}

.services__list2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
}

.services__list1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
}

.services-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
    min-width: 250px; /* Минимальная ширина карточки */
    height: auto;
    border-radius: 8px;
    padding: 1.5rem;
    /* background-color: var(--color-primary); */
    transition: all 0.3s ease;
}
.services__card-top {
    width: 100%;
    height: auto;
    flex: 1;
    background: var(--button-gradient-background); /* тёмно-синий фон */
    padding: 20px 0;
    background-color: var(--color-accent);
    box-shadow: var(--box-shadow-inset);
    border-radius: 8px;
}
.services_card-bottom {
    flex: 1;
}

.services-card:hover {
    transform: translateY(-8px);
}

.services-card__title {
    font-size: 1.3rem;
    color: var(--color-white);
}
.services__inner-container-bottom .services-card__title {
    color: var(--color-title-text);
}
.services__inner-container-bottom .services-card__description {
    color: var(--color-text);
}

.services-card__description {
    font-size: 1rem;
    color: var(--color-accent);
}
/* Стрелка вверх */
.scroll-to-top {
    position: fixed;
    bottom: 20%;
    left: 5px;
    /* background-color: #ffffff; */
    color: var(--color-accent);
    font-size: 30px;
    text-decoration: none;
    border: 1px solid var(--color-accent);
    padding: 1px 15px;
    border-radius: 50%;
    opacity: 0.8;
    transition: 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    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-accent);
    border: 1px solid var(--color-accent);
    background-color: var(--color-black);
}

/* FOOTER */
.footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    min-height: 60px;
    background-color: var(--color-black);
    color: #fff;
    text-align: center;
}

.footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer p {
    color: var(--color-text-secondary);
}

.footer a:hover {
    color: #fed700;
    text-decoration: underline;
}

.footer__author-ref {
    margin-top: 10px;
}
.footer__container #author-ref {
    margin-top: 10px;
    color: #000303;
    background-color: #fed700;
    font-weight: 700;
    cursor: pointer;
    border-radius: 5px;
    padding: 0 5px 0;
}

/* OPTIONAL: BUTTON STYLE */
.button {
    display: flex;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    border: none;
    height: 100%;
    padding: 0.5rem;
    text-decoration: none;
    color: var(--color-link);
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: large;
    box-shadow: var(--button-neon-shadow);
    cursor: pointer;
    background: var(--button-gradient-background);
    animation: neon-glow 1s infinite alternate;
}
@keyframes neon-glow {
    0% {
        box-shadow: 0 0 2px 1px var(--color-accent),
            0 0 2px 1px var(--color-shadow);
        background: var(--button-gradient-background);
    }
    100% {
        box-shadow: 0 0 12px 3px var(--color-accent),
            0 0 8px 4px var(--color-shadow);
        background: var(--button-gradient-background);
    }
}
.button img {
    margin-left: 0.5em; /* для RTL, если иконка слева */
    vertical-align: middle;
}

.button:hover {
    animation: none;
    transform: scale(1.02);
    box-shadow: 0 0 5px 2px var(--color-accent), 0 0 1px 1px var(--color-shadow);
    background-color: var(--color-button);
    color: var(--color-white); /* Белый при наведении */
    text-shadow: #000000 0px 0px 10px, #00eaff 0px 0px 20px; /* Добавляем неоновый эффект */
}
/* ADVANTAGES */
.advantages {
    display: flex;
    position: relative;
    z-index: 19;
    text-align: center;
}

.advantages__title {
    font-size: 2rem;
    margin: 2rem;
}

.advantages__list {
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    flex: 1;
}

.advantages__item {
    width: 100%; /* Фиксированная ширина для карточек */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
    margin: 1rem 0; /* Добавляем отступы между элементами */
}

.advantages__container {
    margin: 1rem 0;
    display: flex;
    width: 90%;
    padding-bottom: 2rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.advantages__inner-container {
    border-radius: 8px;
    width: 80%;
    align-self: center;
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: start;
}
.advantages__img-box {
    position: relative;
    flex: 1;
    align-self: start;
    min-width: 200px; /* Фиксированная ширина для изображения */
    height: auto; /* Фиксированная высота для изображения */
    overflow: hidden;
}

.advantages__img-box img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0; /* или такой же как у wrapper */
    margin: 0;
    object-fit: cover; /* Сохраняем пропорции изображения */
}

.advantages__item h3 {
    margin-bottom: 0.5rem;
    color: var(--color-title-text);
    text-shadow: #000000 0px 0px 1px;
}

.advantages__item p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-black);
}
/* TESTIMONIALS */
.testimonials {
    position: relative;
    z-index: 18;
    background-color: rgba(255, 255, 255, 0.6);
    background-image: url("google-background.png");
    background-blend-mode: overlay;
    background-size: fill;
    text-align: center;
}

.testimonials__container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 3rem 0;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.8); /* более лёгкий белый */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); /* для Safari */
}
.testimonials__title {
    font-size: 2rem;
    background: linear-gradient(135deg, #00eaff, #0f172a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
}

.testimonials__list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 90%;
    margin: 0 auto;
}

.testimonial {
    position: relative;
    width: 40%; /* Фиксированная ширина карточки */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 300px; /* Минимальная ширина карточки */
    background-color: var(--color-primary);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 0 5px var(--color-black);
}
.testimonial__icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
}
.testimonial__icon img {
    width: 100%;
    height: auto;
}

.testimonial__text {
    color: var(--color-black);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.testimonial__author {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

/* PROCESS */
.process {
    display: flex;
    flex-direction: column;
    direction: rtl;
    padding: 2rem 0;
    background-color: var(--color-primary-accent);
    color: var(--color-primary-accent);
    text-align: center;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.process img {
    width: 60px;
    height: 60px;
}

.process__title {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.process__text {
    color: var(--color-black);
    font-size: 1rem;
    margin-bottom: 2rem;
}
.process__flex {
    width: 90%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var();
    align-items: stretch;
    border-radius: 8px;
}

.process__card {
    flex: 1;
    min-width: 250px; /* Минимальная ширина карточки */
    min-height: 400px;
    border-radius: 8px;
    padding: 1.5rem;
    /* background-color: var(--color-primary); */
    background: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.process__number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.process__step-title {
    color: var(--color-title-text);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.process__text {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CONTACT */
.contact {
    background-color: var(--color-primary);
    display: flex;
    justify-content: center;
    align-content: center;
    padding: 3rem 0;
    text-align: center;
    border-radius: 8px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.contact__container {
    width: 90%;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 0 5px var(--color-deep-dark);
}

.contact__title {
    font-size: 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #00eaff, #0f172a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.contact__label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--color-deep-dark);
    font-size: 1rem;
    text-align: start;
}

.contact__input,
.contact__textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    background-color: var(--color-primary);
    color: var(--color-text);
    font-size: 1rem;
}

.contact__textarea {
    resize: vertical;
    min-height: 100px;
}

/* SOCIAL */
.social {
    display: flex;
    width: 40%;
    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;
}

h2 {
    font-weight: 700;
    font-size: 2rem;
}

section h1,
article h1,
nav h1,
aside h1 {
    font-size: 3rem; /* такой же как у обычного h1 */
    font-weight: 700;
}

h3,
h4,
h5,
h6 {
    font-size: 2rem;
    /* text-shadow: 0 0 5px var(--color-accent), 0 0 3px var(--color-black); */
}

p {
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-text);
}

#form-message {
    display: none;
    margin-top: 1rem;
    color: green;
    border: 3px solid green;
    border-radius: 8px;
    padding: 5px;
    animation: pulse-massage 1s infinite;
}

@keyframes pulse-massage {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
.contact__checkbox {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-text);
    margin: 10px 0;
}

.contact__checkbox input[type="checkbox"] {
    accent-color: var(--color-accent); /* Неоновый голубой чекбокс */
    transform: scale(1.2);
    cursor: pointer;
}

.contact__checkbox a {
    color: var(--color-black);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact__checkbox a:hover {
    color: var(--color-link);
}
.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1000px) {
    .advantages__inner-container {
        flex-direction: column; /* Переключаемся на вертикальное расположение */
        align-items: center; /* Центрируем элементы по горизонтали */
        justify-content: center; /* Центрируем элементы по вертикали */
        width: 80%; /* Занимаем всю ширину контейнера */
    }
    .advantages__img-box {
        align-self: center;
        min-width: 200px; /* Фиксированная ширина для изображения */
        max-width: 90%;
    }

    .main-nav {
        width: 100%;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        /* background-color: var(--color-primary-dark);
        box-shadow: 0 2px 5px var(--color-shadow-strong); */
    }

    .nav__menu {
        gap: 0;
        z-index: 10;
        position: absolute;
        flex-direction: column;
        height: auto;
        top: 100%;
        right: 0;
        max-height: 0;
        transform: translateY(0px);
        transition: max-height 0.4s ease, transform 0.4s ease;
        overflow: hidden;
        border-radius: 5px;
    }

    .nav__menu.active {
        max-height: 500px;
        transform: translateY(0);
        box-shadow: var(--box-neon-shadow);
    }

    .nav__menu-item {
        gap: 2px;
        padding: 5px;
        width: 100%;
        text-align: center;
        background-color: var(--color-primary-dark);
    }

    .nav__menu-link {
        border-left: none;
        border: none;
        padding: 0.5rem 1rem;
        color: var(--color-accent);
    }
    .nav__menu-link.active {
        color: var(--color-white);
        box-shadow: var(--box-neon-shadow);
        box-shadow: inset 0 0 10px var(--color-button);
    }

    #phone {
        display: none;
    }

    .hamburger-menu-toggle {
        display: flex;
        background: transparent;
        border: none;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
    }

    /* Базовый стиль кнопки */
    .hamburger-menu-toggle {
        background: transparent;
        border: none;
        cursor: pointer;
        font-size: 28px;
        color: #fff;
        z-index: 10;
    }

    /* Иконки */
    .hamburger-menu-toggle .icon {
        display: none;
    }

    /* Когда меню закрыто – показываем гамбургер */
    .hamburger-menu-toggle:not(.active) .icon-hamburger {
        display: inline;
    }

    /* Когда меню открыто – показываем крестик */
    .hamburger-menu-toggle.active .icon-close {
        display: inline;
    }

    .inner-container-transparent {
        flex-direction: column;
    }
    .about__container {
        flex-direction: column-reverse;
    }

    .about__title {
        text-align: center;
    }
    .testimonial {
        width: 90%; /* Фиксированная ширина карточки */
        min-width: 300px; /* Минимальная ширина карточки */
    }
    .description3 {
        width: 100%;
    }

    .services__list {
        flex-wrap: wrap;
    }

    #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;
    }

    h3,
    h4,
    h5,
    h6 {
        font-size: 1.25rem;
        /* text-shadow: 0 0 5px var(--color-accent), 0 0 3px var(--color-black); */
    }
    h1 {
        font-size: 2.5rem;
        font-weight: 700;
    }
    h2 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.9rem;
        color: var(--color-black);
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem !important;
    }
    h2 {
        font-size: 1.5rem !important;
    }
    h3 {
        font-size: 1.4rem !important;
    }
    .services__inner-container-bottom h3,
    .services__inner-container-top h3 {
        margin-bottom: 1rem;
    }
    /* .services__list {
        flex-direction: column;
        gap: 0;
        padding: 0;
    } */

    .services__list article {
        margin-top: 5px;
    }
}
