/* ================= GLOBAL ================= */
:root {
	--color-bg: #f8fafc;
	--color-text: #0f172a;
	--color-text-muted: #64748b;
	--color-primary: #6366f1; /* Индиго */
	--color-primary-hover: #4f46e5;
	--color-accent: #10b981; /* Изумрудный */
	--color-white: #ffffff;
	--color-border: #e2e8f0;

	--font-main: 'Inter', sans-serif;
	--font-heading: 'Poppins', sans-serif;

	--transition: 0.3s ease-in-out;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-main);
	background-color: var(--color-bg);
	color: var(--color-text);
	line-height: 1.6;
	font-size: 16px;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

a {
	text-decoration: none;
	color: inherit;
	transition: var(--transition);
}

ul {
	list-style: none;
}

.container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
}

.main {
	flex: 1; /* Чтобы футер всегда был прижат к низу */
	margin-top: 80px; /* Отступ на высоту хедера */
}

/* ================= BUTTONS ================= */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border-radius: 8px;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	border: none;
	transition: var(--transition);
	text-align: center;
}

.btn--primary {
	background-color: var(--color-primary);
	color: var(--color-white);
	box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn--primary:hover {
	background-color: var(--color-primary-hover);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.btn--mobile-only {
	display: block;
	margin-top: 20px;
	background-color: var(--color-primary);
	color: var(--color-white);
}

@media (min-width: 1024px) {
	.btn--mobile-only {
		display: none;
	}
}

/* ================= HEADER ================= */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--color-border);
	z-index: 1000;
	transition: var(--transition);
}

.header__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 80px;
}

.header__logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

.header__logo-icon {
	width: 32px;
	height: 32px;
}

.header__logo-text {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 20px;
	color: var(--color-text);
}

.header__nav {
	display: none; /* Mobile first: скрыто */
}

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

.header__btn {
	display: none; /* Скрываем кнопку на мобильных в шапке */
}

.header__burger {
	background: none;
	border: none;
	color: var(--color-text);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Мобильное меню активно */
.header__nav.is-active {
	display: block;
	position: absolute;
	top: 80px;
	left: 0;
	width: 100%;
	background-color: var(--color-white);
	padding: 20px;
	border-bottom: 1px solid var(--color-border);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.header__item {
	margin-bottom: 15px;
}

.header__link {
	font-weight: 500;
	color: var(--color-text);
	font-size: 14px;
	white-space: nowrap;
}

.header__link:hover {
	color: var(--color-primary);
}

@media (min-width: 1024px) {
	.header__burger {
		display: none;
	}
	.header__nav {
		display: block;
	}
	.header__menu {
		display: flex;
		gap: 16px;
		align-items: center;
	}
	.header__item {
		margin-bottom: 0;
	}
	.header__btn {
		display: inline-flex;
		padding: 10px 20px;
		font-size: 13px;
	}
}

@media (min-width: 1200px) {
	.header__menu {
		gap: 24px;
	}
	.header__link {
		font-size: 15px;
	}
	.header__btn {
		padding: 12px 24px;
		font-size: 14px;
	}
}

/* ================= FOOTER ================= */
.footer {
	background-color: var(--color-white);
	border-top: 1px solid var(--color-border);
	padding-top: 60px;
	margin-top: auto;
}

.footer__container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	padding-bottom: 40px;
}

.footer__logo {
	margin-bottom: 15px;
}

.footer__desc {
	color: var(--color-text-muted);
	font-size: 14px;
}

.footer__title {
	font-family: var(--font-heading);
	font-size: 18px;
	margin-bottom: 20px;
	color: var(--color-text);
}

.footer__menu li,
.footer__contact-item {
	margin-bottom: 12px;
}

.footer__link {
	color: var(--color-text-muted);
	font-size: 15px;
}

.footer__link:hover {
	color: var(--color-primary);
	padding-left: 5px;
}

.footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--color-text-muted);
	font-size: 15px;
}

.footer__icon {
	width: 18px;
	height: 18px;
	color: var(--color-primary);
	flex-shrink: 0;
	margin-top: 3px;
}

.footer__bottom {
	background-color: var(--color-bg);
	padding: 20px 0;
	text-align: center;
	color: var(--color-text-muted);
	font-size: 14px;
	border-top: 1px solid var(--color-border);
}

@media (min-width: 768px) {
	.footer__container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.footer__container {
		grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
	}
}

/* ================= BUTTONS EXTENDED ================= */
.btn--outline {
	background-color: transparent;
	color: var(--color-text);
	border: 1px solid var(--color-border);
}

.btn--outline:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
	transform: translateY(-2px);
}

.text-gradient {
	background: linear-gradient(
		90deg,
		var(--color-primary) 0%,
		var(--color-accent) 100%
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* ================= HERO SECTION ================= */
.hero {
	padding: 60px 0 80px;
	min-height: calc(100vh - 80px); /* Высота экрана минус хедер */
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.hero__container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	align-items: center;
	position: relative;
	z-index: 2;
}

.hero__badge {
	display: inline-block;
	padding: 6px 16px;
	background-color: rgba(99, 102, 241, 0.1);
	color: var(--color-primary);
	border-radius: 20px;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 24px;
	border: 1px solid rgba(99, 102, 241, 0.2);
}

.hero__title {
	font-family: var(--font-heading);
	font-size: 36px;
	line-height: 1.2;
	font-weight: 700;
	margin-bottom: 24px;
	color: var(--color-text);
}

.hero__text {
	font-size: 16px;
	color: var(--color-text-muted);
	margin-bottom: 32px;
	max-width: 500px;
}

.hero__actions {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* ================= HERO DASHBOARD VISUAL ================= */
.hero__visual--dashboard {
	position: relative;
	width: 100%;
	height: 350px;
	border-radius: 24px;
	background: linear-gradient(
		145deg,
		#0f172a 0%,
		#1e293b 100%
	); /* Темный премиальный фон */
	border: 1px solid rgba(99, 102, 241, 0.3);
	overflow: hidden;
	box-shadow: 0 24px 50px -12px rgba(99, 102, 241, 0.25);
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero__canvas {
	width: 100%;
	height: 100%;
	display: block;
}

/* Плавающие плашки */
.hero__badge-floating {
	position: absolute;
	background: rgba(15, 23, 42, 0.6);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--color-white);
	padding: 12px 20px;
	border-radius: 16px;
	font-size: 14px;
	display: flex;
	align-items: center;
	gap: 10px;
	z-index: 10;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	animation: float 4s ease-in-out infinite;
}

.hero__badge-floating i {
	width: 18px;
	height: 18px;
	color: var(--color-accent); /* Изумрудная иконка */
}

.hero__badge-floating strong {
	color: var(--color-accent);
	font-family: var(--font-heading);
}

.hero__badge-floating--top {
	top: 30px;
	left: 30px;
}

.hero__badge-floating--bottom {
	bottom: 30px;
	right: 30px;
	animation-delay: 2s; /* Анимация в противофазе */
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-12px);
	}
}

@media (min-width: 992px) {
	.hero__visual--dashboard {
		height: 450px;
	}
}

@media (min-width: 576px) {
	.hero__actions {
		flex-direction: row;
	}
}

@media (min-width: 992px) {
	.hero {
		padding: 80px 0 120px;
	}
	.hero__container {
		grid-template-columns: 1.2fr 1fr;
		gap: 60px;
	}
	.hero__title {
		font-size: 52px;
	}
	.hero__text {
		font-size: 18px;
	}
}

/* ================= GLOBAL SECTION STYLES ================= */
.section {
	padding: 80px 0;
}

.section__header {
	max-width: 700px;
	margin: 0 auto 50px;
}

.text-center {
	text-align: center;
}

.section__badge {
	display: inline-block;
	padding: 4px 12px;
	background-color: rgba(16, 185, 129, 0.1);
	color: var(--color-accent);
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 16px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.section__title {
	font-family: var(--font-heading);
	font-size: 32px;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 20px;
}

.section__subtitle {
	font-size: 16px;
	color: var(--color-text-muted);
}

.section__subtitle strong {
	color: var(--color-primary);
	font-weight: 600;
}

/* ================= TECHNOLOGY SECTION ================= */
.technology {
	background-color: var(--color-white);
}

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

.feature-card {
	background-color: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: 20px;
	padding: 40px 30px;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	z-index: 1;
}

/* Декоративный градиентный блик при наведении */
.feature-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		135deg,
		rgba(99, 102, 241, 0.05) 0%,
		rgba(16, 185, 129, 0.05) 100%
	);
	z-index: -1;
	opacity: 0;
	transition: var(--transition);
}

.feature-card:hover {
	transform: translateY(-10px);
	border-color: rgba(99, 102, 241, 0.3);
	box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1);
}

.feature-card:hover::before {
	opacity: 1;
}

.feature-card__icon {
	width: 60px;
	height: 60px;
	background-color: var(--color-white);
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
	box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.15);
	color: var(--color-primary);
	transition: var(--transition);
}

.feature-card:hover .feature-card__icon {
	background-color: var(--color-primary);
	color: var(--color-white);
	transform: scale(1.1) rotate(-5deg);
}

.feature-card__title {
	font-family: var(--font-heading);
	font-size: 20px;
	margin-bottom: 12px;
	color: var(--color-text);
}

.feature-card__text {
	color: var(--color-text-muted);
	font-size: 15px;
	line-height: 1.6;
}

@media (min-width: 768px) {
	.technology__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.section__title {
		font-size: 38px;
	}
}

@media (min-width: 992px) {
	.technology__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ================= SCROLL ANIMATION (JS) ================= */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ================= INCOME SECTION & ACCORDION ================= */
.income {
	background-color: var(--color-bg);
	overflow: hidden;
}

.income__container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 50px;
	align-items: center;
}

.accordion {
	margin-top: 30px;
	margin-bottom: 30px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.accordion__item {
	background-color: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	overflow: hidden;
	transition: var(--transition);
}

.accordion__item:hover {
	border-color: rgba(99, 102, 241, 0.4);
}

.accordion__header {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	background: none;
	border: none;
	cursor: pointer;
	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 600;
	color: var(--color-text);
	text-align: left;
	transition: var(--transition);
}

.accordion__icon {
	width: 20px;
	height: 20px;
	color: var(--color-primary);
	transition: transform 0.3s ease;
	flex-shrink: 0;
	margin-left: 15px;
}

.accordion__header[aria-expanded='true'] .accordion__icon {
	transform: rotate(180deg);
}

.accordion__header[aria-expanded='true'] {
	color: var(--color-primary);
}

.accordion__content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-in-out;
}

.accordion__body {
	padding: 0 20px 20px;
	color: var(--color-text-muted);
	font-size: 15px;
	line-height: 1.6;
}

/* Изображение с плейсхолдером */
.image-wrapper {
	position: relative;
	border-radius: 24px;
	z-index: 1;
}

.income__img {
	width: 100%;
	height: auto;
	border-radius: 24px;
	display: block;
	position: relative;
	z-index: 2;
	box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1);
	/* Если плейсхолдера нет, добавим серый фон */
	background-color: #e2e8f0;
	min-height: 300px;
	object-fit: cover;
}

.image-decor {
	position: absolute;
	border-radius: 50%;
	filter: blur(40px);
	z-index: 0;
}

.image-decor--1 {
	width: 200px;
	height: 200px;
	background-color: rgba(99, 102, 241, 0.3);
	top: -30px;
	right: -30px;
}

.image-decor--2 {
	width: 150px;
	height: 150px;
	background-color: rgba(16, 185, 129, 0.3);
	bottom: -20px;
	left: -20px;
}

/* ================= STEPS SECTION ================= */
.steps {
	background-color: var(--color-white);
}

.steps__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	position: relative;
}

.step-card {
	background-color: var(--color-bg);
	padding: 40px 30px;
	border-radius: 20px;
	position: relative;
	border: 1px solid var(--color-border);
	transition: var(--transition);
}

.step-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px -10px rgba(99, 102, 241, 0.15);
	border-color: rgba(99, 102, 241, 0.3);
}

.step-card__number {
	font-family: var(--font-heading);
	font-size: 48px;
	font-weight: 700;
	color: transparent;
	-webkit-text-stroke: 1px var(--color-primary);
	margin-bottom: 20px;
	opacity: 0.5;
	transition: var(--transition);
}

.step-card:hover .step-card__number {
	color: var(--color-primary);
	-webkit-text-stroke: 0;
	opacity: 1;
}

.step-card__title {
	font-family: var(--font-heading);
	font-size: 20px;
	margin-bottom: 12px;
	color: var(--color-text);
}

.step-card__text {
	color: var(--color-text-muted);
	font-size: 15px;
}

@media (min-width: 992px) {
	.income__container {
		grid-template-columns: 1fr 1fr;
		gap: 80px;
	}
	.steps__grid {
		grid-template-columns: repeat(3, 1fr);
	}
	/* Линия между шагами на десктопе */
	.steps__grid::before {
		content: '';
		position: absolute;
		top: 60px;
		left: 50px;
		right: 50px;
		height: 2px;
		background: dashed 2px var(--color-border);
		z-index: 0;
	}
}

/* ================= TEST SECTION ================= */
.test {
	background-color: var(--color-white);
	padding: 40px 0;
}

.test__box {
	background: linear-gradient(
		135deg,
		var(--color-primary) 0%,
		var(--color-accent) 100%
	);
	border-radius: 30px;
	padding: 50px 30px;
	display: flex;
	flex-direction: column;
	gap: 40px;
	align-items: center;
	position: relative;
	overflow: hidden;
	box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.4);
}

.test__content {
	color: var(--color-white);
	text-align: center;
	position: relative;
	z-index: 2;
}

.section__badge--white {
	background-color: rgba(255, 255, 255, 0.2);
	color: var(--color-white);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

.test__title {
	font-family: var(--font-heading);
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 16px;
}

.test__text {
	font-size: 16px;
	opacity: 0.9;
	margin-bottom: 30px;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.btn--white {
	background-color: var(--color-white);
	color: var(--color-primary);
}

.btn--white:hover {
	background-color: var(--color-bg);
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.test__visual {
	position: relative;
	width: 150px;
	height: 150px;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1;
}

.test__circle {
	width: 80px;
	height: 80px;
	background-color: var(--color-white);
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 3;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.test__icon {
	width: 40px;
	height: 40px;
	color: var(--color-primary);
}

.test__ring {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.4);
	animation: ripple 3s linear infinite;
}

.test__ring--1 {
	width: 100px;
	height: 100px;
}

.test__ring--2 {
	width: 120px;
	height: 120px;
	animation-delay: 1.5s;
}

@keyframes ripple {
	0% {
		width: 80px;
		height: 80px;
		opacity: 1;
	}
	100% {
		width: 250px;
		height: 250px;
		opacity: 0;
	}
}

@media (min-width: 992px) {
	.test__box {
		flex-direction: row;
		justify-content: space-between;
		padding: 60px 80px;
		text-align: left;
	}
	.test__content {
		text-align: left;
		max-width: 60%;
	}
	.test__text {
		margin-left: 0;
	}
}

/* ================= DETAILS SECTION ================= */
.details {
	background-color: var(--color-bg);
	padding-bottom: 100px; /* Больший отступ перед футером/контактами */
}

.details__subtitle {
	max-width: 600px;
	margin: 0 auto 40px;
}

.details__actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ================= CONTACT SECTION & FORM ================= */
.contact {
	background-color: var(--color-white);
	padding-top: 0; /* Поднимаем ближе к предыдущей секции */
	padding-bottom: 100px;
	padding-top: 80px;
}

.contact__box {
	max-width: 600px;
	margin: 0 auto;
	background-color: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: 24px;
	padding: 40px 30px;
	box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.1);
	position: relative;
	overflow: hidden;
}

.form__group {
	margin-bottom: 24px;
	position: relative;
}

.form__label {
	display: block;
	font-weight: 500;
	margin-bottom: 8px;
	color: var(--color-text);
	font-size: 14px;
}

.form__input {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	background-color: var(--color-white);
	font-family: var(--font-main);
	font-size: 16px;
	color: var(--color-text);
	transition: var(--transition);
	outline: none;
}

.form__input::placeholder {
	color: #94a3b8;
}

.form__input:focus {
	border-color: var(--color-primary);
	box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* Стили для ошибок валидации */
.form__input.is-invalid {
	border-color: #ef4444; /* Красный */
	box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.form__error {
	display: none;
	color: #ef4444;
	font-size: 12px;
	margin-top: 6px;
}

.form__error.is-visible {
	display: block;
}

/* Чекбокс */
.form__checkbox-group {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 30px;
}

.form__checkbox {
	margin-top: 4px;
	width: 18px;
	height: 18px;
	accent-color: var(--color-primary);
	cursor: pointer;
}

.form__checkbox-label {
	font-size: 13px;
	color: var(--color-text-muted);
	line-height: 1.5;
	cursor: pointer;
}

/* Кнопка отправки */
.form__submit {
	width: 100%;
	position: relative;
}

.btn__loader {
	position: absolute;
	width: 20px;
	height: 20px;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	100% {
		transform: rotate(360deg);
	}
}

/* Сообщение об успехе */
.hidden {
	display: none !important;
}

.success-message {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 20px 0;
	animation: fadeIn 0.5s ease-out forwards;
}

.success-message__icon {
	width: 64px;
	height: 64px;
	background-color: rgba(16, 185, 129, 0.1);
	color: var(--color-accent);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.success-message__icon i {
	width: 32px;
	height: 32px;
}

.success-message__title {
	font-family: var(--font-heading);
	font-size: 24px;
	color: var(--color-text);
	margin-bottom: 12px;
}

.success-message__text {
	color: var(--color-text-muted);
	font-size: 16px;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (min-width: 768px) {
	.contact__box {
		padding: 50px 60px;
	}
}

/* ================= COOKIE POP-UP ================= */
.cookie-popup {
	position: fixed;
	bottom: -100%; /* Скрыт по умолчанию */
	left: 20px;
	right: 20px;
	background-color: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 10px 40px rgba(15, 23, 42, 0.15);
	display: flex;
	flex-direction: column;
	gap: 15px;
	z-index: 9999;
	transition: bottom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); /* Плавное "выпрыгивание" */
}

.cookie-popup.is-visible {
	bottom: 20px;
}

.cookie-popup__content {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.cookie-popup__icon {
	color: var(--color-accent);
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.cookie-popup__text {
	font-size: 14px;
	color: var(--color-text-muted);
	line-height: 1.5;
}

.cookie-popup__link {
	color: var(--color-primary);
	text-decoration: underline;
	font-weight: 500;
}

.cookie-popup__link:hover {
	text-decoration: none;
}

.cookie-popup__btn {
	padding: 10px 20px;
	font-size: 13px;
	width: 100%;
}

@media (min-width: 576px) {
	.cookie-popup {
		left: auto;
		right: 20px;
		width: 400px;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
	.cookie-popup__btn {
		width: auto;
		flex-shrink: 0;
	}
}

/* ================= LEGAL PAGES STYLES (.pages) ================= */
/* Эти стили применятся к твоим privacy.html, terms.html и т.д. */
.pages {
	padding: 120px 0 80px; /* Большой отступ сверху из-за фиксированного хедера */
	background-color: var(--color-bg);
	min-height: calc(100vh - 300px);
}

.pages .container {
	max-width: 800px; /* Сужаем контейнер для удобства чтения длинных текстов */
	background-color: var(--color-white);
	padding: 50px;
	border-radius: 24px;
	border: 1px solid var(--color-border);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.pages h1 {
	font-family: var(--font-heading);
	font-size: 32px;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--color-border);
}

.pages h2 {
	font-family: var(--font-heading);
	font-size: 22px;
	font-weight: 600;
	color: var(--color-text);
	margin-top: 40px;
	margin-bottom: 20px;
}

.pages p {
	font-size: 16px;
	color: var(--color-text-muted);
	line-height: 1.8;
	margin-bottom: 20px;
}

.pages ul {
	margin-bottom: 20px;
	padding-left: 20px;
	color: var(--color-text-muted);
}

.pages li {
	margin-bottom: 10px;
	line-height: 1.6;
	position: relative;
}

.pages li::marker {
	color: var(--color-primary); /* Цвет маркеров списка */
}

.pages strong {
	color: var(--color-text);
	font-weight: 600;
}

.pages a {
	color: var(--color-primary);
	text-decoration: underline;
	transition: var(--transition);
}

.pages a:hover {
	color: var(--color-primary-hover);
	text-decoration: none;
}

@media (max-width: 768px) {
	.pages .container {
		padding: 30px 20px;
	}
	.pages h1 {
		font-size: 26px;
	}
}

/* ================= CONTACTS PAGE (contacts.html) ================= */
.contacts-page {
    padding-top: 120px; /* Отступ под фиксированный хедер */
    padding-bottom: 80px;
    background-color: var(--color-bg);
    min-height: calc(100vh - 300px);
}

.contacts-page__header {
    margin-bottom: 60px;
}

.contacts-page__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.info-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 15px 35px -10px rgba(15, 23, 42, 0.05);
}

.info-card__title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--color-text);
    margin-bottom: 30px;
}

.info-card__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.info-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-card__icon {
    width: 48px;
    height: 48px;
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--color-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card__list strong {
    display: block;
    color: var(--color-text);
    font-size: 14px;
    margin-bottom: 4px;
}

.info-card__list span,
.info-card__list a {
    color: var(--color-text-muted);
    font-size: 16px;
}

.info-card__list a:hover {
    color: var(--color-primary);
}

.info-card__map {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 200px;
    background-color: #E2E8F0;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-badge {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: var(--color-text);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-heading);
}

@media (min-width: 992px) {
    .contacts-page__grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 60px;
        align-items: start;
    }
}
