/* Jackie's Cleaning Services, website upgrade concept by HiveCliq.
   Brand: deep green wordmark + teal skyline from the logo. Light page, one accent (green), teal as support tint.
   Shape rule: cards and media 18px, buttons and pills full radius, inputs 10px. */

@font-face { font-family: 'Outfit'; font-weight: 400; font-display: swap; src: url('fonts/outfit-400.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 500; font-display: swap; src: url('fonts/outfit-500.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 600; font-display: swap; src: url('fonts/outfit-600.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 700; font-display: swap; src: url('fonts/outfit-700.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 800; font-display: swap; src: url('fonts/outfit-800.woff2') format('woff2'); }

:root {
  --green: #10503f;
  --green-deep: #0b3a2e;
  --green-ink: #0e2f26;
  --teal: #70b0b0;
  --teal-soft: #d9eaea;
  --teal-pale: #eef5f5;
  --bg: #f7f9f8;
  --surface: #ffffff;
  --ink: #16211d;
  --ink-2: #4a5b55;
  --ink-3: #7a8a84;
  --line: #dfe7e4;
  --shadow: 0 18px 50px -24px rgba(16, 80, 63, .35);
  --r-card: 18px;
  --r-input: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 72px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --green: #7fc2b6;
    --green-deep: #0b3a2e;
    --green-ink: #0a241d;
    --teal: #70b0b0;
    --teal-soft: #163a35;
    --teal-pale: #122b27;
    --bg: #0f1a17;
    --surface: #15231f;
    --ink: #eef4f2;
    --ink-2: #b7c6c1;
    --ink-3: #87978f;
    --line: #243732;
    --shadow: 0 18px 50px -24px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: 'Outfit', 'Helvetica Neue', Arial, sans-serif; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.02em; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1200px, 100% - 2rem); margin-inline: auto; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: .9rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
  padding: .8rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: .98rem; line-height: 1;
  border: 1.5px solid transparent; transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn-lg { padding: 1.05rem 1.6rem; font-size: 1.05rem; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px -14px rgba(16, 80, 63, .8); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-1px); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn-primary { color: #0a241d; }
  :root:not([data-theme="light"]) .btn-primary:hover { background: #9ad6cb; }
}
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); background: var(--teal-pale); transform: translateY(-1px); }
.btn i { font-size: 1.15em; }

/* Concept note */
.concept {
  display: flex; justify-content: center; align-items: center; gap: 1rem;
  background: var(--green-ink); color: #cfe3dd; font-size: .86rem; padding: .55rem 1rem; text-align: center;
}
.concept a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.concept-close { background: transparent; border: 0; color: #cfe3dd; cursor: pointer; font-size: 1.1rem; padding: .2rem; line-height: 1; border-radius: 999px; }
.concept-close:hover { color: #fff; }
.concept[hidden] { display: none; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-stuck { border-bottom-color: var(--line); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 2rem; }
.brand img { width: 84px; height: auto; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand img { content: url('img/logo-white.png'); } }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; font-weight: 500; color: var(--ink-2); }
.nav-links a { padding: .3rem 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--teal); }
.nav-actions { display: flex; align-items: center; gap: 1.1rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--ink); }
.nav-phone i { color: var(--green); font-size: 1.15rem; }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 1.5px solid var(--line); border-radius: 999px; width: 44px; height: 44px; font-size: 1.4rem; color: var(--ink); cursor: pointer; }
.nav-mobile { display: none; }
@media (max-width: 1023px) {
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-mobile { display: none; flex-direction: column; gap: .2rem; padding: .5rem 1rem 1.2rem; border-top: 1px solid var(--line); background: var(--bg); }
  .nav-mobile a { padding: .75rem .25rem; font-weight: 500; font-size: 1.05rem; }
  .nav-mobile .btn { margin-top: .6rem; justify-content: center; }
  .nav.is-open .nav-mobile { display: flex; }
}

/* Hero: a pinned, full-bleed stage. Six scenes (one per kind of space), the word
   and the background photo change together as the visitor scrolls. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero-stage { --scenes: 6; --scene-vh: 90vh; position: relative; height: calc(var(--scenes) * var(--scene-vh) + 50vh); }
.hero-pin { position: sticky; top: 0; height: 100dvh; min-height: 560px; overflow: hidden; display: grid; align-items: center; color: #fff; }
.hero-bg { position: absolute; inset: 0; background: #0b2a21; }
.hero-bg .scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 6s linear; }
.hero-bg .scene.is-active { opacity: 1; transform: scale(1); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 32, 25, .82) 0%, rgba(8, 32, 25, .55) 42%, rgba(8, 32, 25, .18) 75%, rgba(8, 32, 25, .3) 100%), linear-gradient(180deg, rgba(8, 32, 25, .35) 0%, transparent 30%, transparent 70%, rgba(8, 32, 25, .45) 100%); }
.hero-copy { position: relative; z-index: 1; max-width: 640px; margin-left: max(1rem, calc((100% - 1200px) / 2)); padding: 7rem 0 5rem; }
.hero-title { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 4.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.hero-title .line { display: block; }
.hero-title em { font-style: italic; color: var(--teal); padding-bottom: .06em; display: inline-block; line-height: 1.1; }
.hero-title .swap { display: grid; line-height: 1.1; padding-bottom: .04em; }
.hero-title .swap .word { display: block; }
.swap .word { grid-area: 1 / 1; opacity: 0; transform: translateY(.45em); transition: opacity .55s var(--ease), transform .55s var(--ease); will-change: transform, opacity; }
.swap .word.is-active { opacity: 1; transform: none; }
.swap .word.is-leaving { opacity: 0; transform: translateY(-.45em); }
.hero-sub { margin-top: 1.4rem; font-size: 1.15rem; color: #d7e6e1; max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .26); transform: translateY(-1px); }
.hero-index { position: absolute; right: clamp(1rem, 4vw, 3.5rem); top: 50%; transform: translateY(-50%); z-index: 1; display: grid; gap: .55rem; font-size: .9rem; font-weight: 500; color: rgba(255, 255, 255, .55); }
.hero-index li { position: relative; padding-left: 1.1rem; transition: color .4s; }
.hero-index li::before { content: ''; position: absolute; left: 0; top: .55em; width: .5rem; height: 2px; background: currentColor; transition: width .4s var(--ease); }
.hero-index li.is-active { color: #fff; }
.hero-index li.is-active::before { width: .75rem; background: var(--teal); }
.hero-track { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(var(--scenes), 1fr); pointer-events: none; }
.hero-step { min-height: 1px; }
@media (max-width: 860px) {
  .hero-stage { --scene-vh: 70vh; }
  .hero-copy { padding: 5rem 1rem 4rem; margin-left: 0; }
  .hero-index { display: none; }
  .hero-bg .scene { object-position: 55% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stage { height: auto; }
  .hero-pin { position: relative; }
  .hero-track, .hero-index { display: none; }
  .hero-bg .scene, .swap .word { transition: none; }
}

/* Proof row */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.proof-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding: 2rem 0; }
.proof-row li { display: grid; gap: .25rem; }
.proof-row strong { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: var(--green); line-height: 1; }
.proof-row span { color: var(--ink-2); font-size: .95rem; max-width: 24ch; }
@media (max-width: 860px) { .proof-row { grid-template-columns: repeat(2, 1fr); } }

/* Services bento */
.services { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.section-head p { margin-top: .9rem; color: var(--ink-2); font-size: 1.1rem; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(220px, auto); gap: 1rem; }
.cell { position: relative; border-radius: var(--r-card); overflow: hidden; padding: 1.6rem; background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.cell:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cell-a { grid-column: 1 / 3; grid-row: 1 / 3; padding: 0; min-height: 440px; }
.cell-d { grid-column: 1 / 3; padding: 0; min-height: 260px; }
.cell-a img, .cell-d img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cell:hover img { transform: scale(1.03); }
.cell-text { position: absolute; inset: auto 0 0 0; padding: 1.6rem; color: #fff; background: linear-gradient(to top, rgba(11, 42, 33, .9), rgba(11, 42, 33, .45) 60%, transparent); }
.cell-text h3 { font-size: 1.5rem; color: #fff; }
.cell-text p { margin-top: .45rem; color: #dbe9e4; max-width: 44ch; }
.tint-green { background: var(--teal-pale); border-color: transparent; }
.tint-teal { background: var(--teal-soft); border-color: transparent; }
.cell-icon { font-size: 1.8rem; color: var(--green); }
.cell h3 { margin-top: 1rem; }
.cell p { margin-top: .5rem; color: var(--ink-2); }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .cell-a, .cell-d { grid-column: auto; grid-row: auto; min-height: 300px; }
}

/* How it works */
.how { padding: 0 0 clamp(4rem, 8vw, 7rem); }
.how h2 { max-width: 20ch; margin-bottom: 2.5rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; counter-reset: step; }
.steps::before { content: ''; position: absolute; left: 1.4rem; right: 1.4rem; top: 1.45rem; height: 2px; background: var(--line); }
.steps li { position: relative; padding-top: 4rem; }
.steps li i { position: absolute; top: 0; left: 0; width: 2.9rem; height: 2.9rem; border-radius: 999px; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 1.35rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .steps li i { color: #0a241d; } }
.steps h3 { font-size: 1.45rem; }
.steps p { margin-top: .5rem; color: var(--ink-2); max-width: 36ch; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 2.2rem; }
  .steps::before { left: 1.45rem; right: auto; top: 1.5rem; bottom: 1.5rem; width: 2px; height: auto; }
  .steps li { padding-top: 0; padding-left: 4.2rem; }
}

/* Areas band */
.areas { display: grid; grid-template-columns: 1fr 1fr; background: var(--green-deep); color: #e7f1ee; }
.areas-media { margin: 0; min-height: 420px; }
.areas-media img { width: 100%; height: 100%; object-fit: cover; }
.areas-copy { padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 6vw, 5rem); display: grid; align-content: center; gap: 1.1rem; }
.areas-copy .eyebrow { color: var(--teal); margin: 0; }
.areas-copy h2 { color: #fff; max-width: 16ch; }
.areas-copy > p { color: #bfd6cf; font-size: 1.1rem; max-width: 48ch; }
.area-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.area-pills li { border: 1px solid rgba(112, 176, 176, .5); color: #e7f1ee; border-radius: 999px; padding: .4rem .9rem; font-size: .92rem; font-weight: 500; }
@media (max-width: 860px) { .areas { grid-template-columns: 1fr; } .areas-media { min-height: 260px; } }

/* Review */
.review { padding: clamp(4rem, 8vw, 7rem) 0; }
.review-inner { max-width: 760px; margin-inline: auto; text-align: center; }
.review-inner > i { font-size: 2.4rem; color: var(--teal); }
.review blockquote { margin: 1rem 0 0; }
.review blockquote p { font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem); font-weight: 500; line-height: 1.35; letter-spacing: -.01em; }
.review-by { margin-top: 1.4rem; color: var(--ink-2); }

/* Quote */
.quote { padding: 0 0 clamp(4rem, 8vw, 7rem); }
.quote-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.quote-copy h2 { max-width: 16ch; }
.contact-list { margin-top: 2rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: .8rem; font-size: 1.05rem; }
.contact-list i { font-size: 1.35rem; color: var(--green); flex: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.quote-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: 1.1rem; box-shadow: var(--shadow); }
.field { display: grid; gap: .45rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-weight: 600; font-size: .95rem; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-input);
  padding: .8rem .95rem; transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal) 35%, transparent); }
textarea { resize: vertical; }
.quote-form .btn { justify-self: start; }
.form-note { color: var(--ink-3); font-size: .9rem; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; } .field-row { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--green-ink); color: #c9dbd5; padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand img { width: 130px; }
.footer-brand p { margin-top: 1.2rem; max-width: 40ch; font-size: .95rem; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: .8rem; }
.footer address { font-style: normal; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; color: #8fa9a1; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Motion: reveal on scroll and hero entry. Everything collapses to static under reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
  .bento .cell:nth-child(2).reveal, .steps li:nth-child(2).reveal { transition-delay: .08s; }
  .bento .cell:nth-child(3).reveal, .steps li:nth-child(3).reveal { transition-delay: .16s; }
  .bento .cell:nth-child(4).reveal { transition-delay: .1s; }
  .bento .cell:nth-child(5).reveal { transition-delay: .18s; }
  .hero-title .line, .hero-sub, .hero-cta { animation: rise .9s var(--ease) both; }
  .hero-title .line:nth-child(2) { animation-delay: .08s; }
  .hero-sub { animation-delay: .18s; }
  .hero-cta { animation-delay: .26s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes settle { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
}

/* Thanks page */
.thanks { max-width: 640px; text-align: center; padding: 4rem 0; }
.thanks > i { font-size: 3rem; color: var(--green); }
.thanks h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); margin-top: 1rem; letter-spacing: -.03em; }
.thanks .hero-sub { margin-inline: auto; max-width: none; }
.thanks .hero-sub a { font-weight: 600; color: var(--green); }
.thanks .hero-cta { justify-content: center; }
