/* ============================================================
   CTA
   ============================================================ */
.cta {
	background: var(--main);

}

.cta__inner {
	display: flex;
	flex-direction: row;
	gap: 103px;
	align-items: center;
	justify-content: center;
	padding: 150px var(--container-padding);
	min-height: 576px;
	max-width:1720px;
	margin: auto;
}

.cta__content {
	display: flex;
	flex-direction: column;
	gap: 31px;
	align-items: flex-start;
	flex-shrink: 0;
	width: 37.8%;;
}

.cta__title {
	color: var(--white);
	font-size: 40px;
	line-height: 110%;
	font-weight: 600;
}

.cta__subtitle {
	color: var(--white);
	font-size: 24px;
	line-height: 130%;
	font-weight: 400;
}

.cta__btn {
	background: var(--white);
	color: var(--main);
	border: none;
	border-radius: 20px;
	padding: 15px 20px;
	width: 338px;
	font-family: var(--font-base);
	font-size: var(--text-size);
	line-height: var(--text-line-height);
	font-weight: 400;
	cursor: pointer;
	transition: opacity 0.2s ease;
	text-align: center;
}

.cta__btn:hover { opacity: 0.9; }

/* Контакты */
.cta__contacts {
	display: flex;
	flex-direction: row;
	gap: 34px;
	align-items: center;
}

.cta__contacts-item {
	display: flex;
	flex-direction: row;
	gap: 12px;
	align-items: center;
}

.cta__contacts-item svg {
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	/* Перекрашиваем иконку в белый */
	filter: brightness(0) invert(1);
}

.cta__contacts-text {
	color: var(--white);
	font-size: var(--text-size);
	line-height: var(--text-line-height);
	font-weight: 400;
	text-decoration: none;
}

a.cta__contacts-text:hover { opacity: 0.8; }

/* Фото */
.cta__image {
	flex-shrink: 0;
	width:55.9%;
	height: 488px;
	object-fit: cover;
	border-radius: 20px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1440px) {
    .cta__content {	width: 45%;}
	.cta__image { height: 360px;	width:50%;}
	.cta__inner { gap: 60px; }
}

@media (max-width: 1100px) {
	.cta__inner {
		flex-direction: column;
		padding: 60px var(--container-padding);
		min-height: auto;
		gap: 40px;
	}
	.cta__content { width: 100%; }
	.cta__image { width: 100%; height: 300px; }
}

@media (max-width: 768px) {
	.cta__title { font-size: 28px; }
	.cta__subtitle { font-size: 18px; }
	.cta__btn { width: 100%; font-size: 18px; }
	.cta__contacts { flex-direction: column; align-items: flex-start; gap: 16px; }
	.cta__contacts-text { font-size: 18px; }
}






/* ============================================================
   CF7 — стили форм в попапе
   ============================================================ */

/* Скрываем дефолтный враппер CF7 */
.wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.wpcf7-form p {
	margin: 0;
}

/* Поля */
.zakaz {
	width: 100%;
	border: 1.5px solid #d9dce8;
	border-radius: 10px;
	padding: 14px 16px;
	font-family: var(--font-base);
	font-size: 18px;
	color: var(--dark);
	outline: none;
	transition: border-color 0.2s;
	background: var(--white);
	display: block;
}

.zakaz:focus {
	border-color: var(--main);
}

/* Плейсхолдеры */
input.zakaz[name="your-name"]::placeholder  { color: var(--text2); }
input.zakaz[name="your-phone"]::placeholder { color: var(--text2); }

/* Кнопка submit */
.wpcf7-form input[type="submit"] {
	width: 100%;
	background: var(--main);
	color: var(--white);
	border: none;
	border-radius: 10px;
	padding: 14px 20px;
	font-family: var(--font-base);
	font-size: 18px;
	font-weight: 400;
	cursor: pointer;
	transition: opacity 0.2s ease;
	text-align: center;
}

.wpcf7-form input[type="submit"]:hover {
	opacity: 0.88;
}

/* Чекбокс согласия */
.wpcf7-acceptance .wpcf7-list-item {
	margin: 0;
}

.wpcf7-acceptance .wpcf7-list-item label{
    display: flex;
}


.wpcf7-acceptance .wpcf7-list-item-label {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	color: var(--text2);
	line-height: 140%;
	cursor: pointer;
}

.wpcf7-acceptance input[type="checkbox"] {
	flex-shrink: 0;
	margin-top: 2px;
	width: 16px;
	height: 16px;
	accent-color: var(--main);
	cursor: pointer;
}

/* Ошибки валидации */
.wpcf7-not-valid {
	border-color: #e53e3e !important;
}

.wpcf7-not-valid-tip {
	color: #e53e3e;
	font-size: 13px;
	margin-top: 4px;
	display: block;
}

.wpcf7-response-output {
	font-size: 14px;
	padding: 10px 14px;
	border-radius: 8px;
	margin: 0 !important;
	border: none !important;
}

.wpcf7-mail-sent-ok {
	background: #f0fdf4;
	color: #16a34a;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted {
	background: #fef2f2;
	color: #e53e3e;
}









