/*
 * Inprodi Footer — scoped, self-contained styles.
 *
 * Black band (#000), white text. Six-column grid on desktop: brand + contact
 * spans two columns, then four link columns; a centered copyright bar below.
 * Namespaced under .inprodi-footer, no global reset.
 */

.inprodi-footer,
.inprodi-footer *,
.inprodi-footer *::before,
.inprodi-footer *::after {
	box-sizing: border-box;
}

.inprodi-footer {
	width: 100%;
	background-color: #f8eee7; /* brand cream — fades in seamlessly from the CTA above */
	color: #1c3f58;
	/* No top border: the CTA's gradient fades into this exact cream, so the CTA
	   and footer read as one continuous section (no divider line). */
}

.inprodi-footer__container {
	width: 100%;
	max-width: 80rem; /* max-w-7xl */
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

.inprodi-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding-top: 3.5rem;
	padding-bottom: 3.5rem;
	text-align: center;
}

/* ---- Brand / contact column ---- */
.inprodi-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}

.inprodi-footer__logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.inprodi-footer__logo-img {
	display: block;
	max-height: 125px; /* stacked mark (mountain + wordmark), sized to fit its column */
	max-width: 100%;
	width: auto;
	height: auto;
	/* No recolor: the logo asset (LOGO_NUNATAK-27.png) is already coffee/brown. */
}

.inprodi-footer__logo-text {
	color: #3e2618;
	font-family: 'Playfair Display', serif;
	font-weight: 600;
	font-size: 1.75rem; /* 28px */
	line-height: 1;
	letter-spacing: 0.01em;
}

.inprodi-footer__contact {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.inprodi-footer__contact-item {
	display: flex;
	align-items: flex-start; /* keep the icon by the first line when the address wraps */
	justify-content: center;
	gap: 0.625rem;
	color: rgba(28, 63, 88, 0.72);
	font-family: var(--nk-font-sans);
	font-size: 1rem;
	line-height: 1.4;
}

.inprodi-footer__contact-item a {
	color: rgba(28, 63, 88, 0.72);
	text-decoration: none;
	transition: color 0.3s ease;
}

.inprodi-footer__contact-item a:hover {
	color: #1c3f58;
}

.inprodi-footer__contact-icon {
	display: inline-flex;
	flex-shrink: 0;
	color: #1c3f58;
}

.inprodi-footer__contact-icon svg {
	display: block;
	width: 20px;
	height: 20px;
}

/* ---- Social icons ---- */
.inprodi-footer__social {
	display: flex;
	align-items: center;
	justify-content: center; /* centered on mobile; left from sm up */
	gap: 0.75rem;
}

/* The Contacto column is rendered right after the brand in the DOM but shown at the
   END of the row (after the link columns) for a more balanced grid. */
.inprodi-footer__col--contact {
	order: 1;
}

.inprodi-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(28, 63, 88, 0.25);
	border-radius: 50%;
	color: #1c3f58;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.inprodi-footer__social a:hover {
	background-color: rgba(28, 63, 88, 0.08);
	border-color: #1c3f58;
}

.inprodi-footer__social svg {
	display: block;
	width: 18px;
	height: 18px;
}

/* ---- Link columns ---- */
.inprodi-footer__col-title {
	margin: 0 0 1.5rem;
	color: #3e2618;
	font-family: 'Playfair Display', serif;
	font-size: 1.25rem; /* 20px */
	font-weight: 600;
	line-height: 1.4;
}

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

.inprodi-footer__links a {
	color: rgba(28, 63, 88, 0.7);
	font-family: var(--nk-font-sans);
	font-size: 1rem;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.3s ease;
}

.inprodi-footer__links a:hover {
	color: #1c3f58;
}

/* ---- Bottom bar ---- */
.inprodi-footer__bottom {
	padding-top: 1.75rem;
	padding-bottom: 1.75rem;
	border-top: 1px solid rgba(28, 63, 88, 0.12);
	display: flex;
	flex-direction: column; /* mobile: copyright stacked over the legal links */
	align-items: center;
	justify-content: center;
	gap: 1rem;
	text-align: center;
}

.inprodi-footer__copy {
	color: rgba(28, 63, 88, 0.55);
	font-family: var(--nk-font-sans);
	font-size: 1rem;
	line-height: 1.5;
}

/* Legal links — a horizontal row in the bottom bar (moved out of the grid). */
.inprodi-footer__legal {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 1.25rem;
}

.inprodi-footer__legal a {
	color: rgba(28, 63, 88, 0.55);
	font-family: var(--nk-font-sans);
	font-size: 0.875rem; /* 14px */
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.3s ease;
}

.inprodi-footer__legal a:hover {
	color: #1c3f58;
}

/* sm — two link columns, brand full width */
@media (min-width: 640px) {
	.inprodi-footer__container {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
	.inprodi-footer__grid {
		grid-template-columns: repeat(2, 1fr);
		text-align: left;
	}
	.inprodi-footer__brand {
		align-items: flex-start;
	}
	.inprodi-footer__contact-item {
		justify-content: flex-start;
	}
	.inprodi-footer__social {
		justify-content: flex-start;
	}
	.inprodi-footer__bottom {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
}

/* lg — six columns: brand spans two, four link columns */
@media (min-width: 1024px) {
	.inprodi-footer__container {
		padding-left: 2rem;
		padding-right: 2rem;
	}
	.inprodi-footer__grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 2rem;
	}
	.inprodi-footer__brand {
		align-items: flex-start;
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.inprodi-footer__links a,
	.inprodi-footer__contact-item a {
		transition: none;
	}
}
