.ser-form {
	--ser-accent: #1a5f4a;
	--ser-border: #d8d2c8;
	--ser-bg: #f7f4ef;
	--ser-text: #1c1a17;
	--ser-muted: #5c564e;
	--ser-error: #a12828;
	--ser-ok: #1a5f4a;
	max-width: 34rem;
	margin: 0 auto;
	padding: 1.5rem;
	background:
		radial-gradient(120% 80% at 0% 0%, rgba(26, 95, 74, 0.08), transparent 55%),
		linear-gradient(180deg, #fffdf9, var(--ser-bg));
	border: 1px solid var(--ser-border);
	color: var(--ser-text);
	font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.ser-form__field {
	margin-bottom: 1rem;
}

.ser-form__field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	font-size: 0.95rem;
}

.ser-form__field--check label {
	display: flex;
	gap: 0.65rem;
	align-items: flex-start;
	font-weight: 400;
	line-height: 1.45;
	font-size: 0.9rem;
	color: var(--ser-muted);
}

.ser-form__field--check input {
	margin-top: 0.25rem;
	flex: 0 0 auto;
}

.ser-form input[type="text"],
.ser-form input[type="email"],
.ser-form input[type="tel"] {
	width: 100%;
	box-sizing: border-box;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--ser-border);
	background: #fff;
	font-size: 1rem;
	color: var(--ser-text);
}

.ser-form input:focus {
	outline: 2px solid rgba(26, 95, 74, 0.35);
	border-color: var(--ser-accent);
}

.ser-req {
	color: var(--ser-error);
}

.ser-form__promo-row {
	display: flex;
	gap: 0.5rem;
}

.ser-form__promo-row input {
	flex: 1;
}

.ser-form__promo-btn {
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--ser-accent);
	background: transparent;
	color: var(--ser-accent);
	cursor: pointer;
	white-space: nowrap;
	font-weight: 600;
}

.ser-form__promo-btn:hover {
	background: rgba(26, 95, 74, 0.08);
}

.ser-form__promo-msg {
	margin: 0.4rem 0 0;
	font-size: 0.9rem;
}

.ser-form__promo-msg.is-ok {
	color: var(--ser-ok);
}

.ser-form__promo-msg.is-error {
	color: var(--ser-error);
}

.ser-form__price {
	margin: 1.1rem 0 1.25rem;
	font-size: 1.05rem;
}

.ser-form__error {
	color: var(--ser-error);
	margin: 0 0 0.85rem;
	font-size: 0.92rem;
}

.ser-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	width: 100%;
	padding: 0.9rem 1rem;
	border: 0;
	background: var(--ser-accent);
	color: #fff;
	font-size: 1.05rem;
	font-weight: 700;
	cursor: pointer;
}

.ser-form__submit:disabled {
	opacity: 0.7;
	cursor: wait;
}

.ser-form__spinner {
	width: 1.1rem;
	height: 1.1rem;
	border: 2px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: ser-spin 0.7s linear infinite;
}

.ser-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

@keyframes ser-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 560px) {
	.ser-form {
		padding: 1rem;
	}

	.ser-form__promo-row {
		flex-direction: column;
	}
}
