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

a {
	text-decoration: none;
}

ul,
ol,
li {
	list-style: none;
}

img {
	vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: inherit;
	font-size: inherit;
}




:root {
	--dark-blue: #0e1b4c;
	--blue: #021f90;
	--blue-rgba: rgba(2, 31, 144, 0.95);
	--dodgerblue: #0081e5;
	--dodgerblue-rgba: rgba(0, 129, 229, 1);
	--red: #ff0000;
	--white: #fff;
	--box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .4);
	--custom-border: 0.5rem solid var(--blue);
	--text-gray: #6b7280;
}

/* ===== HERO ===== */

.page__hero-block {
	padding-top: 50px;
}

.hero-flex {
	margin-top: 30px;
}

.hero-content {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	gap: 30px;
	padding: 30px;
	margin-bottom: 40px;
	min-height: 360px;
	border-radius: 14px;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: brightness(.9);
	transition: .4s;
}

.hero-content::before {
	content: "";
	position: absolute;
	inset: 0;
	background: transparent;
	z-index: 1;
}

/* контент над фоном */
.hero-content>*:not(.hero-bg) {
	position: relative;
	z-index: 2;
}

/* Текстовая «стеклянная» карточка */
.fade-in__container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	max-width: 600px;
	min-height: 370px;
	padding: 20px 18px;
	background: rgba(15, 27, 77, 0.70);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(0, 123, 255, 0.25);
	border-radius: 14px;
	box-shadow: 0 0 18px rgba(0, 123, 255, 0.10);
}

.hero-text__box {
	flex: 1;
	/* занимает всё пространство */
	display: flex;
	flex-direction: column;
	justify-content: center;
	/* ← текст строго по центру вертикали */
	text-align: left;
	/* или center если нужно */
}

.hero-title {
	font-size: 34px;
	line-height: 42px;
	font-weight: 700;
	letter-spacing: .4px;
	color: var(--white);
	margin-bottom: 18px;
}

.lead {
	color: #f0f0f0;
	font-size: 15px;
	line-height: 22px;
}

.lead a {
	color: #f0f0f0;
}

.lead a:hover {
	color: var(--red);
}

.hero-btn {
	display: inline-block;
	width: 100%;
	max-width: 400px;
	margin: 10px auto;
	padding: 12px 22px;
	background: var(--red);
	color: var(--white);
	font-size: 15px;
	font-weight: 600;
	text-align: center;
	border-radius: 10px;
	border: 1px solid rgba(255, 0, 0, 0.35);
	box-shadow: 0 4px 12px rgba(255, 0, 0, 0.25);
	transition: 0.25s ease;
}

.hero-btn:hover {
	background: #b42121;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(255, 0, 0, 0.40);
}

.hero-btn:active {
	transform: translateY(0);
	box-shadow: 0 3px 8px rgba(255, 0, 0, 0.25);
}

/* Калькулятор */
.hero-calc {
	display: flex;
	justify-content: center;
	align-items: stretch;
	max-width: 420px;
	flex-shrink: 0;
}

.calc-card {
	text-align: center;
	background: var(--white);
	padding: 24px 26px;
	border-radius: 14px;
	border: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
	transition: .3s;
	height: 100%;
}

.calc-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.calc-card h2 {
	color: var(--blue);
	font-size: 21px;
	font-weight: 700;
	margin-bottom: 8px;
}

.calc-card p {
	color: var(--red);
	font-size: 14px;
	margin-bottom: 16px;
}

/* Форма */
#calcForm {
	display: flex;
	flex-direction: column;
	gap: 13px;
}

#calcForm label {
	display: flex;
	flex-direction: column;
	font-size: 14px;
	font-weight: 500;
	color: var(--blue);
}

#calcForm input,
#calcForm select {
	margin-top: 5px;
	padding: 9px 11px;
	font-size: 15px;
	color: #222;
	background: var(--white);
	border: 1px solid rgba(2, 31, 144, 0.25);
	border-radius: 8px;
	transition: 0.2s ease;
}

#calcForm input:focus,
#calcForm select:focus {
	border-color: var(--dodgerblue);
	box-shadow: 0 0 0 2px rgba(0, 129, 229, 0.15);
}

#calcForm .btn-primary {
	background: var(--blue);
	color: var(--white);
	border: none;
	font-size: 15px;
	font-weight: 600;
	border-radius: 8px;
	padding: 12px 22px;
	cursor: pointer;
	transition: .25s;
}

#calcForm .btn-primary:hover {
	background: var(--dodgerblue);
	box-shadow: 0 4px 10px var(--blue-rgba);
	transform: translateY(-1px);
}

.calc-result {
	background: var(--blue);
	color: var(--white);
	font-weight: 600;
	font-size: 15px;
	text-align: center;
	border-radius: 8px;
	padding: 10px;
	margin-top: 10px;
}

.calc-result:empty {
	display: none;
}



/* — HERO media — от большого к малому — */
@media (min-width: 1200px) {
	.hero-title {
		font-size: 38px;
		line-height: 46px;
	}
}

@media (max-width: 992px) {

	.fade-in__container,
	.hero-calc {
		min-height: 340px;
	}

	/* равные высоты сохранены */
	.fade-in__container {
		max-width: 555px;
		padding: 18px 16px;
	}

	.hero-title {
		font-size: 28px;
		line-height: 36px;
	}

	.lead {
		font-size: 14px;
		line-height: 20px;
	}
}

/* Когда два блока уже не помещаются рядом — переводим в колонку */
@media (max-width: 992px) {
	.hero-content {
		flex-direction: column;
		/* сначала текст, потом калькулятор */
		align-items: stretch;
		/* оба блока по ширине контейнера */
		gap: 20px;
		/* расстояние между текстом и калькулятором */
		padding-bottom: 0;
		/* убираем искусственный запас снизу */
	}

	/* Текстовая карточка — только по высоте текста */
	.fade-in__container {
		max-width: 100%;
		min-height: 300px;
		/* <— важно, чтобы не тянулась по высоте */
	}

	/* Калькулятор под текстом и на всю ширину */
	.hero-calc {
		position: static;
		/* больше НИКАКИХ absolute */
		width: 100%;
		max-width: 75%;
		justify-content: stretch;
		margin: 0px auto;

	}

	.calc-card {
		width: 100%;
		max-width: 100%;
		margin-bottom: 20px;
	}
}



@media (max-width: 480px) {
	.fade-in__container {
		padding: 16px 14px;
	}

	.hero-title {
		font-size: 24px;
		line-height: 29px;
	}

	.lead {
		font-size: 14px;
		line-height: 20px;
	}

	.hero-calc {
		max-width: 100%;
	}
}

@media (max-width: 360px) {
	.calc-card {
		max-width: 250px;
	}

	.hero-title {
		line-height: 20px;
	}
}

/* === PREMIUM SELECT (твоя основа) === */
#calcForm select {
	appearance: none;
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 10px;

	font-size: 15px;
	color: #202020;

	padding: 12px 42px 12px 14px;
	cursor: pointer;
	transition: 0.25s ease;

	background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23161616' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
}

/* === Hover === */
#calcForm select:hover {
	border-color: var(--dark-blue);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

/* === Фокус — СИНЯЯ ОБВОДКА === */
#calcForm select:focus {
	border-color: var(--blue) !important;
	/* твоя синяя линия */
	box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.35) !important;
	/* СИНИЙ подсвет */
	outline: none;
}

/* === DROPDOWN === */
#calcForm select option {
	background: #000 !important;
	/* чёрный фон */
	color: #fff !important;
	/* белый текст */
	padding: 12px;
	font-size: 15px;
	border-bottom: 1px solid #ff2a2a;
	/* красная разделительная линия */
}

/* У последнего опции — нет линии */
#calcForm select option:last-child {
	border-bottom: none !important;
}

/* === Hover по option (Chrome/Edge) === */
#calcForm select option:hover {
	background: #111 !important;
	color: #fff !important;
}

/* === Firefox FIX для чёрного dropdown === */
@-moz-document url-prefix() {
	#calcForm select {
		color: #fff;
		background-color: #000 !important;
	}

	#calcForm select option {
		background: #000 !important;
		color: #fff !important;
		border-bottom: 1px solid #ff2a2a !important;
	}
}

/* =========================================================
   SERVICES (page__service-ops)
========================================================= */



.page__service {
	padding: 50px 0;
	text-align: center;
	border-top: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
}

/*=======================================*/

._title {
	display: inline-block;
	font-size: 32px;
	color: var(--blue);
	font-weight: 600;
	position: relative;
	margin-bottom: 20px;
}

._subtitle {
	font-size: 16px;
	color: var(--text-gray);
	margin-bottom: 45px;
	line-height: 1.4;
}

@media (max-width: 479px) {
	._title {
		font-size: 28px;
	}

	._subtitle {
		font-size: 14px;

	}
}

/*========================================*/
.service__title .underline {
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--dodgerblue), var(--blue), var(--dodgerblue));
	border-radius: 3px;
	transform: scaleX(0);
	transition: .6s;
}

.service__title.active .underline {
	transform: scaleX(1);
	box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}

.service__card-box {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}

.service__card {
	flex: 1 1 calc(25% - 24px);
	/*max-width: 260px;*/
	min-width: 220px;
	background: var(--white);
	border-radius: 14px;
	padding: 26px;
	text-align: center;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
	opacity: 0;
	transform: translateY(30px);
	transition: .25s ease;
}

.service__card.visible {
	opacity: 1;
	transform: translateY(0);
}

.service__card:hover {
	transform: translateY(-6px);
	box-shadow: 0 10px 28px rgba(2, 6, 23, 0.1);
}

.service__card .icon {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 70px;
	height: 70px;
	margin: 0 auto 18px;
	border-radius: 50%;
	border: 3px solid var(--dodgerblue);
	color: var(--dodgerblue);
	font-size: 30px;
	transition: .3s ease;
}

.service__card:hover .icon {
	transform: scale(1.08);
	box-shadow: 0 0 20px rgba(0, 123, 255, .6);
}

.service__card h3 {
	font-size: 19px;
	color: var(--blue);
	margin-bottom: 10px;
}

.service__card p {
	font-size: 14px;
	line-height: 22px;
	color: #4b5563;
}

.service__card a {
	color: #4b5563;
}

.service__card a:hover {
	color: var(--blue);
}

/* ======= 2 карточки в ряд (tablet) ======= */
@media (max-width: 997px) {
	.service__card {
		flex: 1 1 calc(50% - 24px);
		max-width: calc(50% - 24px);
	}
}

/* ======= 1 карточка в ряд (mobile) ======= */
@media (max-width: 480px) {
	.service__card {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

/* ======================= FAQ ======================= */
.page__steps {
	padding: 50px 0;
	background: var(--white);
	background: linear-gradient(180deg, rgba(2, 31, 144, 0.05), rgba(0, 129, 229, 0.08));
	text-align: center;
}

.steps__title .underline {
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--dodgerblue), var(--blue));
	transform: scaleX(0);
	transform-origin: left;
	transition: .6s ease-in-out;
}

.steps__title.active .underline {
	transform: scaleX(1);
}

.steps__list {
	max-width: 820px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	text-align: left;
	backdrop-filter: blur(8px);
	border-radius: 12px;
}

.steps__item {
	background: rgba(255, 255, 255, 0.7);
	margin-bottom: 12px;
	padding: 5px;
	border-radius: 12px;
	border: 1px solid rgba(2, 31, 144, 0.1);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
	transition: 0.3s ease;
}

.steps__item:hover {
	box-shadow: 0 6px 20px rgba(0, 129, 229, 0.15);
	transform: translateY(-2px);
}


.steps__item.active {
	border-color: var(--dodgerblue);
	box-shadow: 0 0 20px rgba(0, 123, 255, 0.15);
}

.steps__question {
	width: 100%;
	background: none;
	border: none;
	padding: 18px 22px;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--blue);
	cursor: pointer;
	font-weight: 600;
}

.steps__question i {
	transition: .3s ease;
}

.steps__answer {
	max-height: 0;
	overflow: hidden;
	padding: 0 22px;
	transition: max-height .4s ease, padding .3s ease;
}

.steps__answer p {
	padding: 10px 0 18px;
	color: #374151;
	line-height: 1.6;
}

.steps__item.active .steps__answer {
	max-height: 500px;
	padding: 0 22px 18px;
}

.steps__item.active .steps__question i {
	transform: rotate(45deg);
	color: var(--dodgerblue);
}


/* Лёгкий hover-эффект FAQ — как в оригинале */
.steps__item {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.steps__item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

@media (max-width: 480px) {
	.steps__question {
		font-size: 16px;
	}
}

/*=========================================================*/

.page__partners {
	padding: 50px 0;
	background: #ffffff;
	text-align: center;
}

.partners__title .underline {
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--dodgerblue), var(--blue));
	transform: scaleX(0);
	transform-origin: left;
	transition: 0.6s ease-in-out;
}

.partners__title.active .underline {
	transform: scaleX(1);
}

.partners__slider {
	position: relative;
	overflow: hidden;
	width: 100%;
}

/* Track */
.partners__track {
	display: flex;
	transition: transform 0.5s ease;
}

/* Item */
.partners__item {
	flex: 0 0 calc(100% / 6);
	/* по умолчанию — 6 на ПК */
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
}

.partners__img,
.partners__item img {
	height: 100px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partners__item img:hover {
	transform: scale(1.12);
	box-shadow: 0 8px 18px rgba(0, 140, 255, 0.18);
	opacity: 1;
}

/* Arrows */
.partners__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0);
	border: none;
	padding: 10px 14px;
	font-size: 22px;
	cursor: pointer;
	border-radius: 8px;
	transition: 0.3s;
	z-index: 5;
}

.partners__arrow:hover {
	background: white;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.partners__arrow--prev {
	left: 10px;
}

.partners__arrow--next {
	right: 10px;
}

/* ==== Adaptive ==== */

/* Tablet: 4 элемента */
@media (max-width: 1200px) {
	.partners__item {
		flex: 0 0 calc(100% / 4);
	}
}

/* Mobile: 2 элемента */
@media (max-width: 768px) {
	.partners__item {
		flex: 0 0 calc(100% / 2);
	}
}

@media (max-width: 479px) {

	.partners__img,
	.partners__item img {
		height: 60px;
	}
}

/* =========================================================
   ABOUT OPS + IMAGE + STATS
========================================================= */
.page__about {
	padding: 50px 0px;
	background: var(--white);
}

.about__flex {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 60px;
}

.about__text {
	max-width: 600px;
}

.about__title .underline {
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--dodgerblue), var(--blue));
	transform: scaleX(0);
	transform-origin: left;
	transition: .6s ease-in-out;
}

.about__title.visible .underline {
	transform: scaleX(1);
}


/* Картинка */
.about__image {
	display: flex;
	justify-content: center;
}

.about__image img {
	width: 100%;
	max-width: 480px;
	border-radius: 12px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	opacity: 0;
	transform: translateY(40px);
	transition: .6s ease;
}

.about__image.visible img {
	opacity: 1;
	transform: translateY(0);
}


@media (max-width: 768px) {

	.about__flex {
		position: relative;
		flex-direction: column;
		padding-top: 220px;
	}

	.about__image {
		position: absolute;
		inset: 0;
		height: 220px;
		z-index: 1;
	}

	.about__image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
		filter: brightness(0.9);
		aspect-ratio: 4 / 3;
	}

	/* Стеклянная карточка поверх */
	.about__text {
		position: relative;
		z-index: 2;
		margin-top: -40px;
		background: rgba(255, 255, 255, 0.75);
		backdrop-filter: blur(14px);
		border-radius: 14px;
		padding: 22px 20px;
		box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
		text-align: center;
	}
}

/* Статистика */
.about-stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 35px;
	margin-top: 50px;
	text-align: center;
}

.stat {
	flex: 1 1 calc(25% - 35px);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;

}

.stat-number {
	position: relative;
	display: inline-block;
	font-size: 38px;
	font-weight: 700;
	color: var(--dodgerblue);
	line-height: 1;
	margin-bottom: 6px;
	position: relative;
	display: inline-block;
	text-align: center;
}

.stat-number.flash::before,
.stat-number.flash::after {
	content: attr(data-value);
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%) scale(1);
	font-weight: 700;
	color: var(--dodgerblue);
	opacity: 0;
	pointer-events: none;
}

.stat-number.flash::before {
	animation: flashBefore 0.6s ease-out forwards;
}

.stat-number.flash::after {
	animation: flashAfter 0.6s ease-out forwards;
	animation-delay: 0.05s;
}

@keyframes flashBefore {
	0% {
		opacity: 0.7;
		transform: translate(-50%, -50%) scale(1);
		filter: blur(1px);
	}

	100% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(1.7);
		filter: blur(3px);
	}
}

@keyframes flashAfter {
	0% {
		opacity: 0.5;
		transform: translate(-50%, -50%) scale(1);
		filter: blur(1px);
	}

	100% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(2.1);
		filter: blur(5px);
	}
}

.stat-text {
	font-size: 14px;
	color: #4b5563;
	text-transform: uppercase;
	letter-spacing: .3px;
	line-height: 1.3;
	max-width: 180px;
	text-align: center;
}

@media (max-width: 768px) {
	.stat {
		flex: 1 1 calc(50% - 25px);
	}

	/* 2 в ряд */
}

@media (max-width: 480px) {
	.stat {
		flex: 1 1 100%;
	}

	/* 1 в ряд */
}

/* =========================================================
   ADVANTAGES
========================================================= */


.page__advantages {
	padding: 50px 0;
	text-align: center;
}



.advantages__title .underline {
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--dodgerblue), var(--blue));
	transform: scaleX(0);
	transform-origin: left;
	transition: 0.6s ease;
}

.advantages__title.active .underline {
	transform: scaleX(1);
}

/* Карточки */
.advantages__wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	justify-content: space-between;
}

.advantages__card {
	flex: 1 1 calc(25% - 30px);
	background: var(--dark-blue);
	padding: 30px 20px;
	border-radius: 12px;
	border: 1px solid rgba(0, 123, 255, 0.2);
	transition: .4s;
	text-align: center;
	color: var(--white);
}

.advantages__card a {
	color: var(--white);
}

/* === 2 карточки (планшеты) === */
@media (max-width: 992px) {
	.advantages__card {
		flex: 1 1 calc(50% - 30px);
	}
}

/* === 1 карточка (мобильные) === */
@media (max-width: 600px) {
	.advantages__card {
		flex: 1 1 100%;
	}
}

/* Иконки */
.advantages__icon {
	font-size: 40px;
	color: var(--white);
	margin-bottom: 20px;
	transition: .3s;
}

.advantages__card:hover .advantages-ops__icon {
	transform: scale(1.1);
	color: #cfe3ff;
}

.advantages__card {
	opacity: 0;
	transform: translateY(20px);
	transition: .5s ease;
}

.advantages__card.visible {
	opacity: 1;
	transform: translateY(0);
}

.advantages__card:hover {
	background: rgba(10, 25, 80, 0.9);
}

.advantages__card p {
	margin-top: 10px;
	font-size: 10px;
	line-height: 14px;
}

/* =========================================
   PROJECTS
========================================= */
.projects {
	padding: 50px 0;
	background: var(--white);
	text-align: center;
}



.projects__title .underline {
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--dodgerblue), var(--blue));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .6s ease-in-out;
}

.projects__title.active .underline {
	transform: scaleX(1);
}

.projects__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 30px;
}

.projects__card {
	flex: 1 1 calc(33.333% - 30px);
	max-width: 360px;
	background: var(--white);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	transition: transform .4s ease, box-shadow .4s ease;
	opacity: 0;
	transform: translateY(40px);
}

.projects__card.visible {
	opacity: 1;
	transform: translateY(0);
}

.projects__card:hover {
	transform: translateY(-10px);
	box-shadow: 0 10px 32px rgba(0, 123, 255, 0.25);
}

.projects__image img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	aspect-ratio: 16/9;
	transition: transform .5s;
}

.projects__card:hover img {
	transform: scale(1.05);
}

.projects__content {
	padding: 20px;
	text-align: left;
}

.projects__content h3 {
	color: var(--blue);
	font-size: 18px;
	margin-bottom: 10px;
}

.projects__content p {
	color: #374151;
	font-size: 14px;
	line-height: 1.6;
}



/* --- Индивидуальная адаптация 3-й карточки на планшете --- */
@media (max-width: 992px) {

	/* две верхние карточки */
	.projects__card {
		flex: 1 1 calc(50% - 30px);
		max-width: calc(50% - 30px);
	}

	/* третья карточка на всю ширину */
	.projects__card:nth-child(3) {
		flex: 1 1 100%;
		max-width: 100%;
		order: 3;
	}
}

@media (max-width: 600px) {
	.projects__card {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

/* =========================================
   PRICE OPS
========================================= */

.page__price {
	padding: 50px 0;
	background: linear-gradient(180deg, rgba(245, 247, 255, 0.5), rgba(255, 255, 255, 1));
	text-align: center;
}


.price__title .underline {
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--dodgerblue), var(--blue));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .6s ease-in-out;
}

/* main.js добавляет .visible на заголовок — запускаем линию */
.price__title.visible .underline {
	transform: scaleX(1);
}


/* Обёртка таблицы — анимируется от main.js через .visible */
.price__table-wrapper {
	max-width: 100%;
	overflow-x: auto;
	opacity: 0;
	transform: translateY(25px);
	transition: opacity 0.7s ease, transform 0.7s ease;
}

.price__table-wrapper.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Таблица */
.price__table {
	width: 100%;
	max-width: 900px;
	margin: 0 auto 50px;
	border-collapse: collapse;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
	border-radius: 14px;
	overflow: hidden;
	background: var(--white);
}

/* Заголовки колонок */
.price__table thead th {
	position: sticky;
	top: 0;
	background: var(--blue);
	color: var(--white);
	font-weight: 600;
	padding: 16px;
	font-size: 15px;
	z-index: 1;
}

/* Ячейки */
.price__table td {
	padding: 14px;
	font-size: 15px;
	color: #333;
	border-bottom: 1px solid #e5e7eb;
}

/* Чередование строк */
.price__table tbody tr:nth-child(even) {
	background: #f9fafb;
}

/* Hover по строке */
.price__table tbody tr:hover td {
	background: rgba(0, 123, 255, 0.05);
	color: var(--blue);
}


/* Кнопка "Заказать расчёт" или подобная */


.price__btn {
	display: inline-block;
	/* обязательно */
	text-decoration: none;
	/* убирает подчёркивание */
	background: var(--red);
	color: var(--white);
	padding: 12px 26px;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 600;
	transition: 0.3s;
}

.price__btn:hover {
	background: var(--red);
	box-shadow: 0 6px 18px rgba(255, 0, 0, 0.25);
	transform: translateY(-2px);
}

/* Примечание под таблицей */
.price__note {
	color: #6b7280;
	font-size: 14px;
	margin-top: -20px;
	margin-bottom: 35px;
	font-style: italic;
	max-width: 650px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.5;
}

/* Адаптив */
@media (max-width: 768px) {
	.price__title {
		font-size: 28px;
	}

	.price__table th,
	.price__table td {
		font-size: 11px;
		padding: 10px;
	}

	.price__btn {
		padding: 10px 20px;
	}
}

.price__table td.left {
	text-align: left !important;
}

.price-vid__table td.left {
	text-align: left !important;
}

/* ===== Utilities ===== */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(25px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
}

/* ======================= FAQ ======================= */
.page__faq {
	padding: 50px 0;
	background: linear-gradient(180deg, rgba(245, 247, 255, 0.5), rgba(255, 255, 255, 1));
	text-align: center;
}


.faq__title .underline {
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--dodgerblue), var(--blue));
	transform: scaleX(0);
	transform-origin: left;
	transition: .6s ease-in-out;
}

.faq__title.active .underline {
	transform: scaleX(1);
}

.faq__subtitle {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 40px;
	color: #666;
	font-size: 15px;
	line-height: 1.5;
}

.faq__list {
	max-width: 820px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	text-align: left;
}

.faq__item {
	background: rgba(255, 255, 255, 0.7);
	margin-bottom: 12px;
	padding: 5px 5px;
	border-radius: 12px;
	border: 1px solid rgba(2, 31, 144, 0.1);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
	transition: 0.25s ease;
}

.faq__item:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 129, 229, 0.15);
}

.faq__question {
	width: 100%;
	background: none;
	border: none;
	padding: 18px 22px;
	font-size: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	font-weight: 600;
	color: var(--blue);
}

.faq__question i {
	transition: .3s ease;
}

.faq__answer {
	max-height: 0;
	overflow: hidden;
	padding: 0 22px;
	transition: max-height .4s ease, padding .3s ease;
}

.faq__answer p {
	padding: 10px 0 18px;
	color: #374151;
	line-height: 1.6;
}

.faq__item.active .faq__answer {
	max-height: 500px;
	padding: 0 22px 18px;
}

.faq__item.active .faq__question i {
	transform: rotate(45deg);
	color: var(--dodgerblue);
}

@media (max-width: 480px) {
	.faq__question {
		font-size: 16px;
	}
}