/* Aircon Servicing Singapore — SoCool
   Original mark: red #FE0000 + black SC.
   Original buttons: #981E25. */

:root {
  --ink: #141414;
  --ink-2: #1a0c0e;
  --navy: #3a1014;
  --slate: #54595f;
  --mist: #f6ecec;
  --frost: #faf6f6;
  --paper: #faf7f6;
  --white: #ffffff;
  --cyan: #981e25;
  --cyan-2: #fe0000;
  --cyan-d: #981e25;
  --ice: #ffd5d6;
  --warm: #fe0000;
  --warm-d: #981e25;
  --line: rgba(20, 20, 20, 0.12);
  --line-strong: rgba(20, 20, 20, 0.22);
  --glass: rgba(250, 247, 246, 0.72);
  --glass-d: rgba(20, 12, 12, 0.55);
  --shadow: 0 20px 50px rgba(20, 12, 12, 0.12);
  --shadow-lg: 0 40px 80px rgba(20, 12, 12, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
  --header-h: 76px;
  --font-d: "Instrument Serif", Georgia, serif;
  --font-s: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { background: var(--paper); color: var(--ink); }
body {
  font-family: var(--font-s);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul { list-style: none; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.wrap-wide { width: min(1320px, calc(100% - 32px)); margin-inline: auto; }

/* Type */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan-d);
}
h1, .h1 {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
h2, .h2 {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.028em;
}
h3, .h3 {
  font-family: var(--font-d);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.lede { font-size: clamp(17px, 1.6vw, 20px); color: #3a5a66; max-width: 38em; }
.muted { color: #5b7580; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform .45s var(--ease), background .35s, color .35s, box-shadow .35s;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 10px 30px rgba(152, 30, 37, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--cyan-2); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.28);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.btn-ink {
  background: var(--ink);
  color: var(--white);
}
.btn-ink:hover { background: #0c2a36; transform: translateY(-2px); }
.btn-line {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: #fff;
}
.btn-line:hover { border-color: var(--ink); }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: calc(var(--header-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  display: flex;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled,
.site-header.light {
  background: #ffffff;
  border-bottom-color: var(--line);
}
.logo { color: var(--ink); }
.nav a { color: #2a2a2a; }
.site-header .btn-ghost {
  color: var(--ink);
  border-color: rgba(20, 20, 20, 0.22);
}
.site-header .btn-ghost:hover { background: #f6ecec; }
.header-inner {
  width: min(1320px, calc(100% - 16px));
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  z-index: 2;
}
.logo-img {
  height: 44px;
  width: auto;
  max-width: 52px;
  background: #fff;
  object-fit: contain;
  flex: 0 0 auto;
}
.logo-word { font-weight: 700; font-size: 13px; letter-spacing: -0.02em; line-height: 1.15; white-space: nowrap; }
.logo-word small { display: none; font-weight: 500; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; opacity: .62; }
.nav { display: none; align-items: center; gap: 22px; }
.nav a {
  color: #2a2a2a;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: 0.02em;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1px; background: var(--cyan);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a:hover { color: var(--cyan); }
.header-cta { display: none; align-items: center; gap: 10px; }
.header-cta .btn { height: 42px; padding: 0 16px; font-size: 12px; }
.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; color: var(--ink); }
.menu-toggle[aria-expanded="true"] svg { display: none; }
.menu-toggle[aria-expanded="true"]::before {
  content: "×";
  font-size: 34px;
  line-height: 1;
  font-weight: 400;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100svh;
  min-height: 100dvh;
  background: #141414;
  color: #fff;
  overflow: hidden;
  display: grid;
  align-items: end;
}
.hero-media {
  position: absolute; inset: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: ken 18s var(--ease) forwards;
}
@keyframes ken { to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,21,28,.35) 0%, rgba(6,21,28,.25) 40%, rgba(6,21,28,.82) 100%),
    radial-gradient(80% 60% at 20% 80%, rgba(90, 180, 255, 0.22), transparent 60%);
}
.airflow {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.airflow canvas { width: 100%; height: 100%; display: block; }
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 28px));
  max-width: 100%;
  margin: 0 auto 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: end;
}
.hero .eyebrow { color: rgba(255,255,255,.78); }
.hero h1 em {
  font-style: italic;
  color: var(--ice);
}
.hero-copy { max-width: 18em; color: rgba(255,255,255,.72); margin: 18px 0 28px; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-side {
  display: none;
  gap: 12px;
  justify-items: end;
}
.temp-card, .trust-chip {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  border-radius: 18px;
}
.temp-card {
  padding: 18px 20px;
  min-width: 180px;
}
.temp-label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .65; }
.temp-read {
  font-family: var(--font-d);
  font-size: 56px;
  line-height: 1;
  margin: 6px 0 8px;
}
.temp-read span { font-size: 22px; }
.temp-bar {
  height: 3px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden;
}
.temp-bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, #7ec8ff, #2f8fd6);
  animation: coolfill 2.4s 0.4s var(--ease) forwards;
}
@keyframes coolfill { to { width: 72%; } }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px; }
.trust-chip {
  padding: 8px 12px;
  font-size: 12px;
  color: rgba(255,255,255,.86);
  white-space: nowrap;
}
.scroll-hint {
  display: none;
  position: absolute; bottom: 22px; left: 50%;
  transform: translateX(-50%);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* Sections */
.section { padding: 110px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head .eyebrow { margin-bottom: 14px; display: block; }
.section-head p { margin-top: 16px; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  width: 100%;
  max-width: 100%;
}
.stat {
  padding: 36px 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat span { display: block; margin-top: 8px; color: #5b7580; font-size: 13.5px; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}
.svc-feature {
  position: relative;
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.svc-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-feature::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,21,28,.1), rgba(6,21,28,.78));
}
.svc-feature .inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; }
.svc-list { display: grid; gap: 12px; }
.svc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 18px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: start;
  transition: transform .45s var(--ease), box-shadow .45s, border-color .3s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.svc-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--mist);
  color: var(--navy);
  display: grid; place-items: center;
}
.svc-ico svg { width: 22px; height: 22px; }
.svc-card h3 { font-size: 22px; }
.svc-card p { color: #5b7580; font-size: 14px; margin-top: 4px; }
.svc-card .go { color: var(--cyan-d); font-size: 13px; font-weight: 650; align-self: center; }

/* How it works */
.how { background: var(--ink); color: #fff; overflow: hidden; }
.how .eyebrow { color: var(--cyan-2); }
.how .lede { color: rgba(255,255,255,.62); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 20px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute; top: 28px; left: 6%; right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126,227,212,.4), transparent);
}
.step { padding: 0 18px; position: relative; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(126,227,212,.35);
  display: grid; place-items: center;
  font-family: var(--font-d);
  font-size: 22px;
  background: var(--ink);
  margin-bottom: 22px;
  color: var(--cyan-2);
}
.step h3 { margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.6); font-size: 14.5px; }

/* Pricing */
.price-board {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}
.price-table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}
.unit-tabs { display: flex; border-bottom: 1px solid var(--line); }
.unit-tabs button {
  flex: 1; height: 54px;
  font-size: 13px; font-weight: 650;
  color: #5b7580;
  border-right: 1px solid var(--line);
}
.unit-tabs button:last-child { border-right: 0; }
.unit-tabs button.active { color: var(--ink); background: var(--frost); }
.price-rows { padding: 8px; }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 14px;
}
.price-row:hover { background: var(--frost); }
.price-row strong { font-size: 15px; }
.price-row span { color: #5b7580; font-size: 13px; }
.price-row b { font-family: var(--font-d); font-size: 28px; font-weight: 400; }
.quote-card {
  background: var(--ink);
  color: #fff;
  border-radius: 22px;
  padding: 28px;
  position: sticky;
  top: 96px;
}
.quote-card h3 { margin: 8px 0 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .6; margin-bottom: 8px; }
.field select, .field input {
  width: 100%; height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: 0 12px;
  outline: none;
}
.field select option { color: var(--ink); }
.est {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 8px;
}
.est b { font-family: var(--font-d); font-size: 42px; font-weight: 400; }
.note { font-size: 12px; color: rgba(255,255,255,.5); margin: 12px 0 18px; }

/* Before after */
.ba {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: min(62vw, 560px);
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
  background: #1a1a1a;
}
.ba-pane {
  position: absolute;
  inset: 0;
  background-image: url("../images/before-after.webp");
  background-repeat: no-repeat;
  background-size: 200% 100%;
}
.ba-before { background-position: left center; }
.ba-after { background-position: right center; clip-path: inset(0 0 0 50%); z-index: 1; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; background: #fff;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}
.ba-knob {
  position: absolute; top: 50%; left: 50%;
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--ink);
  display: grid; place-items: center;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow);
}
.ba-tag {
  position: absolute; top: 18px;
  z-index: 3;
  pointer-events: none;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(6,21,28,.7); color: #fff;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}
.ba-tag.l { left: 18px; }
.ba-tag.r { right: 18px; }

/* Human */
.human {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.site-footer .logo-word { color: #fff; }
.site-footer .logo { align-items: flex-start; }
.contact-card h3, .contact-card a, .site-footer a { overflow-wrap: anywhere; }
.human-photo {
  border-radius: 24px;
  overflow: hidden;
  min-height: 560px;
}
.human-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 560px; }
.checklist { margin-top: 22px; display: grid; gap: 12px; }
.checklist li {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px;
  color: #3a5a66;
}
.dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--mist); color: var(--navy);
  display: grid; place-items: center; font-size: 12px;
}

/* Brands */
.brands-marquee {
  display: flex; gap: 48px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brands-track {
  display: flex; gap: 48px; min-width: max-content;
  animation: slide 28s linear infinite;
  font-size: 18px; font-weight: 650; letter-spacing: 0.18em;
  text-transform: uppercase; color: #7a939c;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* Reviews */
.reviews { background: var(--frost); }
.review-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 16px;
}
.review {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--line);
}
.review.featured { min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; }
.stars { color: var(--cyan-d); letter-spacing: 2px; font-size: 13px; }
.review q {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  margin: 16px 0 22px;
}
.who { font-size: 13.5px; color: #5b7580; }
.who b { color: var(--ink); display: block; }

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 24px;
  align-items: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: auto -10% -40% auto;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(152, 30, 37, 0.45), transparent 65%);
}
.cta-band p { color: rgba(255,255,255,.65); margin-top: 10px; max-width: 32em; }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 860px; }
.faq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.faq button {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 16px;
}
.faq .a {
  display: block;
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  opacity: 0;
  color: #3a5a66;
  transition: max-height .45s var(--ease), opacity .35s ease, padding .35s var(--ease);
}
.faq.open .a { max-height: 320px; opacity: 1; padding: 0 20px 18px; }
.faq .plus { color: var(--cyan-d); transition: transform .35s var(--ease); }
.faq.open .plus { transform: rotate(45deg); }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}
form { display: grid; gap: 12px; }
form input, form select, form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 14px 14px;
  background: var(--frost);
  outline: none;
}
form textarea { min-height: 120px; resize: vertical; }
.ok { display: none; color: var(--cyan-d); font-weight: 600; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: 64px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; font-weight: 650; }
.site-footer a:hover { color: var(--cyan-2); }
.legal {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 18px;
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,.42);
}

/* Mobile bar */
.mobile-bar {
  display: none;
  position: fixed; left: 12px; right: 12px; bottom: 12px;
  z-index: 70;
  background: rgba(6,21,28,.92);
  backdrop-filter: blur(16px);
  border-radius: 999px;
  padding: 8px;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 6px;
}
.mobile-bar a {
  height: 44px; border-radius: 999px;
  display: grid; place-items: center;
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em;
}
.mobile-bar a.wa { background: #25D366; color: #062; }
.mobile-bar a.book { background: var(--cyan); color: #fff; }

/* Page hero (inner) */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 140px 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,.64); max-width: 36em; margin-top: 14px; }

/* Reveal */
.reveal { animation: up .8s var(--ease) both; }
.d1 { animation-delay: .08s; } .d2 { animation-delay: .16s; } .d3 { animation-delay: .24s; } .d4 { animation-delay: .32s; }
@keyframes up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed; inset: 0;
  background: var(--ink);
  z-index: 75;
  padding: 100px 28px 40px;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav a { color: #fff; font-size: 28px; font-family: var(--font-d); }
.mobile-nav.open { display: flex; }

form input, form select, form textarea,
.field select, .field input { font-size: 16px; }
.hero-content > *,
.services-grid > *,
.price-board > *,
.review-grid > *,
.foot-grid > *,
.contact-grid > *,
.human > * { min-width: 0; }
p, li, h1, h2, h3 { overflow-wrap: break-word; }
.logo-word { overflow-wrap: normal; }

@media (min-width: 1600px) {
  :root { --max: 1280px; }
  .hero-content, .header-inner { width: min(1440px, calc(100% - 80px)); }
  .section { padding: 128px 0; }
}

@media (max-width: 1200px) {
  .nav { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .header-cta .btn-ghost { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .review.featured { grid-column: 1 / -1; min-height: 0; }
}

@media (max-width: 980px) {
  .split-2 { grid-template-columns: 1fr !important; }
  .hero-content, .services-grid, .price-board, .human, .contact-grid, .cta-band {
    grid-template-columns: 1fr;
  }
  .steps { grid-template-columns: 1fr 1fr; gap: 28px 8px; }
  .steps::before { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .hero { min-height: 100svh; }
  .hero-content { margin-bottom: 88px; width: min(1320px, calc(100% - 32px)); }
  .hero-side { justify-items: stretch; }
  .temp-card { width: 100%; max-width: 280px; }
  .human-photo, .human-photo img { min-height: 360px; }
  .quote-card { position: static; }
  .cta-band { padding: 36px 22px; }
  .cta-band .btn { width: 100%; }
  .section { padding: 72px 0; }
  .page-hero { padding: 120px 0 56px; }
  .svc-feature { min-height: 420px; }
  .ba { height: min(70vw, 420px); }
}

@media (max-width: 800px) {
  :root { --header-h: 60px; }
  .header-cta { display: none; }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px; }
  .header-inner { width: calc(100% - 16px); gap: 8px; }
  .logo { min-width: 0; gap: 8px; }
  .logo-img { height: 42px; width: auto; flex: 0 0 auto; }
  .logo-word { font-size: 12px; line-height: 1.15; }
  .logo-word small { display: none; }
  .mobile-bar {
    display: grid;
    z-index: 90;
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: calc(8px + env(safe-area-inset-bottom));
    padding: 6px;
  }
  .mobile-bar a { height: 46px; font-size: 13px; }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .wrap, .wrap-wide { width: min(var(--max), calc(100% - 28px)); }

  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    align-items: end;
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }
  .hero-content {
    margin-bottom: 8px;
    gap: 0;
    width: min(1320px, calc(100% - 28px));
  }
  .hero-side, .scroll-hint, .hero-actions .btn:nth-child(3) { display: none; }
  .hero-copy { font-size: 15.5px; max-width: 28em; margin: 12px 0 18px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-actions .btn { width: 100%; height: 48px; padding: 0 10px; font-size: 11.5px; letter-spacing: 0.03em; }
  h1, .h1 { font-size: clamp(40px, 11.2vw, 52px); }
  h2, .h2 { font-size: clamp(32px, 8.4vw, 44px); }
  .page-hero { padding: calc(84px + env(safe-area-inset-top)) 0 40px; }
  .page-hero h1 { font-size: clamp(36px, 10vw, 48px); }

  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 14px; }
  .stat b { font-size: 32px; }
  .stat:nth-child(2), .stat:nth-child(4) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { border-right: 1px solid var(--line); }

  .svc-feature { min-height: 300px; border-radius: 18px; }
  .svc-feature .inner { padding: 20px; }
  .svc-card { grid-template-columns: 40px 1fr; gap: 12px; padding: 14px; border-radius: 16px; }
  .svc-card h3 { font-size: 20px; }
  .svc-card .go { grid-column: 2; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .step { padding: 0; }

  .unit-tabs {
    gap: 6px;
    border: 0;
    margin-bottom: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .unit-tabs::-webkit-scrollbar { display: none; }
  .unit-tabs button {
    flex: 0 0 auto;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    font-size: 12px;
  }
  .unit-tabs button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
  .price-row { grid-template-columns: 1fr auto; gap: 8px; padding: 14px 12px; }
  .price-row > span { display: none; }
  .price-row > b { grid-row: auto; grid-column: auto; font-size: 26px; white-space: nowrap; }
  .quote-card { padding: 22px 18px; }
  .est b { font-size: 36px; }

  .ba { height: 240px; border-radius: 18px; }
  .human-photo, .human-photo img { min-height: 220px !important; max-height: 260px; }
  .review-grid, .foot-grid, .split-2 { grid-template-columns: 1fr !important; }
  .review { padding: 20px; }
  .review q { font-size: 22px; }
  .cta-band { padding: 28px 18px; border-radius: 20px; }
  .cta-band .btn, .cta-band a.btn { width: 100%; }
  .legal { flex-direction: column; }
  .faq button { font-size: 15px; padding: 16px; align-items: flex-start; }
  .faq.open .a { max-height: 640px; }
  .site-footer { padding: 40px 0 24px; }
  .foot-grid { gap: 22px; margin-bottom: 28px; }

  .mobile-nav {
    z-index: 85;
    padding: calc(76px + env(safe-area-inset-top)) 22px calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    gap: 14px;
  }
  .mobile-nav a { font-size: 30px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .mobile-bar { display: none; }
  body.nav-open .site-header {
    background: transparent;
    border-color: transparent;
    z-index: 95;
  }
  body.nav-open .menu-toggle,
  body.nav-open .logo-word { color: #fff; }
}

@media (max-width: 380px) {
  .logo-word { display: none; }
  h1, .h1 { font-size: 36px; }
  .hero-actions { grid-template-columns: 1fr; }
  .mobile-bar a { font-size: 12px; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; padding-top: 72px; padding-bottom: 24px; }
  .hero-content { margin-top: 0; margin-bottom: 12px; }
  .temp-card, .scroll-hint { display: none; }
  .page-hero { padding: 88px 0 28px; }
  .mobile-nav a { font-size: 22px; }
  .mobile-nav { gap: 8px; }
}

/* Motion — every page */
.flow-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.curtain {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #981e25;
  pointer-events: none;
  transform-origin: top;
  animation: curtainOut .62s cubic-bezier(.7,0,.2,1) forwards;
}
@keyframes curtainOut { to { transform: scaleY(0); } }
body.is-leaving .curtain {
  animation: curtainIn .24s var(--ease) forwards;
  transform-origin: bottom;
}
@keyframes curtainIn { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.m-item.in {
  animation: rise .7s var(--ease);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.m-photo { overflow: hidden; }
.m-photo img {
  transform: scale(1.08);
  transition: transform 1.15s var(--ease);
}
.m-photo.in img { transform: scale(1); }
#estPrice.pop { animation: pricePop .38s var(--ease); }
@keyframes pricePop {
  40% { transform: translateY(-4px) scale(1.05); }
}
.step-num { transition: color .35s, transform .45s var(--ease); }
.step:hover .step-num { transform: translateY(-4px); color: var(--cyan-2); }
.review { transition: transform .45s var(--ease), box-shadow .45s; }
.review:hover { transform: translateY(-6px); }
.stat b { transition: color .35s; }
.stat:hover b { color: var(--cyan); }
.checklist li { transition: transform .4s var(--ease); }
.checklist li:hover { transform: translateX(6px); }

@media (prefers-reduced-motion: reduce) {
  .curtain { display: none; }
  .m-item, .m-photo img { opacity: 1; transform: none; transition: none; }
  .reveal { animation: none; opacity: 1; }
}

/* Phone is the default above. Wide screens opt into the full header.
   A fixed header must never be wider than the glass — that is what
   stretched iPhone and left a blank column beside the hero. */
html, body { max-width: 100%; overflow-x: clip; }
.logo { min-width: 0; }
.site-header, .hero, .hero-media, .hero-content, .stats, .wrap { max-width: 100%; }

@media (min-width: 1100px) {
  .nav { display: flex !important; }
  .header-cta { display: flex !important; }
  .header-cta .btn-ghost { display: inline-flex !important; }
  .menu-toggle { display: none !important; }
  .logo-img { height: 64px; max-width: none; }
  .logo-word { font-size: 14.5px; }
  .logo-word small { display: block; }
  .header-inner { overflow: visible; width: min(1320px, calc(100% - 48px)); }
  .hero-content {
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
    width: min(1320px, calc(100% - 64px));
    margin-bottom: 56px;
    gap: 40px;
  }
  .hero-side { display: grid !important; justify-items: end; }
  .scroll-hint { display: block; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { border-bottom: 0; }
  .stat:nth-child(n) { border-right: 1px solid var(--line); }
  .stat:last-child { border-right: 0; }
}
