/* ============================================================
   ФОРМА (luxdrzwi) — «Розкажіть про завдання…»
   Фон #7B7166, білий Unbounded-заголовок, ліворуч зображення +
   WYSIWYG, праворуч бежева картка форми (radius 20px) з жовтою
   кнопкою-пілюлею. Механіка відправки — send.php (.info_form).
   ============================================================ */

.lux-form {
	position: relative;
	background: #7B7166;
	color: #fff;
	padding: 100px 0 90px;
	overflow: hidden;
}

/* боковий title */
.lux-form__sidetitle {
	background: #7b7165;
	color: #fff;
}

/* ---------- Заголовок ---------- */
.lux-form__title {
	font-family: 'Unbounded', 'Montserrat', sans-serif;
	font-weight: 400;
	font-size: clamp(26px, 3vw, 44px);
	line-height: 1.25;
	color: #fff;
	margin: 0 0 30px;
	max-width: 100%;
}

/* ---------- Сітка: ліва колонка / картка ---------- */
.lux-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
}

.lux-form__img-wrap {
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 30px;
}
.lux-form__img {
	display: block;
	height: auto;
	width: 100%;
	max-width: 260px;
}

/* WYSIWYG-контент лівої колонки */
.lux-form__content {
	color: #fff;
}
.lux-form__content h5,
.lux-form__content h6 {
	font-family: 'Unbounded', sans-serif;
	font-weight: 400;
	color: #fff;
	margin: 0 0 16px;
}
.lux-form__content h5 {
	font-size: clamp(20px, 1.8vw, 28px);
	line-height: 1.3;
}
.lux-form__content h6 {
	font-size: 17px;
}
.lux-form__content p {
	font-size: 16px;
	line-height: 1.55;
	color: rgba(255, 255, 255, .92);
	margin: 0 0 18px;
}
.lux-form__content a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
	transition: color .25s ease;
}
.lux-form__content a:hover {
	color: var(--lux-gold, #F9FF85);
}

/* ---------- Картка форми ---------- */
.lux-form__card {
	background: #ECE5DD;
	color: var(--lux-dark, #111);
	border-radius: 10px;
	padding: 30px;
	box-shadow: 0 20px 60px rgba(17, 17, 17, .18);
}

/* Скоуп .lux-form — иначе перебивает .info_form-title старого блока form */
.lux-form .info_form-title {
	font-family: 'Unbounded', sans-serif;
	font-weight: 500;
	font-size: 22px;
	line-height: 1.3;
	color: var(--lux-dark, #111);
	margin-bottom: 12px;
}

.lux-form__card-subtitle {
	font-size: 14px;
	line-height: 1.5;
	color: rgba(17, 17, 17, .75);
	margin-bottom: 10px;
}

/* ---------- Поля ---------- */
.lux-form__field {
	margin-bottom: 12px;
}
.lux-form__row-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.lux-form__label {
	display: block;
	font-size: 14px;
	color: rgba(17, 17, 17, .8);
	margin-bottom: 3px;
}

.lux-form__fields input[type="text"],
.lux-form__fields input[type="tel"],
.lux-form__fields input[type="email"],
.lux-form__select,
.lux-form__textarea {
	width: 100%;
	height: 50px;
	background: #fff;
	border: 1px solid #dadada;
	border-radius: 10px;
	padding: 0 16px;
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	color: #111;
	outline: none;
	transition: border-color .25s ease;
}
.lux-form__textarea {
	height: auto;
	min-height: 110px;
	padding: 14px 16px;
	resize: vertical;
}
.lux-form__fields input:focus,
.lux-form__select:focus,
.lux-form__textarea:focus {
	border-color: #7B7166;
}
.lux-form__select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23111' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 16px center;
	background-size: 12px;
	cursor: pointer;
}

/* файл */
.lux-form__file {
	position: relative;
	background: #fff !important;
	background-image: url("/wp-content/uploads/2021/03/file-form.svg") !important;
	background-repeat: no-repeat !important;
	background-position: 16px center !important;
	background-size: 20px 20px !important;
	border: 1px solid #dadada;
	border-radius: 10px;
	height: 50px;
	display: flex;
	align-items: center;
	padding: 0 16px 0 46px;
	cursor: pointer;
	overflow: hidden;
}
.lux-form__file .inputfile {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
}
.lux-form__file .inputfile + .label {
	display: block !important;
	background: transparent !important;
	color: rgba(17, 17, 17, .7) !important;
	height: auto !important;
	font-size: 15px !important;
	font-weight: 400 !important;
}
.lux-form__file .label .overview {
	display: inline !important;
	background: none !important;
	padding: 0 !important;
}
.lux-form__file .label .attach_file {
	display: none !important;
}
.lux-form__file .polt_file_upload_clear {
	display: none !important;
}

/* ---------- Політика (структура старої форми) ---------- */
/* Текст політики білий у старій формі (темний фон) — тут картка бежева */
.lux-form__privacy .form-consultation__text {
	color: rgba(17, 17, 17, .75);
}
.lux-form__privacy .form-consultation__text a {
	color: rgba(17, 17, 17, .9);
	text-decoration: underline;
}

/* ---------- Кнопка ---------- */
.lux-form__btn {
	width: 100% !important;
	margin-top: 0;
}

/* ---------- Політика конфіденційності ---------- */
.lux-form__privacy {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: 16px;
}
.lux-form__privacy label {
	flex: none;
	margin-top: 2px;
}
.lux-form__privacy p {
	margin: 0;
	font-size: 12px;
	line-height: 1.5;
	color: rgba(17, 17, 17, .75);
}
.lux-form__privacy a {
	color: inherit;
	text-decoration: underline;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1199px) {
	.lux-form {
		padding: 80px 0 70px;
	}
	.lux-form__row {
		gap: 40px;
	}
	.lux-form__title {
		margin-bottom: 20px;
	}
}

@media (max-width: 767px) {
	.lux-form {
		padding: 56px 0 50px;
	}
	.lux-form::before {
		left: 24px;
	}
	.lux-form__title {
		font-size: clamp(22px, 6vw, 28px);
		margin-bottom: 20px;
	}
	.lux-form__row {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.lux-form__card {
		padding: 15px 15px;
	}
	.lux-form__row-2 {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.lux-form__sidetitle {
		display: none;
	}
}


@media (max-width: 767px) {
	.lux-form__title { margin-bottom: 20px; }
}
