/* Navesnoi landing pivot — conversion-first design */

:root {
	--red: #c00808;
	--red-dark: #970101;
	--red-glow: rgba(192, 8, 8, 0.25);
	--ink: #141820;
	--ink-soft: #2a3140;
	--steel: #5c6578;
	--mist: #eef0f4;
	--white: #ffffff;
	--success: #0d9f6e;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 18px 50px rgba(20, 24, 32, 0.12);
	--font: 'Montserrat', system-ui, sans-serif;
	--max: 1180px;
	--header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

.container {
	width: min(100% - 2rem, var(--max));
	margin-inline: auto;
}

/* ── Top strip ── */
.top-strip {
	background: var(--ink);
	color: rgba(255,255,255,0.85);
	font-size: 0.8125rem;
	text-align: center;
	padding: 0.45rem 1rem;
}

.top-strip strong { color: #fff; }

/* ── Header ── */
.site-header {
	position: sticky;
	top: 0;
	z-index: 900;
	background: rgba(255,255,255,0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(20,24,32,0.06);
	transition: box-shadow 0.25s;
}

.site-header.is-scrolled {
	box-shadow: 0 8px 30px rgba(20,24,32,0.08);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--header-h);
}

.site-header__logo img { height: 44px; width: auto; }

.site-header__phone {
	display: none;
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--ink);
	white-space: nowrap;
}

.site-header__phone span {
	display: block;
	font-size: 0.7rem;
	font-weight: 500;
	color: var(--steel);
}

@media (min-width: 768px) {
	.site-header__phone { display: block; }
}

/* ── Buttons ── */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.5rem;
	border: none;
	border-radius: 999px;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
	text-decoration: none;
}

.btn:active { transform: scale(0.98); }

.btn--primary {
	background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
	color: #fff;
	box-shadow: 0 8px 24px var(--red-glow);
}

.btn--primary:hover {
	color: #fff;
	box-shadow: 0 12px 32px var(--red-glow);
}

.btn--ghost {
	background: transparent;
	color: var(--ink);
	border: 2px solid rgba(20,24,32,0.15);
}

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

.btn--lg { padding: 1rem 2rem; font-size: 1rem; }

.btn--block { width: 100%; }

.btn__loader { display: none; }
.btn.is-loading .btn__text { opacity: 0.5; }
.btn.is-loading .btn__loader { display: inline; }

/* ── Hero ── */
.hero {
	position: relative;
	padding: 3rem 0 4rem;
	background:
		radial-gradient(ellipse 80% 60% at 70% 0%, rgba(192,8,8,0.07) 0%, transparent 60%),
		linear-gradient(180deg, #fafbfc 0%, #fff 100%);
	overflow: hidden;
}

.hero::after {
	content: '';
	position: absolute;
	right: -120px;
	bottom: -80px;
	width: 420px;
	height: 420px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 120'%3E%3Cpath d='M15,85 Q40,55 90,60 L140,68 Q175,72 185,88 L185,98 Q160,108 90,100 L40,95 Q15,98 15,85Z' fill='none' stroke='%23c00808' stroke-width='1.5' opacity='0.15'/%3E%3Ccircle cx='45' cy='88' r='6' fill='%23c00808' opacity='0.1'/%3E%3Ccircle cx='155' cy='92' r='6' fill='%23c0088' opacity='0.1'/%3E%3C/svg%3E") center/contain no-repeat;
	pointer-events: none;
}

.hero__grid {
	display: grid;
	gap: 2.5rem;
	align-items: start;
	position: relative;
	z-index: 1;
}

@media (min-width: 960px) {
	.hero__grid {
		grid-template-columns: 1.1fr 0.9fr;
		gap: 3rem;
		align-items: center;
	}
}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: rgba(192,8,8,0.08);
	color: var(--red-dark);
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	margin-bottom: 1.25rem;
}

.hero__title {
	font-size: clamp(1.85rem, 4.5vw, 3rem);
	font-weight: 900;
	line-height: 1.12;
	margin: 0 0 1rem;
	color: var(--ink);
}

.hero__title em {
	font-style: normal;
	color: var(--red);
}

.hero__lead {
	font-size: 1.125rem;
	color: var(--steel);
	margin: 0 0 1.75rem;
	max-width: 34rem;
}

.hero__points {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.hero__points li {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-weight: 500;
}

.hero__points li::before {
	content: '✓';
	flex-shrink: 0;
	width: 1.35rem;
	height: 1.35rem;
	background: var(--red);
	color: #fff;
	border-radius: 50%;
	font-size: 0.7rem;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 0.1rem;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* ── Lead card ── */
.lead-card {
	background: var(--white);
	border-radius: var(--radius-lg);
	padding: 1.75rem;
	box-shadow: var(--shadow);
	border: 1px solid rgba(20,24,32,0.06);
}

.lead-card__head {
	text-align: center;
	margin-bottom: 1.25rem;
}

.lead-card__title {
	margin: 0 0 0.35rem;
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--ink);
}

.lead-card__sub {
	margin: 0;
	font-size: 0.875rem;
	color: var(--steel);
}

.form-field { margin-bottom: 0.85rem; }

.form-field label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--steel);
	margin-bottom: 0.35rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.form-field input[type="text"],
.form-field input[type="tel"] {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 2px solid var(--mist);
	border-radius: 10px;
	font-family: inherit;
	font-size: 1rem;
	transition: border-color 0.2s;
}

.form-field input:focus {
	outline: none;
	border-color: var(--red);
}

.form-check {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.78rem;
	color: var(--steel);
	line-height: 1.4;
	margin-bottom: 1rem;
}

.form-check input { margin-top: 0.15rem; flex-shrink: 0; }

.form-success {
	display: none;
	margin-top: 0.75rem;
	padding: 0.75rem;
	background: rgba(13,159,110,0.1);
	color: var(--success);
	border-radius: 10px;
	font-size: 0.875rem;
	font-weight: 600;
	text-align: center;
}

.form-success.is-visible { display: block; }

.form-note {
	text-align: center;
	font-size: 0.75rem;
	color: var(--steel);
	margin: 0.75rem 0 0;
}

/* ── Sections ── */
.section {
	padding: 4.5rem 0;
}

.section--mist { background: var(--mist); }

.section--dark {
	background: var(--ink);
	color: #fff;
}

.section__eyebrow {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--red);
	margin-bottom: 0.5rem;
}

.section--dark .section__eyebrow { color: #ff6b6b; }

.section__title {
	font-size: clamp(1.5rem, 3.5vw, 2.25rem);
	font-weight: 900;
	line-height: 1.2;
	margin: 0 0 1rem;
}

.section__title--center { text-align: center; }

.section__lead {
	font-size: 1.0625rem;
	color: var(--steel);
	max-width: 36rem;
	margin: 0 0 2.5rem;
}

.section--dark .section__lead { color: rgba(255,255,255,0.7); }

/* ── Pain cards ── */
.pain-grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 768px) {
	.pain-grid { grid-template-columns: repeat(3, 1fr); }
}

.pain-card {
	background: #fff;
	border-radius: var(--radius);
	padding: 1.5rem;
	border-left: 4px solid var(--red);
	box-shadow: 0 4px 20px rgba(20,24,32,0.06);
}

.pain-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 800;
}

.pain-card p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--steel);
}

/* ── Solution band ── */
.solution-grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.solution-grid { grid-template-columns: repeat(3, 1fr); }
}

.solution-item {
	text-align: center;
	padding: 1.5rem 1rem;
}

.solution-item::before {
	content: '';
	display: block;
	width: 2.5rem;
	height: 3px;
	margin: 0 auto 1.25rem;
	background: var(--red);
	border-radius: 2px;
}

.solution-item h3 {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	font-weight: 800;
}

.solution-item p {
	margin: 0;
	font-size: 0.875rem;
	opacity: 0.75;
	line-height: 1.5;
}

/* ── Product lines ── */
.lines-grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 640px) {
	.lines-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
	.lines-grid { grid-template-columns: repeat(3, 1fr); }
}

.line-card {
	background: #fff;
	border-radius: var(--radius);
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s, box-shadow 0.2s;
	border: 1px solid rgba(20,24,32,0.06);
}

.line-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.line-card__tag {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--red);
	margin-bottom: 0.5rem;
}

.line-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	font-weight: 800;
}

.line-card p {
	margin: 0 0 1rem;
	flex-grow: 1;
	font-size: 0.875rem;
	color: var(--steel);
	line-height: 1.5;
}

.line-card a {
	font-size: 0.8125rem;
	font-weight: 700;
}

/* ── Steps ── */
.steps {
	display: grid;
	gap: 1.5rem;
	counter-reset: step;
}

@media (min-width: 768px) {
	.steps { grid-template-columns: repeat(4, 1fr); }
}

.step {
	position: relative;
	text-align: center;
	padding-top: 0.5rem;
}

.step::before {
	counter-increment: step;
	content: counter(step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0 auto 1rem;
	background: var(--red);
	color: #fff;
	font-weight: 900;
	font-size: 1rem;
	border-radius: 50%;
}

.step h3 {
	margin: 0 0 0.35rem;
	font-size: 0.9375rem;
	font-weight: 800;
}

.step p {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--steel);
}

/* ── Trust ── */
.trust-grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 768px) {
	.trust-grid { grid-template-columns: repeat(3, 1fr); }
}

.trust-card {
	background: #fff;
	border-radius: var(--radius);
	padding: 1.75rem;
	text-align: center;
	box-shadow: 0 4px 20px rgba(20,24,32,0.05);
}

.trust-card h3 {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 800;
}

.trust-card p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--steel);
}

/* ── FAQ ── */
.faq-list {
	max-width: 720px;
	margin: 0 auto;
}

.faq-item {
	border-bottom: 1px solid rgba(20,24,32,0.1);
}

.faq-item__q {
	width: 100%;
	background: none;
	border: none;
	padding: 1.15rem 2rem 1.15rem 0;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
	color: var(--ink);
	position: relative;
}

.faq-item__q::after {
	content: '+';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.25rem;
	font-weight: 400;
	color: var(--red);
	transition: transform 0.2s;
}

.faq-item.is-open .faq-item__q::after {
	transform: translateY(-50%) rotate(45deg);
}

.faq-item__a {
	display: none;
	padding: 0 0 1.15rem;
	font-size: 0.9375rem;
	color: var(--steel);
	line-height: 1.6;
}

.faq-item.is-open .faq-item__a { display: block; }

/* ── Final CTA ── */
.final-cta {
	background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
	color: #fff;
	padding: 4rem 0;
	text-align: center;
}

.final-cta h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 900;
}

.final-cta p {
	margin: 0 0 1.75rem;
	opacity: 0.9;
	font-size: 1.0625rem;
}

.final-cta .btn--ghost {
	border-color: rgba(255,255,255,0.5);
	color: #fff;
}

.final-cta .btn--ghost:hover {
	background: rgba(255,255,255,0.1);
	border-color: #fff;
	color: #fff;
}

.final-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
}

/* ── Footer ── */
.site-footer {
	background: var(--ink-soft);
	color: rgba(255,255,255,0.75);
	padding: 2rem 0;
	font-size: 0.875rem;
}

.site-footer__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	align-items: center;
}

.site-footer a { color: #fff; }

.site-footer__copy {
	opacity: 0.5;
	font-size: 0.75rem;
	margin-top: 1.5rem;
	text-align: center;
}

/* ── Mobile sticky bar ── */
.mobile-bar {
	display: flex;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 950;
	background: #fff;
	border-top: 1px solid rgba(20,24,32,0.1);
	padding: 0.65rem 0.75rem;
	gap: 0.5rem;
	box-shadow: 0 -8px 30px rgba(20,24,32,0.1);
}

.mobile-bar .btn { flex: 1; padding: 0.75rem 0.5rem; font-size: 0.8125rem; }

@media (min-width: 768px) {
	.mobile-bar { display: none; }
	body { padding-bottom: 0; }
}

@media (max-width: 767px) {
	body { padding-bottom: 70px; }
}

/* ── Cookie banner ── */
#cookie-consent-banner {
	display: none;
	position: fixed;
	bottom: 80px;
	left: 16px;
	max-width: 300px;
	background: var(--ink);
	color: #fff;
	border-radius: 12px;
	font-size: 0.8125rem;
	padding: 1rem;
	z-index: 940;
	box-shadow: var(--shadow);
}

@media (min-width: 768px) {
	#cookie-consent-banner { bottom: 20px; }
}

#cookie-consent-banner p { margin: 0 0 0.75rem; line-height: 1.45; }

#cookie-accept-btn {
	background: var(--red);
	color: #fff;
	border: none;
	padding: 0.5rem 1rem;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.8125rem;
	cursor: pointer;
	width: 100%;
}

/* ── Inline link buttons ── */
.link-btn {
	background: none;
	border: none;
	padding: 0;
	font: inherit;
	color: var(--red);
	text-decoration: underline;
	cursor: pointer;
}

.link-btn:hover { color: var(--red-dark); }

.link-btn--light {
	color: #ff8a8a;
}

.link-btn--light:hover { color: #fff; }

/* ── Legal modals ── */
.legal-modal {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

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

.legal-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 24, 32, 0.65);
}

.legal-modal__dialog {
	position: relative;
	width: min(100%, 720px);
	max-height: min(85vh, 800px);
	background: #fff;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.legal-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid var(--mist);
}

.legal-modal__title {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 800;
}

.legal-modal__close {
	background: none;
	border: none;
	font-size: 1.75rem;
	line-height: 1;
	color: var(--steel);
	cursor: pointer;
	padding: 0.25rem;
}

.legal-modal__close:hover { color: var(--ink); }

.legal-modal__body {
	padding: 1.25rem 1.5rem 1.5rem;
	overflow-y: auto;
	font-size: 0.9375rem;
	color: var(--ink-soft);
	line-height: 1.6;
}

.legal-modal__body h2,
.legal-modal__body h3 {
	color: var(--ink);
	font-size: 1rem;
	margin: 1.25rem 0 0.5rem;
}

.legal-modal__body p,
.legal-modal__body ul {
	margin: 0 0 0.75rem;
}

.legal-modal__body ul {
	padding-left: 1.25rem;
}
