/* ФСК СтройДом — стили дочерней темы: форма заявки, виджет контактов, адаптив. */

/* ---------- Форма «Бесплатная консультация» ---------- */
.fsk-form { display: block; margin: 0; }
.fsk-form-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.fsk-field { display: block; margin: 0 0 20px; }
.fsk-field-label {
	display: block;
	margin-bottom: 6px;
	font: 400 15px/1.4 Inter, Arial, sans-serif;
	color: #6D7078;
}
.fsk-input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 8px 0 10px;
	border: 0 !important;
	border-bottom: 1px solid #C9CBD1 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #111214;
	font: 400 17px/1.5 Inter, Arial, sans-serif;
	outline: none;
	transition: border-color .18s ease;
}
.fsk-input::placeholder { color: #A2A5AD; }
.fsk-input:hover { border-bottom-color: #9A9DA5 !important; }
.fsk-input:focus,
.fsk-form .fsk-input:focus { border-bottom-color: #111214 !important; box-shadow: none !important; }
textarea.fsk-input { resize: vertical; min-height: 44px; }

.fsk-phone {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	border: 0 !important;
	border-bottom: 1px solid #C9CBD1 !important;
	border-radius: 0 !important;
	background: transparent !important;
	transition: border-color .18s ease;
}
.fsk-phone:focus-within { border-bottom-color: #111214 !important; }
.fsk-phone .fsk-input,
.fsk-form .fsk-phone .fsk-input { border-bottom: 0 !important; padding-left: 0; flex: 1 1 auto; min-width: 0; }
.fsk-phone-prefix {
	flex: 0 0 auto;
	font: 400 17px/1.5 Inter, Arial, sans-serif;
	color: #111214;
	white-space: nowrap;
}
.fsk-phone-prefix::after { content: ""; }

.fsk-consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 6px 0 22px;
	font: 400 13px/1.45 Inter, Arial, sans-serif;
	color: #3A3C42;
	cursor: pointer;
}
.fsk-consent input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	accent-color: #111214;
}
.fsk-consent a { color: inherit; text-decoration: underline; }
.fsk-consent a:hover { color: #111214; }

.fsk-submit {
	display: block;
	width: 100%;
	padding: 16px 24px;
	border: 1px solid #E6C36B;
	border-radius: 100px;
	background: #F2D68F;
	color: #111214;
	font: 600 16px/1.4 Inter, Arial, sans-serif;
	cursor: pointer;
	transition: background-color .18s ease, border-color .18s ease;
}
.fsk-submit:hover { background: #EBCB7C; border-color: #D9B45A; }
.fsk-submit:focus-visible { outline: 3px solid #111214; outline-offset: 3px; }
.fsk-submit[disabled] { opacity: .6; cursor: default; }

.fsk-form-status { margin: 12px 0 0; font: 400 14px/1.5 Inter, Arial, sans-serif; color: #B42318; }
.fsk-form-status[hidden] { display: none; }

@media (max-width: 767px) {
	.fsk-field { margin-bottom: 16px; }
	.fsk-input, .fsk-phone-prefix { font-size: 16px; }
}

/* ---------- Плавающий виджет контактов: одинаковые иконки ---------- */
.elementor-305 .fsk-contact-panel a.fsk-contact-link svg {
	width: 24px !important;
	height: 24px !important;
	margin: 0 !important;
}
.elementor-305 .fsk-contact-panel a.fsk-contact-max {
	background: transparent !important;
}
.elementor-305 .fsk-contact-panel a.fsk-contact-max img {
	display: block;
	width: 50px !important;
	height: 50px !important;
	max-width: 50px !important;
	margin: 0 !important;
	border-radius: 50%;
	object-fit: cover;
	filter: none;
}

/* Логотип MAX в шапке и подвале — круглый, как соседние иконки */
.elementor-element-8b6618cf img,
.elementor-element-12c3afb4 img {
	border-radius: 50%;
	object-fit: cover;
}
.elementor-element-8b6618cf img { width: 31px; height: 31px; }
.elementor-element-12c3afb4 img { width: 46px; height: 46px; }
.elementor-305 .fsk-contact-panel a.fsk-contact-link {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 auto !important;
}

/* ---------- Адаптив: не даём содержимому вылезать за блоки ---------- */
html, body { overflow-x: hidden; }

@media (max-width: 767px) {
	.elementor-section, .e-con, .e-con-inner { min-width: 0 !important; }
	.elementor-widget-text-editor, .elementor-widget-heading { overflow-wrap: anywhere; }
	/* шапка: соцсети прячем, они дублируются в подвале и в плавающем виджете */
	.elementor-302 .elementor-element-d8696d78 { display: none !important; }
	.elementor-302 .elementor-element-c4a7a68b { grid-template-columns: minmax(0, 1fr) !important; }
	.elementor-302 .elementor-element-9a089db9 > .e-con-inner { padding-top: 8px !important; padding-bottom: 8px !important; }
	/* на телефоне оставляем логотип и кнопку, телефон и адрес уходят в контакты */
	.elementor-302 .elementor-element-5274a712 { display: none !important; }
	.elementor-302 .elementor-element-9837536d { align-items: center !important; }
	.elementor-302 .elementor-element-c6c07b92 {
		align-items: center !important;
		justify-content: flex-end !important;
	}
	.elementor-302 .elementor-element-c6c07b92 > .e-con { width: auto !important; }
}

