/**
 * Agency footer — Inter, responsive, matches design system.
 * Loaded from child theme only.
 */

.agency-footer .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}
.agency-footer__newsletter-consent{
	display:flex;
	align-items:flex-start;
	gap:10px;
	margin-top:14px;
	font-size:13px;
	line-height:1.5;
	color:rgba(255,255,255,0.7);
}

.agency-footer__newsletter-consent input{
	margin-top:3px;
	flex-shrink:0;
}

.agency-footer__newsletter-consent span{
	display:block;
    font-size: 12px !important;
}

.agency-footer__bar a{
	color:inherit;
	text-decoration:none;
	transition:opacity .2s ease;
}

.agency-footer__bar a:hover{
	opacity:.7;
}


.agency-footer {
	font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	color: #111;
	-webkit-font-smoothing: antialiased;
	background: #fff;
	margin-top: 2rem;
}

.agency-footer a {
	color: inherit;
	text-decoration: none;
	transition: color 0.22s ease, opacity 0.22s ease, transform 0.22s ease,
		box-shadow 0.22s ease, background-color 0.22s ease;
}

.agency-footer a:hover {
	color: #000;
}

.agency-footer__shell {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.25rem 2rem;
}

/* Single rounded card: CTA + main */
.agency-footer__card {
	overflow: hidden;
	border-radius: 40px;
	box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
}

/* ——— Top CTA ——— */
.agency-footer__cta-block {
	position: relative;
	overflow: hidden;
	background-color: #fde8d8;
}

.agency-footer__cta-bg {
	position: absolute;
	inset: 0;
	background-image: var(--agency-footer-cta-bg);
	background-size: cover;
	background-position: center;
	pointer-events: none;
}

.agency-footer__cta-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
	padding: clamp(2rem, 5vw, 4.25rem) clamp(1.5rem, 4vw, 3.75rem);
	min-height: min(340px, 52vw);
}

.agency-footer__cta-copy {
	max-width: 34rem;
}

.agency-footer__cta-heading {
	margin: 0 0 1rem;
	font-size: clamp(1.85rem, 4.2vw, 2.85rem);
	font-weight: 700;
	line-height: 1.08;
	color: #0a0a0a;
	letter-spacing: -0.03em;
}

.agency-footer__cta-text {
	margin: 0 0 1.65rem;
	font-size: clamp(0.95rem, 2vw, 1.08rem);
	font-weight: 400;
	line-height: 1.55;
	color: #1a1a1a;
}

.agency-footer__cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.9rem 1.4rem 0.9rem 1.55rem;
	background: #0a0a0a;
	color: #fff !important;
	font-size: 0.95rem;
	font-weight: 600;
	border-radius: 999px;
	border: none;
	cursor: pointer;
	opacity: 1 !important;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.agency-footer__cta-btn:hover {
	opacity: 0.94 !important;
	transform: translateY(-2px);
	color: #fff !important;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.agency-footer__cta-btn:focus-visible {
	outline: 2px solid #0a0a0a;
	outline-offset: 3px;
}

.agency-footer__cta-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.85rem;
	height: 1.85rem;
	background: #fff;
	border-radius: 50%;
	flex-shrink: 0;
}

.agency-footer__cta-btn-icon svg {
	width: 0.55rem;
	height: 0.55rem;
}

.agency-footer__cta-media {
	display: flex;
	justify-content: center;
	align-items: center;
}

.agency-footer__cta-media img {
	width: 100%;
	max-width: 440px;
	height: auto;
	display: block;
	object-fit: contain;
	filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.12));
}

/* ——— Main footer (grey) ——— */
.agency-footer__main {
	background: #f7f7f7;
	padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem);
	border-radius: 0;
}

.agency-footer__main-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.95fr);
	gap: clamp(2rem, 4.5vw, 4rem);
	align-items: start;
}

.agency-footer__brand-col {
	display: flex;
	flex-direction: column;
	gap: 1.35rem;
}

.agency-footer__logo-row {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	flex-wrap: wrap;
}

.agency-footer__logo-row .custom-logo-link {
	display: inline-flex;
	max-height: 38px;
	width: auto;
	line-height: 0;
}

.agency-footer__logo-row .custom-logo-link img {
	max-height: 38px;
	width: auto;
	display: block;
}

.agency-footer__site-name {
	font-size: 1.08rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #0a0a0a;
}

.agency-footer__tagline {
	margin: 0;
	font-size: clamp(1.4rem, 2.9vw, 2.05rem);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.025em;
	color: #0a0a0a;
	max-width: 22ch;
}

.agency-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.agency-footer__social a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.55rem;
	height: 2.55rem;
	background: #fff;
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	opacity: 1;
}

.agency-footer__social a:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.agency-footer__social svg {
	width: 1.05rem;
	height: 1.05rem;
}

/* Newsletter — stacked full width */
.agency-footer__newsletter {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	max-width: 100%;
	width: 100%;
}

.agency-footer__newsletter-fields {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	width: 100%;
	max-width: 20rem;
}

.agency-footer__newsletter input[type="email"] {
	width: 100%;
	box-sizing: border-box;
	padding: 0.9rem 1.05rem;
	border: none;
	border-radius: 12px;
	background: #e8e8e8;
	font-family: inherit;
	font-size: 0.92rem;
	color: #111;
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

.agency-footer__newsletter input[type="email"]::placeholder {
	color: #666;
}

.agency-footer__newsletter input[type="email"]:focus {
	outline: none;
	background: #e0e0e0;
	box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.09);
}

.agency-footer__newsletter button[type="submit"] {
	width: 100%;
	box-sizing: border-box;
	padding: 0.9rem 1.25rem;
	border: none;
	border-radius: 12px;
	background: #0d0d0d;
	color: #fff;
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.agency-footer__newsletter button[type="submit"]:hover {
	background: #222;
	transform: translateY(-1px);
}

.agency-footer__newsletter button[type="submit"]:focus-visible {
	outline: 2px solid #0a0a0a;
	outline-offset: 2px;
}

.agency-footer__newsletter button[type="submit"]:disabled {
	cursor: wait;
	opacity: 0.85;
}

.agency-footer__newsletter button[type="submit"].is-loading {
	pointer-events: none;
}

.agency-footer__newsletter-feedback {
	min-height: 0;
	margin-top: 0.35rem;
}

.agency-footer__notice {
	margin: 0;
	font-size: 0.82rem;
	color: #444;
}

.agency-footer__notice--ok {
	color: #0d6b2d;
}

.agency-footer__notice--err {
	color: #b42318;
}

/* Menu columns — adapts to 1–3 assigned menus */
.agency-footer__menus {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
	gap: clamp(1.25rem, 3vw, 2.75rem);
}

.agency-footer__menu-col h3 {
	margin: 0 0 1.05rem;
	font-size: 0.98rem;
	font-weight: 700;
	color: #0a0a0a;
	letter-spacing: -0.015em;
}

.agency-footer__menu-col .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.68rem;
}

.agency-footer__menu-col .menu a {
	font-size: 0.91rem;
	font-weight: 400;
	color: #3d3d3d;
	display: inline-block;
}

.agency-footer__menu-col .menu a:hover {
	color: #000;
}

/* Bottom bar — outside card */
.agency-footer__bar {
	margin-top: 1.35rem;
	padding: 0.85rem 1rem;
	border-radius: 0;
	text-align: center;
}

.agency-footer__bar p {
	margin: 0;
	font-size: 0.8rem;
	color: #5a5a5a;
}

@media (max-width: 900px) {
	.agency-footer__cta-inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.agency-footer__cta-copy {
		max-width: none;
	}

	.agency-footer__cta-media {
		order: -1;
	}

	.agency-footer__main-grid {
		grid-template-columns: 1fr;
	}

	.agency-footer__cta-btn {
		justify-content: center;
	}

	.agency-footer__newsletter-fields {
		max-width: none;
	}
}

@media (max-width: 560px) {
	.agency-footer__card {
		border-radius: 28px;
	}

	.agency-footer__menus {
		grid-template-columns: 1fr;
	}

	.agency-footer__shell {
		padding-inline: 1rem;
	}
}