/* ==== Local Google Fonts (TTF) ==== */
@font-face {
	font-family: 'Poppins';
	src: url('../fonts/Poppins-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Poppins';
	src: url('../fonts/Poppins-SemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

/* ==== CSS Reset (minimal, accessible) ==== */
* {
	box-sizing: border-box;
}
html:focus-within {
	scroll-behavior: smooth;
}
html,
body {
	height: 100%;
}
body {
	margin: 0;
	font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial,
		sans-serif;
	line-height: 1.6;
	color: #1d2330;
	background: #f7f9fc;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Limit ALL images ≤ 350px width as requested */
img {
	max-width: 350px;
	width: 100%;
	height: auto;
	display: block;
	border-radius: 14px;
}

/* Containers */
.do-container {
	width: min(1120px, 92vw);
	margin-inline: auto;
	padding-inline: 1rem;
}

/* Header */
.do-header {
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.do-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 64px;
}
.do-logo {
	font-weight: 700;
	letter-spacing: 0.3px;
	text-decoration: none;
	color: #10151f;
}
.do-logo span {
	color: #3b7be3;
}

/* Nav */
.do-nav {
	position: relative;
}
.do-burger {
	appearance: none;
	background: transparent;
	border: 0;
	padding: 8px;
	display: inline-flex;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
}
.do-burger__bar {
	width: 22px;
	height: 2px;
	background: #10151f;
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.2s ease;
}
.do-menu {
	display: flex;
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.do-menu a {
	text-decoration: none;
	color: #1d2330;
	font-weight: 500;
	padding: 10px 6px;
	border-radius: 8px;
	transition: background-color 0.25s ease, transform 0.2s ease;
}
.do-menu a:hover {
	background: #e8f0ff;
	transform: translateY(-1px);
}
.do-header__shadow {
	height: 0;
}

/* Mobile nav behavior */
@media (max-width: 860px) {
	.do-menu {
		position: fixed;
		inset: 64px 0 auto 0;
		background: #ffffff;
		border-bottom: 1px solid rgba(0, 0, 0, 0.06);
		padding: 14px 1rem;
		gap: 0.5rem;
		flex-direction: column;
		transform: translateY(-8px);
		opacity: 0;
		pointer-events: none;
		transition: transform 0.25s ease, opacity 0.25s ease;
	}
	.do-menu.is-open {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}
}

/* Buttons */
.do-btn {
	--ring: 0 0 0 0 rgba(59, 123, 227, 0);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.78rem 1.1rem;
	border-radius: 12px;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.2s ease,
		background-color 0.2s ease;
	box-shadow: var(--ring);
}
.do-btn--primary {
	background: #3b7be3;
	color: #fff;
}
.do-btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 7px 18px rgba(59, 123, 227, 0.25);
}
.do-btn--ghost {
	background: #eef3ff;
	color: #1d2330;
}
.do-btn--ghost:hover {
	background: #e4ecff;
	transform: translateY(-1px);
}

/* Chips */
.chip {
	display: inline-block;
	padding: 0.35rem 0.6rem;
	border-radius: 999px;
	background: #eef3ff;
	color: #24406b;
	font-size: 0.85rem;
	margin-right: 0.4rem;
}

/* Footer (new structure) */
.footer {
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	background: #fff;
	padding-block: 28px;
}
.footer .container.footer-container {
	width: min(1120px, 92vw);
	margin-inline: auto;
	padding-inline: 1rem;

	display: grid;
	gap: 1rem;
	align-items: start;
	grid-template-columns: 1.1fr 0.9fr 0.9fr;
}
.footer-brand {
	font-weight: 700;
	color: #10151f;
	margin: 0 0 6px;
}
.footer a {
	color: #1d2330;
	text-decoration: none;
}
.footer a:hover {
	text-decoration: underline;
}
.footer-column.footer-links a {
	display: inline-block;
	margin-right: 0.8rem;
	padding: 0.3rem 0.5rem;
	border-radius: 8px;
}
.footer-column.footer-links a:hover {
	background: #eef3ff;
	text-decoration: none;
}
.footer-column.footer-top .back-to-top {
	appearance: none;
	border: 0;
	background: #e9f2ff;
	color: #1d2330;
	padding: 0.6rem 0.9rem;
	border-radius: 10px;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.2s ease;
}
.footer-column.footer-top .back-to-top:hover {
	background: #dfeaff;
	transform: translateY(-1px);
}

@media (max-width: 880px) {
	.footer .container.footer-container {
		grid-template-columns: 1fr;
	}
}

/* Reveal-on-scroll (used via [data-reveal]) */
[data-reveal] {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.2, 1),
		transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
[data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Float parallax cards (used via [data-float]) */
[data-float] {
	will-change: transform;
	transition: transform 0.2s ease;
}
[data-float]:hover {
	transform: translateY(-6px);
}

/* Utility */
.eyebrow {
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #6a7386;
	font-size: 0.82rem;
}
.lede {
	font-size: 1.05rem;
	color: #2a3446;
}

/* Media Queries — global typography & spacing */
@media (max-width: 720px) {
	.do-header__inner {
		min-height: 58px;
	}
	.lede {
		font-size: 1rem;
	}
}
@media (max-width: 420px) {
	.do-container {
		padding-inline: 0.75rem;
	}
}
/* === Desktop defaults === */
.do-burger {
	display: none;
} /* скрыт по умолчанию (десктоп) */
.do-menu {
	display: flex; /* меню всегда видно на десктопе */
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* === Mobile / Tablet === */
@media (max-width: 860px) {
	.do-burger {
		/* показываем бургер только <=860px */
		display: inline-flex;
	}
	.do-menu {
		position: fixed;
		inset: 64px 0 auto 0;
		background: #ffffff;
		border-bottom: 1px solid rgba(0, 0, 0, 0.06);
		padding: 14px 1rem;
		gap: 0.5rem;
		flex-direction: column;

		/* скрыто по умолчанию на мобиле */
		transform: translateY(-8px);
		opacity: 0;
		pointer-events: none;
		transition: transform 0.25s ease, opacity 0.25s ease;
	}
	.do-menu.is-open {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}
}
/* ===== Thank You page ===== */
.thankyou-section {
	min-height: 100dvh;
	display: grid;
	place-items: center;
	background: radial-gradient(
			600px 280px at 100% -10%,
			#f4f7ff 0%,
			transparent 70%
		),
		linear-gradient(#ffffff, #f7f9fc);
	padding: 24px 0;
}

.container.thankyou-container {
	width: min(780px, 92vw);
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 16px 40px rgba(13, 19, 32, 0.08);
	padding: clamp(20px, 4vw, 36px);
	text-align: center;
	animation: ty-pop 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.thankyou-title {
	margin: 0 0 10px;
	font-size: clamp(1.6rem, 3.2vw, 2.2rem);
	color: #0d1320;
}

.thankyou-message {
	margin: 0 0 16px;
	color: #1d2330;
	line-height: 1.6;
}

.cta-button {
	display: inline-block;
	padding: 0.75rem 1.1rem;
	border-radius: 12px;
	background: #3b7be3;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.cta-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(59, 123, 227, 0.28);
	background: #2f69c7;
}

@keyframes ty-pop {
	from {
		transform: translateY(8px);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* Small screens */
@media (max-width: 520px) {
	.thankyou-message {
		font-size: 0.98rem;
	}
}
