/* =============================================================================
   Service Form Styles (sf__ prefix)
   Форма заявки на сервисное обслуживание
   ============================================================================= */

/* --- Layout --- */

.sf { margin-bottom: 40px; }

.sf__intro {
	font-size: 16px;
	line-height: 1.6;
	color: #666;
	margin-bottom: 30px;
}

.sf__form { position: relative; }

/* Honeypot */
.sf__honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* --- Hero Section --- */

.sf__hero {
	background: #f8f7f5;
	border: 1px solid #e8e4de;
	border-radius: 16px;
	padding: 36px;
	margin-bottom: 30px;
	display: flex;
	gap: 36px;
	align-items: flex-start;
}

.sf__hero-main { flex: 1; }

.sf__hero-badge {
	display: inline-block;
	background: rgba(245, 162, 35, 0.12);
	color: #f5a223;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 5px 14px;
	border-radius: 20px;
	margin-bottom: 16px;
}

.sf__hero-title {
	font: 600 28px/1.3 'FuturaPT', sans-serif;
	color: #34293a;
	margin-bottom: 14px;
}

.sf__hero-desc {
	font-size: 16px;
	line-height: 1.6;
	color: #666;
}

/* Process Card */
.sf__process {
	flex: 0 0 300px;
	background: #fff;
	border: 1px solid #e8e4de;
	border-radius: 12px;
	padding: 22px;
}

.sf__process-title {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #999;
	margin-bottom: 14px;
}

.sf__step {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 10px 0;
}

.sf__step:not(:last-child) { border-bottom: 1px solid #eee; }

.sf__step-num {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #f5a223;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
}

.sf__step-text {
	font-size: 13px;
	line-height: 1.4;
	color: #666;
}

.sf__step-text strong {
	display: block;
	color: #34293a;
	margin-bottom: 1px;
}

/* --- Contacts Row --- */

.sf__contacts-row {
	background: #34293a;
	border-radius: 12px;
	padding: 16px 28px;
	margin-bottom: 30px;
	display: flex;
	align-items: center;
	gap: 36px;
	flex-wrap: wrap;
}

.sf__contact-item {
	display: flex;
	align-items: center;
	gap: 10px;
	color: rgba(255,255,255,0.6);
	font-size: 14px;
}

.sf__contact-item a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.sf__contact-item a:hover { color: #f5a223; }

.sf__contact-icon {
	width: 28px;
	height: 28px;
	background: rgba(255,255,255,0.1);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	flex-shrink: 0;
}

/* --- Form Layout (form + sidebar) --- */

.sf__layout {
	display: flex;
	gap: 24px;
	align-items: flex-start;
}

.sf__form-card {
	flex: 1;
	background: #fff;
	border: 1px solid #e8e4de;
	border-radius: 16px;
	overflow: hidden;
}

.sf__sidebar {
	flex: 0 0 260px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* --- Form Header --- */

.sf__form-header {
	padding: 24px 30px 20px;
	border-bottom: 1px solid #eee;
}

.sf__form-title {
	font: 600 22px/1.3 'FuturaPT', sans-serif;
	color: #34293a;
	margin-bottom: 6px;
}

.sf__form-hint {
	font-size: 14px;
	color: #999;
}

.sf__form-hint em {
	color: #d71117;
	font-style: normal;
}

/* --- Section --- */

.sf__section {
	border: none;
	margin: 0;
	padding: 0 30px 24px;
	border-bottom: 1px solid #eee;
}

.sf__legend {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #999;
	margin: 0 0 20px 0;
	padding: 24px 0 10px 0;
	border-bottom: 1px solid #eee;
	width: 100%;
	display: block;
	float: left;
}

.sf__legend + * { clear: both; }

/* --- Field Grid --- */

.sf__row {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.sf__row:last-child { margin-bottom: 0; }

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

.sf__field--half { flex: 1 1 calc(50% - 8px); min-width: 200px; }
.sf__field--full { flex: 0 0 100%; }

.sf__label {
	font-size: 14px;
	font-weight: 500;
	color: #5f5066;
	display: block;
}

.sf__req { color: #d71117; margin-left: 2px; }

/* --- Inputs --- */

.sf .sf__input,
.sf .sf__select,
.sf .sf__textarea {
	font: 400 16px/24px 'FuturaPT', sans-serif;
	color: #34293a;
	background: #f8f7f5;
	border: 1.5px solid #e0dbd2;
	border-radius: 30px;
	padding: 14px 22px;
	width: 100%;
	height: auto;
	float: none;
	margin: 0;
	box-sizing: border-box;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.sf .sf__textarea {
	border-radius: 16px;
	resize: vertical;
	min-height: 90px;
	line-height: 1.5;
}

.sf .sf__select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235f5066' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
	padding-right: 42px;
	cursor: pointer;
}

.sf .sf__input::placeholder,
.sf .sf__textarea::placeholder {
	color: #b0aba5;
}

.sf .sf__input:focus,
.sf .sf__select:focus,
.sf .sf__textarea:focus {
	border-color: #f7ae41;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(245, 162, 35, 0.12);
	outline: none;
}

/* Error state */
.sf .sf__input.sf--error,
.sf .sf__select.sf--error,
.sf .sf__textarea.sf--error {
	border-color: #d71117 !important;
	box-shadow: 0 0 3px rgba(215, 17, 23, 0.3) inset;
}

.sf__error-text {
	font-size: 12px;
	color: #d71117;
	display: none;
}

.sf--error + .sf__error-text,
.sf--has-error .sf__error-text {
	display: block;
}

/* --- Tabs --- */

.sf__tabs {
	display: flex;
	background: #f8f7f5;
	border: 1.5px solid #e0dbd2;
	border-radius: 30px;
	padding: 4px;
	width: fit-content;
	margin-bottom: 20px;
}

.sf__tab {
	font: 500 16px/24px 'FuturaPT', sans-serif;
	padding: 14px 32px;
	border: none;
	border-radius: 30px;
	background: transparent;
	color: #5f5066;
	cursor: pointer;
	transition: all 0.2s;
}

.sf__tab:hover { color: #34293a; background: rgba(0,0,0,0.04); }

.sf__tab--active {
	background: #f5a223;
	color: #fff;
	box-shadow: 0 2px 8px rgba(245, 162, 35, 0.3);
}

.sf__tab--active:hover {
	background: #f5a223;
	color: #fff;
}

.sf__tab-content { display: none; }
.sf__tab-content--active { display: block; }

/* --- Radio Group --- */

.sf__radio-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sf__radio-label {
	display: flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 500;
	color: #34293a;
	padding: 12px 18px;
	border-radius: 30px;
	border: 1.5px solid #e0dbd2;
	background: #f8f7f5;
	transition: all 0.15s;
}

.sf__radio-label:hover {
	border-color: #f5a223;
	background: rgba(245, 162, 35, 0.06);
}

.sf__radio-label input[type="radio"] { display: none; }

.sf__radio-dot {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 2px solid #e0dbd2;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s;
	flex-shrink: 0;
}

.sf__radio-dot::after {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #f5a223;
	opacity: 0;
	transform: scale(0);
	transition: all 0.15s;
}

.sf__radio-label input:checked ~ .sf__radio-dot { border-color: #f5a223; }
.sf__radio-label input:checked ~ .sf__radio-dot::after { opacity: 1; transform: scale(1); }
.sf__radio-label:has(input:checked) {
	border-color: #f5a223;
	background: rgba(245, 162, 35, 0.08);
}

.sf__repair-type { margin-top: 16px; }
.sf__repair-type-title {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #999;
	margin-bottom: 10px;
}

/* --- Checkbox (Consent) --- */

.sf__consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	font-size: 14px;
	color: #666;
	line-height: 1.5;
	margin-bottom: 20px;
	padding: 8px;
	border-radius: 8px;
	transition: background 0.2s, outline 0.2s;
}

.sf__consent input[type="checkbox"] { display: none; }

.sf__consent-box {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	border-radius: 5px;
	border: 1.5px solid #e0dbd2;
	background: #f8f7f5;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s;
	margin-top: 1px;
}

.sf__consent-box::after {
	content: '\2713';
	font-size: 12px;
	font-weight: 800;
	color: #fff;
	opacity: 0;
	transition: opacity 0.15s;
}

.sf__consent input:checked ~ .sf__consent-box {
	background: #f5a223;
	border-color: #f5a223;
}

.sf__consent input:checked ~ .sf__consent-box::after { opacity: 1; }

.sf__consent.sf--error {
	background: #fff0ee;
	outline: 1.5px solid #d71117;
}

.sf__consent a { color: #f5a223; }

/* --- File Upload --- */

.sf__files { margin-bottom: 10px; }

.sf__file-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.sf .sf__file-input {
	font: 400 14px/1 'FuturaPT', sans-serif;
	border: 1.5px dashed #e0dbd2;
	border-radius: 12px;
	padding: 14px 16px;
	background: #f8f7f5;
	cursor: pointer;
	flex: 1;
	width: auto;
	height: auto;
}

.sf .sf__file-input:hover {
	border-color: #f5a223;
	background: rgba(245, 162, 35, 0.04);
}

.sf__file-input.sf--error {
	border-color: #d71117 !important;
}

.sf__file-remove {
	width: 28px;
	height: 28px;
	border: none;
	border-radius: 50%;
	background: #f0ede8;
	color: #999;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.15s;
}

.sf__file-remove:hover { background: #d71117; color: #fff; }

.sf__file-add {
	font: 500 14px/1 'FuturaPT', sans-serif;
	background: none;
	border: none;
	color: #f5a223;
	cursor: pointer;
	padding: 6px 0;
	text-decoration: underline;
	transition: color 0.15s;
}

.sf__file-add:hover { color: #d48a0a; text-decoration: none; }

.sf__hint {
	font-size: 13px;
	color: #b0aba5;
	margin-bottom: 12px;
}

/* --- Footer (consent + submit) --- */

.sf__footer {
	padding: 24px 30px 30px;
}

.sf__submit-row {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.sf .sf__submit {
	font: 600 16px/1 'FuturaPT', sans-serif;
	background: #f5a223;
	color: #34293a;
	border: none;
	border-radius: 30px;
	padding: 18px 50px;
	cursor: pointer;
	transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
	box-shadow: 0 4px 16px rgba(245, 162, 35, 0.25);
	width: auto;
	height: auto;
	float: none;
}

.sf .sf__submit:hover {
	background: #eaea89;
	transform: translateY(-1px);
	box-shadow: 0 6px 24px rgba(245, 162, 35, 0.35);
}

.sf .sf__submit:active { transform: translateY(0); }

.sf .sf__submit:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

/* --- Status Messages --- */

.sf__status {
	font-size: 14px;
	line-height: 1.5;
}

.sf__status--error { color: #d71117; }
.sf__status--sending { color: #5f5066; }

/* --- Success Message --- */

.sf__success {
	text-align: center;
	padding: 60px 30px;
	background: #fff;
	border: 1px solid #e8e4de;
	border-radius: 16px;
}

.sf__success-icon {
	width: 68px;
	height: 68px;
	background: #edf7ef;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 30px;
	margin: 0 auto 20px;
	color: #27ae60;
}

.sf__success-title {
	font: 600 22px/1.3 'FuturaPT', sans-serif;
	color: #34293a;
	margin-bottom: 10px;
}

.sf__success p {
	font-size: 16px;
	color: #666;
	line-height: 1.6;
}

/* --- Sidebar Cards --- */

.sf__sidebar-card {
	background: #fff;
	border: 1px solid #e8e4de;
	border-radius: 16px;
	padding: 22px;
}

.sf__sidebar-card h4 {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #999;
	margin-bottom: 16px;
}

.sf__sidebar-card--accent {
	background: rgba(245, 162, 35, 0.06);
	border-color: rgba(245, 162, 35, 0.2);
}

.sf__sidebar-card--accent h4 { color: #f5a223; }

.sf__contact-block { display: flex; flex-direction: column; gap: 14px; }

.sf__contact-line { display: flex; flex-direction: column; gap: 2px; }

.sf__contact-lbl {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: #999;
}

.sf__contact-val {
	font-size: 15px;
	font-weight: 500;
	color: #34293a;
}

.sf__contact-val a {
	color: #34293a;
	text-decoration: none;
}

.sf__contact-val a:hover { color: #f5a223; }

.sf__info-list { display: flex; flex-direction: column; gap: 14px; }

.sf__info-item {
	font-size: 14px;
	color: #666;
	line-height: 1.5;
}

.sf__info-item strong {
	display: block;
	color: #34293a;
	margin-bottom: 2px;
	font-size: 14px;
}

/* --- Responsive --- */

@media screen and (max-width: 959px) {
	.sf__hero {
		flex-direction: column;
		gap: 20px;
		padding: 24px;
	}

	.sf__process { flex: none; width: 100%; }

	.sf__layout { flex-direction: column; }

	.sf__sidebar { flex: none; width: 100%; }

	.sf__field--half { flex: 0 0 100%; min-width: 0; }

	.sf__row { flex-direction: column; gap: 14px; }

	.sf__section { padding: 20px; }
	.sf__form-header { padding: 20px; }
	.sf__footer { padding: 20px; }

	.sf__tabs { width: 100%; }
	.sf__tab { flex: 1; text-align: center; font-size: 13px; padding: 10px 12px; }

	.sf .sf__submit { width: 100%; text-align: center; }

	.sf__submit-row { flex-direction: column; align-items: stretch; }

	.sf__contacts-row {
		flex-direction: column;
		gap: 12px;
		padding: 16px 20px;
	}
}
