/* =========================================================
   FOOTER
   3 колонки: посилання | контакти+соц | підписка на розсилку
   Темно-фіолетове тло, помаранчеві акценти.
   ========================================================= */

.hc-footer {
	background: linear-gradient(180deg, var(--hc-purple) 0%, var(--hc-purple-dark) 100%);
	color: rgba(255, 255, 255, 0.85);
	padding: clamp(3rem, 5vw, 5rem) 0 0;
	margin-top: clamp(3rem, 6vw, 6rem);
	position: relative;
	overflow: hidden;
}

/* Декоративний градієнтний акцент */
.hc-footer::before {
	content: "";
	position: absolute;
	top: -200px;
	right: -200px;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(242, 101, 34, 0.15) 0%, transparent 70%);
	border-radius: 50%;
	pointer-events: none;
}

.hc-footer__grid {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1.3fr;
	gap: clamp(2rem, 4vw, 4rem);
	padding-bottom: clamp(2.5rem, 5vw, 4rem);
	border-bottom: 1px solid rgba(255, 255, 255, 0.10);
	position: relative;
}

.hc-footer__col {
	display: flex;
	flex-direction: column;
	gap: var(--hc-space-4);
}

.hc-footer__brand {
	display: inline-flex;
	margin-bottom: var(--hc-space-2);
}

.hc-footer__logo-img {
	display: block;
	height: 44px;
	width: auto;
	max-width: 200px;
	object-fit: contain;
}

.hc-footer__tagline {
	color: rgba(255, 255, 255, 0.7);
	font-size: var(--hc-text-sm);
	line-height: 1.6;
	max-width: 320px;
}

.hc-footer__title {
	font-family: var(--hc-font-display);
	font-size: var(--hc-text-base);
	font-weight: 600;
	color: var(--hc-white);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: var(--hc-space-2);
}

.hc-footer__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}
.hc-footer__list a {
	color: rgba(255, 255, 255, 0.75);
	font-size: var(--hc-text-sm);
	transition: color var(--hc-duration), padding-left var(--hc-duration);
	display: inline-block;
}
.hc-footer__list a:hover {
	color: var(--hc-orange);
	padding-left: 0.4rem;
}

/* ===== Контакти ===== */
.hc-footer__contact {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.5rem 0;
}

.hc-footer__contact-label {
	font-size: var(--hc-text-xs);
	color: rgba(255, 255, 255, 0.5);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.hc-footer__contact-value {
	color: var(--hc-white);
	font-family: var(--hc-font-display);
	font-weight: 600;
	font-size: var(--hc-text-base);
}
.hc-footer__contact-value:hover { color: var(--hc-orange); }

.hc-footer__contact small {
	color: rgba(255, 255, 255, 0.5);
	font-size: var(--hc-text-xs);
}

/* ===== Соцмережі ===== */
.hc-footer__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: var(--hc-space-3);
}

.hc-footer__social {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.08);
	color: var(--hc-white);
	border-radius: var(--hc-radius-full);
	transition: all var(--hc-duration) var(--hc-ease);
}
.hc-footer__social:hover {
	background: var(--hc-orange);
	color: var(--hc-white);
	transform: translateY(-3px) scale(1.05);
	box-shadow: 0 8px 16px rgba(242, 101, 34, 0.30);
}

/* ===== Newsletter ===== */
.hc-footer__newsletter-text {
	color: rgba(255, 255, 255, 0.7);
	font-size: var(--hc-text-sm);
	margin-bottom: var(--hc-space-2);
}

.hc-newsletter {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.hc-newsletter__input {
	width: 100%;
	padding: 1rem 1.25rem;
	background: rgba(255, 255, 255, 0.08);
	border: 1.5px solid rgba(255, 255, 255, 0.15);
	color: var(--hc-white);
	border-radius: var(--hc-radius-full);
	font-size: var(--hc-text-base);
	transition: all var(--hc-duration);
}
.hc-newsletter__input::placeholder { color: rgba(255, 255, 255, 0.45); }
.hc-newsletter__input:focus {
	outline: none;
	background: rgba(255, 255, 255, 0.12);
	border-color: var(--hc-orange);
	box-shadow: 0 0 0 4px rgba(242, 101, 34, 0.20);
}

.hc-newsletter__btn { width: 100%; }

.hc-newsletter__consent {
	display: flex;
	gap: 0.6rem;
	font-size: var(--hc-text-xs);
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.5;
	cursor: pointer;
	margin-top: 0.4rem;
}
.hc-newsletter__consent input {
	margin-top: 2px;
	accent-color: var(--hc-orange);
	flex-shrink: 0;
}
.hc-newsletter__consent a {
	color: var(--hc-orange-light);
	text-decoration: underline;
}
.hc-newsletter__consent a:hover { color: var(--hc-orange); }

/* ===== Bottom ===== */
.hc-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: var(--hc-space-6) 0;
	flex-wrap: wrap;
	gap: var(--hc-space-4);
}

.hc-footer__copyright {
	font-size: var(--hc-text-xs);
	color: rgba(255, 255, 255, 0.5);
	margin: 0;
}

.hc-footer__credits {
	font-family: var(--hc-font-display);
	font-size: var(--hc-text-xs);
	color: var(--hc-orange);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
	.hc-footer__grid { grid-template-columns: 1fr 1fr; }
	.hc-footer__col--newsletter { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	.hc-footer__grid { grid-template-columns: 1fr; }
	.hc-footer__bottom { flex-direction: column; align-items: flex-start; }
}
