/**
 * Footer · newsletter + columnas (max 1700px) + copyright.
 */

.hec-footer {
	background: #0a0a0a;
	color: #fff;
	font-size: 0.95rem;
}

.hec-footer__inner {
	max-width: 1700px;
	margin: 0 auto;
	padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}

/* ——— Newsletter ——— */
.hec-footer__newsletter {
	/*background: linear-gradient(
		90deg,
		var(--hec-grad-to, #c94a0a) 0%,
		var(--hec-accent, #e07a2f) 45%,
		var(--hec-grad-from, #f08a2a) 100%
	);*/
	background: var(--hec-grad-from);
	padding: clamp(2rem, 4vw, 2.75rem) 0;
	overflow: hidden;
}

.hec-footer__newsletter-inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) minmax(280px, 1.1fr) auto;
	gap: clamp(1rem, 2.5vw, 2rem);
	align-items: center;
}

.hec-footer__nl-icon {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	/*width: clamp(56px, 7vw, 88px);*/
	color: #fff;
	flex-shrink: 0;
}

.hec-footer__nl-icon img {
	width: 100%;
	height: auto;
	max-height: 72px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.hec-footer__nl-svg {
	width: 100%;
	height: auto;
	display: block;
}

.hec-footer__nl-dash {
	position: absolute;
	pointer-events: none;
	border: 0;
	opacity: 0.55;
}

.hec-footer__nl-dash--left {
	width: 70px;
	height: 40px;
	right: -48px;
	top: 8px;
	border-top: 1.5px dashed rgba(255, 255, 255, 0.7);
	border-right: 1.5px dashed rgba(255, 255, 255, 0.7);
	border-radius: 0 28px 0 0;
	transform: rotate(-8deg);
}

.hec-footer__nl-dash--right {
	width: 64px;
	height: 28px;
	left: -40px;
	bottom: 10px;
	border-bottom: 1.5px dashed rgba(255, 255, 255, 0.7);
	border-left: 1.5px dashed rgba(255, 255, 255, 0.7);
	border-radius: 0 0 0 24px;
	transform: rotate(-12deg);
}

.hec-footer__nl-eyebrow {
	margin: 0 0 0.4rem;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.95;
}

.hec-footer__nl-title {
	margin: 0;
	font-family: var(--hec-font-heading, var(--hec-font));
	font-size: clamp(1.35rem, 2.4vw, 2.7rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.2;
	max-width: 18ch;
	color: #fff;
}

.hec-footer__nl-form-wrap {
	min-width: 0;
}

.hec-footer__nl-row {
	display: flex;
	align-items: stretch;
	width: 100%;
	max-width: 520px;
}

.hec-footer__nl-input {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0.95rem 1.1rem;
	border: 0;
	border-radius: 0;
	background: #fff;
	color: #333;
	font: inherit;
	font-size: 0.95rem;
}

.hec-footer__nl-input::placeholder {
	color: #9a9a9a;
}

.hec-footer__nl-input:focus {
	outline: 2px solid #111;
	outline-offset: -2px;
}

.hec-footer__nl-btn {
	flex: 0 0 auto;
	margin: 0;
	padding: 0.95rem 1.45rem;
	border: 0;
	border-radius: 0;
	background: #111 !important;
	color: #fff !important;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
	appearance: none;
}

.hec-footer__nl-btn:hover,
.hec-footer__nl-btn:focus {
	background: #000 !important;
	color: #fff !important;
}

.hec-footer__nl-check {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	margin-top: 0.75rem;
	font-size: 0.8rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.95);
	cursor: pointer;
	max-width: 520px;
}

.hec-footer__nl-check input {
	margin-top: 0.2rem;
	flex-shrink: 0;
	accent-color: #111;
}

.hec-footer__nl-check a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hec-footer__nl-msg {
	margin: 0.65rem 0 0;
	font-size: 0.85rem;
	font-weight: 600;
}

.hec-footer__nl-msg--ok {
	color: #e8ffe8;
}

.hec-footer__nl-msg--err {
	color: #ffe8e8;
}

/* ——— Main columns ——— */
.hec-footer__main {
	padding: clamp(3rem, 6vw, 4.5rem) 0 2.75rem;
	background: #0a0a0a;
}

.hec-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.85fr));
	gap: clamp(1.75rem, 3vw, 3rem);
}

.hec-footer__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
	color: #fff;
	margin-bottom: 1.1rem;
}

.hec-footer__logo {
	display: block;
	max-height: 48px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
}

.hec-footer__brand-name {
	font-family: var(--hec-font-heading, var(--hec-font));
	font-size: 1.65rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: #fff;
}

.hec-footer__desc {
	margin: 0 0 1.35rem;
	max-width: 36ch;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.78);
	font-size: 18px;
}

.hec-footer__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hec-footer__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: #111;
	color: #fff;
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hec-footer__social:hover,
.hec-footer__social:focus {
	border-color: var(--hec-accent, #e07a2f) !important;
	color: var(--hec-accent, #e07a2f) !important;
	background: #161616;
}

.hec-footer__heading {
	margin: 0 0 1.15rem;
	font-family: var(--hec-font-heading, var(--hec-font));
	font-size: 24px;
	font-weight: 700;
	color: var(--hec-accent, #e07a2f);
}

.hec-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

.hec-footer__links a {
	color: rgba(255, 255, 255, 0.88);
	text-decoration: none;
	transition: color 0.2s ease;
	font-size: 18px;
}

.hec-footer__links a:hover,
.hec-footer__links a:focus {
	color: var(--hec-accent, #e07a2f);
}

.hec-footer__info {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.88);
	font-size: 18px;
}

.hec-footer__info a {
	color: inherit;
	text-decoration: none;
}

.hec-footer__info a:hover,
.hec-footer__info a:focus {
	color: var(--hec-accent, #e07a2f);
}

.hec-footer__info-label {
	font-weight: 600;
	margin-right: 0.2rem;
}

/* ——— Bottom bar ——— */
.hec-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 1.15rem 0;
	background: #0a0a0a;
}

.hec-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
}

.hec-footer__copy,
.hec-footer__legal {
	margin: 0;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.75);
}

.hec-footer__copy-brand {
	color: inherit;
	text-decoration: none;
	font-weight: 600;
}

.hec-footer__copy-brand:hover,
.hec-footer__copy-brand:focus {
	color: var(--hec-accent, #e07a2f);
}

.hec-footer__legal a {
	color: inherit;
	text-decoration: none;
}

.hec-footer__legal a:hover,
.hec-footer__legal a:focus {
	color: #fff;
}

.hec-footer--simple {
	padding: 2rem;
	text-align: center;
	color: rgba(255, 255, 255, 0.75);
}

.hec-footer--simple p {
	margin: 0;
}

@media (max-width: 1100px) {
	.hec-footer__newsletter-inner {
		grid-template-columns: auto 1fr auto;
		grid-template-areas:
			'left copy right'
			'form form form';
	}

	.hec-footer__nl-icon--left {
		grid-area: left;
	}

	.hec-footer__nl-copy {
		grid-area: copy;
	}

	.hec-footer__nl-form-wrap {
		grid-area: form;
	}

	.hec-footer__nl-icon--right {
		grid-area: right;
	}

	.hec-footer__nl-title {
		max-width: none;
	}

	.hec-footer__nl-row,
	.hec-footer__nl-check {
		max-width: none;
	}

	.hec-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.hec-footer__col--brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.hec-footer__newsletter-inner {
		grid-template-columns: 1fr;
		grid-template-areas:
			'copy'
			'form';
		text-align: left;
	}

	.hec-footer__nl-icon {
		display: none;
	}

	.hec-footer__nl-row {
		flex-direction: column;
	}

	.hec-footer__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.hec-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
	}
}
