/**
 * ATB Component: Booking Form
 *
 * Назначение:
 * - единый стиль формы бронирования для hero и других страниц;
 * - desktop и mobile-адаптация в одном компоненте;
 * - без привязки к конкретной странице.
 *
 * Уникальные классы:
 * - .atb-booking-form
 */

.atb-booking-form {
	width: 100%;
	max-width: 1180px;
	margin: 32px auto 0;
	padding: 16px;
	border: 1px solid rgba(255, 255, 255, .16);
	border-radius: 24px;
	background: rgba(7, 11, 18, .72);
	box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
	backdrop-filter: blur(14px);
}

.atb-booking-form__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.25fr) minmax(120px, .72fr) minmax(105px, .62fr) auto;
	gap: 10px;
	align-items: stretch;
}

.atb-booking-form__field {
	min-width: 0;
}

.atb-booking-form__label {
	display: block;
	margin-bottom: 7px;
	color: rgba(255, 255, 255, .72);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .07em;
	line-height: 1.1;
	text-transform: uppercase;
}

.atb-booking-form__input {
	width: 100%;
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 14px;
	color: #fff;
	background: rgba(255, 255, 255, .08);
	font-size: 14px;
	font-weight: 600;
	outline: none;
}

.atb-booking-form__input::placeholder {
	color: rgba(255, 255, 255, .48);
}

.atb-booking-form__input:focus {
	border-color: rgba(37, 99, 235, .85);
	background: rgba(255, 255, 255, .12);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .24);
}

.atb-booking-form__submit {
	align-self: end;
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 14px;
	color: #fff;
	background: #2563eb;
	box-shadow: 0 14px 34px rgba(37, 99, 235, .36);
	cursor: pointer;
	font-size: 14px;
	font-weight: 800;
	white-space: nowrap;
}

.atb-booking-form__submit:hover,
.atb-booking-form__submit:focus {
	background: #1d4ed8;
}

.atb-booking-form__benefits {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 13px;
}

.atb-booking-form__benefit {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 0 11px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 999px;
	color: rgba(255, 255, 255, .82);
	background: rgba(255, 255, 255, .06);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

@media (max-width: 1180px) {
	.atb-booking-form__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.atb-booking-form__submit {
		width: 100%;
		grid-column: 1 / -1;
	}
}

@media (max-width: 768px) {
	.atb-booking-form {
		margin-top: 22px;
		padding: 14px;
		border-radius: 20px;
		background: rgba(7, 11, 18, .76);
		box-shadow: 0 18px 46px rgba(0, 0, 0, .26);
	}

	.atb-booking-form__grid {
		grid-template-columns: 1fr;
		gap: 11px;
	}

	.atb-booking-form__label {
		margin-bottom: 6px;
		font-size: 10px;
	}

	.atb-booking-form__input {
		min-height: 46px;
		border-radius: 13px;
		font-size: 14px;
	}

	.atb-booking-form__submit {
		min-height: 48px;
		border-radius: 13px;
		font-size: 14px;
	}

	.atb-booking-form__benefits {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
		margin-top: 12px;
	}

	.atb-booking-form__benefit {
		justify-content: center;
		min-height: 30px;
		padding: 0 10px;
		text-align: center;
	}
}
