/*
Theme Name: STAN ZERO Therm
Author: STAN ZERO Therm
Description: Dynamiczny motyw dla firmy wykonujacej plyty fundamentowe i stan zero.
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tfp
*/

:root {
	--tfp-primary: #171717;
	--tfp-accent: #d4af37;
	--tfp-dark: #111111;
	--tfp-text: #1b1b1b;
	--tfp-muted: #68645b;
	--tfp-line: #dedbd2;
	--tfp-light: #f4f3ef;
	--tfp-white: #ffffff;
	--tfp-radius: 6px;
	--tfp-shadow: 0 18px 45px rgba(17, 17, 17, 0.12);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--tfp-white);
	color: var(--tfp-text);
	font-family: Arial, Helvetica, sans-serif;
	margin: 0;
	text-rendering: optimizeLegibility;
}

body.menu-open {
	overflow: hidden;
}

img {
	height: auto;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea,
select {
	font: inherit;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.skip-link {
	background: var(--tfp-accent);
	color: #111111;
	font-weight: 800;
	left: 1rem;
	padding: 0.8rem 1rem;
	position: fixed;
	top: -5rem;
	z-index: 200;
}

.skip-link:focus {
	top: 1rem;
}

.container {
	margin: 0 auto;
	max-width: 1240px;
	padding: 0 24px;
	width: 100%;
}

.site-header {
	background: rgba(255, 255, 255, 0.98);
	border-bottom: 1px solid rgba(17, 17, 17, 0.09);
	position: sticky;
	top: 0;
	z-index: 100;
}

.site-header__inner {
	align-items: center;
	display: flex;
	gap: 2rem;
	justify-content: space-between;
	min-height: 86px;
}

.site-logo {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
}

.site-logo img {
	display: block;
	height: auto;
	max-height: 66px;
	width: auto;
}

.site-logo__image--default {
	width: 116px;
}

.site-nav {
	margin-left: auto;
}

.menu,
.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav > .menu {
	align-items: center;
	display: flex;
	gap: 1.7rem;
}

.site-nav .menu > li {
	position: relative;
}

.site-nav .menu a {
	color: #34322d;
	display: block;
	font-size: 0.9rem;
	font-weight: 800;
	padding: 2rem 0;
}

.site-nav .menu a:hover,
.site-nav .menu a:focus,
.site-nav .current-menu-item > a {
	color: #9a7714;
}

.site-nav .menu-item-has-children > a {
	align-items: center;
	display: flex;
	gap: 0.4rem;
}

.site-nav .menu-item-has-children > a::after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid var(--tfp-accent);
	content: "";
}

.site-nav .sub-menu {
	background: var(--tfp-white);
	border-top: 3px solid var(--tfp-accent);
	box-shadow: var(--tfp-shadow);
	left: -1rem;
	list-style: none;
	margin: 0;
	min-width: 250px;
	opacity: 0;
	padding: 0.55rem;
	pointer-events: none;
	position: absolute;
	top: calc(100% - 0.35rem);
	transform: translateY(8px);
	transition: opacity 160ms ease, transform 160ms ease;
	z-index: 120;
}

.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.site-nav .sub-menu a {
	padding: 0.75rem;
}

.site-nav .sub-menu a:hover,
.site-nav .sub-menu a:focus {
	background: var(--tfp-light);
}

.menu-toggle {
	align-items: center;
	background: transparent;
	border: 1px solid var(--tfp-line);
	border-radius: 4px;
	cursor: pointer;
	display: none;
	height: 44px;
	justify-content: center;
	padding: 0;
	width: 44px;
}

.menu-toggle__icon {
	display: grid;
	gap: 4px;
	width: 20px;
}

.menu-toggle__icon i {
	background: var(--tfp-dark);
	display: block;
	height: 2px;
	transition: transform 160ms ease, opacity 160ms ease;
	width: 100%;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child {
	transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child {
	transform: translateY(-6px) rotate(-45deg);
}

.hero {
	background: var(--tfp-dark);
	color: var(--tfp-white);
	height: min(780px, calc(100svh - 118px));
	min-height: 610px;
	overflow: hidden;
	position: relative;
}

.hero__image {
	height: 100%;
	inset: 0;
	object-fit: cover;
	object-position: center;
	position: absolute;
	width: 100%;
}

.hero__shade {
	background: linear-gradient(90deg, rgba(8, 8, 8, 0.95) 0%, rgba(12, 12, 12, 0.82) 38%, rgba(12, 12, 12, 0.28) 72%, rgba(12, 12, 12, 0.08) 100%);
	inset: 0;
	position: absolute;
}

.hero__inner {
	align-items: center;
	display: flex;
	height: 100%;
	position: relative;
	z-index: 2;
}

.hero__content {
	max-width: 720px;
	padding: 4rem 0;
}

.eyebrow {
	color: #9a7714;
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.14em;
	margin: 0 0 1rem;
	text-transform: uppercase;
}

.eyebrow--light {
	color: var(--tfp-accent);
}

.hero h1,
.section-title {
	letter-spacing: 0;
	margin: 0;
}

.hero h1 {
	font-size: 4.7rem;
	font-weight: 900;
	line-height: 0.98;
	max-width: 760px;
	overflow-wrap: break-word;
}

.hero__lead {
	color: #e6e2da;
	font-size: 1.15rem;
	line-height: 1.7;
	margin: 1.6rem 0 0;
	max-width: 620px;
}

.button-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 2rem;
}

.button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 4px;
	display: inline-flex;
	font-size: 0.92rem;
	font-weight: 900;
	justify-content: center;
	min-height: 50px;
	padding: 0.85rem 1.25rem;
	transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button--primary {
	background: var(--tfp-accent);
	color: #111111;
}

.button--primary:hover,
.button--primary:focus {
	background: #e5c459;
}

.button--ghost {
	border-color: rgba(255, 255, 255, 0.7);
	color: var(--tfp-white);
}

.button--ghost:hover,
.button--ghost:focus {
	background: var(--tfp-white);
	color: #111111;
}

.stats-band {
	background: var(--tfp-accent);
	color: #111111;
}

.stats-band__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
	border-right: 1px solid rgba(17, 17, 17, 0.22);
	padding: 1.6rem 1.2rem;
}

.stat:first-child {
	border-left: 1px solid rgba(17, 17, 17, 0.22);
}

.stat strong,
.stat span {
	display: block;
}

.stat strong {
	font-size: 2rem;
	font-weight: 900;
	line-height: 1;
}

.stat span {
	font-size: 0.82rem;
	font-weight: 800;
	margin-top: 0.5rem;
	text-transform: uppercase;
}

.section {
	padding: 6rem 0;
}

.section--light,
.knowledge-section {
	background: var(--tfp-light);
}

.section--dark {
	background: var(--tfp-dark);
	color: var(--tfp-white);
}

.section--white {
	background: var(--tfp-white);
}

.section-head {
	margin-bottom: 2.8rem;
	max-width: 790px;
}

.section-head--split {
	align-items: end;
	display: grid;
	gap: 3rem;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
	max-width: none;
}

.section-head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.section-title {
	color: var(--tfp-text);
	font-size: 3.2rem;
	font-weight: 900;
	line-height: 1.03;
	max-width: 820px;
}

.section-title--light {
	color: var(--tfp-white);
}

.section-lead {
	color: var(--tfp-muted);
	font-size: 1rem;
	line-height: 1.75;
	margin: 1rem 0 0;
	max-width: 720px;
}

.section-head--split .section-lead {
	margin: 0;
}

.section-lead--wide {
	max-width: 650px;
}

.service-grid,
.project-grid,
.testimonial-grid,
.post-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.project-card,
.post-card {
	background: var(--tfp-white);
	border: 1px solid var(--tfp-line);
	border-radius: var(--tfp-radius);
	overflow: hidden;
}

.service-card__media,
.project-card__media,
.post-card__media {
	background: #2a2925;
	display: block;
	overflow: hidden;
	position: relative;
}

.service-card__media {
	aspect-ratio: 4 / 3;
}

.project-card__media,
.post-card__media {
	aspect-ratio: 16 / 10;
}

.service-card__media img,
.project-card__media img,
.post-card__media img {
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
	width: 100%;
}

.service-card:hover img,
.project-card:hover img,
.post-card:hover img {
	transform: scale(1.035);
}

.service-card__media::after,
.project-card__media::after {
	background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7));
	content: "";
	inset: 0;
	position: absolute;
}

.service-card__media > span {
	bottom: 1rem;
	color: var(--tfp-accent);
	font-size: 2.2rem;
	font-weight: 900;
	position: absolute;
	right: 1rem;
	z-index: 2;
}

.service-card__body,
.project-card__body,
.post-card__body {
	padding: 1.5rem;
}

.service-card h3,
.project-card h3,
.post-card h3 {
	font-size: 1.3rem;
	line-height: 1.25;
	margin: 0;
}

.service-card p,
.post-card p {
	color: var(--tfp-muted);
	font-size: 0.94rem;
	line-height: 1.65;
	margin: 0.75rem 0 0;
}

.text-link {
	align-items: center;
	color: #8c6c12;
	display: inline-flex;
	font-size: 0.88rem;
	font-weight: 900;
	margin-top: 1.2rem;
}

.text-link::after {
	content: "\2192";
	margin-left: 0.45rem;
}

.text-link--light {
	color: var(--tfp-accent);
}

.standards-section,
.statement-section,
.contact-section {
	background: var(--tfp-dark);
	color: var(--tfp-white);
}

.standards-header {
	align-items: end;
	display: flex;
	gap: 2rem;
	justify-content: space-between;
	margin-bottom: 2.2rem;
}

.slider-controls {
	display: flex;
	gap: 0.5rem;
}

.slider-controls button {
	align-items: center;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 4px;
	color: var(--tfp-white);
	cursor: pointer;
	display: inline-flex;
	font-size: 1.2rem;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.slider-controls button:hover,
.slider-controls button:focus {
	background: var(--tfp-accent);
	border-color: var(--tfp-accent);
	color: #111111;
}

.standard-slider {
	overflow: hidden;
}

.standard-slider__track {
	display: grid;
	gap: 1rem;
	grid-auto-columns: calc((100% - 2rem) / 3);
	grid-auto-flow: column;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	padding-bottom: 0.75rem;
	scroll-snap-type: x mandatory;
	scrollbar-color: var(--tfp-accent) rgba(255, 255, 255, 0.12);
	scrollbar-width: thin;
}

.standard-slide {
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--tfp-radius);
	min-height: 370px;
	padding: 1.7rem;
	scroll-snap-align: start;
}

.standard-slide__label {
	color: var(--tfp-accent);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	margin: 0;
	text-transform: uppercase;
}

.standard-slide h3 {
	font-size: 1.75rem;
	line-height: 1.1;
	margin: 1rem 0 0;
}

.standard-slide > p:not(.standard-slide__label) {
	color: #d5d2cb;
	line-height: 1.65;
	margin: 0.85rem 0 0;
}

.standard-slide ul {
	display: grid;
	gap: 0.55rem;
	list-style: none;
	margin: 1.2rem 0 0;
	padding: 0;
}

.standard-slide li {
	color: #f1eee7;
	font-size: 0.9rem;
	line-height: 1.45;
	padding-left: 1rem;
	position: relative;
}

.standard-slide li::before {
	background: var(--tfp-accent);
	content: "";
	height: 6px;
	left: 0;
	position: absolute;
	top: 0.5em;
	width: 6px;
}

.about-layout,
.statement-layout,
.contact-layout,
.faq-layout {
	display: grid;
	gap: 4.5rem;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.about-layout,
.contact-layout {
	align-items: center;
}

.about-media {
	min-height: 540px;
	overflow: hidden;
	position: relative;
}

.about-media img {
	height: 100%;
	inset: 0;
	object-fit: cover;
	object-position: 67% center;
	position: absolute;
	width: 100%;
}

.about-media__mark {
	background: var(--tfp-accent);
	bottom: 0;
	color: #111111;
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	padding: 1rem 1.25rem;
	position: absolute;
	right: 0;
}

.feature-list {
	display: grid;
	gap: 1.1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 2rem;
}

.feature {
	display: grid;
	gap: 0.8rem;
	grid-template-columns: 8px minmax(0, 1fr);
}

.feature > span {
	background: var(--tfp-accent);
	height: 100%;
	min-height: 54px;
}

.feature h3 {
	font-size: 1rem;
	margin: 0;
}

.feature p {
	color: var(--tfp-muted);
	font-size: 0.88rem;
	line-height: 1.55;
	margin: 0.35rem 0 0;
}

.statement-layout {
	align-items: end;
}

.statement-layout > p {
	color: #d5d2cb;
	font-size: 1.05rem;
	line-height: 1.8;
	margin: 0;
}

.project-card__location {
	color: #8c6c12;
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	margin: 0 0 0.65rem;
	text-transform: uppercase;
}

.project-card__meta {
	border-top: 1px solid var(--tfp-line);
	color: var(--tfp-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.84rem;
	gap: 0.75rem;
	margin-top: 1rem;
	padding-top: 1rem;
}

.testimonial {
	background: var(--tfp-light);
	border-left: 4px solid var(--tfp-accent);
	margin: 0;
	min-height: 280px;
	padding: 2rem;
}

.testimonial blockquote {
	color: #34322d;
	font-size: 1.02rem;
	line-height: 1.75;
	margin: 0;
}

.testimonial figcaption {
	display: grid;
	gap: 0.25rem;
	margin-top: 1.5rem;
}

.testimonial figcaption strong {
	font-size: 0.94rem;
}

.testimonial figcaption span {
	color: var(--tfp-muted);
	font-size: 0.84rem;
}

.post-card__media {
	align-items: flex-end;
	background: linear-gradient(135deg, #171717, #453917);
	color: var(--tfp-accent);
	display: flex;
	font-weight: 900;
	padding: 1.2rem;
}

.post-card__media img {
	inset: 0;
	position: absolute;
}

.post-card time {
	color: var(--tfp-muted);
	display: block;
	font-size: 0.78rem;
	font-weight: 800;
	margin-bottom: 0.65rem;
}

.faq-layout {
	align-items: start;
}

.faq-intro {
	position: sticky;
	top: 120px;
}

.faq-list {
	border-top: 1px solid var(--tfp-line);
}

.faq-list details {
	border-bottom: 1px solid var(--tfp-line);
	padding: 0;
}

.faq-list summary {
	cursor: pointer;
	font-size: 1.05rem;
	font-weight: 900;
	list-style: none;
	padding: 1.35rem 2.5rem 1.35rem 0;
	position: relative;
}

.faq-list summary::-webkit-details-marker {
	display: none;
}

.faq-list summary::after {
	color: #8c6c12;
	content: "+";
	font-size: 1.4rem;
	position: absolute;
	right: 0;
	top: 1.12rem;
}

.faq-list details[open] summary::after {
	content: "\2212";
}

.faq-list details p {
	color: var(--tfp-muted);
	line-height: 1.7;
	margin: 0;
	max-width: 700px;
	padding: 0 2rem 1.4rem 0;
}

.contact-copy > p:not(.eyebrow) {
	color: #d5d2cb;
	font-size: 1rem;
	line-height: 1.75;
	margin: 1.25rem 0 0;
	max-width: 600px;
}

.contact-list {
	display: grid;
	gap: 0.8rem;
	margin-top: 1.8rem;
}

.contact-list a,
.contact-list span {
	color: var(--tfp-white);
	font-weight: 800;
}

.contact-card {
	background: var(--tfp-white);
	border-radius: var(--tfp-radius);
	box-shadow: var(--tfp-shadow);
	color: var(--tfp-text);
	padding: 2rem;
}

.tfp-form :where(input, textarea, select) {
	background: var(--tfp-white);
	border: 1px solid #cfcac0;
	border-radius: 4px;
	color: var(--tfp-text);
	max-width: 100%;
	padding: 0.8rem 0.85rem;
	width: 100%;
}

.tfp-form :where(input, textarea, select):focus {
	border-color: var(--tfp-accent);
	box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.18);
	outline: 0;
}

.tfp-form :where(button, input[type="submit"]) {
	background: var(--tfp-accent);
	border: 0;
	border-radius: 4px;
	color: #111111;
	cursor: pointer;
	font-weight: 900;
	min-height: 50px;
	padding: 0.85rem 1.2rem;
}

.admin-placeholder {
	border: 1px dashed #bdb7ab;
	color: var(--tfp-muted);
	font-size: 0.92rem;
	line-height: 1.6;
	padding: 1.2rem;
}

.map-section {
	background: var(--tfp-light);
	padding-top: 4rem;
}

.map-section__head {
	padding-bottom: 2rem;
}

.map-frame,
.map-placeholder {
	border: 0;
	display: block;
	height: 480px;
	width: 100%;
}

.map-placeholder {
	align-items: center;
	background:
		linear-gradient(rgba(17, 17, 17, 0.72), rgba(17, 17, 17, 0.72)),
		url("assets/images/hero-plyta-fundamentowa.jpg") center / cover;
	color: var(--tfp-white);
	display: flex;
	justify-content: center;
	text-align: center;
}

.map-placeholder strong,
.map-placeholder span {
	display: block;
}

.map-placeholder strong {
	color: var(--tfp-accent);
	font-size: 2rem;
}

.map-placeholder span {
	margin-top: 0.75rem;
}

.site-footer {
	background: #090909;
	color: #d4d0c8;
}

.site-footer__grid {
	display: grid;
	gap: 3rem;
	grid-template-columns: 1.2fr 0.65fr 0.85fr 0.9fr;
	padding-bottom: 4rem;
	padding-top: 4rem;
}

.site-footer .site-logo img {
	filter: brightness(0) invert(1);
	max-height: 78px;
}

.footer-brand p {
	color: #aaa69d;
	line-height: 1.65;
	margin: 1.2rem 0 0;
	max-width: 360px;
}

.site-footer h2 {
	color: var(--tfp-accent);
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	margin: 0 0 1.2rem;
	text-transform: uppercase;
}

.footer-menu,
.footer-contact,
.footer-company,
.footer-legal {
	display: grid;
	gap: 0.75rem;
}

.footer-menu a,
.footer-contact a,
.footer-contact span,
.footer-company span,
.footer-legal a {
	color: #d4d0c8;
	font-size: 0.9rem;
	line-height: 1.45;
}

.footer-company strong {
	color: var(--tfp-white);
	font-size: 0.9rem;
	line-height: 1.5;
}

.footer-legal {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	margin-top: 1rem;
	padding-top: 1rem;
}

.footer-menu a:hover,
.footer-contact a:hover,
.footer-legal a:hover {
	color: var(--tfp-accent);
}

.site-footer__bottom {
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	font-size: 0.78rem;
	gap: 1rem;
	justify-content: space-between;
	padding-bottom: 1.3rem;
	padding-top: 1.3rem;
}

.site-footer__assurance {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	justify-content: flex-end;
}

.prose {
	background: var(--tfp-white);
	border: 1px solid var(--tfp-line);
	margin: 0 auto;
	max-width: 900px;
	padding: 2.5rem;
}

.prose h1 {
	font-size: 2.8rem;
	line-height: 1.05;
	margin-top: 0;
}

.prose > * + * {
	margin-top: 1rem;
}

.prose p,
.prose li {
	color: var(--tfp-muted);
	line-height: 1.75;
}

.detail-layout {
	align-items: start;
	display: grid;
	gap: 2rem;
	grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
}

.detail-list {
	background: var(--tfp-light);
	border: 1px solid var(--tfp-line);
	margin: 0;
	padding: 1.5rem;
}

.detail-list > div {
	border-bottom: 1px solid var(--tfp-line);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	padding: 0.85rem 0;
}

.detail-list > div:last-child {
	border-bottom: 0;
}

.detail-list dt {
	color: var(--tfp-muted);
}

.detail-list dd {
	font-weight: 900;
	margin: 0;
	text-align: right;
}

.pagination {
	margin-top: 2rem;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.pagination a,
.pagination span {
	background: var(--tfp-white);
	border: 1px solid var(--tfp-line);
	border-radius: 4px;
	display: inline-flex;
	font-weight: 800;
	padding: 0.55rem 0.75rem;
}

@media (max-width: 1080px) {
	.site-nav > .menu {
		gap: 1.1rem;
	}

	.site-nav .menu a {
		font-size: 0.82rem;
	}

	.hero h1 {
		font-size: 3.8rem;
		max-width: 650px;
	}

	.standard-slider__track {
		grid-auto-columns: calc((100% - 1rem) / 2);
	}

	.section-title {
		font-size: 2.7rem;
	}
}

@media (max-width: 900px) {
	.container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.site-header__inner {
		min-height: 76px;
	}

	.site-logo__image--default {
		width: 100px;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.site-nav {
		background: var(--tfp-white);
		border-top: 1px solid var(--tfp-line);
		display: none;
		inset: 76px 0 0;
		margin: 0;
		overflow-y: auto;
		padding: 1rem 20px 2rem;
		position: fixed;
	}

	.site-nav.is-open {
		display: block;
	}

	.site-nav > .menu {
		align-items: stretch;
		display: grid;
		gap: 0;
	}

	.site-nav .menu a {
		border-bottom: 1px solid var(--tfp-line);
		font-size: 1rem;
		padding: 1rem 0;
	}

	.site-nav .menu-item-has-children > a::after {
		margin-left: auto;
	}

	.site-nav .sub-menu {
		border: 0;
		border-left: 3px solid var(--tfp-accent);
		box-shadow: none;
		display: grid;
		margin: 0.35rem 0 0.8rem 0.5rem;
		min-width: 0;
		opacity: 1;
		padding: 0 0 0 1rem;
		pointer-events: auto;
		position: static;
		transform: none;
	}

	.site-nav .sub-menu a {
		font-size: 0.9rem;
		padding: 0.7rem 0;
	}

	.hero {
		height: calc(100svh - 120px);
		min-height: 580px;
	}

	.hero h1 {
		font-size: 3.2rem;
		max-width: 560px;
	}

	.stats-band__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.stat:nth-child(odd) {
		border-left: 1px solid rgba(17, 17, 17, 0.22);
	}

	.section {
		padding: 4.5rem 0;
	}

	.section-head--split,
	.about-layout,
	.statement-layout,
	.contact-layout,
	.faq-layout,
	.detail-layout {
		gap: 2.5rem;
		grid-template-columns: 1fr;
	}

	.section-head--split .section-lead {
		margin-top: 0;
	}

	.service-grid,
	.project-grid,
	.testimonial-grid,
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.about-media {
		min-height: 440px;
	}

	.faq-intro {
		position: static;
	}

	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.container {
		padding-left: 16px;
		padding-right: 16px;
	}

	.hero {
		height: auto;
		min-height: 590px;
	}

	.hero__shade {
		background: linear-gradient(90deg, rgba(8, 8, 8, 0.94), rgba(8, 8, 8, 0.62));
	}

	.hero__content {
		padding: 4rem 0;
	}

	.hero h1 {
		font-size: 2.65rem;
		line-height: 1;
		max-width: 12ch;
	}

	.hero__lead {
		font-size: 1rem;
	}

	.button {
		width: 100%;
	}

	.stats-band__grid {
		grid-template-columns: 1fr 1fr;
	}

	.stat {
		padding: 1.25rem 0.85rem;
	}

	.stat strong {
		font-size: 1.55rem;
	}

	.stat span {
		font-size: 0.7rem;
	}

	.section {
		padding: 3.75rem 0;
	}

	.section-title {
		font-size: 2.25rem;
	}

	.section-head {
		margin-bottom: 2rem;
	}

	.service-grid,
	.project-grid,
	.testimonial-grid,
	.post-grid,
	.feature-list {
		grid-template-columns: 1fr;
	}

	.standard-slider__track {
		grid-auto-columns: 88%;
	}

	.standard-slide {
		min-height: 340px;
	}

	.about-media {
		min-height: 360px;
	}

	.contact-card,
	.prose {
		padding: 1.25rem;
	}

	.map-frame,
	.map-placeholder {
		height: 380px;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
		padding-bottom: 3rem;
		padding-top: 3rem;
	}

	.site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.site-footer__assurance {
		justify-content: flex-start;
	}
}
