.ppc-footer {
	/* Figma pattern fill, dark variant: the shared white-star tile overlaid on the scheme-6 navy. */
	background: var(--ppc-texture-scheme5) repeat left top / 54.95px 109.9px, var(--ppc-color-scheme6-bg);
	background-blend-mode: overlay, normal;
	color: var(--ppc-color-scheme6-text);
	padding-block: var(--ppc-section-pad-y);
	padding-inline: var(--ppc-section-inset-x);
	font-family: var(--ppc-font-open-sans);
	font-size: 0.875rem;
	line-height: var(--ppc-line-height-body);
	overflow: clip;
}

.ppc-footer__container {
	width: 100%;
	max-width: var(--ppc-container-width);
	margin-inline: auto;
}

.ppc-footer p {
	margin: 0;
}

.ppc-footer a {
	color: var(--ppc-color-picton-blue-lightest);
	text-decoration: none;
	transition: color 0.1s ease-in;
}

/* Social icons keep their own hover (white, opacity); exclude them from the blue link hover. */
.ppc-footer a:not(.ppc-footer__social):hover,
.ppc-footer a:not(.ppc-footer__social):focus-visible {
	color: var(--ppc-color-picton-blue-bright);
}

.ppc-footer a:focus-visible {
	outline: 2px solid var(--ppc-color-scheme6-text);
	outline-offset: 2px;
}

/* Top grid */
.ppc-footer__top {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.ppc-footer__info {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.ppc-footer__logo {
	display: inline-flex;
	align-self: flex-start;
	transition: transform 0.1s ease-in-out;
}

.ppc-footer__logo:hover,
.ppc-footer__logo:focus-visible {
	transform: scale(1.05);
}

.ppc-footer__logo img {
	display: block;
	height: 32px;
	width: auto;
}

.ppc-footer__block {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	color: var(--ppc-color-scheme6-text);
}

/* Design: 24px between the Adres/Contact/Info blocks (column gap is 32). */
.ppc-footer__block + .ppc-footer__block {
	margin-top: -0.5rem;
}

/* Underlines are 1px pseudo-element rules (consistent thickness/offset across browsers,
   spanning the text only), not text-decoration. */
.ppc-footer__block-title {
	position: relative;
	width: fit-content;
	font-weight: var(--ppc-font-weight-semibold);
	font-size: 1rem;
}

.ppc-footer__block-title::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	/* from-font position, calibrated against Chromium's native from-font rendering at 16/1.6. */
	bottom: 6px;
	height: 1px;
	background: currentColor;
}

/* The design's "Info" title: small and not underlined. */
.ppc-footer__block-title--plain {
	font-size: 0.875rem;
}

.ppc-footer__block-title--plain::after {
	content: none;
}

.ppc-footer__address {
	color: var(--ppc-color-scheme6-text);
}

.ppc-footer a.ppc-footer__link {
	position: relative;
	display: inline-block;
	width: fit-content;
}

.ppc-footer a.ppc-footer__link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	/* from-font position, calibrated against the native rendering at 14/1.6. */
	bottom: 5px;
	height: 1px;
	background: currentColor;
}

/* Phone is plain text in the design; only the e-mail keeps its underline. */
.ppc-footer a.ppc-footer__link[href^="tel:"]::after {
	content: none;
}

/* Rating placeholder (mirrors cta-banner) */
.ppc-footer__rating {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--ppc-font-sans);
	font-size: 0.875rem;
	color: var(--ppc-color-scheme6-text);
}

.ppc-footer__rating-label {
	font-weight: var(--ppc-font-weight-semibold);
}

.ppc-footer__rating-logo {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--ppc-color-success);
}

/* Social icons */
.ppc-footer__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* a.__social so this transition beats the generic .ppc-footer a color transition. */
.ppc-footer a.ppc-footer__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: var(--ppc-color-scheme6-text);
	opacity: 0.9;
	transition: opacity 0.1s ease-in;
}

.ppc-footer a.ppc-footer__social:hover,
.ppc-footer a.ppc-footer__social:focus-visible {
	color: var(--ppc-color-scheme6-text);
	opacity: 1;
}

.ppc-footer__social svg {
	display: block;
	width: 20px;
	height: 20px;
}

/* Menu columns */
.ppc-footer__nav-area {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

/* Mobile: two link columns instead of one endless stack. */
.ppc-footer__menus,
.ppc-footer__seo-menus {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem 1.5rem;
}

.ppc-footer__menu-title {
	position: relative;
	width: fit-content;
	font-family: var(--ppc-font-sans);
	font-weight: var(--ppc-font-weight-bold);
	font-size: 1.25rem;
	line-height: 1.4;
	letter-spacing: 0.01em;
	color: var(--ppc-color-scheme6-text);
	padding-block: 0.5rem;
	margin-bottom: 0;
}

.ppc-footer__menu-title::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4px;
	height: 1px;
	background: currentColor;
}

.ppc-footer__menu-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
}

.ppc-footer__menu-list a {
	display: inline-block;
	padding-block: 0.5rem;
	font-weight: var(--ppc-font-weight-semibold);
	font-size: 1rem;
	line-height: var(--ppc-line-height-body);
	opacity: 0.9;
}

/* Wordmark: the Figma layout box is a 717.253x101.567 window onto the 756x140 svg (the svg
   carries ~2.7% side margins and a 38% bottom shadow spill that hang outside the box), so the
   glyphs sit flush with the container's left edge like the design. Smaller + centered below
   desktop; desktop restores the design size. */
.ppc-footer__wordmark {
	position: relative;
	display: block;
	width: min(100%, 22rem);
	aspect-ratio: 717.253 / 101.567;
	margin-block: 3rem 2.5rem;
	margin-inline: auto;
}

.ppc-footer__wordmark-img {
	position: absolute;
	left: -2.7%;
	top: 0;
	width: 105.4%;
	height: 138.15%;
	max-width: none;
}

/* Mobile: one centered column for everything. */
@media (max-width: 37.4375rem) {
	.ppc-footer__info {
		align-items: center;
		text-align: center;
	}

	.ppc-footer__logo {
		align-self: center;
	}

	/* Blocks and titles are fit-content boxes: without this they sit flush left
	   inside their centered parent instead of centering themselves. p-qualified so
	   they tie with the `.ppc-footer p` margin reset and win on source order. */
	.ppc-footer__block {
		align-items: center;
	}

	p.ppc-footer__block-title,
	p.ppc-footer__menu-title {
		margin-inline: auto;
	}

	.ppc-footer__menus,
	.ppc-footer__seo-menus {
		grid-template-columns: 1fr;
	}

	.ppc-footer__menu {
		text-align: center;
	}

	.ppc-footer__menu-list {
		align-items: center;
	}

	.ppc-footer__socials {
		justify-content: center;
	}
}

/* Tablet: info blocks side by side, rating + socials share a row, three menu columns. */
@media (min-width: 37.5rem) and (max-width: 59.9375rem) {
	.ppc-footer__info {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2rem;
	}

	.ppc-footer__logo {
		grid-column: 1 / -1;
	}

	.ppc-footer__rating {
		grid-column: 1 / span 2;
		align-self: center;
	}

	.ppc-footer__socials {
		grid-column: 3;
		justify-self: start;
		align-self: center;
	}

	.ppc-footer__menus,
	.ppc-footer__seo-menus {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Bottom bar */
.ppc-footer__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	border-top: 1px solid var(--ppc-color-scheme6-border);
	padding-top: 2rem;
	text-align: center;
	color: var(--ppc-color-scheme6-text);
}

.ppc-footer a.ppc-footer__by-link {
	font-weight: var(--ppc-font-weight-bold);
	color: var(--ppc-color-picton-blue-dark);
}

.ppc-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ppc-footer__legal a {
	position: relative;
	display: inline-block;
}

.ppc-footer__legal a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	/* Same from-font position as the e-mail link (14px/1.6). */
	bottom: 5px;
	height: 1px;
	background: currentColor;
}

/* Subfooter below desktop: one column, visually inverted (legal links first, copyright last).
   Must stay AFTER the .ppc-footer__bottom base rule: same specificity, source order decides. */
@media (max-width: 59.9375rem) {
	.ppc-footer__bottom {
		flex-direction: column-reverse;
	}

	.ppc-footer__legal {
		flex-direction: column-reverse;
		align-items: center;
	}
}

@media (min-width: 60rem) {
	.ppc-footer__top {
		flex-direction: row;
		gap: 4rem;
	}

	.ppc-footer__info {
		flex: 1 1 0;
		min-width: 0;
	}

	.ppc-footer__nav-area {
		flex: 1 1 0;
		min-width: 0;
		gap: 3rem;
	}

	.ppc-footer__menus,
	.ppc-footer__seo-menus {
		grid-template-columns: repeat(3, 1fr);
	}

	.ppc-footer__wordmark {
		width: min(100%, 44.828rem);
		margin-block: 4rem 3rem;
		margin-inline: 0;
	}

	.ppc-footer__bottom {
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		text-align: left;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ppc-footer__logo,
	.ppc-footer a,
	.ppc-footer__social {
		transition: none;
	}
}
