.modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 100;
	align-items: center;
	justify-content: center;
}

.modal-overlay.open {
	display: flex;
}

.modal {
	background: #ffffff;
	padding: 30px;
	width: 100%;
	max-width: 460px;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;

	@media (max-width: 1024px) {
		padding: 20px;
		width: 90%;
	}
}

.modal-close {
	background: none;
	border: none;
	color: #999;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
	position: absolute;
	top: 16px;
	right: 20px;
}

.modal-close:hover {
	color: #333;
}

.modal-title {
	color: #ff671b;
	font-size: 48px;
	font-weight: 900;
	line-height: 1;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.modal-subtitle {
	color: #555;
	font-size: 16px;
	line-height: 1.4;
}

.modal-divider {
	border: none;
	border-top: 1px solid #e0e0e0;
	margin: 20px 0;
}

.modal-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.form-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.form-field label {
	color: #555;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.required-label {
	color: #e03030;
}

.form-field input,
.form-field select {
	border: 1px solid #ccc;
	color: #333;
	font-family: inherit;
	font-size: 16px;
	padding: 12px 14px;
	outline: none;
	transition: border-color 0.2s;
	background: #fff;
	appearance: none;
	width: 100%;
}

.form-field select {
	background-image: url("images/chevron-down.svg");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
	cursor: pointer;
}

.form-field input:focus,
.form-field select:focus {
	border-color: #ff671b;
}

.form-field input::placeholder {
	color: #aaa;
}

.form-field select option[value=""] {
	color: #aaa;
}

.required-note {
	color: #555;
	font-size: 13px;
	margin-top: -8px;
}

.form-checkbox {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	margin-top: 10px;
}

.form-checkbox input[type="checkbox"] {
	margin-top: 2px;
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.form-checkbox span {
	color: #777;
	font-size: 14px;
	line-height: 1.4;
}

.form-checkbox span a {
	color: #ff671b;
}

.modal-submit {
	background: #ff671b;
	border: none;
	color: #ffffff;
	cursor: pointer;
	font-family: 'mr-eaves-xl-sans-narrow', sans-serif;
	font-size: 20px;
	font-weight: 900;
	letter-spacing: 0.08em;
	padding: 16px;
	margin-top: 10px;
	text-transform: uppercase;
	transition: background 0.2s;
	width: 100%;
}

.modal-submit:hover {
	background: #e55a14;
}

.modal-submit:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.add-to-calendar {
	background: #ff671b;
	color: #fff;
	display: block;
	font-family: 'mr-eaves-xl-sans-narrow', sans-serif;
	font-size: 18px;
	font-weight: 900;
	letter-spacing: 0.06em;
	margin: 0 auto 20px;
	padding: 14px 20px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 0.2s;
	width: max-content;
}

.add-to-calendar:hover {
	background: #e55a14;
}

.success-message {
	color: #333;
	font-size: 24px;
	font-weight: 900;
	line-height: 1.3;
	padding: 20px 0;
	text-align: center;
	text-transform: uppercase;
}

.success-sub {
	color: #666;
	font-size: 16px;
	font-weight: 400;
	margin-top: 10px;
	text-transform: none;
}

.add-to-calendar {
	background: #ff671b;
	color: #fff;
	display: block;
	font-family: 'mr-eaves-xl-sans-narrow', sans-serif;
	font-size: 18px;
	font-weight: 900;
	letter-spacing: 0.06em;
	margin: 0 auto;
	padding: 14px 20px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 0.2s;
	width: max-content;
}

.add-to-calendar:hover {
	background: #e55a14;
}
