@charset "utf-8";
/*
  Findex BDG — стилі сайту.
  Візуальна основа: Tooplate 2149 Strategic Consulting
  https://www.tooplate.com/view/2149-strategic-consulting
*/

:root {
	--ink-900: #0f172a;
	--ink-800: #1e293b;
	--ink-700: #334155;
	--ink-600: #475569;
	--ink-500: #64748b;
	--ink-400: #94a3b8;
	--ink-300: #cbd5e1;
	--ink-200: #e2e8f0;
	--ink-100: #f1f5f9;
	--ink-50: #f8fafc;
	--white: #ffffff;

	--grad-dark: linear-gradient(135deg, #1e293b 0%, #475569 50%, #64748b 100%);
	--grad-deep: linear-gradient(135deg, #1e293b 0%, #475569 100%);
	--grad-accent: linear-gradient(135deg, #475569, #64748b);

	--border: 2px solid rgba(71, 85, 105, 0.1);
	--border-strong: rgba(71, 85, 105, 0.3);
	--shadow-sm: 0 8px 25px rgba(71, 85, 105, 0.1);
	--shadow-md: 0 20px 40px rgba(71, 85, 105, 0.15);

	--radius-lg: 25px;
	--radius-md: 20px;
	--radius-sm: 14px;

	--container: 1200px;
	--nav-h: 92px;
	--font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
	font-family: var(--font);
	line-height: 1.6;
	color: var(--ink-800);
	background: var(--ink-50);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
svg { flex-shrink: 0; }
.icon, .tab-icon, .feature-icon, .feature-check, .author-avatar, .num { flex-shrink: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 5%; }
@media (min-width: 1300px) { .container { padding: 0; } }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Кнопки ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 1.05rem 2.2rem;
	border-radius: 60px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn svg { width: 18px; height: 18px; }
.btn-light { background: rgba(255, 255, 255, 0.95); color: var(--ink-800); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); }
.btn-light:hover { background: var(--white); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.7); }
.btn-dark { background: var(--grad-deep); color: var(--white); }
.btn-dark:hover { box-shadow: 0 15px 30px rgba(30, 41, 59, 0.3); }
.btn-outline { background: var(--white); color: var(--ink-800); border-color: rgba(71, 85, 105, 0.2); }
.btn-outline:hover { border-color: var(--ink-600); }
.btn-sm { padding: 0.7rem 1.4rem; font-size: 0.92rem; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--ink-800);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 2px solid var(--ink-400);
	padding-bottom: 2px;
	transition: color 0.2s ease, border-color 0.2s ease;
}
.link-arrow:hover { color: var(--ink-600); border-color: var(--ink-600); }

/* ---------- Навігація ---------- */
.navbar {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 1000;
	background: var(--white);
	border-bottom: 1px solid rgba(71, 85, 105, 0.1);
	transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06); }
.nav-container {
	height: var(--nav-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	padding: 0 5%;
}
.logo { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; min-width: 0; }
.logo img { width: 54px; height: 54px; border-radius: 12px; flex-shrink: 0; }
.logo-main-text {
	display: block;
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.2;
	background: var(--grad-accent);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}
.logo-subtitle { display: block; font-size: 0.8rem; font-weight: 500; color: var(--ink-500); margin-top: 2px; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-links a, .logo-main-text { white-space: nowrap; }
@media (max-width: 1380px) { .nav-links { gap: 1.5rem; } }
.nav-links a:not(.btn) {
	position: relative;
	color: var(--ink-800);
	text-decoration: none;
	font-weight: 500;
	padding: 0.5rem 0;
	transition: color 0.3s ease;
}
.nav-links a:not(.btn)::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 0;
	height: 2px;
	transform: translateX(-50%);
	background: var(--grad-accent);
	transition: width 0.3s ease;
}
.nav-links a:not(.btn):hover { color: var(--ink-600); }
.nav-links a:not(.btn):hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--ink-600); font-weight: 600; }

.mobile-menu {
	display: none;
	flex-direction: column;
	gap: 6px;
	background: none;
	border: 0;
	padding: 6px;
	cursor: pointer;
}
.mobile-menu span { width: 28px; height: 3px; border-radius: 2px; background: var(--ink-600); transition: transform 0.3s ease, opacity 0.3s ease; }
.mobile-menu.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.mobile-menu.open span:nth-child(2) { opacity: 0; }
.mobile-menu.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 1180px) {
	.mobile-menu { display: flex; }
	.nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: flex-start;
		gap: 1.3rem;
		padding: 2rem 5%;
		background: rgba(248, 250, 252, 0.98);
		backdrop-filter: blur(20px);
		box-shadow: 0 10px 30px rgba(71, 85, 105, 0.1);
		border-radius: 0 0 20px 20px;
	}
	.nav-links.active { display: flex; }
}
@media (max-width: 700px) {
	:root { --nav-h: 76px; }
	.logo-main-text { font-size: 1.05rem; white-space: normal; }
	.logo-subtitle { font-size: 0.6rem; }
	.logo img { width: 46px; height: 46px; border-radius: 10px; }
}

/* ---------- Загальні секції ---------- */
.section { padding: 7rem 0; position: relative; }
.section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 3rem;
	margin-bottom: 3.5rem;
}
.section-head p { max-width: 460px; color: var(--ink-500); font-size: 1.08rem; line-height: 1.7; }
.section-title {
	font-size: clamp(2.2rem, 4.5vw, 3.3rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -1px;
	color: var(--ink-800);
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--ink-500);
	margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; opacity: 0.6; }
.on-dark .eyebrow { color: var(--ink-300); }
.on-dark .section-title { color: var(--white); }
.on-dark .section-head p { color: rgba(255, 255, 255, 0.75); }

.bg-grid::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
	background-size: 60px 60px;
	animation: gridMove 20s linear infinite;
	pointer-events: none;
}
.bg-diagonal::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		repeating-linear-gradient(45deg, rgba(71, 85, 105, 0.045), rgba(71, 85, 105, 0.045) 1px, transparent 1px, transparent 26px);
	pointer-events: none;
}
@keyframes gridMove { to { transform: translate(60px, 60px); } }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--grad-dark);
	color: var(--white);
	padding: calc(var(--nav-h) + 5rem) 0 5rem;
	min-height: min(100vh, 900px);
	display: flex;
	align-items: center;
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 4rem; align-items: center; }
.hero-content { animation: fadeInUp 1s ease both; }
.hero .eyebrow { color: var(--ink-300); }
.hero h1 {
	font-size: clamp(2.6rem, 5.6vw, 4.6rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -2px;
}
.hero-rotator {
	margin-top: 1.4rem;
	font-size: clamp(1.2rem, 2.2vw, 1.6rem);
	font-weight: 600;
	color: var(--ink-200);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: baseline;
}
.hero-rotator .word {
	display: inline-block;
	color: var(--white);
	border-bottom: 3px solid rgba(255, 255, 255, 0.35);
	transition: opacity 0.4s ease, transform 0.4s ease;
}
.hero-rotator .word.out { opacity: 0; transform: translateY(8px); }
.hero-lead { margin-top: 1.4rem; font-size: 1.15rem; color: rgba(255, 255, 255, 0.82); max-width: 580px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero-facts {
	display: flex;
	gap: 2.8rem;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	max-width: 580px;
}
.hero-facts b { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.hero-facts span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }

.hero-panel {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	backdrop-filter: blur(16px);
	border-radius: var(--radius-lg);
	padding: 1.6rem;
	box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
	animation: fadeInUp 1s 0.2s ease both;
}
.hero-panel-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 0.4rem 1rem;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.7);
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.hero-service {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.85rem 0.9rem;
	border-radius: var(--radius-sm);
	text-decoration: none;
	color: var(--white);
	transition: background 0.25s ease, transform 0.25s ease;
}
.hero-service + .hero-service { margin-top: 0.3rem; }
.hero-service:hover { background: rgba(255, 255, 255, 0.1); transform: translateX(4px); }
.hero-service .icon {
	width: 42px; height: 42px; border-radius: 12px;
	display: grid; place-items: center;
	background: rgba(255, 255, 255, 0.12);
}
.hero-service .icon svg { width: 20px; height: 20px; }
.hero-service .text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.hero-service .name { font-weight: 700; font-size: 1rem; line-height: 1.3; }
.hero-service .sub { font-size: 0.82rem; line-height: 1.35; color: rgba(255, 255, 255, 0.65); }
.hero-service .price { margin-left: auto; font-weight: 700; font-size: 0.92rem; white-space: nowrap; color: var(--ink-200); }

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

/* ---------- Факти під hero ---------- */
.trust-strip { background: var(--white); border-bottom: 1px solid var(--ink-200); }
.trust-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; gap: 1rem; align-items: center; padding: 1.8rem 1.2rem; }
.trust-item + .trust-item { border-left: 1px solid var(--ink-200); }
.trust-item .icon {
	width: 44px; height: 44px; border-radius: 12px;
	display: grid; place-items: center;
	background: var(--ink-100); color: var(--ink-600);
}
.trust-item .icon svg { width: 22px; height: 22px; }
.trust-item b { display: block; font-size: 1rem; color: var(--ink-800); line-height: 1.3; }
.trust-item span { font-size: 0.88rem; color: var(--ink-500); }

/* ---------- Послуги ---------- */
.services { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f8fafc 100%); }
.services .container { position: relative; z-index: 1; }
.services-layout { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
.services-content {
	background: rgba(255, 255, 255, 0.9);
	border: var(--border);
	border-radius: var(--radius-lg);
	padding: 2.6rem;
	backdrop-filter: blur(15px);
	min-height: 520px;
	box-shadow: var(--shadow-sm);
}
.service-details { display: none; }
.service-details.active { display: block; animation: fadeInUp 0.5s ease both; }
.service-detail-head { display: flex; gap: 1.2rem; align-items: center; margin-bottom: 1.4rem; }
.service-detail-head .icon {
	width: 58px; height: 58px; border-radius: 16px;
	display: grid; place-items: center;
	background: var(--grad-accent); color: var(--white);
}
.service-detail-head .icon svg { width: 26px; height: 26px; }
.service-details h3 { font-size: 1.75rem; font-weight: 800; line-height: 1.2; color: var(--ink-800); letter-spacing: -0.5px; }
.service-subtitle { font-size: 1rem; color: var(--ink-600); font-weight: 600; margin-top: 0.2rem; }
.service-details p { color: var(--ink-500); font-size: 1rem; line-height: 1.75; margin-bottom: 1.1rem; }
.service-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; margin-top: 1.6rem; }
.service-features { list-style: none; }
.service-features li {
	display: flex; gap: 0.8rem; align-items: flex-start;
	padding: 0.65rem 0;
	border-bottom: 1px solid rgba(71, 85, 105, 0.08);
	font-size: 0.97rem;
}
.service-features li:last-child { border-bottom: 0; }
.feature-check {
	width: 22px; height: 22px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--grad-accent); color: var(--white);
	margin-top: 1px;
}
.feature-check svg { width: 12px; height: 12px; }
.price-card { background: var(--ink-50); border: var(--border); border-radius: var(--radius-md); padding: 1.3rem 1.4rem; }
.price-card h4 { font-size: 0.78rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-500); margin-bottom: 0.6rem; }
.price-list { list-style: none; }
.price-list li {
	display: flex; justify-content: space-between; gap: 1rem;
	padding: 0.6rem 0;
	border-bottom: 1px dashed rgba(71, 85, 105, 0.18);
	color: var(--ink-600);
	font-size: 0.97rem;
}
.price-list li:last-child { border-bottom: 0; }
.price-list strong { color: var(--ink-800); white-space: nowrap; }
.service-cta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--ink-200); }
.service-cta span { color: var(--ink-500); font-size: 0.95rem; }
.service-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }

.services-tabs { display: flex; flex-direction: column; gap: 0.9rem; }
.service-tab {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	gap: 1rem;
	width: 100%;
	text-align: left;
	padding: 1rem 1.1rem;
	background: rgba(255, 255, 255, 0.75);
	border: var(--border);
	border-radius: 18px;
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.service-tab::before {
	content: '';
	position: absolute; left: 0; top: 0; bottom: 0;
	width: 0;
	background: var(--grad-accent);
	transition: width 0.3s ease;
}
.service-tab:hover { transform: translateX(6px); border-color: var(--border-strong); box-shadow: 0 10px 25px rgba(71, 85, 105, 0.1); }
.service-tab.active { background: var(--white); border-color: rgba(71, 85, 105, 0.35); box-shadow: 0 10px 30px rgba(71, 85, 105, 0.15); transform: translateX(10px); }
.service-tab.active::before { width: 4px; }
.tab-icon {
	width: 48px; height: 48px; border-radius: 12px;
	display: grid; place-items: center;
	background: linear-gradient(135deg, rgba(71, 85, 105, 0.1), rgba(100, 116, 139, 0.1));
	color: var(--ink-600);
	transition: background 0.3s ease, color 0.3s ease;
}
.tab-icon svg { width: 22px; height: 22px; }
.service-tab.active .tab-icon, .service-tab:hover .tab-icon { background: var(--grad-accent); color: var(--white); }
.service-tab h4 { font-size: 1rem; font-weight: 700; color: var(--ink-800); line-height: 1.25; }
.service-tab p { font-size: 0.82rem; color: var(--ink-500); line-height: 1.35; margin-top: 0.15rem; }
.service-tab .tab-price { margin-left: auto; font-size: 0.8rem; font-weight: 700; color: var(--ink-600); white-space: nowrap; }

/* ---------- Як ми працюємо ---------- */
.process { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.process-grid::before {
	content: '';
	position: absolute;
	top: 34px; left: 8%; right: 8%;
	border-top: 2px dashed var(--ink-300);
}
.process-step { position: relative; background: var(--ink-50); border: var(--border); border-radius: var(--radius-md); padding: 1.8rem 1.6rem; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.process-step .num {
	width: 48px; height: 48px; border-radius: 14px;
	display: grid; place-items: center;
	background: var(--grad-deep); color: var(--white);
	font-weight: 800; font-size: 1rem;
	margin-bottom: 1.3rem;
	position: relative;
}
.process-step h3 { font-size: 1.15rem; font-weight: 800; color: var(--ink-800); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.95rem; color: var(--ink-500); line-height: 1.65; }

/* ---------- Про нас ---------- */
.about-section { background: var(--grad-deep); color: var(--white); overflow: hidden; }
.about-section::before {
	content: '';
	position: absolute; inset: 0;
	background-image:
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 100px),
		repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 100px);
	pointer-events: none;
}
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; position: relative; z-index: 1; }
.about-content h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.15; letter-spacing: -1px; margin-bottom: 1.6rem; }
.about-content p { color: rgba(255, 255, 255, 0.82); font-size: 1.08rem; line-height: 1.8; margin-bottom: 1.4rem; }
.about-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 2.2rem 0; }
.feature-item {
	display: flex; align-items: center; gap: 0.9rem;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 15px;
	transition: background 0.3s ease, transform 0.3s ease;
}
.feature-item:hover { background: rgba(255, 255, 255, 0.09); transform: translateX(5px); }
.feature-icon {
	width: 40px; height: 40px; border-radius: 50%;
	display: grid; place-items: center;
	background: linear-gradient(135deg, #64748b, #94a3b8);
	color: var(--white);
}
.feature-icon svg { width: 19px; height: 19px; }
.feature-text { font-weight: 600; font-size: 0.95rem; color: rgba(255, 255, 255, 0.92); }
.about-visual { position: relative; }
.about-image { border-radius: 30px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); position: relative; aspect-ratio: 5 / 4; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.55)); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: -3.5rem; padding: 0 1.2rem; position: relative; z-index: 2; }
.stat {
	text-align: center;
	padding: 1.3rem 0.8rem;
	background: rgba(30, 41, 59, 0.75);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(12px);
	border-radius: var(--radius-md);
}
.stat-number { display: block; font-size: 2.3rem; font-weight: 800; letter-spacing: -1px; color: var(--white); line-height: 1.1; }
.stat-label { display: block; font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin-top: 0.4rem; }

/* ---------- Відгуки ---------- */
.testimonials { background: linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%); }
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; position: relative; z-index: 1; }
.testimonial {
	background: rgba(255, 255, 255, 0.9);
	border: var(--border);
	border-radius: var(--radius-md);
	padding: 2rem 2rem 1.7rem;
	display: flex;
	flex-direction: column;
	box-shadow: var(--shadow-sm);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testimonial .quote-icon { width: 34px; height: 34px; color: var(--ink-300); margin-bottom: 1rem; }
.testimonial-text { font-size: 1.05rem; line-height: 1.7; color: var(--ink-800); flex: 1; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.9rem; padding-top: 1.2rem; border-top: 1px solid var(--ink-200); }
.author-avatar {
	width: 48px; height: 48px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--grad-accent); color: var(--white);
	font-weight: 700; font-size: 0.95rem;
	flex-shrink: 0;
	overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info h4 { font-size: 0.98rem; font-weight: 700; color: var(--ink-800); line-height: 1.25; }
.author-info span { font-size: 0.86rem; color: var(--ink-500); }

/* ---------- Картки блогу ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.post-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: var(--border);
	border-radius: var(--radius-md);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.post-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.post-cover { position: relative; height: 200px; overflow: hidden; background: var(--grad-dark); }
.post-cover::before {
	content: '';
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
	background-size: 32px 32px;
}
.post-cover::after {
	content: '';
	position: absolute; right: -30px; bottom: -30px;
	width: 160px; height: 160px; border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 0 0 30px rgba(255, 255, 255, 0.04);
}
.post-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform 0.5s ease; }
.post-card:hover .post-cover img { transform: scale(1.04); }
.cover-novyny { background: linear-gradient(135deg, #0f172a 0%, #334155 100%); }
.cover-statti { background: linear-gradient(135deg, #1e293b 0%, #475569 60%, #64748b 100%); }
.cover-rozrobky { background: linear-gradient(135deg, #334155 0%, #64748b 100%); }
.cover-keisy { background: linear-gradient(135deg, #475569 0%, #94a3b8 100%); }
.cover-glyph { position: absolute; left: 1.2rem; bottom: 1.1rem; z-index: 1; color: rgba(255, 255, 255, 0.85); }
.cover-glyph svg { width: 34px; height: 34px; }
.post-badges { position: absolute; top: 1rem; left: 1rem; z-index: 2; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.post-badge {
	display: inline-flex; align-items: center; gap: 0.35rem;
	background: rgba(255, 255, 255, 0.95);
	color: var(--ink-800);
	font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
	padding: 0.35rem 0.8rem;
	border-radius: 30px;
}
.post-badge.muted { background: rgba(15, 23, 42, 0.55); color: var(--white); }
.post-badge svg { width: 12px; height: 12px; }
.post-body { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.5rem; flex: 1; }
.post-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--ink-500); }
.post-body h3 { font-size: 1.2rem; line-height: 1.35; font-weight: 700; color: var(--ink-800); }
.post-body p { font-size: 0.95rem; line-height: 1.6; color: var(--ink-500); }
.post-more { margin-top: auto; padding-top: 0.6rem; font-size: 0.9rem; font-weight: 700; color: var(--ink-600); }
.post-card.featured { grid-column: 1 / -1; flex-direction: row; }
.post-card.featured .post-cover { height: auto; min-height: 340px; flex: 1.15; }
.post-card.featured .post-body { flex: 1; padding: 2.6rem; justify-content: center; }
.post-card.featured h3 { font-size: 1.9rem; line-height: 1.25; letter-spacing: -0.5px; }
.post-card.featured p { font-size: 1.02rem; }

.blog-preview { background: var(--ink-50); }

/* ---------- Контакти ---------- */
.contact { background: var(--grad-deep); color: var(--white); overflow: hidden; }
.contact .container { position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.contact-intro p { font-size: 1.12rem; line-height: 1.75; color: rgba(255, 255, 255, 0.82); margin-top: 1.4rem; max-width: 460px; }
.contact-channels { display: grid; gap: 0.8rem; margin-top: 2.2rem; max-width: 460px; }
.channel {
	display: flex; align-items: center; gap: 1rem;
	padding: 1rem 1.2rem;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.14);
	text-decoration: none; color: var(--white);
	transition: background 0.25s ease, transform 0.25s ease;
}
.channel:hover { background: rgba(255, 255, 255, 0.13); transform: translateX(4px); }
.channel .icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); }
.channel .icon svg { width: 20px; height: 20px; }
.channel b { display: block; font-size: 1rem; }
.channel span { font-size: 0.86rem; color: rgba(255, 255, 255, 0.65); }
.channel .arrow { margin-left: auto; opacity: 0.6; }

.form-card { background: var(--white); color: var(--ink-800); border-radius: var(--radius-lg); padding: 2.4rem; box-shadow: 0 30px 60px rgba(15, 23, 42, 0.3); }
.form-card h3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; }
.form-card > p { color: var(--ink-500); margin: 0.4rem 0 1.6rem; font-size: 0.97rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.82rem; font-weight: 600; color: var(--ink-600); }
.form-field input,
.form-field select,
.form-field textarea {
	width: 100%;
	padding: 0.95rem 1.1rem;
	border: 2px solid var(--ink-200);
	border-radius: var(--radius-sm);
	background: var(--ink-50);
	color: var(--ink-800);
	font-size: 1rem;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--ink-500); background: var(--white); box-shadow: 0 0 0 4px rgba(100, 116, 139, 0.15); }
.form-field .error { font-size: 0.82rem; color: #b91c1c; }
.checkbox-group { display: flex; gap: 0.7rem; align-items: flex-start; margin: 1.2rem 0 1.4rem; font-size: 0.88rem; color: var(--ink-500); line-height: 1.5; }
.checkbox-group input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink-600); flex-shrink: 0; }
.checkbox-group a { color: var(--ink-800); }
.form-card .btn { width: 100%; }
.form-status { margin-top: 1rem; font-size: 0.95rem; font-weight: 600; text-align: center; min-height: 1.4em; }
.form-status.ok { color: #15803d; }
.form-status.err { color: #b91c1c; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Футер ---------- */
.footer { background: var(--ink-900); color: var(--white); padding: 4.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-logo { display: flex; align-items: center; gap: 0.7rem; font-size: 1.25rem; font-weight: 800; margin-bottom: 1rem; }
.footer-logo img { width: 32px; height: 32px; border-radius: 8px; background: var(--white); }
.footer-brand p { color: rgba(255, 255, 255, 0.6); font-size: 0.95rem; line-height: 1.65; max-width: 300px; }
.footer-col { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255, 255, 255, 0.45); margin-bottom: 0.3rem; }
.footer a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 0.95rem; transition: color 0.2s ease; }
.footer a:hover { color: var(--white); }
.footer-legal { margin-top: 0.35rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); }
.footer-legal a { color: inherit; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.6rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.55); }
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.9rem; color: rgba(255, 255, 255, 0.65); }

/* ---------- Шапка внутрішніх сторінок ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--grad-dark); color: var(--white); padding: calc(var(--nav-h) + 4.5rem) 0 4.5rem; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--ink-300); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.12; letter-spacing: -1.5px; max-width: 900px; }
.page-hero p { font-size: 1.15rem; color: rgba(255, 255, 255, 0.82); margin-top: 1.1rem; max-width: 680px; line-height: 1.7; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 1.4rem; }
.breadcrumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); }
.page-hero-stats { display: flex; gap: 2.5rem; margin-top: 2.2rem; flex-wrap: wrap; }
.page-hero-stats div b { display: block; font-size: 1.6rem; font-weight: 800; }
.page-hero-stats div span { font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); }

/* ---------- Список блогу ---------- */
.blog-page { padding: 3.5rem 0 6rem; }
.blog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.blog-filters { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.blog-filter {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.6rem 1.15rem;
	border: 2px solid rgba(71, 85, 105, 0.15);
	border-radius: 40px;
	background: var(--white);
	color: var(--ink-600);
	font-weight: 600; font-size: 0.9rem;
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.blog-filter small { font-size: 0.78rem; color: var(--ink-400); font-weight: 700; }
.blog-filter:hover { border-color: rgba(71, 85, 105, 0.4); }
.blog-filter.active { background: var(--ink-800); border-color: var(--ink-800); color: var(--white); }
.blog-filter.active small { color: var(--ink-300); }
.blog-search { position: relative; }
.blog-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-400); }
.blog-search input {
	min-width: 280px;
	padding: 0.7rem 1.2rem 0.7rem 2.7rem;
	border: 2px solid rgba(71, 85, 105, 0.15);
	border-radius: 40px;
	background: var(--white);
	color: var(--ink-800);
}
.blog-search input:focus { outline: none; border-color: var(--ink-500); }
.blog-results { margin: -1rem 0 2rem; color: var(--ink-500); }
.blog-results a { color: var(--ink-800); font-weight: 600; }
.blog-empty { text-align: center; padding: 4rem 1rem; background: var(--white); border: var(--border); border-radius: var(--radius-md); color: var(--ink-500); }
.blog-empty h3 { color: var(--ink-800); font-size: 1.3rem; margin-bottom: 0.5rem; }

.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; flex-wrap: wrap; }
.pagination a, .pagination span {
	min-width: 44px; height: 44px; padding: 0 0.9rem;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 12px;
	border: 2px solid rgba(71, 85, 105, 0.15);
	background: var(--white);
	color: var(--ink-600);
	text-decoration: none; font-weight: 600;
}
.pagination a:hover { border-color: var(--ink-500); }
.pagination .current { background: var(--ink-800); border-color: var(--ink-800); color: var(--white); }
.pagination .disabled { opacity: 0.4; }

.subscribe-box {
	position: relative;
	overflow: hidden;
	margin-top: 4.5rem;
	background: var(--grad-deep);
	color: var(--white);
	border-radius: var(--radius-lg);
	padding: 3rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
}
.subscribe-box > * { position: relative; z-index: 1; }
.subscribe-box h3 { font-size: 1.8rem; font-weight: 800; line-height: 1.2; }
.subscribe-box p { color: rgba(255, 255, 255, 0.8); margin-top: 0.6rem; }
.subscribe-form { display: flex; gap: 0.6rem; }
.subscribe-form input {
	flex: 1; min-width: 0;
	padding: 1rem 1.3rem;
	border-radius: 40px;
	border: 2px solid rgba(255, 255, 255, 0.25);
	background: rgba(255, 255, 255, 0.1);
	color: var(--white);
}
.subscribe-form input::placeholder { color: rgba(255, 255, 255, 0.65); }
.subscribe-form input:focus { outline: none; border-color: rgba(255, 255, 255, 0.6); }
.subscribe-form .btn { padding: 1rem 1.6rem; }
.subscribe-consent { font-size: 0.82rem; line-height: 1.45; margin: 0.7rem 0 0; color: rgba(255, 255, 255, 0.7); }
.subscribe-consent a { color: inherit; text-decoration: underline; }
.subscribe-note { font-size: 0.9rem; margin-top: 0.7rem; min-height: 1.3em; color: rgba(255, 255, 255, 0.85); }

/* ---------- Стаття ---------- */
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad-accent); z-index: 1100; }
.article-meta { display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center; margin-top: 1.8rem; color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; }
.article-meta .post-badge { position: static; }
.article-author { display: flex; align-items: center; gap: 0.7rem; }
.article-author .author-avatar { width: 40px; height: 40px; font-size: 0.8rem; background: rgba(255, 255, 255, 0.15); }
.article-cover { max-width: 1000px; margin: -2.5rem auto 0; padding: 0 5%; position: relative; z-index: 2; }
.article-cover img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); aspect-ratio: 16 / 8; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 740px); gap: 4rem; justify-content: center; padding: 4rem 5% 6rem; }
.article-layout.no-toc { grid-template-columns: minmax(0, 740px); }
.article-toc { position: sticky; top: calc(var(--nav-h) + 2rem); align-self: start; }
.article-toc summary { list-style: none; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--ink-500); margin-bottom: 1rem; cursor: default; }
.article-toc summary::-webkit-details-marker { display: none; }
.article-toc nav a { display: block; padding: 0.45rem 0 0.45rem 1rem; border-left: 2px solid var(--ink-200); color: var(--ink-600); text-decoration: none; font-size: 0.92rem; line-height: 1.45; transition: color 0.2s ease, border-color 0.2s ease; }
.article-toc nav a:hover, .article-toc nav a.active { color: var(--ink-800); border-left-color: var(--ink-600); font-weight: 600; }
.toc-aside-extra { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--ink-200); }
.toc-aside-extra p { font-size: 0.88rem; color: var(--ink-500); margin-bottom: 0.8rem; }

.article-body { font-size: 1.1rem; line-height: 1.8; color: var(--ink-700); min-width: 0; }
.article-body > * + * { margin-top: 1.3rem; }
.article-body .lead { font-size: 1.28rem; line-height: 1.7; color: var(--ink-800); }
.article-body h2 { font-size: 1.8rem; line-height: 1.25; font-weight: 800; color: var(--ink-800); letter-spacing: -0.5px; margin-top: 2.8rem; }
.article-body h3 { font-size: 1.3rem; font-weight: 700; color: var(--ink-800); margin-top: 2rem; }
.article-body ul, .article-body ol { padding-left: 1.4rem; }
.article-body li + li { margin-top: 0.45rem; }
.article-body li::marker { color: var(--ink-500); font-weight: 700; }
.article-body a { color: var(--ink-800); text-decoration-color: var(--ink-400); text-underline-offset: 3px; }
.article-body img { border-radius: var(--radius-sm); }
.article-body figure figcaption { font-size: 0.9rem; color: var(--ink-500); margin-top: 0.6rem; text-align: center; }
.article-body blockquote {
	border-left: 4px solid var(--ink-600);
	background: var(--white);
	padding: 1.3rem 1.6rem;
	border-radius: 0 16px 16px 0;
	font-style: italic;
	color: var(--ink-800);
	box-shadow: var(--shadow-sm);
}
.article-body table { width: 100%; border-collapse: collapse; font-size: 0.98rem; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 0 0 2px rgba(71, 85, 105, 0.08); }
.article-body th, .article-body td { text-align: left; padding: 0.9rem 1rem; border-bottom: 1px solid var(--ink-200); vertical-align: top; }
.article-body th { background: var(--ink-100); color: var(--ink-800); font-weight: 700; }
.article-body code { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; background: var(--ink-100); padding: 0.15em 0.4em; border-radius: 6px; color: var(--ink-800); }
.article-body pre { background: var(--ink-900); color: var(--ink-200); padding: 1.3rem 1.5rem; border-radius: var(--radius-sm); overflow-x: auto; font-size: 0.92rem; line-height: 1.6; }
.article-body pre code { background: none; padding: 0; color: inherit; }
.article-body hr { border: 0; border-top: 1px solid var(--ink-200); margin: 2.5rem 0; }
.callout { background: linear-gradient(135deg, rgba(71, 85, 105, 0.08), rgba(100, 116, 139, 0.05)); border: var(--border); border-radius: 18px; padding: 1.4rem 1.7rem; }
.callout strong { color: var(--ink-800); }

.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; background: var(--ink-900); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.attachment-card {
	display: flex; align-items: center; gap: 1rem;
	padding: 1.2rem 1.4rem;
	background: var(--white);
	border: var(--border);
	border-radius: var(--radius-md);
	text-decoration: none; color: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.attachment-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.attachment-card .icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-accent); color: var(--white); }
.attachment-card .icon svg { width: 22px; height: 22px; }
.attachment-card b { display: block; color: var(--ink-800); }
.attachment-card span { font-size: 0.88rem; color: var(--ink-500); }
.attachment-card .btn { margin-left: auto; }

.article-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.article-tags a { font-size: 0.85rem; font-weight: 600; color: var(--ink-600); background: var(--ink-100); padding: 0.35rem 0.8rem; border-radius: 30px; text-decoration: none; }
.article-tags a:hover { background: var(--ink-200); }

.article-cta { margin-top: 2.8rem !important; background: var(--grad-deep); color: var(--white); border-radius: 22px; padding: 2.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.article-cta h4 { font-size: 1.35rem; font-weight: 800; }
.article-cta p { color: rgba(255, 255, 255, 0.8); font-size: 1rem; margin-top: 0.3rem; }
.share { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; font-size: 0.95rem; color: var(--ink-500); }
.share a, .share button {
	display: inline-flex; align-items: center; gap: 0.4rem;
	border: 2px solid rgba(71, 85, 105, 0.15);
	border-radius: 30px;
	padding: 0.4rem 1rem;
	background: var(--white);
	color: var(--ink-600);
	text-decoration: none;
	font-weight: 600; font-size: 0.88rem;
	cursor: pointer;
}
.share a:hover, .share button:hover { border-color: var(--ink-500); }
.author-box { display: flex; gap: 1.2rem; align-items: center; border-top: 1px solid var(--ink-200); padding-top: 2rem; margin-top: 2.8rem !important; }
.author-box .author-avatar { width: 64px; height: 64px; font-size: 1.1rem; }
.author-box h4 { font-size: 1.05rem; color: var(--ink-800); }
.author-box .role { font-size: 0.88rem; color: var(--ink-600); font-weight: 600; }
.author-box p { font-size: 0.95rem; color: var(--ink-500); line-height: 1.55; margin-top: 0.25rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem !important; }
.post-nav a { display: block; padding: 1.1rem 1.3rem; background: var(--white); border: var(--border); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink-800); font-weight: 700; font-size: 0.98rem; line-height: 1.4; }
.post-nav a:hover { border-color: var(--border-strong); }
.post-nav small { display: block; font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-500); margin-bottom: 0.3rem; }
.post-nav .next { text-align: right; grid-column: 2; }
.related { background: var(--ink-100); }

/* ---------- Юридичні сторінки ---------- */
.legal-body { max-width: 860px; margin: 0 auto; padding: 4rem 5% 6rem; }
.legal-body h2 { font-size: 1.4rem; color: var(--ink-800); margin: 2.4rem 0 0.8rem; }
.legal-body h3 { font-size: 1.15rem; color: var(--ink-700); margin: 1.6rem 0 0.6rem; }
.legal-body p, .legal-body li { color: var(--ink-700); line-height: 1.8; }
.legal-body p + p { margin-top: 0.9rem; }
.legal-body ul, .legal-body ol { padding-left: 1.4rem; margin: 0.8rem 0; }

/* ---------- Сторінки послуг ---------- */
.service-page-layout { display: grid; grid-template-columns: minmax(0, 740px) 320px; gap: 4rem; justify-content: center; padding-top: 4rem; padding-bottom: 5rem; }
.service-aside { position: sticky; top: calc(var(--nav-h) + 2rem); align-self: start; display: grid; gap: 1.2rem; }
.aside-cta { background: var(--grad-deep); color: var(--white); border-radius: var(--radius-md); padding: 1.6rem; }
.aside-cta h4 { font-size: 1.15rem; font-weight: 800; }
.aside-cta p { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; margin: 0.5rem 0 1.1rem; line-height: 1.55; }
.aside-cta .btn { background: var(--white); color: var(--ink-800); }

.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card { display: flex; flex-direction: column; gap: 0.7rem; padding: 1.8rem; background: var(--white); border: var(--border); border-radius: var(--radius-md); text-decoration: none; color: inherit; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.service-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.service-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--ink-800); line-height: 1.3; }
.service-card p { font-size: 0.95rem; color: var(--ink-500); line-height: 1.6; }
.service-card .post-more { margin-top: auto; }

/* Калькулятор */
.calculator-section { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); }
.calc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: start; }
.calc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: var(--white); border: var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.calc-form .full, .calc-check { grid-column: 1 / -1; }
/* Поля в одному ряду вирівнюємо по низу: довгий підпис у два рядки не зсуває сусіднє поле */
.calc-form .form-field { justify-content: flex-end; }
.calc-form .form-field input, .calc-form .form-field select { height: 60px; box-sizing: border-box; }
.calc-check { margin: 0.2rem 0; }
.calc-result { position: sticky; top: calc(var(--nav-h) + 1.5rem); background: var(--grad-deep); color: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25); }
.calc-result-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-300); }
.calc-total { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -1px; margin: 0.4rem 0 1.2rem; }
.calc-breakdown { list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.calc-breakdown li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }
.calc-breakdown b { white-space: nowrap; color: var(--white); }
.calc-note { font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); margin: 1.2rem 0; line-height: 1.55; }
.calc-cta { width: 100%; }
.calc-disclaimer { font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); margin-top: 1rem; line-height: 1.5; }
.calc-oneoff { margin-top: 2rem; max-width: 760px; background: var(--white); }

/* FAQ */
.faq-container { max-width: 860px; }
.faq-container .section-title { margin-bottom: 2rem; }
.faq-list { display: grid; gap: 0.8rem; }
.faq-item { background: var(--white); border: var(--border); border-radius: var(--radius-sm); padding: 0 1.4rem; transition: border-color 0.2s ease; }
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.15rem 2rem 1.15rem 0; font-weight: 700; color: var(--ink-800); position: relative; line-height: 1.45; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 1rem; font-size: 1.4rem; font-weight: 400; color: var(--ink-500); }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding-bottom: 1.2rem; color: var(--ink-600); line-height: 1.75; }

@media (max-width: 1000px) {
	.service-page-layout { grid-template-columns: 1fr; gap: 2rem; }
	.service-aside { position: static; }
	.calc { grid-template-columns: 1fr; }
	.calc-result { position: static; }
	.service-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
	.calc-form { grid-template-columns: 1fr; padding: 1.4rem; }
	.service-cards { grid-template-columns: 1fr; }
}

/* ---------- Анімації при прокрутці ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
	.hero-grid { grid-template-columns: 1fr; gap: 3rem; }
	.hero-panel { max-width: 620px; }
	.services-layout { grid-template-columns: 1fr 320px; }
	.process-grid { grid-template-columns: repeat(2, 1fr); }
	.process-grid::before { display: none; }
}
@media (max-width: 1000px) {
	.section { padding: 5rem 0; }
	.section-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
	.trust-strip .container { grid-template-columns: repeat(2, 1fr); }
	.trust-item:nth-child(3) { border-left: 0; }
	.trust-item:nth-child(n + 3) { border-top: 1px solid var(--ink-200); }
	.about { grid-template-columns: 1fr; gap: 3rem; }
	.post-grid { grid-template-columns: repeat(2, 1fr); }
	.contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.article-layout { grid-template-columns: 1fr; gap: 2rem; }
	.article-toc { position: static; background: var(--white); border: var(--border); border-radius: var(--radius-sm); padding: 1rem 1.2rem; }
	.article-toc summary { margin-bottom: 0; cursor: pointer; display: flex; justify-content: space-between; }
	.article-toc summary::after { content: '+'; font-size: 1.1rem; }
	.article-toc[open] summary { margin-bottom: 0.8rem; }
	.article-toc[open] summary::after { content: '−'; }
	.toc-aside-extra { display: none; }
	.subscribe-box { grid-template-columns: 1fr; }
}
@media (max-width: 940px) {
	.services-layout { grid-template-columns: 1fr; }
	.services-content { display: none; }
	.service-tab:hover, .service-tab.active { transform: none; }
	.services-tabs .service-details { background: var(--white); border: var(--border); border-radius: var(--radius-md); padding: 1.6rem; margin-top: -0.3rem; }
	.service-columns { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
	.hero { padding: calc(var(--nav-h) + 3rem) 0 3.5rem; min-height: 0; }
	.hero h1 { letter-spacing: -1px; }
	.hero-facts { gap: 1.6rem; }
	.hero-facts b { font-size: 1.5rem; }
	.hero-actions .btn { flex: 1 1 100%; }
	.hero-panel { display: none; }
	.services-tabs .service-detail-head .icon { display: none; }
	.services-tabs .service-details h3 { font-size: 1.35rem; }
	.process-step { padding: 1.4rem; }
	.process-step .num { margin-bottom: 0.9rem; }
	.trust-strip .container { grid-template-columns: 1fr; }
	.trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--ink-200); }
	.trust-item { padding: 1.2rem 0; }
	.process-grid { grid-template-columns: 1fr; }
	.about-features { grid-template-columns: 1fr; }
	.stats { grid-template-columns: 1fr 1fr 1fr; padding: 0; gap: 0.5rem; }
	.stat-number { font-size: 1.6rem; }
	.stat-label { font-size: 0.62rem; letter-spacing: 0.3px; }
	.testimonials-grid { grid-template-columns: 1fr; }
	.post-grid { grid-template-columns: 1fr; }
	.post-card.featured { flex-direction: column; }
	.post-card.featured .post-cover { min-height: 210px; }
	.post-card.featured .post-body { padding: 1.5rem; }
	.post-card.featured h3 { font-size: 1.35rem; }
	.form-card { padding: 1.6rem; }
	.form-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.blog-search, .blog-search input { width: 100%; min-width: 0; }
	.subscribe-box { padding: 2rem 1.5rem; }
	.subscribe-form { flex-direction: column; }
	.page-hero { padding: calc(var(--nav-h) + 2.5rem) 0 3rem; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav .next { grid-column: 1; }
	.attachment-card { flex-wrap: wrap; }
	.attachment-card .btn { margin-left: 0; width: 100%; }
	.service-tab .tab-price { display: none; }
	.article-body table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}
