/*
Theme Name: Zircon
Theme URI: https://zirconconstructionllc.com
Description: Lightweight lead-generation theme for Zircon Construction (Twin Falls, ID). Design system documented in the ICM workspace: _config/design-system.md. Business data comes from the Zircon Core must-use plugin.
Author: Zircon Construction
Version: 1.0.0
Requires PHP: 8.0
Text Domain: zircon
*/

/* ==========================================================================
   Tokens
   ========================================================================== */

@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/archivo-latin.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/archivo-latin-italic.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-style: italic;
	font-display: swap;
}

:root {
	--zc-blue: #1457b5;        /* Zircon blue, from the logo */
	--zc-blue-deep: #0e3f86;
	--zc-basalt: #23272d;      /* Snake River Canyon basalt */
	--zc-basalt-2: #3a4049;
	--zc-snow: #f2f5f8;        /* cool paper */
	--zc-facet: #dce8f7;       /* blue tint */
	--zc-sage: #6f8060;        /* sagebrush, sparing */
	--zc-line: #d3dae3;
	--zc-muted: #56606c;
	--zc-white: #fff;

	--zc-font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--zc-wide: 118%;

	--zc-step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
	--zc-step-0: clamp(1.0625rem, 1.03rem + 0.15vw, 1.125rem);
	--zc-step-1: clamp(1.25rem, 1.18rem + 0.35vw, 1.4375rem);
	--zc-step-2: clamp(1.5rem, 1.35rem + 0.7vw, 1.9375rem);
	--zc-step-3: clamp(1.875rem, 1.55rem + 1.5vw, 2.75rem);
	--zc-step-4: clamp(2.25rem, 1.7rem + 2.7vw, 3.875rem);

	--zc-gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
	--zc-max: 1200px;
	--zc-measure: 68ch;
	--zc-section: clamp(3rem, 2rem + 5vw, 6rem);
	--zc-cut: 18px;            /* facet chamfer size */
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
	margin: 0;
	background: var(--zc-white);
	color: var(--zc-basalt);
	font-family: var(--zc-font);
	font-size: var(--zc-step-0);
	line-height: 1.6;
	font-optical-sizing: auto;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--zc-blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--zc-blue-deep); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--zc-blue); outline-offset: 3px; }

h1, h2, h3, h4 {
	font-stretch: var(--zc-wide);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
	color: var(--zc-basalt);
	text-wrap: balance;
}
h1 { font-size: var(--zc-step-4); letter-spacing: -0.02em; }
h2 { font-size: var(--zc-step-3); }
h3 { font-size: var(--zc-step-1); font-weight: 750; }
h4 { font-size: var(--zc-step-0); }

p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: 0.35em; }

.screen-reader-text, .zc-sr {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto;
	padding: 0.75rem 1rem; background: var(--zc-basalt); color: #fff; margin: 0;
}

.zc-container { width: 100%; max-width: var(--zc-max); margin-inline: auto; padding-inline: var(--zc-gutter); }

/* ==========================================================================
   Buttons: the facet chamfer (top-right corner cut) is the brand's signature
   ========================================================================== */

.zc-btn {
	--zc-btn-bg: var(--zc-blue);
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	min-height: 52px; padding: 0.8em 1.6em 0.8em 1.4em;
	background: var(--zc-btn-bg); color: #fff;
	font: inherit; font-weight: 700; font-stretch: 108%; line-height: 1.1; text-decoration: none;
	border: 0; cursor: pointer;
	clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
	transition: background-color 0.15s ease;
}
.zc-btn:hover { --zc-btn-bg: var(--zc-blue-deep); color: #fff; text-decoration: none; }
.zc-btn:focus-visible { outline-offset: 4px; }
.zc-btn--ghost {
	--zc-btn-bg: transparent;
	color: currentColor;
	box-shadow: inset 0 0 0 2px currentColor;
	clip-path: none;
}
.zc-btn--ghost:hover { --zc-btn-bg: rgba(20, 87, 181, 0.08); color: currentColor; }
.zc-btn--light { --zc-btn-bg: #fff; color: var(--zc-basalt); }
.zc-btn--light:hover { --zc-btn-bg: var(--zc-facet); color: var(--zc-basalt); }

.zc-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* ==========================================================================
   Header
   ========================================================================== */

.zc-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--zc-line);
}
.zc-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }

.zc-brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--zc-basalt); margin-right: auto; }
.zc-brand:hover { color: var(--zc-basalt); text-decoration: none; }
.zc-brand img { width: 56px; height: auto; }
.zc-brand__name { display: flex; flex-direction: column; line-height: 1; }
.zc-brand__name strong { font-size: 1.45rem; font-weight: 850; font-stretch: 125%; letter-spacing: 0.02em; color: var(--zc-blue); }
.zc-brand__name span { font-size: 0.72rem; font-weight: 650; font-stretch: 118%; letter-spacing: 0.16em; margin-top: 0.25rem; }

.zc-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.zc-nav li { margin: 0; position: relative; }
.zc-nav a {
	display: block; padding: 0.6rem 0.75rem; color: var(--zc-basalt); text-decoration: none; font-weight: 600;
	font-size: 0.98rem; white-space: nowrap;
}
.zc-nav a:hover, .zc-nav .current-menu-item > a, .zc-nav .current-menu-ancestor > a, .zc-nav .current-page-ancestor > a { color: var(--zc-blue); }
.zc-nav .current-menu-item > a { box-shadow: inset 0 -3px 0 var(--zc-blue); }
.zc-nav .sub-menu {
	display: none; position: absolute; top: 100%; left: 0; min-width: 240px; padding: 0.5rem;
	background: #fff; border: 1px solid var(--zc-line); box-shadow: 0 12px 28px rgba(35, 39, 45, 0.12); flex-direction: column;
}
.zc-nav li:hover > .sub-menu, .zc-nav li:focus-within > .sub-menu { display: flex; }

.zc-header__cta { display: flex; align-items: center; gap: 1rem; }
.zc-header__phone { font-weight: 750; font-stretch: 110%; color: var(--zc-basalt); text-decoration: none; white-space: nowrap; }
.zc-header__cta .zc-btn { min-height: 46px; padding-block: 0.6em; }

.zc-menu-toggle {
	display: none; background: none; border: 2px solid var(--zc-basalt); color: var(--zc-basalt);
	font: inherit; font-weight: 700; padding: 0.45rem 0.8rem; cursor: pointer;
}

@media (max-width: 1180px) {
	.zc-header__phone { display: none; }
}

@media (max-width: 1040px) {
	.zc-menu-toggle { display: inline-block; }
	.zc-header__cta .zc-btn { display: none; }
	.zc-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
		border-bottom: 1px solid var(--zc-line); padding: 0.5rem var(--zc-gutter) 1.25rem;
		max-height: calc(100vh - 76px); overflow-y: auto;
	}
	.zc-nav.is-open { display: block; }
	.zc-nav ul { flex-direction: column; }
	.zc-nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--zc-line); font-size: 1.05rem; }
	.zc-nav .current-menu-item > a { box-shadow: none; }
	.zc-nav .sub-menu { display: flex; position: static; border: 0; box-shadow: none; padding: 0 0 0 1rem; min-width: 0; }
	.zc-brand img { width: 46px; }
	.zc-brand__name strong { font-size: 1.2rem; }
}

/* Mobile action bar */
.zc-actionbar { display: none; }
@media (max-width: 1040px) {
	.zc-actionbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex;
		background: var(--zc-basalt); padding: 0.5rem; gap: 0.5rem;
		padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
	}
	.zc-actionbar a { flex: 1; min-height: 50px; }
	.zc-actionbar .zc-btn--ghost { color: #fff; }
	body { padding-bottom: 70px; }
}

/* ==========================================================================
   Hero (home + page heroes). The faceted image is the one bold move.
   ========================================================================== */

.zc-hero { background: var(--zc-snow); border-bottom: 1px solid var(--zc-line); overflow: hidden; }
.zc-hero__inner {
	display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 4vw, 4rem);
	align-items: center; padding-block: clamp(2.5rem, 5vw, 5rem);
}
.zc-hero--page .zc-hero__inner { padding-block: clamp(2rem, 4vw, 3.75rem); }
.zc-hero--plain .zc-hero__inner { grid-template-columns: minmax(0, 1fr); }
.zc-hero h1 { margin-bottom: 0.4em; max-width: 20ch; }
.zc-hero--page h1 { font-size: var(--zc-step-3); max-width: 24ch; }
.zc-hero__intro { font-size: var(--zc-step-1); line-height: 1.5; color: var(--zc-basalt-2); max-width: 46ch; margin-bottom: 1.5rem; }
.zc-hero__note { margin-top: 1.25rem; font-size: var(--zc-step--1); color: var(--zc-muted); }

.zc-facet { position: relative; }
.zc-facet__img {
	aspect-ratio: 5 / 4; width: 100%; object-fit: cover; background: var(--zc-facet);
	clip-path: polygon(16% 0, 100% 0, 100% 78%, 80% 100%, 0 100%, 0 20%);
}
.zc-facet__img img { width: 100%; height: 100%; object-fit: cover; }
/* Offset blue facet behind the photo, same cut as the image (echoes the logo gem) */
.zc-facet { isolation: isolate; margin: 0 16px 16px 0; }
.zc-facet::before {
	content: ""; position: absolute; inset: 16px -16px -16px 16px; z-index: -1; background: var(--zc-blue);
	clip-path: polygon(16% 0, 100% 0, 100% 78%, 80% 100%, 0 100%, 0 20%);
}

.zc-hero .zc-breadcrumbs { margin-bottom: 1rem; }

@media (max-width: 820px) {
	.zc-hero__inner { grid-template-columns: minmax(0, 1fr); }
	.zc-hero .zc-facet { order: -1; margin: 0 8px; }
	.zc-hero--page .zc-facet { display: none; }
	.zc-facet__img { aspect-ratio: 16 / 10; }
}

/* Trust strip under the home hero */
.zc-trust { background: var(--zc-basalt); color: #fff; }
.zc-trust ul {
	list-style: none; margin: 0; padding: 1.1rem 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 2rem;
}
.zc-trust li { margin: 0; font-size: var(--zc-step--1); line-height: 1.4; padding-left: 1.4rem; position: relative; }
.zc-trust li::before {
	content: ""; position: absolute; left: 0; top: 0.3em; width: 0.7rem; height: 0.7rem; background: #6fa3ee;
	clip-path: polygon(50% 0, 100% 40%, 50% 100%, 0 40%);
}
.zc-trust strong { display: block; font-size: var(--zc-step-0); font-stretch: 110%; }
@media (max-width: 820px) { .zc-trust ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .zc-trust ul { grid-template-columns: 1fr; } }

/* ==========================================================================
   Sections (home + landing layouts)
   ========================================================================== */

.zc-section { padding-block: var(--zc-section); }
.zc-section--snow { background: var(--zc-snow); }
.zc-section--basalt { background: var(--zc-basalt); color: #e9edf2; }
.zc-section--basalt h2, .zc-section--basalt h3 { color: #fff; }
.zc-section__head { max-width: 60ch; margin-bottom: 2.25rem; }
.zc-section__head p { color: var(--zc-muted); font-size: var(--zc-step-1); line-height: 1.5; }
.zc-section--basalt .zc-section__head p { color: #c5ccd6; }

.zc-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
@media (max-width: 820px) { .zc-split { grid-template-columns: minmax(0, 1fr); } }

/* Service tiles */
.zc-services { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.zc-service { margin: 0; }
.zc-service a {
	display: grid; grid-template-columns: 42% 1fr; height: 100%; text-decoration: none; color: var(--zc-basalt);
	background: #fff; border: 1px solid var(--zc-line); border-top: 3px solid var(--zc-blue);
	transition: border-color 0.15s ease;
}
.zc-service a:hover { border-color: var(--zc-blue); color: var(--zc-basalt); }
.zc-service__img { background: var(--zc-facet); min-height: 180px; }
.zc-service__img img { width: 100%; height: 100%; object-fit: cover; }
.zc-service__body { padding: 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 0.4rem; }
.zc-service__name { font-size: var(--zc-step-1); font-stretch: var(--zc-wide); font-weight: 800; color: var(--zc-blue); }
.zc-service__text { font-size: var(--zc-step--1); line-height: 1.5; color: var(--zc-basalt-2); }
@media (max-width: 900px) { .zc-services { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .zc-service a { grid-template-columns: 1fr; } .zc-service__img { aspect-ratio: 16 / 9; min-height: 0; } }

/* Process: a real sequence, so numbers are earned */
.zc-process { list-style: none; counter-reset: zc-step; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.zc-process li { counter-increment: zc-step; margin: 0; padding-top: 1rem; border-top: 3px solid var(--zc-blue); }
.zc-process li::before {
	content: counter(zc-step); display: block; font-size: 2.5rem; font-weight: 850; font-stretch: 125%; line-height: 1;
	color: var(--zc-blue); margin-bottom: 0.6rem;
}
.zc-process h3 { font-size: var(--zc-step-0); margin-bottom: 0.35em; }
.zc-process p { font-size: var(--zc-step--1); color: var(--zc-muted); margin: 0; }
.zc-section--basalt .zc-process li { border-top-color: #6fa3ee; }
.zc-section--basalt .zc-process li::before { color: #6fa3ee; }
.zc-section--basalt .zc-process p { color: #c5ccd6; }
@media (max-width: 900px) { .zc-process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .zc-process { grid-template-columns: 1fr; } }

/* Areas + map */
.zc-areas { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: center; margin-bottom: 2rem; }
.zc-areas__map { margin: 0; background: var(--zc-snow); border: 1px solid var(--zc-line); padding: 0.5rem; }
.zc-map { width: 100%; font-family: var(--zc-font); }
.zc-map__river { fill: none; stroke: #7fa9dd; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; opacity: 0.55; }
.zc-map__river-label { fill: #4a78b5; font-size: 14px; font-style: italic; letter-spacing: 0.05em; }
.zc-map__town polygon { fill: var(--zc-basalt); }
.zc-map__town text { font-size: 15px; font-weight: 600; fill: var(--zc-basalt-2); paint-order: stroke; stroke: var(--zc-snow); stroke-width: 4px; }
.zc-map__town--home polygon { fill: var(--zc-blue); }
.zc-map__town--home text { font-size: 20px; font-weight: 800; fill: var(--zc-blue); }
.zc-map__town--extended polygon { fill: #8a939e; }
.zc-areas__group h3 { font-size: var(--zc-step-0); margin-bottom: 0.4rem; }
.zc-areas__group ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.1rem; margin-bottom: 1.3rem; }
.zc-areas__group li { margin: 0; }
@media (max-width: 820px) { .zc-areas { grid-template-columns: minmax(0, 1fr); } .zc-map__town--extended text { display: none; } }

/* CTA band */
.zc-cta {
	display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 1.5rem 3rem; align-items: center;
	background: var(--zc-basalt); color: #e9edf2; padding: clamp(1.75rem, 4vw, 3rem);
	margin: 2.5rem 0; position: relative;
	clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
}
.zc-cta h2 { color: #fff; font-size: var(--zc-step-2); margin-bottom: 0.35em; }
.zc-cta p { margin: 0; color: #c5ccd6; max-width: 56ch; }
.zc-cta__actions { display: flex; flex-direction: column; gap: 0.75rem; min-width: 240px; }
.zc-cta .zc-btn--ghost { color: #fff; }
@media (max-width: 760px) { .zc-cta { grid-template-columns: 1fr; } .zc-cta__actions { min-width: 0; } }

/* ==========================================================================
   Page layout: prose + sticky estimate aside
   ========================================================================== */

.zc-page { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.zc-page__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.zc-page--full .zc-page__grid { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 980px) { .zc-page__grid { grid-template-columns: minmax(0, 1fr); } }

.zc-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 1.25rem; }
.zc-aside__card {
	background: var(--zc-snow); padding: 1.5rem;
	clip-path: polygon(0 0, calc(100% - var(--zc-cut)) 0, 100% var(--zc-cut), 100% 100%, 0 100%);
}
.zc-aside__card h2 { font-size: var(--zc-step-1); }
.zc-aside__card p { font-size: var(--zc-step--1); color: var(--zc-basalt-2); }
.zc-aside__card .zc-btn { width: 100%; }
.zc-aside__card .zc-tel { display: block; margin-top: 0.9rem; font-weight: 750; font-size: var(--zc-step-1); font-stretch: 110%; text-align: center; }
.zc-aside__list { list-style: none; padding: 0; margin: 1rem 0 0; font-size: var(--zc-step--1); }
.zc-aside__list li { padding-left: 1.3rem; position: relative; }
.zc-aside__list li::before {
	content: ""; position: absolute; left: 0; top: 0.45em; width: 0.6rem; height: 0.6rem; background: var(--zc-blue);
	clip-path: polygon(50% 0, 100% 40%, 50% 100%, 0 40%);
}
@media (max-width: 980px) { .zc-aside { position: static; } }

/* Prose */
.zc-prose { max-width: var(--zc-measure); }
.zc-page--full .zc-prose { max-width: none; }
.zc-prose > h2 { margin-top: 2.2em; }
.zc-prose > h2:first-child { margin-top: 0; }
.zc-prose > h3 { margin-top: 1.6em; }
.zc-prose img { margin-block: 1.5rem; }
.zc-prose figure { margin: 2rem 0; }
.zc-prose figcaption { font-size: var(--zc-step--1); color: var(--zc-muted); margin-top: 0.5rem; }
.zc-prose blockquote { margin: 1.5rem 0; padding: 0.25rem 0 0.25rem 1.25rem; border-left: 4px solid var(--zc-blue); font-size: var(--zc-step-1); }
.zc-prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: var(--zc-step--1); display: block; overflow-x: auto; }
.zc-prose th, .zc-prose td { text-align: left; padding: 0.7rem 0.8rem; border-bottom: 1px solid var(--zc-line); vertical-align: top; }
.zc-prose thead th { background: var(--zc-snow); font-weight: 750; border-bottom: 2px solid var(--zc-basalt); white-space: nowrap; }
.zc-prose .zc-cta, .zc-prose .zc-services, .zc-prose .zc-process, .zc-prose .zc-areas { max-width: none; }

.zc-note {
	margin: 1.75rem 0; padding: 1.1rem 1.25rem 1.1rem 1.4rem; background: var(--zc-facet); border-left: 4px solid var(--zc-blue);
}
.zc-note p:last-child { margin-bottom: 0; }

.zc-checklist { list-style: none; padding: 0; }
.zc-checklist li { padding-left: 1.9rem; position: relative; margin-bottom: 0.55em; }
.zc-checklist li::before {
	content: ""; position: absolute; left: 0.1rem; top: 0.35em; width: 1.1rem; height: 0.6rem;
	border-left: 3px solid var(--zc-blue); border-bottom: 3px solid var(--zc-blue); transform: rotate(-45deg) scale(0.85); transform-origin: 30% 60%;
}

.zc-faq { margin: 3rem 0 2rem; }
.zc-faq details { border-top: 1px solid var(--zc-line); }
.zc-faq details:last-of-type { border-bottom: 1px solid var(--zc-line); }
.zc-faq summary {
	cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
	font-weight: 700; font-stretch: 106%; font-size: var(--zc-step-0);
}
.zc-faq summary::-webkit-details-marker { display: none; }
.zc-faq summary::after {
	content: ""; position: absolute; right: 0.4rem; top: 50%; width: 0.7rem; height: 0.7rem; margin-top: -0.5rem;
	border-right: 2.5px solid var(--zc-blue); border-bottom: 2.5px solid var(--zc-blue); transform: rotate(45deg); transition: transform 0.2s ease;
}
.zc-faq details[open] summary::after { transform: rotate(225deg); margin-top: -0.15rem; }
.zc-faq details > :not(summary) { margin: 0 0 1.2rem; color: var(--zc-basalt-2); }

.zc-related { margin: 2.5rem 0; padding: 1.5rem; border: 1px solid var(--zc-line); }
.zc-related h2 { font-size: var(--zc-step-1); }
.zc-related ul { list-style: none; padding: 0; margin: 0; }
.zc-related li { margin: 0; padding: 0.8rem 0; border-top: 1px solid var(--zc-line); }
.zc-related a { font-weight: 700; display: block; }
.zc-related span { font-size: var(--zc-step--1); color: var(--zc-muted); }

/* Breadcrumbs */
.zc-breadcrumbs { font-size: var(--zc-step--1); color: var(--zc-muted); }
.zc-breadcrumbs a { color: var(--zc-muted); }
.zc-breadcrumbs .separator { margin: 0 0.35rem; }

/* ==========================================================================
   Form
   ========================================================================== */

.zc-form { background: #fff; border: 1px solid var(--zc-line); padding: clamp(1.25rem, 3vw, 2rem); }
.zc-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .zc-form__row { grid-template-columns: 1fr; } }
.zc-field { margin: 0 0 1.1rem; border: 0; padding: 0; min-width: 0; }
.zc-field label, .zc-field legend { display: block; font-weight: 650; margin-bottom: 0.35rem; font-size: 0.98rem; }
.zc-opt { font-weight: 400; color: var(--zc-muted); }
.zc-field input[type="text"], .zc-field input[type="tel"], .zc-field input[type="email"], .zc-field select, .zc-field textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--zc-basalt); background: #fff;
	border: 1.5px solid #9aa4b1; border-radius: 0; padding: 0.75rem 0.8rem; min-height: 50px;
}
.zc-field textarea { min-height: 130px; resize: vertical; }
.zc-field input:focus, .zc-field select:focus, .zc-field textarea:focus { outline: 3px solid rgba(20, 87, 181, 0.3); border-color: var(--zc-blue); }
.zc-field--checks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.zc-field--checks legend { width: 100%; }
.zc-check {
	display: inline-flex !important; align-items: center; gap: 0.5rem; margin: 0 !important; padding: 0.55rem 0.85rem;
	border: 1.5px solid var(--zc-line); cursor: pointer; font-weight: 500 !important;
}
.zc-check:has(input:checked) { border-color: var(--zc-blue); background: var(--zc-facet); }
.zc-check input { width: 1.1rem; height: 1.1rem; accent-color: var(--zc-blue); }
.zc-form__submit .zc-btn { width: 100%; font-size: 1.1rem; }
.zc-form__fine { font-size: 0.85rem; color: var(--zc-muted); margin: 0.75rem 0 0; }
.zc-form__error { background: #fdecec; border-left: 4px solid #b3261e; padding: 0.8rem 1rem; color: #7a1a14; }
.zc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Blog
   ========================================================================== */

.zc-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.5rem; list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .zc-posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .zc-posts { grid-template-columns: 1fr; } }
.zc-card { margin: 0; display: flex; flex-direction: column; }
.zc-card__img { display: block; aspect-ratio: 16 / 10; background: var(--zc-facet); overflow: hidden; margin-bottom: 1rem;
	clip-path: polygon(0 0, calc(100% - var(--zc-cut)) 0, 100% var(--zc-cut), 100% 100%, 0 100%); }
.zc-card__img img { width: 100%; height: 100%; object-fit: cover; }
.zc-card__cat { font-size: var(--zc-step--1); font-weight: 650; color: var(--zc-sage); margin-bottom: 0.3rem; }
.zc-card h2, .zc-card h3 { font-size: var(--zc-step-1); margin-bottom: 0.4rem; }
.zc-card h2 a, .zc-card h3 a { color: var(--zc-basalt); text-decoration: none; }
.zc-card h2 a:hover, .zc-card h3 a:hover { color: var(--zc-blue); }
.zc-card p { font-size: var(--zc-step--1); color: var(--zc-muted); }

.zc-meta { font-size: var(--zc-step--1); color: var(--zc-muted); margin-bottom: 1rem; }
.zc-cats { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0 0 2.5rem; }
.zc-cats li { margin: 0; }
.zc-cats a { display: inline-block; padding: 0.45rem 0.9rem; border: 1.5px solid var(--zc-line); color: var(--zc-basalt); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.zc-cats a:hover, .zc-cats .is-current a { border-color: var(--zc-blue); color: var(--zc-blue); }

.zc-pagination { margin-top: 3rem; display: flex; gap: 0.5rem; }
.zc-pagination .page-numbers { padding: 0.5rem 0.9rem; border: 1px solid var(--zc-line); text-decoration: none; }
.zc-pagination .current { background: var(--zc-basalt); color: #fff; border-color: var(--zc-basalt); }

/* ==========================================================================
   Footer
   ========================================================================== */

.zc-footer { background: var(--zc-basalt); color: #c5ccd6; font-size: var(--zc-step--1); }
.zc-footer a { color: #fff; text-decoration: none; }
.zc-footer a:hover { text-decoration: underline; color: #fff; }
.zc-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 4rem); }
.zc-footer h2 { color: #fff; font-size: 1rem; font-stretch: 110%; margin-bottom: 0.9rem; }
.zc-footer ul { list-style: none; padding: 0; margin: 0; }
.zc-footer li { margin-bottom: 0.45rem; }
.zc-footer__brand img { width: 64px; margin-bottom: 0.9rem; }
.zc-footer__brand p { max-width: 36ch; }
.zc-footer__nap { font-style: normal; line-height: 1.8; }
.zc-footer__nap strong { color: #fff; }
.zc-footer__base { border-top: 1px solid var(--zc-basalt-2); padding-block: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; }
@media (max-width: 900px) { .zc-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .zc-footer__grid { grid-template-columns: 1fr; } }

/* 404 / search */
.zc-search { display: flex; gap: 0.5rem; max-width: 520px; }
.zc-search input { flex: 1; font: inherit; padding: 0.75rem; border: 1.5px solid #9aa4b1; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
	.zc-header, .zc-actionbar, .zc-footer, .zc-cta, .zc-aside { display: none !important; }
}

/* ==========================================================================
   Home conditions, contact details, next-step lists
   ========================================================================== */

.zc-conditions { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.25rem; margin: 0; }
.zc-conditions > div { background: #fff; border: 1px solid var(--zc-line); padding: 1.25rem 1.25rem 1.4rem; border-top: 4px solid var(--zc-basalt); }
.zc-conditions dt { font-size: var(--zc-step-1); font-weight: 800; font-stretch: var(--zc-wide); margin-bottom: 0.5rem; }
.zc-conditions dd { margin: 0; font-size: var(--zc-step--1); color: var(--zc-basalt-2); }

.zc-details { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0.6rem 1.25rem; margin: 0 0 1.5rem; }
.zc-details dt { font-weight: 700; }
.zc-details dd { margin: 0; overflow-wrap: anywhere; }

.zc-steps { list-style: none; counter-reset: zc-s; padding: 0; margin: 0 0 2rem; }
.zc-steps li { counter-increment: zc-s; position: relative; padding-left: 3rem; margin-bottom: 1.1rem; }
.zc-steps li::before {
	content: counter(zc-s); position: absolute; left: 0; top: -0.1rem; width: 2.1rem; height: 2.1rem;
	display: grid; place-items: center; background: var(--zc-blue); color: #fff; font-weight: 800;
	clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}
.zc-contact { align-items: start; }
.zc-section > .zc-container > p:last-child { margin-bottom: 0; }
