/* ============================================================
   Halo Cleaning — design system
   Rebuilt to match the original haloclean.me look: dusty terracotta
   header, warm cream body, charcoal trust band, gold serif-italic
   accent. Colours are read off screenshots of the live site, not
   exact hex values — nudge them in one place here if they're off.
   ============================================================ */

:root {
  --color-header: #c6896f;
  --color-header-dark: #b67a61;
  --color-cream: #f8f4ec;
  --color-cream-alt: #ffffff;
  --color-ink: #2b2a2e;
  --color-ink-soft: #4a4751;
  --color-text-muted: #6f6a66;
  --color-gold: #c49a5a;
  --color-gold-dark: #a9823f;
  --color-border: #e7ddcf;
  --color-success: #4f8a63;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-pill: 999px;
  --radius-card: 16px;
  --shadow-soft: 0 12px 30px rgba(43, 42, 46, 0.08);
  --max-width: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --color-cream: #221f1c;
    --color-cream-alt: #2a2622;
    --color-ink: #f6f1e9;
    --color-ink-soft: #ddd3c4;
    --color-text-muted: #b9ab9a;
    --color-border: #3a332c;
  }
}
:root[data-theme="dark"] {
  --color-cream: #221f1c;
  --color-cream-alt: #2a2622;
  --color-ink: #f6f1e9;
  --color-ink-soft: #ddd3c4;
  --color-text-muted: #b9ab9a;
  --color-border: #3a332c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Launching soon banner ---------- */
.launching-banner {
  background: var(--color-ink);
  color: var(--color-gold);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 16px;
}
.launching-banner strong {
  color: #fff;
}
@media (max-width: 640px) {
  .launching-banner { font-size: 0.74rem; padding: 8px 12px; }
}

/* ---------- Header / nav ---------- */
.site-header {
  background: linear-gradient(135deg, var(--color-header), var(--color-header-dark));
  color: #fff;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img { height: 40px; width: auto; display: block; flex-shrink: 0; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 600;
}
.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.92);
  transition: opacity 0.15s ease;
}
.nav-links a:hover { opacity: 0.75; }
.nav-cta {
  background: var(--color-ink);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  background: var(--color-header-dark);
  padding: 8px 24px 18px;
}
.mobile-menu a {
  color: #fff;
  text-decoration: none;
  padding: 10px 0;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.mobile-menu.open { display: flex; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 56px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold);
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.12;
  margin: 0 0 22px;
  color: var(--color-ink);
}
.hero h1 em {
  font-style: italic;
  color: var(--color-gold-dark);
}
.hero p.lede {
  max-width: 620px;
  margin: 0 auto 32px;
  color: var(--color-text-muted);
  font-size: 1.1rem;
}
.btn {
  display: inline-block;
  background: var(--color-ink);
  color: #fff;
  padding: 16px 34px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--color-gold-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border: 2px solid var(--color-ink);
}
.btn-ghost:hover { background: var(--color-ink); color: #fff; }

/* ---------- Hero / content imagery ---------- */
.hero-image-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 56px;
}
.hero-image {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  display: block;
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}
.image-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.image-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}
@media (max-width: 860px) {
  .image-grid, .image-grid.cols-2 { grid-template-columns: 1fr; }
  .hero-image { max-height: 320px; }
}
.inline-image {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  margin: 28px 0;
  display: block;
}

/* ---------- Trust band ---------- */
.trust-band {
  background: var(--color-ink);
  color: #fff;
  padding: 26px 0;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  font-weight: 600;
  font-size: 0.95rem;
}
.trust-row span { color: var(--color-gold); margin-right: 8px; }

/* ---------- Sections ---------- */
.section {
  padding: 64px 0;
}
.section-alt { background: var(--color-cream-alt); }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}
.section-head .eyebrow { justify-content: center; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 14px;
}
.section-head p { color: var(--color-text-muted); margin: 0; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
}
.card {
  background: var(--color-cream-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}
.card .num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-gold-dark);
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; }

.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.area-chip {
  background: var(--color-cream-alt);
  border: 1px solid var(--color-border);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9rem;
}

.price-card {
  background: var(--color-cream-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 36px;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.price-card .amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--color-ink);
  margin: 10px 0;
}
.price-card .amount small { font-size: 1rem; font-weight: 600; color: var(--color-text-muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 36px 0;
  text-align: center;
  font-size: 0.85rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { margin-top: 10px; }
.footer-links a { margin: 0 8px; }

/* ---------- Chatbot widget ---------- */
#halo-chat-launcher {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 1000;
  background: var(--color-ink);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
#halo-chat-launcher:hover { background: var(--color-gold-dark); }
#halo-chat-panel {
  position: fixed;
  bottom: 90px;
  left: 22px;
  z-index: 1000;
  width: min(340px, calc(100vw - 32px));
  max-height: min(70vh, 520px);
  background: var(--color-cream-alt);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border);
}
#halo-chat-panel.open { display: flex; }
.chat-head {
  background: var(--color-ink);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-head strong { font-family: var(--font-display); font-size: 1.05rem; }
.chat-head button {
  background: none; border: none; color: #fff; font-size: 1.3rem; cursor: pointer; line-height: 1;
}
.chat-body {
  padding: 16px 18px;
  overflow-y: auto;
  flex: 1;
  font-size: 0.92rem;
}
.chat-msg {
  background: var(--color-cream);
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  color: var(--color-ink-soft);
}
.chat-msg.from-user {
  background: var(--color-gold);
  color: #fff;
  margin-left: 24px;
}
.chat-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.chat-option {
  text-align: left;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--color-ink);
}
.chat-option:hover { border-color: var(--color-gold); }
.chat-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.chat-footer a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gold-dark);
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
