.hts-service {
	--hts-service-text: #111827;
	--hts-service-muted: #666f80;
	--hts-service-line: #d7dbe4;
	--hts-service-line-strong: #bfc7d6;
	--hts-service-accent: #ea8b2d;
	--hts-service-accent-dark: #d77819;
	--hts-service-danger: #db5a52;
	--hts-service-success: #55a86c;
	--hts-service-shadow: 0 28px 60px rgba(22, 30, 48, 0.08);
	padding: 34px 0;
	font-family: "Manrope", sans-serif;
	color: var(--hts-service-text);
	background:
		radial-gradient(circle at top center, rgba(255, 210, 156, 0.28), transparent 24%),
		linear-gradient(180deg, #fbfaf7 0%, #f4efe7 100%);
}

.hts-service,
.hts-service * {
	box-sizing: border-box;
}

.hts-service input,
.hts-service select,
.hts-service textarea,
.hts-service button {
	font: inherit;
}

.hts-service__shell {
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
}

.hts-service__hero {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 34px;
}

.hts-service__eyebrow {
	margin: 0 0 8px;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--hts-service-accent-dark);
}

.hts-service__hero h2 {
	margin: 0;
	font-family: "Sora", sans-serif;
	font-size: clamp(2.4rem, 4vw, 3.6rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	text-transform: uppercase;
}

.hts-service__accent-line {
	display: inline-block;
	width: 56px;
	height: 4px;
	margin: 18px 0 20px;
	border-radius: 999px;
	background: linear-gradient(90deg, #f3a34d 0%, #e17817 100%);
}

.hts-service__status {
	margin: 0 0 12px;
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hts-service__copy {
	margin: 0;
	color: var(--hts-service-muted);
	font-size: 1rem;
	line-height: 1.8;
}

.hts-service__card {
	position: relative;
	padding: 34px 34px 36px;
	border: 1px solid rgba(223, 210, 193, 0.8);
	border-radius: 28px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.82));
	box-shadow: var(--hts-service-shadow);
	backdrop-filter: blur(12px);
}

.hts-service__card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 28px;
	background:
		radial-gradient(circle at right top, rgba(243, 163, 77, 0.14), transparent 22%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
	pointer-events: none;
}

.hts-service__form {
	position: relative;
	z-index: 1;
}

.hts-service__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px 34px;
}

.hts-service__field {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.hts-service__field label {
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.3;
}

.hts-service__field label span,
.hts-service__consent-row > span span {
	color: var(--hts-service-accent-dark);
}

.hts-service__control {
	position: relative;
	border-bottom: 1.6px solid var(--hts-service-line);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hts-service__control:focus-within {
	border-color: var(--hts-service-accent);
	box-shadow: 0 10px 22px rgba(234, 139, 45, 0.08);
}

.hts-service__control input,
.hts-service__control select {
	width: 100%;
	min-height: 52px;
	padding: 14px 0 12px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--hts-service-text);
}

.hts-service__control input::placeholder,
.hts-service__field textarea::placeholder {
	color: #9aa3b3;
}

.hts-service__control--select::after,
.hts-service__control--date::after {
	content: "";
	position: absolute;
	right: 2px;
	top: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

.hts-service__control--select::after {
	width: 0;
	height: 0;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 6px solid #7a8598;
}

.hts-service__control--date::after {
	width: 18px;
	height: 18px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Crect x='1.25' y='2.75' width='15.5' height='14' rx='2.25' stroke='%237a8598' stroke-width='1.5'/%3E%3Cpath d='M5 1.75V4.5M13 1.75V4.5M1.75 6.25H16.25' stroke='%237a8598' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
}

.hts-service__control select,
.hts-service__control--date input {
	appearance: none;
	-webkit-appearance: none;
}

.hts-service__control--date input {
	padding-right: 28px;
}

.hts-service__control--date input::-webkit-calendar-picker-indicator {
	opacity: 0;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

.hts-service__field textarea {
	min-height: 170px;
	padding: 16px 18px;
	border: 1px solid rgba(212, 217, 227, 0.9);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.86);
	color: var(--hts-service-text);
	outline: 0;
	resize: vertical;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hts-service__field textarea:focus {
	border-color: var(--hts-service-accent);
	box-shadow: 0 0 0 5px rgba(234, 139, 45, 0.1);
}

.hts-service__field--wide {
	grid-column: 1 / span 2;
}

.hts-service__note {
	margin: 16px 0 22px;
	color: var(--hts-service-muted);
	font-size: 0.95rem;
	line-height: 1.8;
}

.hts-service__consent-row {
	display: flex;
	align-items: center;
	gap: 12px;
	width: fit-content;
	margin: 0 auto 24px;
	padding: 14px 16px;
	border: 1px solid rgba(221, 226, 233, 0.95);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.82);
	color: var(--hts-service-text);
	line-height: 1.6;
	cursor: pointer;
}

.hts-service__consent-row input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.hts-service__consent-ui {
	position: relative;
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	border: 1px solid var(--hts-service-line-strong);
	border-radius: 7px;
	background: #ffffff;
	transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.hts-service__consent-ui::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 3px;
	width: 5px;
	height: 10px;
	border-right: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	transform: rotate(45deg) scale(0);
	transition: transform 0.2s ease;
}

.hts-service__consent-row input:checked + .hts-service__consent-ui {
	border-color: var(--hts-service-accent-dark);
	background: linear-gradient(180deg, #f1a24d, #de7d19);
}

.hts-service__consent-row input:checked + .hts-service__consent-ui::after {
	transform: rotate(45deg) scale(1);
}

.hts-service__consent-row input:focus-visible + .hts-service__consent-ui {
	box-shadow: 0 0 0 4px rgba(234, 139, 45, 0.14);
}

.hts-service__consent-row a {
	color: inherit;
	font-weight: 800;
}

.hts-service__submit-button {
	display: block;
	min-width: 230px;
	min-height: 56px;
	margin: 0 auto;
	padding: 0 28px;
	border: 0;
	border-radius: 16px;
	background: linear-gradient(90deg, #ef9b42 0%, #df7c19 100%);
	color: #ffffff;
	font-family: "Sora", sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	box-shadow: 0 18px 30px rgba(223, 124, 25, 0.18);
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.hts-service__submit-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 20px 34px rgba(223, 124, 25, 0.22);
	filter: saturate(1.04);
}

.hts-service__control.is-invalid {
	border-color: var(--hts-service-danger);
}

.hts-service__control.is-valid {
	border-color: var(--hts-service-success);
}

.hts-service__field textarea.is-invalid {
	border-color: var(--hts-service-danger);
}

.hts-service__field textarea.is-valid {
	border-color: var(--hts-service-success);
}

.hts-service__consent-row input.is-invalid + .hts-service__consent-ui {
	border-color: var(--hts-service-danger);
	box-shadow: 0 0 0 4px rgba(219, 90, 82, 0.12);
}

.hts-service__consent-row input.is-valid + .hts-service__consent-ui {
	border-color: var(--hts-service-success);
}

@media (max-width: 920px) {
	.hts-service__shell {
		width: min(100% - 24px, 1120px);
	}

	.hts-service__card {
		padding: 24px 20px 28px;
	}

	.hts-service__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.hts-service__field--wide {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.hts-service__grid {
		grid-template-columns: 1fr;
	}

	.hts-service__field--wide {
		grid-column: auto;
	}

	.hts-service__consent-row {
		align-items: flex-start;
	}

	.hts-service__submit-button {
		width: 100%;
	}
}
