/* ==========================================================================
   Mijolis — main stylesheet
   ========================================================================== */

:root {
	--c-brown: #4e2a1a;
	--c-brown-light: #7b432a;
	--c-cream: #f5f5db;
	--c-gold: #ffc84a;
	--c-gold-hover: #ffd577;
	--c-bg-light: #f9f1e6;
	--c-bg-dark: #f2e5d2;
	--c-error: #ffb59c;
	--c-error-dark: #b3261e;

	--font-sans: "Open Sans", Arial, sans-serif;
	--font-western: "Rye", Georgia, serif;

	--gutter: clamp(16px, 4vw, 40px);
	--container: 1280px;
	--section-gap: 64px;

	--shadow: 0 4px 10px rgba(78, 42, 26, 0.4);
	--shadow-drop: drop-shadow(0 4px 5px rgba(78, 42, 26, 0.4));
	--text-shadow: drop-shadow(0 4px 2px rgba(78, 42, 26, 0.4));
	--gradient-brown: linear-gradient(180deg, #7f442a 0%, #4e2a1a 100%);
	--gradient-gold: linear-gradient(180deg, #f9f1e6 9.524%, #ffc95c 100%);
	--focus: var(--c-brown);

	--fs-xxl: clamp(34px, 1.5rem + 3vw, 64px);
	--fs-xl: clamp(28px, 1rem + 2.3vw, 48px);
}

/* Base
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	min-width: 320px;
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.375;
	color: var(--c-brown);
	background-color: var(--c-bg-dark);
	background-image: radial-gradient(ellipse 50% 50% at 50% 50%, var(--c-bg-light) 0%, var(--c-bg-dark) 100%);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.is-menu-open {
	overflow: hidden;
}

[hidden] {
	display: none !important;
}

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

a {
	color: inherit;
}

button,
input,
textarea {
	font: inherit;
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 100;
	padding: 12px 20px;
	border-radius: 15px;
	background: var(--c-gold);
	color: var(--c-brown);
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-200%);
}

.skip-link:focus {
	transform: none;
}

.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.icon {
	display: block;
	flex: none;
}

/* Typography
   ========================================================================== */

.title {
	margin: 0;
	font-family: var(--font-sans);
	font-size: var(--fs-xl);
	font-weight: 600;
	line-height: 1.36;
	overflow-wrap: break-word;
}

.title--horseshoe,
.title--display,
.title--western,
.title--light_western {
	font-family: var(--font-western);
	font-weight: 400;
	line-height: 1.25;
}

.title--horseshoe,
.title--display {
	font-size: var(--fs-xxl);
}

/* Textured brown */
.title--horseshoe,
.title--display,
.title--western,
.title--sans {
	background: var(--gradient-brown);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: var(--text-shadow);
}

/* Light gradient (dark backgrounds) */
.title--light,
.title--light_western {
	background: var(--gradient-gold);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: var(--text-shadow);
}

.title-ornament {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	text-align: center;
}

.title-ornament__icon {
	flex: none;
	width: 50px;
	height: 50px;
	object-fit: contain;
}

.rich {
	font-size: 16px;
	font-stretch: 75%;
	line-height: 1.375;
}

.rich > * {
	margin: 0;
}

.rich > * + * {
	margin-top: 24px;
}

.rich ul,
.rich ol {
	padding-left: 24px;
}

.rich li + li {
	margin-top: 0;
}

.rich a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.rich a:hover {
	text-decoration-thickness: 2px;
}

.rich strong {
	font-weight: 700;
}

.rich--light {
	color: var(--c-cream);
}

.rich--large {
	font-size: 20px;
	font-weight: 600;
	font-stretch: 100%;
}

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

/* Buttons & badges
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: min(257px, 100%);
	padding: 16px 32px;
	border: 0;
	border-radius: 15px;
	background: var(--c-gold);
	color: var(--c-brown);
	font-family: var(--font-sans);
	font-size: 16px;
	font-weight: 700;
	font-stretch: 75%;
	line-height: 1.375;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	filter: drop-shadow(4px 4px 5px rgba(78, 42, 26, 0.2));
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
	background: var(--c-gold-hover);
	transform: translateY(-2px);
}

.btn:active {
	transform: none;
}

.btn[disabled] {
	cursor: progress;
	opacity: 0.75;
	transform: none;
}

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

.btn--small {
	min-width: 0;
	padding: 12px 24px;
}

.badge {
	display: inline-block;
	width: 208px;
	max-width: 100%;
	border-radius: 7px;
	line-height: 0;
	transition: transform 0.2s ease;
}

.badge:hover {
	transform: translateY(-2px);
}

.badge__img {
	display: block;
	width: 100%;
	border-radius: 7px;
}

/* Header
   ========================================================================== */

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding-block: 24px;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	color: var(--c-brown);
	font-size: 32px;
	font-weight: 600;
	line-height: 1.36;
	text-decoration: none;
}

.logo--light {
	color: var(--c-cream);
}

.logo__icon {
	width: 50px;
	height: 50px;
	object-fit: contain;
}

.main-nav {
	display: flex;
	align-items: center;
	gap: 48px;
}

.main-nav__list {
	display: flex;
	align-items: center;
	gap: 48px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav__link {
	font-size: 16px;
	font-stretch: 75%;
	text-decoration: none;
	text-underline-offset: 3px;
}

.main-nav__link:hover,
.main-nav__link[aria-current="page"] {
	text-decoration: underline;
}

.main-nav__buttons {
	display: flex;
	gap: 16px;
}

.main-nav .main-nav__contacts {
	display: none;
}

.menu-toggle {
	display: none;
}

/* Main layout
   ========================================================================== */

.site-main {
	display: flex;
	flex-direction: column;
	gap: var(--section-gap);
	padding-block: 56px var(--section-gap);
}

.site-main:focus {
	outline: none;
}

.site-main > .section--hero:first-child {
	margin-top: -56px;
}

.section {
	position: relative;
}

.stack {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.stack > .title,
.stack > .title-ornament {
	align-self: center;
	text-align: center;
}

.split {
	display: flex;
	align-items: center;
	gap: 20px;
}

.split__content {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
}

.split__media {
	flex: 0 1 auto;
	max-width: calc(50% - 10px);
	min-width: 0;
}

.split--media-left .split__media {
	order: -1;
}

.split__media img {
	display: block;
}

a.split__media {
	transition: transform 0.25s ease;
}

a.split__media:hover {
	transform: translateY(-4px);
}

/* Image frames.
   "Pre-rendered" images contain rounded corners and a 10px shadow area, so they are pulled out by 10px. */
.frame--prerendered img {
	max-width: calc(100% + 20px);
	margin: -10px;
}

.frame--plain img {
	border-radius: 20px;
	box-shadow: var(--shadow);
}

/* Full-width sections with a background image */
.section--dark {
	isolation: isolate;
	padding-block: 72px;
	color: var(--c-cream);
	--focus: var(--c-cream);
}

.section__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.section--overlay::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(78, 42, 26, 0.7);
}

/* Rounded banners (Hero, CTA) */
.banner {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-radius: 25px;
	box-shadow: var(--shadow);
	color: var(--c-cream);
	--focus: var(--c-cream);
}

.banner__bg {
	position: absolute;
	inset: -10px;
	z-index: -2;
	width: calc(100% + 20px);
	height: calc(100% + 20px);
	max-width: none;
	object-fit: cover;
}

.banner--plain .banner__bg {
	inset: 0;
	width: 100%;
	height: 100%;
}

.banner--plain::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(78, 42, 26, 0.7);
}

/* Section: Hero Banner
   ========================================================================== */

.hero {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 640px;
	padding: 54px 0 54px 48px;
}

.hero__content {
	display: flex;
	flex: 0 1 690px;
	flex-direction: column;
	align-items: flex-start;
	gap: 32px;
	min-width: 0;
}

.hero__title {
	margin-bottom: 16px;
	font-size: var(--fs-xl);
}

.hero__media {
	position: relative;
	flex: 0 1 522px;
	min-width: 0;
}

.hero__image {
	display: block;
	width: 100%;
}

.hero__badge {
	position: absolute;
	top: 78.2%;
	left: 13.4%;
	width: 39.8%;
	max-width: 208px;
	min-width: 140px;
}

/* Section: Page Intro / Centered Heading
   ========================================================================== */

.intro {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.section--intro .split__content {
	gap: 48px;
}

.page-heading {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
	text-align: center;
}

.page-heading__subtitle {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
}

.page-heading__text {
	width: 100%;
	contain: inline-size;
}

/* Section: Text & Gallery
   ========================================================================== */

.gallery-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
}

.gallery-block__text {
	max-width: 630px;
}

.gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	width: 100%;
}

.gallery__image {
	display: block;
	flex: 0 1 auto;
	min-width: 0;
}

/* Section: Text & Image / Feature Banner / Card list
   ========================================================================== */

.checklist {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.checklist__item {
	display: flex;
	align-items: center;
	gap: 16px;
}

.checklist__icon {
	flex: none;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.checklist__text {
	font-weight: 600;
}

.checklist--light {
	color: var(--c-cream);
}

.cards-block {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.checklist--cards {
	gap: 32px;
}

.checklist--cards .checklist__item {
	padding: 16px;
	border-radius: 15px;
	background: var(--c-brown);
	color: var(--c-cream);
	filter: var(--shadow-drop);
}

.checklist--cards .checklist__text {
	font-size: 20px;
}

.feature__content {
	align-items: flex-start;
	gap: 48px;
}

.feature__body {
	display: flex;
	flex-direction: column;
	gap: 32px;
	align-self: stretch;
}

.feature__btn {
	min-width: min(305px, 100%);
}

.feature__media img {
	display: block;
}

.feature__media--staggered {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	align-items: start;
	width: 630px;
}

.feature__media--staggered .feature__image {
	width: 100%;
	max-width: none;
}

.feature__media--staggered.frame--prerendered .feature__image {
	width: calc(100% + 20px);
}

.feature__media--staggered .feature__image:nth-child(2) {
	margin-top: 171px;
}

.feature__media--staggered.frame--prerendered .feature__image:nth-child(2) {
	margin-top: 161px;
}

/* Section: Text Blocks
   ========================================================================== */

.text-blocks {
	gap: 72px;
}

.section--dark .text-blocks {
	gap: 56px;
}

.text-block {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

/* Section: CTA Banner
   ========================================================================== */

.cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 48px;
	max-width: 738px;
	margin-inline: auto;
	padding: 80px 24px;
	text-align: center;
}

.cta__title {
	font-size: var(--fs-xxl);
}

.cta__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
}

.cta__btn {
	min-width: min(414px, 100%);
}

/* Section: FAQ
   ========================================================================== */

.faq {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.faq__item {
	border-radius: 25px;
	background: var(--c-brown);
	color: var(--c-cream);
	filter: var(--shadow-drop);
	--focus: var(--c-gold);
}

.faq__heading {
	margin: 0;
	font: inherit;
}

.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 32px;
	border: 0;
	border-radius: 25px;
	background: none;
	color: inherit;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.36;
	text-align: left;
	cursor: pointer;
}

.faq__question:focus-visible {
	outline-offset: -6px;
}

.faq__icon {
	width: 32px;
	height: 32px;
	transform: rotate(180deg);
	transition: transform 0.3s ease;
}

.faq__item.is-open .faq__icon {
	transform: none;
}

.faq__answer {
	/* Pulls the answer up so the gap under the question is 24px; the text itself is not shifted, so it isn't clipped. */
	margin-top: -8px;
	overflow: hidden;
	transition: height 0.3s ease;
}

.faq__answer-inner {
	padding: 0 32px 32px;
}

/* Section: Contact Form
   ========================================================================== */

.contact {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 20px;
}

.contact__info {
	display: flex;
	flex: 0 1 486px;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
}

.contacts {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contacts__link {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	font-size: 16px;
	font-stretch: 75%;
	text-decoration: none;
}

.contacts__icon {
	width: 24px;
	height: 24px;
}

a.contacts__link:hover span {
	text-decoration: underline;
}

.contacts--brown .contacts__link {
	font-weight: 700;
}

.contact-form {
	display: flex;
	flex: 0 1 738px;
	flex-direction: column;
	gap: 32px;
	min-width: 0;
	padding: 32px;
	border-radius: 25px;
	background: var(--c-brown);
	color: var(--c-cream);
	filter: var(--shadow-drop);
	--focus: var(--c-gold);
}

.contact-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 20px;
}

.contact-form__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.field {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.field--wide {
	grid-column: 1 / -1;
}

.field__label {
	font-size: 20px;
	font-weight: 600;
	line-height: 1.36;
}

.field__input {
	display: block;
	width: 100%;
	min-height: 44px;
	padding: 10px;
	border: 0;
	border-radius: 15px;
	background: var(--c-cream);
	color: var(--c-brown);
	font-size: 16px;
	font-stretch: 75%;
	line-height: 24px;
	box-shadow: 0 0 0 2px transparent;
	transition: box-shadow 0.2s ease;
}

.field__input::placeholder {
	color: var(--c-brown);
	opacity: 0.8;
}

.field__input:focus {
	outline: none;
	box-shadow: 0 0 0 2px var(--c-gold);
}

.field__input--area {
	height: 44px;
	resize: vertical;
	overflow: hidden;
}

.field.has-error .field__input {
	box-shadow: 0 0 0 2px var(--c-error);
}

.field__error {
	margin: -16px 0 0;
	color: var(--c-error);
	font-size: 14px;
	font-stretch: 75%;
}

.select {
	position: relative;
}

.select__button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	text-align: left;
	cursor: pointer;
}

.select__value {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.select__value.is-placeholder {
	opacity: 0.8;
}

.select__icon {
	width: 24px;
	height: 24px;
	transform: rotate(90deg);
	transition: transform 0.2s ease;
}

.select__button[aria-expanded="true"] .select__icon {
	transform: rotate(-90deg);
}

.select__list {
	position: absolute;
	top: calc(100% + 16px);
	right: 0;
	left: 0;
	z-index: 5;
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 16px;
	border-radius: 15px;
	background: var(--c-cream);
	color: var(--c-brown);
	list-style: none;
	box-shadow: var(--shadow);
	font-size: 16px;
	font-stretch: 75%;
	font-weight: 300;
}

.select__list:focus {
	outline: none;
}

.select__option {
	padding: 2px 6px;
	margin-inline: -6px;
	border-radius: 6px;
	cursor: pointer;
}

.select__option[aria-selected="true"] {
	font-weight: 600;
}

.select__option:hover,
.select__option.is-active {
	background: rgba(78, 42, 26, 0.1);
}

.field--consent {
	gap: 24px;
}

.consent {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	font-stretch: 75%;
	cursor: pointer;
}

.consent__input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.consent__box {
	position: relative;
	flex: none;
	width: 20px;
	height: 20px;
	border: 1px solid var(--c-cream);
	border-radius: 50%;
}

.consent__box::after {
	content: "";
	position: absolute;
	inset: 1px;
	border-radius: 50%;
	background: var(--c-cream);
	transform: scale(0);
	transition: transform 0.2s ease;
}

.consent__input:checked + .consent__box::after {
	transform: scale(1);
}

.consent__input:focus-visible + .consent__box {
	outline: 2px solid var(--focus);
	outline-offset: 3px;
}

.field.has-error .consent__box {
	border-color: var(--c-error);
}

.consent__text a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.contact-form__status {
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--c-gold);
	border-radius: 15px;
	background: rgba(255, 200, 74, 0.12);
	font-size: 16px;
	font-stretch: 75%;
	text-align: center;
}

.contact-form__status.is-error {
	border-color: var(--c-error);
	background: rgba(255, 181, 156, 0.12);
}

/* Footer
   ========================================================================== */

.site-footer {
	padding-block: 72px;
	background: radial-gradient(ellipse 50% 50% at 50% 50%, var(--c-brown-light) 0%, var(--c-brown) 100%);
	color: var(--c-cream);
	--focus: var(--c-cream);
}

.site-footer__top {
	display: flex;
	justify-content: space-between;
	gap: 48px;
}

.site-footer__about {
	display: flex;
	flex: 0 1 522px;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	min-width: 0;
}

.site-footer__desc {
	margin: 0;
	font-size: 16px;
	font-stretch: 75%;
}

.site-footer__note {
	margin: 0;
	font-size: 14px;
}

.site-footer__badge {
	margin-top: 6px;
}

.site-footer__nav {
	display: flex;
	gap: 125px;
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: 200px;
}

.footer-col__title {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.36;
}

.footer-col__list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-col__link {
	font-size: 16px;
	font-stretch: 75%;
	text-decoration: none;
	text-underline-offset: 3px;
}

.footer-col__link:hover {
	text-decoration: underline;
}

.socials {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.socials__link {
	display: block;
	transition: opacity 0.2s ease;
}

.socials__link:hover {
	opacity: 0.8;
}

.socials__icon {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 40px;
}

.contacts--footer {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 16px 48px;
}

.contacts--footer .contacts__link,
.site-footer__copyright {
	font-size: 16px;
	font-stretch: 75%;
	font-weight: 300;
}

.site-footer__copyright {
	margin: 0;
}

/* Responsive
   ========================================================================== */

@media (max-width: 1279px) {
	.main-nav,
	.main-nav__list {
		gap: 32px;
	}

	.site-footer__nav {
		gap: 64px;
	}

	.hero {
		padding-right: 24px;
	}
}

@media (max-width: 1023px) {
	:root {
		--section-gap: 56px;
	}

	/* Mobile menu */
	.menu-toggle {
		position: relative;
		z-index: 60;
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 6px;
		width: 44px;
		height: 44px;
		padding: 8px;
		border: 0;
		border-radius: 10px;
		background: none;
		cursor: pointer;
	}

	.menu-toggle__bar {
		display: block;
		width: 28px;
		height: 3px;
		border-radius: 2px;
		background: var(--c-brown);
		transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
	}

	.is-menu-open .menu-toggle {
		--focus: var(--c-cream);
	}

	.is-menu-open .menu-toggle__bar {
		background: var(--c-cream);
	}

	.is-menu-open .menu-toggle__bar:nth-child(1) {
		transform: translateY(9px) rotate(45deg);
	}

	.is-menu-open .menu-toggle__bar:nth-child(2) {
		opacity: 0;
	}

	.is-menu-open .menu-toggle__bar:nth-child(3) {
		transform: translateY(-9px) rotate(-45deg);
	}

	.main-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		flex-direction: column;
		align-items: flex-start;
		gap: 40px;
		width: min(380px, 100%);
		padding: 112px 32px 40px;
		overflow-y: auto;
		background: radial-gradient(ellipse 80% 50% at 50% 40%, var(--c-brown-light) 0%, var(--c-brown) 100%);
		color: var(--c-cream);
		visibility: hidden;
		transform: translateX(100%);
		transition: transform 0.35s ease, visibility 0s linear 0.35s;
		--focus: var(--c-cream);
	}

	.is-menu-open .main-nav {
		visibility: visible;
		transform: none;
		transition: transform 0.35s ease;
	}

	.is-menu-open::after {
		content: "";
		position: fixed;
		inset: 0;
		z-index: 40;
		background: rgba(30, 16, 10, 0.5);
	}

	.main-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
	}

	.main-nav__link {
		font-size: 22px;
	}

	.main-nav .main-nav__contacts {
		display: flex;
	}

	/* Layout */
	.split {
		flex-direction: column;
		align-items: stretch;
		gap: 40px;
	}

	.split__content {
		flex: none;
	}

	.split__media {
		align-self: center;
		max-width: 100%;
	}

	.split--media-left .split__media {
		order: 0;
	}

	.feature__media--staggered {
		width: min(630px, 100%);
	}

	.hero {
		flex-direction: column;
		align-items: stretch;
		gap: 40px;
		min-height: 0;
		padding: 48px 32px 32px;
	}

	.hero__content {
		flex: none;
	}

	.hero__media {
		flex: none;
		align-self: center;
		width: min(522px, 100%);
	}

	.contact {
		flex-direction: column;
		align-items: stretch;
		gap: 48px;
	}

	.contact__info,
	.contact-form {
		flex: none;
	}

	.site-footer__top {
		flex-direction: column;
	}

	.site-footer__about {
		flex: none;
	}
}

@media (max-width: 767px) {
	:root {
		--section-gap: 48px;
	}

	.site-main {
		padding-top: 32px;
	}

	.site-main > .section--hero:first-child {
		margin-top: -32px;
	}

	.site-header__inner {
		padding-block: 16px;
	}

	.logo {
		font-size: 26px;
	}

	.logo__icon {
		width: 40px;
		height: 40px;
	}

	.stack,
	.intro,
	.section--intro .split__content,
	.text-block,
	.page-heading,
	.feature__content,
	.cta {
		gap: 32px;
	}

	.text-blocks,
	.section--dark .text-blocks {
		gap: 48px;
	}

	.section--dark {
		padding-block: 48px;
	}

	.title-ornament {
		gap: 10px;
	}

	.title-ornament__icon {
		width: 32px;
		height: 32px;
	}

	.hero {
		padding: 32px 20px 24px;
	}

	.cta {
		padding: 48px 20px;
	}

	.feature__media--staggered {
		gap: 12px;
	}

	.feature__media--staggered .feature__image:nth-child(2),
	.feature__media--staggered.frame--prerendered .feature__image:nth-child(2) {
		margin-top: 25%;
	}

	.checklist--cards {
		gap: 16px;
	}

	.checklist--cards .checklist__text,
	.faq__question {
		font-size: 18px;
	}

	.faq {
		gap: 16px;
	}

	.faq__item,
	.faq__question {
		border-radius: 20px;
	}

	.faq__question {
		padding: 20px;
	}

	.faq__answer-inner {
		padding: 0 20px 20px;
	}

	.contact-form {
		padding: 24px 16px;
		border-radius: 20px;
	}

	.contact-form__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.field {
		gap: 12px;
	}

	.field__error {
		margin-top: -4px;
	}

	.field__label {
		font-size: 18px;
	}

	.site-footer {
		padding-block: 48px;
	}

	.site-footer__nav {
		flex-wrap: wrap;
		gap: 40px;
	}

	.footer-col {
		width: auto;
		min-width: 140px;
		gap: 20px;
	}

	.footer-col__list {
		gap: 16px;
	}

	.contacts--footer {
		flex-direction: column;
	}
}
