/* Tūī Home Cleaning: design B "Eco botanical" */

:root {
  --page: #EEF2EA;
  --sage: #DCE7D6;
  --peach-band: #FBEFE6;
  --white: #FFFFFF;
  --green: #2D5240;
  --green-dark: #1C3629;
  --peach: #E7A27C;
  --peach-soft: #F6DCCB;
  --terracotta: #9A4A26;
  --ink: #1F2B24;
  --muted: #4C5E53;
  --line: #9AAE9F;
  --pad-x: clamp(20px, 6.9vw, 88px);
  --sans: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Lora", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-weight: 400; color: var(--ink); background: var(--page); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--green); }

.concept-strip { text-align: center; font-size: 13px; color: var(--muted); padding: 8px 16px; border-bottom: 1px solid #D6DFD2; }
.eyebrow { font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.title { font-size: clamp(34px, 4.2vw, 52px); font-weight: 300; line-height: 1.1; letter-spacing: -.01em; }
.sample-tag {
  position: absolute; background: rgba(255,255,255,.92); color: var(--muted);
  font-size: 12px; padding: 5px 10px; border-radius: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(45,82,64,.16); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; font-weight: 500; }
.btn--lg { min-height: 58px; padding: 16px 30px; font-size: 17px; }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); color: var(--white); }
.btn--peach { background: var(--peach); color: #2B160A; }
.btn--peach:hover { background: #EDB391; color: #2B160A; }
.btn--ghost { color: var(--green); border-color: var(--line); }
.btn--ghost:hover { background: rgba(255,255,255,.6); color: var(--green); }

/* ---------- Header ---------- */
.site-header {
  max-width: 1280px; margin: 0 auto; padding: 22px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.wordmark { font-size: 28px; font-weight: 500; letter-spacing: .02em; color: var(--green); text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: var(--green); }
.wordmark em { color: var(--terracotta); font-size: .82em; }
.wordmark--light, .wordmark--light em { color: var(--white); }
.wordmark--light em { color: var(--peach-soft); }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 16px; position: relative; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--peach);
  transform: scaleX(0); transition: transform .3s ease;
}
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  max-width: 1280px; margin: 0 auto; padding: 24px var(--pad-x) 72px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center;
}
.hero__text { display: flex; flex-direction: column; gap: 24px; }
.hero__title { font-size: clamp(36px, 4.9vw, 62px); font-weight: 300; line-height: 1.1; letter-spacing: -.02em; }
.hero__lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); max-width: 520px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__photos { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.hero__photos .sample-tag { top: 14px; left: 50%; transform: translateX(-50%); }
.arch img { width: 100%; object-fit: cover; }
.arch--up img { aspect-ratio: 3 / 4.6; border-radius: 999px 999px 16px 16px; object-position: center 30%; }
.arch--down { margin-top: 110px; }
.arch--down img { aspect-ratio: 3 / 3.8; border-radius: 16px 16px 999px 999px; object-position: 40% center; }

@keyframes bloom {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero__in { animation: bloom .7s cubic-bezier(.25, .6, .3, 1) both; animation-delay: var(--d, 0ms); }

/* ---------- Wavy bands ---------- */
.band { position: relative; margin: 32px 0; }
.wave { display: block; width: 100%; height: 70px; }
.band--sage .wave path { fill: var(--sage); }
.band--peach .wave path { fill: var(--peach-band); }
.band__inner { padding: 32px var(--pad-x) 56px; }
.band--sage .band__inner { background: var(--sage); }
.band--peach .band__inner { background: var(--peach-band); }
.band__inner > * { max-width: 1104px; margin-left: auto; margin-right: auto; }

.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.section-head--center { align-items: center; text-align: center; }
.section-head__sub { color: var(--muted); font-size: 17px; max-width: 520px; }

/* ---------- Our cleans (tabs) ---------- */
.cleans { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.cleans__tabs[hidden] { display: none; }
.cleans__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill {
  font: inherit; font-size: 16px; font-weight: 500; min-height: 46px; padding: 10px 22px;
  border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s ease;
}
.pill:hover { border-color: var(--green); transform: translateY(-1px); }
.pill[aria-selected="true"] { background: var(--green); border-color: var(--green); color: var(--white); }

.leaf-card {
  width: 100%; background: var(--white); border-radius: 120px 24px 120px 24px; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  box-shadow: 0 14px 40px rgba(45,82,64,.08);
}
.leaf-card__panels { padding: 56px 48px 56px 80px; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.clean { display: flex; flex-direction: column; gap: 14px; }
.clean[hidden] { display: none; }
.js .clean { animation: panel-in .35s ease both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.clean__num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--terracotta); }
.clean h3 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 400; line-height: 1.15; }
.clean p { color: var(--muted); font-size: 17px; }
.clean__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tag { font-size: 13px; font-weight: 500; color: var(--green); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; }
.price { font-size: 15px; font-weight: 600; color: var(--terracotta); }
.clean .btn { align-self: flex-start; margin-top: 6px; }
.leaf-card__photo { position: relative; min-height: 420px; }
.leaf-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.leaf-card__photo .sample-tag { top: 16px; right: 16px; }

/* ---------- Why ---------- */
.why { max-width: 1280px; margin: 0 auto; padding: 72px var(--pad-x); }
.why__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.pebble {
  background: var(--white); padding: 40px 34px; border-radius: 64px 18px 64px 18px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: 0 10px 30px rgba(45,82,64,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.pebble:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(45,82,64,.1); }
.pebble--alt { border-radius: 18px 64px 18px 64px; }
.pebble__icon { width: 60px; height: 60px; border-radius: 50%; background: var(--sage); display: flex; align-items: center; justify-content: center; }
.pebble--alt .pebble__icon { background: var(--peach-soft); }
.pebble__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pebble h3 { font-size: 22px; font-weight: 500; line-height: 1.25; }
.pebble p { color: var(--muted); font-size: 16px; }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.areas__text { display: flex; flex-direction: column; gap: 14px; }
.areas__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.areas__list li { background: var(--white); color: var(--green); font-size: 18px; font-weight: 500; padding: 10px 22px; border-radius: 999px; }
.areas__note { color: var(--muted); font-size: 16px; margin-top: 6px; }
.review {
  margin: 0; background: var(--white); text-align: center;
  border-radius: 58% 42% 52% 48% / 48% 56% 44% 52%; padding: 64px 72px;
}
.review p { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 25px); line-height: 1.5; color: var(--green); }
.review footer { margin-top: 14px; font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.sample-label { font-size: 13px; font-weight: 600; color: var(--terracotta); }

/* ---------- Quote ---------- */
.quote {
  max-width: 1280px; margin: 0 auto; padding: 72px var(--pad-x) 96px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px;
}
.quote__intro { display: flex; flex-direction: column; gap: 18px; }
.quote__intro > p { color: var(--muted); font-size: 18px; }
.quote__contact { font-size: 19px; font-weight: 500; line-height: 1.7; }
.quote-form { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field label { font-size: 14px; color: var(--muted); }
.optional { color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 18px; color: var(--ink); padding: 10px 0;
  border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0; background: transparent;
  transition: border-color .2s ease;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--green); border-bottom-width: 2px; }
.field__error { color: #A3271B; font-size: 14px; font-weight: 500; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-slot { min-height: 65px; }
.preview-note { background: #FFF4E6; border: 1px dashed #C98A12; color: #5A3D05; padding: 10px 14px; border-radius: 12px; font-size: 14px; }
.quote-form .btn { align-self: flex-start; }
.form-status:empty { display: none; }
.form-status { font-weight: 600; }
.form-privacy { font-size: 14px; color: var(--muted); }

/* template form.css overrides */
.sl-field.field { margin-bottom: 0; }
.sl-field.field label { font-weight: 400; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; }
.site-footer .wave path { fill: var(--green); }
.site-footer__inner {
  background: var(--green); color: #DCE7D6; padding: 24px var(--pad-x) 48px;
  display: flex; flex-direction: column; gap: 10px; font-size: 15px;
}
.site-footer__inner > * { max-width: 1104px; width: 100%; margin: 0 auto; }
.site-footer a { color: var(--white); }
.site-footer__concept { font-size: 13px; color: #B9CBBE; }

/* ---------- Mobile call bar ---------- */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(238,242,234,.96); border-top: 1px solid #D6DFD2;
  box-shadow: 0 -6px 20px rgba(45,82,64,.12);
}
.call-bar .btn { min-height: 50px; }

/* ---------- Scroll reveal (template starter, calmer) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.25, .6, .3, 1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Privacy + 404 pages ---------- */
.page-legal { max-width: 44rem; margin: 0 auto; padding: 40px 20px 64px; }
.page-legal h1 { margin: 20px 0 16px; }
.page-legal h2 { margin: 32px 0 8px; }
.page-legal p { margin: 10px 0; }
.page-legal .demo-note { margin: 16px 0 24px; }
.page-404 { text-align: center; padding-top: 96px; }
.page-legal h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 300; line-height: 1.15; }
.page-legal h2 { font-size: 24px; font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 899px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .site-nav a:not(.btn) { display: none; }
  .site-header { padding: 14px 20px; }
  .wordmark { font-size: 22px; }
  .hero { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .hero__photos { order: -1; gap: 12px; }
  .arch--up img { aspect-ratio: 1 / 1; }
  .arch--down { margin-top: 36px; }
  .arch--down img { aspect-ratio: 1 / 0.9; }
  .hero { gap: 20px; padding-top: 8px; }
  .hero__text { gap: 18px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .wave { height: 36px; }
  .band { margin: 16px 0; }
  .band__inner { padding: 20px 20px 36px; }
  .cleans__tabs { justify-content: flex-start; gap: 8px; }
  .pill { font-size: 14px; padding: 9px 16px; min-height: 44px; }
  .leaf-card { grid-template-columns: 1fr; border-radius: 64px 16px 64px 16px; }
  .leaf-card__photo { order: -1; min-height: 200px; }
  .leaf-card__panels { padding: 26px 24px 32px; }
  .clean .btn { align-self: stretch; }
  .why { padding: 48px 20px; }
  .why__list { grid-template-columns: 1fr; gap: 16px; }
  .pebble { padding: 28px 24px; border-radius: 48px 14px 48px 14px; }
  .pebble--alt { border-radius: 14px 48px 14px 48px; }
  .areas { grid-template-columns: 1fr; gap: 28px; }
  .review { padding: 44px 34px; }
  .quote { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 64px; }
  .quote-form .btn { align-self: stretch; }
}
@media (max-width: 380px) {
  .site-header .btn--sm { padding: 8px 12px; font-size: 14px; }
  .wordmark { font-size: 20px; }
}
@media (min-width: 900px) {
  .call-bar { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .btn:hover, .pill:hover, .pebble:hover { transform: none; }
}

/* ---------- Demo note (concept site) ---------- */
.demo-note { font-size: 14px; padding: 10px 14px; border: 1px dashed currentColor; opacity: .85; }
