/* =========================================================
   VITALINA DESIGN — Contacts page redesign
   Bureau-style split "map + contacts".
   Loaded AFTER skins/saparova/css/main.css; relies on the
   brand warm palette already used across the portfolio.
   Palette: cream #f8f5f0 / white cards #fff / ink #1a1714
            clay accent #c99471 / borders #e8e4df
   ========================================================= */

.contact-page {
	background-color: #f8f5f0;
}

.contact-page a,
.contact-page a:hover,
.contact-page a:focus-visible {
	text-decoration: none;
}

.contacts-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 24px;
}

.contact-page #category-section {
	padding-bottom: 24px;
}

/* ===== Full-width map ===== */
.contact-map-full {
	position: relative;
	width: 100%;
	height: 520px;
	overflow: hidden;
	background: #fff;
	margin-top: 80px;
}

.contact-map-full iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.contact-map-full__city {
	position: absolute;
	left: 24px;
	top: 24px;
	z-index: 2;
	background: #1a1714;
	color: #fff;
	font-family: "Manrope", sans-serif;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	padding: 8px 14px;
	border-radius: 3px;
}

/* ===== Contacts — two columns ===== */
.contact-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	padding: 56px 0 48px;
}

.contact-cols a {
	text-decoration: none !important;
}

.contact-cols a:hover,
.contact-cols a:focus {
	text-decoration: none !important;
}

.contact-col .contact-group__title {
	font-family: "Manrope", sans-serif;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #a88e78;
	margin-bottom: 20px;
}

.contact-group__list {
	margin: 0;
}

.contact-row {
	padding: 14px 0;
	border-bottom: 1px solid #e8e4df;
}

.contact-row:last-child {
	border-bottom: none;
}

.contact-row__label {
	display: block;
	font-family: "Manrope", sans-serif;
	font-weight: 500;
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #8a7e74;
	margin-bottom: 6px;
}

.contact-row__value {
	display: block;
	font-family: "Manrope", sans-serif;
	font-weight: 600;
	font-size: 17px;
	line-height: 1.3;
	color: #1a1714;
}

a.contact-row__link {
	color: #1a1714;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

a.contact-row__link:hover {
	color: #c99471;
	text-decoration: none !important;
}

.contact-row__hint {
	display: block;
	font-family: "Manrope", sans-serif;
	font-weight: 300;
	font-size: 13px;
	line-height: 1.4;
	color: #8a7e74;
	margin-top: 4px;
}

/* ===== Form section — 2 columns (image + form) ===== */
.contact-form-section {
	background: #fff;
	border-radius: 0;
	border: 0;
	overflow: hidden;
	margin: 56px 0 72px;
}

.contact-form-grid {
	position: relative;
	display: block;
	min-height: 520px;
}

.contact-form-grid__media {
	position: relative;
	overflow: hidden;
	background: #f8f5f0;
	position: absolute;
	inset: 0;
}

.contact-form-grid__media img {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.contact-form-grid__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(31, 30, 29, .04) 0%, rgba(31, 30, 29, .08) 46%, rgba(31, 30, 29, .34) 100%);
	pointer-events: none;
}

.contact-form-grid__body {
	position: absolute;
	top: 36px;
	right: 36px;
	bottom: 36px;
	width: min(48%, 700px);
	padding: 56px 46px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.contact-form-section__title {
	font-family: "Manrope", sans-serif;
	font-weight: 600;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #1a1714;
	margin: 0 0 24px 0;
}

.contact-form-grid__body {
	background: rgba(31, 30, 29, .84);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-left: 1px solid rgba(248, 245, 240, .12);
}

.contact-form-grid__body .contact-form-section__title,
.contact-form-grid__body .contact-form__label,
.contact-form-grid__body .contact-form__checkbox,
.contact-form-grid__body .contact-form__checkbox a {
	color: #f8f5f0;
}

.contact-form-grid__body .contact-form__input {
	border-color: rgba(248, 245, 240, .28);
	color: #f8f5f0;
	background: transparent;
}

.contact-form-grid__body .contact-form__input::placeholder {
	color: rgba(248, 245, 240, .52);
}

.contact-form-grid__body .contact-form__checkbox {
	margin-top: 24px;
	margin-bottom: 20px;
	min-height: 24px;
}

.contact-form-grid__body .contact-form__submit {
	margin-top: 0;
	min-height: 48px;
}

.contact-form-grid__body .contact-form__submit {
	background: #f8f5f0;
	color: #1a1714;
	border-color: #f8f5f0;
}

.contact-form-grid__body .contact-form__submit:hover,
.contact-form-grid__body .contact-form__submit:focus-visible {
	background: #c99471;
	border-color: #c99471;
	color: #fff;
}

.contact-form {
	max-width: 100%;
	margin: 0;
}

.contact-form__select {
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%238a7e74' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
	background-repeat: no-repeat;
	background-position: right 14px center;
}


.contact-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}

.contact-form__field {
	position: relative;
}

.contact-form__label {
	display: block;
	font-family: "Manrope", sans-serif;
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.08em;
	color: #6b6560;
	margin-bottom: 8px;
}

.contact-form .contact-form__input {
	width: 100%;
	padding: 14px 16px;
	font-family: "Manrope", sans-serif;
	font-weight: 400;
	font-size: 15px;
	color: #1a1714;
	background-color: #f8f5f0;
	border: 1px solid #e8e4df;
	border-radius: 3px;
	outline: none;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
}

.contact-form .contact-form__input:focus {
	border-color: #c99471;
}

.contact-form .contact-form__input::placeholder {
	color: #a8a098;
}

.contact-form__error {
	display: none;
	font-family: "Manrope", sans-serif;
	font-weight: 300;
	font-size: 12px;
	color: #c0392b;
	margin-top: 4px;
}

.contact-form__field.error .contact-form__error {
	display: block;
}

.contact-form__field.error .contact-form__input,
.contact-form-inline__field.error .contact-form__input {
	border-color: #c0392b;
}

.contact-form__checkbox {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin-bottom: 24px;
	font-family: "Manrope", sans-serif;
	font-weight: 300;
	font-size: 13px;
	line-height: 1.4;
	color: #6b6560;
	cursor: pointer;
}

.contact-form__checkbox input {
	margin-top: 3px;
	flex-shrink: 0;
}

.contact-form__checkbox a {
	color: #c99471;
}

.contact-form__submit {
	display: inline-block;
	background-color: #c99471;
	color: #fff;
	font-family: "Manrope", sans-serif;
	font-weight: 500;
	font-size: 15px;
	letter-spacing: 0.02em;
	padding: 14px 22px;
	border: 1px solid transparent;
	border-radius: 3px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

.contact-form__submit:hover {
	background-color: #b5835f;
}

.contact-form__submit:active {
	transform: translateY(1px);
}

.contact-form__success {
	font-family: "Manrope", sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: #27ae60;
	padding: 24px;
}

/* ===== Форма 1: Консультация (короткая, над картой) ===== */
.contact-consult {
	margin: 96px 0 0;
}

.contact-consult__inner {
	background: #fff;
	border: 1px solid #e8e4df;
	border-radius: 4px;
	padding: 56px 48px;
	text-align: center;
}

.contact-consult__title {
	font-family: "Manrope", sans-serif;
	font-weight: 600;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #1a1714;
	margin: 0 0 12px 0;
}

.contact-consult__desc {
	font-family: "Manrope", sans-serif;
	font-weight: 300;
	font-size: 16px;
	line-height: 1.5;
	color: #6b6560;
	max-width: 520px;
	margin: 0 auto 32px;
}

.contact-consult__form {
	max-width: 720px;
	margin: 0 auto;
}

.contact-consult__row {
	display: grid;
	grid-template-columns: 1fr 1fr auto;
	gap: 16px;
	align-items: end;
}

.contact-consult__row .contact-form__submit {
	margin: 0;
}

@media (max-width: 760px) {
	.contact-consult {
		margin: 64px 0 0;
	}

	.contact-consult__inner {
		padding: 40px 24px;
	}

	.contact-consult__row {
		grid-template-columns: 1fr;
		align-items: stretch;
	}
}

/* ===== Honeypot (защита от спама) ===== */
.hp-field {
	position: absolute !important;
	left: -9999px !important;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
	.contact-map-full {
		height: 380px;
	}

	.contact-cols {
		grid-template-columns: 1fr;
		gap: 48px;
		padding: 64px 0 48px;
	}

	.contact-form-grid {
		display: block;
		min-height: 0;
	}

	.contact-form-grid__media {
		position: relative;
		inset: auto;
		height: 300px;
		min-height: 300px;
	}

	.contact-form-grid__media img {
		position: static;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

@media (max-width: 560px) {
	.contacts-container {
		padding: 0 16px;
	}

	.contact-cols {
		padding: 64px 0 48px;
	}

	.contact-form__row {
		grid-template-columns: 1fr;
	}

	.contact-form-grid__body {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		width: auto;
		padding: 32px 20px 40px;
	}
}

/* ===== Contact section — about page ===== */
.contact-form-section-custom {
	padding: 80px 0;
}

.contact-form-section-custom__title {
	font-family: "Manrope", sans-serif;
	font-weight: 200;
	font-size: 36px;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #1a1714;
	margin: 12px 0 0;
}

.contact-form-section-custom__desc {
	font-family: "Manrope", sans-serif;
	font-weight: 300;
	font-size: 17px;
	line-height: 1.6;
	color: #6b6560;
	max-width: 620px;
}

.contact-form-section-custom__card {
	background: #fff;
	border: 1px solid #e8e4df;
	border-radius: 4px;
	overflow: hidden;
}

@media (max-width: 767px) {
	.contact-form-section-custom {
		padding: 64px 0;
	}

	.contact-form-section-custom__desc {
		margin-bottom: 32px;
	}
}

/* ---- Render vs Real section ---- */
.render-vs-real {
	padding: 80px 0;
	background-color: #fff;
}

.featured-section {
	background-color: #f8f5f0;
}

.render-vs-real__header {
	max-width: 720px;
	margin-bottom: 52px;
}

.render-vs-real__header .about-section-marker {
	margin-bottom: 16px;
}

.render-vs-real__title {
	font-family: "Manrope", sans-serif;
	font-weight: 200;
	font-size: 36px;
	color: #1a1714;
	margin: 0 0 16px 0;
}

.render-vs-real__text {
	max-width: 620px;
	margin: 0;
	font-family: "Manrope", sans-serif;
	font-size: 17px;
	font-weight: 300;
	line-height: 1.6;
	color: #6b6560;
}

.render-vs-real__slider {
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
}

.render-vs-real__slider .juxtapose {
	width: 100%;
	height: min(62vw, 760px) !important;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.render-vs-real__slider .jx-slider,
.render-vs-real__slider .jx-image {
	height: 100% !important;
}

.render-vs-real__slider .jx-image img {
	display: block;
	width: 100%;
	max-width: none !important;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
}

/* Editorial page rhythm shared with the about page. */
.contact-page-marker {
	display: block;
	margin-bottom: 16px;
	font-family: "Manrope", sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .18em;
	line-height: 1.3;
	text-transform: uppercase;
	color: #a88e78;
}

.contact-page #category-section {
	margin-top: 72px;
	background: #f8f5f0;
}

.contact-page #category-section > .container {
	width: 100%;
	max-width: 1400px;
	box-sizing: border-box;
	margin-right: auto;
	margin-left: auto;
	padding-right: 0;
	padding-left: 0;
}

.contact-page .category-title {
	width: 100%;
	box-sizing: border-box;
	max-width: none;
	margin: 0;
	padding: 88px 24px 56px;
	text-align: left;
}

.contact-page .category-title h1 {
	margin: 0 0 16px;
	font-family: "Manrope", sans-serif;
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 200;
	letter-spacing: -.02em;
	line-height: 1.1;
	text-transform: none;
	color: #1a1714;
}

.contact-page .category-desc {
	max-width: 620px;
	padding: 0;
	font-family: "Manrope", sans-serif;
	font-size: 17px;
	font-weight: 300;
	line-height: 1.6;
	color: #6b6560;
}

.contact-page .contact-group__title {
	margin-bottom: 20px;
	font-size: 12px;
	letter-spacing: .18em;
}

.contact-page .contact-consult,
.contact-page .contact-form-section {
	margin-top: 80px;
}

.contact-page .contact-consult__inner {
	padding: 56px 48px;
	text-align: left;
}

.contact-page .contact-consult__desc {
	margin-left: 0;
	margin-right: 0;
}

.contact-page .contact-form-section__title,
.contact-page .contact-consult__title {
	font-weight: 200;
}

.contact-page .contact-consult__title {
	text-align: left;
}

.contact-map-full > .contact-page-marker {
	position: absolute;
	top: 24px;
	left: 24px;
	z-index: 2;
	margin: 0;
	padding: 8px 14px;
	background: #f8f5f0;
}

/* Final contact-page refinements. */
.contact-page .contact-cols {
	padding-top: 48px;
	padding-bottom: 40px;
}

.contact-page .contact-form-section {
	margin-top: 48px;
	margin-bottom: 72px;
}

.contact-page .contact-group__title {
	color: #a88e78;
}

.contact-page .contact-row__link,
.contact-page .contact-row__link:hover,
.contact-page .contact-row__link:focus-visible {
	text-decoration: none !important;
}

.contact-page a:hover,
.contact-page a:focus-visible,
.contact-page .contact-row__link:hover {
	text-decoration: none !important;
}

.contact-map-full__city {
	top: 58px;
}

@media (max-width: 767px) {
	.render-vs-real__slider .juxtapose {
		height: min(78vw, 420px) !important;
	}

	.contact-page .category-title {
		padding: 64px 16px 40px;
	}

	.contact-page .category-title h1 {
		font-size: 36px;
	}

	.contact-page .contact-consult,
	.contact-page .contact-form-section {
		margin-top: 64px;
		margin-bottom: 64px;
	}

	.contact-map-full {
		margin-top: 64px;
	}

	.contact-page .contact-consult__inner {
		padding: 40px 24px;
	}

	.contact-map-full > .contact-page-marker {
		top: 16px;
		left: 16px;
	}

	.contact-map-full__city {
		top: 50px;
	}
}

.render-vs-real__slider .juxtapose {
	width: 100%;
}

@media (max-width: 767px) {
	.render-vs-real {
		padding: 64px 0;
	}

	.render-vs-real__title {
		font-size: 28px;
		margin-bottom: 12px;
	}
}

@media (max-width: 760px) {
	.render-vs-real__header {
		margin-bottom: 32px;
	}
}
