/* =========================================================
   ТендерГарант — сине-красная банковская тема (витрина)
   ========================================================= */

:root {
	--blue: #0a3bcc;
	--blue-600: #0830a8;
	--blue-400: #3d6bff;
	--blue-50: #eef3ff;
	--blue-100: #dbe5ff;
	--navy: #0b1f4d;
	--navy-900: #071436;
	--red: #ef3124;
	--red-600: #d4231a;
	--green: #12a150;
	--green-50: #e7f7ee;
	--text: #121826;
	--muted: #667085;
	--line: #e4e7ee;
	--bg: #ffffff;
	--bg-gray: #f4f6fa;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 20px rgba(16, 24, 40, .06);
	--shadow-lg: 0 24px 56px -16px rgba(10, 30, 80, .28);
	--font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	--header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.025em; font-weight: 800; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(10, 59, 204, .35); outline-offset: 2px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 880px; }

/* ---------- Кнопки ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 46px; padding: 0 22px; border: 0; border-radius: var(--radius-sm);
	font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
	transition: background .2s, color .2s, box-shadow .2s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-600); color: #fff; }
.btn--accent { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px rgba(239, 49, 36, .7); }
.btn--accent:hover { background: var(--red-600); color: #fff; }
.btn--white { background: #fff; color: var(--blue); }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; border-radius: 12px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .2); }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Верхняя полоса и шапка ---------- */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .75); font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; height: 36px; align-items: center; }
.topbar__inner span { display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { color: #8fb0ff; }

.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(16, 24, 40, .3); }
.header__inner { display: flex; align-items: center; gap: 36px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); flex-shrink: 0; }
.logo:hover { color: var(--text); }
.logo__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--blue-400), var(--blue)); color: #fff; }
.logo__text { font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.logo--light, .logo--light:hover { color: #fff; }
.logo__img { height: 40px; width: auto; }

.nav { display: flex; gap: 26px; flex: 1; }
.nav a { white-space: nowrap; color: var(--text); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--blue); }
.nav__phone { display: none; }
.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 700; font-size: 16px; white-space: nowrap; }
.header__phone .icon { color: var(--blue); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--bg-gray); cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 12px; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: .2s; content: ''; }
.burger span { top: 21px; }
.burger span::before { top: -6px; left: 0; }
.burger span::after { top: 6px; left: 0; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero + подбор ---------- */
.hero {
	position: relative; padding: 64px 0 72px; color: #fff; overflow: hidden;
	background:
		radial-gradient(800px 400px at 90% -10%, rgba(61, 107, 255, .55), transparent 60%),
		radial-gradient(600px 300px at -10% 110%, rgba(239, 49, 36, .25), transparent 60%),
		linear-gradient(160deg, #0b2a8f 0%, var(--navy) 60%, var(--navy-900) 100%);
}
.hero::after {
	content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(180deg, #000, transparent 80%);
}
.hero .container { position: relative; z-index: 1; }
.hero__head { max-width: 860px; margin: 0 auto 40px; text-align: center; }
.hero__title { margin: 22px 0 18px; font-size: clamp(34px, 4.8vw, 60px); letter-spacing: -0.04em; }
.hero__lead { font-size: 19px; color: rgba(255, 255, 255, .8); }
.hero__lead b { color: #fff; background: var(--red); padding: 1px 8px; border-radius: 6px; white-space: nowrap; }

.finder { background: #fff; color: var(--text); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg); }
.finder__fields { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1fr; gap: 16px; align-items: start; }
.finder__result { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 12px; align-items: stretch; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.finder__note { margin-top: 16px; font-size: 13px; color: var(--muted); text-align: center; }
.offer { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 12px; background: var(--bg-gray); }
.offer__label { font-size: 13px; color: var(--muted); font-weight: 500; }
.offer__value { font-size: 22px; letter-spacing: -0.02em; white-space: nowrap; }
.offer__hint { font-size: 12px; color: var(--muted); }
.offer__hint s { color: var(--red); }
.offer--cashback { background: var(--green-50); }
.offer--cashback .offer__value { color: var(--green); }
.offer--total { background: var(--blue-50); }
.offer--total .offer__value { color: var(--blue); }
.finder__result .btn { height: auto; min-height: 56px; align-self: stretch; }

/* ---------- Поля ---------- */
.field { display: grid; gap: 8px; position: relative; }
.field__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field__label em { font-style: normal; font-weight: 400; color: #98a2b3; }
.input {
	width: 100%; height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
	background: #fff; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.input:hover { border-color: #c5ccd8; }
.input:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 59, 204, .12); }
select.input { appearance: none; padding-right: 40px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%23667085' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
textarea.input { height: auto; padding: 14px 16px; resize: vertical; }
.input--strong { font-weight: 700; font-size: 18px; }
.input--static { display: flex; align-items: center; font-weight: 700; font-size: 18px; background: var(--bg-gray); border-color: transparent; }
.has-error .input { border-color: var(--red); }
.field__error { font-size: 13px; color: var(--red); }

.range { --p: 50%; width: 100%; height: 18px; margin: -4px 0 0; appearance: none; background: transparent; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--blue) var(--p), #dfe3ea var(--p)); }
.range::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--blue) var(--p), #dfe3ea var(--p)); }
.range::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; margin-top: -7px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 1px 6px rgba(10, 59, 204, .5); }
.range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 1px 6px rgba(10, 59, 204, .5); }

/* ---------- Лента банков ---------- */
.marquee { border-bottom: 1px solid var(--line); background: #fff; }
.marquee__inner { display: flex; align-items: center; gap: 32px; height: 88px; }
.marquee__title { flex-shrink: 0; font-size: 13px; line-height: 1.3; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.marquee__track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__list { display: flex; gap: 48px; width: max-content; animation: marquee 60s linear infinite; }
.marquee__list span { font-weight: 800; font-size: 20px; color: #9aa3b5; white-space: nowrap; letter-spacing: -0.02em; }
.marquee:hover .marquee__list { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.section { padding: 96px 0; }
.section--gray { background: var(--bg-gray); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy .section__title { color: #fff; }
.section__head { max-width: 760px; margin-bottom: 48px; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__head--row { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.section__title { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.035em; }
.section__text { margin-top: 16px; font-size: 18px; color: var(--muted); }
.section__head--row .section__text { margin: 0; }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.eyebrow--light { color: #ff8a80; }

/* Причины */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.reason { padding: 36px; border-radius: 20px; background: var(--bg-gray); }
.reason__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: #fff; color: var(--blue); box-shadow: var(--shadow); margin-bottom: 28px; }
.reason h3 { font-size: 26px; margin-bottom: 10px; }
.reason p { color: var(--muted); }
.reason--accent { background: linear-gradient(150deg, var(--blue-400), var(--blue)); color: #fff; }
.reason--accent p { color: rgba(255, 255, 255, .85); }
.reason--accent .reason__icon { background: var(--red); color: #fff; box-shadow: 0 10px 20px -8px rgba(239, 49, 36, .7); }

/* Сравнение */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.crosslist { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.crosslist li { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.crosslist .icon { flex-shrink: 0; padding: 4px; width: 26px; height: 26px; border-radius: 50%; background: #fde8e7; color: var(--red); stroke-width: 3; }
.split__accent { display: flex; gap: 12px; padding: 18px 20px; border-radius: 12px; background: var(--green-50); color: #0b6b35; font-weight: 700; font-size: 17px; }
.split__accent .icon { flex-shrink: 0; margin-top: 2px; }
.bars { padding: 36px; box-shadow: var(--shadow-lg); }
.bars h3 { font-size: 22px; margin-bottom: 28px; }
.bars__row + .bars__row { margin-top: 22px; }
.bars__label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: var(--muted); font-size: 15px; }
.bars__label b { color: var(--text); font-size: 17px; white-space: nowrap; }
.bars__green { color: var(--green) !important; }
.bars__track { height: 14px; border-radius: 7px; background: var(--bg-gray); overflow: hidden; }
.bars__fill { display: block; height: 100%; border-radius: 7px; background: var(--blue); }
.bars__fill--gray { background: #b8c0cc; }
.bars__fill--green { background: var(--green); }
.bars__saving { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; padding: 18px 20px; border-radius: 12px; background: var(--red); color: #fff; font-weight: 600; }
.bars__saving b { font-size: 26px; letter-spacing: -0.02em; }

/* Табы */
.tabs__nav { display: flex; gap: 8px; padding: 6px; margin-bottom: 20px; border-radius: 14px; background: var(--bg-gray); width: max-content; max-width: 100%; overflow-x: auto; }
.tabs__btn { height: 46px; padding: 0 22px; border: 0; border-radius: 10px; background: transparent; font-weight: 700; font-size: 15px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs__btn:hover { color: var(--text); }
.tabs__btn.is-active { background: #fff; color: var(--blue); box-shadow: var(--shadow); }
.tabs__pane { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; padding: 40px; border: 1px solid var(--line); box-shadow: none; }
.tabs__pane[hidden] { display: none; }
.tabs__pane h3 { font-size: 28px; margin-bottom: 14px; }
.tabs__pane p { font-size: 17px; color: var(--muted); }
.tabs__laws { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tabs__laws span { padding: 6px 12px; border-radius: 8px; background: var(--blue-50); color: var(--blue); font-weight: 700; font-size: 14px; }
.tabs__side { display: flex; flex-direction: column; gap: 24px; justify-content: space-between; padding-left: 48px; border-left: 1px solid var(--line); }
.tabs__side .btn { align-self: flex-start; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; font-weight: 500; }
.checklist .icon { flex-shrink: 0; margin-top: 3px; color: var(--green); }
.checklist--light li { color: rgba(255, 255, 255, .9); }
.checklist--light .icon { color: #5ee08f; }

/* Под ключ */
.turnkey { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.timeline { list-style: none; padding: 0; margin: 0; counter-reset: t; }
.timeline li { position: relative; padding: 0 0 32px 64px; counter-increment: t; display: grid; gap: 4px; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: -4px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); font-weight: 800; }
.timeline li::after { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: rgba(255, 255, 255, .15); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline li:last-child::before { background: var(--red); border-color: var(--red); }
.timeline b { font-size: 19px; }
.timeline span { color: rgba(255, 255, 255, .7); }
.turnkey__card { padding: 36px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.turnkey__card h3 { font-size: 22px; margin-bottom: 24px; }
.turnkey__card .btn { margin-top: 32px; }

/* Банки */
.banks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.bank { display: flex; align-items: center; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 15px; transition: border-color .2s, box-shadow .2s; }
.bank:hover { border-color: var(--blue-100); box-shadow: var(--shadow); }
.bank .icon { flex-shrink: 0; color: var(--blue); }
.bank--more { grid-column: 1 / -1; justify-content: center; background: var(--blue); color: #fff; border-color: var(--blue); }

/* О нас */
.about { display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center; }
.about__badge {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
	aspect-ratio: 1; border-radius: 50%; color: #fff;
	background: radial-gradient(circle at 30% 20%, var(--blue-400), var(--blue) 50%, var(--navy) 100%);
	box-shadow: 0 0 0 14px #fff, 0 0 0 15px var(--line), var(--shadow-lg);
}
.about__badge b { font-size: 120px; line-height: 1; letter-spacing: -0.06em; }
.about__badge span { font-size: 17px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.about__badge em { margin-top: 14px; padding: 6px 16px; border-radius: 999px; background: var(--red); font-style: normal; font-weight: 800; letter-spacing: .04em; }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.about__facts div { padding: 20px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.about__facts b { display: block; font-size: 26px; color: var(--blue); letter-spacing: -0.02em; }
.about__facts span { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq-wrap__phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 22px; font-weight: 800; color: var(--text); }
.faq-wrap__phone .icon { color: var(--blue); }
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s; }
.faq__item[open] { border-color: var(--blue-100); background: #fafbff; }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__toggle { position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-gray); }
.faq__toggle::before, .faq__toggle::after { content: ''; position: absolute; top: 13px; left: 8px; width: 12px; height: 2px; background: var(--text); transition: transform .2s; }
.faq__toggle::after { transform: rotate(90deg); }
.faq__item[open] .faq__toggle { background: var(--blue); }
.faq__item[open] .faq__toggle::before, .faq__item[open] .faq__toggle::after { background: #fff; }
.faq__item[open] .faq__toggle::after { transform: rotate(0); }
.faq__item p { padding: 0 24px 22px; color: #475467; }

/* CTA */
.cta { padding: 0 0 96px; }
.cta__box {
	display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px; border-radius: 28px; color: #fff;
	background: radial-gradient(500px 300px at 100% 100%, rgba(239, 49, 36, .35), transparent 70%), linear-gradient(140deg, var(--blue) 0%, var(--navy) 100%);
}
.cta__content h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.035em; margin-bottom: 16px; }
.cta__content > p { font-size: 18px; color: rgba(255, 255, 255, .8); }
.cta__perks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; font-weight: 600; }
.cta__perks li { display: flex; align-items: center; gap: 10px; }
.cta__perks .icon { color: #5ee08f; }
.cta__form { padding: 32px; border-radius: 20px; background: #fff; color: var(--text); box-shadow: var(--shadow-lg); }

/* ---------- Форма заявки ---------- */
.lead-form { display: grid; gap: 16px; }
.lead-form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form__fields > .field:last-child:nth-child(odd),
.field--wide { grid-column: 1 / -1; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); flex-shrink: 0; }
.checkbox .field__error { position: absolute; top: 100%; left: 28px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.lead-form .btn--primary { background: var(--red); height: 56px; font-size: 16px; }
.lead-form .btn--primary:hover { background: var(--red-600); }
.form__message:empty { display: none; }
.form__message { color: var(--red); font-size: 14px; text-align: center; }
.form__success { display: none; text-align: center; padding: 24px 0 8px; }
.form__success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: var(--green); color: #fff; }
.form__success-icon .icon { stroke-width: 3; }
.form__success strong { display: block; font-size: 22px; margin-bottom: 8px; }
.form__success p { color: var(--muted); }
.lead-form.is-sent > :not(.form__success) { display: none; }
.lead-form.is-sent .form__success { display: block; }

/* ---------- Модалка ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(7, 20, 54, .6); backdrop-filter: blur(4px); animation: fade .2s; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal__box { position: relative; width: 100%; max-width: 520px; padding: 40px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); animation: pop .25s; }
.modal__box::before { content: ''; position: absolute; top: 0; left: 40px; right: 40px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--blue), var(--red)); }
.modal__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-gray); cursor: pointer; }
.modal__close:hover { background: var(--line); }
.modal__title { font-size: 26px; margin-bottom: 10px; padding-right: 40px; }
.modal__text { color: var(--muted); margin-bottom: 24px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

/* ---------- Подвал ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .7); padding: 64px 0 32px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.footer__brand p { margin-top: 20px; max-width: 400px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: rgba(255, 255, 255, .75); }
.footer a:hover { color: #fff; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: grid; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .45); }
.footer__bottom a { color: rgba(255, 255, 255, .6); }

/* ---------- Обычные страницы ---------- */
.page__title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 32px; }
.prose { font-size: 17px; }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose h2 { font-size: 26px; margin: 1.6em 0 .6em; }

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1280px) {
	.header__phone { display: none; }
}

@media (max-width: 1180px) {
	.nav { gap: 18px; }
	.finder__fields { grid-template-columns: 1fr 1fr; }
	.finder__result { grid-template-columns: repeat(2, 1fr); }
	.finder__result .btn { grid-column: 1 / -1; }
	.banks { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
	.header__phone { display: none; }
	.burger { display: block; }
	.nav {
		position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 40;
		flex-direction: column; gap: 0; padding: 16px 24px; background: #fff; overflow-y: auto;
		visibility: hidden; transform: translateX(100%); transition: transform .25s, visibility .25s;
	}
	.menu-open .nav { transform: none; visibility: visible; }
	.nav a { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
	.nav__phone { display: block; color: var(--blue) !important; font-weight: 800 !important; }
	.topbar__right { display: none !important; }
	.split, .turnkey, .faq-wrap, .cta__box, .section__head--row, .tabs__pane { grid-template-columns: 1fr; gap: 40px; }
	.tabs__side { padding-left: 0; border-left: 0; padding-top: 32px; border-top: 1px solid var(--line); }
	.about { grid-template-columns: 1fr; gap: 48px; }
	.about__badge { width: 280px; margin: 0 auto; }
	.banks { grid-template-columns: repeat(3, 1fr); }
	.reasons { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__brand { grid-column: 1 / -1; }
	.cta__box { padding: 40px; }
}

@media (max-width: 720px) {
	:root { --header-h: 64px; }
	.container { padding: 0 16px; }
	.topbar { font-size: 12px; }
	.topbar__inner { height: auto; padding: 8px 16px; }
	.header__inner { gap: 12px; }
	.header__actions { gap: 8px; margin-left: auto; }
	.header__actions .btn { height: 42px; padding: 0 14px; font-size: 14px; }
	.logo__text { font-size: 18px; }
	.logo__mark { width: 36px; height: 36px; }
	.hero { padding: 40px 0 48px; }
	.hero__head { text-align: left; margin-bottom: 28px; }
	.hero__lead { font-size: 17px; }
	.finder { padding: 20px 16px; border-radius: 16px; }
	.finder__fields, .finder__result { grid-template-columns: 1fr; }
	.offer { flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 12px; }
	.offer__value { font-size: 20px; }
	.offer__hint { width: 100%; }
	.marquee__title { display: none; }
	.section { padding: 64px 0; }
	.section__head { margin-bottom: 32px; }
	.reason, .bars, .tabs__pane, .turnkey__card { padding: 24px 20px; }
	.bars__saving b { font-size: 22px; }
	.tabs__nav { width: 100%; }
	.banks { grid-template-columns: 1fr 1fr; }
	.bank { padding: 14px 12px; font-size: 14px; }
	.about__facts { grid-template-columns: 1fr; }
	.about__badge { width: 240px; }
	.about__badge b { font-size: 84px; }
	.about__badge span { font-size: 15px; }
	.faq__item summary { padding: 18px 18px; font-size: 16px; }
	.faq__item p { padding: 0 18px 18px; }
	.cta { padding-bottom: 64px; }
	.cta__box { padding: 28px 16px; border-radius: 20px; }
	.cta__form { padding: 20px 16px; }
	.lead-form__fields { grid-template-columns: 1fr; }
	.modal__box { padding: 32px 20px 24px; }
	.footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
	.header__actions .btn--primary { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
