/* Carpet Repair Pro — main stylesheet */

:root {
	--ink: #0e2620;
	--green: #123a2f;
	--green-2: #1c5443;
	--green-3: #2c7a61;
	--cream: #f6f1e6;
	--paper: #fffcf6;
	--white: #fff;
	--accent: #f2b636;
	--accent-2: #e3a21a;
	--accent-ink: #2f2100;
	--muted: #56665f;
	--line: rgba(14, 38, 32, .12);
	--shadow: 0 1px 2px rgba(14, 38, 32, .06), 0 12px 32px -12px rgba(14, 38, 32, .22);
	--radius: 18px;
	--radius-sm: 12px;
	--wrap: 1200px;
	--display: "Fraunces", Georgia, "Times New Roman", serif;
	--body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--bar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 1.0625rem/1.65 var(--body);
	-webkit-font-smoothing: antialiased;
	padding-bottom: var(--bar-h);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-2); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--ink); }
h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.center { text-align: center; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .8em 1.35em; border-radius: 999px; border: 2px solid transparent;
	font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px -8px rgba(227, 162, 26, .7); }
.btn--accent:hover { background: var(--accent-2); }
.btn--ghost { border-color: var(--green); color: var(--green); background: transparent; }
.btn--ghost:hover { background: var(--green); color: var(--white); }
.btn--light { background: rgba(255, 255, 255, .12); color: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn--light:hover { background: var(--white); color: var(--green); }
.btn--lg { padding: 1em 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }

.eyebrow { font: 700 .78rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--green-3); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--accent); }

.stars { display: inline-flex; gap: 1px; color: var(--accent); }
.stars .icon { width: 1em; height: 1em; }

/* Top bar */
.topbar { background: var(--ink); color: rgba(255, 255, 255, .82); font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; white-space: nowrap; }
.topbar a:hover { color: var(--white); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 252, 246, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__logo { max-height: 48px; width: auto; }
.brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green); color: var(--accent); }
.brand__name { font: 700 1.2rem/1 var(--display); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav__list a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; }
.nav__list a:hover { color: var(--green-3); }
.nav__cta { padding: .6em 1.1em; font-size: .95rem; }
.header__call { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); background: var(--green); padding: 8px 18px 8px 12px; border-radius: 999px; font-weight: 700; }
.header__call .icon { width: 30px; height: 30px; padding: 7px; background: rgba(255, 255, 255, .14); border-radius: 50%; }
.header__call small { display: block; font-size: .68rem; font-weight: 500; opacity: .75; letter-spacing: .04em; text-transform: uppercase; }
.header__call:hover { background: var(--green-2); }
.header__toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.header__toggle .icon { width: 28px; height: 28px; }
.header__toggle .i-close { display: none; }
.header__toggle[aria-expanded="true"] .i-close { display: block; }
.header__toggle[aria-expanded="true"] .i-open { display: none; }

/* Hero */
.hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(1200px 500px at 90% -10%, rgba(242, 182, 54, .18), transparent 60%),
		repeating-linear-gradient(90deg, rgba(14, 38, 32, .025) 0 2px, transparent 2px 6px),
		var(--cream);
	padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .9rem; box-shadow: var(--shadow); }
.pill > span:last-child { color: var(--muted); }
.topbar .stars, .pill .stars { color: var(--accent); }
.hero__title { font-size: clamp(2.8rem, 1.6rem + 5vw, 5.4rem); line-height: .98; margin: 24px 0 22px; letter-spacing: -.03em; }
.hero__title span { display: block; }
.hero__title em { display: inline-block; font-style: italic; color: var(--green-3); position: relative; }
.hero__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .18em; background: var(--accent); z-index: -1; border-radius: 4px; opacity: .85; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); color: var(--muted); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 14px; }
.hero__sms { font-size: .95rem; color: var(--muted); }
.hero__sms a { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .95rem; color: var(--ink); }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks .icon { color: var(--green-3); width: 1.25em; height: 1.25em; padding: 3px; border-radius: 50%; background: rgba(44, 122, 97, .14); }

.hero__media { position: relative; }
.hero__photo { border-radius: 28px 28px 28px 120px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(14, 38, 32, .55); aspect-ratio: 8 / 9; background: var(--green); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.ph { width: 100%; height: 100%; background: repeating-linear-gradient(45deg, var(--green) 0 14px, var(--green-2) 14px 28px); }
.hero__card { position: absolute; background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 14px 18px; font-size: .95rem; }
.hero__card--a { left: -28px; bottom: 56px; background: var(--green); color: var(--white); }
.hero__card--a strong { display: block; font-family: var(--display); font-size: 1.3rem; }
.hero__card--a span { color: var(--accent); font-weight: 600; }
.hero__card--b { right: -16px; top: 32px; display: flex; align-items: center; gap: 10px; }
.hero__card--b .icon { color: var(--green-3); width: 22px; height: 22px; }

/* Problem chips */
.strip { background: var(--green); color: var(--white); }
.strip__inner { display: flex; align-items: center; gap: 20px; padding-block: 18px; overflow-x: auto; scrollbar-width: none; }
.strip__inner::-webkit-scrollbar { display: none; }
.strip__label { margin: 0; font-weight: 600; white-space: nowrap; color: var(--accent); }
.strip__chips { display: flex; gap: 8px; }
.chip { white-space: nowrap; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); color: var(--white); text-decoration: none; font-size: .92rem; transition: background .15s, color .15s; }
.chip:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* Sections */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--tint { background: var(--cream); }
.section--dark { background: var(--green); color: rgba(255, 255, 255, .85); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section__head > p:last-child { color: var(--muted); font-size: 1.08rem; }
.section__head--left { text-align: left; margin-inline: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__img { position: relative; aspect-ratio: 4 / 3; background: repeating-linear-gradient(45deg, var(--cream) 0 10px, #efe8d9 10px 20px); }
.service__img img { width: 100%; height: 100%; object-fit: cover; }
.service__icon { position: absolute; left: 16px; bottom: -22px; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); }
.service__body { padding: 34px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.service__body h3 { font-size: 1.15rem; }
.service__body p { color: var(--muted); font-size: .96rem; flex: 1; }
.service__link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; }
.service__link:hover .icon { transform: translateX(3px); }
.service__link .icon { transition: transform .15s; }

.callout { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--green); color: rgba(255, 255, 255, .85); border-radius: var(--radius); padding: 28px 32px; background-image: radial-gradient(500px 200px at 100% 0, rgba(242, 182, 54, .22), transparent 70%); }
.callout h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 4px; }
.callout p { margin: 0; }
.callout__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* Before / after */
.ba-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.ba { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); user-select: none; }
.ba > img, .ba__before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--white); pointer-events: none; }
.ba__handle::after { content: "↔"; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--white); color: var(--green); display: grid; place-items: center; font-weight: 700; box-shadow: var(--shadow); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__tag { position: absolute; top: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(14, 38, 32, .75); color: var(--white); font-size: .8rem; font-weight: 600; pointer-events: none; }
.ba__tag--l { left: 14px; }
.ba__tag--r { right: 14px; background: var(--accent); color: var(--accent-ink); }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.why__intro > p { font-size: 1.08rem; }
.compare { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: .95rem; }
.compare th, .compare td { text-align: left; padding: 12px 10px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.compare thead th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.compare thead th:nth-child(2) { color: var(--accent); }
.compare tbody th { color: rgba(255, 255, 255, .6); font-weight: 500; }
.compare td:nth-child(2) { color: var(--white); font-weight: 600; }
.compare td:nth-child(3) { color: rgba(255, 255, 255, .55); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .3); }
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.reason { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 24px; }
.reason__n { font: 700 2.2rem/1 var(--display); color: var(--accent); display: block; margin-bottom: 14px; }
.reason p { margin: 0; font-size: .96rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; position: relative; }
.step { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px 26px; }
.step__n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green); color: var(--accent); font: 700 1.4rem/1 var(--display); margin-bottom: 18px; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 58px; right: -24px; width: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--green-3) 0 4px, transparent 4px 8px); }
.step p { color: var(--muted); margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery__item { position: relative; border-radius: var(--radius-sm); overflow: hidden; display: block; }
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item span { position: absolute; left: 10px; bottom: 10px; padding: 5px 12px; border-radius: 999px; background: rgba(14, 38, 32, .78); color: var(--white); font-size: .82rem; font-weight: 500; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 20, 16, .92); display: grid; place-items: center; padding: 24px; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 12px; }
.lightbox button { position: absolute; top: 16px; right: 16px; background: var(--white); border: 0; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }

/* Reviews */
.rating-line { display: inline-flex; align-items: center; gap: 8px; }
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-bottom: 32px; scrollbar-width: thin; }
.review { margin: 0; scroll-snap-align: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { margin: 0; font-size: 1rem; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption small { display: block; color: var(--muted); font-size: .82rem; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--green); font: 700 1.1rem/1 var(--display); }

/* Areas */
.areas { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.areas__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.area { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; transition: border-color .2s, box-shadow .2s; }
.area h3 { font-size: 1.05rem; font-family: var(--body); display: flex; align-items: center; gap: 8px; }
.area h3 .icon { color: var(--green-3); }
.area p { margin: 0; color: var(--muted); font-size: .93rem; }
.area mark { background: var(--accent); color: var(--accent-ink); border-radius: 4px; padding: 0 3px; }
.area.is-hit { border-color: var(--accent); box-shadow: var(--shadow); }
.suburb-check { display: block; margin-top: 24px; }
.suburb-check span { display: block; font-weight: 600; margin-bottom: 8px; }
.suburb-check input { width: 100%; padding: 14px 18px; border-radius: 999px; border: 2px solid var(--line); font: inherit; background: var(--white); }
.suburb-check input:focus { border-color: var(--green-3); outline: none; }
.suburb-result { min-height: 1.6em; margin-top: 12px; font-weight: 600; color: var(--green-2); }

/* FAQ */
.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 600 1.12rem/1.35 var(--body); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 1.3rem; color: var(--green); transition: transform .2s, background .2s; }
.faq__list details[open] summary::after { content: "–"; background: var(--accent); }
.faq__list details p { color: var(--muted); padding-right: 44px; margin-top: -6px; padding-bottom: 14px; }

/* Quote */
.quote { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.quote__info > p { font-size: 1.08rem; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: var(--accent); }
.contact-list small { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.contact-list a { color: var(--white); font-weight: 600; text-decoration: none; }

.qform { background: var(--paper); color: var(--ink); border-radius: 24px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); }
.qform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field b { color: #b4441d; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; font-size: 1rem; background: var(--white); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-3); box-shadow: 0 0 0 4px rgba(44, 122, 97, .14); }
.field .is-invalid { border-color: #b4441d; }
.drop { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 18px; border: 2px dashed rgba(44, 122, 97, .45); border-radius: 14px; background: rgba(44, 122, 97, .05); cursor: pointer; margin-bottom: 16px; transition: background .15s, border-color .15s; }
.drop:hover, .drop.is-over { background: rgba(44, 122, 97, .1); border-color: var(--green-3); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: var(--accent); display: grid; place-items: center; }
.drop__text small { display: block; color: var(--muted); }
.drop__thumbs { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.drop__thumbs:empty { display: none; }
.drop__thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.qform__error { background: #fdecea; color: #8a2b10; padding: 10px 14px; border-radius: 10px; font-size: .95rem; }
.qform__note { margin: 12px 0 0; font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 6px; justify-content: center; }
.qform__success { text-align: center; padding: 32px 8px; }
.qform__tick { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-3); color: var(--white); margin-bottom: 16px; }
.qform__tick .icon { width: 30px; height: 30px; }
.qform.is-loading button[type="submit"] { opacity: .7; pointer-events: none; }

/* Inner pages */
.page-hero { background: var(--cream); padding-block: 56px 40px; }
.page-hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); margin: 0; }
.page-hero__meta { color: var(--muted); font-size: .9rem; margin: 8px 0 0; }
.page-hero--center { text-align: center; padding-block: 96px; }
.content-area { padding-block: 48px 80px; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 2rem; margin-top: 1.6em; }
.prose img, .prose__thumb { border-radius: var(--radius-sm); }
.prose__thumb { margin-bottom: 32px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card__img img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card__body { padding: 22px; }
.post-card h2 { font-size: 1.35rem; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.cta-band { background: var(--green); color: rgba(255, 255, 255, .85); padding-block: 48px; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: 2rem; margin-bottom: 4px; }
.cta-band p { margin: 0; }

/* Footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding-top: 64px; font-size: .95rem; }
.footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer__brand { font: 700 1.5rem/1.1 var(--display); color: var(--white); }
.footer__rating { display: inline-flex; align-items: center; gap: 8px; }
.footer__h { color: var(--white); font-weight: 700; margin-bottom: 14px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__list li, .footer__list a { display: flex; align-items: center; gap: 10px; }
.footer__list .icon { color: var(--accent); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px; font-size: .85rem; }
.footer__menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }

/* Mobile action bar */
.actionbar { display: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.services { grid-template-columns: repeat(2, 1fr); }
	.nav__list { gap: 16px; }
	.header__call small { display: none; }
}

@media (max-width: 960px) {
	:root { --bar-h: calc(68px + env(safe-area-inset-bottom, 0px)); }
	/* backdrop-filter would make the header the containing block of the fixed menu panel. */
	.header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper); }
	.header__toggle { display: block; }
	.header__call { padding: 8px; }
	.header__call > span { display: none; }
	.header__call .icon { width: 28px; height: 28px; padding: 6px; background: none; }
	.nav {
		position: fixed; inset: 0 0 0 auto; top: 0; width: min(86vw, 360px); z-index: 60;
		flex-direction: column; align-items: stretch; gap: 20px;
		background: var(--paper); padding: calc(88px + env(safe-area-inset-top, 0px)) 24px 24px;
		box-shadow: -20px 0 60px rgba(0, 0, 0, .2);
		/* Hidden with clip-path rather than an off-screen transform, which would widen the mobile viewport. */
		clip-path: inset(0 0 0 100%); visibility: hidden;
		transition: clip-path .28s ease, visibility 0s linear .28s;
	}
	.nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .28s ease, visibility 0s; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
	.header__toggle { position: relative; z-index: 70; }
	.hero__grid, .why, .areas, .faq, .quote, .ba-wrap { grid-template-columns: 1fr; }
	.hero__media { max-width: 520px; }
	.hero__card--a { left: 12px; }
	.hero__card--b { right: 12px; }
	.steps { grid-template-columns: 1fr; }
	.step:not(:last-child)::after { display: none; }
	.gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
	.reviews { grid-auto-columns: 82%; }
	.posts { grid-template-columns: 1fr 1fr; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__grid > :first-child { grid-column: 1 / -1; }

	.actionbar {
		display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
		background: rgba(14, 38, 32, .96); backdrop-filter: blur(10px);
		box-shadow: 0 -10px 30px rgba(0, 0, 0, .15);
	}
	.actionbar__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 4px; border-radius: 12px; color: var(--white); text-decoration: none; font-size: .78rem; font-weight: 600; background: rgba(255, 255, 255, .08); }
	.actionbar__btn .icon { width: 22px; height: 22px; }
	.actionbar__btn--accent { background: var(--accent); color: var(--accent-ink); }
	/* The Click to Text floating button would duplicate the bar's Text button. */
	body.has-actionbar .ctt-float { display: none !important; }
}

@media (max-width: 600px) {
	body { font-size: 1rem; }
	.topbar__hide-sm { display: none !important; }
	.topbar__inner { justify-content: space-between; font-size: .76rem; }
	.header__inner { min-height: 64px; }
	.hero__ctas .btn { width: 100%; }
	.hero__photo { border-radius: 22px 22px 22px 72px; }
	.hero__card { font-size: .85rem; padding: 10px 14px; }
	.services { grid-template-columns: 1fr; }
	.qform__row { grid-template-columns: 1fr; gap: 0; }
	.reasons, .areas__grid, .posts { grid-template-columns: 1fr; }
	.gallery { grid-auto-rows: 140px; gap: 8px; }
	.callout { padding: 24px; }
	.callout__ctas, .callout__ctas .btn { width: 100%; }
	.footer__grid { grid-template-columns: 1fr; }
}
