/* F18 · только страница /uslugi/115-fz. Все селекторы под .f18 / .f18-page */
.f18-page { overflow-x: hidden; }
.f18 {
	--f18-navy: #1b254e;
	--f18-blue: #2c5aa0;
	--f18-orange: #f3a65b;
	--f18-terra: #a34930;
	--f18-text: #2c2c2c;
	--f18-muted: #5e728c;
	--f18-light: #d7e3f4;
	--f18-light2: #c0d1e8;
	--f18-light3: #c9d6e9;
	--f18-light4: #e1eafa;
	--f18-ph: #7b8797;
	--f18-line: #d9e2ec;
	--f18-warmline: #f0d1b3;
	--f18-warmbg: #fff4e9;
	--f18-soft: #f3f6fa;
	--f18-numbg: #edf3fa;
	--f18-track: #e6edf7;
	--f18-hero-rule: #435176;
	--f18-photo: #dce6f3;
	--f18-inner: 1200px;
	color: var(--f18-text);
	font-family: Inter, system-ui, sans-serif;
	font-weight: 400;
	letter-spacing: 0;
}
.f18 *,
.f18 *::before,
.f18 *::after { box-sizing: border-box; }
.f18 a { color: inherit; }
.f18 img { max-width: 100%; height: auto; display: block; }
.f18__inner {
	width: var(--f18-inner);
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
}
.f18-sec { padding: 46px 0 70px; }
.f18-sec--white { background: #fff; }
.f18-sec--soft { background: var(--f18-soft); }
.f18-sec--warm { background: var(--f18-warmbg); }

.f18-eyebrow {
	margin: 0 0 16px;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 12px;
	line-height: 18px;
	color: var(--f18-blue);
	text-transform: none;
}
.f18-eyebrow--orange { color: var(--f18-orange); }
.f18-eyebrow--terra { color: var(--f18-terra); }
.f18-h1,
.f18-h2 {
	margin: 0;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	color: var(--f18-text);
	letter-spacing: 0;
}
.f18-h1 {
	font-size: 48px;
	line-height: 58px;
	color: #fff;
	max-width: 710px;
}
.f18-h2 { font-size: 34px; line-height: 45px; max-width: 920px; }
.f18-h2--35 { font-size: 35px; line-height: 45px; }
.f18-h2--32 { font-size: 32px; line-height: 43px; }
.f18-h2--33 { font-size: 33px; line-height: 44px; }
.f18-h2--light { color: #fff; }
.f18-lead {
	margin: 16px 0 0;
	font-size: 17px;
	line-height: 26px;
	color: var(--f18-muted);
	max-width: 760px;
}
.f18-lead--16 { font-size: 16px; line-height: 25px; }
.f18-footnote {
	margin: 22px 0 0;
	font-size: 13px;
	line-height: 21px;
	color: var(--f18-muted);
}
.f18-outro {
	margin: 28px 0 0;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 22px;
}
.f18-outro--blue { color: var(--f18-blue); }

.f18-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	height: 56px;
	padding: 0 22px;
	border: 0;
	border-radius: 10px;
	background: var(--f18-blue);
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 20px;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
}
.f18-btn--orange { background: var(--f18-orange); color: var(--f18-navy); }
.f18 a.f18-btn { color: #fff; }
.f18 a.f18-btn--orange { color: var(--f18-navy); }
.f18-btn .f18-arrow,
.f18-btn .f18-arrow path { color: inherit; stroke: currentColor; }
.f18-btn:hover { filter: brightness(0.92); }
.f18-btn:focus-visible,
.f18-textlink:focus-visible,
.f18-back:focus-visible,
.f18-input:focus-visible,
.f18-option:focus-within,
.f18-faq__btn:focus-visible,
.f18 a:focus-visible {
	outline: 2px solid #2c5aa0;
	outline-offset: 2px;
}
.f18-btn[disabled],
.f18-btn[aria-disabled="true"] {
	color: #fff;
	opacity: .7;
	pointer-events: none;
	cursor: default;
	filter: none;
}
.f18-arrow { flex: 0 0 11px; display: block; }
.f18-textlink {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--f18-blue);
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 22px;
	text-decoration: none;
}
.f18-back {
	border: 0;
	background: none;
	padding: 0;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 22px;
	color: var(--f18-muted);
	cursor: pointer;
	min-height: 44px;
}

.f18-field { display: flex; flex-direction: column; gap: 6px; }
.f18-label {
	font-size: 13px;
	line-height: 19px;
	color: var(--f18-muted);
}
.f18-hero .f18-label,
.f18-final .f18-label { color: var(--f18-light); }
.f18-input {
	height: 48px;
	width: 100%;
	border: 1px solid var(--f18-line);
	border-radius: 7px;
	padding: 0 14px;
	font-family: Inter, sans-serif;
	font-size: 15px;
	line-height: 22px;
	color: var(--f18-text);
	background: #fff;
	appearance: none;
}
.f18-input::placeholder { color: var(--f18-ph); }
.f18-select { background-image: none; }

.f18-consent { margin-top: 16px; }
.f18-consent .fomix-pd-consent,
.f18-consent .input-group,
.f18-consent .policy-group { margin: 0; }
.f18-consent .fomix-pd-consent label,
.f18-consent .fomix-pd-consent label span {
	font-size: 12px;
	line-height: 19px;
}
.f18-consent--dark .fomix-pd-consent label,
.f18-consent--dark .fomix-pd-consent label span { color: var(--f18-light); }
.f18-consent--dark .fomix-pd-consent a { color: #fff; text-decoration: underline; }
.f18-consent--light .fomix-pd-consent label,
.f18-consent--light .fomix-pd-consent label span { color: var(--f18-muted); }
.f18-consent--light .fomix-pd-consent a { color: var(--f18-blue); text-decoration: underline; }
.f18-consent input[type="checkbox"] { width: 15px; height: 15px; border-radius: 2px; }
.f18 .form-message { margin-top: 10px; font-size: 12px; line-height: 19px; }
.f18 .form-message.error { color: #d64545; }
.f18 .form-message.success,
.f18-thanks {
	margin-top: 12px;
	font-family: Inter, sans-serif;
	font-size: 15px;
	line-height: 22px;
	color: var(--f18-navy);
}
.f18-hero .f18-thanks,
.f18-final .f18-thanks { color: #fff; }

.f18-num {
	width: 35px;
	height: 35px;
	border-radius: 8px;
	background: var(--f18-numbg);
	color: var(--f18-blue);
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 35px;
}

/* 01 hero */
.f18-hero {
	background: var(--f18-navy);
	padding: 38px 0 40px;
	color: #fff;
}
.f18-hero__grid {
	display: grid;
	grid-template-columns: 1fr 450px;
	column-gap: 60px;
	align-items: start;
}
.f18-hero__list {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 22px;
	line-height: 32px;
	color: #fff;
}
.f18-hero__list li {
	position: relative;
	padding-left: 33px;
	margin: 0;
}
.f18-hero__list li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: #fff;
}
.f18-hero__lead {
	margin: 22px 0 0;
	max-width: 690px;
	font-size: 19px;
	line-height: 30px;
	color: var(--f18-light);
}
.f18-form--hero { margin-top: 32px; }
.f18-form--hero .f18-form__row {
	display: flex;
	align-items: flex-end;
	gap: 17px;
}
.f18-form--hero .f18-field { width: 265px; flex: 0 0 265px; }
.f18-form--hero .f18-btn { width: 365px; flex: 0 0 365px; }
.f18-hero__note {
	margin: 16px 0 0;
	font-size: 14px;
	line-height: 22px;
	color: var(--f18-light2);
}
.f18-hero__frame {
	width: 450px;
	height: 530px;
	background: var(--f18-photo);
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
.f18-hero__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center bottom;
}
.f18-hero__caption { margin: 16px 0 0; }
.f18-hero__name {
	display: block;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 23px;
	line-height: 31px;
	color: #fff;
}
.f18-hero__role {
	display: block;
	margin-top: 8px;
	font-size: 15px;
	line-height: 23px;
	color: var(--f18-light);
}
.f18-hero__rule {
	height: 1px;
	background: var(--f18-hero-rule);
	margin: 40px 0 20px;
}
.f18-hero__outcomes {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 22px;
	color: var(--f18-light4);
}

/* cards */
.f18-cards { display: grid; gap: 21px 24px; margin-top: 36px; }
.f18-cards--2x2 { grid-template-columns: 588px 588px; }
.f18-cards--3 { grid-template-columns: 386px 386px 386px; gap: 21px; }
.f18-card {
	background: #fff;
	border: 1px solid var(--f18-line);
	border-radius: 10px;
	padding: 22px 24px 24px;
	min-height: 169px;
	position: relative;
}
.f18-card--accent { padding-left: 40px; }
.f18-card--accent::before {
	content: "";
	position: absolute;
	left: 20px;
	top: 23px;
	width: 4px;
	height: 33px;
	border-radius: 2px;
	background: var(--f18-orange);
}
.f18-card--warm { border-color: var(--f18-warmline); min-height: 225px; border-radius: 10px; }
.f18-cards--steps .f18-card { min-height: 230px; border-radius: 12px; padding: 24px; }
.f18-card__title {
	margin: 0;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 19px;
	line-height: 27px;
	color: var(--f18-text);
}
.f18-card__title--20 { font-size: 20px; line-height: 27px; }
.f18-card__text {
	margin: 16px 0 0;
	font-size: 14px;
	line-height: 23px;
	color: var(--f18-muted);
}
.f18-card__text--22 { line-height: 22px; }
.f18-card--warm .f18-num { margin-bottom: 19px; }
.f18-card__out {
	margin: 18px 0 0;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 13px;
	line-height: 19px;
	color: var(--f18-blue);
}
.f18-s3-foot,
.f18-s9-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 28px;
}
.f18-s3-foot p,
.f18-s9-foot p {
	margin: 0;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 25px;
	color: var(--f18-text);
}
.f18-s9-foot p {
	font-family: Inter, sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 23px;
	color: var(--f18-muted);
	max-width: 770px;
}
.f18-s9-foot .f18-btn { flex: 0 0 385px; width: 385px; }

/* 04 quiz */
.f18-quiz-sec #f18-quiz,
.f18-quiz-sec,
.f18-final { scroll-margin-top: calc(var(--site-header-height, 97px) + 16px); }
.f18-quiz-layout {
	display: grid;
	grid-template-columns: 345px 770px;
	gap: 35px;
	align-items: start;
	margin-top: 28px;
}
.f18-quiz-aside__media {
	margin: 0;
	width: 345px;
	height: 245px;
	border-radius: 12px;
	overflow: hidden;
}
.f18-quiz-aside__img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.f18-quiz-aside__name {
	margin: 24px 0 0;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 21px;
	line-height: 28px;
}
.f18-quiz-aside__role {
	margin: 13px 0 0;
	font-size: 14px;
	line-height: 22px;
	color: var(--f18-muted);
}
.f18-quiz-aside__note {
	margin: 18px 0 0;
	font-size: 15px;
	line-height: 24px;
	color: var(--f18-muted);
}
.f18-quiz {
	width: 770px;
	min-height: 520px;
	border: 1px solid var(--f18-line);
	border-radius: 12px;
	padding: 28px;
	background: #fff;
	display: flex;
	flex-direction: column;
}
.f18-quiz__step {
	margin: 0;
	padding: 0;
	border: 0;
	min-height: 464px;
	display: flex;
	flex-direction: column;
}
.f18-quiz__step[hidden] { display: none !important; }
.f18-quiz__counter {
	margin: 0;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 12px;
	line-height: 18px;
	color: var(--f18-blue);
}
.f18-progress {
	margin-top: 13px;
	width: 714px;
	max-width: 100%;
	height: 5px;
	border-radius: 2px;
	background: var(--f18-track);
	overflow: hidden;
}
.f18-progress span {
	display: block;
	height: 100%;
	background: var(--f18-blue);
	border-radius: 2px;
}
.f18-quiz__q {
	margin: 19px 0 0;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 23px;
	line-height: 31px;
	color: var(--f18-text);
}
.f18-quiz__hint {
	margin: 14px 0 0;
	font-size: 14px;
	line-height: 21px;
	color: var(--f18-muted);
}
.f18-options {
	display: grid;
	grid-template-columns: 348px 348px;
	gap: 12px 14px;
	margin-top: 24px;
}
.f18-option {
	display: flex;
	align-items: flex-start;
	gap: 13px;
	min-height: 53px;
	margin: 0;
	padding: 10px 14px;
	border: 1px solid var(--f18-line);
	border-radius: 7px;
	cursor: pointer;
	background: #fff;
}
.f18-option input { position: absolute; opacity: 0; pointer-events: none; }
.f18-option__sw {
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	margin-top: 4px;
	border: 1px solid var(--f18-line);
	border-radius: 50%;
	position: relative;
	background: #fff;
}
.f18-option__txt {
	flex: 1;
	font-size: 14px;
	line-height: 21px;
	color: var(--f18-text);
}
.f18-option:hover { border-color: var(--f18-blue); }
.f18-option:has(input:checked) {
	border-color: var(--f18-blue);
	background: var(--f18-numbg);
}
.f18-option:has(input:checked) .f18-option__sw { border-color: var(--f18-blue); }
.f18-option:has(input:checked) .f18-option__sw::after {
	content: "";
	position: absolute;
	inset: 3px;
	border-radius: 50%;
	background: var(--f18-blue);
	width: 6px;
	height: 6px;
	inset: 3px auto auto 3px;
}
.f18-quiz__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 24px;
}
.f18-quiz__next { width: 192px; }
.f18-quiz__final .send-form { width: 282px; min-width: 282px; }
.f18-quiz__final .f18-field { margin-top: 16px; }
.f18-quiz-skip {
	margin: 24px 0 0;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 22px;
	color: var(--f18-blue);
}

/* 06 docs */
.f18-docs {
	display: grid;
	grid-template-columns: 588px 588px;
	gap: 24px;
	margin-top: 36px;
}
.f18-doc {
	border: 1px solid var(--f18-line);
	border-radius: 12px;
	padding: 23px 24px 24px;
	min-height: 532px;
	display: grid;
	grid-template-columns: 210px 1fr;
	grid-template-rows: auto auto auto 1fr auto;
	column-gap: 26px;
	row-gap: 0;
}
.f18-doc__preview {
	grid-row: 1 / 3;
	width: 210px;
	height: 297px;
	object-fit: contain;
	object-position: top center;
	border-radius: 3px;
	background: var(--f18-soft);
}
.f18-doc__meta { padding-top: 4px; }
.f18-doc__title {
	margin: 16px 0 0;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 21px;
	line-height: 28px;
}
.f18-doc__date {
	margin: 90px 0 0;
	font-size: 14px;
	line-height: 22px;
	color: var(--f18-muted);
}
.f18-doc__text {
	grid-column: 1 / -1;
	margin: 28px 0 0;
	padding-top: 22px;
	border-top: 1px solid var(--f18-line);
	font-size: 14px;
	line-height: 23px;
	color: var(--f18-muted);
}
.f18-doc .f18-textlink { grid-column: 1 / -1; margin-top: 20px; }

/* 07 example */
.f18-example {
	display: grid;
	grid-template-columns: 475px 670px;
	column-gap: 55px;
	row-gap: 16px;
}
.f18-example__head { grid-column: 1 / -1; }
.f18-example__media { margin: 0; }
.f18-example__media img {
	width: 475px;
	max-width: 100%;
	height: 350px;
	object-fit: contain;
	border-radius: 12px;
	background: #fff;
}
.f18-example__media figcaption {
	margin-top: 20px;
	font-size: 12px;
	line-height: 19px;
	color: var(--f18-muted);
}
.f18-example__h {
	margin: 0 0 24px;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 23px;
	line-height: 32px;
}
.f18-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.f18-steps li { display: flex; gap: 15px; align-items: flex-start; }
.f18-steps__t {
	margin: 0;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 17px;
	line-height: 24px;
}
.f18-steps__d {
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 22px;
	color: var(--f18-muted);
}

/* 08 expert */
.f18-expert__grid {
	display: grid;
	grid-template-columns: 420px 710px;
	column-gap: 70px;
	align-items: start;
}
.f18-expert__ey { grid-column: 1 / -1; }
.f18-expert__img {
	width: 420px;
	max-width: 100%;
	height: 490px;
	object-fit: contain;
	object-position: center top;
	border-radius: 14px;
	background: var(--f18-photo);
}
.f18-expert__name {
	margin: 24px 0 0;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 23px;
	line-height: 31px;
}
.f18-expert__role {
	margin: 16px 0 0;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 26px;
	color: var(--f18-blue);
}
.f18-expert__text {
	margin: 20px 0 0;
	font-size: 18px;
	line-height: 29px;
	color: var(--f18-muted);
	max-width: 710px;
}
.f18-expert__body .f18-btn { margin-top: 28px; width: 365px; }
.f18-expert__body .f18-footnote { margin-top: 16px; font-size: 12px; line-height: 19px; }

/* 09 cards already 3-col; taller */
.f18-sec--soft .f18-cards--3 .f18-card { min-height: 243px; border-radius: 12px; }
.f18-sec--soft .f18-cards--3 .f18-num { margin-bottom: 14px; }

/* 10 faq + memo */
.f18-faqsec__grid {
	display: grid;
	grid-template-columns: 360px 795px;
	column-gap: 45px;
	align-items: start;
}
.f18-memo {
	margin-top: 36px;
	width: 350px;
	min-height: 451px;
	background: var(--f18-navy);
	border-radius: 12px;
	padding: 25px;
	display: flex;
	flex-direction: column;
	color: #fff;
}
.f18-memo__title {
	margin: 16px 0 0;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 25px;
	line-height: 34px;
	color: #fff;
}
.f18-memo__text {
	margin: 18px 0 0;
	font-size: 15px;
	line-height: 25px;
	color: var(--f18-light);
}
.f18-memo__btn { width: 300px; margin-top: auto; align-self: stretch; }
.f18-memo__note {
	margin: 18px 0 0;
	font-size: 12px;
	line-height: 19px;
	color: var(--f18-muted);
}
.f18-faq { border-top: 1px solid var(--f18-line); }
.f18-faq__item { border-bottom: 1px solid var(--f18-line); }
.f18-faq__btn {
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
	padding: 20px 0;
	border: 0;
	background: none;
	cursor: pointer;
	text-align: left;
}
.f18-faq__q {
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
	color: var(--f18-text);
}
.f18-faq__icon {
	flex: 0 0 18px;
	font-family: Inter, sans-serif;
	font-weight: 400;
	font-size: 23px;
	line-height: 27px;
	color: var(--f18-blue);
}
.f18-faq__a {
	padding: 0 40px 20px 0;
}
.f18-faq__a p {
	margin: 0;
	max-width: 755px;
	font-size: 14px;
	line-height: 23px;
	color: var(--f18-muted);
}
.f18-faq__a[hidden] { display: none !important; }

/* 11 final */
.f18-final-sec { padding-top: 50px; padding-bottom: 70px; }
.f18-final {
	display: grid;
	grid-template-columns: 570px 485px;
	column-gap: 64px;
	align-items: start;
	min-height: 480px;
	background: var(--f18-navy);
	border-radius: 16px;
	padding: 40px 43px 40px 38px;
	color: #fff;
}
.f18-final__lead {
	margin: 28px 0 0;
	font-size: 18px;
	line-height: 29px;
	color: var(--f18-light);
	max-width: 570px;
}
.f18-final__tel {
	margin: 48px 0 0;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 23px;
	line-height: 32px;
}
.f18-final__tel a { color: #fff; text-decoration: none; }
.f18-final__max { margin: 18px 0 0; }
.f18-final__max a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-weight: 600;
	font-size: 15px;
	line-height: 23px;
	text-decoration: none;
}
.f18-form--final { display: flex; flex-direction: column; gap: 16px; }
.f18-form--final .f18-btn { width: 100%; }
.f18-final__hint {
	margin: 0;
	font-size: 12px;
	line-height: 20px;
	color: var(--f18-light3);
}

/* 1920: column stays 1200 centered, backgrounds full width — already */

/* tablet */
@media (max-width: 1199px) {
	.f18 { --f18-inner: 100%; }
	.f18__inner { padding: 0 32px; }
	.f18-hero__grid { grid-template-columns: 1fr minmax(220px, 40%); column-gap: 32px; }
	.f18-hero__frame { width: 100%; height: auto; aspect-ratio: 450 / 530; }
	.f18-form--hero .f18-form__row { flex-wrap: wrap; }
	.f18-form--hero .f18-field,
	.f18-form--hero .f18-btn { flex: 1 1 220px; width: auto; }
	.f18-cards--2x2,
	.f18-docs { grid-template-columns: 1fr 1fr; }
	.f18-cards--3 { grid-template-columns: 1fr 1fr 1fr; }
	.f18-quiz-layout { grid-template-columns: 1fr; }
	.f18-quiz { width: 100%; }
	.f18-quiz-aside__media { width: 100%; max-width: 345px; }
	.f18-example { grid-template-columns: 1fr; }
	.f18-expert__grid { grid-template-columns: 1fr; }
	.f18-faqsec__grid { grid-template-columns: 1fr; }
	.f18-final { grid-template-columns: 1fr; row-gap: 28px; }
}
@media (max-width: 991px) {
	.f18-hero__grid { grid-template-columns: 1fr; }
	.f18-hero__frame { max-height: 420px; aspect-ratio: auto; height: 420px; width: 100%; }
	.f18-cards--3 { grid-template-columns: 1fr; }
	.f18-s3-foot,
	.f18-s9-foot { flex-direction: column; align-items: flex-start; }
	.f18-s9-foot .f18-btn { width: 100%; flex: none; }
}

/* 390 / <768 */
@media (max-width: 767px) {
	.f18__inner { padding: 0 16px; }
	.f18-sec { padding: 32px 0 40px; }
	.f18-h1 { font-size: 30px; line-height: 38px; }
	.f18-h1 br,
	.f18-h2 br,
	.f18-h2--32 br,
	.f18-h2--33 br,
	.f18-example__h br,
	.f18-doc__title br,
	.f18-memo__title br { display: none; }
	.f18-h2,
	.f18-h2--35,
	.f18-h2--32,
	.f18-h2--33 { font-size: 24px; line-height: 32px; }
	.f18-card__title--20,
	.f18-example__h,
	.f18-doc__title,
	.f18-quiz__q,
	.f18-expert__name,
	.f18-final__tel { font-size: 19px; line-height: 27px; }
	.f18-card__title { font-size: 17px; line-height: 25px; }
	.f18-hero__lead { font-size: 16px; line-height: 25px; }
	.f18-hero__list { font-size: 17px; line-height: 26px; }
	.f18-lead,
	.f18-expert__text,
	.f18-final__lead,
	.f18-expert__role,
	.f18-steps__t { font-size: 16px; line-height: 25px; }
	.f18-input { font-size: 16px; }
	.f18-hero { padding: 24px 0 28px; }
	.f18-form--hero .f18-form__row { flex-direction: column; align-items: stretch; gap: 12px; }
	.f18-form--hero .f18-field,
	.f18-form--hero .f18-btn,
	.f18-expert__body .f18-btn,
	.f18-quiz__next,
	.f18-quiz__final .send-form { width: 100%; flex: none; min-width: 0; }
	.f18-quiz__next { min-width: 160px; width: auto; }
	.f18-hero__outcomes { grid-template-columns: 1fr; gap: 12px; }
	.f18-cards,
	.f18-cards--2x2,
	.f18-docs { grid-template-columns: 1fr; gap: 12px; }
	.f18-quiz-layout { gap: 12px; }
	/* quiz first, photo below */
	.f18-quiz-aside { order: 2; }
	.f18-quiz { order: 1; min-height: 0; padding: 20px; }
	.f18-quiz__step { min-height: 0; }
	.f18-options { grid-template-columns: 1fr; }
	.f18-option { min-height: 53px; align-items: flex-start; }
	.f18-option__sw { margin-top: 3px; }
	.f18-quiz-aside__media { width: 100%; max-width: none; height: auto; max-height: 240px; }
	.f18-quiz-aside__img { height: 240px; }
	.f18-doc { grid-template-columns: 1fr; min-height: 0; }
	.f18-doc__preview { width: 50%; max-width: 210px; height: auto; }
	.f18-example__media img { height: auto; }
	.f18-expert__img { width: 100%; height: auto; max-height: 420px; object-fit: contain; }
	.f18-memo { width: 100%; min-height: 0; }
	.f18-memo__btn { width: 100%; }
	.f18-final { border-radius: 12px; padding: 20px; min-height: 0; }
	.f18-btn { min-height: 44px; }
	.f18-quiz__nav { gap: 12px; }
}

@media (min-width: 1200px) {
	.f18-hero__text { padding-right: 0; }
}

@media (max-width: 767px) {
	.f18-faqsec__grid { display: flex; flex-direction: column; }
	.f18-faqsec__left { display: contents; }
	.f18-faq { order: 2; }
	.f18-memo { order: 3; margin-top: 24px; }
	.f18-memo__note { order: 4; }
	.f18-quiz-layout { display: flex; flex-direction: column; }
}

@media (max-width: 767px) {
	.f18-quiz-layout,
	.f18-quiz,
	.f18-quiz__step,
	.f18-progress,
	.f18-options,
	.f18-doc,
	.f18-docs,
	.f18-cards,
	.f18-final,
	.f18-example,
	.f18-expert__grid,
	.f18-faqsec__grid,
	.f18__inner {
		min-width: 0;
		max-width: 100%;
	}
	.f18-quiz,
	.f18-quiz__step,
	.f18-progress { width: 100%; }
	.f18-options { grid-template-columns: 1fr; }
}
