/* ==========================================================================
   Haneefah Marie Cleaning & Clearance — site styles
   Palette: ink slate, slate, silver (logo), white, "rinse" tint, one brass accent.
   Type: Archivo (wide, headings) + Figtree (body).
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --ink: #1F2A31;
  --slate: #3E4A52;
  --silver: #9AA4AB;
  --white: #FFFFFF;
  --rinse: #E6EDF2;
  --brass: #C8A15A;          /* bright brass: use on ink/dark backgrounds */
  --brass-deep: #8C6A2A;     /* brass for icons, rules and focus on light backgrounds (5:1 on white) */
  --brass-num: #A27D36;      /* large step numbers on light backgrounds (large text, 3:1+) */

  /* Light theme (default) */
  --bg: #FFFFFF;
  --bg-alt: #E6EDF2;
  --text: #1F2A31;
  --heading: #1F2A31;
  --text-muted: #4F5B63;
  --line: #CDD7DE;
  --line-strong: #1F2A31;
  --input-border: #7D878E;
  --accent: #8C6A2A;
  --btn-bg: #1F2A31;
  --btn-text: #FFFFFF;
  --btn-hover: #3E4A52;
  --link: #1F2A31;
  --focus: #8C6A2A;
  --ink-section: #1F2A31;
  --footer-bg: #1F2A31;
  --panel: #1F2A31;
  --header-bg: rgba(255, 255, 255, 0.96);
  --error: #8A2E2E;

  --radius-btn: 4px;
  --radius-field: 3px;
  --radius-panel: 2px;
  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
  --font-head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wide: 118%;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: light;
}

/* Dark theme: when the visitor picks dark, or (without JS) when the device prefers dark */
:root[data-theme="dark"] {
  --bg: #1F2A31;
  --bg-alt: #2A3740;
  --text: #FFFFFF;
  --heading: #FFFFFF;
  --text-muted: #C3CCD2;
  --line: #3A4851;
  --line-strong: #C3CCD2;
  --input-border: #9AA4AB;
  --accent: #C8A15A;
  --btn-bg: #C8A15A;
  --btn-text: #1F2A31;
  --btn-hover: #D6B477;
  --link: #FFFFFF;
  --focus: #C8A15A;
  --ink-section: #161F25;
  --footer-bg: #161F25;
  --panel: #2A3740;
  --header-bg: rgba(31, 42, 49, 0.96);
  --error: #F2B8B5;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #1F2A31; --bg-alt: #2A3740; --text: #FFFFFF; --heading: #FFFFFF; --text-muted: #C3CCD2;
    --line: #3A4851; --line-strong: #C3CCD2; --input-border: #9AA4AB; --accent: #C8A15A;
    --btn-bg: #C8A15A; --btn-text: #1F2A31; --btn-hover: #D6B477; --link: #FFFFFF; --focus: #C8A15A;
    --ink-section: #161F25; --footer-bg: #161F25; --panel: #2A3740; --header-bg: rgba(31, 42, 49, 0.96);
    --error: #F2B8B5;
    color-scheme: dark;
  }
}

/* ---------- 2. Base & type ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-head); font-stretch: var(--wide); color: var(--heading);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.015em; margin: 0 0 0.5em;
}
h2 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.1rem); }
h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.005em; }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }
@media (min-width: 768px) { :root { --gutter: 32px; } }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: var(--radius-btn); font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* Theme-aware logos */
.logo-for-dark { display: none; }
:root[data-theme="dark"] .logo-for-light { display: none; }
:root[data-theme="dark"] .logo-for-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .logo-for-light { display: none; }
  :root:not([data-theme]) .logo-for-dark { display: block; }
}

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 46px; padding: 0.7em 1.35em;
  border: 2px solid transparent; border-radius: var(--radius-btn);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--sm { min-height: 44px; padding: 0.5em 1em; font-size: 0.9375rem; }
.btn--lg { min-height: 54px; padding: 0.85em 1.6em; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--btn-bg); color: var(--btn-text); }
.btn--primary:hover { background: var(--btn-hover); }
.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: #D6B477; }
.btn--brass .icon { transition: transform .3s var(--ease); }
.btn--brass:hover .icon { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--line-strong); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.55); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }

/* ---------- 4. Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--header-bg);
  -webkit-backdrop-filter: saturate(150%) blur(10px); backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { width: 158px; height: auto; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav a {
  display: block; padding: 10px 9px; white-space: nowrap; position: relative;
  color: var(--text); text-decoration: none; font-size: 0.9688rem; font-weight: 500;
}
.main-nav a::after {
  content: ""; position: absolute; left: 9px; right: 9px; bottom: 3px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { color: var(--heading); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-call, .header-quote { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: var(--radius-btn); background: transparent; border: 1px solid var(--line); color: var(--text); cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--bg); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.mobile-menu ul { padding-top: 8px; padding-bottom: 16px; }
.mobile-menu li a:not(.btn) {
  display: flex; align-items: center; min-height: 50px; color: var(--text); text-decoration: none;
  font-family: var(--font-head); font-stretch: var(--wide); font-weight: 700; font-size: 1.125rem; border-bottom: 1px solid var(--line);
}
.mobile-menu__cta { padding-top: 16px; }

@media (max-width: 380px) {
  .brand img { width: 136px; }
}
@media (min-width: 600px) { .header-quote { display: inline-flex; } .brand img { width: 176px; } }
@media (min-width: 1240px) {
  .main-nav { display: block; flex: none; margin-right: auto; }
  .brand { margin-right: 12px; }
  .menu-toggle { display: none; }
  .mobile-menu { display: none !important; }
  .header-call { display: inline-flex; }
}

/* ---------- 5. Sections ---------- */
.section { padding: 80px 0; }
.section--tight { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 120px 0; } .section--tight { padding: 72px 0; } }
.section--rinse { background: var(--bg-alt); }
.section--ink { background: var(--ink-section); color: #E6EDF2; }
.section--ink h2, .section--ink h3, .section--ink strong { color: var(--white); }
.section-head { margin-bottom: 48px; }
.section-head h2 { margin-bottom: 16px; }
.lead { font-size: 1.1875rem; color: var(--text-muted); max-width: 60ch; margin: 0; }
.section--ink .lead { color: #C9D2D8; }
.section-cta { margin-top: 48px; }

/* ---------- 6. Hero: ink panel overlapping the photo ---------- */
.hero { position: relative; background: var(--bg); overflow: hidden; }
.hero__media { position: relative; height: 62vw; max-height: 380px; overflow: hidden; background: var(--slate); }
.hero__media-inner { position: absolute; inset: -10% 0; will-change: transform; }
.hero__img, .hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__video { position: absolute; inset: 0; }
.hero__layout { position: relative; }
.hero__panel {
  position: relative; background: var(--panel); color: #E6EDF2;
  margin-top: -56px; padding: 40px 24px 32px; border-radius: var(--radius-panel);
}
.hero__panel::before {   /* thin brass rule */
  content: ""; display: block; width: 72px; height: 3px; background: var(--brass); margin-bottom: 28px;
}
.hero h1 {
  color: var(--white); font-size: clamp(2.3rem, 1.2rem + 4.4vw, 4rem); line-height: 1.0;
  letter-spacing: -0.025em; margin-bottom: 20px; max-width: 15ch;
}
.hero__sub { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); color: #D3DBE0; max-width: 46ch; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 9px; font-size: 0.9375rem; font-weight: 500; color: #E6EDF2; }
.hero__trust .icon { color: var(--brass); width: 1.15em; height: 1.15em; }
@media (max-width: 479px) { .hero__actions .btn { width: 100%; } }
@media (min-width: 600px) { .hero__panel { padding: 48px 40px 40px; margin-right: 6%; } }
@media (min-width: 960px) {
  .hero { min-height: min(86vh, 800px); display: flex; align-items: center; }
  .hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; height: auto; max-height: none; }
  .hero__layout { padding-top: 40px; padding-bottom: 40px; }
  .hero__panel { margin: 0; width: 58%; padding: 52px 52px 40px; }
  .hero__panel::before { margin-bottom: 24px; }
}
@media (min-width: 960px) and (max-width: 1199px) { .hero__panel { width: 64%; } }
@media (min-width: 1400px) { .hero__panel { width: 54%; } }

/* The one standout moment: on load the panel slides in over the photo, then the headline appears */
@media (prefers-reduced-motion: no-preference) {
  .hero__img { animation: hero-photo 1.6s var(--ease) both; }
  .hero__panel { animation: panel-in 0.9s var(--ease) 0.1s both; }
  .hero__panel::before { animation: rule-in 0.7s var(--ease) 0.6s both; transform-origin: left; }
  .hero h1 { animation: rise-in 0.8s var(--ease) 0.4s both; }
  .hero__sub, .hero__actions, .hero__trust { animation: fade-in 0.8s var(--ease) 0.7s both; }
}
@keyframes hero-photo { from { transform: scale(1.06); } to { transform: none; } }
@keyframes panel-in { from { transform: translateX(-56px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rule-in { from { transform: scaleX(0); } to { transform: none; } }
@keyframes rise-in { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 7. Icon lists (About points, agent benefits) ---------- */
.icon-list { display: grid; gap: 22px; }
.icon-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.icon-list .icon { width: 24px; height: 24px; margin-top: 2px; color: var(--accent); }
.icon-list strong { display: block; font-weight: 600; color: var(--heading); font-size: 1.0625rem; line-height: 1.35; }
.icon-list span { display: block; color: var(--text-muted); font-size: 0.9688rem; }
.section--ink .icon-list .icon { color: var(--brass); }
.section--ink .icon-list strong { color: var(--white); }
.section--ink .icon-list span { color: #C9D2D8; }
.icon-list--3 { gap: 0 48px; }
.icon-list--3 li { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
@media (min-width: 640px) { .icon-list--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .icon-list--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 8. About ---------- */
.about { display: grid; gap: 40px; }
.about__text p { font-size: 1.125rem; }
.about__text p:last-child { margin-bottom: 0; }
@media (min-width: 960px) {
  .about { grid-template-columns: 1.15fr 1fr; gap: 96px; align-items: start; }
  .about__points { padding-top: 10px; }
}

/* ---------- 9. How it works: numbers on a connecting line ---------- */
.steps { position: relative; display: grid; gap: 28px; margin-top: 48px; }
.steps::before {   /* connecting line (vertical on mobile) */
  content: ""; position: absolute; left: 27px; top: 12px; bottom: 12px; width: 2px; background: var(--line);
}
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; }
.step__num {
  grid-row: span 2; display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; background: var(--bg-alt);
  font-family: var(--font-head); font-stretch: 125%; font-weight: 800; font-size: 2.75rem; line-height: 1; color: var(--brass-num);
}
.step h3 { margin: 6px 0 6px; font-size: 1.1875rem; }
.step p { margin: 0; color: var(--text-muted); font-size: 1rem; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 40px; margin-top: 64px; }
  .steps::before { left: 0; right: 0; top: 36px; bottom: auto; width: auto; height: 2px; }
  .step { display: block; }
  .step__num { width: auto; height: 72px; justify-content: flex-start; padding-right: 18px; display: inline-flex; font-size: 4.5rem; margin-bottom: 22px; }
  .step h3 { margin-top: 0; }
}

/* ---------- 10. What we do: two-column service list ---------- */
.service-cols { display: grid; gap: 48px; }
@media (min-width: 900px) { .service-cols { grid-template-columns: 1fr 1fr; gap: 72px; } }
.service-col__title { font-size: 1.375rem; padding-bottom: 14px; margin: 0; border-bottom: 2px solid var(--line-strong); }
.service-list li { border-bottom: 1px solid var(--line); }
.service-list a {
  display: grid; grid-template-columns: 24px 1fr; column-gap: 16px; align-items: start;
  padding: 15px 8px 15px 0; text-decoration: none; color: inherit; position: relative;
  transition: background-color .25s, padding-left .3s var(--ease);
}
.service-list .icon { grid-row: span 2; width: 22px; height: 22px; margin-top: 2px; color: var(--accent); }
.service-list__name { font-weight: 600; color: var(--heading); font-size: 1.0625rem; line-height: 1.35; }
.service-list__desc { color: var(--text-muted); font-size: 0.9688rem; line-height: 1.5; }
.service-list a:hover { background: var(--bg-alt); padding-left: 10px; }
.service-list a:hover .service-list__name { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.service-note { display: flex; align-items: center; gap: 10px; margin: 18px 0 0; color: var(--text-muted); font-size: 0.9375rem; }
.service-note .icon { color: var(--accent); }

/* ---------- 11. Clear & Clean banner ---------- */
.feature-banner {
  display: grid; gap: 20px; align-items: center;
  background: var(--ink); color: #E6EDF2; padding: 36px 26px; border-radius: var(--radius-panel);
  border-left: 4px solid var(--brass);
}
:root[data-theme="dark"] .feature-banner { background: #161F25; }
:root[data-theme="dark"] .step__num { color: var(--brass); }
.feature-banner__icon { width: 40px; height: 40px; color: var(--brass); stroke-width: 1.5; }
.feature-banner h2 { color: var(--white); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: 10px; }
.feature-banner p { margin: 0; color: #D3DBE0; max-width: 56ch; }
.feature-banner .btn { justify-self: start; }
@media (min-width: 900px) { .feature-banner { grid-template-columns: auto 1fr auto; gap: 36px; padding: 44px 48px; } }

/* ---------- 12. Pricing: large "from" figures ---------- */
.price-list { display: grid; gap: 0; margin: 0; }
.price-list > div { display: flex; flex-direction: column; padding: 22px 0; border-top: 1px solid var(--line); }
.price-list > div:last-child { border-bottom: 1px solid var(--line); }
.price-list dd { order: -1; margin: 0 0 6px; }   /* figure shown above its label */
.price-list__figure {
  font-family: var(--font-head); font-stretch: var(--wide); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); line-height: 1.05; color: var(--heading);
}
.price-list__figure--text { font-size: clamp(1.5rem, 1.3rem + 0.6vw, 1.75rem); padding-top: 8px; }
.price-list__from { font-family: var(--font-body); font-stretch: normal; font-weight: 500; font-size: 1rem; letter-spacing: 0; color: var(--text-muted); }
.price-list dt { font-weight: 600; color: var(--text); }
.price-list__note { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.9375rem; }
@media (min-width: 700px) {
  .price-list { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
  .price-list > div:last-child { border-bottom: 0; }
}
@media (min-width: 1100px) {
  .price-list { grid-template-columns: repeat(5, 1fr); column-gap: 32px; }
  .price-list > div { border-top: 2px solid var(--line-strong); padding-top: 24px; }
}

/* ---------- 13. FAQ: collapsed behind one toggle ---------- */
.faq-toggle > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; border-top: 2px solid var(--line-strong); border-bottom: 2px solid var(--line-strong);
}
.faq-toggle > summary::-webkit-details-marker { display: none; }
.faq-toggle > summary h2 { margin: 0; font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); }
.faq-toggle > summary .icon { width: 28px; height: 28px; color: var(--accent); transition: transform .35s var(--ease); }
.faq-toggle[open] > summary .icon { transform: rotate(180deg); }
.faq-toggle[open] > summary { border-bottom-width: 1px; border-bottom-color: var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 0; min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-family: var(--font-body); font-stretch: normal; font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.faq summary .icon { width: 18px; height: 18px; color: var(--text-muted); transition: transform .3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq summary:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.faq__body { padding: 0 0 16px; color: var(--text-muted); font-size: 0.9688rem; }
.faq__body p { margin: 0; }
.terms-ref { white-space: nowrap; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .faq-toggle[open] .faq { animation: fade-in .4s var(--ease); }
}

/* ---------- 14. Quote form & contact ---------- */
.quote-layout { display: grid; gap: 32px; }
@media (min-width: 1000px) { .quote-layout { grid-template-columns: 1.55fr 1fr; align-items: start; gap: 56px; } }
.form-row { display: grid; gap: 0 18px; }
@media (min-width: 600px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label { font-weight: 600; font-size: 0.9375rem; margin-bottom: 6px; color: var(--heading); }
.req, .optional { color: var(--text-muted); font-weight: 400; }
.field input:not([type="checkbox"]):not([type="file"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--input-border); border-radius: var(--radius-field);
  background: var(--bg); color: var(--text); font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 2px var(--focus); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C6A2A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.field input[type="file"] { padding: 10px; border: 1px dashed var(--input-border); border-radius: var(--radius-field); background: var(--bg); min-height: 50px; width: 100%; }
.field input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 8px 14px; border: 0; border-radius: var(--radius-btn);
  background: var(--bg-alt); color: var(--text); font-weight: 600; cursor: pointer;
}
.field-hint { font-size: 0.875rem; color: var(--text-muted); margin: 6px 0 0; }
.field-error { font-size: 0.875rem; color: var(--error); margin: 6px 0 0; font-weight: 600; }
.field-error:empty { display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field--check { display: grid; grid-template-columns: 24px 1fr; gap: 4px 12px; align-items: start; margin: 8px 0 22px; }
.field--check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
:root[data-theme="dark"] .field--check input { accent-color: var(--brass); }
.field--check label { font-weight: 400; color: var(--text); margin: 0; }
.field--check .field-error { grid-column: 2; }
.form-small { font-size: 0.875rem; color: var(--text-muted); margin: 12px 0 0; }

.contact-card { background: var(--ink); color: #E6EDF2; padding: 32px 26px; border-radius: var(--radius-panel); }
:root[data-theme="dark"] .contact-card { background: #161F25; }
.contact-card h3 { color: var(--white); font-size: 1.5rem; margin-bottom: 22px; }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.contact-list .icon { color: var(--brass); width: 22px; height: 22px; margin-top: 2px; }
.contact-list div { display: flex; flex-direction: column; min-width: 0; }
.contact-list__label { font-size: 0.875rem; font-weight: 600; color: #AEB9C0; }
.contact-list a { color: var(--white); font-weight: 600; overflow-wrap: anywhere; min-height: 30px; display: inline-flex; align-items: center; }
.contact-list__sub { color: #C9D2D8; font-size: 0.875rem; }
.contact-notes { display: grid; gap: 12px; margin-top: 24px; }
.contact-notes li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 0.9375rem; color: var(--text-muted); }
.contact-notes .icon { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
@media (min-width: 1000px) { .quote-side { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---------- 15. Footer ---------- */
.site-footer { background: var(--footer-bg); color: #C9D2D8; padding: 64px 0 28px; font-size: 0.9375rem; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-brand img { width: 200px; margin-bottom: 16px; }
.footer-brand p { max-width: 40ch; margin: 0; }
.footer-title { font-family: var(--font-body); font-stretch: normal; font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; color: var(--white); margin-bottom: 10px; }
.site-footer ul { display: grid; gap: 0; }
.site-footer a { color: #E6EDF2; text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--brass); }
.footer-legal { padding-top: 24px; font-size: 0.8125rem; color: #AEB9C0; }
.footer-legal p { margin: 0 0 8px; max-width: 90ch; }
.footer-legal__links a { min-height: 32px; }
.site-footer :focus-visible, .section--ink :focus-visible, .hero__panel :focus-visible, .contact-card :focus-visible, .feature-banner :focus-visible { outline-color: var(--brass); }

/* ---------- 16. Mobile bottom bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: var(--header-bg); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.mobile-bar .btn { min-height: 50px; font-size: 1.0625rem; }
.mobile-bar[hidden] { display: none; }
body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }

/* ---------- 17. Scroll reveals: subtle and varied (only once JS runs and motion is allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .reveal {
    opacity: 0; transform: translate3d(0, 16px, 0);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .reveal-ready .reveal--fade { transform: none; }
  .reveal-ready .reveal--left { transform: translate3d(-28px, 0, 0); }
  .reveal-ready .reveal--right { transform: translate3d(20px, 0, 0); }
  .reveal-ready .reveal.is-visible { opacity: 1; transform: none; }
  .reveal-ready .reveal.is-done { transition-delay: 0s; }
  /* How it works: the connecting line draws across */
  .reveal-ready .steps::before { transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) .1s; }
  .reveal-ready .steps.is-visible::before { transform: none; }
  @media (max-width: 899px) {
    .reveal-ready .steps::before { transform: scaleY(0); transform-origin: top; }
  }
}

/* ---------- 18. Before & after slider (for a future Recent work section) ---------- */
.ba-grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .ba-grid { grid-template-columns: 1fr 1fr; } }
.ba { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--bg); --pos: 50%; }
.ba__frame { position: relative; }
.ba__frame img { display: block; width: 100%; height: auto; }
.ba__frame .ba__before { position: absolute; inset: 0; height: 100%; object-fit: cover; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__frame::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--brass); pointer-events: none; }
.ba__frame input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba__frame:focus-within { outline: 3px solid var(--focus); outline-offset: -3px; }
.ba figcaption { padding: 12px 16px; font-size: 0.9375rem; color: var(--text-muted); }

/* ==========================================================================
   LEGAL PAGES (terms.html, privacy.html), 404, thank-you
   ========================================================================== */
.legal-header .header-inner { gap: 12px; }
.legal-header .brand { margin-right: auto !important; }
.back-link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--radius-btn);
  color: var(--text); text-decoration: none; font-weight: 600; border: 1px solid var(--line);
}
.back-link:hover { border-color: var(--line-strong); }
@media (max-width: 420px) { .back-link .back-text-long { display: none; } }

.legal-hero { padding: 56px 0 36px; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.legal-hero h1 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); margin-bottom: 10px; max-width: 26ch; }
.legal-meta { color: var(--text-muted); margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }

.legal-layout { display: grid; gap: 32px; padding-top: 32px; padding-bottom: 80px; }
@media (min-width: 1024px) { .legal-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; padding-top: 56px; } }

.toc { font-size: 0.9375rem; }
.toc__mobile { border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--bg); }
.toc__mobile summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  min-height: 48px; padding: 0 16px; font-weight: 700; font-family: var(--font-head); font-stretch: var(--wide);
}
.toc__mobile summary::-webkit-details-marker { display: none; }
.toc__mobile summary .icon { color: var(--accent); }
.toc__mobile[open] summary .icon { transform: rotate(180deg); }
.toc__mobile .toc__list { padding: 0 8px 12px; max-height: 60vh; overflow-y: auto; }
.toc__desktop { display: none; }
.toc__title { font-family: var(--font-head); font-stretch: var(--wide); font-size: 1rem; font-weight: 700; color: var(--heading); margin: 0 0 10px; }
.toc__list a {
  display: flex; gap: 8px; padding: 7px 10px; min-height: 36px; align-items: baseline;
  color: var(--text-muted); text-decoration: none; border-left: 2px solid transparent; line-height: 1.35;
}
.toc__list a:hover { color: var(--heading); background: var(--bg-alt); }
.toc__list a.is-active { color: var(--heading); border-left-color: var(--accent); background: var(--bg-alt); font-weight: 600; }
.toc__num { min-width: 1.6em; color: var(--text-muted); font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) {
  .toc__mobile { display: none; }
  .toc__desktop { display: block; position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding-right: 4px; }
}
@media (max-width: 1023px) { .toc { position: sticky; top: calc(var(--header-h) + 8px); z-index: 20; } }

.legal-body { max-width: 72ch; }
.legal-body h2 { font-size: 1.375rem; margin: 52px 0 16px; padding-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.legal-body h2:first-of-type { margin-top: 32px; }
.legal-body p, .legal-body li { font-size: 1rem; }
.clause { margin: 0 0 14px; padding: 4px 0; display: grid; grid-template-columns: 3.1em 1fr; gap: 0 6px; scroll-margin-top: 12px; }
.clause__num { font-weight: 700; color: var(--heading); font-variant-numeric: tabular-nums; text-decoration: none; }
.clause__num:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.clause__text > p { margin: 0; }
.subclauses { margin: 8px 0 0; display: grid; gap: 6px; }
.subclauses li { display: grid; grid-template-columns: 2em 1fr; scroll-margin-top: 12px; }
.subclauses .sub__num { color: var(--text-muted); }
.clause:target, .subclauses li:target, .legal-body h2:target { background: var(--bg-alt); box-shadow: -8px 0 0 var(--bg-alt), 8px 0 0 var(--bg-alt); }

/* "(business customers)" / "(consumers)" tags: bracket text kept for copying and print, pill is visual */
.tag {
  display: inline-block; font-family: var(--font-body); font-stretch: normal; font-size: 0.75rem; font-weight: 600; line-height: 1.4;
  letter-spacing: 0.02em; padding: 2px 9px; border-radius: 999px; vertical-align: 0.1em;
  border: 1px solid var(--accent); color: var(--heading); background: var(--bg); white-space: nowrap;
}
.tag--consumer { background: var(--bg-alt); border-color: var(--input-border); }
.tag .paren { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.key-terms { background: var(--bg-alt); border-left: 4px solid var(--accent); padding: 26px 24px; margin: 0 0 8px; }
.key-terms h2 { margin: 0 0 4px !important; font-size: 1.375rem; }
.key-terms__intro { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 14px; }
.key-terms ul { display: grid; gap: 10px; }
.key-terms li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.key-terms li .icon { margin-top: 3px; width: 18px; height: 18px; color: var(--accent); }

.privacy-body ul { margin: 0 0 1em; padding-left: 1.25em; display: grid; gap: 6px; list-style: disc; }
.privacy-body ul li::marker { color: var(--accent); }

.legal-company { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--text-muted); }
.legal-footer { background: var(--footer-bg); color: #C9D2D8; padding: 28px 0; font-size: 0.8125rem; }
.legal-footer p { margin: 0 0 6px; max-width: none; }
.legal-footer a { color: #E6EDF2; }
body.legal-page { padding-bottom: 0; }

/* Simple centred pages (404, thank-you) */
.simple-page { min-height: calc(100vh - var(--header-h) - 120px); display: flex; align-items: center; padding: 64px 0; }
.simple-page__inner { max-width: 680px; }
.simple-page h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }
.simple-page p { color: var(--text-muted); font-size: 1.0625rem; }
.simple-page__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.big-icon { width: 56px; height: 56px; color: var(--accent); margin-bottom: 20px; }
.big-icon .icon { width: 48px; height: 48px; stroke-width: 1.5; }
.simple-page h1::after { content: ""; display: block; width: 64px; height: 3px; background: var(--accent); margin-top: 20px; }

/* ==========================================================================
   PRINT (used by the "Download / print" button on the legal pages)
   ========================================================================== */
@media print {
  @page {
    size: A4; margin: 18mm 16mm 22mm;
    @bottom-center {
      content: "Haneefah Marie Enterprise Ltd (t/a Haneefah Marie Cleaning & Clearance) · Company no. 13423408 · 7 Kenney Drive, Wick, Littlehampton, BN17 7TA · haneefahmarie.co.uk";
      font-size: 7.5pt; color: #000;
    }
    @bottom-right { content: counter(page) " / " counter(pages); font-size: 7.5pt; color: #000; }
  }
  :root, :root[data-theme="dark"] {
    --bg: #fff; --bg-alt: #fff; --text: #000; --heading: #000; --text-muted: #000;
    --line: #999; --line-strong: #000; --link: #000; --accent: #000;
  }
  html, body { background: #fff !important; color: #000 !important; font-size: 10.5pt; line-height: 1.45; }
  body { padding: 0 !important; }
  .site-header, .toc, .legal-actions, .skip-link, .mobile-bar, .legal-footer, .no-print { display: none !important; }
  .legal-hero { background: #fff; padding: 0 0 10pt; border-bottom: 1px solid #000; }
  .legal-layout { display: block; padding: 12pt 0 0; }
  .container { max-width: none; padding: 0; }
  .legal-body { max-width: none; }
  .legal-body h2 { font-size: 12.5pt; margin: 16pt 0 6pt; break-after: avoid; }
  .clause { break-inside: avoid; margin-bottom: 6pt; grid-template-columns: 2.8em 1fr; }
  .clause:target, .subclauses li:target { background: none; box-shadow: none; }
  .key-terms { border: 1px solid #000; border-left: 4px solid #000; break-inside: avoid; }
  .tag { border: 0; padding: 0; background: none; font-size: inherit; letter-spacing: 0; font-weight: 600; color: #000; }
  .tag .paren { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  a { color: #000 !important; text-decoration: none; }
  .legal-company { display: block; border-top: 1px solid #000; color: #000; }
  .logo-for-dark { display: none !important; }
}
