/*
Theme Name: House Wash New Zealand
Theme URI: https://housewashnewzealand.com/
Author: House Wash New Zealand
Description: A lightweight, accessible theme for House Wash New Zealand.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: hwnz
*/

:root {
  --ink: #14211d;
  --ink-soft: #42534c;
  --forest: #123c34;
  --forest-2: #0b2e28;
  --mint: #b9e979;
  --mint-bright: #d8f5a4;
  --sea: #77cfbe;
  --cream: #f5f1e8;
  --paper: #fffdf8;
  --white: #ffffff;
  --line: rgba(20, 33, 29, 0.14);
  --shadow: 0 24px 70px rgba(10, 35, 29, 0.14);
  --shadow-soft: 0 12px 38px rgba(10, 35, 29, 0.09);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 36px;
  --max: 1180px;
  --font: Inter, Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header { top: 32px; }

a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--sea); }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: fixed !important; z-index: 99999; top: 8px; left: 8px;
  width: auto; height: auto; padding: 12px 18px; margin: 0;
  clip: auto; background: var(--white); border-radius: 8px; color: var(--ink);
}

.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 780px); margin-inline: auto; }
.site-main { overflow: clip; }

h1, h2, h3, h4 {
  margin: 0 0 0.55em;
  color: var(--ink);
  font-weight: 760;
  line-height: 1.08;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(2.75rem, 5.5vw, 4.75rem); }
h2 { font-size: clamp(2.1rem, 3.7vw, 3.35rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); letter-spacing: -0.02em; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: var(--sea);
}
.on-dark .eyebrow, .hero .eyebrow { color: var(--mint-bright); }

.lede { max-width: 700px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.24rem); line-height: 1.62; }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark .lede, .on-dark p { color: rgba(255,255,255,.78); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 30px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--mint);
  color: var(--forest-2);
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--mint-bright); box-shadow: 0 12px 28px rgba(185,233,121,.22); text-decoration: none; }
.btn svg { width: 18px; height: 18px; }
.btn--outline { border-color: rgba(255,255,255,.36); background: transparent; color: var(--white); }
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.btn--ink { background: var(--forest); color: var(--white); }
.btn--ink:hover { background: var(--forest-2); color: var(--white); box-shadow: 0 12px 28px rgba(10,46,40,.18); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-weight: 800; text-decoration: none; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }

/* Header */
.scroll-progress {
  position: fixed; z-index: 1001; top: 0; left: 0;
  width: 0; height: 3px; background: var(--mint); pointer-events: none;
}
body.admin-bar .scroll-progress { top: 32px; }
.site-header {
  position: fixed; z-index: 1000; top: 0; left: 0; right: 0;
  border-bottom: 1px solid transparent;
  background: rgba(18,60,52,.92);
  color: var(--white);
  backdrop-filter: blur(14px);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { background: rgba(11,46,40,.97); border-color: rgba(255,255,255,.1); box-shadow: 0 10px 32px rgba(5,24,20,.16); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 44px; height: 44px; flex: 0 0 44px; }
.brand-copy { display: grid; gap: 1px; line-height: 1; }
.brand-copy strong { font-size: 1rem; letter-spacing: -.025em; }
.brand-copy span { color: var(--mint); font-size: .68rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 25px; margin-left: auto; }
.main-nav a { color: rgba(255,255,255,.84); font-size: .9rem; font-weight: 700; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { color: var(--white); font-size: .84rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.header-cta { min-height: 44px; padding: 11px 17px; font-size: .84rem; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  background: transparent; color: var(--white); cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 99px; background: currentColor; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle.is-open span { opacity: 0; }
.nav-toggle.is-open::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 780px;
  padding: 154px 0 92px;
  background: var(--forest);
  color: var(--white);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(119,207,190,.18), transparent 30%),
    radial-gradient(circle at 84% 16%, rgba(185,233,121,.15), transparent 28%),
    linear-gradient(135deg, var(--forest), var(--forest-2));
  z-index: -2;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 120px;
  background: var(--paper); clip-path: polygon(0 75%, 65% 100%, 100% 58%, 100% 100%, 0 100%); z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .82fr); gap: 70px; align-items: center; }
.hero h1 { max-width: 780px; color: var(--white); }
.hero h1 .accent { color: var(--mint); }
.hero .lede { color: rgba(255,255,255,.82); max-width: 660px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 26px; color: rgba(255,255,255,.7); font-size: .84rem; font-weight: 700; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sea); }
.hero-visual { position: relative; min-height: 520px; }
.hero-photo {
  position: absolute; inset: 0 0 25px 10%;
  width: 90%; height: calc(100% - 25px); object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: 0 38px 90px rgba(2,17,13,.35);
}
.hero-frame { position: absolute; inset: 34px 8% 0 0; border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius-lg); pointer-events: none; }
.hero-stamp {
  position: absolute; left: 0; bottom: 0; width: 168px; height: 168px;
  display: grid; place-content: center; padding: 24px; text-align: center;
  border: 9px solid var(--forest); border-radius: 50%; background: var(--mint); color: var(--forest-2);
  box-shadow: 0 18px 40px rgba(1,20,14,.25);
}
.hero-stamp strong { display: block; font-size: 1.08rem; line-height: 1.18; letter-spacing: -.02em; }
.hero-stamp span { display: block; margin-top: 5px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.page-hero { position: relative; padding: 168px 0 95px; background: var(--forest); color: var(--white); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -8vw; top: 70px; width: 45vw; height: 45vw; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.page-hero h1 { max-width: 850px; color: var(--white); }
.page-hero .lede { color: rgba(255,255,255,.8); }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .7fr; gap: 60px; align-items: end; }
.page-hero__image { position: relative; z-index: 1; aspect-ratio: 4/3; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }

/* Sections */
.section { padding: clamp(76px, 9vw, 124px) 0; }
.section--tight { padding: clamp(55px, 7vw, 85px) 0; }
.section--cream { background: var(--cream); }
.section--forest { background: var(--forest); color: var(--white); }
.section--paper { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; gap: 45px; align-items: end; margin-bottom: 46px; }
.section-head > div:first-child { max-width: 760px; }
.section-head p { max-width: 540px; color: var(--ink-soft); }
.section--forest .section-head p { color: rgba(255,255,255,.72); }

.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.problem-card {
  min-height: 280px; padding: 26px;
  display: flex; flex-direction: column; justify-content: space-between;
  border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.55);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.problem-card:hover { transform: translateY(-6px); background: var(--white); box-shadow: var(--shadow-soft); }
.problem-card__num { color: var(--forest); font-size: .74rem; font-weight: 850; letter-spacing: .12em; }
.problem-card h3 { margin-bottom: 12px; }
.problem-card p { color: var(--ink-soft); font-size: .93rem; line-height: 1.55; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  position: relative; min-height: 360px; overflow: hidden;
  border-radius: var(--radius); background: var(--forest-2); color: var(--white); text-decoration: none;
}
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 24%, rgba(5,28,23,.9) 100%); }
.service-card__copy { position: absolute; z-index: 2; left: 25px; right: 25px; bottom: 23px; }
.service-card h3 { margin: 0 0 6px; color: var(--white); }
.service-card p { color: rgba(255,255,255,.76); font-size: .88rem; line-height: 1.48; }
.service-card:hover { text-decoration: none; }
.service-card:hover img { transform: scale(1.05); }
.service-card--text { padding: 30px; background: var(--mint); color: var(--forest-2); display: flex; flex-direction: column; justify-content: space-between; }
.service-card--text::after { display: none; }
.service-card--text h3 { color: var(--forest-2); font-size: 1.8rem; }
.service-card--text p { color: rgba(11,46,40,.76); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px, 7vw, 90px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.split__media::before { content: ""; position: absolute; width: 58%; height: 54%; right: -18px; bottom: -18px; border-radius: var(--radius); background: var(--mint); z-index: -1; }
.split--reverse .split__media::before { right: auto; left: -18px; background: var(--sea); }
.check-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 13px; }
.check-list li { position: relative; padding-left: 31px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: var(--forest-2); font-size: .7rem; font-weight: 900; }

.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.area-card { position: relative; padding: clamp(30px, 5vw, 55px); overflow: hidden; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-soft); }
.area-card--dark { background: var(--forest); color: var(--white); }
.area-card--dark h2, .area-card--dark h3 { color: var(--white); }
.area-card p { color: var(--ink-soft); }
.area-card--dark p { color: rgba(255,255,255,.75); }
.area-card__tag { display: inline-flex; margin-bottom: 50px; padding: 8px 13px; border-radius: 99px; background: var(--cream); color: var(--forest); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.area-card--dark .area-card__tag { background: rgba(255,255,255,.1); color: var(--mint); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: steps; }
.process-step { position: relative; padding: 0 28px; border-left: 1px solid rgba(255,255,255,.18); counter-increment: steps; }
.process-step:first-child { padding-left: 0; border-left: 0; }
.process-step::before { content: "0" counter(steps); display: block; margin-bottom: 42px; color: var(--mint); font-size: .76rem; font-weight: 850; letter-spacing: .12em; }
.process-step h3 { color: var(--white); }
.process-step p { color: rgba(255,255,255,.68); font-size: .92rem; }

.reason-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(48px, 8vw, 110px); align-items: start; }
.reason-list { display: grid; }
.reason-item { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 25px 0; border-top: 1px solid var(--line); }
.reason-item:first-child { border-top: 0; padding-top: 0; }
.reason-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--forest); font-weight: 900; }
.reason-item h3 { margin-bottom: 7px; }
.reason-item p { color: var(--ink-soft); font-size: .94rem; }

.service-index { position: sticky; z-index: 30; top: 82px; background: rgba(255,253,248,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.service-index__inner { display: flex; gap: 8px; padding: 13px 0; overflow-x: auto; scrollbar-width: none; }
.service-index__inner::-webkit-scrollbar { display: none; }
.service-index a { flex: 0 0 auto; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--forest); font-size: .76rem; font-weight: 800; text-decoration: none; }
.service-index a:hover { background: var(--forest); color: var(--white); }

.service-detail { scroll-margin-top: 150px; }
.service-detail + .service-detail { border-top: 1px solid var(--line); }
.service-detail__grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(45px, 8vw, 110px); align-items: start; }
.service-detail__label { position: sticky; top: 160px; }
.service-detail__label span { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 50%; background: var(--mint); color: var(--forest-2); font-size: .8rem; font-weight: 900; }
.service-detail__content { display: grid; gap: 30px; }
.service-detail__content > img { width: 100%; max-height: 500px; object-fit: cover; border-radius: var(--radius); }
.service-detail__content p { color: var(--ink-soft); }
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mini-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.mini-card strong { display: block; margin-bottom: 5px; color: var(--forest); }
.mini-card p { font-size: .88rem; line-height: 1.48; }

.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.more-card { min-height: 235px; padding: 27px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.055); }
.more-card span { color: var(--mint); font-size: .74rem; font-weight: 850; letter-spacing: .11em; }
.more-card h3 { color: var(--white); }
.more-card p { color: rgba(255,255,255,.69); font-size: .9rem; }

.locality-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.locality-card { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.locality-card h3 { margin-bottom: 13px; }
.locality-card p { color: var(--ink-soft); font-size: .92rem; }
.place-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.place-list span { padding: 7px 10px; border-radius: 999px; background: var(--cream); color: var(--forest); font-size: .73rem; font-weight: 750; }

.answer-box { padding: clamp(30px,5vw,55px); border-radius: var(--radius-lg); background: var(--forest); color: var(--white); }
.answer-box h2 { color: var(--white); }
.answer-box p { color: rgba(255,255,255,.76); }
.answer-box__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 35px; }
.answer-box__item { padding: 24px; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-sm); background: rgba(255,255,255,.055); }
.answer-box__item strong { display: block; margin-bottom: 7px; color: var(--mint); }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 25px 48px 25px 0; list-style: none; cursor: pointer; color: var(--ink); font-weight: 780; line-height: 1.35; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 19px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); color: var(--forest); font-size: 1.2rem; transition: transform .2s ease, background .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--mint); }
.faq-list details > div { max-width: 760px; padding: 0 50px 26px 0; color: var(--ink-soft); }

.cta-panel { position: relative; padding: clamp(45px,7vw,80px); overflow: hidden; border-radius: var(--radius-lg); background: var(--mint); }
.cta-panel::after { content: ""; position: absolute; right: -110px; bottom: -180px; width: 430px; height: 430px; border: 1px solid rgba(18,60,52,.24); border-radius: 50%; }
.cta-panel h2 { max-width: 780px; color: var(--forest-2); }
.cta-panel p { max-width: 650px; color: rgba(11,46,40,.74); }
.cta-panel .btn-row { position: relative; z-index: 1; }

/* Footer */
.site-footer { background: var(--forest-2); color: var(--white); }
.footer-main { display: grid; grid-template-columns: 1.5fr .7fr .8fr; gap: 65px; padding: 80px 0 58px; }
.footer-brand { max-width: 460px; }
.footer-brand p { margin-top: 22px; color: rgba(255,255,255,.65); }
.footer-col h3 { margin-bottom: 20px; color: var(--white); font-size: .9rem; letter-spacing: .05em; text-transform: uppercase; }
.footer-col a { display: block; margin: 9px 0; color: rgba(255,255,255,.72); font-size: .9rem; text-decoration: none; }
.footer-col a:hover { color: var(--mint); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5); font-size: .76rem; }
.mobile-cta { display: none; }

/* Reveal and utility */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
.grain { position: relative; }
.grain::before { content: ""; position: absolute; inset: 0; opacity: .18; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E"); }

@media (max-width: 1080px) {
  .main-nav { gap: 16px; }
  .header-phone { display: none; }
  .hero-grid { grid-template-columns: 1.05fr .85fr; gap: 45px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .more-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .scroll-progress { top: 46px; }
  .wrap, .narrow { width: min(calc(100% - 30px), var(--max)); }
  .header-inner { min-height: 72px; }
  .nav-toggle { display: block; order: 3; }
  .main-nav {
    position: fixed; inset: 72px 0 auto;
    display: grid; gap: 0; padding: 18px 22px 26px;
    background: var(--forest-2); border-top: 1px solid rgba(255,255,255,.1);
    transform: translateY(-125%); visibility: hidden; opacity: 0;
    transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
  }
  body.admin-bar .main-nav { top: 118px; }
  .main-nav.is-open { transform: none; visibility: visible; opacity: 1; }
  .main-nav a { padding: 14px 3px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1rem; }
  .header-actions .header-cta { display: none; }
  .hero { min-height: auto; padding: 128px 0 115px; }
  .hero-grid, .page-hero__grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 430px; margin-top: 8px; }
  .page-hero { padding: 132px 0 75px; }
  .page-hero__image { max-height: 430px; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .reason-grid, .service-detail__grid { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 42px 0; }
  .process-step:nth-child(3) { padding-left: 0; border-left: 0; }
  .service-detail__label { position: static; }
  .locality-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.2fr .8fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(2.65rem, 12.7vw, 3.55rem); }
  h2 { font-size: clamp(2rem, 9.4vw, 2.7rem); }
  .brand-copy strong { font-size: .9rem; }
  .brand-mark { width: 40px; height: 40px; flex-basis: 40px; }
  .hero { padding-top: 118px; }
  .hero-visual { min-height: 350px; }
  .hero-photo { inset: 0 0 18px 4%; width: 96%; }
  .hero-frame { inset: 20px 5% 0 0; }
  .hero-stamp { width: 128px; height: 128px; border-width: 7px; padding: 18px; }
  .hero-stamp strong { font-size: .88rem; }
  .hero-stamp span { font-size: .57rem; }
  .hero::after { height: 76px; }
  .btn-row { align-items: stretch; }
  .btn-row .btn { flex: 1 1 100%; }
  .problem-grid, .service-grid, .area-grid, .more-grid, .locality-grid, .answer-box__grid, .mini-grid { grid-template-columns: 1fr; }
  .problem-card { min-height: 235px; }
  .service-card { min-height: 330px; }
  .area-card__tag { margin-bottom: 32px; }
  .process-grid { grid-template-columns: 1fr; gap: 0; }
  .process-step, .process-step:nth-child(3) { padding: 30px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .process-step:first-child { border-top: 0; padding-top: 0; }
  .process-step::before { margin-bottom: 18px; }
  .service-index { top: 72px; }
  .service-detail__content { gap: 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 38px; padding-bottom: 42px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: block; padding-bottom: 90px; }
  .footer-bottom span { display: block; margin: 5px 0; }
  .mobile-cta {
    position: fixed; z-index: 999; left: 12px; right: 12px; bottom: 12px;
    display: grid; grid-template-columns: .38fr .62fr; gap: 8px;
    padding: 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
    background: rgba(11,46,40,.94); box-shadow: 0 16px 42px rgba(3,22,17,.28); backdrop-filter: blur(12px);
  }
  .mobile-cta a { min-height: 45px; display: grid; place-items: center; border-radius: 999px; color: var(--white); font-size: .78rem; font-weight: 850; text-decoration: none; }
  .mobile-cta a:last-child { background: var(--mint); color: var(--forest-2); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
