/* ==========================================================================
   Footer widget — ported from pestcontrolgroupusa_core_old
   (components.css .site-footer__*, layout.css .site-footer__grid,
   responsive.css site-footer breakpoints). Classes are namespaced
   pcgu-footer(__*) to avoid collisions with other plugins/themes;
   rendered output otherwise matches the original exactly.

   The call button is an <a> that sets box-shadow, so the Elementor/theme
   global <a> reset documented in Hero/Header/About/Services applies here
   too — that rule is prefixed with the widget wrapper class. ---- */

.pcgu-footer {
	position: relative;
	overflow: hidden;
	background-color: var(--primary);
	color: var(--primary-foreground);
	padding-bottom: 6rem;
}
.pcgu-footer__inner {
	padding-top: 4rem;
}
.pcgu-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}
.pcgu-footer__brand {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.pcgu-footer .pcgu-footer__brand-logo {
	/* Elementor's own `.elementor img { height: auto; max-width: 100% }`
	   reset is (0,1,1), which beats a bare `.pcgu-footer__brand-logo`
	   (0,1,0) — same collision class as the <a>/[type=button] resets
	   documented elsewhere in this codebase. Prefixed with the widget
	   wrapper class to reach (0,2,0). */
	display: block;
	height: 3.75rem;
	width: auto;
	max-width: none;
}
.pcgu-footer__brand-tag {
	margin: 0.875rem 0 0 0;
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.22em;
	color: var(--accent);
}
.pcgu-footer__desc {
	margin: 1.5rem 0 0 0;
	max-width: 28rem;
	font-size: 0.875rem;
	color: color-mix(in oklab, var(--primary-foreground) 75%, transparent);
}
.pcgu-footer .pcgu-footer__call {
	margin-top: 1.5rem;
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	border-radius: var(--radius-2xl);
	background-image: var(--gradient-call);
	padding: 0.875rem 1.25rem;
	color: var(--primary-foreground);
	box-shadow: var(--shadow-call);
}
.pcgu-footer__call span {
	font-size: 0.875rem;
	font-weight: 700;
}
.pcgu-footer__col-title {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--accent);
}
.pcgu-footer__col-list {
	/* The theme's reset.css zeroes ul margin but not list-style/padding, so
	   this needs an explicit reset or it shows bullets + left indent (same
	   gotcha as Process's <ol>). */
	list-style: none;
	padding: 0;
	margin: 1rem 0 0 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: color-mix(in oklab, var(--primary-foreground) 80%, transparent);
}
.pcgu-footer__col-link {
	transition: color 200ms;
}
.pcgu-footer__col-link:hover {
	color: var(--accent);
}
.pcgu-footer__col-link--break {
	word-break: break-all;
}
.pcgu-footer__social {
	margin-top: 1.25rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}
.pcgu-footer__social-link {
	display: grid;
	place-items: center;
	height: 2.25rem;
	width: 2.25rem;
	border-radius: var(--radius-md);
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--primary-foreground);
	transition: background-color 200ms, color 200ms;
}
.pcgu-footer__social-link:hover {
	background-color: var(--accent);
	color: var(--primary);
}
.pcgu-footer__bottom {
	margin-top: 3rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 1.5rem;
	font-size: 0.75rem;
	color: color-mix(in oklab, var(--primary-foreground) 60%, transparent);
	text-align: center;
}
.pcgu-footer__bottom p {
	margin: 0;
}

/* ---- Responsive — exact original breakpoints (sm:640 / md:768 / lg:1024) ---- */

@media (min-width: 640px) {
	.pcgu-footer .pcgu-footer__brand-logo { height: 4.25rem; }
	.pcgu-footer__bottom { flex-direction: row; text-align: left; }
}

@media (min-width: 768px) {
	.pcgu-footer { padding-bottom: 2.5rem; }
}

@media (min-width: 1024px) {
	.pcgu-footer .pcgu-footer__brand-logo { height: 5rem; }
	.pcgu-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
