/* Consultation popup — one screen, no page scroll */

.mv-contact-modal {
	padding: 12px;
}

.mv-contact-modal__backdrop {
	background: rgba(4, 5, 6, 0.78);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.mv-contact-modal__dialog.mv-book {
	display: grid;
	grid-template-columns: minmax(240px, 0.86fr) minmax(320px, 1.16fr);
	width: min(960px, calc(100vw - 24px));
	height: min(620px, calc(100dvh - 24px));
	max-height: calc(100dvh - 24px);
	padding: 0;
	overflow: hidden;
	border-radius: 2px;
	background: #07080a;
	border: 1px solid rgba(197, 155, 96, 0.32);
	box-shadow: 0 30px 80px -28px rgba(0, 0, 0, 0.9);
}

.mv-book__aside {
	position: relative;
	min-height: 0;
	overflow: hidden;
	color: #f4f1eb;
}

.mv-book__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% 18%;
}

.mv-book__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(6, 7, 9, 0.08) 0%, rgba(6, 7, 9, 0.28) 36%, rgba(6, 7, 9, 0.92) 100%);
}

.mv-book__copy {
	position: absolute;
	inset: auto 0 0 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	padding: 1.15rem 1.2rem 1.1rem;
}

.mv-book__eyebrow {
	margin: 0;
	font-family: var(--mv-font-body, "Plus Jakarta Sans", sans-serif);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #e1be89;
}

.mv-book__title {
	margin: 0;
	font-family: var(--mv-font-display, "Cormorant Garamond", Georgia, serif);
	font-size: clamp(1.7rem, 2.4vw, 2.15rem);
	font-weight: 500;
	line-height: 1.05;
	color: #f7f3ec;
}

.mv-book__lead {
	margin: 0;
	max-width: 34ch;
	font-size: 0.84rem;
	line-height: 1.45;
	color: rgba(244, 241, 235, 0.82);
}

.mv-book__points {
	margin: 0.15rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.28rem;
}

.mv-book__points li {
	position: relative;
	padding-left: 0.85rem;
	font-size: 0.78rem;
	line-height: 1.35;
	color: rgba(244, 241, 235, 0.78);
}

.mv-book__points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 7px;
	height: 1px;
	background: #c59b60;
}

.mv-book__meta {
	margin: 0.2rem 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	font-size: 0.75rem;
	color: rgba(244, 241, 235, 0.7);
}

.mv-book__meta a {
	color: inherit;
	text-decoration: none;
}

.mv-book__meta a:hover {
	color: #fff;
}

.mv-book__panel {
	position: relative;
	min-height: 0;
	display: flex;
	flex-direction: column;
	padding: 1.15rem 1.2rem 0.9rem;
	background: linear-gradient(180deg, #101216 0%, #08090b 100%);
	overflow: hidden;
}

.mv-book__form-head {
	margin: 0 2rem 0.55rem 0;
}

.mv-book__form-title {
	margin: 0.15rem 0 0;
	font-family: var(--mv-font-display, "Cormorant Garamond", Georgia, serif);
	font-size: 1.45rem;
	font-weight: 500;
	line-height: 1.1;
	color: #f4f1eb;
}

.mv-book .mv-form--contact {
	flex: 1;
	min-height: 0;
	gap: 0.4rem;
	overflow: hidden;
}

.mv-book .mv-form__grid {
	gap: 0.4rem 0.55rem;
}

.mv-book .mv-field label {
	margin-bottom: 0.18rem;
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(225, 190, 137, 0.9);
}

.mv-book .mv-field input,
.mv-book .mv-field textarea {
	padding: 0.48rem 0.7rem;
	border-radius: 2px;
	border-color: rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.035);
	font-size: 0.875rem;
}

.mv-book .mv-field textarea {
	height: 4.4rem;
	min-height: 0;
	resize: none;
}

.mv-book .mv-field--checkbox {
	gap: 0.45rem;
}

.mv-book .mv-field--checkbox label {
	font-size: 0.72rem;
	letter-spacing: 0;
	text-transform: none;
	font-weight: 500;
	color: rgba(244, 241, 235, 0.62);
	line-height: 1.35;
}

.mv-book .mv-form__actions {
	margin-top: 0.15rem;
	padding-top: 0;
	gap: 0.5rem;
}

.mv-book .mv-form__actions .mv-btn {
	border-radius: 2px;
	min-height: 2.6rem;
	width: 100%;
	justify-content: center;
}

.mv-book .mv-form__status {
	display: none;
}

.mv-contact-modal .mv-book .mv-contact-modal__close {
	top: 0.55rem;
	right: 0.55rem;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	margin: 0;
	border-radius: 2px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(0, 0, 0, 0.35);
	color: #f4f1eb;
	font-size: 0;
	line-height: 0;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

.mv-contact-modal .mv-book .mv-close-glyph {
	position: relative;
	display: block;
	width: 14px;
	height: 14px;
	flex: none;
}

.mv-contact-modal .mv-book .mv-close-glyph::before,
.mv-contact-modal .mv-book .mv-close-glyph::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 14px;
	height: 1.5px;
	border-radius: 1px;
	background: currentColor;
}

.mv-contact-modal .mv-book .mv-close-glyph::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.mv-contact-modal .mv-book .mv-close-glyph::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.mv-toast {
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 0.85rem;
	z-index: 4;
	margin: 0;
	padding: 0.75rem 0.9rem;
	border-radius: 2px;
	border: 1px solid rgba(95, 191, 138, 0.45);
	background: rgba(12, 22, 16, 0.96);
	color: #e7f6ec;
	font-size: 0.84rem;
	line-height: 1.4;
	box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.9);
}

.mv-toast[hidden] {
	display: none;
}

.mv-toast.is-error {
	border-color: rgba(214, 120, 110, 0.55);
	background: rgba(32, 14, 14, 0.96);
	color: #f8e6e3;
}

@media (max-width: 860px) {
	.mv-contact-modal {
		padding: 8px;
	}

	.mv-contact-modal__dialog.mv-book {
		grid-template-columns: 1fr;
		grid-template-rows: 148px minmax(0, 1fr);
		width: calc(100vw - 16px);
		height: calc(100dvh - 16px);
	}

	.mv-book__lead,
	.mv-book__points,
	.mv-book__meta {
		display: none;
	}

	.mv-book__copy {
		padding: 0.85rem 0.95rem;
	}

	.mv-book__title {
		font-size: 1.45rem;
	}

	.mv-book__panel {
		padding: 0.85rem 0.9rem 0.7rem;
	}

	.mv-book__form-title {
		font-size: 1.25rem;
	}

	.mv-book .mv-field textarea {
		height: 3.4rem;
	}
}

@media (max-height: 640px) and (min-width: 861px) {
	.mv-book__lead {
		display: none;
	}

	.mv-book .mv-field textarea {
		height: 3.2rem;
	}
}
