/* 
Theme Name: Automatisation-Art
Author: Ilya G
Description: Helow World.
Requires PHP: 8.3.6
Version: 1.0
*/

/* =========================================== */
/* 1. CSS ПЕРЕМЕННЫЕ (CUSTOM PROPERTIES) */
/* =========================================== */
:root {
	/* Цветовая палитра */
	--primary-color: #000000;
	--secondary-color: #ffffff;
	--text-color: #ffffff;
	--bg-color: #000000;

	/* Типографика */
	--font-main: "Montserrat", sans-serif;
	--font-size-header-content: 18px;
	--font-size-main-headers: 48px;
	--font-weight-main-headers: 700;
	--font-size-form-header: 96px;
	--font-size-footer-header: 32px;

	/* Breakpoints */
	--breakpoint-mobile: 768px;
	--breakpoint-tablet: 1024px;
}

/* =========================================== */
/* 2. СБРОС И БАЗОВЫЕ СТИЛИ (RESET) */
/* =========================================== */
* {
	padding: 0px;
	margin: 0px;
	border: none;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Ссылки */
a,
a:link,
a:visited {
	color: inherit;
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

/* Общие стили для семантических тегов */
aside,
nav,
footer,
header,
section,
main {
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
	font-size: inherit;
	font-weight: inherit;
}

ul,
ul li {
	list-style: none;
}

img {
	vertical-align: top;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

address {
	font-style: normal;
}

/* Формы */
input,
textarea,
button,
select {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	background-color: transparent;
}

input::-ms-clear {
	display: none;
}

button,
input[type="submit"] {
	display: inline-block;
	box-shadow: none;
	background-color: transparent;
	background: none;
	cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
	outline: none;
}

button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

label {
	cursor: pointer;
}

legend {
	display: block;
}

input[type="file"] {
	max-width: 100%;
}

/* =========================================== */
/* 3. ГЛОБАЛЬНЫЕ СТИЛИ ТЕМЫ */
/* =========================================== */
html {
	scroll-behavior: smooth;
}

/* Отступ для якорных ссылок под фиксированный хедер */
section[id] {
	scroll-margin-top: 150px;
}

body {
	font-family: var(--font-main);
	color: var(--text-color);
	background-color: #000000 !important;
}

/* Общий враппер и контейнер */
.wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 128px;
}

/* =========================================== */
/* 4. ШАПКА САЙТА (HEADER) */
/* =========================================== */
.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	height: 100px;
	padding: 0 128px;
	background-color: #ffffff1f;
	backdrop-filter: blur(20px);
	position: fixed;
	z-index: 1000;
}

.header__logo {
	width: 200px;
	height: 60px;
}

.logo {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Навигация в шапке */
.header__nav {
	display: flex;
	justify-content: space-around;
	align-items: center;
	gap: 48px;
	font-size: var(--font-size-header-content);
	font-weight: 400;
}

.header__link {
	cursor: pointer;
	color: white;
	text-decoration: none;
	transition: opacity 0.3s;
}

.header__link:hover {
	opacity: 0.7;
}

/* Контактная информация в шапке */
.header_info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
}

.number {
	font-weight: 500;
}

.header_btn {
	border: 1px solid white;
	border-radius: 25px;
	padding: 13px 20px;
	background: transparent;
	color: white;
	cursor: pointer;
	transition: all 0.3s;
	font-size: var(--font-size-header-content);
}

.header_btn:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* =========================================== */
/* 5. БУРГЕР-МЕНЮ ДЛЯ МОБИЛЬНЫХ */
/* =========================================== */
.burger-menu {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 21px;
	cursor: pointer;
	position: relative;
	z-index: 1001;
}

.burger-line {
	width: 100%;
	height: 3px;
	background-color: white;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.burger-menu.active .burger-line:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
	opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

/* Мобильное меню */
.mobile-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(10, 10, 10, 0.95);
	backdrop-filter: blur(10px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: all 0.4s ease;
}

.mobile-menu.active {
	opacity: 1;
	visibility: visible;
}

.mobile-nav {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	margin-bottom: 60px;
}

.mobile-nav__link {
	font-size: 24px;
	color: white;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s;
	position: relative;
}

.mobile-nav__link:hover {
	color: #dcdcdc;
}

.mobile-nav__link::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: #ffffff;
	transition: width 0.3s;
}

.mobile-nav__link:hover::after {
	width: 100%;
}

.mobile-info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.mobile-number {
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 10px;
}

.mobile-btn {
	border: 1px solid white;
	border-radius: 25px;
	padding: 15px 30px;
	background: transparent;
	color: white;
	cursor: pointer;
	transition: all 0.3s;
	font-size: 16px;
}

.mobile-btn:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* Номер телефона на мобильных */
.mobile-phone {
	display: none;
}

/* =========================================== */
/* 6. ГЛАВНАЯ ГЕРОЙ-СЕКЦИЯ (HERO) */
/* =========================================== */
.hero {
	width: 100%;
}

.hero__video-section {
	position: relative;
	width: 100%;
	min-height: 100vh;
	overflow: hidden;
	z-index: 1;
}

.hero__video-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.hero__fallback-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: none;
}

/* Если видео не загрузилось */
.no-video .hero__fallback-image {
	display: block;
}

.no-video .video-bg {
	display: none;
}

/* Контент герой-секции */
.hero__content {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 150px;
	margin-top: 220px;
	margin-bottom: 50px;
	z-index: 2;
}

.hero__text {
	/* display: flex; */
	flex-direction: column;
	text-align: start;
	gap: 10px;
}

.hero__text h1 {
	font-weight: 700;
	font-size: 58px;
}

.hero__text p {
	font-weight: 400;
	font-size: 24px;
	margin-bottom: 38px;
	letter-spacing: 3%;
}

/* Общие стили кнопок */
.btn {
	border: 2px solid white;
	border-radius: 30px;
	background-color: #ffffff1f;
	backdrop-filter: blur(20px);
	font-weight: 400;
	font-size: 24px;
	font-style: normal;
	text-align: center;
	transition: all 0.3s ease;
	padding: 14.5px 154.5px;
	cursor: pointer;
}

.btn:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
	transform: translateY(0);
}

.hero__nominations {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(3, 1fr);
	align-items: center;
	gap: 56px;
	min-width: 428px;
}

/* =========================================== */
/* 7. ЛЕНТА КЛИЕНТОВ (CLIENTS SLIDER) */
/* =========================================== */
.clients {
	width: 100%;
	padding: 40px 0;
	position: relative;
	overflow: hidden;
}

.clients-track-container {
	position: relative;
	width: 100%;
	margin: 0 auto;
	padding: 30px 0;
}

.clients-swiper {
	overflow: hidden !important;
	background-color: #191919;
}

.client-slide {
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	padding: 0 15px;
}

.client-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.client-logo {
	width: 100%;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	transition: all 0.3s ease;
	filter: grayscale(100%) brightness(0.8);
	opacity: 0.7;
}

.client-slide:hover .client-logo {
	filter: grayscale(0%) brightness(1);
	opacity: 1;
	transform: scale(1.05);
}

.client-logo img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* Градиентные края для ленты клиентов */
.clients-track-container::before,
.clients-track-container::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100px;
	z-index: 10;
	pointer-events: none;
}

.clients-track-container::before {
	left: 0;
	background: linear-gradient(
		to right,
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 0) 100%
	);
}

.clients-track-container::after {
	right: 0;
	background: linear-gradient(
		to left,
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 0) 100%
	);
}

/* =========================================== */
/* 8. ОБЩИЙ СТИЛЬ ДЛЯ ЗАГОЛОВКОВ СЕКЦИЙ */
/* =========================================== */
.main__title {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	width: 100%;
	padding: 40px 0;
	margin-bottom: 40px;
	font-size: var(--font-size-main-headers);
	font-weight: var(--font-weight-main-headers);
	text-align: center;
}

.main__title::after {
	content: "";
	width: 170px;
	height: 4px;
	background: white;
	border-radius: 4px;
}

/* =========================================== */
/* 9. СЕКЦИЯ ПРОЕКТОВ (PROJECTS) */
/* =========================================== */
.release {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: 106px;
}

.projects {
	display: flex;
	justify-content: center;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 41px;
	width: 100%;
	padding: 0 82px;
	margin-bottom: 45px;
}

.project__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	border-radius: 10px;
	width: 625px;
	padding: 30px;
	overflow: hidden;
	transition: 0.5s;
	background-color: #0c0c0c;
	flex: 1 1 600px;
	min-width: 300px;
	max-width: 625px;
}

.project__item:hover {
	background-color: #1c1c1c;
}

.project__item h3 {
	text-align: center;
	font-weight: 800;
	font-size: 28px;
	margin: 40px 0;
	position: relative;
	width: 100%;
}

.project__item h3::after {
	content: "";
	position: absolute;
	bottom: -35px;
	left: 50%;
	width: 170px;
	height: 4px;
	background: white;
	border-radius: 4px;
	transform: translate(-50%, -50%);
}

.project__item p {
	font-weight: 400;
	font-size: 18px;
	padding: 0 30px;
}

.project__title {
	width: 253px;
	height: 56px;
	margin-right: auto;
	margin-bottom: 40px;
}

.project__icon {
	width: 100%;
	height: 100%;
}

.project__img {
	width: 100%;
	max-height: 320px;
	border-radius: 20px;
	overflow: hidden;
}

.project__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.project__video {
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
}

.project__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project__content-url {
	text-decoration: underline !important;
}

.project__link {
	font-size: 18px;
	margin: 20px 0;
	position: relative;
	font-weight: bold;
	transition: 0.3s ease-in-out;
}

.project__link:hover {
	scale: 1.1;
}

.project__link:active {
	scale: 0.9;
}

.project__link::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 50%;
	width: 210px;
	height: 1px;
	background: white;
	border-radius: 4px;
	transform: translate(-50%, -50%);
}

.project__tegs {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 1200px;
	margin-top: auto;
}

.project__tegs-item {
	border: 1px solid white;
	border-radius: 20px;
	padding: 6px 16px;
}

/* =========================================== */
/* 10. СЛАЙДЕР КОМАНДЫ (TEAM SLIDER) */
/* =========================================== */
/* =========================================== */
/* 10. СЛАЙДЕР КОМАНДЫ (TEAM SLIDER) - РЕЗИНОВАЯ ВЕРСТКА */
/* =========================================== */
.team-slider-section {
	background: #000000;
	width: 100%;
}

.team-swiper-container {
	position: relative;
	width: 100%;
	padding: 0 60px;
}

.team-swiper {
	width: 100%;
	padding: 20px 0 40px;
}

.team-slide {
	height: auto;
	display: flex;
	justify-content: center;
	align-items: center;
}

.team-member-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0 15px;
	width: 100%;
	max-width: 270px; /* Как на botcreators.ru */
	margin: 0 auto; /* Центрирование карточки */
}

.member-photo {
	width: 160px; /* Как на botcreators.ru */
	height: 160px; /* Как на botcreators.ru */
	margin: 0 auto 24px; /* Как на botcreators.ru */
	border-radius: 50%;
	overflow: hidden;
	position: relative;
	background: #333333;
	border: 3px solid #333333;
	flex-shrink: 0; /* Запрещаем сжатие */
}

.member-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.team-member-card:hover .member-image {
	transform: scale(1.05);
}

.member-info {
	padding: 0 10px;
	width: 100%;
	flex-grow: 1; /* Растягиваем блок с информацией */
}

.member-name {
	font-size: 20px; /* Как на botcreators.ru */
	font-weight: 600; /* Как на botcreators.ru */
	margin-bottom: 8px; /* Как на botcreators.ru */
	color: #ffffff;
	line-height: 1.4; /* Как на botcreators.ru */
}

.member-position {
	font-size: 16px; /* Как на botcreators.ru */
	line-height: 1.5; /* Как на botcreators.ru */
	color: #cccccc;
	font-weight: 400; /* Как на botcreators.ru */
	margin: 0;
}

/* Swiper Navigation */
.swiper-navigation {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	pointer-events: none;
	z-index: 10;
}

/* Скрываем стандартные стрелки Swiper */
.team-swiper .swiper-button-prev,
.team-swiper .swiper-button-next {
	display: none !important;
}

/* Наши кастомные стрелки - как на botcreators.ru */
.team-swiper-prev,
.team-swiper-next {
	width: 56px;
	height: 56px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.5);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	pointer-events: all;
	color: #ffffff;
	position: relative;
	z-index: 20;
	margin: 0;
	backdrop-filter: blur(10px);
}

.team-swiper-prev:hover:not(.swiper-button-disabled),
.team-swiper-next:hover:not(.swiper-button-disabled) {
	border-color: #ffffff;
	background: #ffffff;
	color: #000000;
	transform: scale(1.05);
}

.team-swiper-prev.swiper-button-disabled,
.team-swiper-next.swiper-button-disabled {
	opacity: 0.2;
	cursor: not-allowed;
	transform: none !important;
}

.team-swiper-prev.swiper-button-disabled:hover,
.team-swiper-next.swiper-button-disabled:hover {
	background: rgba(0, 0, 0, 0.5) !important;
	color: #ffffff !important;
	border-color: rgba(255, 255, 255, 0.3) !important;
}

/* Убираем пагинацию */
.swiper-pagination {
	display: none !important;
}

/* =========================================== */
/* 11. СЕКЦИЯ "В СОСТАВЕ КОМПАНИИ" (PART) */
/* =========================================== */
.part {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-top: 90px;
	margin-bottom: 100px;
}

.part__container {
	display: flex;
	gap: 50px;
	flex-direction: column;
	padding: 0 128px;
}

.part__item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 95px;
	margin-bottom: 50px;
}

.part__item-preview {
	object-fit: cover;
	text-align: right;
}

.part__item-preview video {
	width: 100%;
	height: 100%;
}

.part__item-preview img {
	width: 90%;
	height: 90%;
}

.part__item-content {
	display: flex;
	justify-content: left;
	flex-wrap: wrap;
	width: 700px;
	height: auto;
}

.part__item-content p {
	font-weight: 400;
	font-size: 24px;
	margin: 40px 0;
	text-align: justify;
	hyphens: auto;
}

.part__item-title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	font-size: var(--font-size-main-headers);
	font-weight: var(--font-weight-main-headers);
}

.part__item-title::after {
	content: "";
	margin-top: 20px;
	width: 170px;
	height: 4px;
	background: white;
	border-radius: 4px;
}

/* =========================================== */
/* 12. БЕГУЩАЯ СТРОКА ПИСЕМ (LETTERS) */
/* =========================================== */
.letters {
	width: 100%;
	padding: 0 20px;
	margin-bottom: 100px;
}

.letters-container {
	position: relative;
	overflow: hidden;
	padding: 30px 0;
}

.letters-track {
	display: flex;
	gap: 50px;
	width: max-content;
	animation: scroll 80s linear infinite;
}

.letters-track.paused {
	animation-play-state: paused;
}

.letters-item {
	position: relative;
	width: 354px;
	height: 500px;
	background: #111;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	flex-shrink: 0;
	cursor: pointer;
	border: 1px solid #333;
}

.letters-item:hover {
	transform: scale(1.1);
	box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
	z-index: 10;
}

.letters-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* Градиентные маски для плавного перехода */
.letters-container::before,
.letters-container::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100px;
	z-index: 2;
	pointer-events: none;
}

.letters-container::before {
	left: 0;
	background: linear-gradient(
		to right,
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 0) 100%
	);
}

.letters-container::after {
	right: 0;
	background: linear-gradient(
		to left,
		rgba(0, 0, 0, 1) 0%,
		rgba(0, 0, 0, 0) 100%
	);
}

/* =========================================== */
/* 13. ФОРМА ОБРАТНОЙ СВЯЗИ (CONTACT FORM) */
/* =========================================== */
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 48px;
	margin-bottom: 100px;
}

.form__title {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	width: 100%;
	margin-bottom: 150px;
	font-size: 76px;
	font-weight: 700;
	position: relative;
}

.form__title::after {
	content: "";
	position: absolute;
	bottom: -70px;
	left: 50%;
	width: 170px;
	height: 4px;
	background: white;
	border-radius: 4px;
	transform: translate(-50%, -50%);
}

.form {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 48px;
	width: 100%;
	height: 100%;
}

.form__user {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 48px;
}

.form__user-input {
	flex: 1;
	border: 1px solid #ffffff;
	border-radius: 25px;
	padding: 13.5px 20px;
	background-color: #ffffff1f;
	backdrop-filter: blur(20px);
}

.form__textarea {
	width: 100%;
	height: 240px;
	border: 1px solid #ffffff;
	border-radius: 25px;
	padding: 10px 20px;
	background-color: #ffffff1f;
	backdrop-filter: blur(20px);
}

.form__submit {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 25px;
	justify-content: space-between;
	align-items: center;
	text-align: center;
	width: 100%;
}

.form__checkbox-box {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}

.checkbox-label {
	font-weight: 400;
	font-size: 20px;
	padding-left: 10px;
}

.form__btn {
	border: 2px solid white;
	border-radius: 30px;
	background-color: #ffffff1f;
	backdrop-filter: blur(20px);
	font-weight: 400;
	font-size: 24px;
	font-style: normal;
	padding: 14.5px 154.5px;
	cursor: pointer;
}

/* Стили для сообщений формы ОТПРАВКА*/
.form-message {
	margin-top: 20px;
	padding: 15px;
	border-radius: 8px;
	text-align: center;
	font-size: 16px;
}

.form-message.success {
	background-color: rgba(76, 175, 80, 0.1);
	border: 2px solid #4caf50;
	color: #4caf50;
}

.form-message.error {
	background-color: rgba(244, 67, 54, 0.1);
	border: 2px solid #f44336;
	color: #f44336;
}

.success-message,
.error-message {
	padding: 10px;
}

/* Стили для ошибок валидации */
.form__user-input.error-border,
.form__textarea.error-border {
	border-color: #f44336 !important;
	box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.2);
}

.input-tooltip {
	position: absolute;
	background: #f44336;
	color: white;
	padding: 5px 10px;
	border-radius: 4px;
	font-size: 12px;
	margin-top: 5px;
	z-index: 1000;
	max-width: 300px;
}

.input-tooltip.error {
	background: #f44336;
}

.input-tooltip:before {
	content: "";
	position: absolute;
	top: -5px;
	left: 20px;
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid #f44336;
}

/* Стили для спиннера */
.spinner {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: white;
	animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

/* Стили для ссылки на политику */
.form__checkbox-box a {
	color: #ffffff;
	text-decoration: underline;
	transition: opacity 0.3s;
}

.form__checkbox-box a:hover {
	opacity: 0.8;
	text-decoration: none;
}

/* Стили для мобильных сообщений */
@media (max-width: 768px) {
	.form-message {
		font-size: 14px;
		padding: 10px;
	}

	.input-tooltip {
		font-size: 11px;
		max-width: 250px;
	}
}

/* =========================================== */
/* 14. ПОДВАЛ САЙТА (FOOTER) */
/* =========================================== */
.footer {
	margin-top: 100px;
	padding-bottom: 30px;
	background-color: #0c0c0c;
}

.footer__title {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	padding-top: 90px;
	padding-bottom: 50px;
	font-weight: 400;
	font-size: 32px;
}

.footer__content {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 50px;
	margin-bottom: 116px;
}

.footer__content h3 {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 16px;
}

.footer__content p {
	font-size: 24px;
	font-weight: 400;
	line-height: 110%;
	margin-bottom: 16px;
}

.footer__content-about {
	display: flex;
	flex-direction: column;
}

.footer__content a {
	font-size: 24px;
	font-weight: 400;
	line-height: 110%;
	margin-bottom: 16px;
	transition: 0.3s;
}

.footer__content a:hover {
	opacity: 0.7;
}

.footer__header {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.footer__logo {
	height: 68px;
	width: 200px;
}

.footer__logo img {
	width: 100%;
	height: 100%;
}

.footer__header-info {
	width: 415px;
	font-weight: 400;
	font-size: 24px;
	line-height: 110%;
}

/* =========================================== */
/* 15. СТРАНИЦА ОТДЕЛЬНОГО КЕЙСА (CASE SINGLE) */
/* =========================================== */

/*Стили для редактирования текста*/

.case-single__accent {
	font-size: 36px;
	font-weight: 600;
}

.quote {
	padding-left: 50px;
	border-left: 4px solid #FFFFFF;
	background-color: #1c1c1c;
}

.select {
	padding: 24px;
	border: 1px solid #FFFFFF;
	border-radius: 22px;
	background-color: #FFFFFF1F;
}

.quote-full  {
	display: flex;
	flex-direction: column;

	padding: 24px;
	border: 1px solid white;
	border-radius: 22px;
	background-color: #FFFFFF1F;
}


/* Стили для отдельной страницы кейса */
.case__title {
	margin-top: 160px;
}

.case-single {
	margin: 150px 100px 100px;
	border-radius: 10px;
	padding: 30px;
	overflow: hidden;
	color: var(--text-color);
	background-color: rgb(12, 12, 12);
}

.case-single__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	margin-bottom: 40px;
	padding-bottom: 20px;
}

.case-single__icon {
	min-width: 600px;
	max-width: 700px;
	height: 100%;
	margin: 30px 0;
}

.case-single__icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: grayscale(100%) brightness(0.6) contrast(1.2);
}

.case-single__title h1 {
	text-align: center;
	font-size: 32px;
	font-weight: 800;
	color: var(--text-color);
}

.case-single__title h1::after {
	content: "";
	display: block;
	width: 365px;
	height: 4px;
	background: white;
	border-radius: 4px;
	margin: 37px auto 0;
}

.case-single__image {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.case-single__project-image {
	border-radius: 42px;
	overflow: hidden;
	position: relative;

	height: auto;
	margin: 50px 120px;
}

.case-single__project-image img,
.case-single__project-image video {
    border-radius: 0 !important;
    width: 100%;
    height: auto;
    display: block;
}

.case-single__main-content {
	font-size: 26px;
	font-weight: 400;
	line-height: 100%;
	letter-spacing: 0;
}

.case-single__technologies h2 {
	font-size: 32px;
	margin-bottom: 20px;
	color: var(--text-color);
}

.case-single__description p {
	line-height: 1.6;
	margin-bottom: 30px;
	color: var(--text-color);
}

.case-single__full-content {
	text-align: justify;
	margin-bottom: 60px;
}

.case-single__full-content a{
	text-decoration: underline !important;
}

.case-single__full-content h2 {
	font-size: 26px;
	color: var(--text-color);
}

.case-single__full-content h3 {
	font-size: 1.5rem;
	color: var(--text-color);
}

.case-single__full-content h4 {
	font-size: 18px;
}

.case-single__full-content p {
	hyphens: auto;
	 
	font-size: 26px;
	line-height: 1.6;
	color: var(--text-color);
}

.case-single__full-content ul,
.case-single__full-content ol {
	margin-bottom: 20px;
	padding-left: 20px;
}

.case-single__full-content li {
	margin-bottom: 8px;
	line-height: 1.5;
}

.case-single__technologies {
	margin-bottom: 40px;
	text-align: center;
}

.case-single__technologies h2 {
	font-weight: 600;
}

.case-single__project__tegs {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 1200px;
	margin: 0 auto;
}

.case-single__actions {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin-top: 40px;
}

.btn--secondary {
	background-color: #6c757d;
	border-color: #6c757d;
}

.btn--secondary:hover {
	background-color: #5a6268;
	border-color: #545b62;
}

/* =========================================== */
/* 16. СТИЛИ ДЛЯ ДОСТУПНОСТИ */
/* =========================================== */
.team-swiper-prev:focus,
.team-swiper-next:focus {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.swiper-pagination-bullet:focus {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

/* =========================================== */
/* 17. СТИЛИ ДЛЯ ФОРМЫ ОБРАТНОЙ СВЯЗИ И СООБЩЕНИЙ */
/* =========================================== */

/* ---------- Основные стили формы ---------- */
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 48px;
	margin-bottom: 100px;
	position: relative;
}

.form__title {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	width: 100%;
	margin-bottom: 150px;
	font-size: 76px;
	font-weight: 700;
	position: relative;
}

.form__title::after {
	content: "";
	position: absolute;
	bottom: -70px;
	left: 50%;
	width: 170px;
	height: 4px;
	background: white;
	border-radius: 4px;
	transform: translate(-50%, -50%);
}

.form {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 48px;
	width: 100%;
	height: 100%;
	position: relative;
}

/* ---------- Поля формы ---------- */
.form__user {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 48px;
}

.form__user-input {
	flex: 1;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 25px;
	padding: 16px 24px;
	background-color: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(20px);
	font-size: 16px;
	color: #ffffff;
	transition: all 0.3s ease;
	min-height: 56px;
}

.form__user-input:focus {
	outline: none;
	border-color: #ffffff;
	background-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form__user-input::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

.form__textarea {
	width: 100%;
	min-height: 240px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 25px;
	padding: 20px 24px;
	background-color: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(20px);
	font-size: 16px;
	color: #ffffff;
	transition: all 0.3s ease;
	resize: vertical;
	font-family: var(--font-main);
}

.form__textarea:focus {
	outline: none;
	border-color: #ffffff;
	background-color: rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form__textarea::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

.form__user-input.valid-border,
.form__textarea.valid-border {
	border-color: #4caf50 !important;
	background-color: rgba(76, 175, 80, 0.05);
	transition: border-color 0.3s ease;
}

.form__user-input.error-border,
.form__textarea.error-border {
	border-color: #f44336 !important;
	background-color: rgba(244, 67, 54, 0.05);
	animation: shake 0.5s ease-in-out;
}

/* ---------- Стили для чекбокса ---------- */
.form__submit {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 25px;
	justify-content: space-between;
	align-items: center;
	text-align: center;
	width: 100%;
}

.form__checkbox-box {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	cursor: pointer;
}

.checkbox-input {
	width: 24px;
	height: 24px;
	border: 2px solid rgba(255, 255, 255, 0.3);
	border-radius: 4px;
	background: transparent;
	cursor: pointer;
	appearance: none;
	position: relative;
	transition: all 0.3s ease;
	flex-shrink: 0;
}

.checkbox-input:checked {
	background-color: #ffffff;
	border-color: #ffffff;
}

.checkbox-input:checked::after {
	content: "✓";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #000000;
	font-size: 14px;
	font-weight: bold;
}

.checkbox-input:hover {
	border-color: rgba(255, 255, 255, 0.6);
}

.checkbox-label {
	font-weight: 400;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.5;
	user-select: none;
}

.checkbox-label a {
	color: #ffffff;
	text-decoration: underline;
	transition: opacity 0.3s;
}

.checkbox-label a:hover {
	opacity: 0.8;
	text-decoration: none;
}

/* ---------- Кнопка отправки ---------- */
.form__btn {
	border: 2px solid white;
	border-radius: 30px;
	background-color: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(20px);
	font-weight: 500;
	font-size: 18px;
	padding: 18px 60px;
	cursor: pointer;
	color: white;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 200px;
}

.form__btn:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.2);
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.form__btn:active:not(:disabled) {
	transform: translateY(0);
}

.form__btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none !important;
}

/* ---------- Спиннер ---------- */
.spinner {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: #ffffff;
	animation: spin 1s ease-in-out infinite;
	margin-left: 10px;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.btn-text {
	transition: opacity 0.3s;
}

/* ---------- Сообщения формы (УСПЕХ/ОШИБКА) ---------- */
.form-message {
	margin-top: 25px;
	padding: 20px 25px;
	border-radius: 12px;
	text-align: center;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	animation: fadeIn 0.4s ease-out;
	display: none;
}

.form-message.success {
	background: linear-gradient(
		135deg,
		rgba(76, 175, 80, 0.15) 0%,
		rgba(76, 175, 80, 0.05) 100%
	);
	border: 2px solid #4caf50;
	color: #4caf50;
}

.form-message.error {
	background: linear-gradient(
		135deg,
		rgba(244, 67, 54, 0.15) 0%,
		rgba(244, 67, 54, 0.05) 100%
	);
	border: 2px solid #f44336;
	color: #f44336;
}

.form-message.show {
	display: block;
}

.success-message,
.error-message {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 10px 0;
}

.success-message::before {
	content: "✓";
	font-size: 20px;
	font-weight: bold;
}

.error-message::before {
	content: "!";
	font-size: 20px;
	font-weight: bold;
}

/* ---------- Валидация в реальном времени ---------- */
.form__user-input.error-border,
.form__textarea.error-border {
	border-color: #f44336 !important;
	background-color: rgba(244, 67, 54, 0.05);
	animation: shake 0.5s ease-in-out;
}

.form__user-input.valid-border,
.form__textarea.valid-border {
	border-color: #4caf50 !important;
	background-color: rgba(76, 175, 80, 0.05);
}

.input-tooltip {
	position: absolute;
	background: #f44336;
	color: white;
	padding: 10px 15px;
	border-radius: 8px;
	font-size: 14px;
	margin-top: 8px;
	z-index: 1000;
	max-width: 300px;
	animation: slideDown 0.3s ease-out;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.input-tooltip.error {
	background: #f44336;
}

.input-tooltip.success {
	background: #4caf50;
}

.input-tooltip:before {
	content: "";
	position: absolute;
	top: -6px;
	left: 20px;
	width: 0;
	height: 0;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid currentColor;
}

.input-tooltip.error:before {
	color: #f44336;
}

.input-tooltip.success:before {
	color: #4caf50;
}

/* ---------- Анимации ---------- */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes shake {
	0%,
	100% {
		transform: translateX(0);
	}
	10%,
	30%,
	50%,
	70%,
	90% {
		transform: translateX(-5px);
	}
	20%,
	40%,
	60%,
	80% {
		transform: translateX(5px);
	}
}

/* ---------- UTM метки (скрытые поля) ---------- */
input[type="hidden"][id^="utm_"] {
	display: none;
}

/* =========================================== */
/* 18. АДАПТИВНОСТЬ ДЛЯ ФОРМЫ */
/* =========================================== */

@media (max-width: 1200px) {
	.form__title {
		font-size: 64px;
		margin-bottom: 120px;
	}

	.form__title::after {
		bottom: -60px;
	}

	.form__btn {
		padding: 16px 50px;
		font-size: 17px;
	}
}

@media (max-width: 1024px) {
	.form__title {
		font-size: 48px;
		margin-bottom: 100px;
	}

	.form__title::after {
		width: 140px;
		bottom: -50px;
	}

	.form__user {
		flex-direction: column;
		gap: 30px;
	}

	.form__user-input {
		width: 100%;
	}

	.form__submit {
		flex-direction: column;
		align-items: stretch;
		gap: 30px;
	}

	.form__checkbox-box {
		justify-content: center;
	}

	.form__btn {
		width: 100%;
		max-width: 300px;
		margin: 0 auto;
	}
}

@media (max-width: 768px) {
	.contact-form {
		gap: 40px;
		margin-bottom: 80px;
	}

	.form__title {
		font-size: 36px;
		margin-bottom: 80px;
		padding: 0 20px;
	}

	.form__title::after {
		width: 120px;
		bottom: -40px;
	}

	.form {
		gap: 30px;
	}

	.form__user-input,
	.form__textarea {
		padding: 14px 20px;
		font-size: 15px;
		border-radius: 20px;
	}

	.form__textarea {
		min-height: 180px;
	}

	.checkbox-label {
		font-size: 15px;
	}

	.checkbox-input {
		width: 22px;
		height: 22px;
	}

	.form__btn {
		font-size: 16px;
		padding: 16px 40px;
	}

	.form-message {
		padding: 16px 20px;
		font-size: 15px;
		margin-top: 20px;
	}

	.input-tooltip {
		font-size: 13px;
		padding: 8px 12px;
		max-width: 250px;
	}
}

@media (max-width: 576px) {
	.form__title {
		font-size: 28px;
		margin-bottom: 60px;
	}

	.form__title::after {
		width: 100px;
		height: 3px;
		bottom: -30px;
	}

	.form__user-input,
	.form__textarea {
		padding: 12px 16px;
		font-size: 14px;
		border-radius: 18px;
	}

	.form__textarea {
		min-height: 150px;
	}

	.checkbox-label {
		font-size: 14px;
	}

	.checkbox-input {
		width: 20px;
		height: 20px;
	}

	.form__btn {
		font-size: 15px;
		padding: 14px 30px;
		min-width: 180px;
	}

	.spinner {
		width: 18px;
		height: 18px;
	}

	.form-message {
		padding: 14px 16px;
		font-size: 14px;
		margin-top: 16px;
		border-radius: 10px;
	}

	.success-message::before,
	.error-message::before {
		font-size: 18px;
	}

	.input-tooltip {
		font-size: 12px;
		padding: 6px 10px;
		max-width: 220px;
		border-radius: 6px;
	}
}

@media (max-width: 400px) {
	.form__title {
		font-size: 24px;
	}

	.form__title::after {
		width: 80px;
		bottom: -25px;
	}

	.form__btn {
		font-size: 14px;
		padding: 12px 24px;
		min-width: 160px;
	}

	.form-message {
		font-size: 13px;
		padding: 12px 14px;
	}
}

/* =========================================== */
/* 19. АДАПТИВНОСТЬ (RESPONSIVE STYLES) */
/* =========================================== */

/* ---------- Адаптив для слайдера команды - РЕЗИНОВАЯ ВЕРСТКА ---------- */
@media (max-width: 1200px) {
	.team-swiper-container {
		padding: 0 50px;
	}

	.team-member-card {
		max-width: 240px;
	}

	.member-photo {
		width: 140px;
		height: 140px;
	}

	.member-name {
		font-size: 18px;
	}

	.member-position {
		font-size: 15px;
	}
}

@media (max-width: 1024px) {
	.team-swiper-container {
		padding: 0 40px;
	}

	.team-member-card {
		max-width: 220px;
	}

	.member-photo {
		width: 130px;
		height: 130px;
	}

	.member-name {
		font-size: 17px;
	}

	.member-position {
		font-size: 14px;
	}
}

@media (max-width: 992px) {
	.team-swiper-container {
		padding: 0 35px;
	}

	.team-member-card {
		max-width: 200px;
	}

	.member-photo {
		width: 120px;
		height: 120px;
	}

	.member-name {
		font-size: 16px;
	}

	.member-position {
		font-size: 13px;
	}
}

@media (max-width: 768px) {
	.team-swiper-container {
		padding: 0 30px;
	}

	.team-member-card {
		max-width: 180px;
	}

	.member-photo {
		width: 110px;
		height: 110px;
		margin-bottom: 20px;
	}

	.member-name {
		font-size: 15px;
	}

	.member-position {
		font-size: 12px;
	}

	.team-swiper-prev,
	.team-swiper-next {
		width: 48px;
		height: 48px;
	}

	/* Исправление центрирования для мобильных */
	.team-swiper .swiper-slide {
		display: flex !important;
		justify-content: center !important;
		align-items: center !important;
	}

	.team-member-card {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		text-align: center !important;
		width: 100% !important;
		max-width: 180px !important;
		margin: 0 auto !important;
	}

	.member-photo {
		margin-left: auto !important;
		margin-right: auto !important;
		width: 110px !important;
		height: 110px !important;
	}
}

@media (max-width: 640px) {
	.team-swiper-container {
		padding: 0 25px;
	}

	/* На мобильных показываем 1 участника */
	.team-member-card {
		max-width: 160px;
	}

	.member-photo {
		width: 100px;
		height: 100px;
		margin-bottom: 16px;
	}

	.member-name {
		font-size: 14px;
	}

	.member-position {
		font-size: 12px;
	}

	/* Прячем стрелки на очень маленьких экранах */
	@media (max-width: 480px) {
		.swiper-navigation {
			display: none !important;
		}
	}
}

@media (max-width: 480px) {
	.team-swiper-container {
		padding: 0 20px;
	}

	.team-member-card {
		max-width: 140px;
		padding: 0 10px;
	}

	.member-photo {
		width: 90px;
		height: 90px;
		margin-bottom: 12px;
	}

	.member-name {
		font-size: 13px;
		margin-bottom: 6px;
	}

	.member-position {
		font-size: 11px;
		line-height: 1.4;
	}
}

@media (max-width: 360px) {
	.team-member-card {
		max-width: 130px;
	}

	.member-photo {
		width: 80px;
		height: 80px;
	}

	.member-name {
		font-size: 12px;
	}

	.member-position {
		font-size: 10px;
	}
}

/* ---------- Адаптив для ленты клиентов ---------- */
@media (max-width: 1200px) {
	.client-slide {
		height: 90px;
		padding: 0 12px;
	}

	.client-logo {
		height: 55px;
	}
}

@media (max-width: 992px) {
	.clients {
		padding: 30px 0;
		margin-bottom: 60px;
	}

	.client-slide {
		height: 80px;
		padding: 0 10px;
	}

	.client-logo {
		height: 50px;
		padding: 8px;
	}
}

@media (max-width: 768px) {
	.clients-track-container {
		padding: 20px 0;
	}

	.client-slide {
		height: 100px;
		padding: 0 8px;
	}

	.client-logo {
		height: 45px;
		padding: 6px;
	}

	.clients-track-container::before,
	.clients-track-container::after {
		width: 60px;
	}
}

@media (max-width: 576px) {
	.clients {
		padding: 20px 0;
		margin-bottom: 40px;
	}

	.client-slide {
		height: 60px;
		padding: 0 5px;
	}

	.client-logo {
		height: 40px;
		padding: 5px;
	}

	.clients-track-container::before,
	.clients-track-container::after {
		width: 40px;
	}
}

@media (max-width: 400px) {
	.clients-track-container::before,
	.clients-track-container::after {
		width: 30px;
	}
}

/* ---------- Адаптив для шапки и навигации ---------- */
@media (max-width: 1200px) {
	.header {
		padding: 0 64px;
	}

	.burger-menu {
		display: flex;
	}

	.header_btn {
		display: none;
	}
}

@media (max-width: 992px) {
	.header__nav {
		display: none;
	}

	section[id] {
		scroll-margin-top: 80px;
	}

	/* Показываем номер телефона на мобильных */
	.mobile-phone {
		display: block;
		margin-right: 20px;
	}
}

@media (max-width: 768px) {
	.header {
		padding: 0 32px;
	}

	.header__logo {
		width: 160px;
		height: 54px;
	}
}

@media (max-width: 480px) {
	.header {
		padding: 0 20px;
	}

	.mobile-nav__link {
		font-size: 20px;
	}

	.mobile-number {
		font-size: 18px;
	}
}

/* ---------- Адаптив для страницы кейса ---------- */
@media (max-width: 1200px) {
	.case-single {
		margin: 0 60px;
		margin-top: 130px;
		padding: 25px;
	}

	.case-single__icon {
		min-width: 500px;
		margin: 25px 0;
	}

	.case-single__title h1 {
		font-size: 28px;
	}

	.case-single__title h1::after {
		width: 300px;
		margin: 30px auto 0;
	}

	.case-single__main-content,
	.case-single__full-content p,
	.case-single__full-content h2,
	.case-single__description h2 {
		font-size: 22px;
	}

	.case-single__accent {
		font-size: 28px;
	}

	.case-single__technologies h2 {
		font-size: 28px;
	}

	.footer__header {
		justify-content: center;
	}

	.footer__header-info {
		display: none;
	}
}

@media (max-width: 1024px) {
	.case-single {
		margin: 0 40px;
		margin-top: 120px;
		padding: 20px;
	}

	.case-single__icon {
		min-width: 400px;
		margin: 20px 0;
	}

	.case-single__title h1 {
		font-size: 26px;
	}

	.case-single__title h1::after {
		width: 250px;
		margin: 25px auto 0;
	}

	.case-single__main-content,
	.case-single__full-content p,
	.case-single__full-content h2,
	.case-single__description h2 {
		font-size: 20px;
	}

	.case-single__technologies h2 {
		font-size: 26px;
	}

	.case-single__project-image {
		margin: 40px 0;
	}

	.case-single__full-content h3 {
		font-size: 1.3rem;
	}
}

@media (max-width: 768px) {
	.case__title {
		margin-top: 120px;
	}

	.case-single {
		margin: 0 20px;
		margin-top: 100px;
		padding: 20px;
	}

	.case-single__header {
		gap: 15px;
		margin-bottom: 30px;
		padding-bottom: 15px;
	}

	.case-single__icon {
		min-width: 100%;
		max-width: 300px;
		margin: 20px 0;
	}

	.case-single__title h1 {
		font-size: 24px;
	}

	.case-single__title h1::after {
		width: 200px;
		height: 3px;
		margin: 20px auto 0;
	}

	.case-single__hero-image {
		margin-bottom: 30px;
	}

	.case-single__project-image {
		margin: 30px 0;
	}

	.case-single__main-content,
	.case-single__full-content p,
	.case-single__full-content h2,
	.case-single__description h2 {
		font-size: 18px;
		line-height: 1.5;
	}

	.case-single__accent {
		font-size: 24px;
	}

	.case-single__technologies h2 {
		font-size: 22px;
		margin-bottom: 15px;
	}

	.case-single__description p {
		line-height: 1.5;
		margin-bottom: 20px;
	}

	.case-single__full-content {
		margin-bottom: 40px;
	}

	.case-single__full-content h2 {
		margin: 25px 0 12px;
		font-size: 20px;
	}

	.case-single__full-content h3 {
		font-size: 1.2rem;
		margin: 20px 0 10px;
	}

	.case-single__full-content p {
		margin-bottom: 12px;
	}

	.case-single__full-content ul,
	.case-single__full-content ol {
		margin-bottom: 15px;
		padding-left: 15px;
	}

	.case-single__full-content li {
		margin-bottom: 6px;
		line-height: 1.4;
	}

	.case-single__technologies {
		margin-bottom: 30px;
	}

	.case-single__actions {
		flex-direction: column;
		gap: 12px;
		margin-top: 30px;
	}

	.case-single__actions .btn {
		width: 100%;
		text-align: center;
	}

	.case-single__subtitle {
		margin-bottom: 20px;
	}

	/* Адаптив для изображений в контенте кейса */
	.case-single__image,
	.case-single__project-image,
	.case-single__detail-image {
		border-radius: 6px;
	}
}

@media (max-width: 480px) {

	/* Для редактирования*/
	.quote {
		padding-left: 20px;
	}
	/*...................*/

	.case__title {
		margin-top: 100px;
	}

	.case-single {
		margin: 0 15px;
		margin-top: 80px;
		padding: 15px;
	}

	.case-single__header {
		gap: 12px;
		margin-bottom: 25px;
		padding-bottom: 12px;
	}

	.case-single__icon {
		max-width: 250px;
		margin: 15px 0;
	}

	.case-single__title h1 {
		font-size: 20px;
	}

	.case-single__title h1::after {
		width: 150px;
		height: 2px;
		margin: 15px auto 0;
	}

	.case-single__hero-image {
		margin-bottom: 20px;
	}

	.case-single__project-image {
		margin: 25px 0;
	}

	.case-single__main-content,
	.case-single__full-content p,
	.case-single__full-content h2,
	.case-single__description h2 {
		font-size: 16px;
		line-height: 1.4;
	}

	.case-single__accent {
		font-size: 20px;
	}

	.case-single__technologies h2 {
		font-size: 20px;
		margin-bottom: 12px;
	}

	.case-single__description p {
		line-height: 1.4;
		margin-bottom: 15px;
	}

	.case-single__full-content {
		margin-bottom: 30px;
	}

	.case-single__full-content h2 {
		margin: 20px 0 10px;
		font-size: 18px;
	}

	.case-single__full-content h3 {
		font-size: 1.1rem;
		margin: 15px 0 8px;
	}

	.case-single__full-content ul,
	.case-single__full-content ol {
		margin-bottom: 12px;
		padding-left: 12px;
	}

	.case-single__full-content li {
		margin-bottom: 5px;
		line-height: 1.3;
		font-size: 15px;
	}

	.case-single__technologies {
		margin-bottom: 25px;
	}

	.case-single__actions {
		gap: 10px;
		margin-top: 25px;
	}

	.case-single__subtitle {
		margin-bottom: 15px;
	}

	/* Адаптив для кнопок на странице кейса */
	.case-single__actions .btn {
		padding: 10px 20px;
		font-size: 14px;
	}
}

@media (max-width: 360px) {
	.case-single {
		margin: 0 10px;
		margin-top: 70px;
		padding: 12px;
	}

	.case-single__icon {
		max-width: 200px;
		margin: 12px 0;
	}

	.case-single__title h1 {
		font-size: 18px;
	}

	.case-single__title h1::after {
		width: 120px;
		margin: 12px auto 0;
	}

	.case-single__main-content,
	.case-single__full-content p,
	.case-single__full-content h2,
	.case-single__description h2 {
		font-size: 15px;
	}

	.case-single__technologies h2 {
		font-size: 18px;
	}

	.case-single__full-content h2 {
		font-size: 16px;
	}

	.case-single__full-content h3 {
		font-size: 1rem;
	}

	.case-single__full-content li {
		font-size: 14px;
	}
}

/* ---------- Общая адаптивность сайта ---------- */
@media (max-width: 1200px) {
	.container {
		padding: 0 80px;
	}

	.header {
		padding: 0 80px;
		height: 90px;
	}

	.hero__content {
		gap: 80px;
		margin-top: 250px;
	}

	.hero__text h1 {
		font-size: 48px;
	}

	.hero__text p {
		font-size: 20px;
	}

	.hero__nominations {
		min-width: 350px;
		gap: 40px;
	}

	.part__container {
		padding: 0 100px;
	}

	.form__title {
		font-size: 64px;
	}
}

@media (max-width: 1600px) {
	.part__item {
		flex-direction: column;
		gap: 40px;
		text-align: center;
		flex-wrap: wrap;
	}

	.part__item-preview {
		width: 100%;
		text-align: center;
		order: 1;
	}

	.part__item-content {
		width: 100%;
		justify-content: center;
		order: 2;
	}

	.part__item-title {
		align-items: center;
	}

	.part__item:nth-child(even) .part__item-preview {
		order: 1;
	}

	.part__item:nth-child(even) .part__item-content {
		order: 2;
	}
}

@media (max-width: 1024px) {
	.container {
		padding: 0 60px;
	}

	.header {
		padding: 0 60px;
	}

	.hero__content {
		flex-direction: column;
		gap: 100px;
		margin-top: 130px;
		text-align: center;
	}

	.hero__text {
		order: 2;
		text-align: start;
	}

	.hero__text h1 {
		font-size: 42px;
	}

	.hero__text p {
		font-size: 18px;
	}

	.hero__nominations {
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(2, 1fr);
		min-width: 300px;
		gap: 30px;
		order: 1;
	}

	.btn {
		font-size: 20px;
		padding: 12px 100px;
	}

	.part__container {
		padding: 0 80px;
	}

	.form__title {
		font-size: 48px;
		margin-bottom: 100px;
	}

	.form__title::after {
		bottom: -50px;
	}
}

@media (max-width: 768px) {
	.container {
		padding: 0 30px;
	}

	.header {
		padding: 0 30px;
		height: 70px;
	}

	.number {
		font-size: 12px;
	}

	.header__logo {
		width: 150px;
		height: 51px;
	}

	.hero__text {
		order: 2;
	}

	.hero__nominations {
		order: 1;
		min-width: 250px;
		gap: 20px;
	}

	.hero__text h1 {
		font-size: 32px;
	}

	.hero__text p {
		font-size: 16px;
		margin-bottom: 11px;
	}

	.btn {
		font-size: 16px;
		padding: 10px 60px;
		width: 100%;
		max-width: 280px;
	}

	.main__title {
		padding: 30px 0;
		margin-bottom: 30px;
		font-size: 32px;
	}

	.main__title::after {
		width: 120px;
	}

	.projects {
		padding: 0 20px;
		gap: 30px;
		margin-bottom: 30px;
	}

	.project__item {
		flex: 1 1 100%;
		width: 100px;
		padding: 20px;
	}

	.project__item h3 {
		font-size: 22px;
		margin-bottom: 30px;
	}

	.project__item h3::after {
		width: 140px;
		bottom: -25px;
	}

	.project__item p {
		font-size: 16px;
		padding: 0 20px;
	}

	.project__title {
		width: 200px;
		height: 45px;
		margin-bottom: 30px;
	}

	.project__img {
		margin-bottom: 30px;
	}

	.project__tegs-item {
		font-size: 14px;
		padding: 4px 12px;
	}

	.part__container {
		padding: 0 30px;
	}

	.part {
		margin-top: 60px;
		margin-bottom: 60px;
	}

	.part__item-content h2 {
		font-size: 18px;
	}

	.part__item-content p {
		font-size: 18px;
		margin: 30px 0;
	}

	.letters {
		padding: 0 15px;
		margin-bottom: 60px;
	}

	.letters-item {
		width: 250px;
		height: 350px;
	}

	.letters-container::before,
	.letters-container::after {
		width: 50px;
	}

	.form__title {
		font-size: 32px;
		margin-bottom: 80px;
	}

	.form__title::after {
		width: 120px;
		bottom: -40px;
	}

	.form {
		gap: 30px;
	}

	.form__user {
		flex-direction: column;
		gap: 20px;
	}

	.form__user-input {
		width: 100%;
	}

	.form__textarea {
		height: 180px;
	}

	.form__submit {
		flex-direction: column;
		gap: 20px;
	}

	.form__btn {
		width: 100%;
		padding: 12px 20px;
		font-size: 18px;
	}

	.footer__content {
		flex-direction: column;
		gap: 40px;
		margin-bottom: 60px;
	}

	.footer__title {
		font-size: 24px;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 20px;
	}

	.header {
		padding: 0 20px;
		height: 60px;
	}

	.header__logo {
		width: 120px;
		height: 41px;
	}

	.hero__content {
		gap: 15px;
		margin-top: 90px;
	}

	.hero__text {
		order: 2;
	}

	.hero__nominations {
		order: 1;
		gap: 15px;
	}

	.hero__text h1 {
		font-size: 28px;
	}

	.hero__text p {
		font-size: 14px;
		margin-bottom: 11px;
	}

	.clients {
		height: auto;
		margin-top: 30px;
		margin-bottom: 100px;
	}

	.main__title {
		padding: 20px 0;
		margin-bottom: 20px;
	}

	.main__title::after {
		width: 100px;
		height: 3px;
	}

	.projects {
		padding: 0 15px;
		gap: 20px;
		margin-bottom: 20px;
	}

	.project__item {
		padding: 15px;
	}

	.project__item h3 {
		font-size: 20px;
		margin-bottom: 20px;
	}

	.project__item h3::after {
		width: 120px;
		bottom: -20px;
	}

	.project__item p {
		font-size: 14px;
		padding: 0 15px;
	}

	.project__title {
		width: 150px;
		height: 35px;
		margin-bottom: 20px;
	}

	.project__img {
		margin-bottom: 20px;
	}

	.project__tegs {
		gap: 8px;
	}

	.project__tegs-item {
		font-size: 12px;
		padding: 3px 10px;
	}

	.part {
		margin-top: 40px;
		margin-bottom: 40px;
	}

	.part__item {
		gap: 30px;
	}

	.part__item-content p {
		font-size: 16px;
		margin: 20px 0;
	}

	.btn {
		font-size: 10px;
		width: 204px;
		padding: 10px 40px;
	}

	.letters {
		padding: 0 10px;
		margin-bottom: 40px;
	}

	.letters-item {
		width: 200px;
		height: 280px;
	}

	.letters-track {
		gap: 30px;
	}

	.form__title {
		font-size: 24px;
		margin-bottom: 60px;
	}

	.form__title::after {
		width: 100px;
		bottom: -30px;
	}

	.form {
		gap: 20px;
	}

	.form__user-input,
	.form__textarea {
		padding: 10px 15px;
		font-size: 14px;
	}

	.form__btn {
		font-size: 16px;
		padding: 10px 15px;
	}

	.checkbox-label {
		font-size: 14px;
	}

	.footer__title {
		padding-top: 60px;
		padding-bottom: 30px;
		font-size: 18px;
	}

	.footer__content h3,
	.footer__content p,
	.footer__content a {
		font-size: 16px;
	}
}

@media (max-width: 360px) {
	.container {
		padding: 0 15px;
	}

	.header {
		padding: 0 15px;
	}

	.hero__content {
		gap: 15px;
		margin-top: 70px;
	}

	.hero__text h1 {
		font-size: 24px;
	}

	.hero__text p {
		font-size: 13px;
	}

	.hero__nominations {
		min-width: 120px;
		gap: 12px;
	}

	.btn {
		font-size: 10px;
		padding: 8px 40px;
	}

	.project__item h3 {
		font-size: 18px;
	}

	.project__item p {
		font-size: 13px;
	}

	.form__title {
		font-size: 18px;
	}

	.letters-item {
		width: 180px;
		height: 250px;
	}
}
