/**
 * Still Water Closing (Figma "V11 Closing · Choose your dates at the lake", 10:6397 / 10:7504 /
 * 10:8606). Mist section, padding 80.
 *
 * Desktop: the photo (560 × 699, radius 16) at the left; 64 to its right a 576 column: title
 * (h1), the line (body-lg, muted) 24 under it, 24 under that four fields in two columns 16
 * apart (label small ink 8 over a 48 box: white, line border, radius 8, padding 12, sample
 * text body muted), the button (200) 24 under them and the questions 24 under the button,
 * 16 under a top padding. The answers take the item's width (PLAN.md B3 Q10g).
 * Tablet: photo 770 × 320 on top, 40 above the column; fields 377. Phone: photo 390 × 360 edge
 * to edge; fields in one column; button full width (350); questions 20/28 (main.css).
 */

.sw-closing__grid {
	display: grid;
	grid-template-columns: minmax(0, 560px) minmax(0, 576px);
	justify-content: space-between;
	gap: 40px 64px;
	align-items: start;
}

.sw-closing__photo {
	overflow: hidden;
	height: 699px;
	border-radius: var(--sw-radius-panel);
	background: var(--sw-c-line);
}

.sw .sw-closing__photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.sw-closing__body {
	min-width: 0;
}

.sw-closing__text {
	margin-top: 24px;
}

.sw-closing__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 24px;
}

.sw-closing__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	color: var(--sw-text);
	text-decoration: none;
}

/* The box of a Figma "Control" (no input here: the field leads to the request). */
.sw-closing__box {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 12px;
	border: 1px solid var(--sw-c-line);
	border-radius: var(--sw-radius-control);
	background: var(--sw-field, var(--sw-c-white));
	color: var(--sw-c-muted);
	font-size: var(--sw-fs-body);
	line-height: var(--sw-lh-body);
}

.sw-closing__action {
	margin-top: 24px;
}

.sw-closing__button {
	min-width: 200px;
}

.sw-closing__faq {
	margin-top: 24px;
	padding-top: 16px;
}

/* Tablet (834): photo on top. */
@media (max-width: 1024px) {
	.sw-closing__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.sw-closing__photo {
		height: 320px;
	}
}

/* Phone (390): the photo edge to edge, one column of fields, full-width button. */
@media (max-width: 767px) {
	.sw-closing__photo {
		height: 360px;
		margin-inline: calc(-1 * var(--sw-gutter));
		border-radius: 0;
	}

	.sw-closing__fields {
		grid-template-columns: minmax(0, 1fr);
	}

	.sw-closing__button {
		width: 100%;
	}
}
