/* Aerial Dynamics — booking request page (extends site.css) */

.book-page { max-width: 820px; padding-top: 56px; padding-bottom: 80px; }
.book-intro { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.book-intro h1 { font-size: clamp(34px, 5vw, 48px); }

.book-form { display: flex; flex-direction: column; gap: 24px; }

.fs {
	margin: 0; padding: 28px; min-width: 0;
	background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
	display: flex; flex-direction: column; gap: 18px;
}
.fs legend {
	float: left; width: 100%; padding: 0; margin-bottom: 4px;   /* float keeps legend inside the padded box */
	font-size: 22px; font-weight: 600;
}
.fs legend + * { clear: both; }
.fs-num { font-size: 15px; font-weight: 500; color: var(--text-3); margin-right: 8px; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field .label { font-size: 16px; font-weight: 500; }
.req { color: #B4561B; }
.opt { font-weight: 400; color: var(--text-3); font-size: 15px; }
.hint { font-size: 15px; color: var(--text-2); }
.row-2 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.field input, .field select, .field textarea {
	width: 100%; min-height: 48px; padding: 11px 14px;
	font: 400 17px/1.4 var(--font); color: var(--ink);    /* ≥16px stops iOS zooming on focus */
	background: #fff; border: 1px solid #C4CAD1; border-radius: 8px;
	-webkit-appearance: none; appearance: none;
}
.field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2313161A' stroke-width='2'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field input[type="date"] { display: block; }                 /* iOS: give the date control full width/height */
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(242,165,65,.45); }
.field [aria-invalid="true"] { border-color: #C0392B; }
.field-error { font-size: 15px; color: #B03A2E; font-weight: 500; }

/* Package picker */
.pkg-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pkg {
	position: relative; display: flex; align-items: center; gap: 12px;
	min-height: 56px; padding: 12px 16px;
	border: 1px solid #C4CAD1; border-radius: 10px; cursor: pointer; background: #fff;
}
.pkg input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); flex-shrink: 0; }
.pkg-name { flex-grow: 1; font-weight: 500; }
.pkg-price { font-weight: 600; white-space: nowrap; }
.pkg:has(input:checked) { border-color: var(--ink); background: #FFF6E8; box-shadow: inset 0 0 0 1px var(--ink); }
.pkg:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Map */
.map {
	height: 380px; border-radius: 10px; overflow: hidden;
	background: #E9ECEF; border: 1px solid var(--border);
	display: flex; align-items: center; justify-content: center;
}
.map.map-ready { display: block; }
.map-fallback { padding: 24px; text-align: center; color: var(--text-2); font-size: 15px; }
.pin-status { font-size: 14px; color: var(--text-3); }
.pin-status.is-set { color: #1E7B3A; }
@media (max-width: 600px) { .map { height: 320px; } }

/* Spam trap */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.submit-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.submit-row .btn[disabled] { opacity: .65; cursor: progress; }

@media (max-width: 600px) {
	.book-page { padding-top: 36px; }
	.fs { padding: 22px 18px; }
	.submit-row .btn { width: 100%; }
}

/* Thank-you / error page */
.notice-page { max-width: 720px; padding-top: 72px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 18px; }
.notice-page h1 { font-size: clamp(34px, 5vw, 48px); }
.notice-page ol { margin: 0; padding-left: 22px; font-size: 17px; line-height: 1.7; color: var(--text-2); }
.notice-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.pkg-note { display: block; font-size: 13px; font-weight: 400; color: var(--text-3); }
