/*
 * Dolan custom footer.
 * Class names are simple and always scoped under the .dl-footer root — no BEM.
 * Scoping under .dl-footer keeps styles from bleeding into Elementor pages AND
 * wins over the Elementor kit's `.elementor-kit-#### <el>` rules (0,1,1).
 * Brand alignment: Oswald (display) + Quattrocento (body), brand green #215732.
 */

.dl-footer {
	/* Brand-guide palette: green Pantone 357/485C #215732, gold Pantone 143C #F1B434 */
	--dl-green: #215732;
	--dl-green-deep: #173d23;
	--dl-gold: #F1B434;
	--dl-ink: #14301f;
	--dl-line: rgba(255, 255, 255, 0.14);
	--dl-on: #ffffff;
	--dl-on-dim: rgba(255, 255, 255, 0.82);
	--dl-on-faint: rgba(255, 255, 255, 0.6);
	--dl-container: 1240px;

	--dl-font-display: "Oswald", "Helvetica Neue", Arial, sans-serif;
	--dl-font-body: "Quattrocento", Georgia, "Times New Roman", serif;

	background: var(--dl-green);
	color: var(--dl-on);
	font-family: var(--dl-font-body);
	font-size: 16px;
	line-height: 1.5;
}

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

/* Reset inherited theme/Elementor-kit typography inside the footer. */
.dl-footer h2 { margin: 0; padding: 0; }

.dl-footer .inner {
	max-width: var(--dl-container);
	margin: 0 auto;
	padding: clamp(2rem, 4vw, 3.25rem) clamp(1.25rem, 4vw, 3.25rem);
}

/* Top zone: brand lockup + CTA */
.dl-footer .top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem 2rem;
	padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
	border-bottom: 1px solid var(--dl-line);
}

.dl-footer .logo { display: inline-flex; }
.dl-footer .logo img { max-height: 80px; width: auto; height: auto; display: block; }

.dl-footer .cta {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	background: var(--dl-gold);
	color: var(--dl-ink);
	font-family: var(--dl-font-display);
	font-weight: 500;
	font-size: 1rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 0.95rem 1.6rem;
	border-radius: 8px;
	box-shadow: 0 10px 24px -12px rgba(242, 154, 28, 0.9);
	transition: transform 180ms ease, background-color 180ms ease;
}
.dl-footer .cta:hover { background: #ffad35; transform: translateY(-2px); }
.dl-footer .cta svg { width: 18px; height: 18px; }

/* Link columns + contact */
.dl-footer .grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr)) 1.5fr;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	padding-top: clamp(1.75rem, 3vw, 2.5rem);
}

.dl-footer .col { min-width: 0; }
.dl-footer .col-head {
	font-family: var(--dl-font-body);
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dl-gold);
	margin: 0 0 1rem;
	word-spacing: normal;
}
/* Heading rendered as a link (real URL) inherits the label styling exactly. */
.dl-footer .col-head-link {
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	text-decoration: none;
	transition: color 160ms ease;
}
.dl-footer .col-head-link:hover { color: var(--dl-on); }

.dl-footer .list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.62rem;
}
.dl-footer .list a {
	color: var(--dl-on-dim);
	text-decoration: none;
	font-size: 0.98rem;
	line-height: 1.4;
	transition: color 160ms ease;
}
.dl-footer .list a:hover { color: var(--dl-on); }

/* Contact block */
.dl-footer .contact-row { display: flex; align-items: center; gap: 0.65rem; margin: 0 0 0.7rem; }
.dl-footer .contact-icon { display: inline-flex; color: var(--dl-gold); flex: none; }
.dl-footer .contact-icon svg { width: 18px; height: 18px; }
.dl-footer .contact-row a {
	color: var(--dl-on);
	text-decoration: none;
	font-size: 1.05rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}
.dl-footer .contact-row a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dl-footer .place { font-size: 0.88rem; color: var(--dl-on-dim); margin: 0.2rem 0 1.15rem; }

.dl-footer .social { display: flex; gap: 0.6rem; }
.dl-footer .social a {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--dl-line);
	border-radius: 50%;
	color: var(--dl-on);
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.dl-footer .social a:hover { background: var(--dl-gold); border-color: var(--dl-gold); color: var(--dl-ink); transform: translateY(-2px); }
.dl-footer .social svg { width: 18px; height: 18px; }

/* Legal bar */
.dl-footer .legal {
	background: var(--dl-green-deep);
	font-size: 0.84rem;
	color: var(--dl-on-dim);
}
.dl-footer .legal-inner {
	max-width: var(--dl-container);
	margin: 0 auto;
	padding: 1.1rem clamp(1.25rem, 4vw, 3.25rem);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
}
.dl-footer .legal-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; }
.dl-footer .legal a { color: var(--dl-on-dim); text-decoration: none; }
.dl-footer .legal a:hover { color: var(--dl-on); text-decoration: underline; text-underline-offset: 3px; }

/* Focus states */
.dl-footer a:focus-visible {
	outline: 3px solid var(--dl-gold);
	outline-offset: 3px;
	border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.dl-footer * { transition: none !important; }
}

/* Responsive */
@media (max-width: 900px) {
	.dl-footer .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dl-footer .contact-col { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.dl-footer .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dl-footer .top { flex-direction: column; align-items: flex-start; }
	.dl-footer .cta { width: 100%; justify-content: center; }
}
