/**
 * PRIMO site footer — final visual polish.
 *
 * Type: Newsreader (tagline) + DM Sans (UI)
 * Gold: var(--gold) / #e1b76e
 * BG / text: For Business panel tokens (#073f49 family)
 * Scoped to #footer.pg-footer
 */

#footer.pg-footer {
	/*
	 * Match For Business panel (.business-body):
	 * bg var(--teal) → #073f49, gold #e1b76e, body #d6e3e4, list #e8f0f0
	 */
	--pg-footer-bg: var(--teal, #073f49);
	--pg-footer-border: rgba(232, 240, 240, 0.14);
	--pg-footer-divider: rgba(255, 255, 255, 0.12);
	--pg-footer-text: #ffffff;
	--pg-footer-muted: #d6e3e4;
	--pg-footer-soft: rgba(232, 240, 240, 0.78);
	--pg-footer-gold: var(--gold, #e1b76e);
	--pg-footer-link: #e8f0f0;
	--pg-footer-link-hover: #ffffff;
	--pg-footer-sans: var(--sans, var(--pg-font-ui, 'DM Sans', Arial, sans-serif));
	--pg-footer-serif: var(--serif, var(--pg-font-display, 'Newsreader', Georgia, serif));

	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: var(--pg-footer-text);
	font-family: var(--pg-footer-sans);
	font-size: 14px;
	line-height: 1.5;
	border-top: 1px solid rgba(225, 183, 110, 0.22);
	background: var(--pg-footer-bg);
	background-image: none;
}

#footer.pg-footer::before {
	content: none;
}

#footer.pg-footer > * {
	position: relative;
	z-index: 1;
}

#footer.pg-footer a {
	text-decoration: none;
	color: inherit;
}

/* —— Main —— */
.pg-footer__main {
	padding-top: 56px;
	padding-bottom: 40px;
}

.pg-footer__grid {
	display: grid;
	/* Brand needs room for region string + summary on one line; menus stay compact. */
	grid-template-columns: minmax(320px, 1.85fr) repeat(4, minmax(0, 1fr));
	gap: 28px 36px;
	align-items: start;
	min-width: 0;
}

.pg-footer__col {
	min-width: 0;
}

/* Brand column + subtle desktop divider */
.pg-footer__col--brand {
	padding-right: 28px;
	border-right: 1px solid var(--pg-footer-divider);
}

.pg-footer__brand {
	display: inline-flex;
	align-items: center;
	margin-bottom: 10px;
}

.pg-footer__brand img {
	width: 140px;
	height: auto;
	display: block;
}

.pg-footer__tagline {
	margin: 0 0 8px;
	max-width: 42ch;
	font-family: var(--pg-footer-serif);
	font-size: 17px;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.3;
	color: var(--pg-footer-gold);
}

.pg-footer__summary {
	margin: 0 0 16px;
	max-width: 46ch;
	font-family: var(--pg-footer-sans);
	font-size: 13px;
	font-weight: 450;
	line-height: 1.5;
	color: var(--pg-footer-muted);
}

.pg-footer__meta {
	margin: 0 0 10px;
	max-width: 52ch;
}

.pg-footer__meta-label,
.pg-footer__heading {
	display: block;
	margin: 0 0 5px;
	font-family: var(--pg-footer-sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--pg-footer-gold);
	line-height: 1.3;
}

.pg-footer__meta-value {
	margin: 0;
	font-family: var(--pg-footer-sans);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--pg-footer-link);
}

/* Contact cluster */
.pg-footer__phone-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 14px 0 8px;
	min-width: 0;
}

#footer.pg-footer .pg-footer__whatsapp-mark {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	flex: none;
	border-radius: 50%;
	border: 1px solid rgba(225, 183, 110, 0.5);
	color: var(--pg-footer-gold);
	transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

#footer.pg-footer .pg-footer__whatsapp-mark svg {
	width: 16px;
	height: 16px;
	stroke-width: 1.55;
	fill: none;
	stroke: currentColor;
}

#footer.pg-footer .pg-footer__whatsapp-mark:hover,
#footer.pg-footer .pg-footer__whatsapp-mark:focus-visible {
	background: rgba(225, 183, 110, 0.14);
	border-color: var(--pg-footer-gold);
	color: #ecd4a0;
	outline: none;
}

#footer.pg-footer .pg-footer__whatsapp-mark:focus-visible {
	outline: 2px solid var(--pg-footer-gold);
	outline-offset: 2px;
}

#footer.pg-footer .pg-footer__phone {
	display: block;
	min-width: 0;
	font-family: var(--pg-footer-sans);
	font-size: clamp(20px, 1.9vw, 24px);
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: var(--pg-footer-text);
	transition: color 0.16s ease;
}

#footer.pg-footer a.pg-footer__phone:hover,
#footer.pg-footer a.pg-footer__phone:focus-visible {
	color: var(--pg-footer-gold);
	outline: none;
}

#footer.pg-footer a.pg-footer__phone:focus-visible {
	outline: 2px solid var(--pg-footer-gold);
	outline-offset: 3px;
	border-radius: 2px;
}

#footer.pg-footer .pg-footer__channel {
	display: flex;
	align-items: center;
	gap: 8px;
	width: fit-content;
	max-width: 100%;
	min-height: 28px;
	margin: 0 0 10px;
	font-family: var(--pg-footer-sans);
	font-size: 14px;
	font-weight: 500;
	color: var(--pg-footer-link);
	transition: color 0.16s ease;
}

#footer.pg-footer .pg-footer__channel svg {
	width: 15px;
	height: 15px;
	flex: none;
	color: var(--pg-footer-gold);
	stroke-width: 1.55;
	fill: none;
	stroke: currentColor;
}

#footer.pg-footer .pg-footer__channel:hover,
#footer.pg-footer .pg-footer__channel:focus-visible {
	color: var(--pg-footer-link-hover);
	outline: none;
}

#footer.pg-footer .pg-footer__channel:focus-visible {
	outline: 2px solid var(--pg-footer-gold);
	outline-offset: 3px;
	border-radius: 2px;
}

.pg-footer__social {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 0;
}

#footer.pg-footer .pg-footer__social-link {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	border: 1px solid var(--pg-footer-border);
	background: rgba(255, 255, 255, 0.03);
	color: var(--pg-footer-text);
	transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

#footer.pg-footer .pg-footer__social-link svg {
	width: 15px;
	height: 15px;
	stroke-width: 1.55;
	fill: none;
	stroke: currentColor;
}

#footer.pg-footer .pg-footer__social-link:hover,
#footer.pg-footer .pg-footer__social-link:focus-visible {
	border-color: rgba(225, 183, 110, 0.5);
	background: rgba(225, 183, 110, 0.12);
	color: var(--pg-footer-gold);
	outline: none;
}

#footer.pg-footer .pg-footer__social-link:focus-visible {
	outline: 2px solid var(--pg-footer-gold);
	outline-offset: 2px;
}

/* Menu columns */
.pg-footer__heading {
	margin-bottom: 12px;
}

.pg-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

#footer.pg-footer .pg-footer__link {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	padding: 4px 0;
	font-family: var(--pg-footer-sans);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--pg-footer-link);
	transition: color 0.16s ease;
}

#footer.pg-footer .pg-footer__link:hover,
#footer.pg-footer .pg-footer__link:focus-visible {
	color: var(--pg-footer-link-hover);
	outline: none;
}

#footer.pg-footer .pg-footer__link:focus-visible {
	outline: 2px solid var(--pg-footer-gold);
	outline-offset: 3px;
	border-radius: 2px;
}

/* —— Utility bar —— */
.pg-footer__bar {
	border-top: 1px solid rgba(225, 183, 110, 0.22);
	background: rgba(0, 0, 0, 0.18);
}

.pg-footer__bar-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 10px 24px;
	padding-top: 14px;
	padding-bottom: 16px;
	min-width: 0;
}

.pg-footer__copy {
	display: block;
	min-width: 0;
	font-family: var(--pg-footer-sans);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1.45;
	color: var(--pg-footer-soft);
}

.pg-footer__legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0 2px;
	min-width: 0;
}

.pg-footer__legal-sep {
	display: inline-flex;
	align-items: center;
	padding: 0 6px;
	font-size: 12px;
	line-height: 1;
	color: rgba(225, 183, 110, 0.5);
	user-select: none;
}

#footer.pg-footer .pg-footer__legal-link {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 4px 4px;
	font-family: var(--pg-footer-sans);
	font-size: 12px;
	font-weight: 500;
	color: var(--pg-footer-soft);
	transition: color 0.16s ease;
}

#footer.pg-footer .pg-footer__legal-link:hover,
#footer.pg-footer .pg-footer__legal-link:focus-visible {
	color: var(--pg-footer-link-hover);
	outline: none;
}

#footer.pg-footer .pg-footer__legal-link:focus-visible {
	outline: 2px solid var(--pg-footer-gold);
	outline-offset: 2px;
	border-radius: 2px;
}

/* Need help — in-bar pill */
#footer.pg-footer .pg-footer__help {
	display: inline-flex;
	align-items: center;
	justify-self: end;
	gap: 8px;
	min-height: 38px;
	padding: 7px 15px;
	border-radius: 999px;
	border: 1px solid rgba(225, 183, 110, 0.55);
	background: transparent;
	font-family: var(--pg-footer-sans);
	font-size: 13px;
	font-weight: 650;
	letter-spacing: 0.01em;
	color: var(--pg-footer-gold);
	transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

#footer.pg-footer .pg-footer__help svg {
	width: 16px;
	height: 16px;
	stroke-width: 1.55;
	fill: none;
	stroke: currentColor;
}

#footer.pg-footer .pg-footer__help:hover,
#footer.pg-footer .pg-footer__help:focus-visible {
	background: rgba(225, 183, 110, 0.12);
	border-color: var(--pg-footer-gold);
	color: #ecd4a0;
	outline: none;
}

#footer.pg-footer .pg-footer__help:focus-visible {
	outline: 2px solid var(--pg-footer-gold);
	outline-offset: 3px;
}

/* —— Responsive —— */
@media (max-width: 1100px) {
	.pg-footer__main {
		padding-top: 48px;
		padding-bottom: 36px;
	}

	.pg-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 24px;
	}

	.pg-footer__col--brand {
		grid-column: 1 / -1;
		max-width: 520px;
		padding-right: 0;
		border-right: 0;
		padding-bottom: 4px;
		border-bottom: 1px solid var(--pg-footer-divider);
		margin-bottom: 4px;
	}
}

@media (max-width: 640px) {
	.pg-footer__main {
		padding-top: 40px;
		padding-bottom: 28px;
	}

	.pg-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px 20px;
	}

	.pg-footer__col--brand {
		grid-column: 1 / -1;
		max-width: none;
		padding-bottom: 16px;
		margin-bottom: 4px;
	}

	.pg-footer__brand img {
		width: 128px;
	}

	.pg-footer__tagline {
		font-size: 16px;
	}

	#footer.pg-footer .pg-footer__phone {
		font-size: 20px;
	}

	.pg-footer__heading {
		margin-bottom: 8px;
	}

	#footer.pg-footer .pg-footer__link {
		min-height: 28px;
		font-size: 13px;
	}

	.pg-footer__bar-inner {
		grid-template-columns: 1fr;
		justify-items: start;
		padding-top: 14px;
		padding-bottom: 18px;
		gap: 8px;
	}

	.pg-footer__legal {
		width: 100%;
		justify-content: flex-start;
	}

	#footer.pg-footer .pg-footer__help {
		justify-self: start;
	}
}

@media (max-width: 380px) {
	.pg-footer__grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}
}

/* Beat legacy `footer { background:#fff }` from editorial.css */
footer#footer.pg-footer {
	background: var(--teal, #073f49);
	background-image: none;
}
