/* adStorm — базові стилі (Промпт 1 playbook). Шрифти: fonts.css; токени: design-tokens.css (див. functions.php). */

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font);
	background: var(--black);
	color: var(--white);
	overflow-x: hidden;
	line-height: 1.5;
}

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

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

.wrap {
	max-width: var(--c);
	margin: 0 auto;
	padding: 0 24px;
}

/* NAV — з adstorm-redesign.html (+ .nav--open для assets/js/nav.js) */
#nav.nav {
	position: fixed;
	top: calc(var(--admin-bar-h) + var(--adstorm-ml-banner-h, 0px));
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(10, 10, 10, 0.92);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	height: var(--nav-h);
	display: flex;
	align-items: center;
}

#nav.nav .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.nav-logo {
	font-size: 20px;
	font-weight: 900;
	letter-spacing: -0.5px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.nav-logo .pixel-mark {
	display: inline-grid;
	grid-template-columns: repeat(3, 5px);
	gap: 2px;
	margin-right: 2px;
}

.nav-logo .pixel-mark span {
	display: block;
	width: 5px;
	height: 5px;
	background: var(--white);
}

.nav-logo .pixel-mark span:nth-child(2),
.nav-logo .pixel-mark span:nth-child(6) {
	background: transparent;
}

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

.nav-links .nav-menu {
	display: flex;
	align-items: center;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-links .nav-menu li {
	margin: 0;
	padding: 0;
}

.nav-links a {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gray-300);
	transition: color 0.2s;
}

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

/* Мовний перемикач (PL/SK) */
.nav-lang {
	margin-left: 8px;
	padding-left: 16px;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-lang-list {
	display: flex;
	align-items: center;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-lang-link {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gray-400);
	text-decoration: none;
	padding: 4px 6px;
	border-radius: 4px;
	transition: color 0.2s, background 0.2s;
}

.nav-lang-link:hover {
	color: var(--white);
}

.nav-lang-link--current,
.nav-lang-link.nav-lang-link--current {
	color: var(--white);
	background: rgba(255, 255, 255, 0.08);
}

/* Адмінський банер: PL/SK ще не для гостей */
.adstorm-ml-admin-banner {
	position: fixed;
	top: var(--admin-bar-h);
	left: 0;
	right: 0;
	z-index: 101;
	min-height: var(--adstorm-ml-banner-h, 0px);
	background: rgba(30, 60, 120, 0.97);
	color: var(--white);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 12px;
	line-height: 1.35;
}

.adstorm-ml-admin-banner__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	padding: 6px 24px;
	max-width: var(--c);
	margin: 0 auto;
}

.adstorm-ml-admin-banner__text {
	margin: 0;
	flex: 1 1 200px;
}

.adstorm-ml-admin-banner__hint {
	opacity: 0.9;
	font-weight: 500;
}

.adstorm-ml-admin-banner__langs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.adstorm-ml-admin-banner__link {
	color: var(--white);
	text-decoration: underline;
	text-underline-offset: 2px;
	font-weight: 600;
}

.adstorm-ml-admin-banner__link:hover {
	opacity: 0.92;
}

.adstorm-ml-admin-banner__link.is-current {
	text-decoration: none;
	opacity: 0.85;
	cursor: default;
	pointer-events: none;
}

.adstorm-ml-admin-banner__settings {
	color: var(--gray-200);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.adstorm-ml-admin-banner__settings:hover {
	color: var(--white);
	text-decoration: underline;
}

.nav-cta {
	background: var(--white);
	color: var(--black);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 9px 20px;
	cursor: pointer;
	border: none;
	font-family: var(--font);
	transition: background 0.2s;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.nav-cta:hover {
	background: var(--gray-200);
}

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

.nav-burger span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--white);
	transition: all 0.2s;
}

/* FOOTER — з adstorm-redesign.html */
.footer {
	background: var(--black);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 48px 0;
}

.footer-inner {
	display: grid;
	grid-template-columns: auto 1fr auto auto;
	grid-template-rows: auto auto auto;
	grid-template-areas:
		"flogo fnav fmail fsocial"
		". fpolicy . ."
		"fcopy fcopy fcopy fcopy";
	column-gap: 24px;
	row-gap: 16px;
	align-items: center;
}

.footer-logo {
	grid-area: flogo;
	font-size: 18px;
	font-weight: 900;
	letter-spacing: -0.5px;
}

.footer-links {
	grid-area: fnav;
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.footer-info--email {
	grid-area: fmail;
}

.footer-info--copyright {
	grid-area: fcopy;
	justify-self: center;
	text-align: center;
	width: 100%;
}

.footer-info--policy {
	grid-area: fpolicy;
	justify-self: start;
}

.footer-links .footer-menu {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-links .footer-menu li {
	margin: 0;
	padding: 0;
}

.footer-links a {
	font-size: 13px;
	color: var(--gray-300);
	font-weight: 500;
	transition: color 0.2s;
}

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

.footer-info {
	font-size: 13px;
	color: var(--gray-300);
}

.footer-info a {
	font-weight: 600;
	color: var(--white);
}

.footer-info a:hover {
	text-decoration: underline;
}

.footer .footer-social.social-links {
	grid-area: fsocial;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
}

.footer .footer-social .soc-link {
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 700;
	color: var(--gray-400);
	text-decoration: none;
	transition:
		color 0.2s,
		border-color 0.2s,
		background 0.2s;
}

.footer .footer-social .soc-link:hover {
	background: rgba(255, 255, 255, 0.08);
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.3);
}

/*
 * reCAPTCHA v3: бейдж Google прихований візуально; скрипт і токен працюють як раніше.
 * Обов’язкове видиме розкриття — .footer-recaptcha-notice (див. FAQ Google reCAPTCHA).
 */
.grecaptcha-badge {
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
	position: fixed !important;
	right: 0 !important;
	bottom: 0 !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
	z-index: -1 !important;
}

.footer-recaptcha-notice {
	margin: 10px 0 0;
	font-size: 11px;
	line-height: 1.45;
	color: var(--gray-500);
	font-weight: 400;
	margin-left: auto;
	margin-right: auto;
	white-space: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	max-width: 100%;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.footer-recaptcha-notice::-webkit-scrollbar {
	display: none;
}

.footer-recaptcha-notice a {
	color: var(--gray-400);
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.footer-recaptcha-notice a:hover {
	color: var(--gray-300);
}

h1 {
	font-size: clamp(38px, 5vw, 68px);
	font-weight: 900;
	letter-spacing: -2px;
	line-height: 1.05;
}

h2 {
	font-size: clamp(28px, 4vw, 50px);
	font-weight: 900;
	letter-spacing: -1.5px;
	line-height: 1.05;
}

h3 {
	font-size: 20px;
	font-weight: 700;
}

p {
	color: var(--gray-300);
	line-height: 1.65;
}

section {
	padding: var(--section-gap) 0;
}

.section-tag {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--gray-400);
}

.section-tag::before {
	content: "";
	display: block;
	width: 20px;
	height: 1px;
	background: var(--gray-500);
}

.breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gray-500);
}

.breadcrumb::before {
	content: "";
	display: block;
	width: 16px;
	height: 1px;
	background: var(--gray-500);
	margin-right: 4px;
}

.breadcrumb a {
	color: var(--gray-300);
}

.breadcrumb a:hover {
	color: var(--white);
}

.breadcrumb .sep {
	color: var(--gray-600);
}

.breadcrumb .cur {
	color: var(--gray-300);
}

.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	background: var(--white);
	color: var(--black);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: none;
	cursor: pointer;
	font-family: inherit;
}

.btn-primary:hover {
	opacity: 0.92;
}

.btn-dark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	background: var(--black);
	color: var(--white);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 1px solid rgba(255, 255, 255, 0.2);
	cursor: pointer;
	font-family: inherit;
}

.btn-dark:hover {
	border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 0;
	background: transparent;
	color: var(--white);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	cursor: pointer;
	font-family: inherit;
}

.btn-ghost:hover {
	border-bottom-color: var(--white);
}

.pixel-decorator {
	display: grid;
	gap: 2px;
	opacity: 0.6;
}

.pixel-decorator--4 {
	grid-template-columns: repeat(4, 6px);
	grid-template-rows: repeat(4, 6px);
}

.pixel-decorator--3 {
	grid-template-columns: repeat(3, 6px);
	grid-template-rows: repeat(3, 6px);
}

.pixel-decorator span {
	width: 6px;
	height: 6px;
	background: var(--white);
}

.pixel-decorator span.off {
	background: transparent;
}

/* FORM NetHunt — Промпт 3 */
.nh-form {
	padding: 0;
	border: none;
	font-family: inherit;
}

.nh-form--dark {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	padding: 28px 24px;
}

.nh-form--light {
	background: #fafafa;
	border: 1px solid rgba(0, 0, 0, 0.08);
	padding: 28px 24px;
}

.nh-title {
	font-size: clamp(22px, 3vw, 28px);
	font-weight: 900;
	letter-spacing: -0.5px;
	margin-bottom: 20px;
	line-height: 1.15;
}

.nh-form--dark .nh-title {
	color: var(--white);
}

.nh-form--light .nh-title {
	color: var(--black);
}

.nh-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 14px;
}

.nh-form .nh-field label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nh-form--dark .nh-field label {
	color: var(--gray-400);
}

.nh-form--light .nh-field label {
	color: #666666;
}

.nh-form .nh-field input,
.nh-form .nh-field textarea {
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.45;
	transition: border-color 0.2s;
	outline: none;
	width: 100%;
}

.nh-form--dark .nh-field input,
.nh-form--dark .nh-field textarea {
	background: rgba(255, 255, 255, 0.06);
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.12);
}

.nh-form--dark .nh-field input:focus,
.nh-form--dark .nh-field textarea:focus {
	border-color: rgba(255, 255, 255, 0.4);
}

.nh-form--light .nh-field input,
.nh-form--light .nh-field textarea {
	background: var(--white);
	color: var(--black);
	border-color: rgba(0, 0, 0, 0.15);
}

.nh-form--light .nh-field input:focus,
.nh-form--light .nh-field textarea:focus {
	border-color: rgba(0, 0, 0, 0.4);
}

.nh-form .nh-field input.error,
.nh-form .nh-field textarea.error {
	border-color: #e74c3c;
}

.nh-form .nh-field textarea {
	resize: vertical;
	min-height: 96px;
}

.nh-submit {
	width: 100%;
	padding: 14px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: none;
	cursor: pointer;
	transition: opacity 0.2s;
	margin-top: 4px;
}

.nh-form--dark .nh-submit {
	background: var(--white);
	color: var(--black);
}

.nh-form--light .nh-submit {
	background: var(--black);
	color: var(--white);
}

.nh-submit:hover {
	opacity: 0.85;
}

.nh-submit:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.nh-note {
	font-size: 11px;
	color: var(--gray-500);
	text-align: center;
	margin-top: 10px;
	margin-bottom: 0;
}

.nh-form--light .nh-note {
	color: #888888;
}

.nh-success {
	background: rgba(39, 174, 96, 0.1);
	border: 1px solid rgba(39, 174, 96, 0.3);
	color: #2ecc71;
	padding: 14px;
	text-align: center;
	margin-top: 12px;
	font-size: 14px;
}

.nh-error {
	background: rgba(231, 76, 60, 0.1);
	border: 1px solid rgba(231, 76, 60, 0.3);
	color: #e74c3c;
	padding: 14px;
	text-align: center;
	margin-top: 12px;
	font-size: 14px;
}

/* HOME PAGE — adstorm-redesign.html (Промпт 4) */
.page-home {
	position: relative;
	z-index: 2;
	font-size: 16px;
	line-height: 1.6;
}

.page-home .container {
	max-width: var(--c);
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
}

.page-home #hero {
	min-height: 100svh;
	min-height: 100dvh;
	display: flex;
	align-items: center;
	/* html { margin-top } від WP уже зсуває документ під admin bar — тут лише висота наві */
	padding-top: var(--nav-h);
	padding-bottom: 20px;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
}

/* Одна «екранна» висота з урахуванням фіксованої панелі WP (вона не входить у html margin для min-height) */
body.admin-bar .page-home #hero {
	min-height: calc(100svh - var(--admin-bar-h));
	min-height: calc(100dvh - var(--admin-bar-h));
}

.hero-bg-grid {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 60px 60px;
}

.hero-bg-grid::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 70% 60% at 60% 50%, rgba(255, 255, 255, 0.04), transparent 70%);
}

.corner-px {
	position: absolute;
}

.corner-px.tl {
	top: calc(var(--nav-h) + 20px);
	left: 24px;
}

.corner-px.br {
	bottom: 60px;
	right: 60px;
}

.px-grid {
	display: grid;
	grid-template-columns: repeat(4, 4px);
	grid-template-rows: repeat(4, 4px);
	gap: 4px;
	opacity: 0.3;
}

.px-grid span {
	display: block;
	width: 4px;
	height: 4px;
	background: var(--white);
}

.hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(28px, 4vw, 60px);
	align-items: center;
	padding: clamp(28px, 5vh, 80px) 0;
}

.hero-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gray-300);
	border: 1px solid rgba(255, 255, 255, 0.18);
	padding: 6px 12px;
	margin-bottom: 28px;
}

.hero-tag::before {
	content: "";
	display: block;
	width: 6px;
	height: 6px;
	background: var(--white);
}

.page-home #hero h1 {
	font-size: clamp(38px, 5vw, 68px);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -2px;
	margin-bottom: 24px;
	text-wrap: balance;
}

.page-home .home-hero-noscript-lead,
.page-home .home-hero-noscript-sub {
	font-size: 15px;
	line-height: 1.5;
	color: var(--gray-300);
	max-width: 520px;
	margin: 0 0 12px;
}

.page-home #hero h1 em {
	font-style: normal;
	color: var(--gray-400);
}

.hero-sub {
	font-size: 17px;
	color: var(--gray-300);
	line-height: 1.6;
	max-width: 480px;
	margin-bottom: 40px;
}

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

.page-home .btn-primary {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 14px 28px;
	transition: background 0.2s, transform 0.15s;
}

.page-home .btn-primary:hover {
	background: var(--gray-200);
	transform: translateY(-1px);
}

.page-home .btn-ghost {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.05em;
	color: var(--gray-300);
	border-bottom: 1px solid var(--gray-500);
	padding-bottom: 2px;
	transition: color 0.2s, border-color 0.2s;
}

.page-home .btn-ghost:hover {
	color: var(--white);
	border-color: var(--white);
}

.hero-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2px;
	background: rgba(255, 255, 255, 0.06);
}

.hero-stats--with-cases {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
}

.hero-stats-divider {
	grid-column: 1 / -1;
	padding: 10px 14px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-stats-divider span {
	display: block;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
}

.stat-card {
	background: var(--black);
	padding: 28px 24px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	position: relative;
}

.hero-stats--with-cases .stat-card {
	padding: 22px 18px;
}

.stat-card--case {
	background: rgba(255, 255, 255, 0.035);
}

.stat-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 16px;
	height: 16px;
	border-top: 2px solid var(--white);
	border-left: 2px solid var(--white);
}

.stat-num {
	font-size: 42px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -2px;
	margin-bottom: 6px;
}

.stat-num span {
	font-size: 24px;
}

.stat-label {
	font-size: 12px;
	color: var(--gray-300);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.stat-card--case .stat-num {
	font-size: 36px;
}

.stat-card--case .stat-label {
	font-size: 10px;
	line-height: 1.35;
	color: var(--gray-400);
}

/* Ноутбук з низькою висотою viewport: hero + кнопки влізають без прокрутки */
@media (min-width: 901px) and (max-height: 900px) {
	.page-home #hero h1 {
		font-size: clamp(28px, 4vw, 52px);
		margin-bottom: 14px;
	}

	.hero-inner {
		padding: clamp(16px, 3vh, 40px) 0;
		gap: 24px;
	}

	.hero-tag {
		margin-bottom: 12px;
		padding: 5px 10px;
		font-size: 10px;
	}

	.hero-sub {
		margin-bottom: 18px;
		font-size: 15px;
		line-height: 1.45;
	}

	.stat-card {
		padding: 16px 18px;
	}

	.stat-num {
		font-size: 32px;
	}

	.stat-num span {
		font-size: 18px;
	}

	.page-home #hero {
		padding-bottom: 12px;
	}
}

@media (min-width: 901px) and (max-height: 760px) {
	.page-home #hero h1 {
		font-size: clamp(24px, 3.5vw, 44px);
		margin-bottom: 10px;
	}

	.hero-inner {
		padding: 12px 0;
		gap: 18px;
	}

	.hero-sub {
		margin-bottom: 12px;
		font-size: 14px;
	}

	.hero-actions {
		gap: 10px;
	}

	.stat-card {
		padding: 10px 12px;
	}

	.stat-num {
		font-size: 26px;
	}

	.stat-num span {
		font-size: 15px;
	}

	.stat-label {
		font-size: 10px;
	}
}

.marquee-wrap {
	overflow: hidden;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track {
	display: flex;
	gap: 48px;
	animation: adstorm-marquee 25s linear infinite;
	white-space: nowrap;
}

.marquee-track:hover {
	animation-play-state: paused;
}

.marquee-item {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gray-300);
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.marquee-item::after {
	content: "";
	display: block;
	width: 4px;
	height: 4px;
	background: var(--gray-500);
}

@keyframes adstorm-marquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.page-home .section-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 40px;
	margin-bottom: 56px;
	flex-wrap: wrap;
}

.page-home #services .section-title {
	color: var(--white);
}

.page-home #services .section-sub {
	font-size: 16px;
	color: var(--gray-300);
	max-width: 480px;
	line-height: 1.6;
}

.pricing-home {
	padding: 100px 0;
	background: var(--black);
	color: var(--white);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-home__row {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
	gap: clamp(40px, 6vw, 80px);
	align-items: start;
}

.pricing-home__intro .section-title {
	margin-bottom: 20px;
	color: var(--white);
}

.pricing-home__intro .section-sub {
	max-width: 520px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--gray-300);
}

.pricing-home__cards {
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.pricing-home__card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto;
	gap: 5px 24px;
	align-items: center;
	padding: 24px 28px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.pricing-home__card:last-child {
	border-bottom: none;
}

.pricing-home__label {
	grid-column: 1;
	grid-row: 1;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gray-500);
}

.pricing-home__value {
	grid-column: 2;
	grid-row: 1 / span 2;
	font-size: 22px;
	font-weight: 900;
	line-height: 1.1;
	white-space: nowrap;
	color: var(--white);
}

.pricing-home__note {
	grid-column: 1;
	grid-row: 2;
	font-size: 13px;
	line-height: 1.5;
	color: var(--gray-400);
}

.pricing-home__disclaimer {
	max-width: 680px;
	margin: 40px 0 0;
	padding-top: 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 13px;
	line-height: 1.6;
	color: var(--gray-500);
}

.trust-home {
	padding: 100px 0;
	background: var(--white);
	color: var(--black);
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.trust-home .trust-home__header {
	margin-bottom: 48px;
	max-width: 760px;
}

.trust-home .trust-home__header .section-title {
	color: var(--black);
}

.trust-home .trust-home__lead {
	max-width: 640px;
	font-size: 17px;
	line-height: 1.55;
	color: var(--gray-600);
}

.page-home .trust-home .section-tag {
	color: var(--gray-500);
}

.trust-home__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	background: rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.trust-home__card {
	background: var(--white);
	padding: 28px 24px;
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.trust-home__icon {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Courier New", monospace;
	font-size: 17px;
	font-weight: 700;
	color: var(--black);
	margin-bottom: 14px;
	line-height: 1;
}

.trust-home__card-title {
	margin: 0 0 10px;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--black);
}

.trust-home__card-desc {
	margin: 0;
	font-size: 13px;
	line-height: 1.65;
	color: var(--gray-600);
}

.page-home #home-industries .section-title {
	color: var(--white);
}

.page-home #home-industries .section-sub {
	font-size: 16px;
	color: var(--gray-300);
	max-width: 480px;
	line-height: 1.6;
}

.home-industries-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 2px;
}

.home-industry-card .service-desc:empty {
	display: none;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
}

.service-card {
	background: var(--black);
	border: 1px solid rgba(255, 255, 255, 0.08);
	padding: 36px 32px;
	position: relative;
	overflow: hidden;
	transition: border-color 0.25s, background 0.25s;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.service-card:hover {
	border-color: rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.03);
}

.service-card:focus-visible {
	outline: 2px solid var(--white);
	outline-offset: 2px;
}

.service-icon {
	width: 40px;
	height: 40px;
	margin-bottom: 20px;
	position: relative;
}

.icon-grid {
	display: grid;
	grid-template-columns: repeat(5, 6px);
	gap: 2px;
}

.icon-grid span {
	display: block;
	width: 6px;
	height: 6px;
}

.icon-grid span.on {
	background: var(--white);
}

.icon-grid span.off {
	background: transparent;
}

.icon-grid span.dim {
	background: rgba(255, 255, 255, 0.25);
}

.service-name {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 12px;
	letter-spacing: -0.5px;
}

.service-desc {
	font-size: 14px;
	color: var(--gray-300);
	line-height: 1.6;
	flex: 1;
}

.service-sub {
	font-size: 12px;
	color: var(--gray-400);
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	letter-spacing: 0.02em;
}

.service-card.featured {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.18);
}

#why {
	background: var(--white);
	color: var(--black);
}

#why .section-tag {
	color: #555555;
}

#why .section-tag::before {
	background: #999999;
}

#why .section-title {
	color: var(--black);
}

#why .section-sub {
	color: #555555;
}

.why-flow {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2px;
}

.why-step {
	background: var(--white);
	border: 1px solid rgba(0, 0, 0, 0.1);
	padding: 28px 24px;
	transition: background 0.2s;
}

.why-step:hover {
	background: var(--gray-100);
}

.why-step-n {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: #999999;
	margin-bottom: 12px;
}

.why-step-title {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: -0.3px;
	margin-bottom: 8px;
	color: var(--black);
}

.why-step-desc {
	font-size: 13px;
	color: #555555;
	line-height: 1.55;
}

.why-numbers {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2px;
	margin-top: 60px;
}

.why-num-card {
	background: var(--white);
	border: 1px solid rgba(0, 0, 0, 0.1);
	padding: 28px 24px;
}

.why-num {
	font-size: 48px;
	font-weight: 900;
	letter-spacing: -2.5px;
	color: var(--black);
	margin-bottom: 8px;
	line-height: 1;
}

.why-num span {
	font-size: 26px;
	vertical-align: super;
	margin-left: 2px;
}

.why-label {
	font-size: 13px;
	color: #555555;
	line-height: 1.5;
}

#spec {
	position: relative;
	overflow: hidden;
}

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

.spec-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.pill {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 8px 16px;
	color: var(--white);
	transition: background 0.2s, border-color 0.2s;
	cursor: default;
	background: transparent;
	text-decoration: none;
	display: inline-block;
	box-sizing: border-box;
}

a.pill {
	cursor: pointer;
}

.pill:hover,
.pill:focus-visible,
.pill.active {
	background: var(--white);
	color: var(--black);
	border-color: var(--white);
}

a.pill:focus-visible {
	outline: 2px solid var(--white);
	outline-offset: 2px;
}

.spec-visual {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px;
}

.spec-block {
	aspect-ratio: 1;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 24px;
	position: relative;
	overflow: hidden;
	transition: background 0.25s;
}

.spec-block:hover {
	background: rgba(255, 255, 255, 0.08);
}

.spec-block-num {
	font-size: 36px;
	font-weight: 900;
	letter-spacing: -2px;
	line-height: 1;
}

.spec-block-txt {
	font-size: 12px;
	color: var(--gray-300);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-top: 6px;
}

.spec-block.highlight {
	background: var(--white);
}

.spec-block.highlight .spec-block-num {
	color: var(--black);
}

.spec-block.highlight .spec-block-txt {
	color: #555555;
}

.spec-block-icon {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 20px;
	height: 20px;
	display: grid;
	grid-template-columns: repeat(4, 4px);
	grid-template-rows: repeat(4, 4px);
	gap: 1px;
}

.spec-block-icon span {
	display: block;
	width: 4px;
	height: 4px;
}

.spec-block-icon span.on {
	background: rgba(255, 255, 255, 0.3);
}

.spec-block.highlight .spec-block-icon span.on {
	background: rgba(0, 0, 0, 0.18);
}

#cases {
	background: var(--black);
}

.cases-track-wrap {
	position: relative;
}

.cases-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 8px;
}

.cases-track::-webkit-scrollbar {
	display: none;
}

.case-slide {
	flex: 0 0 calc((100% - 32px) / 3);
	scroll-snap-align: start;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.02);
	overflow: hidden;
	transition: border-color 0.25s;
	display: block;
}

.case-slide:hover {
	border-color: rgba(255, 255, 255, 0.25);
}

.case-slide-img {
	height: 180px;
	background: rgba(255, 255, 255, 0.04);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}

.case-slide-img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.case-slide-img-px {
	display: grid;
	grid-template-columns: repeat(8, 8px);
	gap: 3px;
	opacity: 0.4;
}

.case-slide-img-px span {
	display: block;
	width: 8px;
	height: 8px;
	background: rgba(255, 255, 255, 0.3);
}

.case-slide-img-px span.case-px-on {
	opacity: 1;
	background: rgba(255, 255, 255, 0.55);
}

.case-slide-tag {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: rgba(10, 10, 10, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--white);
	padding: 3px 8px;
}

.case-slide-body {
	padding: 20px 22px 24px;
}

.case-slide-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	margin-bottom: 16px;
	min-height: 60px;
}

.case-slide-results {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	margin-bottom: 16px;
}

.csr-cell {
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.csr-num {
	font-size: 18px;
	font-weight: 900;
	letter-spacing: -0.5px;
}

.csr-label {
	font-size: 10px;
	color: var(--gray-400);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-top: 2px;
}

.case-slide-link {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gray-300);
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	transition: color 0.2s;
	display: block;
}

.case-slide:hover .case-slide-link {
	color: var(--white);
}

.case-slide--no-read .case-slide-results {
	margin-bottom: 0;
}

.case-slide--no-read .case-slide-body {
	padding-bottom: 22px;
}

.cases-header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.page-home #cases .home-cases-all-link {
	white-space: nowrap;
}

.cases-controls {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cases-btn {
	width: 42px;
	height: 42px;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: var(--white);
	font-family: var(--font);
	font-size: 18px;
	cursor: pointer;
	transition: all 0.2s;
}

.cases-btn:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.4);
}

.cases-btn:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.home-clients {
	padding: 60px 0;
}

.section-tag--clients {
	margin-bottom: 32px;
}

.clients-logos {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.client-logo-cell {
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	padding: 32px 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s;
	min-height: 90px;
}

.client-logo-cell:last-child {
	border-right: none;
}

.client-logo-cell:hover {
	background: rgba(255, 255, 255, 0.04);
}

.client-logo-cell span {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--gray-300);
	transition: color 0.2s;
	white-space: nowrap;
}

.client-logo-cell:hover span {
	color: var(--white);
}

#team {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 2px;
}

#team .team-grid--photo {
	grid-template-columns: repeat(3, 1fr);
}

/* =============================================================================
   Фото карток блогу + портрети людей — значення з design-tokens.css
   ============================================================================= */
img.adstorm-blog-card-photo {
	object-fit: cover;
	filter: var(--adstorm-blog-card-photo-filter);
	transition: var(--adstorm-blog-card-photo-transition);
}

:is(
		.cover:hover,
		.ac:hover,
		.article-card:hover,
		.featured-card:hover,
		.art-rhythm-wide:hover,
		.tag-archive .article-card:hover,
		.author-archive .article-card:hover,
		.case-slide:hover
	)
	img.adstorm-blog-card-photo {
	filter: var(--adstorm-blog-card-photo-filter-hover);
	transform: var(--adstorm-blog-card-photo-transform-hover);
}

.adstorm-person-thumb {
	position: relative;
	display: block;
	line-height: 0;
	overflow: hidden;
	border-radius: 50%;
	border: var(--adstorm-person-photo-border);
	background: var(--adstorm-person-photo-bg);
}

.adstorm-person-thumb :is(img, .avatar) {
	width: 100%;
	height: 100%;
	display: block;
	border-radius: 0;
}

.team-card__img,
.review-avatar--photo img,
.adstorm-person-thumb :is(img, .avatar) {
	object-fit: cover;
	object-position: var(--adstorm-person-photo-object-position);
	filter: var(--adstorm-person-photo-filter);
	transition: var(--adstorm-person-photo-transition);
	transform: var(--adstorm-person-photo-transform);
}

:is(
		.team-card.team-card--photo:hover .team-card__img,
		.review-slide:hover .review-avatar--photo img,
		.art-rhythm-wide:hover .adstorm-person-thumb :is(img, .avatar),
		.art-rhythm-compact:hover .adstorm-person-thumb :is(img, .avatar)
	) {
	filter: var(--adstorm-person-photo-filter-hover);
	transform: var(--adstorm-person-photo-transform-hover);
}

/* Картка команди: фото + оверлей (як у макеті Elementor) */
.team-card.team-card--photo {
	position: relative;
	padding: 0;
	overflow: hidden;
	background: var(--black);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: border-color 0.25s, box-shadow 0.25s;
}

.team-card.team-card--photo:hover {
	border-color: rgba(255, 255, 255, 0.22);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.team-card__media {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #0a0a0a;
}

.team-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.team-card__img-fx {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(0, 0, 0, 0.1) 0%,
		rgba(0, 0, 0, 0.02) 38%,
		rgba(0, 0, 0, 0.55) 72%,
		#000000 100%
	);
}

.team-card__cover {
	position: absolute;
	inset: 0;
	z-index: 2;
}

.team-card__chrome {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 18px 18px 20px;
	pointer-events: none;
}

.team-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.team-card__badge {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.92);
}

.team-card__pix {
	display: grid;
	grid-template-columns: repeat(2, 5px);
	grid-template-rows: repeat(2, 5px);
	gap: 2px;
	opacity: 0.85;
}

.team-card__pix span {
	display: block;
	width: 5px;
	height: 5px;
	background: var(--white);
}

.team-card__panel {
	margin-top: auto;
	max-width: 100%;
}

.team-card__role {
	margin: 0 0 6px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	line-height: 1.35;
}

.team-card__name {
	margin: 0 0 10px;
	font-size: clamp(18px, 2.4vw, 24px);
	font-weight: 900;
	letter-spacing: -0.4px;
	line-height: 1.15;
	color: var(--white);
}

.team-card__bio {
	margin: 0 0 16px;
	font-size: 12px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.72);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.team-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 14px;
}

#team .team-card__social.team-social-row.social-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
	margin: 0;
	pointer-events: auto;
	position: relative;
	z-index: 4;
}

#team .team-card__social .soc-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 26px;
	padding: 5px 7px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: lowercase;
	color: rgba(255, 255, 255, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(0, 0, 0, 0.35);
	text-decoration: none;
	transition: color 0.2s, border-color 0.2s, background 0.2s;
}

#team .team-card__social .soc-link:hover {
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.08);
}

#reviews {
	background: rgba(255, 255, 255, 0.02);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.reviews-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
}

.review-card {
	background: var(--black);
	border: 1px solid rgba(255, 255, 255, 0.08);
	padding: 32px 28px;
}

.review-stars {
	display: flex;
	gap: 3px;
	margin-bottom: 20px;
}

.review-stars span {
	width: 10px;
	height: 10px;
	background: var(--white);
	display: block;
	clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.review-text {
	font-size: 14px;
	color: var(--gray-300);
	line-height: 1.7;
	margin-bottom: 24px;
}

.review-author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.review-avatar {
	width: 36px;
	height: 36px;
	background: rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	flex-shrink: 0;
}

.review-name {
	font-size: 13px;
	font-weight: 700;
}

.review-company {
	font-size: 11px;
	color: var(--gray-400);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.review-stars span.off {
	opacity: 0.22;
}

.review-slide.review-card {
	display: flex;
	flex-direction: column;
	min-height: 260px;
	box-sizing: border-box;
}

.review-slide .review-text {
	flex: 1 1 auto;
}

.review-read-full {
	margin-top: 12px;
	align-self: flex-start;
	font-size: 11px;
	padding: 8px 14px;
	letter-spacing: 0.04em;
}

.review-avatar--photo {
	position: relative;
	padding: 0;
	overflow: hidden;
	border: var(--adstorm-person-photo-border);
	background: var(--adstorm-person-photo-bg);
}

.review-avatar--photo img {
	width: 100%;
	height: 100%;
	display: block;
}

#svc-reviews {
	background: rgba(255, 255, 255, 0.02);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.adstorm-review-modal {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}

.adstorm-review-modal[hidden] {
	display: none;
}

.adstorm-review-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.72);
	cursor: pointer;
}

.adstorm-review-modal__panel {
	position: relative;
	z-index: 1;
	width: min(560px, 100%);
	max-height: min(85vh, 720px);
	overflow: auto;
	background: var(--black);
	border: 1px solid rgba(255, 255, 255, 0.12);
	padding: 24px 24px 28px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.adstorm-review-modal__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.adstorm-review-modal__title {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gray-400);
	margin: 0;
}

.adstorm-review-modal__close {
	appearance: none;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.06);
	color: var(--white);
	font-size: 22px;
	line-height: 1;
	width: 40px;
	height: 40px;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.2s, border-color 0.2s;
}

.adstorm-review-modal__close:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.35);
}

.adstorm-review-modal__meta {
	margin: 0 0 16px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--gray-300);
}

.adstorm-review-modal__author {
	display: block;
	color: var(--white);
	font-size: 16px;
	margin-bottom: 4px;
}

.adstorm-review-modal__company {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--gray-400);
}

.adstorm-review-modal__content {
	font-size: 14px;
	color: var(--gray-300);
	line-height: 1.65;
}

.adstorm-review-modal__content p {
	margin: 0 0 12px;
}

.review-stars--modal {
	margin-bottom: 12px;
}

@media (prefers-reduced-motion: reduce) {
	img.adstorm-blog-card-photo {
		transition: none;
	}

	:is(
			.cover:hover,
			.ac:hover,
			.article-card:hover,
			.featured-card:hover,
			.art-rhythm-wide:hover,
			.tag-archive .article-card:hover,
			.author-archive .article-card:hover,
			.case-slide:hover
		)
		img.adstorm-blog-card-photo {
		transform: none;
	}

	.team-card__img,
	.review-avatar--photo img,
	.adstorm-person-thumb :is(img, .avatar) {
		transition: none;
		transform: none;
	}

	:is(
			.team-card.team-card--photo:hover .team-card__img,
			.review-slide:hover .review-avatar--photo img,
			.art-rhythm-wide:hover .adstorm-person-thumb :is(img, .avatar),
			.art-rhythm-compact:hover .adstorm-person-thumb :is(img, .avatar)
		) {
		transform: none;
	}

	.author-archive .author-avatar img {
		transition: none;
		transform: none;
	}

	.author-archive .author-avatar:hover img {
		transform: none;
	}
}

.section--white,
#cta.section--white {
	background: var(--white);
	color: var(--black);
	padding: 100px 0;
	position: relative;
	overflow: hidden;
}

#cta .form-wrap {
	display: grid;
	grid-template-columns: minmax(280px, 420px) 1fr;
	gap: 80px;
	text-align: left;
	max-width: 1080px;
	margin: 0 auto;
	align-items: start;
}

#cta .form-left h2 {
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 900;
	letter-spacing: -2px;
	line-height: 1;
	margin-bottom: 20px;
	color: var(--black);
}

#cta .section-tag {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #555555;
	margin-bottom: 20px;
}

#cta .section-tag::before {
	content: "";
	display: block;
	width: 20px;
	height: 1px;
	background: #bbbbbb;
}

.form-lead {
	font-size: 16px;
	color: #555555;
	line-height: 1.6;
	margin-bottom: 36px;
}

.form-contacts {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-top: 24px;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.form-contact-row {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.form-contact-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #888888;
}

.form-contact-val {
	font-size: 15px;
	font-weight: 600;
	color: #0a0a0a;
}

a.form-contact-val:hover {
	color: #444444;
}

#cta .form-right {
	background: transparent;
	border: none;
	padding: 0;
	min-width: 0;
}

.cta-px-corners {
	position: absolute;
}

.cta-px-corners.tl {
	top: 40px;
	left: 40px;
}

.cta-px-corners.tr {
	top: 40px;
	right: 40px;
}

.cta-px-corners.bl {
	bottom: 40px;
	left: 40px;
}

.cta-px-corners.br {
	bottom: 40px;
	right: 40px;
}

.px-corner {
	display: grid;
	grid-template-columns: repeat(4, 4px);
	grid-template-rows: repeat(4, 4px);
	gap: 2px;
}

.px-corner span {
	display: block;
	width: 4px;
	height: 4px;
	background: rgba(0, 0, 0, 0.12);
}

.faq-home {
	padding: 100px 0;
	background: var(--white);
	color: var(--black);
}

.faq-home .section-header {
	margin-bottom: 60px;
}

.faq-home .section-tag {
	color: #777777;
}

.faq-home .section-title {
	color: var(--black);
}

.faq-home__list {
	max-width: 920px;
	margin: 0 auto;
	border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.faq-home__item {
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-home__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 28px 0;
	cursor: pointer;
	list-style: none;
	-webkit-tap-highlight-color: transparent;
}

.faq-home__question::-webkit-details-marker {
	display: none;
}

.faq-home__question-text {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--black);
}

.faq-home__toggle {
	font-family: monospace;
	font-size: 22px;
	font-weight: 400;
	line-height: 1;
	color: #777777;
	transition: transform 0.2s;
	flex-shrink: 0;
}

.faq-home__item[open] .faq-home__toggle {
	transform: rotate(45deg);
}

.faq-home__answer {
	max-width: 720px;
	padding: 0 0 28px;
	font-size: 15px;
	line-height: 1.7;
	color: #555555;
}

.faq-home__answer p {
	margin: 0;
}

.how-start {
	padding: 100px 0;
	background: var(--black);
	color: var(--white);
}

.how-start .section-header {
	margin-bottom: 60px;
	max-width: 760px;
}

.how-start .section-sub {
	max-width: 620px;
	color: var(--gray-300);
}

.how-start__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 24px;
}

.how-start__step {
	position: relative;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.how-start__step::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 28px;
	height: 1px;
	background: var(--white);
}

.how-start__num {
	margin-bottom: 16px;
	font-family: monospace;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: var(--gray-500);
}

.how-start__title {
	margin: 0 0 12px;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--white);
}

.how-start__desc {
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
	color: var(--gray-300);
}

/* B-129: на планшеті показуємо ≈1 картку відгуків у каруселі */
@media (max-width: 1024px) {
	.adstorm-svc-reviews .case-slide.review-slide {
		flex: 0 0 min(420px, 88%);
		max-width: 88%;
	}

	.how-start__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.trust-home__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	section {
		padding: var(--section-gap-m) 0;
	}

	body::before {
		content: "";
		position: fixed;
		inset: 0;
		pointer-events: none;
		z-index: 0;
		background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.012), transparent 70%);
	}

	#nav.nav .nav-links {
		display: none;
		position: fixed;
		top: calc(var(--nav-h) + var(--admin-bar-h) + var(--adstorm-ml-banner-h, 0px));
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 24px;
		background: rgba(10, 10, 10, 0.98);
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		z-index: 99;
		max-height: calc(100svh - var(--nav-h) - var(--admin-bar-h) - var(--adstorm-ml-banner-h, 0px));
		overflow-y: auto;
	}

	#nav.nav.nav--open .nav-links {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	#nav.nav .nav-links .nav-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	#nav.nav .nav-lang {
		margin-left: 0;
		padding-left: 0;
		border-left: none;
		margin-top: 8px;
		padding-top: 16px;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
		width: 100%;
	}

	.nav-burger {
		display: flex;
	}

	.nav-burger[aria-expanded="true"] span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.nav-burger[aria-expanded="true"] span:nth-child(2) {
		opacity: 0;
	}

	.nav-burger[aria-expanded="true"] span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	/* Hero: без декоративної px-сітки в куті та тега над h1 (зайве на вузькому екрані). */
	.page-home #hero .corner-px {
		display: none;
	}

	.page-home #hero .hero-tag {
		display: none;
	}

	.page-home .hero-inner {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 48px 0;
	}

	.page-home .hero-stats {
		grid-template-columns: 1fr 1fr;
	}

	.page-home .hero-stats .stat-card:nth-child(5) {
		grid-column: 1 / -1;
	}

	.page-home .section-header {
		margin-bottom: 36px;
	}

	.page-home .services-grid {
		grid-template-columns: 1fr 1fr;
	}

	.pricing-home__row {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.page-home .home-industries-grid {
		grid-template-columns: 1fr 1fr;
	}

	.page-home .why-flow {
		grid-template-columns: 1fr 1fr;
	}

	.page-home .why-numbers {
		grid-template-columns: 1fr 1fr;
	}

	.page-home .spec-inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.page-home .clients-logos {
		grid-template-columns: repeat(3, 1fr);
	}

	.page-home .clients-logos .client-logo-cell:nth-child(3) {
		border-right: none;
	}

	#team .team-grid--photo {
		grid-template-columns: repeat(3, 1fr);
	}

	.page-home .reviews-grid {
		grid-template-columns: 1fr;
	}

	.page-home .case-slide {
		flex-basis: 85%;
	}

	/* Карусель відгуків на single service: ті ж кроки прокрутки, що й кейси на головній */
	.adstorm-svc-reviews .case-slide.review-slide {
		flex: 0 0 85%;
		max-width: 85%;
	}

	#cta .form-wrap {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	#cta.section--white {
		padding: var(--section-gap-m) 0;
	}

	.faq-home {
		padding: var(--section-gap-m) 0;
	}

	.how-start {
		padding: var(--section-gap-m) 0;
	}

	.how-start .section-header {
		margin-bottom: 40px;
	}

	.how-start__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-inner {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
	}

	.footer-inner .footer-logo,
	.footer-inner .footer-links,
	.footer-inner .footer-info,
	.footer-inner .footer-social {
		width: 100%;
	}

	.footer-inner .footer-links .footer-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.footer-inner .footer-info--copyright {
		justify-self: stretch;
		text-align: left;
		padding-top: 8px;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}
}

@media (max-width: 600px) {
	.nav-cta {
		font-size: 11px;
		padding: 8px 14px;
	}

	.page-home .services-grid {
		grid-template-columns: 1fr;
	}

	.pricing-home__card {
		grid-template-columns: 1fr;
		padding: 20px;
	}

	.pricing-home__value {
		grid-column: 1;
		grid-row: 2;
		margin-top: 4px;
		font-size: 24px;
		white-space: normal;
	}

	.pricing-home__note {
		grid-column: 1;
		grid-row: 3;
		margin-top: 4px;
	}

	.page-home .home-industries-grid {
		grid-template-columns: 1fr;
	}

	.page-home .why-flow {
		grid-template-columns: 1fr;
	}

	.page-home .why-numbers {
		grid-template-columns: 1fr 1fr;
	}

	.trust-home__grid {
		grid-template-columns: 1fr;
	}

	.page-home .clients-logos {
		grid-template-columns: repeat(2, 1fr);
	}

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

	.page-home #hero h1 {
		letter-spacing: -1px;
	}

	.faq-home .section-header {
		margin-bottom: 36px;
	}

	.faq-home__question {
		padding: 22px 0;
	}

	.faq-home__question-text {
		font-size: 16px;
	}

	.faq-home__answer {
		font-size: 14px;
	}

	.how-start__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.cta-px-corners {
		display: none;
	}

	#cta .form-left h2 {
		font-size: 36px;
	}

	/* B-138: компактніший футер на мобайлі */
	.footer {
		padding: 32px 0 24px;
	}
}
