/*
Theme Name: ColdLink Engineering
Theme URI: https://www.thecoldlink.com/
Author: ColdLink Engineering Services, Inc
Description: Fast, SEO-ready theme for ColdLink Engineering: commercial HVAC and refrigeration for restaurants in Southern California. Includes service and area page structure, HVACBusiness/Service/FAQ structured data, call tracking events and Jobber request form integration.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: coldlink
*/

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

/* ---------- Tokens ---------- */
:root {
	--ink: #0f2536;        /* refrigerant-line navy: text, dark band */
	--steel: #536472;      /* stainless: secondary text */
	--line: #d3dce3;       /* hairlines */
	--frost: #f1f5f8;      /* alternate band */
	--paper: #ffffff;
	--brand-blue: #0087eb; /* logo blue: accents, the cold end of the scale */
	--brand-red: #f2071b;  /* logo red: the hot end of the scale */
	--coil: #0a6cc0;       /* logo blue, deepened to pass WCAG AA for text and white-on-blue buttons */
	--coil-deep: #08559a;
	--alarm: #d0142a;      /* logo red, reserved for calling and emergencies */
	--alarm-deep: #a8101f;
	--cold: var(--brand-blue);
	--hot: var(--brand-red);

	--font: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.25rem;
	--step-2: 1.5625rem;
	--step-3: 1.953rem;
	--step-4: clamp(2.1rem, 4.2vw, 3.05rem);
	--step-5: clamp(2.5rem, 6vw, 4.6rem);

	--wrap: 1180px;
	--measure: 68ch;
	--gutter: clamp(16px, 4vw, 40px);
	--space: clamp(3rem, 7vw, 5.5rem);
	--radius: 6px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: var(--step-0);
	line-height: 1.6;
	font-stretch: 100%;
	font-weight: 400;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--coil); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--coil-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--coil); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 {
	font-stretch: 78%;
	font-weight: 720;
	line-height: 1.08;
	letter-spacing: -0.005em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}
h2 { font-size: var(--step-4); margin-top: 1.6em; }
h3 { font-size: var(--step-2); margin-top: 1.4em; font-stretch: 85%; font-weight: 680; }
h4 { font-size: var(--step-1); font-stretch: 90%; }
p, ul, ol, table, details { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: 0.3em; }
strong { font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 100; top: 8px; left: 8px;
	background: var(--paper); padding: 10px 14px; color: var(--ink);
}
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	min-height: 48px; padding: 0.7em 1.25em;
	border-radius: var(--radius); border: 2px solid transparent;
	font-family: inherit; font-size: var(--step-0); font-weight: 640; font-stretch: 90%;
	line-height: 1.15; text-decoration: none; cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--coil); color: #fff; }
.btn--primary:hover { background: var(--coil-deep); color: #fff; }
.btn--call { background: var(--alarm); color: #fff; }
.btn--call:hover { background: var(--alarm-deep); color: #fff; }
.btn--small { min-height: 42px; padding: 0.5em 1em; font-size: 0.95rem; }
.btn__num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions--hero { margin: 1.75rem 0 1.25rem; }

/* Block editor buttons */
.wp-block-button__link { border-radius: var(--radius); background: var(--coil); font-weight: 640; font-stretch: 90%; padding: 0.75em 1.25em; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--coil); border: 2px solid currentColor; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--line);
}
.site-header__row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.site-header__brand { flex: 0 0 auto; }
.custom-logo { max-height: 48px; width: auto; display: block; }
.site-logo { display: block; line-height: 0; }
.site-logo img { display: block; height: 46px; width: auto; }
.site-logo--dark { margin-bottom: 1rem; }
.site-logo--dark img { height: 40px; }
@media (max-width: 960px) { .site-logo img { height: 36px; } }
@media (max-width: 400px) { .site-logo img { height: 30px; } }
.wordmark { display: inline-flex; align-items: baseline; gap: 0.35em; text-decoration: none; color: var(--ink); line-height: 1; }
.wordmark__main { font-size: 1.6rem; font-weight: 820; font-stretch: 72%; letter-spacing: -0.01em; }
.wordmark__sub { font-size: 1rem; font-weight: 520; font-stretch: 100%; color: var(--coil); }
.wordmark:hover { color: var(--ink); }

.site-nav { flex: 1 1 auto; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.site-nav .menu > li { position: relative; margin: 0; display: flex; align-items: center; }
.site-nav .menu a {
	display: block; padding: 10px 12px; color: var(--ink); text-decoration: none;
	font-weight: 560; font-stretch: 92%; font-size: 0.98rem; border-radius: 4px;
}
.site-nav .menu a:hover, .site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--coil); }
.site-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px;
	position: absolute; top: 100%; left: 0; min-width: 300px;
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: 0 12px 28px rgba(15, 37, 54, 0.12);
	display: none;
}
.site-nav .sub-menu li { margin: 0; }
.site-nav .sub-menu a { padding: 8px 10px; font-weight: 480; font-stretch: 100%; }
.site-nav .menu > li:hover > .sub-menu,
.site-nav .menu > li:focus-within > .sub-menu,
.site-nav .menu > li.is-open > .sub-menu { display: block; }
.submenu-toggle { background: none; border: 0; padding: 6px 4px; color: var(--steel); cursor: pointer; margin-left: -8px; }
.site-nav__login { font-size: 0.9rem; color: var(--steel); text-decoration: none; padding: 10px 8px; white-space: nowrap; }

.site-header__actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.header-phone {
	display: inline-flex; align-items: center; gap: 6px;
	color: var(--alarm); font-weight: 680; font-stretch: 88%; text-decoration: none; white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.header-phone:hover { color: var(--alarm-deep); }
.header-phone__label { font-size: 0.85rem; padding: 2px 6px; border: 1.5px solid currentColor; border-radius: 3px; line-height: 1.2; }
.nav-toggle { display: none; }

@media (max-width: 1100px) {
	.site-nav__login { display: none; }
	.header-request { display: none; }
}
@media (max-width: 960px) {
	.site-header__row { min-height: 60px; gap: 12px; }
	.wordmark__main { font-size: 1.4rem; }
	.wordmark__sub { font-size: 0.9rem; }
	.site-header__actions { margin-left: auto; }
	.header-phone { background: var(--alarm); color: #fff; padding: 9px 12px; border-radius: var(--radius); min-height: 44px; }
	.header-phone:hover { color: #fff; }
	.header-phone__label { display: none; }
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius);
		background: var(--paper); color: var(--ink); cursor: pointer;
	}
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--paper); border-bottom: 1px solid var(--line);
		padding: 8px var(--gutter) 20px; flex-direction: column; align-items: stretch;
		max-height: calc(100vh - 60px); overflow-y: auto;
	}
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.site-nav .menu > li > a { flex: 1; padding: 14px 0; font-size: 1.05rem; }
	.site-nav .sub-menu { position: static; box-shadow: none; border: 0; padding: 0 0 10px 12px; min-width: 0; width: 100%; }
	.site-nav .menu > li:hover > .sub-menu { display: none; }
	.site-nav .menu > li.is-open > .sub-menu { display: block; }
	.submenu-toggle { padding: 12px; margin: 0; }
	.site-nav__login { display: block; padding: 14px 0 0; }
}
@media (max-width: 400px) {
	.header-phone__num { font-size: 0.95rem; }
	.wordmark__sub { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(2.25rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.hero--home { background: linear-gradient(180deg, var(--frost), var(--paper) 70%); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.hero__title {
	font-size: var(--step-5);
	font-stretch: 68%;
	font-weight: 760;
	line-height: 0.98;
	letter-spacing: -0.012em;
	max-width: 17ch;
	margin: 0;
}
.hero--service .hero__title, .hero--area .hero__title, .hero--page .hero__title, .hero--post .hero__title { font-size: clamp(2.2rem, 5vw, 3.9rem); max-width: 22ch; }
.hero__lead { font-size: var(--step-1); line-height: 1.5; color: var(--steel); max-width: 58ch; margin: 1.1rem 0 0; }
.hero__meta { color: var(--steel); margin: 1rem 0 0; font-size: var(--step--1); }

.creds { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--steel); font-size: 0.95rem; }
.creds li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.creds .icon { color: var(--brand-blue); }

.crumbs ol { list-style: none; padding: 0; margin: 0 0 1.1rem; display: flex; flex-wrap: wrap; gap: 4px; font-size: var(--step--1); color: var(--steel); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin: 0 6px 0 2px; color: var(--line); }
.crumbs a { color: var(--steel); }

/* ---------- Temperature scale (the one bold element) ---------- */
.tscale { --track-h: 12px; margin: clamp(2.5rem, 5vw, 3.75rem) 0 0; position: relative; padding: 112px 0 92px; }
.tscale__track {
	position: relative; height: var(--track-h); border-radius: 999px;
	background: linear-gradient(90deg, var(--cold) 0%, #3c6fc6 30%, #7a4c8f 52%, #b72b4e 76%, var(--hot) 100%);
}
.tscale__tick { position: absolute; left: var(--pos); top: calc(100% + 6px); transform: translateX(-50%); font-size: 0.78rem; color: var(--steel); font-variant-numeric: tabular-nums; }
.tscale__tick::before { content: ""; position: absolute; left: 50%; top: -6px; width: 1px; height: 5px; background: var(--steel); opacity: 0.5; }
.tscale__marks { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.tscale__mark {
	position: absolute; left: var(--pos); bottom: calc(92px + var(--track-h) + 10px);
	transform: translateX(-12px); display: grid; gap: 1px; width: 15ch; margin: 0;
	padding-left: 12px; border-left: 2px solid var(--ink);
}
.tscale__mark::after {
	content: ""; position: absolute; left: -7px; bottom: -14px; width: 12px; height: 12px;
	border-radius: 50%; background: var(--paper); border: 3px solid var(--ink);
}
.tscale__mark--hot { transform: translateX(calc(-100% + 2px)); padding: 0 12px 0 0; border-left: 0; border-right: 2px solid var(--ink); text-align: right; }
.tscale__mark--hot::after { left: auto; right: -7px; }
.tscale__mark--limit {
	bottom: auto; top: calc(112px + var(--track-h) + 26px);
	border-left-color: var(--alarm); border-left-style: dashed;
}
.tscale__mark--limit::after { bottom: auto; top: -32px; border-color: var(--alarm); }
.tscale__temp { font-size: var(--step-3); font-weight: 760; font-stretch: 70%; line-height: 1; font-variant-numeric: tabular-nums; }
.tscale__mark--limit .tscale__temp { color: var(--alarm); }
.tscale__name { font-weight: 640; font-stretch: 90%; }
.tscale__note { font-size: 0.82rem; color: var(--steel); line-height: 1.3; }
.tscale figcaption { position: absolute; right: 0; bottom: 0; max-width: 46ch; text-align: right; color: var(--steel); font-size: 0.95rem; }

@media (max-width: 760px) {
	.tscale { --track-w: 10px; padding: 8px 0 0 0; display: grid; grid-template-columns: 76px 1fr; height: auto; }
	.tscale__track {
		grid-row: 1; grid-column: 1; justify-self: center;
		width: var(--track-w); height: 440px;
		background: linear-gradient(0deg, var(--cold) 0%, #3c6fc6 30%, #7a4c8f 52%, #b72b4e 76%, var(--hot) 100%);
	}
	.tscale__tick { left: auto; right: calc(100% + 8px); top: auto; bottom: var(--pos); transform: translateY(50%); }
	.tscale__tick::before { display: none; }
	.tscale__marks { inset: 8px 0 auto 0; height: 440px; }
	.tscale__mark, .tscale__mark--hot {
		left: 52px; bottom: var(--pos); top: auto; transform: translateY(50%);
		text-align: left; border: 0; padding: 0 0 0 46px; width: auto; right: 0;
	}
	.tscale__mark::after, .tscale__mark--hot::after { left: 0px; right: auto; bottom: 50%; transform: translateY(50%); }
	.tscale__mark::before {
		content: ""; position: absolute; left: 12px; top: 50%; width: 30px; border-top: 2px solid var(--ink);
	}
	.tscale__mark--cold:nth-child(2) { transform: translateY(80%); }
	.tscale__mark--limit { top: auto; bottom: var(--pos); transform: translateY(-15%); }
	.tscale__mark--limit::after { top: auto; }
	.tscale__mark--limit::before { border-top: 2px dashed var(--alarm); }
	.tscale__temp { font-size: 1.45rem; }
	.tscale__note { display: none; }
	.tscale figcaption { position: static; grid-column: 1 / -1; text-align: left; margin-top: 1.5rem; }
}

/* ---------- Content ---------- */
.entry { padding: var(--space) 0; }
.entry > * { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.entry > p, .entry > ul, .entry > ol, .entry > h2, .entry > h3, .entry > h4, .entry > .wp-block-details, .entry > .wp-block-quote { max-width: var(--measure); margin-left: max(var(--gutter), (100% - var(--wrap)) / 2); margin-right: auto; }
.entry > h2:first-child, .entry > .wp-block-group:first-child, .entry > .cl-section:first-child > h2:first-child { margin-top: 0; }
.entry > .wp-block-group.alignfull,
.entry > .cl-band, .entry > .cl-dark { width: 100%; }
.entry .wp-block-group__inner-container > *, .entry .cl-band > .wp-block-group__inner-container > *, .entry .cl-dark > .wp-block-group__inner-container > * { max-width: 100%; }

.cl-section { margin-top: var(--space); }
.cl-section:first-child { margin-top: 0; }
.cl-section > .wp-block-group__inner-container > p, .cl-section > .wp-block-group__inner-container > ul, .cl-section > .wp-block-group__inner-container > ol, .cl-section > .wp-block-group__inner-container > h2, .cl-section > .wp-block-group__inner-container > h3 { max-width: var(--measure); }

.cl-band, .cl-dark { padding: var(--space) max(var(--gutter), (100% - var(--wrap)) / 2); margin-top: var(--space); margin-bottom: 0; }
.cl-band { background: var(--frost); }
.cl-dark { background: var(--ink); color: #e9f0f5; }
.cl-dark a { color: #9cc7ff; }
.cl-dark .wp-block-button__link, .cl-dark .wp-block-button__link:hover { color: #fff; }
.cl-dark h2, .cl-dark h3 { color: #fff; }
.entry > .cl-band:last-child, .entry > .cl-dark:last-child { margin-bottom: calc(-1 * var(--space)); }
.cl-band > .wp-block-group__inner-container > *, .cl-dark > .wp-block-group__inner-container > * { max-width: var(--measure); }
.cl-band > .wp-block-group__inner-container > .wp-block-columns, .cl-dark > .wp-block-group__inner-container > .wp-block-columns, .cl-band > .wp-block-group__inner-container > .wp-block-table, .cl-dark > .wp-block-group__inner-container > .wp-block-table, .cl-band > .wp-block-group__inner-container > .service-list, .cl-band > .wp-block-group__inner-container > .cta-band, .cl-dark > .wp-block-group__inner-container > .cl-grid { max-width: none; }
.cl-band > .wp-block-group__inner-container > h2:first-child, .cl-dark > .wp-block-group__inner-container > h2:first-child { margin-top: 0; }

.lede { font-size: var(--step-1); line-height: 1.5; color: var(--steel); }
.cl-dark .lede { color: #b9c9d6; }

/* Columns */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); margin: 0 0 1.5rem; }
.wp-block-column { flex: 1 1 280px; min-width: 0; }
.wp-block-column > h3:first-child { margin-top: 0; }

/* Lists */
.cl-checklist { list-style: none; padding: 0; }
.cl-checklist li { position: relative; padding-left: 28px; }
.cl-checklist li::before {
	content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px;
	border-left: 3px solid var(--coil); border-bottom: 3px solid var(--coil); transform: rotate(-45deg);
}
.cl-dark .cl-checklist li::before { border-color: #7fb6ff; }
.cl-steps { counter-reset: step; list-style: none; padding: 0; }
.cl-steps > li { counter-increment: step; position: relative; padding: 0 0 1.1rem 3.1rem; margin: 0; }
.cl-steps > li::before {
	content: counter(step); position: absolute; left: 0; top: -0.1em;
	width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 2px solid var(--coil);
	display: grid; place-items: center; font-weight: 720; font-stretch: 75%; color: var(--coil);
}
.cl-steps > li + li { margin-top: 0; }

/* Service list (rows, not cards) */
.service-list { list-style: none; padding: 0; margin: 1.5rem 0 0; border-top: 1px solid var(--ink); }
.service-list li { margin: 0; border-bottom: 1px solid var(--line); }
.service-list a {
	display: grid; grid-template-columns: minmax(200px, 0.9fr) 1.6fr; gap: 6px 32px; align-items: baseline;
	padding: 18px 4px; text-decoration: none; color: var(--ink);
}
.service-list a:hover { background: rgba(20, 98, 196, 0.05); }
.service-list a:hover .service-list__name { color: var(--coil); }
.service-list__name { font-size: var(--step-2); font-weight: 700; font-stretch: 78%; line-height: 1.1; }
.service-list__desc { color: var(--steel); }
@media (max-width: 700px) { .service-list a { grid-template-columns: 1fr; } }

/* Area list */
.area-list { list-style: none; padding: 0; margin: 0; }
.entry .area-list { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.entry .area-list li { margin: 0; }
.entry .area-list a { display: block; padding: 10px 16px; border: 1.5px solid var(--coil); border-radius: var(--radius); text-decoration: none; font-weight: 600; font-stretch: 90%; }
.entry .area-list li:not(:has(a)) { padding: 10px 16px; border: 1.5px solid var(--line); border-radius: var(--radius); color: var(--steel); }

/* Tables */
.wp-block-table { overflow-x: auto; margin: 1.5rem 0; }
.wp-block-table table { border-collapse: collapse; width: 100%; font-size: 0.97rem; min-width: 560px; }
.wp-block-table table, .wp-block-table thead, .wp-block-table tfoot { border: 0; }
.wp-block-table th, .wp-block-table td { text-align: left; vertical-align: top; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); }
.wp-block-table thead th { border-bottom: 2px solid var(--ink); font-weight: 680; font-stretch: 88%; }
.cl-dark .wp-block-table th, .cl-dark .wp-block-table td { border-color: rgba(255, 255, 255, 0.18); }
.cl-dark .wp-block-table thead th { border-color: #fff; }
.wp-block-table figcaption { color: var(--steel); font-size: var(--step--1); margin-top: 8px; }

/* FAQ */
.cl-faq { margin-top: var(--space); }
.cl-faq > .wp-block-group__inner-container > h2 { margin-top: 0; }
.wp-block-details { border-top: 1px solid var(--line); padding: 0; margin: 0; max-width: var(--measure); }
.wp-block-details:last-child { border-bottom: 1px solid var(--line); }
.wp-block-details summary {
	cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative;
	font-weight: 640; font-stretch: 90%; font-size: var(--step-1); line-height: 1.3;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
	border-right: 2px solid var(--coil); border-bottom: 2px solid var(--coil); transform: rotate(45deg); transition: transform 0.15s;
}
.wp-block-details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.wp-block-details > *:not(summary) { margin-top: 0; padding-bottom: 4px; }
@media (prefers-reduced-motion: reduce) { .wp-block-details summary::after { transition: none; } }

/* Quote / proof */
.wp-block-quote { border-left: 3px solid var(--coil); margin: 1.5rem 0; padding: 0.25rem 0 0.25rem 1.25rem; }
.wp-block-quote p { font-size: var(--step-1); line-height: 1.45; }
.wp-block-quote cite { color: var(--steel); font-style: normal; font-size: var(--step--1); }

/* Notes for the editor to fill in */
.cl-todo { background: #fff6d6; border: 1px dashed #b88a00; padding: 12px 16px; border-radius: var(--radius); font-size: 0.95rem; color: #5a4300; }

/* CTA band */
.cta-band {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px;
	border-top: 4px solid var(--alarm); background: var(--ink); color: #fff;
	padding: clamp(24px, 4vw, 40px); border-radius: 0 0 var(--radius) var(--radius); margin-top: var(--space);
}
.entry > .cta-band { width: min(100% - 2 * var(--gutter), var(--wrap)); }
.cta-band__text { flex: 1 1 380px; }
.cta-band__title { font-size: var(--step-3); font-weight: 740; font-stretch: 72%; line-height: 1.05; margin: 0 0 0.35em; }
.cta-band__text p:last-child { margin: 0; color: #c6d4df; }

/* Request form */
.request-form { margin: 1.5rem 0; }
.request-form iframe { width: 100%; min-height: 1100px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.request-form__fallback { font-size: var(--step--1); color: var(--steel); }

/* Post list */
.post-list { list-style: none; padding: 0; }
.post-list li { border-bottom: 1px solid var(--line); padding: 18px 0; margin: 0; }
.post-list__title { font-size: var(--step-2); font-weight: 700; font-stretch: 80%; }
.post-list p { margin: 6px 0 0; color: var(--steel); max-width: var(--measure); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c6d4df; padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem; margin-top: var(--space); font-size: 0.96rem; }
.entry + .site-footer, .site-main + .site-footer { margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 0.8fr; gap: 32px; }
.site-footer__name { color: #fff; font-weight: 720; font-stretch: 80%; font-size: var(--step-1); margin-bottom: 0.6em; }
.site-footer__head { color: #fff; font-weight: 660; font-stretch: 88%; margin-bottom: 0.6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 0.35em; }
.site-footer__base { border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 2.5rem; padding-top: 1.25rem; font-size: var(--step--1); }
.site-footer__base p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile call bar ---------- */
.callbar { display: none; }
@media (max-width: 760px) {
	body { padding-bottom: 68px; }
	.callbar {
		display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, 0.98); border-top: 1px solid var(--line);
	}
	.callbar a {
		display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px;
		border-radius: var(--radius); font-weight: 680; font-stretch: 90%; text-decoration: none;
	}
	.callbar__call { background: var(--alarm); color: #fff; }
	.callbar__request { background: var(--coil); color: #fff; }
	.callbar a:hover { color: #fff; }
}

@media print {
	.site-header, .callbar, .site-footer, .cta-band { display: none; }
}

/* Group inner containers (classic themes) */
.wp-block-group__inner-container > :first-child { margin-top: 0; }
.wp-block-group__inner-container > :last-child { margin-bottom: 0; }
