

/* Start:/local/components/wayoff/contacts.page/templates/wayoff_v1/style.css?178792665610485*/
/* Contacts page — v1 Editorial half-and-half.
   Scoped через .wf-contacts чтобы не конфликтовать со старым .contacts-page из styles.css. */

:root {
	--wf-contacts-ease: cubic-bezier(0.23, 1, 0.32, 1);
}

.wf-contacts {
	background: #f9f9f9;
	padding: 0;
	font-family: 'Normalidad Text', -apple-system, sans-serif;
	color: #1a1a1a;
	line-height: 1.4;
}

.wf-contacts__inner {
	max-width: 1700px;
	width: 95%;
	margin: 0 auto;
	padding: 64px 0 80px;
}

/* === Header === */
.wf-contacts__head {
	margin-bottom: 48px;
}
.wf-contacts__eyebrow {
	font-family: 'Golos UI', sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #999;
	margin-bottom: 14px;
	display: inline-block;
}
.wf-contacts__title {
	font-family: 'Normalidad Text', sans-serif;
	font-size: clamp(32px, 4vw, 56px);
	line-height: 1.0;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #1a1a1a;
	margin: 0;
}

/* === Grid: info-column + map === */
.wf-contacts__grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 56px;
	align-items: start;
}
.wf-contacts__info {
	display: flex;
	flex-direction: column;
	gap: 36px;
}

/* === Info-block === */
.wf-contacts__block {
	padding-bottom: 32px;
	border-bottom: 1px solid #ececec;
}
.wf-contacts__block:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.wf-contacts__label {
	font-family: 'Golos UI', sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #999;
	margin-bottom: 12px;
}
.wf-contacts__value {
	font-family: 'Normalidad Text', sans-serif;
	font-size: clamp(20px, 1.8vw, 26px);
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #1a1a1a;
	line-height: 1.2;
	margin-bottom: 8px;
}
.wf-contacts__value a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 200ms var(--wf-contacts-ease);
}
.wf-contacts__value a:hover {
	border-bottom-color: #1a1a1a;
}
.wf-contacts__sub {
	font-family: 'Golos UI', sans-serif;
	font-size: 13px;
	color: #666;
	margin-top: 4px;
	line-height: 1.5;
}
.wf-contacts__sub--tight {
	margin-top: 0;
	margin-bottom: 4px;
}

/* === Hours rows === */
.wf-contacts__hours-row {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 12px;
	margin-top: 6px;
	font-family: 'Golos UI', sans-serif;
	font-size: 14px;
	align-items: baseline;
}
.wf-contacts__hours-row:first-of-type {
	margin-top: 8px;
}
.wf-contacts__hours-type {
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #999;
}
.wf-contacts__hours-time {
	color: #1a1a1a;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

/* === Messengers === */
.wf-contacts__messengers {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-top: 14px;
}
.wf-contacts__messenger {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 10px;
	text-decoration: none;
	color: #1a1a1a;
	transition:
		background 220ms var(--wf-contacts-ease),
		border-color 220ms var(--wf-contacts-ease),
		transform 140ms var(--wf-contacts-ease);
	will-change: transform;
}
.wf-contacts__messenger:hover {
	background: #f2f2f2;      /* фирменный нейтральный серый (не тёплый #faf6ee) */
	border-color: #e3e3e3;
}
.wf-contacts__messenger:active {
	transform: scale(0.97);
}
.wf-contacts__messenger-icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	flex-shrink: 0;
}
.wf-contacts__messenger-icon--tg { background: #229ED9; }
.wf-contacts__messenger-icon--wa { background: #25D366; }
.wf-contacts__messenger-icon--max { background: #1a1a1a; }
.wf-contacts__messenger-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}
.wf-contacts__messenger-name {
	font-family: 'Normalidad Text', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
	line-height: 1.2;
}
.wf-contacts__messenger-handle {
	font-family: 'Golos UI', sans-serif;
	font-size: 11px;
	color: #6a6a6a;      /* нейтральный серый (не тёплый #6e6557) */
	letter-spacing: 0.02em;
	font-variant-numeric: tabular-nums;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* === Map === */
.wf-contacts__map-wrap {
	position: sticky;
	top: 24px;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	background: #f0f0f0;
	box-shadow: 0 4px 24px rgba(20, 17, 13, 0.04);
}
.wf-contacts__map-wrap iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}
/* Статичная схема проезда (скрин с пунктирной стрелкой) вместо iframe-карты. */
.wf-contacts__map-link { display: block; width: 100%; height: 100%; }
.wf-contacts__map-img {
	display: block; width: 100%; height: 100%;
	object-fit: cover;
	object-position: 50% 44%; /* фокус на маршруте (стрелка чуть выше центра) */
}

/* === Responsive === */
@media (max-width: 1100px) {
	/* Один столбец + ПЕРЕУПОРЯДОЧИВАНИЕ: карта-схема идёт СРАЗУ под адресом, затем режим
	   работы и «Связаться». display:contents вытаскивает блоки .info как flex-элементы грида,
	   чтобы order сработал (карта становится соседом блоков, а не отдельной колонкой). */
	.wf-contacts__grid {
		display: flex;
		flex-direction: column;
		gap: 40px;
	}
	.wf-contacts__info { display: contents; }
	.wf-contacts__info > .wf-contacts__block:first-child { order: 1; } /* Адрес шоурума */
	.wf-contacts__map-wrap {
		order: 2;
		position: static;
		aspect-ratio: 16 / 10;
	}
	.wf-contacts__info > .wf-contacts__block:nth-child(n+2) { order: 3; } /* Режим работы, Связаться */
}

@media (max-width: 720px) {
	.wf-contacts__inner {
		padding: 40px 0 60px;
	}
	.wf-contacts__head {
		margin-bottom: 32px;
	}
	.wf-contacts__messengers {
		grid-template-columns: 1fr;
	}
	.wf-contacts__hours-row {
		grid-template-columns: 80px 1fr;
		gap: 10px;
	}
}

/* === CHANGE 1: «Связаться» — compact contact rows === */
/* Reuses existing .wf-contacts__messengers block styling (defined above) — not duplicated. */
.wf-contacts__crows {
	margin-top: 4px;
}
.wf-contacts__crow {
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: 16px;
	align-items: baseline;
	padding: 14px 0;
	border-bottom: 1px dashed #ececec;
}
.wf-contacts__crow:first-child {
	padding-top: 4px;
}
.wf-contacts__crow:last-child {
	border-bottom: none;
	padding-bottom: 4px;
}
.wf-contacts__crow-k {
	font-family: 'Golos UI', sans-serif;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #999;
	line-height: 1.4;
}
.wf-contacts__crow-vwrap {
	min-width: 0;
}
.wf-contacts__crow-v {
	font-family: 'Normalidad Text', sans-serif;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #1a1a1a;
	line-height: 1.2;
}
.wf-contacts__crow-v a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 200ms var(--wf-contacts-ease);
}
.wf-contacts__crow-v a:hover {
	border-bottom-color: #1a1a1a;
}
.wf-contacts__crow-s {
	font-family: 'Golos UI', sans-serif;
	font-size: 12px;
	color: #666;
	margin-top: 3px;
	line-height: 1.5;
}

/* === CHANGE 2: Showroom gallery === */
.wf-contacts__gallery {
	margin-top: 64px;
	padding-top: 40px;
	border-top: 1px solid #ececec;
}
.wf-contacts__eyebrow--accent {
	color: #8b253b;
}
.wf-contacts__gallery-title {
	font-family: 'Normalidad Text', sans-serif;
	font-size: clamp(24px, 3vw, 38px);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #1a1a1a;
	margin: 0 0 28px;
}

/* Desktop (default): masonry via CSS columns */
.wf-contacts__masonry {
	column-count: 3;
	column-gap: 14px;
}
.wf-contacts__gfig {
	break-inside: avoid;
	margin: 0 0 14px;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(20, 17, 13, 0.05);
}
.wf-contacts__gfig img {
	display: block;
	width: 100%;
	height: auto;
}

/* Mobile (≤900px): horizontal swipe strip — «мотающиеся влево-вправо фотки» */
@media (max-width: 900px) {
	.wf-contacts__masonry {
		column-count: initial;
		column-gap: initial;
		display: flex;
		gap: 12px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scroll-padding-left: 2.5vw;
		margin-left: -2.5vw;
		margin-right: -2.5vw;
		padding: 4px 2.5vw 4px;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	.wf-contacts__masonry::-webkit-scrollbar {
		display: none;
	}
	.wf-contacts__gfig {
		flex: 0 0 auto;
		width: 72vw;
		max-width: 300px;
		margin: 0;
		break-inside: auto;
		scroll-snap-align: start;
	}
}

/* === CHANGE 3: «Построить маршрут» — CTA в блоке адреса === */
.wf-contacts__route {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 16px;
	padding: 12px 20px;
	background: #1a1a1a;
	border: 1px solid #1a1a1a;
	border-radius: 10px;
	color: #fff;
	text-decoration: none;
	font-family: 'Golos UI', sans-serif;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1;
	transition:
		background 220ms var(--wf-contacts-ease),
		border-color 220ms var(--wf-contacts-ease),
		transform 140ms var(--wf-contacts-ease);
	will-change: transform;
}
.wf-contacts__route:hover {
	background: #333;
	border-color: #333;
	color: #fff;
}
.wf-contacts__route:active {
	transform: scale(0.97);
}
.wf-contacts__route:focus-visible {
	outline: 2px solid #8b253b;
	outline-offset: 3px;
}
.wf-contacts__route-icon {
	flex-shrink: 0;
	/* стрелка «съезжает» по маршруту при наведении */
	transition: transform 260ms var(--wf-contacts-ease);
}
.wf-contacts__route:hover .wf-contacts__route-icon {
	transform: translateX(2px);
}

@media (max-width: 720px) {
	.wf-contacts__route {
		display: flex;
		justify-content: center;
		width: 100%;
		padding: 14px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wf-contacts__route,
	.wf-contacts__route-icon {
		transition: none;
	}
	.wf-contacts__route:active {
		transform: none;
	}
	.wf-contacts__route:hover .wf-contacts__route-icon {
		transform: none;
	}
}

/* End */
/* /local/components/wayoff/contacts.page/templates/wayoff_v1/style.css?178792665610485 */
