/* Honeypot: человекоподобный класс, только вне экрана */
.user-middle-name {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

/* Ошибка с сервера рядом с контактной формой */
.contact-form__server-error {
	width: 100%;
	margin: 0 0 8px;
	padding: 12px 16px;
	border-radius: 4px;
	border: 1px solid var(--red);
	background: rgba(211, 48, 48, 0.08);
	color: var(--red);
	font-family: var(--font-family);
	font-size: 16px;
	line-height: 1.4;
}

/* Подпись «SERVICES NEEDED» как на скрине: жирный верхний регистр */
.contact-form__label--upper {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--color-black);
}

.contact-form__label--upper span {
	color: var(--red);
}

/* Native select в стиле .contact-form__input */
.contact-form__select {
	cursor: pointer;
	line-height: 1.3;
	padding-right: 40px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath fill='none' stroke='%232262b5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5 7 6.5 13 1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 12px 8px;
	box-sizing: border-box;
	height: 64px;
	padding-top: 12px;
	padding-bottom: 12px;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
}

.contact-form__select::-ms-expand {
	display: none;
}

/* Thank you modal */
.thank-you-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	box-sizing: border-box;
}

.thank-you-modal[hidden] {
	display: none;
}

.thank-you-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.thank-you-modal__dialog {
	position: relative;
	background: #fff;
	border-radius: 16px;
	padding: 1.75rem 1.5rem;
	max-width: 400px;
	width: 100%;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
	text-align: center;
}

.thank-you-modal__title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	color: #111;
}

.thank-you-modal__text {
	color: #444;
	line-height: 1.5;
	margin-bottom: 1.25rem;
	font-size: 1rem;
}

.thank-you-modal__ok {
	appearance: none;
	border: none;
	cursor: pointer;
	background: var(--blue);
	color: #fff;
	font-weight: 600;
	font-size: 1rem;
	padding: 0.65rem 1.75rem;
	border-radius: 999px;
	font-family: inherit;
}

.thank-you-modal__ok:hover {
	opacity: 0.92;
}

/* Cooldown: не disabled на кнопке (иначе форма не шлётся) */
.contact-form__cooldown-toast {
	position: fixed;
	z-index: 10050;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	max-width: 90vw;
	margin: 0;
	padding: 12px 20px;
	border-radius: 8px;
	background: var(--color-black);
	color: var(--color-white);
	font-family: var(--font-family);
	font-size: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.contact-form__spam-toast {
	position: fixed;
	z-index: 10060;
	left: 50%;
	top: 24px;
	transform: translateX(-50%);
	max-width: 420px;
	width: calc(100% - 32px);
	margin: 0;
	padding: 16px 18px;
	border-radius: 10px;
	border: 2px solid #c45c00;
	background: #fff8f0;
	color: #222;
	font-family: var(--font-family);
	font-size: 15px;
	line-height: 1.45;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.contact-form__spam-toast strong {
	display: block;
	margin-bottom: 8px;
	color: #a34a00;
	font-size: 1.05em;
}

.contact-form__spam-toast__hint {
	margin-top: 10px;
	font-size: 0.88em;
	color: #555;
}

.contact-form__spam-toast--hide {
	opacity: 0;
	transform: translateX(-50%) translateY(-12px);
}

.btn.btn--sending {
	pointer-events: none;
	opacity: 0.9;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.btn .btn__spinner {
	flex-shrink: 0;
	width: 1.1em;
	height: 1.1em;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: airnizer-btn-spin 0.65s linear infinite;
}

.btn .btn__sending-label {
	white-space: nowrap;
}

@keyframes airnizer-btn-spin {
	to {
		transform: rotate(360deg);
	}
}