/* ═══════════════════════════════════════════════════════════════════════════
   style.css — European Economic Union
   Production-grade · Mobile-first · Full coverage
═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ─────────────────────────────────────────────────────────────────────────
   CSS VARIABLES
───────────────────────────────────────────────────────────────────────── */
:root {
	--blue: #1e40af;
	--blue-hover: #1e3a8a;
	--blue-dark: #172554;
	--blue-mid: #3b82f6;
	--blue-light: #eff6ff;
	--blue-pale: #dbeafe;
	--blue-xpale: #eff6ff;
	--green: #059669;
	--green-light: #d1fae5;
	--red: #dc2626;
	--red-light: #fef2f2;
	--white: #ffffff;
	--text: #0f172a;
	--text-2: #1e293b;
	--text-3: #334155;
	--text-4: #64748b;
	--text-5: #94a3b8;
	--border: #e2e8f0;
	--border-2: #cbd5e1;
	--bg-soft: #f8fafc;
	--bg-page: #f1f5f9;

	--shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 2px rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.05);
	--shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.06);
	--shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.14), 0 8px 16px rgba(0, 0, 0, 0.08);
	--shadow-2xl: 0 30px 60px rgba(0, 0, 0, 0.2), 0 12px 24px rgba(0, 0, 0, 0.1);
	--shadow-blue: 0 8px 24px rgba(30, 64, 175, 0.28);
	--shadow-blue-lg: 0 16px 40px rgba(30, 64, 175, 0.36);

	--r-xs: 4px;
	--r-sm: 6px;
	--r: 10px;
	--r-md: 12px;
	--r-lg: 16px;
	--r-xl: 20px;
	--r-2xl: 24px;
	--r-full: 9999px;

	--font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--section-py: 96px;
	--container: 1160px;
	--gutter: 24px;

	--input-h: 48px;
	--input-pad: 0 16px;
	--input-fs: 14px;

	--t-fast: 0.15s ease;
	--t-base: 0.22s ease;
	--t-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	--t-spring: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ─────────────────────────────────────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
	-webkit-text-size-adjust: 100%;
}

html {
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overscroll-behavior: none;
	font-size: 16px;
}

body,
body.landing-body {
	font-family: var(--font);
	background: var(--white);
	color: var(--text);
	overflow-x: hidden;
	line-height: 1.6;
	min-height: 100vh;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

button {
	font-family: var(--font);
	cursor: pointer;
	border: none;
	background: none;
	outline: none;
}

button:focus-visible {
	outline: 2px solid var(--blue);
	outline-offset: 2px;
}

a {
	color: inherit;
	text-decoration: none;
}

input,
textarea,
select {
	font-family: var(--font);
	font-size: var(--input-fs);
}

ul,
ol {
	list-style: none;
}

.hidden {
	display: none !important;
}

/* ─────────────────────────────────────────────────────────────────────────
   CONTAINER
───────────────────────────────────────────────────────────────────────── */
.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

/* ─────────────────────────────────────────────────────────────────────────
   SKELETON
───────────────────────────────────────────────────────────────────────── */
.skeleton {
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.1) 25%,
		rgba(255, 255, 255, 0.25) 50%,
		rgba(255, 255, 255, 0.1) 75%
	);
	background-size: 200% 100%;
	animation: shimmer 1.6s ease-in-out infinite;
	border-radius: var(--r-xs);
}

@keyframes shimmer {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

.skeleton-flag {
	width: 28px;
	height: 20px;
	border-radius: 3px;
}
.skeleton-text {
	width: 110px;
	height: 16px;
	border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SITE HEADER
═══════════════════════════════════════════════════════════════════════════ */
.site-header {
	background: #fff;
	padding: 14px 0;
	position: sticky;
	top: 0;
	z-index: 200;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
	transition:
		transform var(--t-base),
		box-shadow var(--t-base);
	will-change: transform;
}

.site-header.header-hidden {
	transform: translateY(-100%);
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.logo-img {
	width: 34px;
	height: 34px;
	border-radius: var(--r-xs);
	object-fit: contain;
	flex-shrink: 0;
}

.logo span {
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: #0f172a;
	white-space: nowrap;
}

.header-nav {
	display: flex;
	align-items: center;
	gap: 24px;
}

.nav-link {
	font-size: 13px;
	font-weight: 600;
	color: #475569; /* Мягкий темно-серый цвет (не режет глаз на белом фоне) */
	transition: color var(--t-fast, 0.2s ease);
	white-space: nowrap;
	text-decoration: none; /* На всякий случай убираем подчеркивание */
}

.nav-link:hover {
	color: #1e40af; /* При наведении текст становится нашим фирменным синим */
}

.btn-header-cta {
	height: 36px;
	padding: 0 18px;
	background: #1e40af; /* Синий фирменный фон */
	border: 1.5px solid #1e40af; /* Рамка в тон фону */
	border-radius: var(--r-sm);
	color: #ffffff; /* Белый текст */
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	transition: all 0.2s ease; /* Плавиный переход */
	white-space: nowrap;
	cursor: pointer;
}

.btn-header-cta:hover {
	background: #1e3a8a; /* Чуть более темный синий при наведении */
	border-color: #1e3a8a;
	box-shadow: 0 4px 12px rgba(30, 64, 175, 0.2); /* Легкая тень при наведении */
	transform: translateY(-1px);
}
/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════════════════════ */
.hero-section {
	background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 45%, #172554 100%);
	padding: 72px 0 0;
	overflow: hidden;
	min-height: 580px;
	position: relative;
}

.hero-section::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background:
		radial-gradient(
			ellipse 60% 80% at 72% 50%,
			rgba(59, 130, 246, 0.18) 0%,
			transparent 70%
		),
		radial-gradient(
			circle at 8% 85%,
			rgba(255, 255, 255, 0.05) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 95% 15%,
			rgba(30, 64, 175, 0.4) 0%,
			transparent 50%
		);
}

.hero-section::after {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: flex-end;
	gap: 48px;
	position: relative;
	z-index: 1;
	min-height: 508px;
}

/* ── Hero Text ── */
.hero-text-block {
	padding-bottom: 72px;
	padding-top: 8px;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(8px);
	color: rgba(255, 255, 255, 0.92);
	font-size: 12px;
	font-weight: 600;
	padding: 7px 14px;
	border-radius: var(--r-full);
	margin-bottom: 20px;
	letter-spacing: 0.4px;
	animation: fadeInDown 0.6s ease both;
}

.hero-badge-dot {
	width: 7px;
	height: 7px;
	background: #4ade80;
	border-radius: 50%;
	animation: pulseDot 2s infinite;
	flex-shrink: 0;
}

@keyframes pulseDot {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.6;
		transform: scale(1.4);
	}
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-12px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-title {
	font-size: 44px;
	font-weight: 900;
	color: #fff;
	line-height: 1.14;
	letter-spacing: -0.035em;
	margin-bottom: 18px;
	animation: fadeInUp 0.65s 0.1s ease both;
}

.hero-title-accent {
	background: linear-gradient(90deg, #93c5fd 0%, #60a5fa 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-subtitle {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.65;
	margin-bottom: 24px;
	animation: fadeInUp 0.65s 0.2s ease both;
}

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

.hero-country-preview {
	margin-bottom: 24px;
	min-height: 28px;
	animation: fadeInUp 0.65s 0.3s ease both;
}

.hero-country-skeleton {
	display: flex;
	align-items: center;
	gap: 10px;
}

.hero-country-ready {
	display: flex;
	align-items: center;
	gap: 10px;
	animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.hero-flag-small {
	width: 38px;
	padding: 3px;
	height: auto;
	border-radius: 10px;
	background: #fff;
	flex-shrink: 0;
}

.hero-country-name {
	font-size: 15px;
	font-weight: 700;
	color: #fff;
}
.hero-country-label {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.55);
	font-weight: 400;
}

.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 32px;
	background: #fff;
	color: var(--blue);
	border-radius: var(--r);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	transition: all var(--t-base);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
	margin-bottom: 32px;
	position: relative;
	overflow: hidden;
	animation: fadeInUp 0.65s 0.35s ease both;
}

.btn-primary:hover {
	background: #eff6ff;
	transform: translateY(-2px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.btn-primary:active {
	transform: scale(0.98);
}

.hero-stats {
	display: flex;
	align-items: center;
	gap: 24px;
	animation: fadeInUp 0.65s 0.45s ease both;
}

.hero-stat {
	text-align: left;
}

.hero-stat strong {
	display: block;
	font-size: 20px;
	font-weight: 800;
	color: #fff;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.hero-stat span {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.55);
	font-weight: 500;
	letter-spacing: 0.4px;
	text-transform: uppercase;
}

.hero-stat-divider {
	width: 1px;
	height: 34px;
	background: rgba(255, 255, 255, 0.18);
	flex-shrink: 0;
}

/* ── Hero Image ── */
.hero-image-block {
	margin-bottom: 72px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	min-height: 460px;
	position: relative;
	animation: heroImageIn 0.8s 0.2s ease both;
}

@keyframes heroImageIn {
	from {
		opacity: 0;
		transform: translateX(30px) scale(0.97);
	}
	to {
		opacity: 1;
		transform: translateX(0) scale(1);
	}
}
.content-section {
	margin-bottom: 20px !important;
}
.hero-main-img {
	border-radius: 10px !important;
	max-height: 460px;

	object-fit: contain;
	object-position: center bottom;
	display: block;
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTENT SECTIONS
═══════════════════════════════════════════════════════════════════════════ */
.content-section {
	background: var(--white);
}
.pt-large {
	padding-top: var(--section-py);
}
.pb-large {
	padding-bottom: var(--section-py);
}

.two-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
	padding-top: 29px !important;
}

.col-image {
	border-radius: var(--r-lg);
	overflow: hidden;
	box-shadow: var(--shadow-xl);
	position: relative;
	background: var(--bg-soft);
}

.col-image::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: var(--r-lg);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
	pointer-events: none;
	z-index: 1;
}

.content-img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	display: block;
	transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.col-image:hover .content-img {
	transform: scale(1.04);
}

.section-tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	color: var(--blue);
	text-transform: uppercase;
	letter-spacing: 1px;
	background: var(--blue-pale);
	padding: 5px 12px;
	border-radius: var(--r-full);
	margin-bottom: 16px;
}

.col-text h2 {
	font-size: 36px;
	font-weight: 800;
	color: var(--blue);
	line-height: 1.18;
	letter-spacing: -0.025em;
	margin-bottom: 12px;
}

.blue-line {
	width: 44px;
	height: 4px;
	background: linear-gradient(90deg, var(--blue), var(--blue-mid));
	border-radius: var(--r-full);
	margin-bottom: 20px;
}

.col-text p {
	font-size: 16px;
	color: var(--text-3);
	line-height: 1.78;
	margin-bottom: 22px;
}

.feature-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 24px;
}

.feature-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: var(--text-3);
	line-height: 1.5;
}

.feature-list li::before {
	content: '✓';
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	background: var(--blue-pale);
	color: var(--blue);
	border-radius: 50%;
	font-size: 11px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 1px;
}

.btn-section-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	background: var(--blue);
	color: #fff;
	border-radius: var(--r);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	transition: all var(--t-base);
	box-shadow: var(--shadow-blue);
}
.btn-section-cta:hover {
	background: var(--blue-hover);
	transform: translateY(-2px);
	box-shadow: var(--shadow-blue-lg);
}
.btn-section-cta:active {
	transform: scale(0.98);
}

.info-cards-row {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 4px;
}

.info-card-mini {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 16px;
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: var(--r);
	transition:
		border-color var(--t-fast),
		box-shadow var(--t-fast);
}
.info-card-mini:hover {
	border-color: var(--blue-pale);
	box-shadow: var(--shadow-sm);
}
.info-card-mini svg {
	color: var(--blue);
	flex-shrink: 0;
	opacity: 0.9;
}
.info-card-mini strong {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--text);
	line-height: 1.3;
}
.info-card-mini span {
	font-size: 11px;
	color: var(--text-4);
	font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TRUST SECTION
═══════════════════════════════════════════════════════════════════════════ */
.trust-section {
	background: var(--bg-soft);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	padding: 36px 0;
}

.trust-label {
	text-align: center;
	font-size: 11px;
	font-weight: 700;
	color: var(--text-5);
	text-transform: uppercase;
	letter-spacing: 1.2px;
	margin-bottom: 20px;
}

.trust-logos {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px 40px;
}

.trust-logo-item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 100px;
	min-height: 40px;
}

.trust-logo-img {
	max-height: 42px;
	max-width: 130px;
	object-fit: contain;

	transition: all 0.3s ease;
}
.trust-logo-img:hover {
	filter: grayscale(0%) opacity(1);
	transform: scale(1.05);
}

.trust-logo-fallback {
	font-size: 13px;
	font-weight: 700;
	color: var(--text-4);
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════════════════ */
.site-footer {
	background: var(--text);
	color: rgba(255, 255, 255, 0.65);
	padding: 60px 0 0;
}

.footer-top {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 52px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo span {
	color: rgba(255, 255, 255, 0.88);
	font-size: 12px;
}
.footer-brand .logo-img {
	opacity: 0.9;
}

.footer-desc {
	font-size: 13px;
	line-height: 1.75;
	margin-top: 16px;
	color: rgba(255, 255, 255, 0.45);
	max-width: 300px;
}

.footer-links-col h4 {
	font-size: 11px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.5);
	letter-spacing: 1.2px;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.footer-links-col ul {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-links-col li a {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.45);
	transition: color var(--t-fast);
	line-height: 1.4;
}
.footer-links-col li a:hover {
	color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-legal {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.25);
	line-height: 1.65;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

/* ─────────────────────────────────────────────────────────────────────────
   SCROLL ANIMATIONS
───────────────────────────────────────────────────────────────────────── */
.anim-hidden {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 0.65s ease,
		transform 0.65s ease;
}
.anim-visible {
	opacity: 1;
	transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODAL OVERLAY
═══════════════════════════════════════════════════════════════════════════ */
.modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(15, 23, 42, 0.75);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
	overscroll-behavior: contain;
}
.modal-overlay.open {
	opacity: 1;
	pointer-events: all;
}

/* ─────────────────────────────────────────────────────────────────────────
   MODAL BOX — base
───────────────────────────────────────────────────────────────────────── */
.modal-box {
	background: #fff;
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-2xl);
	width: 100%;
	max-width: 480px;
	max-height: 92vh;
	overflow-y: auto;
	position: relative;
	transform: translateY(28px) scale(0.96);
	transition: transform var(--t-slow);
	scrollbar-width: thin;
	scrollbar-color: var(--border) transparent;
	will-change: transform;
}

.modal-box::-webkit-scrollbar {
	width: 4px;
}
.modal-box::-webkit-scrollbar-track {
	background: transparent;
}
.modal-box::-webkit-scrollbar-thumb {
	background: var(--border);
	border-radius: var(--r-full);
}

.modal-overlay.open .modal-box {
	transform: translateY(0) scale(1);
}

.wide-box {
	max-width: 940px;
}
.final-box {
	max-width: 460px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODAL 1 — CONFIRM COUNTRY
═══════════════════════════════════════════════════════════════════════════ */
.confirm-box {
	max-width: 380px;
	text-align: center;
}

.confirm-content {
	padding: 52px 40px 48px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.confirm-flag-wrap {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: var(--bg-soft);
	border: 3px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	flex-shrink: 0;
	transition:
		border-color var(--t-base),
		box-shadow var(--t-base);
}

.confirm-flag-large {
	width: 64px;
	height: auto;
	border-radius: 4px;
	box-shadow: none;
}

.confirm-title {
	font-size: 24px;
	font-weight: 800;
	color: var(--text);
	line-height: 1.28;
	letter-spacing: -0.025em;
	margin-bottom: 8px;
}
.confirm-title span {
	color: var(--blue);
}

.confirm-subtitle {
	font-size: 13px;
	color: var(--text-4);
	margin-bottom: 32px;
	line-height: 1.5;
}

.confirm-buttons {
	display: flex;
	gap: 12px;
	width: 100%;
}

.btn-blue-solid {
	flex: 1;
	height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--blue);
	color: #fff;
	border: 2px solid var(--blue);
	border-radius: var(--r);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: all var(--t-base);
}
.btn-blue-solid:hover {
	background: var(--blue-hover);
	border-color: var(--blue-hover);
	transform: translateY(-2px);
	box-shadow: var(--shadow-blue);
}
.btn-blue-solid:active {
	transform: scale(0.97);
}

.btn-blue-outline-only {
	flex: 1;
	height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #fff;
	color: var(--blue);
	border: 2px solid var(--blue);
	border-radius: var(--r);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: all var(--t-base);
}
.btn-blue-outline-only:hover {
	background: var(--blue-xpale);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(30, 64, 175, 0.15);
}
.btn-blue-outline-only:active {
	transform: scale(0.97);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODAL 2 — SEARCH (Globe + Companies)
═══════════════════════════════════════════════════════════════════════════ */
.modal-state {
	padding: 48px 36px;
}
.modal-state.hidden {
	display: none !important;
}

#step-loader {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.globe-container {
	position: relative;
	width: 260px;
	height: 260px;
	margin: 0 auto 28px;
	flex-shrink: 0;
}

.globe-wrapper {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	overflow: hidden;
	box-shadow:
		0 0 0 1px rgba(0, 0, 0, 0.07),
		0 12px 36px rgba(0, 0, 0, 0.15);
}

.globe-wrapper::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	box-shadow:
		inset -22px -22px 48px rgba(0, 0, 0, 0.1),
		inset 8px 8px 18px rgba(255, 255, 255, 0.48);
	pointer-events: none;
	z-index: 2;
}

.globe-ring {
	position: absolute;
	inset: -16px;
	border: 2px dashed rgba(59, 130, 246, 0.35);
	border-radius: 50%;
	animation: spinRing 12s linear infinite;
	pointer-events: none;
}
.globe-ring::before {
	content: '';
	position: absolute;
	top: -5px;
	left: 50%;
	transform: translateX(-50%);
	width: 8px;
	height: 8px;
	background: #3b82f6;
	border-radius: 50%;
	box-shadow:
		0 0 12px #3b82f6,
		0 0 4px #3b82f6;
}
@keyframes spinRing {
	100% {
		transform: rotate(360deg);
	}
}

.globe-target {
	position: absolute;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.pin-label {
	background: #fff;
	color: var(--text);
	font-size: 11px;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: var(--r-xs);
	white-space: nowrap;
	margin-bottom: 7px;
	box-shadow: var(--shadow-lg);
	opacity: 0;
	transform: translateY(8px);
	transition: all 0.4s var(--t-spring);
	position: relative;
}
.pin-label::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%);
	border: 5px solid transparent;
	border-top-color: #fff;
	border-bottom: none;
}
.globe-target.show .pin-label {
	opacity: 1;
	transform: translateY(0);
}

.pin-dot {
	width: 14px;
	height: 14px;
	background: #3b82f6;
	border-radius: 50%;
	border: 2.5px solid #fff;
	box-shadow:
		0 0 18px rgba(59, 130, 246, 0.65),
		0 2px 6px rgba(0, 0, 0, 0.35);
	position: relative;
	z-index: 2;
	opacity: 0;
	transform: scale(0);
	transition: all 0.35s var(--t-spring);
}
.globe-target.show .pin-dot {
	opacity: 1;
	transform: scale(1);
}

.pin-pulse {
	position: absolute;
	bottom: -12px;
	left: 50%;
	transform: translateX(-50%);
	width: 34px;
	height: 34px;
	background: rgba(59, 130, 246, 0.32);
	border-radius: 50%;
	opacity: 0;
	animation: pulseBlue 1.8s ease-out infinite;
	z-index: 1;
}
.globe-target.show .pin-pulse {
	opacity: 1;
}

@keyframes pulseBlue {
	0% {
		transform: translateX(-50%) scale(0.8);
		opacity: 0.75;
	}
	100% {
		transform: translateX(-50%) scale(2.4);
		opacity: 0;
	}
}

.loader-heading {
	font-size: 22px;
	font-weight: 800;
	color: var(--text);
	margin-bottom: 6px;
	letter-spacing: -0.02em;
}
.loader-subheading {
	font-size: 14px;
	color: var(--text-4);
	margin-bottom: 16px;
	min-height: 20px;
}

.loader-logs {
	width: 100%;
	max-width: 320px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-top: 4px;
}

.scan-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--text);
	text-align: center;
	line-height: 1.4;
	animation: fadeInText 0.3s ease-out;
	min-height: 18px;
}

@keyframes fadeInText {
	from {
		opacity: 0.2;
		transform: translateY(4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.scan-dots {
	display: flex;
	gap: 8px;
}

.scan-dot {
	width: 7px;
	height: 7px;
	background: var(--border);
	border-radius: 50%;
	transition:
		background 0.3s ease,
		transform 0.3s ease;
}
.scan-dot.active {
	background: var(--blue);
	transform: scale(1.4);
}

/* ── Step 2 ── */
#step-2 {
	padding: 40px 36px 36px;
}

.step2-header {
	text-align: center;
	margin-bottom: 32px;
}

.step2-title {
	font-size: 30px;
	font-weight: 800;
	color: var(--text);
	letter-spacing: -0.025em;
	margin-bottom: 10px;
	line-height: 1.2;
}
.step2-title span {
	color: var(--blue);
}
.step2-desc {
	font-size: 14px;
	color: var(--text-4);
	line-height: 1.6;
}
.step2-count {
	color: var(--blue);
}

.step2-disclaimer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-align: center;
	font-size: 11px;
	color: var(--text-5);
	margin-top: 16px;
	line-height: 1.5;
}
.step2-disclaimer svg {
	flex-shrink: 0;
	color: var(--text-5);
}

.companies-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-bottom: 8px;
}

/* ── Job Card ── */
.job-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--r-md);
	padding: 22px 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition:
		transform var(--t-base),
		box-shadow var(--t-base),
		border-color var(--t-base);
	animation: fadeUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
	position: relative;
	overflow: hidden;
}

.job-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--blue), transparent);
	transition: left 0.5s ease;
}
.job-card:hover::before {
	left: 100%;
}
.job-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-xl);
	border-color: rgba(30, 64, 175, 0.25);
}

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

.job-card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}
.job-card-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	min-width: 0;
}

.company-logo-box {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	border-radius: 10px;
	background: var(--bg-soft);
	border: 1px solid var(--border);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 6px;
	transition: border-color var(--t-fast);
}
.job-card:hover .company-logo-box {
	border-color: var(--blue-pale);
}

.company-logo-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
}

.company-logo-fallback {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 800;
	color: var(--blue);
	background: var(--blue-pale);
	border-radius: 7px;
}

.job-brand-info {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.company-name-display {
	font-size: 15px;
	font-weight: 800;
	color: var(--text);
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.brand-sector {
	font-size: 10px;
	font-weight: 600;
	color: var(--text-4);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.card-badge-mini {
	display: inline-block;
	font-size: 9px;
	font-weight: 700;
	color: #fff;
	background: var(--blue);
	padding: 2px 8px;
	border-radius: var(--r-full);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	width: fit-content;
}

.job-flag {
	width: 24px;
	height: auto;
	border-radius: 3px;
	flex-shrink: 0;
	align-self: flex-start;
	margin-top: 2px;
	box-shadow: var(--shadow-xs);
}

.job-desc {
	font-size: 13px;
	color: var(--text-3);
	line-height: 1.65;
	flex-grow: 1;
	padding-top: 4px;
	border-top: 1px solid var(--border);
}

.income-block {
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: var(--r-sm);
	padding: 14px;
	text-align: center;
	transition:
		border-color var(--t-fast),
		background var(--t-fast);
}
.job-card:hover .income-block {
	background: #f0fdf9;
	border-color: rgba(5, 150, 105, 0.25);
}

.income-block p {
	font-size: 10px;
	font-weight: 700;
	color: var(--text-4);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 4px;
}

.income-val {
	font-size: 30px;
	font-weight: 800;
	color: var(--green);
	letter-spacing: -0.025em;
	line-height: 1;
}
.income-val span {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-4);
}

.btn-select {
	width: 100%;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--blue);
	color: #fff;
	border-radius: var(--r-sm);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: all var(--t-base);
	position: relative;
	overflow: hidden;
}
.btn-select:hover {
	background: var(--blue-hover);
	transform: translateY(-1px);
	box-shadow: var(--shadow-blue);
}
.btn-select:active {
	transform: scale(0.98);
}

/* ═══════════════════════════════════════════════════════════════════════════
   MODAL 3 — FINAL REGISTRATION FORM
═══════════════════════════════════════════════════════════════════════════ */
.modal-header {
	background: var(--bg-soft);
	padding: 24px 28px 18px;
	border-bottom: 1px solid var(--border);
	border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.modal-title {
	font-size: 20px;
	font-weight: 800;
	color: var(--text);
	margin-bottom: 4px;
	letter-spacing: -0.02em;
}
.modal-subtitle {
	font-size: 13px;
	color: var(--text-4);
	line-height: 1.5;
}

.modal-info-grid {
	padding: 4px 28px 0;
}

.modal-info-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
}
.modal-info-row.last-row {
	border-bottom: none;
}

.modal-info-icon {
	width: 42px;
	height: 42px;
	flex-shrink: 0;
	border-radius: var(--r-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--bg-soft);
	border: 1px solid var(--border);
	overflow: hidden;
}

.modal-info-icon.flag-icon {
	background: transparent;
	border-color: transparent;
}
.modal-info-icon.flag-icon img {
	width: 36px;
	height: auto;
	border-radius: 4px;
}
.modal-info-icon.logo-icon {
	padding: 6px;
}
.modal-info-icon.money-icon {
	background: #f0fdf4;
	border-color: rgba(5, 150, 105, 0.2);
}

.modal-text-group {
	flex: 1;
	min-width: 0;
}

.modal-info-label {
	font-size: 10px;
	font-weight: 700;
	color: var(--text-4);
	text-transform: uppercase;
	letter-spacing: 0.6px;
	margin-bottom: 2px;
}

.modal-info-value {
	font-size: 15px;
	font-weight: 700;
	color: var(--text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.modal-info-value.blue {
	color: var(--blue);
}
.modal-info-value.green {
	color: var(--green);
	font-size: 16px;
}

/* ─────────────────────────────────────────────────────────────────────────
   FORM
───────────────────────────────────────────────────────────────────────── */
.modal-form-wrap {
	padding: 18px 28px 24px;
}

.form-row-two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

/* Single source of truth for ALL inputs */
.form-input,
.modal-form-wrap input[type='text'],
.modal-form-wrap input[type='email'],
.modal-form-wrap input[type='tel'] {
	display: block !important;
	width: 100% !important;
	height: var(--input-h) !important;
	padding: var(--input-pad) !important;
	background: var(--bg-soft) !important;
	border-radius: var(--r) !important;
	font-size: var(--input-fs) !important;
	font-weight: 500 !important;
	font-family: var(--font) !important;
	color: var(--text) !important;
	outline: none !important;
	line-height: normal !important;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	box-shadow: none !important;
	letter-spacing: 0.1px !important;
}

.form-input:focus,
.modal-form-wrap input[type='text']:focus,
.modal-form-wrap input[type='email']:focus,
.modal-form-wrap input[type='tel']:focus {
	background: #fff !important;
}

.form-input::placeholder,
.modal-form-wrap input::placeholder {
	color: #94a3b8 !important;
	font-weight: 400 !important;
}

.form-input.error,
.modal-form-wrap input.error {
	border-color: var(--red) !important;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08) !important;
	background: #fffafa !important;
}

/* intlTelInput */
.modal-form-wrap .iti {
	display: block !important;
	width: 100% !important;
}

.modal-form-wrap .iti__selected-flag {
	background: transparent !important;
	border-right: 1.5px solid var(--border) !important;
	border-radius: var(--r) 0 0 var(--r) !important;
	height: 100% !important;
	padding: 0 12px !important;
	transition: background var(--t-fast) !important;
}
.modal-form-wrap .iti__selected-flag:hover {
	background: var(--bg-soft) !important;
}

.modal-form-wrap .iti--separate-dial-code .iti__selected-dial-code {
	color: var(--text) !important;
	font-weight: 600 !important;
	font-size: 13px !important;
}

.modal-form-wrap .iti__country-list {
	z-index: 3000 !important;
	border-radius: var(--r-md) !important;
	border: 1px solid var(--border) !important;
	box-shadow: var(--shadow-xl) !important;
	background: #fff !important;
	width: 280px !important;
	max-height: 220px !important;
	overflow-y: auto !important;
	scrollbar-width: thin !important;
	scrollbar-color: var(--border) transparent !important;
	margin-top: 4px !important;
}

.modal-form-wrap .iti__country-list li {
	color: var(--text) !important;
	font-size: 13px !important;
	padding: 9px 12px !important;
}
.modal-form-wrap .iti__country-list .iti__country.iti__highlight {
	background: var(--bg-soft) !important;
}

/* Error text */
.field-error {
	display: block;
	font-size: 11px;
	color: var(--red);
	font-weight: 500;
	margin-top: 4px;
	min-height: 14px;
	line-height: 1.3;
	animation: slideDown 0.2s ease;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Submit button */
.btn-submit-main {
	width: 100%;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--blue);
	color: #fff;
	border-radius: var(--r);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: all var(--t-base);
	box-shadow: var(--shadow-blue);
	position: relative;
	overflow: hidden;
	margin-top: 6px;
	font-family: var(--font);
}

.btn-submit-main::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 60%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.15),
		transparent
	);
	transition: left 0.5s ease;
}
.btn-submit-main:hover::before {
	left: 150%;
}
.btn-submit-main:hover {
	background: var(--blue-hover);
	transform: translateY(-1px);
	box-shadow: var(--shadow-blue-lg);
}
.btn-submit-main:active {
	transform: scale(0.99);
	box-shadow: var(--shadow-blue);
}

.btn-submit-main .btn-spinner {
	display: none;
	position: absolute;
	width: 20px;
	height: 20px;
	border: 2.5px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spinBtn 0.7s linear infinite;
}
.btn-submit-main.loading .btn-text {
	opacity: 0;
}
.btn-submit-main.loading .btn-spinner {
	display: block;
}

@keyframes spinBtn {
	to {
		transform: rotate(360deg);
	}
}

@keyframes shake {
	0%,
	100% {
		transform: translateX(0);
	}
	15% {
		transform: translateX(-6px);
	}
	30% {
		transform: translateX(6px);
	}
	45% {
		transform: translateX(-4px);
	}
	60% {
		transform: translateX(4px);
	}
	75% {
		transform: translateX(-2px);
	}
	90% {
		transform: translateX(2px);
	}
}
.btn-submit-main.shake {
	animation: shake 0.5s ease;
}

.modal-note {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 6px;
	text-align: center;
	font-size: 11px;
	color: var(--text-4);
	margin-top: 14px;
	line-height: 1.55;
}
.modal-note svg {
	color: var(--green);
	flex-shrink: 0;
	margin-top: 1px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (max 1024px)
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
	:root {
		--section-py: 80px;
	}

	.hero-title {
		font-size: 38px;
	}
	.two-columns {
		gap: 56px;
	}
	.col-text h2 {
		font-size: 30px;
	}
	.companies-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 14px;
	}

	.footer-top {
		grid-template-columns: 1fr 1fr;
		gap: 36px;
	}
	.footer-brand {
		grid-column: 1 / -1;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — MEDIUM (max 900px)
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
	:root {
		--section-py: 64px;
		--gutter: 20px;
	}

	.header-nav .nav-link {
		display: none;
	}

	.hero-section {
		padding-top: 52px;
	}
	.hero-container {
		grid-template-columns: 1fr;
		gap: 0;
		min-height: auto;
	}
	.hero-text-block {
		padding-bottom: 48px;
		text-align: center;
		padding-top: 0;
	}
	.hero-badge {
		margin-left: auto;
		margin-right: auto;
	}
	.hero-title {
		font-size: 34px;
	}
	.hero-subtitle {
		font-size: 15px;
	}

	.hero-country-ready,
	.hero-country-skeleton {
		justify-content: center;
	}

	.hero-stats {
		justify-content: center;
		gap: 20px;
	}

	.hero-image-block {
		min-height: 280px;
		justify-content: center;
	}
	.hero-main-img {
		max-height: 280px;
		width: auto;
		max-width: 70%;
		margin: 0 auto;
	}

	.btn-primary {
		width: 100%;
		justify-content: center;
	}

	.two-columns {
		grid-template-columns: 1fr;
		gap: 36px;
	}
	.reverse-mobile .col-image {
		order: -1;
	}
	.content-img {
		height: 280px;
	}
	.col-text h2 {
		font-size: 26px;
	}

	.companies-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-top {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.footer-brand {
		grid-column: auto;
	}
	.footer-desc {
		max-width: 100%;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (max 640px)
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
	:root {
		--section-py: 52px;
		--gutter: 16px;
		--input-h: 48px;
	}

	/* Header */
	.logo span {
		font-size: 11px;
		letter-spacing: 0.8px;
	}
	.logo-img {
		width: 28px;
		height: 28px;
	}
	.btn-header-cta {
		display: none;
	}

	/* Hero */
	.hero-section {
		padding-top: 40px;
		min-height: auto;
	}
	.hero-title {
		font-size: 28px;
		letter-spacing: -0.025em;
	}
	.hero-subtitle {
		font-size: 14px;
	}
	.hero-badge {
		font-size: 11px;
		padding: 6px 12px;
	}
	.hero-stats {
		gap: 14px;
	}
	.hero-stat strong {
		font-size: 17px;
	}
	.hero-stat span {
		font-size: 10px;
	}
	.hero-stat-divider {
		height: 28px;
	}
	.hero-image-block {
		min-height: 220px;
	}
	.hero-main-img {
		max-height: 220px;
		max-width: 80%;
	}

	/* Content */
	.content-img {
		height: 220px;
	}
	.col-text h2 {
		font-size: 22px;
	}
	.col-text p {
		font-size: 14px;
	}
	.info-cards-row {
		gap: 8px;
	}

	/* Trust */
	.trust-logos {
		gap: 16px 29px;
	}

	/* Footer */
	.footer-desc {
		font-size: 12px;
	}
	.footer-links-col h4 {
		font-size: 10px;
	}
	.footer-links-col li a {
		font-size: 12px;
	}
	.footer-legal {
		font-size: 10px;
	}

	/* ── MODALS — Bottom Sheet ── */
	.modal-overlay {
		align-items: flex-end;
		padding: 0;
	}

	.modal-box {
		max-width: 100%;
		width: 100%;
		border-radius: var(--r-2xl) var(--r-2xl) 0 0;
		transform: translateY(100%) !important;
		max-height: 94vh;
	}
	.modal-overlay.open .modal-box {
		transform: translateY(0) !important;
	}

	/* Drag handle */
	.modal-box::before {
		content: '';
		display: block;
		width: 36px;
		height: 4px;
		background: var(--border);
		border-radius: var(--r-full);
		margin: 10px auto 0;
		flex-shrink: 0;
	}

	.modal-header {
		padding: 20px 20px 16px;
		border-radius: var(--r-2xl) var(--r-2xl) 0 0;
	}
	.modal-title {
		font-size: 18px;
	}
	.modal-subtitle {
		font-size: 12px;
	}
	.modal-info-grid {
		padding: 4px 20px 0;
	}
	.modal-form-wrap {
		padding: 14px 20px 28px;
	}

	/* Confirm */
	.confirm-box {
		max-width: 100%;
	}
	.confirm-content {
		padding: 24px 24px 36px;
	}
	.confirm-flag-wrap {
		width: 80px;
		height: 80px;
	}
	.confirm-flag-large {
		width: 52px;
	}
	.confirm-title {
		font-size: 20px;
	}
	.confirm-subtitle {
		font-size: 12px;
	}
	.btn-blue-solid,
	.btn-blue-outline-only {
		height: 46px;
		font-size: 13px;
	}

	/* Globe */
	.globe-container {
		width: 200px;
		height: 200px;
	}
	.loader-heading {
		font-size: 18px;
	}
	.loader-subheading {
		font-size: 13px;
	}

	/* Step 2 */
	#step-2 {
		padding: 24px 20px 24px;
	}
	.step2-title {
		font-size: 22px;
	}
	.step2-desc {
		font-size: 13px;
	}
	.companies-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.modal-state {
		padding: 28px 20px;
	}

	/* Form */
	.form-row-two {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.btn-submit-main {
		height: 50px;
		font-size: 13px;
	}

	.modal-form-wrap .iti__country-list {
		width: calc(100vw - 40px) !important;
		max-width: none !important;
		white-space: normal !important;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL (max 390px)
═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 390px) {
	:root {
		--gutter: 14px;
		--input-h: 46px;
	}

	.hero-title {
		font-size: 24px;
	}
	.hero-stats {
		gap: 10px;
	}
	.hero-stat strong {
		font-size: 15px;
	}
	.confirm-title {
		font-size: 18px;
	}
	.step2-title {
		font-size: 20px;
	}
	.company-name-display {
		font-size: 14px;
	}
	.income-val {
		font-size: 26px;
	}
	.modal-title {
		font-size: 17px;
	}

	.confirm-buttons {
		flex-direction: column;
		gap: 8px;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   LANDSCAPE MOBILE — short screens
═══════════════════════════════════════════════════════════════════════════ */
@media (max-height: 680px) and (max-width: 900px) {
	.hero-section {
		min-height: auto;
		padding-top: 36px;
	}
	.hero-image-block {
		display: none;
	}
	.hero-container {
		grid-template-columns: 1fr;
	}
	.hero-text-block {
		padding-bottom: 36px;
	}
	.modal-box {
		max-height: 96vh !important;
	}
	.globe-container {
		width: 180px;
		height: 180px;
		margin-bottom: 16px;
	}
	.modal-state {
		padding-top: 24px;
		padding-bottom: 24px;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   REDUCED MOTION — accessibility
═══════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.globe-ring {
		animation: none;
	}
	.hero-badge-dot {
		animation: none;
	}
	.scan-dot {
		transition: none;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRINT
═══════════════════════════════════════════════════════════════════════════ */
@media print {
	.site-header,
	.modal-overlay,
	.hero-image-block,
	.btn-primary,
	.btn-section-cta,
	.trust-section,
	.site-footer {
		display: none !important;
	}
	.hero-section {
		background: #1e40af !important;
		-webkit-print-color-adjust: exact;
	}
}

/* ═══════════════════════════════════════════════════════════════════════════
   ИНТЕГРАЦИЯ СТАРОЙ ФОРМЫ (ПЕРЕЗАПИСЬ СТИЛЕЙ ПОД НОВЫЙ ДИЗАЙН)
═══════════════════════════════════════════════════════════════════════════ */

/* 1. Перебиваем инлайновые стили инпутов (убираем квадратные углы, делаем красиво) */
.modal-form-wrap .form-input,
.modal-form-wrap input[type='text'],
.modal-form-wrap input[type='tel'],
.modal-form-wrap input[type='email'] {
	border-radius: var(--r-md) !important;
	background: var(--bg-soft) !important;
	color: var(--text) !important;
	height: 52px !important;
	padding: 0 16px !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	outline: none !important;
	box-shadow: none !important;
	transition: all var(--t-fast) !important;
	margin-top: 4px !important;
}

.modal-form-wrap .form-input:focus {
	background: #fff !important;
}

/* 2. Спец. отступ для телефона (intlTelInput), чтобы флаг не перекрывал текст */
.modal-form-wrap .iti input[type='text'],
.modal-form-wrap .iti input[type='tel'] {
	padding-left: 97px !important;
}

/* 3. Сообщения об ошибках (твои .messages .text-red-500) */
.modal-form-wrap .messages,
.modal-form-wrap .text-red-500 {
	display: block !important;
	font-size: 12px !important;
	color: var(--red) !important;
	font-weight: 600 !important;
	margin-top: 0px !important;
	min-height: 16px;
	padding-left: 4px !important;
}

/* 4. Кнопка отправки (.btn-reg) — делаем её корпоративной синей */
.modal-form-wrap .btn-reg {
	width: 100% !important;
	height: 54px !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	background: var(--blue) !important;
	color: #fff !important;
	border: none !important;
	border-radius: var(--r-md) !important;
	font-size: 14px !important;
	font-weight: 800 !important;
	letter-spacing: 1px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	transition: all var(--t-base) !important;
	box-shadow: var(--shadow-blue) !important;
	margin-top: 12px !important;
}

.modal-form-wrap .btn-reg:hover {
	background: var(--blue-hover) !important;
	transform: translateY(-2px) !important;
	box-shadow: var(--shadow-blue-lg) !important;
}

.modal-form-wrap .btn-reg:active {
	transform: scale(0.98) !important;
	box-shadow: var(--shadow-blue) !important;
}

/* 5. Лоадер внутри кнопки при отправке */
.modal-form-wrap .loader-spinner {
	width: 20px !important;
	height: 20px !important;
	border: 2.5px solid rgba(255, 255, 255, 0.3) !important;
	border-top-color: #fff !important;
	border-radius: 50% !important;
	animation: spinBtn 0.7s linear infinite !important;
}
/* 6. ИСПРАВЛЕНИЕ ЦЕНТРОВКИ ГЛОБУСА НА МОБИЛЬНЫХ */
.globe-wrapper canvas {
	width: 100% !important;
	height: 100% !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	object-fit: contain !important;
}


.globe-wrapper img {
   animation: rotateEarth 26s linear infinite, floatEarth 14s ease-in-out infinite;
}

@keyframes floatEarth {
   0%, 100% {
      transform: rotate(0deg) translateY(0px);
   }
   50% {
      transform: rotate(180deg) translateY(-6px);
   }
}



.leadform {
  max-width: 608px !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.leadform button {
  background-color: #1e40af !important;
}