/*
Theme Name: Лечение сайта
*/
/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
	--bg-primary: #0a0e17;
	--bg-secondary: #111827;
	--bg-card: #1a2236;
	--bg-card-hover: #212d47;
	--accent: #00d4ff;
	--accent-2: #7c3aed;
	--accent-3: #10b981;
	--danger: #ef4444;
	--warning: #f59e0b;
	--text-primary: #f1f5f9;
	--text-secondary: #94a3b8;
	--text-muted: #64748b;
	--border: rgba(255,255,255,0.08);
	--glow-accent: 0 0 40px rgba(0,212,255,0.15);
	--glow-purple: 0 0 40px rgba(124,58,237,0.15);
	--max-gradient: linear-gradient(135deg,#57aeff,#8f3fff);
	--tg-gradient: linear-gradient(135deg,#0088cc,#29b6f6);
	--phone-gradient: linear-gradient(135deg,#2EA043,#40C057);
}

html { scroll-behavior: smooth; }

body {
	font-family: 'Inter', -apple-system, sans-serif;
	background: var(--bg-primary);
	color: var(--text-primary);
	line-height: 1.7;
	overflow-x: hidden;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-grid {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background-image:
		linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
	background-size: 60px 60px;
	pointer-events: none;
	z-index: 0;
}

.bg-orb {
	position: fixed;
	border-radius: 50%;
	filter: blur(120px);
	pointer-events: none;
	z-index: 0;
}

.bg-orb-1 {
	width: 600px; height: 600px;
	background: radial-gradient(circle, rgba(0,212,255,0.12), transparent 70%);
	top: -200px; right: -200px;
	animation: float1 20s ease-in-out infinite;
}

.bg-orb-2 {
	width: 500px; height: 500px;
	background: radial-gradient(circle, rgba(124,58,237,0.1), transparent 70%);
	bottom: -100px; left: -150px;
	animation: float2 25s ease-in-out infinite;
}

.bg-orb-3 {
	width: 400px; height: 400px;
	background: radial-gradient(circle, rgba(16,185,129,0.08), transparent 70%);
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	animation: float3 18s ease-in-out infinite;
}

@keyframes float1 {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(-80px, 80px); }
}
@keyframes float2 {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(60px, -60px); }
}
@keyframes float3 {
	0%, 100% { transform: translate(-50%, -50%) scale(1); }
	50% { transform: translate(-50%, -50%) scale(1.2); }
}

/* ===== CONTAINER ===== */
.container {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
	position: relative;
	z-index: 1;
}

/* ===== NAVBAR ===== */
.navbar {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	padding: 16px 0;
	transition: all 0.3s ease;
	backdrop-filter: blur(0px);
}

.navbar.scrolled {
	background: rgba(10,14,23,0.9);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid var(--border);
	padding: 12px 0;
}

.navbar .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--text-primary);
	flex-shrink: 0;
}

.logo-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}

.logo-icon img {
	width: 40px;
	height: auto;
}

.logo-text {
	font-weight: 700;
	font-size: 18px;
	line-height: 1.3;
}

.logo-text__name {
	font-family: "Merriweather", serif;
	font-optical-sizing: auto;
}

.logo-text__slogan {
	font-weight: 400;
	color: var(--text-secondary);
	font-size: 11px;
}

.nav-center {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 32px;
	list-style: none;
}

.nav-links a {
	color: var(--text-secondary);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.3s;
}

.nav-links a:hover { color: var(--accent); }

.header-contacts {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
	margin-right: 16px;
}

.header-phone {
	color: var(--text-primary);
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	transition: color 0.3s;
	white-space: nowrap;
}

.header-phone:hover { color: var(--accent); }

.header-messengers {
	display: flex;
	align-items: center;
	gap: 8px;
}

.messenger-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 6px;
	text-decoration: none;
	transition: transform 0.2s, box-shadow 0.3s;
}

.messenger-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.messenger-link.max { background: var(--max-gradient); }
.messenger-link.telegram { background: var(--tg-gradient); }
.messenger-link.phone { background: var(--phone-gradient); }

.messenger-link .icon {
	width: 18px;
	height: 18px;
	color: white;
}

.nav-cta {
	background: linear-gradient(135deg, var(--accent), #0099cc);
	color: var(--bg-primary) !important;
	padding: 6px 24px;
	border-radius: 8px;
	font-weight: 600 !important;
	transition: transform 0.2s, box-shadow 0.3s !important;
	text-decoration: none;
	white-space: nowrap;
}

.nav-cta:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 30px rgba(0,212,255,0.3);
}

.burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	background: none;
	border: none;
	padding: 4px;
}

.burger span {
	width: 24px;
	height: 2px;
	background: var(--text-primary);
	border-radius: 2px;
	transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
	min-height: calc(100vh - 170px);
	display: flex;
	align-items: center;
	padding: 120px 0 80px;
	position: relative;
}

.hero-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(0,212,255,0.08);
	border: 1px solid rgba(0,212,255,0.2);
	border-radius: 100px;
	padding: 6px 16px;
	font-size: 13px;
	color: var(--accent);
	font-weight: 500;
	margin-bottom: 24px;
}

.hero-badge .pulse {
	width: 8px; height: 8px;
	background: var(--accent);
	border-radius: 50%;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
	font-size: 56px;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: -2px;
	margin-bottom: 24px;
}

.hero h1 .gradient {
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-desc {
	font-size: 18px;
	color: var(--text-secondary);
	line-height: 1.8;
	margin-bottom: 40px;
	max-width: 520px;
}

.hero-actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 32px;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	border: none;
	transition: all 0.3s ease;
	font-family: inherit;
}

.btn-primary {
	background: linear-gradient(135deg, var(--accent), #0099cc);
	color: var(--bg-primary);
	box-shadow: 0 4px 20px rgba(0,212,255,0.25);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 40px rgba(0,212,255,0.35);
}

.btn-secondary {
	background: rgba(255,255,255,0.05);
	color: var(--text-primary);
	border: 1px solid var(--border);
}

.btn-secondary:hover {
	background: rgba(255,255,255,0.1);
	border-color: rgba(255,255,255,0.2);
	transform: translateY(-2px);
}

/* Hero visual */
.hero-visual { position: relative; }

.terminal {
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0,0,0,0.4), var(--glow-accent);
}

.terminal-header {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 20px;
	background: rgba(0,0,0,0.3);
	border-bottom: 1px solid var(--border);
}

.terminal-dot {
	width: 12px; height: 12px;
	border-radius: 50%;
}

.terminal-dot.red { background: #ef4444; }
.terminal-dot.yellow { background: #f59e0b; }
.terminal-dot.green { background: #10b981; }

.terminal-title {
	flex: 1;
	text-align: center;
	font-size: 13px;
	color: var(--text-muted);
	font-family: monospace;
}

.terminal-body {
	padding: 24px;
	font-family: 'Courier New', monospace;
	font-size: 14px;
	line-height: 2;
	min-height: 300px;
}

.terminal-line {
	opacity: 0;
	animation: typeIn 0.5s forwards;
}

.terminal-line:nth-child(1) { animation-delay: 0.5s; }
.terminal-line:nth-child(2) { animation-delay: 1.2s; }
.terminal-line:nth-child(3) { animation-delay: 2s; }
.terminal-line:nth-child(4) { animation-delay: 2.8s; }
.terminal-line:nth-child(5) { animation-delay: 3.5s; }
.terminal-line:nth-child(6) { animation-delay: 4.2s; }
.terminal-line:nth-child(7) { animation-delay: 5s; }

@keyframes typeIn {
	from { opacity: 0; transform: translateX(-10px); }
	to { opacity: 1; transform: translateX(0); }
}

.t-comment { color: var(--text-muted); }
.t-danger { color: var(--danger); }
.t-success { color: var(--accent-3); }
.t-accent { color: var(--accent); }
.t-warning { color: var(--warning); }
.t-white { color: var(--text-primary); }

.cursor-blink {
	display: inline-block;
	width: 8px;
	height: 16px;
	background: var(--accent);
	margin-left: 4px;
	animation: blink 1s infinite;
	vertical-align: middle;
}

@keyframes blink {
	0%, 50% { opacity: 1; }
	51%, 100% { opacity: 0; }
}

/* ===== STATS BAR ===== */
.stats-bar {
	padding: 40px 0;
	border-bottom: 1px solid var(--border);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	text-align: center;
}

.stat-item h3 {
	font-size: 36px;
	font-weight: 800;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 4px;
}

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

@media screen and (max-width: 767px) {
	.stat-item h3 {
		font-size: 28px;
	}
}

/* ===== SECTIONS ===== */
section { padding: 100px 0; }

.section-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--accent);
	margin-bottom: 16px;
}

.section-label::before {
	content: '';
	width: 24px;
	height: 2px;
	background: var(--accent);
}

.section-title {
	font-size: 40px;
	font-weight: 800;
	letter-spacing: -1px;
	line-height: 1.2;
	margin-bottom: 16px;
}

.section-subtitle {
	font-size: 17px;
	color: var(--text-secondary);
	max-width: 600px;
	line-height: 1.8;
}

/* ===== SYMPTOMS ===== */
.symptoms-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 48px;
}

.symptom-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 32px;
	transition: all 0.4s ease;
	cursor: default;
}

.symptom-card:hover {
	background: var(--bg-card-hover);
	border-color: rgba(0,212,255,0.2);
	transform: translateY(-4px);
	box-shadow: var(--glow-accent);
}

.symptom-icon {
	width: 48px; height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	margin-bottom: 20px;
}

.symptom-icon.red { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); }
.symptom-icon.yellow { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); }
.symptom-icon.orange { background: rgba(249,115,22,0.1); border: 1px solid rgba(249,115,22,0.2); }

.symptom-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.symptom-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* ===== CMS SECTION ===== */
.cms-section { background: var(--bg-secondary); }

.cms-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 48px;
}

.cms-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 28px 20px;
	text-align: center;
	transition: all 0.3s ease;
	cursor: default;
}

.cms-card:hover {
	border-color: var(--accent);
	transform: translateY(-3px);
	box-shadow: var(--glow-accent);
}

.cms-icon { font-size: 36px; margin-bottom: 12px; }
.cms-icon img {
	width: 50px;
	height: auto;
}
.cms-card h4 { font-size: 15px; font-weight: 600; }
.cms-card p { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ===== SERVICES ===== */
.services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
	margin-top: 48px;
}

.service-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 36px;
	display: flex;
	gap: 24px;
	transition: all 0.3s ease;
}

.service-card:hover {
	border-color: rgba(0,212,255,0.3);
	transform: translateY(-3px);
}

.service-number {
	flex-shrink: 0;
	width: 48px; height: 48px;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 800;
	color: var(--bg-primary);
}

.service-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.service-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

.service-card .tag {
	display: inline-block;
	background: rgba(0,212,255,0.1);
	color: var(--accent);
	padding: 4px 12px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	margin-top: 12px;
}

/* ===== PRICING ===== */
.pricing-section { background: var(--bg-secondary); }

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 48px;
}

.pricing-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 20px;
	padding: 40px;
	position: relative;
	transition: all 0.3s ease;
}

.pricing-card:hover { transform: translateY(-4px); }

.pricing-card.featured {
	border-color: var(--accent);
	box-shadow: var(--glow-accent);
}

.pricing-card.featured::before {
	content: 'Популярный';
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: var(--bg-primary);
	padding: 4px 20px;
	border-radius: 100px;
	font-size: 12px;
	font-weight: 700;
}

.pricing-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }

.pricing-card .price {
	font-size: 42px;
	font-weight: 900;
	margin: 16px 0;
}

.pricing-card .price span {
	font-size: 16px;
	font-weight: 400;
	color: var(--text-muted);
}

.pricing-card .price-desc {
	color: var(--text-secondary);
	font-size: 14px;
	margin-bottom: 24px;
}

.pricing-features { list-style: none; margin-bottom: 32px; }

.pricing-features li {
	padding: 8px 0;
	font-size: 14px;
	color: var(--text-secondary);
	display: flex;
	align-items: center;
	gap: 10px;
}

.pricing-features li::before {
	content: '✓';
	color: var(--accent-3);
	font-weight: 700;
}

/* ===== PROCESS ===== */
.process-steps { margin-top: 48px; position: relative; }

.process-line {
	position: absolute;
	left: 30px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(to bottom, var(--accent), var(--accent-2), var(--accent-3));
	border-radius: 2px;
}

.step {
	display: flex;
	gap: 32px;
	margin-bottom: 40px;
	position: relative;
}

.step-marker {
	flex-shrink: 0;
	width: 60px; height: 60px;
	background: var(--bg-card);
	border: 2px solid var(--accent);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 800;
	color: var(--accent);
	z-index: 2;
}

.step-content {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 28px 32px;
	flex: 1;
	transition: all 0.3s ease;
}

.step-content:hover { border-color: rgba(0,212,255,0.2); }
.step-content h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step-content p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* ===== GUARANTEE ===== */
.guarantee-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 48px;
}

.guarantee-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 36px;
	text-align: center;
	transition: all 0.3s ease;
}

.guarantee-card:hover {
	border-color: rgba(16,185,129,0.3);
	transform: translateY(-3px);
}

.guarantee-icon { font-size: 40px; margin-bottom: 16px; }
.guarantee-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.guarantee-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.7; }

/* ===== FAQ ===== */
.faq-section { background: var(--bg-secondary); }

.faq-list { margin-top: 48px; max-width: 800px; }

.faq-item {
	border: 1px solid var(--border);
	border-radius: 14px;
	margin-bottom: 12px;
	overflow: hidden;
	transition: border-color 0.3s;
}

.faq-item:hover { border-color: rgba(0,212,255,0.2); }
.faq-item.active { border-color: rgba(0,212,255,0.3); }

.faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	cursor: pointer;
	background: var(--bg-card);
	transition: background 0.3s;
	user-select: none;
}

.faq-question:hover { background: var(--bg-card-hover); }

.faq-question h4 {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.faq-toggle {
	width: 28px; height: 28px;
	background: rgba(0,212,255,0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-left: 16px;
	transition: transform 0.3s;
}

.faq-item.active .faq-toggle { transform: rotate(45deg); }

.faq-toggle span {
	color: var(--accent);
	font-size: 20px;
	line-height: 1;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer { max-height: 400px; }

.faq-answer-inner {
	padding: 15px 24px 20px;
	color: var(--text-secondary);
	font-size: 15px;
	line-height: 1.8;
}

.form-group br {
	display: none;
}

.form-group textarea {
	height: 100px;
}

.wpcf7-response-output {
	display: none;
}

.wpcf7-not-valid-tip {
	font-size: 13px;
}

/* ===== CTA SECTION ===== */
.cta-section { padding: 100px 0; }

.cta-box {
	background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(124,58,237,0.08));
	border: 1px solid rgba(0,212,255,0.2);
	border-radius: 24px;
	padding: 80px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.cta-box::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle at 30% 50%, rgba(0,212,255,0.05), transparent 50%),
				radial-gradient(circle at 70% 50%, rgba(124,58,237,0.05), transparent 50%);
	animation: ctaGlow 10s ease-in-out infinite;
}

@keyframes ctaGlow {
	0%, 100% { transform: rotate(0deg); }
	50% { transform: rotate(180deg); }
}

.cta-box > * { position: relative; z-index: 1; }

.cta-box h2 {
	font-size: 44px;
	font-weight: 900;
	margin-bottom: 16px;
	letter-spacing: -1px;
}

.cta-box p {
	color: var(--text-secondary);
	font-size: 18px;
	max-width: 600px;
	margin: 0 auto 40px;
	line-height: 1.7;
}

/* ===== CONTACT FORM ===== */
.contact-section { background: var(--bg-secondary); }

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	margin-top: 48px;
}

.form-group { margin-bottom: 20px; }

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

.form-group input,
.form-group textarea,
.form-group select {
	width: 100%;
	padding: 14px 18px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 10px;
	color: var(--text-primary);
	font-family: inherit;
	font-size: 15px;
	transition: all 0.3s ease;
	outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(0,212,255,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg-card); }

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.contact-info-card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 28px;
	display: flex;
	gap: 16px;
	align-items: flex-start;
	transition: all 0.3s ease;
}

.contact-info-card:hover { border-color: rgba(0,212,255,0.2); }

.contact-info-icon {
	width: 44px; height: 44px;
	background: rgba(0,212,255,0.1);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	flex-shrink: 0;
}

.contact-info-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.contact-info-card p { color: var(--text-secondary); font-size: 14px; line-height: 1.6; }

.contact-socials {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 28px;
	transition: all 0.3s ease;
}

.contact-socials h4 {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 16px;
}

.social-links {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.social-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 10px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	transition: transform 0.2s, box-shadow 0.3s;
}

.social-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.social-link.max { background: var(--max-gradient); }
.social-link.telegram { background: var(--tg-gradient); }

.social-link .icon {
	width: 18px;
	height: 18px;
	fill: #fff;
}

/* ===== FOOTER ===== */
footer {
	border-top: 1px solid var(--border);
	padding: 40px 0;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

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

.footer-links {
	display: flex;
	gap: 24px;
	list-style: none;
}

.footer-links a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.3s;
}

.footer-links a:hover { color: var(--accent); }

/* ===== MODAL ===== */
.modal-overlay {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0.7);
	backdrop-filter: blur(8px);
	z-index: 1000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.modal-overlay.active {
	display: flex;
	opacity: 1;
}

.modal {
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: 20px;
	width: 100%;
	max-width: 520px;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	transform: translateY(20px) scale(0.97);
	transition: transform 0.3s ease;
}

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

.modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 28px 32px 0;
}

.modal-header h3 {
	font-size: 22px;
	font-weight: 700;
}

.modal-close {
	width: 36px; height: 36px;
	background: rgba(255,255,255,0.05);
	border: 1px solid var(--border);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--text-secondary);
	font-size: 18px;
	transition: all 0.2s;
}

.modal-close:hover {
	background: rgba(255,255,255,0.1);
	color: var(--text-primary);
}

.modal-body { padding: 24px 32px 32px; }

.modal-body .form-group { margin-bottom: 16px; }

.modal-body .form-group label {
	font-size: 13px;
	margin-bottom: 6px;
}

.modal-body .form-group input,
.modal-body .form-group select {
	padding: 12px 16px;
	font-size: 14px;
}

.modal-body .btn { width: 100%; justify-content: center; font-size: 15px; padding: 14px; }

/* Success modal */
.success-icon {
	width: 80px; height: 80px;
	background: linear-gradient(135deg, var(--accent-3), #059669);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	margin: 0 auto 24px;
}

.success-modal-content { text-align: center; padding: 48px 32px; }

.success-modal-content h3 {
	font-size: 24px;
	font-weight: 800;
	margin-bottom: 12px;
}

.success-modal-content p {
	color: var(--text-secondary);
	font-size: 15px;
	line-height: 1.7;
	margin-bottom: 28px;
}

.success-messengers {
	display: flex;
	gap: 12px;
	justify-content: center;
	margin-bottom: 24px;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--bg-secondary);
	border-top: 1px solid var(--border);
	padding: 20px 0;
	z-index: 900;
	transform: translateY(100%);
	transition: transform 0.5s ease;
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-inner {
	display: flex;
	align-items: center;
	gap: 24px;
}

.cookie-text {
	flex: 1;
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.6;
}

.cookie-text a {
	color: var(--accent);
	text-decoration: underline;
}

.cookie-btn {
	flex-shrink: 0;
	background: linear-gradient(135deg, var(--accent), #0099cc);
	color: var(--bg-primary);
	border: none;
	padding: 10px 28px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.3s;
	font-family: inherit;
}

.cookie-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(0,212,255,0.3);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
	position: fixed;
	bottom: 32px;
	right: 32px;
	width: 48px;
	height: 48px;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 200;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: all 0.3s ease;
	border: none;
	box-shadow: 0 4px 20px rgba(0,212,255,0.3);
}

.back-to-top.visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-to-top:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(0,212,255,0.4);
}

.back-to-top svg {
	width: 20px;
	height: 20px;
	fill: var(--bg-primary);
}

/* ===== SCROLL ANIMATION ===== */
.reveal {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
	.hero h1 { font-size: 42px; }
	.hero-content { grid-template-columns: 1fr; gap: 48px; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.symptoms-grid { grid-template-columns: repeat(2, 1fr); }
	.services-grid { grid-template-columns: 1fr; }
	.pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
	.cms-grid { grid-template-columns: repeat(2, 1fr); }
	.guarantee-grid { grid-template-columns: repeat(2, 1fr); }
	.contact-grid { grid-template-columns: 1fr; }
	.cta-box { padding: 48px 32px; }
	.cta-box h2 { font-size: 32px; }
}

@media (max-width: 768px) {
	.nav-links { display: none; }
	.header-contacts { display: none; }
	.nav-cta-desk { display: none; }
	.burger { display: flex; }
	.mobile-header-extras { display: flex; }
	.hero h1 { font-size: 34px; }
	.section-title { font-size: 30px; }
	.symptoms-grid { grid-template-columns: 1fr; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.cms-grid { grid-template-columns: repeat(2, 1fr); }
	.guarantee-grid { grid-template-columns: 1fr; }
	.footer-content { flex-direction: column; gap: 16px; text-align: center; }
	.hero-visual { display: none; }
	.cookie-inner { flex-direction: column; text-align: center; }
	.faq-question h4 { font-size: 14px; }
	.back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

/* ===== MOBILE HEADER ===== */
.mobile-header-extras {
	display: none;
	align-items: center;
	gap: 10px;
}

.mobile-messenger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	text-decoration: none;
}

.mobile-messenger .icon { width: 16px; height: 16px; fill: #fff; }
.mobile-messenger.max { background: var(--max-gradient); }
.mobile-messenger.telegram { background: var(--tg-gradient); }
.mobile-messenger.phone { background: var(--phone-gradient); }

/* ===== MOBILE NAV ===== */
.mobile-nav {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(10,14,23,0.98);
	z-index: 200;
	display: none;
	flex-direction: column;
	overflow-y: auto;
}

.mobile-nav.active { display: flex; }

.mobile-nav-bg {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background-image:
		linear-gradient(rgba(0,212,255,0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(0,212,255,0.03) 1px, transparent 1px);
	background-size: 60px 60px;
	pointer-events: none;
	z-index: 0;
}

.mobile-nav-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 24px;
}

.mobile-nav-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 40px;
}

.mobile-nav-close {
	background: none;
	border: none;
	color: var(--text-primary);
	font-size: 28px;
	cursor: pointer;
	padding: 4px;
	line-height: 1;
}

.mobile-nav-links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}

.mobile-nav-links a {
	color: var(--text-primary);
	text-decoration: none;
	font-size: 20px;
	font-weight: 600;
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
	transition: color 0.3s;
}

.mobile-nav-links a:hover { color: var(--accent); }

.mobile-nav-bottom {
	margin-top: auto;
	padding-top: 24px;
	border-top: 1px solid var(--border);
}

.mobile-nav-phone {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.mobile-nav-phone a {
	color: var(--text-primary);
	text-decoration: none;
	font-size: 20px;
	font-weight: 700;
}

.mobile-nav-messengers {
	display: flex;
	gap: 10px;
	margin-bottom: 24px;
}

.mobile-nav-messengers a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 10px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
}

.mobile-nav-messengers a .icon { width: 18px; height: 18px; fill: #fff; }
.mobile-nav-messengers a.mn-max { background: var(--max-gradient); }
.mobile-nav-messengers a.mn-tg { background: var(--tg-gradient); }

.mobile-nav-cta {
	display: block;
	width: 100%;
	text-align: center;
	padding: 16px;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--accent), #0099cc);
	color: var(--bg-primary);
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	cursor: pointer;
	border: none;
	font-family: inherit;
}

/* ===== SUCCESS MESSAGE (inline) ===== */
.success-message {
	display: none;
	background: rgba(16,185,129,0.1);
	border: 1px solid rgba(16,185,129,0.3);
	border-radius: 12px;
	padding: 24px;
	text-align: center;
	margin-top: 20px;
}

.success-message.show { display: block; }
.success-message h4 { color: var(--accent-3); font-size: 18px; margin-bottom: 8px; }
.success-message p { color: var(--text-secondary); font-size: 14px; }