/* ==========================================================================
   Ninja Cleaning — styles
   Brand: navy #0B1F75 (sampled from the logo) + old gold, on clean white
   ========================================================================== */

:root {
  --navy:       #0B1F75;
  --navy-deep:  #071450;
  --navy-950:   #050E38;
  --navy-800:   #12297F;
  --navy-line:  #24357F;

  --gold:       #C9A961;
  --gold-hi:    #E2C68B;
  --gold-deep:  #A8873F;

  --paper:      #FFFFFF;
  --paper-2:    #F4F5FA;
  --paper-line: #E1E4EF;

  --text:       #10131F;
  --text-mute:  #59607A;
  --text-inv:   #EEF1FA;
  --text-inv-mute: #A3ADCE;

  --radius:     14px;
  --shadow:     0 1px 2px rgba(16,20,40,.04), 0 8px 28px rgba(16,20,40,.08);

  --wrap:       1180px;
  --pad:        clamp(20px, 5vw, 40px);

  --font-head:  "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img, svg { max-width: 100%; }
img { display: block; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.005em;
  margin: 0 0 .4em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.9rem, 8.5vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); }
h3 { font-size: 1.34rem; letter-spacing: 0; }
h4 { font-size: 1.05rem; letter-spacing: .06em; }
p  { margin: 0 0 1em; }

a { color: inherit; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--navy-deep);
  padding: 12px 18px; font-weight: 700; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { max-width: 820px; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bd);
  padding: .78em 1.4em;
  border-radius: 999px;
  font-weight: 700; font-size: .96rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .12s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; stroke: none; flex: none; }

.btn-accent {
  --btn-bg: var(--gold); --btn-fg: var(--navy-deep); --btn-bd: var(--gold);
  box-shadow: 0 6px 22px rgba(201,169,97,.30);
}
.btn-accent:hover { --btn-bg: var(--gold-hi); --btn-bd: var(--gold-hi); box-shadow: 0 10px 30px rgba(201,169,97,.42); }

.btn-dark { --btn-bg: var(--navy-deep); --btn-fg: var(--text-inv); --btn-bd: var(--navy-deep); }
.btn-dark:hover { --btn-bg: var(--navy); --btn-bd: var(--navy); }

.btn-outline { --btn-fg: var(--text-inv); --btn-bd: rgba(255,255,255,.34); }
.btn-outline:hover { --btn-bd: var(--text-inv); background: rgba(255,255,255,.08); }

.btn-outline-dark { --btn-fg: var(--navy-deep); --btn-bd: rgba(7,20,80,.4); }
.btn-outline-dark:hover { --btn-bd: var(--navy-deep); background: rgba(7,20,80,.07); }

.btn-ghost { --btn-fg: var(--text-inv); --btn-bd: rgba(255,255,255,.24); background: rgba(255,255,255,.06); }
.btn-ghost:hover { --btn-bd: rgba(255,255,255,.55); background: rgba(255,255,255,.13); }

.btn-lg { padding: 1em 1.9em; font-size: 1.06rem; }
.btn-sm { padding: .6em 1.05em; font-size: .9rem; }
.btn-block { display: flex; width: 100%; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-center { justify-content: center; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 1.12rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 .8em;
}

/* ---------- brand lockup ---------- */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-mark { width: 40px; height: auto; }
.brand-text {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1;
}
.brand-accent { color: var(--gold); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7,20,80,.90);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.10);
  color: var(--text-inv);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 70px; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: .95rem;
  color: var(--text-inv-mute); padding: 4px 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--gold); transition: right .22s ease;
}
.nav a:hover { color: var(--text-inv); }
.nav a:hover::after { right: 0; }

.header-call { margin-left: auto; }
.nav + .header-call { margin-left: 0; }

@media (max-width: 880px) {
  .nav { display: none; }
  .header-call span { display: none; }
  .header-call { padding: .7em; }
  .header-call svg { width: 1.3em; height: 1.3em; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--text-inv);
  padding: clamp(74px, 12vw, 132px) 0 clamp(60px, 9vw, 100px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(105deg, rgba(5,14,56,.96) 0%, rgba(7,20,80,.90) 42%, rgba(7,20,80,.62) 100%),
    url("assets/hero.jpg");
  background-size: cover;
  background-position: center 42%;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, var(--paper) 100%);
  opacity: .06;
}
.hero-inner { position: relative; max-width: 900px; }
.hero h1 { margin-bottom: .3em; }
.hero h1 .hl { color: var(--gold); }
.lede {
  font-size: clamp(1.05rem, 2.1vw, 1.24rem);
  color: #C9D2EE;
  max-width: 60ch;
  margin-bottom: 2em;
}
.hero .eyebrow { color: var(--gold); }

.trust-row {
  list-style: none; margin: 2.6em 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-size: .93rem; color: var(--text-inv-mute);
}
.trust-row li { display: flex; align-items: center; gap: .5em; }
.trust-row li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); flex: none;
}
.trust-row strong { color: var(--text-inv); font-weight: 600; }

/* ---------- one-pass band ---------- */
.onepass { background: var(--navy-950); }
.onepass figure { margin: 0; position: relative; }
.onepass picture { display: block; }
.onepass img {
  width: 100%; max-height: 62vh;
  object-fit: cover; object-position: center 38%;
  display: block;
}
.onepass figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(24px, 5vw, 44px) var(--pad);
  /* Sits over the mulch below the wall, not over the brick itself. */
  background: linear-gradient(180deg, transparent, rgba(5,14,56,.88) 55%);
  color: var(--text-inv);
}
.op-tag {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  text-transform: uppercase; line-height: 1;
  color: var(--gold);
  margin-bottom: .35em;
}
.onepass figcaption p {
  margin: 0; max-width: 56ch; font-size: .98rem; color: #C9D2EE;
}

/* ---------- guarantee band ---------- */
.guarantee {
  background: var(--navy);
  color: var(--text-inv);
  padding: clamp(56px, 8vw, 92px) 0;
  position: relative;
  overflow: hidden;
}
.guarantee::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(720px 420px at 88% 12%, rgba(201,169,97,.20), transparent 66%);
}
.guarantee .wrap { position: relative; }
.guarantee .eyebrow { color: var(--gold); }
.guarantee h2 { margin-bottom: .35em; }
.guarantee h2 br + * { color: var(--gold); }
.guarantee p {
  margin: 0; max-width: 58ch;
  font-size: 1.06rem; color: #C9D2EE;
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-dark { background: var(--navy-950); color: var(--text-inv); }
.section-navy { background: var(--navy); color: var(--text-inv); }
.section-dark .section-sub,
.section-navy .section-sub { color: var(--text-inv-mute); }
.section-dark .eyebrow,
.section-navy .eyebrow { color: var(--gold); }

.section-head { max-width: 740px; margin-bottom: clamp(36px, 5vw, 58px); }
.section-sub { color: var(--text-mute); font-size: 1.06rem; margin: 0; }

.grid { display: grid; gap: 20px; }
.services { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 26px;
}
.section-dark .card { background: #0B1656; border-color: var(--navy-line); }

/* ---------- services ---------- */
.svc { display: flex; flex-direction: column; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.svc:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow); }
.svc-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(140deg, rgba(11,31,117,.10), rgba(201,169,97,.16));
  border: 1px solid rgba(11,31,117,.16);
  display: grid; place-items: center; margin-bottom: 18px;
}
.svc-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc p { color: var(--text-mute); font-size: .97rem; margin-bottom: 1em; }
.svc-price {
  margin: auto 0 0; padding-top: 14px;
  border-top: 1px dashed var(--paper-line);
  font-size: .9rem; color: var(--text-mute);
}
.svc-price strong { color: var(--navy); font-weight: 700; }

.svc-cta {
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-color: var(--navy);
  color: var(--text-inv);
  display: flex; flex-direction: column;
}
.svc-cta p { color: #C9D2EE; margin-bottom: auto; padding-bottom: 20px; }

.fineprint {
  margin-top: 26px; font-size: .9rem; color: var(--text-mute);
  border-left: 3px solid var(--gold); padding-left: 14px; max-width: 68ch;
}

/* ---------- work: before/after + gallery ---------- */
.work-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; align-items: start; }

.ba, .ba-static { margin: 0; }
.ba-frame {
  position: relative;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--navy-line);
  aspect-ratio: 1 / 1;
  background: var(--navy-deep);
  touch-action: pan-y;
  user-select: none;
}
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Clip rather than resize, so the before layer stays aligned with the after layer. */
.ba-before-wrap {
  position: absolute; inset: 0;
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
}
.ba-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 3px; margin-left: -1.5px;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(201,169,97,.75);
  pointer-events: none;
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: var(--gold); color: var(--navy-deep);
  display: grid; place-items: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.45);
}
.ba-handle span::before { content: "\2039\00a0\203A"; font-size: 20px; font-weight: 700; line-height: 1; }

.ba-tag {
  position: absolute; top: 14px;
  font-family: var(--font-head); font-size: .82rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  background: rgba(5,14,56,.78); color: var(--text-inv);
  padding: 5px 11px; border-radius: 999px;
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.ba-tag-l { left: 14px; }
.ba-tag-r { right: 14px; }

.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 48px; height: 100px; cursor: ew-resize; }
.ba-range::-moz-range-thumb { width: 48px; height: 100px; border: 0; background: transparent; cursor: ew-resize; }
.ba-range:focus-visible { opacity: 1; outline: 3px solid var(--gold); outline-offset: -3px; }

.ba-static img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--navy-line);
}

.ba figcaption, .ba-static figcaption, .gallery figcaption {
  margin-top: 12px; font-size: .92rem; color: var(--text-inv-mute);
}

.work-more { margin: 26px 0 0; }
.work-more a {
  display: inline-flex; align-items: center; gap: .6em;
  text-decoration: none; font-weight: 600; font-size: .98rem;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .18s ease;
}
.work-more a:hover { border-bottom-color: var(--gold); }
.work-more svg {
  width: 1.2em; height: 1.2em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
}

.gallery { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 26px; }
.gallery figure { margin: 0; }
.gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--navy-line);
}

/* ---------- steps ---------- */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}
.step { position: relative; padding-top: 30px; }
.step-num {
  font-family: var(--font-head); font-size: 3.1rem; font-weight: 700;
  line-height: .8; color: var(--paper-2);
  position: absolute; top: 16px; right: 22px;
  -webkit-text-stroke: 1px var(--paper-line);
}
.step h3 { margin-bottom: .5em; }
.step p { color: var(--text-mute); font-size: .97rem; margin: 0; }

/* ---------- reviews ---------- */
.reviews-block { text-align: center; }
.g-logo { width: 46px; height: 46px; margin: 0 auto 18px; color: var(--gold); }
.g-logo svg { width: 100%; height: 100%; }
.reviews-block .section-sub { margin: 0 auto 2em; max-width: 52ch; }
.g-leave { margin-top: 1.6em; font-size: .92rem; color: var(--text-inv-mute); }
.g-leave a { color: var(--gold); }

/* ---------- areas ---------- */
.areas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.areas li {
  font-family: var(--font-head); font-size: 1.18rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 10px 20px;
  border: 1px solid var(--paper-line); border-radius: 999px;
  background: var(--paper-2);
}
.areas .areas-more {
  background: transparent; border-style: dashed;
  color: var(--text-mute); text-transform: none; letter-spacing: 0;
  font-family: var(--font-body); font-size: .95rem; font-weight: 500;
}

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--navy-line); padding: 4px 0; }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 20px 40px 20px 0;
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 600;
  text-transform: uppercase; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.7rem; color: var(--gold); line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--text-inv-mute); margin: 0 0 20px; max-width: 68ch; }

/* ---------- final cta ---------- */
.final-cta {
  background: linear-gradient(135deg, var(--gold-deep) 0%, var(--gold) 55%, var(--gold-hi) 100%);
  color: var(--navy-deep);
  text-align: center;
  padding: clamp(60px, 8vw, 92px) 0;
}
.final-cta h2 { margin-bottom: .25em; }
.final-cta p { font-size: 1.1rem; font-weight: 500; margin-bottom: 1.8em; color: rgba(7,20,80,.78); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: var(--text-inv-mute); padding-top: clamp(48px, 6vw, 70px); }
.footer-inner {
  display: grid; gap: 34px;
  grid-template-columns: 2fr 1fr 1fr;
  padding-bottom: 42px;
}
@media (max-width: 720px) { .footer-inner { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

.foot-brand { color: var(--text-inv); }
.foot-lockup { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.foot-lockup .brand-mark { width: 36px; }
.foot-lockup .brand-text { font-size: 1.4rem; }
.foot-brand p { font-size: .92rem; color: var(--text-inv-mute); max-width: 40ch; margin: 0; }

.foot-col { display: flex; flex-direction: column; gap: 9px; }
.foot-col h4 { color: var(--text-inv); margin-bottom: .5em; text-transform: uppercase; }
.foot-col a { text-decoration: none; font-size: .93rem; }
.foot-col a:hover { color: var(--gold); }
.foot-note { font-size: .93rem; color: var(--text-inv-mute); }

.foot-bottom {
  border-top: 1px solid var(--navy-line);
  padding-top: 20px; padding-bottom: 20px;
  font-size: .85rem;
}
.foot-bottom p { margin: 0; }

/* ---------- mobile sticky bar ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; gap: 10px;
  padding: 10px calc(var(--pad) / 1.6) calc(10px + env(safe-area-inset-bottom));
  background: rgba(5,14,56,.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--navy-line);
}
.mobile-bar .btn { flex: 1; }
.mobile-bar .btn-outline { --btn-fg: var(--text-inv); }

/* On narrow screens the caption stops overlaying the photo and sits under it,
   so the whole wall stays visible instead of half-hidden behind text. */
@media (max-width: 700px) {
  .onepass img { max-height: none; object-position: center center; }
  .onepass figcaption {
    position: static;
    background: var(--navy-950);
    padding: 22px var(--pad) 28px;
  }
  .op-tag { font-size: 1.6rem; }
  .onepass figcaption p { font-size: .95rem; }
}

@media (max-width: 640px) {
  .mobile-bar { display: flex; }
  body { padding-bottom: 74px; }
  .cta-row .btn { flex: 1 1 100%; }
  .trust-row { gap: 8px 18px; font-size: .88rem; }
  .eyebrow { font-size: 1rem; letter-spacing: .16em; }
  .section-head { margin-bottom: 32px; }
  .gallery img { aspect-ratio: 16 / 10; }
}
