/* =========================================================
   MAK12 Advertising: site styles
   One design system for every page. Mobile first.
========================================================= */

:root {
	--bg: #071411;
	--bg-alt: #0a1b17;
	--surface: #0e211c;
	--surface-2: #122a24;
	--line: rgba(255, 255, 255, 0.09);
	--line-strong: rgba(255, 255, 255, 0.16);
	--text: #b4c2be;
	--text-dim: #8a9a96;
	--heading: #ffffff;
	--brand: #1a644f;
	--accent: #19d38f;
	--accent-ink: #04140f;
	--wa: #25d366;

	--font-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--container: 1240px;
	--gutter: 20px;
	--section: clamp(64px, 9vw, 120px);
	--radius: 10px;
	--radius-sm: 6px;
	--header-h: 76px;
	--shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 12px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

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

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
	margin: 0 0 0.45em;
	color: var(--heading);
	font-family: var(--font-display);
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.02;
}

h1 { font-size: clamp(44px, 7.2vw, 92px); }
h2 { font-size: clamp(34px, 4.6vw, 58px); }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.12; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.ico { width: 1em; height: 1em; fill: currentColor; flex: none; }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 600;
	border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	color: var(--accent);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: currentColor;
}

.lead {
	color: #d3ddda;
	font-size: clamp(17px, 1.6vw, 19px);
	line-height: 1.65;
}

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

/* ---------- sections ---------- */
.section { padding: var(--section) 0; }
.section.alt { background: var(--bg-alt); }
.section.tight-top { padding-top: 0; }

.section-head {
	max-width: 760px;
	margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head p { font-size: 17px; }

.section-head-row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 40px;
	margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head-row .section-head { margin-bottom: 0; }

.split {
	display: grid;
	gap: 40px;
	align-items: center;
}

.grid { display: grid; gap: 20px; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn .ico { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #3ee6a6; }

.btn-ghost { border-color: var(--line-strong); color: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-light { background: #fff; color: var(--accent-ink); }
.btn-light:hover { background: #e9f3f0; }

.btn-link {
	min-height: auto;
	padding: 6px 0;
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-color: rgba(255, 255, 255, 0.35);
}
.btn-link:hover { color: var(--accent); transform: none; }

.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--accent);
	font-weight: 600;
	font-size: 15px;
}
.text-link .ico { width: 14px; height: 14px; transition: transform 0.2s ease; }
.text-link:hover .ico { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(7, 20, 17, 0.88);
	-webkit-backdrop-filter: saturate(140%) blur(12px);
	backdrop-filter: saturate(140%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(7, 20, 17, 0.96); }

.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--header-h);
}

.brand img { width: auto; height: 44px; }

.main-nav ul { display: flex; gap: 4px; }
.main-nav ul a {
	display: block;
	padding: 10px 14px;
	color: #dfe8e5;
	font-size: 15px;
	font-weight: 500;
	border-radius: var(--radius-sm);
	transition: color 0.2s ease, background-color 0.2s ease;
}
.main-nav ul a:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.main-nav ul a[aria-current="page"] { color: var(--accent); }
.nav-cta { display: none; }

.header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-left: auto;
}

.header-phone {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
}
.header-phone .ico { width: 15px; height: 15px; color: var(--accent); }

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: transparent;
	color: #fff;
	cursor: pointer;
}
.menu-toggle .ico { width: 20px; height: 20px; }
.menu-toggle .ico-close { display: none; }
.menu-open .menu-toggle .ico-open { display: none; }
.menu-open .menu-toggle .ico-close { display: block; }

/* ---------- home hero ---------- */
.hero {
	position: relative;
	padding: clamp(40px, 6vw, 90px) 0 clamp(56px, 7vw, 100px);
	background:
		radial-gradient(70% 60% at 85% 20%, rgba(25, 211, 143, 0.12), transparent 60%),
		radial-gradient(60% 60% at 0% 100%, rgba(26, 100, 79, 0.35), transparent 60%),
		var(--bg);
	overflow: hidden;
}

.hero-grid {
	display: grid;
	gap: 48px;
	align-items: center;
}

.hero h1 { margin-bottom: 22px; }
.hero h1 span { display: block; color: var(--accent); }
.hero .lead { max-width: 580px; }

.hero-checks {
	display: grid;
	gap: 10px;
	margin-top: 30px;
}
.hero-checks li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #dfe8e5;
	font-size: 15px;
	font-weight: 500;
}
.hero-checks .ico { width: 16px; height: 16px; color: var(--accent); }

.hero-media {
	position: relative;
}
.hero-media .frame {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--surface);
	box-shadow: var(--shadow);
}
.hero-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.hero-badge {
	position: absolute;
	left: -12px;
	bottom: 24px;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius);
	background: rgba(14, 33, 28, 0.94);
	box-shadow: var(--shadow);
}
.hero-badge strong {
	color: var(--accent);
	font-family: var(--font-display);
	font-size: 40px;
	font-weight: 400;
	line-height: 1;
}
.hero-badge span { color: #dfe8e5; font-size: 14px; line-height: 1.35; }

/* ---------- stats ---------- */
.stats {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: var(--bg-alt);
}
.stats-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stat {
	padding: 28px 16px;
	text-align: center;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-last-child(-n + 2) { border-bottom: 0; }
.stat strong {
	display: block;
	color: #fff;
	font-family: var(--font-display);
	font-size: clamp(38px, 4.4vw, 56px);
	font-weight: 400;
	line-height: 1;
}
.stat span { display: block; margin-top: 6px; color: var(--text-dim); font-size: 14px; }

/* ---------- trust strip ---------- */
.trust-strip { padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; gap: 28px; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; }
.trust-item > .ico {
	width: 46px;
	height: 46px;
	padding: 12px;
	border-radius: 50%;
	background: rgba(25, 211, 143, 0.1);
	color: var(--accent);
}
.trust-item h3 {
	margin: 2px 0 6px;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.35;
}
.trust-item p { font-size: 14px; line-height: 1.6; color: var(--text-dim); }

/* ---------- cards ---------- */
.card {
	height: 100%;
	padding: 28px 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text); }

.card-icon {
	display: inline-flex;
	width: 50px;
	height: 50px;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	border-radius: 12px;
	background: rgba(25, 211, 143, 0.1);
	color: var(--accent);
}
.card-icon .ico { width: 22px; height: 22px; }

.service-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	transition: border-color 0.25s ease, transform 0.25s ease;
}
.service-card:hover { border-color: rgba(25, 211, 143, 0.5); transform: translateY(-4px); }
.service-card .media { overflow: hidden; aspect-ratio: 16 / 11; background: var(--surface-2); }
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover img { transform: scale(1.04); }
.service-card .body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 22px 24px;
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { flex: 1; margin-bottom: 18px; font-size: 15px; }

/* ---------- process steps ---------- */
.steps { counter-reset: step; }
.step {
	position: relative;
	padding: 28px 24px 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}
.step::before {
	counter-increment: step;
	content: "0" counter(step);
	display: block;
	margin-bottom: 18px;
	color: var(--accent);
	font-family: var(--font-display);
	font-size: 40px;
	line-height: 1;
}
.step h3 { font-size: 24px; }
.step p { font-size: 15px; }

/* ---------- check list ---------- */
.check-list { display: grid; gap: 14px; margin: 26px 0 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ico {
	width: 22px;
	height: 22px;
	margin-top: 2px;
	padding: 5px;
	border-radius: 50%;
	background: rgba(25, 211, 143, 0.14);
	color: var(--accent);
}
.check-list strong { display: block; color: #fff; font-weight: 600; }
.check-list span { display: block; font-size: 15px; color: var(--text-dim); }

/* ---------- image collage ---------- */
.collage {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 14px;
	align-items: end;
}
.collage img {
	width: 100%;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	object-fit: cover;
}
.collage img:first-child { aspect-ratio: 4 / 5; }
.collage img:last-child { aspect-ratio: 4 / 5.6; margin-bottom: 40px; }

.media-frame img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

/* ---------- projects / gallery ---------- */
.project-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project {
	position: relative;
	display: block;
	overflow: hidden;
	margin: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	cursor: zoom-in;
}
.project img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.project:hover img { transform: scale(1.04); }
.project figcaption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 40px 16px 14px;
	background: linear-gradient(to top, rgba(4, 12, 10, 0.92), transparent);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
}
.project figcaption small {
	display: block;
	margin-bottom: 2px;
	color: var(--accent);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter {
	min-height: 42px;
	padding: 0 18px;
	border: 1px solid var(--line-strong);
	border-radius: 40px;
	background: transparent;
	color: #dfe8e5;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s ease;
}
.filter:hover { border-color: var(--accent); color: var(--accent); }
.filter.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.portfolio .project img { aspect-ratio: 4 / 3; }
.portfolio .project[hidden] { display: none; }

/* lightbox */
.lightbox {
	width: min(1100px, 94vw);
	max-height: 92vh;
	padding: 0;
	border: 0;
	border-radius: var(--radius);
	background: #000;
}
.lightbox::backdrop { background: rgba(0, 0, 0, 0.85); }
.lightbox img { width: 100%; max-height: 84vh; object-fit: contain; }
.lightbox p { margin: 0; padding: 12px 16px; color: #fff; font-size: 14px; background: #0b1714; }
.lightbox button {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	cursor: pointer;
}
.lightbox button .ico { width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 12px; }
.faq-list details {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	transition: border-color 0.2s ease;
}
.faq-list details[open] { border-color: rgba(25, 211, 143, 0.45); }
.faq-list summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 22px;
	cursor: pointer;
	list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h3 {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.45;
}
.faq-list summary::after {
	content: "+";
	flex: 0 0 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(25, 211, 143, 0.12);
	color: var(--accent);
	font-size: 20px;
	line-height: 1;
	transition: transform 0.25s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 22px 22px; font-size: 15px; }

/* ---------- pills ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill-list a {
	display: inline-block;
	padding: 9px 16px;
	border: 1px solid var(--line-strong);
	border-radius: 40px;
	color: #fff;
	font-size: 14px;
	transition: all 0.2s ease;
}
.pill-list a:hover { border-color: var(--accent); color: var(--accent); }

.prose a { color: #fff; text-decoration: underline; text-decoration-color: rgba(25, 211, 143, 0.6); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose p { font-size: 17px; }

/* ---------- inner page hero ---------- */
.page-hero {
	position: relative;
	padding: clamp(56px, 8vw, 110px) 0 clamp(52px, 7vw, 90px);
	background:
		linear-gradient(90deg, rgba(7, 20, 17, 0.97) 0%, rgba(7, 20, 17, 0.88) 50%, rgba(7, 20, 17, 0.7) 100%),
		var(--hero-img) center / cover no-repeat;
	border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 900px; font-size: clamp(42px, 6.4vw, 80px); }
.page-hero .lead { max-width: 680px; }

.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	font-size: 14px;
	color: var(--text-dim);
}
.crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255, 255, 255, 0.25); }
.crumbs a { color: #dfe8e5; }
.crumbs a:hover { color: var(--accent); }

/* ---------- contact ---------- */
.contact-cards { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 24px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	transition: border-color 0.2s ease;
}
a.contact-card:hover { border-color: rgba(25, 211, 143, 0.5); }
.contact-card .ico { width: 22px; height: 22px; margin-bottom: 10px; color: var(--accent); }
.contact-card strong { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-card span { color: #dfe8e5; font-size: 15px; overflow-wrap: anywhere; }

.form-card {
	padding: clamp(24px, 4vw, 40px);
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--surface);
}
.form-grid { display: grid; gap: 14px; }
.field label {
	display: block;
	margin-bottom: 6px;
	color: #dfe8e5;
	font-size: 14px;
	font-weight: 500;
}
.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: var(--bg);
	color: #fff;
	font-family: var(--font-body);
	font-size: 16px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(25, 211, 143, 0.18); }
.form-note { margin-top: 12px; color: var(--text-dim); font-size: 13px; }
.form-card .btn { width: 100%; margin-top: 6px; }

.map-frame {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.map-frame iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(0.4) contrast(1.05); }

/* ---------- CTA band ---------- */
.section:not(.alt) + .cta-section { padding-top: 0; }
.cta-band {
	display: grid;
	gap: 32px;
	padding: clamp(32px, 5vw, 64px);
	border: 1px solid rgba(25, 211, 143, 0.25);
	border-radius: 16px;
	background:
		radial-gradient(80% 120% at 100% 0%, rgba(25, 211, 143, 0.18), transparent 60%),
		linear-gradient(135deg, #0f2a23, #0a1b17);
}
.cta-band h2 { font-size: clamp(36px, 4.6vw, 60px); }
.cta-copy p { max-width: 560px; font-size: 17px; color: #d3ddda; }
.cta-facts { display: grid; gap: 8px; margin-top: 20px; }
.cta-facts li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #c6d3cf; }
.cta-facts .ico { width: 15px; height: 15px; color: var(--accent); }
.cta-actions { display: grid; gap: 12px; align-content: center; }
.cta-actions .btn { width: 100%; }
.cta-actions .btn-link { justify-content: center; }

/* ---------- footer ---------- */
.site-footer {
	padding: clamp(56px, 7vw, 88px) 0 0;
	border-top: 1px solid var(--line);
	background: #050f0d;
}
.footer-grid { display: grid; gap: 36px; padding-bottom: 48px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 380px; font-size: 15px; color: var(--text-dim); }
.footer-title {
	margin-bottom: 18px;
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #fff;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--text); font-size: 15px; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.footer-contact .ico { width: 16px; height: 16px; margin-top: 5px; color: var(--accent); }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	position: relative;
	padding-top: 22px;
	padding-bottom: 22px;
	font-size: 13px;
	color: var(--text-dim);
}
.footer-bottom::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--gutter);
	right: var(--gutter);
	height: 1px;
	background: var(--line);
}

/* ---------- floating + mobile contact ---------- */
.wa-float {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 40;
	display: flex;
	width: 58px;
	height: 58px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--wa);
	color: #fff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
	transition: transform 0.2s ease;
}
.wa-float .ico { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-3px); }

.mobile-bar { display: none; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* =========================================================
   Breakpoints
========================================================= */
@media (min-width: 640px) {
	.hero-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.form-grid .full { grid-column: 1 / -1; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
	.project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.stat { border-bottom: 0; }
	.stat:nth-child(2n) { border-right: 1px solid var(--line); }
	.stat:last-child { border-right: 0; }
	.contact-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
	.split { grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 88px); }
	.split.media-left > :first-child { order: 0; }
	.hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: clamp(40px, 5vw, 72px); }
	.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.cta-band { grid-template-columns: 1.4fr 1fr; align-items: center; }
	.footer-grid { grid-template-columns: 1.4fr 1fr 0.8fr 1.2fr; gap: 40px; }
	.contact-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
}

@media (min-width: 1200px) {
	.project-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* header collapses into a menu below 1100px */
@media (max-width: 1099px) {
	.menu-toggle { display: inline-flex; }
	.header-phone span { display: none; }
	.header-phone {
		width: 44px;
		height: 44px;
		justify-content: center;
		border: 1px solid var(--line-strong);
		border-radius: var(--radius-sm);
	}
	.main-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		z-index: 49;
		display: flex;
		flex-direction: column;
		gap: 24px;
		padding: 24px var(--gutter) 40px;
		background: var(--bg);
		overflow-y: auto;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
	}
	.menu-open .main-nav { visibility: visible; opacity: 1; transform: none; }
	/* backdrop-filter makes the header the containing block for the fixed menu, so drop it while the menu is open */
	.menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
	.main-nav { height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav ul a {
		padding: 16px 4px;
		border-bottom: 1px solid var(--line);
		border-radius: 0;
		font-family: var(--font-display);
		font-size: 30px;
		letter-spacing: 0.02em;
		line-height: 1;
	}
	.main-nav ul a:hover { background: transparent; }
	.nav-cta { display: grid; gap: 12px; }
	.nav-cta .btn { width: 100%; }
	body.menu-open { overflow: hidden; }
}

@media (max-width: 991px) {
	.hero-media { max-width: 560px; }
	.hero-badge { left: 12px; }
	.collage { margin-top: 8px; }
	.wa-float { display: none; }
	.mobile-bar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 45;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		padding-bottom: env(safe-area-inset-bottom);
		border-top: 1px solid var(--line-strong);
		background: rgba(5, 15, 13, 0.97);
	}
	.mobile-bar a {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 4px;
		min-height: 62px;
		color: #fff;
		font-size: 12px;
		font-weight: 600;
	}
	.mobile-bar a + a { border-left: 1px solid var(--line); }
	.mobile-bar .ico { width: 20px; height: 20px; color: var(--accent); }
	.mobile-bar .is-wa { background: var(--wa); }
	.mobile-bar .is-wa .ico { color: #fff; }
	body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
}

@media (max-width: 639px) {
	:root { --gutter: 16px; --header-h: 66px; }
	.brand img { height: 38px; }
	.header-quote { display: none; }
	.header-actions { gap: 10px; }
	.btn-row .btn { width: 100%; }
	.hero-badge strong { font-size: 32px; }
	.collage img:last-child { margin-bottom: 24px; }
	.map-frame iframe { height: 300px; }
	.footer-bottom { flex-direction: column; }

	.contact-cards { grid-template-columns: minmax(0, 1fr); }
	.contact-card { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; row-gap: 2px; padding: 18px; }
	.contact-card .ico { grid-row: span 2; margin: 2px 0 0; }

	/* service cards two per row on phones */
	.grid:has(> .service-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.service-card .body { padding: 14px 14px 16px; }
	.service-card h3 { font-size: 20px; }
	.service-card p { font-size: 13px; line-height: 1.5; margin-bottom: 12px; }
	.service-card .text-link { font-size: 13px; }
	.project-grid { gap: 10px; }
	.project figcaption { padding: 30px 10px 10px; font-size: 12px; }
}
