/*
Theme Name: IS Aluminium Experts
Theme URI: https://isaluminium.co.za
Author: DNN Consulting & Projects
Description: Custom theme for IS Aluminium Experts, Gordon's Bay, Cape Town. Aluminium windows, doors, gates, glass fitting and glazing. Includes homepage, services, projects gallery with filters and lightbox, about and contact pages with a quote form, WhatsApp button and local business SEO. Pages and menu are created automatically on activation.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: isae
*/

/* ==========================================================================
   Fonts (self-hosted)
   ========================================================================== */
@font-face {
	font-family: "Saira";
	src: url("assets/fonts/saira.woff2") format("woff2-variations"), url("assets/fonts/saira.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 50% 125%;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("assets/fonts/inter.woff2") format("woff2-variations"), url("assets/fonts/inter.woff2") format("woff2");
	font-weight: 100 900;
	font-display: swap;
}

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--charcoal: #27323a;
	--charcoal-2: #1d262c;
	--charcoal-3: #34424c;
	--steel: #4a7f9e;
	--steel-dark: #3b6983;
	--glass: #94b8cc;
	--glass-soft: #e6eff4;
	--paper: #ffffff;
	--mist: #f3f6f8;
	--line: #dde4e9;
	--ink: #1f2a31;
	--muted: #5b6a74;
	--wa: #1faa55;

	--font-head: "Saira", "Arial Narrow", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 4px;
	--shadow: 0 1px 2px rgba(20, 30, 36, .06), 0 8px 24px rgba(20, 30, 36, .08);
	--shadow-lg: 0 20px 50px rgba(20, 30, 36, .18);
	--section: clamp(56px, 8vw, 104px);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, iframe, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--steel-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--charcoal); }
h1, h2, h3, h4 { font-family: var(--font-head); font-stretch: 112%; line-height: 1.12; margin: 0 0 .5em; color: var(--charcoal); letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--glass); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--charcoal); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 8px; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.container { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.center { text-align: center; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .85em 1.4em; border: 2px solid transparent; border-radius: var(--radius);
	font-family: var(--font-head); font-stretch: 110%; font-weight: 700; font-size: .95rem;
	letter-spacing: .04em; text-transform: uppercase; text-decoration: none; line-height: 1.2;
	cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--lg { padding: 1em 1.7em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--steel); color: #fff; }
.btn--primary:hover { background: var(--steel-dark); color: #fff; }
.btn--outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn--outline:hover { background: var(--charcoal); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--charcoal); }
.btn--light { background: #fff; color: var(--charcoal); }
.btn--light:hover { background: var(--glass-soft); color: var(--charcoal); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178a45; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-head); font-stretch: 110%; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--steel-dark); }

/* ==========================================================================
   Eyebrow / section heads
   ========================================================================== */
.eyebrow {
	display: inline-flex; align-items: center; gap: 12px;
	font-family: var(--font-head); font-stretch: 115%; font-weight: 600; font-size: .8rem;
	letter-spacing: .18em; text-transform: uppercase; color: var(--steel-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--glass); }
.section { padding: var(--section) 0; }
.section--tight { padding: 40px 0 0; }
.section--tint { background: var(--mist); }
.section--dark { background: var(--charcoal); color: #cfd9df; position: relative; overflow: hidden; }
.section--dark .section__title, .section--dark h3 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section__title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
.section__title--sm { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.section__lead { font-size: 1.1rem; color: var(--muted); }
.section--dark .section__lead { color: #b9c7d0; }

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.topbar { background: var(--charcoal-2); color: #b9c7d0; font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__tag { margin: 0; font-family: var(--font-head); font-stretch: 115%; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; color: var(--glass); }
.topbar__contact { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.topbar__contact li { display: flex; align-items: center; gap: 7px; }
.topbar__contact a { display: flex; align-items: center; gap: 7px; color: #dfe7ec; text-decoration: none; }
.topbar__contact a:hover { color: #fff; }
.topbar .icon { width: 14px; height: 14px; color: var(--glass); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(20,30,36,.08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: block; flex: none; }
.brand__logo { width: auto; height: 58px; transition: height .25s; }
.site-header.is-stuck .brand__logo { height: 48px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav__list > li { position: relative; }
.nav__list a {
	display: block; padding: 10px 14px; text-decoration: none; color: var(--charcoal);
	font-family: var(--font-head); font-stretch: 112%; font-weight: 600; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase;
	position: relative;
}
.nav__list > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--steel); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__list > li > a:hover::after,
.nav__list > .current-menu-item > a::after,
.nav__list > .current_page_item > a::after { transform: scaleX(1); }
.nav__list .sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; box-shadow: var(--shadow-lg); border-top: 3px solid var(--steel); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__cta { padding: .75em 1.2em; }

.nav-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; padding: 12px; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 2px; background: var(--charcoal); position: relative; transition: .25s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--charcoal); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,28,34,.92) 0%, rgba(20,28,34,.72) 45%, rgba(20,28,34,.15) 100%), linear-gradient(0deg, rgba(20,28,34,.55), transparent 45%); }
.hero::after { /* glass-highlight stripe from the logo */
	content: ""; position: absolute; z-index: 1; right: -8%; top: -20%; width: 28%; height: 150%;
	background: linear-gradient(90deg, transparent, rgba(148,184,204,.16) 40%, rgba(148,184,204,.16) 60%, transparent);
	transform: rotate(28deg); pointer-events: none;
}
.hero__inner { position: relative; z-index: 2; padding-top: clamp(80px, 12vw, 140px); padding-bottom: clamp(56px, 8vw, 96px); }
.hero__title { color: #fff; font-size: clamp(2.3rem, 5.6vw, 4.4rem); font-weight: 800; max-width: 15ch; text-transform: uppercase; font-stretch: 118%; letter-spacing: -.01em; line-height: 1.02; margin-bottom: .35em; }
.hero__text { font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 56ch; color: #dde6eb; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__tagline { display: flex; align-items: center; gap: 14px; margin: 44px 0 0; font-family: var(--font-head); font-stretch: 115%; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; color: var(--glass); }
.hero__tagline span { width: 44px; height: 2px; background: var(--glass); }

/* Facts bar */
.facts { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 3; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; align-items: center; gap: 16px; padding: 28px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact > .icon { width: 36px; height: 36px; color: var(--steel); stroke-width: 1.6; }
.fact__num { font-family: var(--font-head); font-stretch: 120%; font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--steel); }
.fact__label { font-family: var(--font-head); font-stretch: 110%; font-weight: 700; color: var(--charcoal); line-height: 1.25; font-size: 1rem; }
.fact__label small { display: block; font-family: var(--font-body); font-stretch: 100%; font-weight: 400; font-size: .85rem; color: var(--muted); margin-top: 3px; }

/* ==========================================================================
   Services grid
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; color: var(--ink); }
.service-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-card__img img { transform: scale(1.05); }
.service-card__body { padding: 0 26px 26px; position: relative; flex: 1; display: flex; flex-direction: column; }
.service-card__body p { color: var(--muted); font-size: .97rem; flex: 1; }
.service-card__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; background: var(--charcoal); color: #fff; border-radius: var(--radius); margin: -28px 0 16px; position: relative; box-shadow: 0 6px 16px rgba(20,30,36,.2); }
.service-card__icon .icon { width: 26px; height: 26px; stroke-width: 1.7; }
.split__copy .service-card__icon { margin: 0 0 18px; }
.service-card__title { font-size: 1.3rem; margin-bottom: 8px; }

/* ==========================================================================
   Split layout
   ========================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.service-row--flip .split__media { order: 2; }
.split__media { position: relative; }
.framed { position: relative; }
.framed::before { /* offset aluminium frame */
	content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--glass); border-radius: var(--radius); z-index: 0;
}
.framed img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.badge-year { position: absolute; z-index: 2; left: -12px; bottom: 28px; background: var(--steel); color: #fff; padding: 16px 22px; border-radius: var(--radius); box-shadow: var(--shadow-lg); text-align: center; }
.badge-year strong { display: block; font-family: var(--font-head); font-stretch: 120%; font-size: 2rem; line-height: 1; }
.badge-year span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.values { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 12px; }
.values li { padding: 14px 18px; background: #fff; border-left: 3px solid var(--steel); border-radius: 0 var(--radius) var(--radius) 0; }
.values strong { font-family: var(--font-head); font-stretch: 112%; color: var(--charcoal); margin-right: 4px; }
.checklist { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; }
.checklist .icon { color: var(--steel); margin-top: 4px; stroke-width: 2.6; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { font: inherit; font-family: var(--font-head); font-stretch: 110%; font-weight: 600; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; padding: 9px 18px; border: 1px solid var(--line); background: #fff; color: var(--charcoal); border-radius: 999px; cursor: pointer; transition: .2s; }
.filter:hover { border-color: var(--charcoal); }
.filter.is-active { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.gallery__grid { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: 18px; }
.gallery__grid--feature { columns: 4 220px; }
.gallery__item { break-inside: avoid; margin-bottom: 18px; }
.gallery__item.is-hidden { display: none; }
.gallery__link { display: block; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.gallery__link img { width: 100%; transition: transform .5s; }
.gallery__link:hover img { transform: scale(1.04); }
.gallery__cap { position: absolute; inset: auto 0 0 0; padding: 36px 16px 14px; background: linear-gradient(0deg, rgba(20,28,34,.85), transparent); color: #fff; opacity: 0; transform: translateY(8px); transition: .3s; }
.gallery__link:hover .gallery__cap, .gallery__link:focus-visible .gallery__cap { opacity: 1; transform: none; }
.gallery__title { font-family: var(--font-head); font-stretch: 110%; font-weight: 700; font-size: .98rem; }
@media (hover: none) { .gallery__cap { opacity: 1; transform: none; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,17,21,.94); display: flex; align-items: center; justify-content: center; padding: 60px 16px 90px; opacity: 0; visibility: hidden; transition: .25s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img { max-width: min(1200px, 100%); max-height: 100%; object-fit: contain; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: #dfe7ec; padding: 0 70px; font-size: .95rem; }
.lightbox__cap strong { display: block; color: #fff; font-family: var(--font-head); font-stretch: 112%; font-size: 1.1rem; }
.lightbox__btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; transition: background .2s; }
.lightbox__btn:hover { background: rgba(255,255,255,.22); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   Steps / pillars / reasons
   ========================================================================== */
.section--dark::after { content: ""; position: absolute; right: -10%; top: -30%; width: 30%; height: 170%; background: linear-gradient(90deg, transparent, rgba(148,184,204,.07) 40%, rgba(148,184,204,.07) 60%, transparent); transform: rotate(28deg); pointer-events: none; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; position: relative; z-index: 1; }
.step { counter-increment: step; padding: 30px 24px; background: var(--charcoal-3); border-radius: var(--radius); position: relative; border-top: 3px solid var(--steel); }
.step::before { content: "0" counter(step); position: absolute; top: 18px; right: 20px; font-family: var(--font-head); font-stretch: 120%; font-weight: 800; font-size: 2.2rem; color: rgba(148,184,204,.2); line-height: 1; }
.step > .icon { width: 34px; height: 34px; color: var(--glass); margin-bottom: 18px; stroke-width: 1.6; }
.step h3 { font-size: 1.2rem; }
.step p { font-size: .95rem; margin: 0; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 1; }
.pillar { padding: 34px 28px; background: var(--charcoal-3); border-radius: var(--radius); border-top: 3px solid var(--steel); }
.pillar > .icon { width: 34px; height: 34px; color: var(--glass); margin-bottom: 18px; stroke-width: 1.6; }
.pillar h3 { font-size: 1.35rem; text-transform: uppercase; }
.pillar p { margin: 0; }
.reasons { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.reasons li { display: flex; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); }
.reasons .icon { width: 30px; height: 30px; color: var(--steel); stroke-width: 1.6; }
.reasons h3 { font-size: 1.15rem; margin-bottom: 4px; }
.reasons p { margin: 0; color: var(--muted); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { background: linear-gradient(120deg, var(--steel-dark), var(--steel)); color: #eaf2f6; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 55%; top: -60%; width: 22%; height: 220%; background: rgba(255,255,255,.07); transform: rotate(28deg); }
.cta__inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(48px, 7vw, 80px); }
.cta__title { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); text-transform: uppercase; font-stretch: 116%; }
.cta__copy p:last-child { margin: 0; max-width: 52ch; }
.cta .eyebrow--light { color: #d6e6ef; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta__phone { flex-basis: 100%; display: flex; justify-content: flex-end; align-items: center; gap: 8px; color: #fff; font-family: var(--font-head); font-stretch: 112%; font-weight: 700; font-size: 1.3rem; text-decoration: none; }
.cta__phone:hover { color: var(--glass-soft); }

/* ==========================================================================
   Inner page hero + subnav
   ========================================================================== */
.page-hero { position: relative; color: #fff; background: var(--charcoal) var(--bg) center / cover no-repeat; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,28,34,.93), rgba(20,28,34,.65)); }
.page-hero__inner { position: relative; padding-top: clamp(64px, 9vw, 110px); padding-bottom: clamp(56px, 8vw, 96px); }
.page-hero__title { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); text-transform: uppercase; font-stretch: 118%; font-weight: 800; margin-bottom: .3em; }
.page-hero__text { max-width: 60ch; font-size: 1.1rem; color: #d3dde3; margin: 0; }
.subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 84px; z-index: 40; }
.subnav__inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--charcoal); font-weight: 600; font-size: .9rem; }
.subnav a:hover { background: var(--mist); }
.subnav .icon { color: var(--steel); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--charcoal); }
.field label span { color: var(--steel); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border: 1px solid #c9d3da; border-radius: var(--radius); background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--steel); box-shadow: 0 0 0 3px rgba(74,127,158,.2); }
.field textarea { resize: vertical; min-height: 130px; }
.field .is-invalid { border-color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.form-alert { display: flex; gap: 14px; padding: 16px 18px; border-radius: var(--radius); margin-bottom: 22px; }
.form-alert p { margin: 0; }
.form-alert--ok { background: #e7f6ec; color: #185c32; }
.form-alert--ok .icon { width: 24px; height: 24px; }
.form-alert--err { background: #fbeaea; color: #8a1f1f; }
.info-card { background: var(--charcoal); color: #cfd9df; border-radius: var(--radius); padding: 30px; margin-bottom: 20px; }
.info-card__title { color: #fff; font-size: 1.3rem; margin-bottom: 18px; }
.info-line { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); color: #fff; text-decoration: none; }
.info-line .icon { width: 22px; height: 22px; color: var(--glass); margin-top: 3px; }
a.info-line:hover { color: var(--glass); }
.info-line small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #93a5b1; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 300px; border: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--charcoal-2); color: #a9b8c2; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.brand--footer .brand__logo { height: 72px; margin-bottom: 20px; }
.site-footer__tag { font-family: var(--font-head); font-stretch: 115%; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--glass); }
.site-footer__title { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px; }
.site-footer__links, .site-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #d6e0e6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--glass); margin-top: 4px; width: 16px; height: 16px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }
.site-footer__bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 22px; padding-bottom: 22px; }
.site-footer__bottom p { margin: 0; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }

/* ==========================================================================
   Blog / content
   ========================================================================== */
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-size: 1.8rem; margin-top: 1.4em; }
.entry-content h3 { font-size: 1.35rem; margin-top: 1.3em; }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--steel); font-size: 1.1rem; color: var(--charcoal); }
.entry-figure { margin: 0 0 32px; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.post-card__body { padding: 22px; }
.post-card__meta { font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.post-card__title { font-size: 1.25rem; }
.post-card__title a { color: var(--charcoal); text-decoration: none; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.pagination .current { background: var(--charcoal); color: #fff; border-color: var(--charcoal); }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.nav { gap: 14px; }
	.nav__list a { padding: 10px 10px; font-size: .86rem; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
	.topbar__contact .topbar__loc, .topbar__tag { display: none; }
	.topbar__contact a { white-space: nowrap; }
	.site-header { backdrop-filter: none; background: #fff; }
	.topbar__inner { justify-content: center; }
	.site-header__inner { min-height: 70px; }
	.brand__logo, .site-header.is-stuck .brand__logo { height: 46px; }
	.nav-toggle { display: block; }
	.nav {
		position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 60;
		flex-direction: column; align-items: stretch; gap: 20px; padding: 90px 24px 32px;
		background: #fff; box-shadow: var(--shadow-lg); transform: translateX(105%); transition: transform .3s ease; overflow-y: auto;
	}
	.nav-open .nav { transform: none; }
	.nav-toggle { position: relative; z-index: 70; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { padding: 14px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
	.nav__list > li > a::after { display: none; }
	.nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
	.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(20,28,34,.5); z-index: 45; }
	.subnav { top: 70px; }

	.facts__grid { grid-template-columns: 1fr 1fr; }
	.fact { padding: 22px 16px; border-left: 0; border-top: 1px solid var(--line); }
	.fact:first-child { padding-left: 16px; }
	.fact:nth-child(-n+2) { border-top: 0; }
	.fact:nth-child(odd) { border-right: 1px solid var(--line); }
	.services-grid, .post-grid { grid-template-columns: 1fr 1fr; }
	.split, .contact, .cta__inner { grid-template-columns: 1fr; }
	.service-row--flip .split__media { order: 0; }
	.split__media { max-width: 640px; }
	.cta__actions, .cta__phone { justify-content: flex-start; }
	.pillars { grid-template-columns: 1fr; }
	.hero { min-height: 0; }
	.hero::before { background: linear-gradient(0deg, rgba(20,28,34,.95) 0%, rgba(20,28,34,.75) 55%, rgba(20,28,34,.45) 100%); }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.topbar__contact { gap: 16px; }
	.topbar__contact li:nth-child(2) span { display: none; }
	.facts__grid { grid-template-columns: 1fr; }
	.fact, .fact:first-child { padding: 16px 0; border-right: 0 !important; border-top: 1px solid var(--line); }
	.fact:first-child { border-top: 0; }
	.fact__num { font-size: 2.1rem; }
	.services-grid, .post-grid, .steps, .reasons, .form-grid, .checklist { grid-template-columns: 1fr; }
	.gallery__grid, .gallery__grid--feature { columns: 2 140px; column-gap: 10px; }
	.gallery__item { margin-bottom: 10px; }
	.gallery__cap { padding: 26px 10px 8px; }
	.gallery__title { font-size: .82rem; }
	.hero__actions .btn { flex: 1 1 100%; }
	.cta__actions .btn { flex: 1 1 100%; }
	.site-footer__grid { grid-template-columns: 1fr; padding-top: 52px; }
	.framed::before { inset: 12px -10px -12px 12px; }
	.badge-year { left: 8px; bottom: 16px; padding: 12px 16px; }
	.badge-year strong { font-size: 1.6rem; }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
	.wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

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