/**
 * Блок «Личный прораб» (acf/home-support).
 * Тёмная секция: переписка в телефоне слева, обещания и мессенджеры справа.
 */

.support {
	padding: clamp(72px, 9vh, 116px) 0;
	background: var(--t-darker);
	color: #fff;
}

.support__inner {
	width: 100%;
	padding: 0 var(--t-pad-x);
}

.support__grid {
	display: grid;
	grid-template-columns: .82fr 1.18fr;
	gap: clamp(36px, 5vw, 72px);
	align-items: center;
}

.support__side {
	display: flex;
	justify-content: center;
}

/* ───────────────  Телефон  ─────────────── */

.support__phone {
	width: 300px;
	max-width: 100%;
	overflow: hidden;
	border: 9px solid #0E0C0A;
	border-radius: 40px;
	background: #0E0C0A;
	box-shadow: var(--t-shadow-card);
}

.support__phone-head {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 16px;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	background: var(--t-dark);
}

.support__avatar {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--t-accent);
	color: #fff;
	font-family: var(--t-font-display);
	font-weight: 800;
	font-size: 14px;
}

.support__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.support__chat-name {
	font-family: var(--t-font-display);
	font-weight: 700;
	font-size: 14px;
	color: #fff;
}

.support__chat-status {
	font-size: 11px;
	color: #7FCF8F;
}

/* ───────────────  Переписка  ─────────────── */

.support__chat {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 360px;
	padding: 16px 14px;
	background: #ECE5DB;
}

.support__msg {
	align-self: flex-start;
	max-width: 82%;
	padding: 11px 14px;
	border-radius: 4px 14px 14px 14px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
	font-size: 13.5px;
	line-height: 1.4;
	color: var(--t-ink);
}

/* Ответ клиента — зелёный пузырь у правого края. */
.support__msg--out {
	align-self: flex-end;
	border-radius: 14px 4px 14px 14px;
	background: #D9F2C9;
	color: #1F3315;
}

.support__msg--file {
	display: flex;
	align-items: center;
	gap: 11px;
}

.support__file-type {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 42px;
	border-radius: 4px;
	background: var(--t-accent);
	color: #fff;
	font-family: var(--t-font-display);
	font-weight: 800;
	font-size: 10px;
}

.support__file-info {
	font-size: 13px;
	line-height: 1.35;
}

.support__file-info b {
	font-family: var(--t-font-display);
	font-weight: 700;
}

.support__file-info span {
	font-size: 11.5px;
	color: var(--t-muted);
}

/* ───────────────  Текст справа  ─────────────── */

.support__title {
	margin: 0;
	font-family: var(--t-font-display);
	font-weight: 800;
	font-size: clamp(30px, 3.6vw, 52px);
	line-height: 1.04;
	letter-spacing: -.025em;
	color: #fff;
}

.support__lead {
	max-width: 54ch;
	margin: 20px 0 0;
	font-size: 18px;
	line-height: 1.6;
	color: rgba(255, 255, 255, .82);
}

.support__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 60ch;
	margin: 30px 0 32px;
	padding: 0;
	list-style: none;
}

.support__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-size: 16px;
	line-height: 1.45;
	color: rgba(255, 255, 255, .9);
}

.support__check {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--t-accent);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

/* ───────────────  Мессенджеры и кнопка  ─────────────── */

.support__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.support__soc {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 13px;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	text-decoration: none;
	transition: .16s;
}

.support__soc:hover {
	background: var(--t-accent);
	color: #fff;
	transform: translateY(-3px);
}

.support__soc svg {
	width: 23px;
	height: 23px;
}

.support__dot {
	position: absolute;
	top: 9px;
	right: 9px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--t-accent-light);
}

.support__btn {
	margin-left: 4px;
	border-radius: 10px;
}

/* ───────────────  Адаптив  ─────────────── */

@media (max-width: 980px) {
	.support__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 460px) {
	.support__btn {
		width: 100%;
		margin-left: 0;
	}
}
