:root {
	--bg: #f3f5f2;
	--ink: #141814;
	--muted: #58615b;
	--line: #d9ded8;
	--white: #ffffff;
	--field: #1f3428;
	--field-2: #2f523f;
	--red: #c32020;
	--red-2: #a61616;
	--steel: #6d7973;
	--radius: 8px;
	--shadow: 0 20px 60px rgba(16, 24, 20, 0.14);
	--max-blue: #0b57d0;
	--max-blue-hover: #0842a0;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	letter-spacing: 0;
}

body.menu-open {
	overflow: hidden;
}

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

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

button,
input,
select,
textarea {
	font: inherit;
	letter-spacing: 0;
}

.container {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 16px;
	padding: 14px max(20px, calc((100% - 1280px) / 2));
	color: var(--white);
	transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-header.is-scrolled,
.site-header.is-open {
	background: rgba(18, 24, 20, 0.94);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
	border-bottom-color: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(16px);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	white-space: nowrap;
}

.brand-mark {
	display: inline-flex;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.1);
	color: var(--white);
}

.brand-text {
	font-size: 16px;
}

.desktop-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.82);
}

.desktop-nav a:hover,
.header-phone:hover {
	color: var(--white);
}

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

.header-phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.88);
	white-space: nowrap;
}

.header-phone svg,
.btn svg,
.text-link svg,
.lead-contact svg,
.proof-items svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

.menu-button {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: var(--radius);
	color: var(--white);
	background: rgba(255, 255, 255, 0.08);
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.mobile-nav {
	display: none;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border-radius: var(--radius);
	border: 1px solid transparent;
	min-height: 48px;
	padding: 13px 18px;
	font-weight: 800;
	cursor: pointer;
	transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
	text-align: center;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn-primary {
	background: var(--red);
	color: var(--white);
	box-shadow: 0 14px 34px rgba(195, 32, 32, 0.28);
}

.btn-primary:hover {
	background: var(--red-2);
}

.btn-light {
	background: var(--white);
	color: var(--field);
}

.btn-max {
	background: rgba(255, 255, 255, 0.1);
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.42);
}

.btn-max:hover {
	background: rgba(255, 255, 255, 0.18);
}

.btn-max img {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
}

.btn-small.btn-max img {
	width: 16px;
	height: 16px;
}

.btn-small {
	min-height: 40px;
	padding: 9px 13px;
	font-size: 14px;
}

.btn-ghost {
	background: rgba(255, 255, 255, 0.1);
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.42);
}

.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.18);
}

.btn-ghost-dark {
	background: var(--white);
	color: var(--field);
	border-color: var(--line);
}

.btn-field {
	background: var(--field);
	color: var(--white);
	border-color: var(--field);
}

.btn-field:hover {
	background: var(--field-2);
}

.hero {
	position: relative;
	min-height: 82svh;
	display: flex;
	align-items: center;
	overflow: hidden;
	color: var(--white);
	background: #111814;
}

.hero-bg,
.hero-overlay {
	position: absolute;
	inset: 0;
}

.hero-bg {
	background-image: url("assets/img/generated/hero-training.webp");
	background-size: cover;
	background-position: center;
	transform: scale(1.02);
}

.hero-overlay {
	background:
		linear-gradient(90deg, rgba(11, 14, 12, 0.9) 0%, rgba(11, 14, 12, 0.76) 42%, rgba(11, 14, 12, 0.3) 100%),
		linear-gradient(180deg, rgba(11, 14, 12, 0.4) 0%, rgba(11, 14, 12, 0.12) 42%, rgba(11, 14, 12, 0.88) 100%);
}

.hero-inner {
	position: relative;
	z-index: 1;
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
	padding: 104px 0 48px;
}

.eyebrow {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
	color: #b9d8c3;
	letter-spacing: 0;
}

.section-kicker {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
	color: var(--field-2);
	letter-spacing: 0;
}

.hero h1 {
	margin: 0;
	max-width: 820px;
	font-size: 76px;
	line-height: 0.98;
	font-weight: 900;
}

.hero-lead {
	max-width: 760px;
	margin: 24px 0 0;
	font-size: 22px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.hero-proof {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	margin-top: 56px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--radius);
	overflow: hidden;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(14px);
}

.hero-proof div {
	min-height: 112px;
	padding: 22px;
	background: rgba(12, 18, 14, 0.52);
}

.hero-proof strong,
.hero-proof span {
	display: block;
}

.hero-proof strong {
	font-size: 22px;
	line-height: 1.1;
}

.hero-proof span {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.72);
}

.outcome-band {
	padding: 28px 0;
	background: var(--field);
	color: var(--white);
}

.outcome-grid {
	display: grid;
	grid-template-columns: 0.92fr 1.08fr;
	gap: 48px;
	align-items: center;
}

.outcome-grid h2,
.section h2,
.lead-section h2 {
	margin: 0;
	font-size: 44px;
	line-height: 1.05;
	font-weight: 900;
}

.outcome-grid p:last-child {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 17px;
	line-height: 1.65;
}

.section {
	padding: 86px 0;
}

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

.section-muted {
	background: var(--bg);
}

.section-dark {
	background: #121814;
	color: var(--white);
}

.section-gallery {
	background: #dce2dc;
}

.section-head {
	max-width: 760px;
	margin: 0 auto 38px;
	text-align: center;
}

.section-head-left {
	margin-left: 0;
	text-align: left;
}

.section-head p:not(.section-kicker),
.lead-copy p,
.proof-copy p,
.funding-grid > div > p {
	color: var(--muted);
	font-size: 17px;
	line-height: 1.65;
	margin: 18px 0 0;
}

.section-dark .section-head p:not(.section-kicker),
.section-dark .funding-grid > div > p {
	color: rgba(255, 255, 255, 0.72);
}

.section-dark .section-kicker,
.lead-section .section-kicker,
.outcome-band .section-kicker {
	color: #b9d8c3;
}

.segmented {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-bottom: 28px;
	flex-wrap: wrap;
}

.segment {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	color: var(--field);
	padding: 10px 15px;
	font-weight: 800;
	cursor: pointer;
}

.segment.active {
	background: var(--field);
	border-color: var(--field);
	color: var(--white);
}

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

.program-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	overflow: hidden;
	box-shadow: 0 1px 0 rgba(20, 24, 20, 0.04);
	transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

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

.program-card.is-hidden {
	display: none;
}

.program-card img {
	width: 100%;
	height: 230px;
	object-fit: cover;
	background: #cad1ca;
}

.program-body {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 22px;
	flex: 1;
}

.program-topline {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	color: var(--red);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.program-card h3,
.pathway-panel h3,
.pathway-list h3,
.timeline h3,
.proof-items h3,
.funding-card h3 {
	margin: 0;
	font-size: 21px;
	line-height: 1.2;
}

.program-card p,
.program-card li,
.pathway-panel p,
.pathway-list p,
.timeline p,
.proof-items p,
.funding-card p,
.funding-card li {
	color: var(--muted);
	line-height: 1.55;
	font-size: 15px;
}

.program-card p,
.program-card ul {
	margin: 0;
}

.program-card ul,
.funding-card ul {
	padding-left: 18px;
}

.pathway-layout {
	display: grid;
	grid-template-columns: 0.86fr 1.14fr;
	gap: 24px;
	align-items: stretch;
}

.pathway-panel {
	padding: 30px;
	border-radius: var(--radius);
	background: var(--field);
	color: var(--white);
	min-height: 100%;
}

.pathway-panel p {
	color: rgba(255, 255, 255, 0.76);
	font-size: 16px;
}

.text-link {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	margin-top: 18px;
	color: #d9f0df;
	font-weight: 800;
}

.pathway-list {
	display: grid;
	gap: 12px;
}

.pathway-list article {
	display: grid;
	grid-template-columns: 54px 1fr;
	gap: 18px;
	padding: 22px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.pathway-list article > span,
.timeline article > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: var(--radius);
	background: #e3eee6;
	color: var(--field);
	font-weight: 900;
}

.pathway-list p {
	margin: 8px 0 0;
}

.funding-grid {
	display: grid;
	grid-template-columns: 1fr 0.86fr;
	gap: 40px;
	align-items: center;
}

.funding-card {
	padding: 30px;
	border-radius: var(--radius);
	background: var(--white);
	color: var(--ink);
	box-shadow: var(--shadow);
}

.funding-card p {
	margin: 14px 0 0;
}

.funding-card .btn {
	margin-top: 16px;
	width: 100%;
}

.timeline {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--line);
}

.timeline article {
	background: var(--white);
	padding: 24px;
	min-height: 250px;
}

.timeline h3 {
	margin-top: 28px;
}

.timeline p {
	margin: 12px 0 0;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: 240px;
	gap: 14px;
}

.gallery-grid figure {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: #bfc8c1;
}

.gallery-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.proof-grid {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: 34px;
	align-items: start;
}

.proof-items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.proof-items > div {
	padding: 24px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--white);
}

.proof-items svg {
	color: var(--red);
	margin-bottom: 18px;
}

.proof-items p {
	margin: 10px 0 0;
}

.lead-section {
	padding: 90px 0;
	background:
		linear-gradient(90deg, rgba(18, 24, 20, 0.94), rgba(18, 24, 20, 0.82)),
		url("assets/img/generated/hero-training.webp") center / cover;
	color: var(--white);
}

.lead-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 42px;
	align-items: center;
}

.lead-copy p {
	color: rgba(255, 255, 255, 0.78);
}

.lead-points {
	display: grid;
	gap: 10px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
	color: rgba(255, 255, 255, 0.88);
	font-weight: 700;
}

.lead-points li {
	position: relative;
	padding-left: 22px;
}

.lead-points li::before {
	content: "";
	position: absolute;
	top: 0.68em;
	left: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--red);
	transform: translateY(-50%);
	box-shadow: 0 0 0 5px rgba(178, 45, 35, 0.18);
}

.lead-contact {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.lead-contact a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	padding: 11px 14px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.08);
	font-weight: 800;
}

.lead-form {
	display: grid;
	gap: 14px;
	padding: 26px;
	border-radius: var(--radius);
	background: var(--white);
	color: var(--ink);
	box-shadow: var(--shadow);
}

.lead-form label {
	display: grid;
	gap: 7px;
}

.lead-form .hp-field {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.lead-form label span {
	font-weight: 800;
	font-size: 13px;
	color: var(--field);
}

.lead-form label.consent {
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 10px;
	margin-top: 2px;
}

.lead-form label.consent input {
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--field);
	cursor: pointer;
}

.lead-form label.consent span {
	font-weight: 400;
	font-size: 12px;
	line-height: 1.45;
	color: var(--muted);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #f9fbf8;
	color: var(--ink);
	padding: 13px 14px;
	outline: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
	border-color: var(--field-2);
	box-shadow: 0 0 0 3px rgba(47, 82, 63, 0.16);
}

.form-row {
	display: grid;
	grid-template-columns: 0.72fr 1.28fr;
	gap: 12px;
}

.lead-form .btn {
	width: 100%;
	margin-top: 2px;
}

.lead-form .btn:disabled {
	cursor: progress;
	opacity: 0.72;
}

.form-note {
	margin: 0;
	font-size: 13px;
	line-height: 1.45;
	color: var(--muted);
}

.form-note.is-success {
	color: var(--field);
	font-weight: 800;
}

.form-note.is-error {
	color: #b42318;
	font-weight: 800;
}

.faq-list {
	max-width: 920px;
	margin: 0 auto;
	display: grid;
	gap: 10px;
}

details {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	overflow: hidden;
}

summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
	cursor: pointer;
	font-weight: 900;
}

summary::-webkit-details-marker {
	display: none;
}

summary::after {
	content: "+";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	flex: 0 0 auto;
	border-radius: var(--radius);
	background: #e3eee6;
	color: var(--field);
	font-size: 20px;
	line-height: 1;
}

details[open] summary::after {
	content: "-";
}

details p {
	margin: 0;
	padding: 0 22px 22px;
	color: var(--muted);
	line-height: 1.65;
}

.site-footer {
	padding: 34px 0;
	background: #101411;
	color: var(--white);
}

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

.site-footer p {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.62);
}

.footer-actions {
	display: flex;
	gap: 18px;
	font-weight: 800;
}

.sticky-cta {
	display: none;
}

/* Brand logo */
.brand-logo {
	height: 34px;
	width: auto;
}

/* Funding: "берём на себя / от вас" */
.included-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: 34px;
}

.included-card {
	padding: 28px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.14);
}

.included-card.is-accent {
	background: rgba(180, 159, 128, 0.14);
	border-color: rgba(180, 159, 128, 0.42);
}

.included-head {
	display: flex;
	align-items: center;
	gap: 12px;
}

.included-head svg {
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
	color: #cdb892;
}

.included-head h3 {
	margin: 0;
	font-size: 22px;
	color: var(--white);
}

.included-note {
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.64);
	font-size: 15px;
	line-height: 1.55;
}

.included-card ul {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.included-card li {
	position: relative;
	padding-left: 32px;
	color: rgba(255, 255, 255, 0.86);
	font-size: 16px;
	line-height: 1.45;
}

.included-card li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 1px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 21px;
	height: 21px;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 900;
	color: #1f3428;
	background: #cdb892;
}

.funding-cta {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	margin-top: 30px;
}

.funding-cta-note {
	max-width: 360px;
	color: rgba(255, 255, 255, 0.58);
	font-size: 14px;
	line-height: 1.5;
}

/* Regions: учебно-тренировочные центры */
.city-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.city-card .program-topline span {
	color: var(--red);
}

.city-card h3 {
	font-size: 22px;
}

.city-card ul {
	margin: 0;
	padding-left: 18px;
}

.city-card ul li {
	margin-bottom: 6px;
}

.city-cta {
	margin-top: auto;
	width: 100%;
}

/* CTA button pinned to bottom of any program/city card */
.program-card .btn {
	margin-top: auto;
	width: 100%;
}

.card-cta {
	margin-top: 4px;
}

/* Advantages */
.advantage-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.advantage-card {
	padding: 28px;
	border-radius: var(--radius);
	background: var(--white);
	border: 1px solid var(--line);
}

.advantage-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.advantage-head svg {
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
	color: var(--field-2);
}

.advantage-head h3 {
	margin: 0;
	font-size: 20px;
	line-height: 1.2;
}

.advantage-card ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.advantage-card li {
	position: relative;
	padding-left: 26px;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.5;
}

.advantage-card li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 9px;
	height: 9px;
	border-radius: 2px;
	background: var(--field-2);
}

/* After-course salary highlight */
.pathway-stat {
	margin-top: 20px;
	padding: 16px 18px;
	border-radius: var(--radius);
	background: rgba(180, 159, 128, 0.16);
	border: 1px solid rgba(180, 159, 128, 0.4);
}

.pathway-stat strong {
	display: block;
	font-size: 30px;
	line-height: 1;
	color: #e1cca3;
}

.pathway-stat span {
	display: block;
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.78);
}

.pathway-list .pay {
	color: var(--field-2);
	font-weight: 800;
	white-space: nowrap;
}

.regions-note {
	margin: 26px auto 0;
	max-width: 780px;
	text-align: center;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.6;
}

/* Combo CTA banner */
.combo-section {
	padding: 40px 0 86px;
	background: var(--bg);
}

.combo-banner {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--field);
	color: var(--white);
	box-shadow: var(--shadow);
}

.combo-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 52px 48px;
}

.combo-text h2 {
	margin: 0;
	font-size: 38px;
	line-height: 1.08;
	font-weight: 900;
}

.combo-text p {
	margin: 18px 0 0;
	max-width: 460px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 18px;
	line-height: 1.55;
}

.combo-text .btn {
	margin-top: 28px;
	align-self: flex-start;
}

.combo-media {
	min-height: 300px;
	background: url("assets/img/generated/hero-training.webp") center / cover;
}

/* Lead modal */
.modal[hidden] {
	display: none;
}

.modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.modal-overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 14, 11, 0.66);
	backdrop-filter: blur(4px);
	animation: modalFade 180ms ease;
}

.modal-dialog {
	position: relative;
	z-index: 1;
	width: min(440px, 100%);
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: var(--white);
	border-radius: 12px;
	box-shadow: var(--shadow);
	padding: 30px 28px 26px;
	animation: modalPop 200ms ease;
}

.modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--white);
	color: var(--field);
	cursor: pointer;
}

.modal-close:hover {
	background: var(--bg);
}

.modal-close svg {
	width: 20px;
	height: 20px;
}

.modal-dialog .section-kicker {
	margin-bottom: 8px;
}

.modal-dialog h2 {
	margin: 0;
	font-size: 26px;
	line-height: 1.12;
	font-weight: 900;
	padding-right: 36px;
}

.modal-sub {
	margin: 10px 0 18px;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.5;
}

.modal-benefits {
	display: grid;
	gap: 9px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	color: var(--field);
	font-size: 15px;
	line-height: 1.4;
}

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

.modal-benefits li {
	position: relative;
	padding-left: 18px;
}

.modal-benefits li::before {
	content: "";
	position: absolute;
	top: 0.62em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--red);
	transform: translateY(-50%);
}

.modal-form.lead-form {
	padding: 0;
	background: transparent;
	box-shadow: none;
	gap: 12px;
}

body.modal-open {
	overflow: hidden;
}

@keyframes modalFade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes modalPop {
	from { opacity: 0; transform: translateY(12px) scale(0.98); }
	to { opacity: 1; transform: none; }
}

/* Footer brand */
.footer-brand {
	display: flex;
	align-items: center;
	gap: 16px;
}

.footer-logo {
	height: 40px;
	width: auto;
	flex: 0 0 auto;
}

.footer-legal {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 13px;
}

.footer-legal a {
	color: rgba(255, 255, 255, 0.6);
}

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

.lead-form .consent a {
	color: var(--field-2);
	text-decoration: underline;
}

.lead-form .consent a:hover {
	color: var(--field);
}

@media (max-width: 1240px) {
	.site-header {
		grid-template-columns: auto auto;
	}

	.desktop-nav {
		display: none;
	}

	.menu-button {
		display: inline-flex;
	}

	.mobile-nav {
		position: fixed;
		top: 69px;
		left: 0;
		right: 0;
		display: none;
		padding: 18px 32px 28px;
		background: rgba(18, 24, 20, 0.96);
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
		box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34);
	}

	.mobile-nav.is-open {
		display: grid;
	}

	.mobile-nav a {
		padding: 14px 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.1);
		color: rgba(255, 255, 255, 0.88);
		font-weight: 800;
	}

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

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

	.timeline article:last-child {
		grid-column: span 2;
		min-height: 180px;
	}

	.proof-grid,
	.funding-grid,
	.pathway-layout,
	.lead-grid,
	.outcome-grid {
		grid-template-columns: 1fr;
	}

	.proof-items {
		grid-template-columns: 1fr;
	}

	.included-grid {
		grid-template-columns: 1fr;
	}

	.advantage-grid {
		grid-template-columns: 1fr;
	}

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

	.combo-banner {
		grid-template-columns: 1fr;
	}

	.combo-media {
		min-height: 220px;
	}
}

@media (max-width: 992px) {
	.header-phone {
		display: none;
	}
}

@media (max-width: 760px) {
	.container,
	.hero-inner {
		width: min(100% - 28px, 1180px);
	}

	.site-header {
		padding: 12px 14px;
		gap: 12px;
	}

	.brand-text,
	.header-phone,
	.header-actions .btn-light,
	.header-actions .header-max {
		display: none;
	}

	.mobile-nav {
		top: 65px;
		padding-left: 18px;
		padding-right: 18px;
	}

	.hero {
		min-height: auto;
		align-items: stretch;
	}

	.hero-overlay {
		background:
			linear-gradient(90deg, rgba(11, 14, 12, 0.92), rgba(11, 14, 12, 0.7)),
			linear-gradient(180deg, rgba(11, 14, 12, 0.24), rgba(11, 14, 12, 0.9));
	}

	.hero-inner {
		padding-top: 92px;
		padding-bottom: 30px;
	}

	.hero h1 {
		font-size: 42px;
		line-height: 1.02;
	}

	.hero-lead {
		font-size: 17px;
		margin-top: 18px;
	}

	.hero-actions {
		display: grid;
		grid-template-columns: 1fr;
		margin-top: 24px;
	}

	.hero-proof {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1px;
		margin-top: 26px;
		overflow: hidden;
	}

	.hero-proof div {
		flex: none;
		min-height: 0;
		padding: 14px;
	}

	.hero-proof strong {
		font-size: 16px;
	}

	.hero-proof span {
		font-size: 13px;
		margin-top: 6px;
	}

	.outcome-grid h2,
	.section h2,
	.lead-section h2 {
		font-size: 32px;
	}

	.section {
		padding: 58px 0;
	}

	.section-head {
		text-align: left;
		margin-bottom: 28px;
	}

	.segmented {
		justify-content: flex-start;
	}

	.program-grid,
	.timeline,
	.gallery-grid,
	.city-grid,
	.form-row {
		grid-template-columns: 1fr;
	}

	.combo-text {
		padding: 32px 22px;
	}

	.combo-text h2 {
		font-size: 27px;
	}

	.combo-text p {
		font-size: 16px;
	}

	.combo-section {
		padding: 32px 0 60px;
	}

	.funding-cta {
		gap: 12px;
	}

	.footer-brand {
		gap: 12px;
	}

	.modal {
		padding: 0;
		align-items: flex-end;
	}

	.modal-dialog {
		width: 100%;
		max-height: 92vh;
		border-radius: 16px 16px 0 0;
		padding: 26px 18px 22px;
		animation: modalSheet 220ms ease;
	}

	@keyframes modalSheet {
		from { transform: translateY(100%); }
		to { transform: translateY(0); }
	}

	.program-card img {
		height: 210px;
	}

	.timeline article,
	.timeline article:last-child {
		grid-column: auto;
		min-height: auto;
		padding: 22px;
	}

	.timeline h3 {
		margin-top: 14px;
	}

	.gallery-grid {
		grid-auto-rows: 220px;
	}

	.lead-section {
		padding: 60px 0 86px;
	}

	.lead-form {
		padding: 18px;
	}

	.footer-grid {
		display: grid;
	}

	.footer-actions {
		display: grid;
		gap: 10px;
	}

	.sticky-cta {
		position: fixed;
		left: 10px;
		right: 10px;
		bottom: 10px;
		z-index: 45;
		display: grid;
		grid-template-columns: 1fr 54px 54px;
		gap: 8px;
		opacity: 0;
		pointer-events: none;
		transform: translateY(120%);
		transition: opacity 180ms ease, transform 180ms ease;
	}

	.sticky-cta.is-visible {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.sticky-cta .btn {
		min-height: 52px;
		box-shadow: 0 12px 34px rgba(0, 0, 0, 0.26);
	}
}

@media (max-width: 420px) {
	.hero h1 {
		font-size: 40px;
	}
}

/* Robot Max Styles */
.btn-max-sticky {
	background: var(--white);
	color: var(--field);
	border: 1px solid var(--line);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius);
	min-height: 52px;
	transition: background 180ms ease, transform 180ms ease;
}

.btn-max-sticky:hover {
	background: var(--bg);
	transform: translateY(-1px);
}

.btn-max-sticky img {
	width: 22px;
	height: 22px;
	filter: brightness(0);
}


.footer-max-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.88);
	transition: color 180ms ease;
}

.footer-max-link:hover {
	color: #92c5ff;
}

.footer-max-link img {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}
