/* ═══════════════════════════════════════════════════════════════════
 * footer.css — BH FOOTER Cinema Dark + Kadence footer suppress
 * ═══════════════════════════════════════════════════════════════════
 *
 * Загружается: на всех страницах сайта.
 * ═══════════════════════════════════════════════════════════════════ */

/* Скрываем стандартный футер Kadence — используем наш .bh-footer */
.site-footer { display: none; }

/* ── Base ─────────────────────────────────────────────────────── */
.bh-footer {
	position: relative;
	background: linear-gradient(160deg, #071421 0%, #0a1e30 55%, #071c2e 100%);
	color: rgba(255,255,255,.72);
	font-size: .875rem;
	line-height: 1.65;
}

/* gradient accent line at top */
.bh-footer::before {
	content: '';
	display: block;
	height: 2px;
	background: linear-gradient(90deg, var(--bh-warm) 0%, var(--bh-accent-deep) 55%, #3aaa5e 100%);
}

/* ── Perks strip ──────────────────────────────────────────────── */
.bh-footer__perks {
	background: rgba(255,255,255,.04);
	border-bottom: 1px solid rgba(255,255,255,.07);
}

.bh-footer__perks-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 13px 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0;
}

.bh-footer__perk {
	padding: 4px 22px;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .025em;
	color: rgba(255,255,255,.78);
	white-space: nowrap;
}

.bh-footer__perk + .bh-footer__perk {
	border-left: 1px solid rgba(255,255,255,.14);
}

/* ── Main grid ────────────────────────────────────────────────── */
.bh-footer__main {
	padding: 64px 24px 52px;
}

.bh-footer__grid {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.6fr;
	gap: 52px;
	align-items: start;
}

/* ── Brand col ────────────────────────────────────────────────── */
.bh-footer__col--brand {
	align-self: start;
	padding-top: 0;
	margin-top: -42px;
}

.bh-footer__logo {
	display: block;
	max-width: 138px;
	height: auto;
	margin-bottom: 8px;
	filter: brightness(1.08);
}

.bh-footer__tagline {
	font-size: .81rem;
	line-height: 1.72;
	color: rgba(255,255,255,.5);
	max-width: 230px;
	margin: 0 0 16px;
	overflow-wrap: anywhere;
}

.bh-footer__socials {
	display: flex;
	gap: 10px;
}

.bh-footer__social {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 37px;
	height: 37px;
	border-radius: 50%;
	background: rgba(255,255,255,.07);
	border: 1px solid rgba(255,255,255,.1);
	color: rgba(255,255,255,.6);
	text-decoration: none;
	transition: background .22s, color .22s, border-color .22s, transform .18s, box-shadow .22s;
}

.bh-footer__social:hover {
	background: rgba(15,139,203,.22);
	border-color: rgba(15,139,203,.5);
	color: var(--bh-white);
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(15,139,203,.25);
}

/* ── Column headings ──────────────────────────────────────────── */
.bh-footer__col-title {
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--bh-warm);
	margin: 0 0 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(240,165,0,.2);
}

/* ── Quick links ──────────────────────────────────────────────── */
.bh-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.bh-footer__links a {
	color: rgba(255,255,255,.6);
	text-decoration: none;
	font-size: .875rem;
	display: inline-flex;
	align-items: center;
	gap: 0;
	transition: color .2s, gap .2s;
}

.bh-footer__links a::before {
	content: '→';
	font-size: .78em;
	color: var(--bh-accent-deep);
	opacity: 0;
	transform: translateX(-8px);
	display: inline-block;
	margin-right: 0;
	width: 0;
	overflow: hidden;
	transition: opacity .2s, transform .2s, width .2s;
}

.bh-footer__links a:hover {
	color: var(--bh-white);
}

.bh-footer__links a:hover::before {
	opacity: 1;
	transform: translateX(0);
	width: 1.2em;
	margin-right: 5px;
}

/* ── Company meta ─────────────────────────────────────────────── */
.bh-footer__meta {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: rgba(255,255,255,.55);
	font-size: .82rem;
}

.bh-footer__meta-name {
	color: rgba(255,255,255,.88);
	font-weight: 600;
	font-size: .9rem;
	margin-bottom: 2px;
}

/* ── Contacts ─────────────────────────────────────────────────── */
.bh-footer__contacts {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 11px;
}

.bh-footer__contacts li {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	color: rgba(255,255,255,.6);
	font-size: .82rem;
	line-height: 1.55;
}

.bh-footer__contacts svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: var(--bh-accent-deep);
	opacity: .85;
}

.bh-footer__contacts a {
	color: rgba(255,255,255,.6);
	text-decoration: none;
	transition: color .2s;
}

.bh-footer__contacts a:hover {
	color: var(--bh-accent-deep);
}

/* ── Mini newsletter ──────────────────────────────────────────── */
.bh-footer__nl {
	border-top: 1px solid rgba(255,255,255,.08);
	padding-top: 22px;
}

.bh-footer__nl-label {
	font-size: .77rem;
	color: rgba(255,255,255,.46);
	margin: 0 0 12px;
	line-height: 1.6;
}

.bh-footer__nl-row {
	display: flex;
	border-radius: 9px;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,.12);
	background: rgba(255,255,255,.05);
	transition: border-color .22s, background .22s;
}

.bh-footer__nl-row:focus-within {
	border-color: rgba(15,139,203,.55);
	background: rgba(15,139,203,.07);
}

.bh-footer__nl-input {
	flex: 1;
	min-width: 0;
	padding: 11px 14px;
	background: transparent;
	border: none;
	outline: none;
	color: var(--bh-white);
	font-size: .82rem;
	font-family: inherit;
}

.bh-footer__nl-input::placeholder {
	color: rgba(255,255,255,.28);
}

.bh-footer__nl-btn {
	flex-shrink: 0;
	padding: 0 15px;
	background: linear-gradient(135deg, var(--bh-accent-deep) 0%, #0a6fa3 100%);
	border: none;
	color: var(--bh-white);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .2s, transform .15s;
}

.bh-footer__nl-btn:hover {
	background: linear-gradient(135deg, #1a9fd8 0%, var(--bh-accent-deep) 100%);
}

.bh-footer__nl-btn:active { transform: scale(.95); }

/* ── Bottom bar ───────────────────────────────────────────────── */
.bh-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.07);
	background: rgba(0,0,0,.22);
}

.bh-footer__bottom-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 15px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: .73rem;
	color: rgba(255,255,255,.35);
	letter-spacing: .01em;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 960px) {
	.bh-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 36px 40px;
	}
	.bh-footer__col--brand {
		grid-column: 1 / -1;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}
	.bh-footer__tagline { max-width: 100%; }
}

@media (max-width: 640px) {
	.bh-footer__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.bh-footer__col--brand {
		grid-column: auto;
		align-items: flex-start;
		margin-top: 0;
	}
	.bh-footer__main { padding: 40px 20px 36px; }
	.bh-footer__tagline {
		max-width: 100%;
	}
	.bh-footer__perks-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}
	.bh-footer__perk + .bh-footer__perk {
		border-left: none;
		padding-left: 0;
	}
	.bh-footer__bottom-inner {
		flex-direction: column;
		text-align: center;
		gap: 6px;
	}
}
