/* NextDoor Cleaning — brand tokens pulled from the logo */
:root {
  --ink: #070b12;          /* logo background black */
  --ink-2: #111826;
  --blue: #1aa3f5;         /* logo electric blue (use on dark) */
  --blue-deep: #0668bd;    /* accessible blue for text/buttons on light (5.6:1 with white) */
  --blue-soft: #e6f4fe;
  --silver: #d9dee5;       /* logo silver roof */
  --bg: #f2f7fb;           /* page background, cool blue-grey */
  --card: #ffffff;
  --text: #0b1220;
  --muted: #55657a;
  --line: #dbe5ee;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 18px 40px -24px rgba(7, 11, 18, 0.35);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--blue-deep); color: #fff; padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.muted { color: var(--muted); max-width: 60ch; }

/* ---------- Shared bits ---------- */
.sparkle { width: 12px; height: 12px; fill: var(--blue); flex: none; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; margin: 0 0 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--text);
}

.two-tone { font-size: clamp(30px, 4vw, 46px); font-weight: 700; max-width: 22ch; }
.two-tone span { color: #8a98aa; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 6px 22px 6px 6px;
  border-radius: 999px; border: 0;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-dot {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; flex: none;
}
.btn-dot svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.btn-primary { background: var(--blue-deep); color: #fff; box-shadow: 0 10px 24px -12px rgba(6, 104, 189, 0.8); }
.btn-primary:hover { background: #055aa4; }
.btn-primary .btn-dot { background: #fff; color: var(--blue-deep); }

.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-ghost .btn-dot { background: #fff; color: var(--ink); }

.btn-light { background: #fff; color: var(--ink); padding: 6px 22px; }
.btn-block { width: 100%; justify-content: center; }

.checks li {
  position: relative; padding-left: 30px; margin-bottom: 10px;
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230668bd' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Hero ---------- */
.hero-wrap { padding: 16px; }
.hero {
  position: relative; overflow: hidden;
  min-height: min(860px, calc(100svh - 32px));
  border-radius: var(--r-lg);
  color: #fff; background: var(--ink);
  display: flex; flex-direction: column;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 18, 0.92) 0%, rgba(7, 11, 18, 0.72) 45%, rgba(7, 11, 18, 0.25) 100%),
    linear-gradient(0deg, rgba(7, 11, 18, 0.75) 0%, rgba(7, 11, 18, 0) 40%);
}

.nav {
  position: relative; z-index: 5;
  margin: 20px clamp(16px, 3vw, 36px) 0;
  padding: 8px 10px 8px 18px;
  display: flex; align-items: center; gap: 24px;
  background: rgba(7, 11, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.85);
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover { color: #fff; border-color: var(--blue); }
.nav-cta-mobile { display: none; }

.nav-call {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; padding: 6px 18px 6px 6px;
  background: rgba(255, 255, 255, 0.08); border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1.2;
  transition: background-color 0.2s;
}
.nav-call:hover { background: rgba(255, 255, 255, 0.16); }
.nav-call small { display: block; font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, 0.7); }
.call-icon { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.call-icon svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.1); padding: 13px 12px;
  flex-direction: column; justify-content: space-between;
}
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero-content {
  position: relative; z-index: 2;
  padding: clamp(48px, 8vw, 110px) clamp(24px, 6vw, 76px) 32px;
  max-width: 760px;
}
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.85); }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 22px; }
.hero h1 span { display: block; color: rgba(255, 255, 255, 0.55); font-weight: 700; }
.hero-lede { font-size: 17px; color: rgba(255, 255, 255, 0.82); max-width: 54ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-foot {
  position: relative; z-index: 2; margin-top: auto;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  padding: 24px clamp(24px, 6vw, 76px) clamp(24px, 4vw, 40px);
}
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--blue); fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }

.hero-thumbs { display: flex; gap: 12px; }
.hero-thumbs img {
  width: 120px; height: 100px; object-fit: cover; border-radius: 14px;
  border: 3px solid transparent;
}
.hero-thumbs img.is-active { border-color: #fff; transform: translateY(-6px); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: start; }
.about-grid > .chip { justify-self: start; }
.about-body { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; margin-top: 40px; align-items: start; }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); }
.about-copy { color: var(--muted); }
.about-copy .checks { color: var(--text); margin: 22px 0 28px; }
.about-second { margin-top: 32px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-md); }

/* ---------- Services ---------- */
.services { background: var(--card); }
.section-head { margin-bottom: 40px; }

/* Tab bar echoes the four icons under the logo, on the logo's black */
.service-tabs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ink); border-radius: var(--r-md); padding: 10px;
  margin-bottom: 28px;
}
.service-tabs button {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 22px 12px; border: 0; border-radius: var(--r-sm);
  background: transparent; color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.35;
  transition: background-color 0.2s var(--ease), color 0.2s;
}
.service-tabs button + button::before {
  content: ""; position: absolute; left: -1px; top: 22%; bottom: 22%;
  width: 2px; background: var(--blue); opacity: 0.6;
}
.service-tabs button:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.service-tabs button[aria-selected="true"] { color: #fff; background: rgba(26, 163, 245, 0.16); }
.service-tabs svg {
  width: 46px; height: 46px; fill: none; stroke: var(--blue);
  stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
.service-tabs button[aria-selected="true"] svg { filter: drop-shadow(0 0 10px rgba(26, 163, 245, 0.6)); }

.service-panel {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center;
  background: var(--bg); border-radius: var(--r-lg); padding: 18px;
  animation: panel-in 0.35s var(--ease);
}
.service-panel[hidden] { display: none; }
.service-panel img { width: 100%; height: 100%; min-height: 360px; max-height: 460px; object-fit: cover; border-radius: var(--r-md); }
.service-copy { padding: 18px 26px 18px 0; }
.service-copy h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 12px; }
.service-copy > p { color: var(--muted); margin-bottom: 22px; }
.service-copy .checks { margin-bottom: 26px; }
.text-link {
  font-weight: 600; color: var(--blue-deep); text-decoration: none;
  border-bottom: 2px solid currentColor; padding-bottom: 2px;
}
.text-link:hover { color: #044a87; }

@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.steps li {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 30px 28px;
}
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 22px;
  border-radius: 50%; background: var(--ink); color: var(--blue);
  font-family: var(--font-head); font-weight: 800; font-size: 18px;
}
.steps h3 { font-size: 20px; margin-bottom: 10px; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Reviews ---------- */
.reviews { background: #e7eff6; }
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.review-nav { display: flex; gap: 10px; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); display: grid; place-items: center; color: var(--text);
  transition: background-color 0.2s, transform 0.2s;
}
.round-btn:hover { transform: translateY(-1px); }
.round-btn.is-solid { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.round-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.review-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 2px 8px;
  scrollbar-width: none;
}
.review-track::-webkit-scrollbar { display: none; }
.review {
  position: relative; scroll-snap-align: start; margin: 0;
  background: var(--card); border-radius: var(--r-md); padding: 44px 28px 28px;
  text-align: center; display: flex; flex-direction: column; align-items: center;
}
.review.is-featured { box-shadow: var(--shadow); }
.quote-mark {
  position: absolute; top: -24px; left: 50%; transform: translateX(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--blue);
  font-family: Georgia, serif; font-size: 40px; line-height: 64px; text-align: center;
}
.review.is-featured .quote-mark { background: var(--blue-deep); color: #fff; }
.stars { color: #f5b301; letter-spacing: 3px; margin-bottom: 14px; }
.review blockquote { margin: 0 0 22px; color: var(--muted); font-size: 15px; }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: 14px; }
.review figcaption span { color: var(--muted); font-size: 13px; }

/* ---------- Service area ---------- */
.area-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.area-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 26px; max-width: 420px; }
.area-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm);
  font-weight: 500;
}
.area-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.map { border-radius: var(--r-lg); overflow: hidden; background: var(--line); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Banner ---------- */
.banner-wrap { padding-bottom: clamp(32px, 5vw, 56px); }
.banner {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--ink); color: #fff; min-height: 300px;
  display: flex; align-items: center;
}
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,11,18,0.92), rgba(7,11,18,0.35)); }
.banner-copy { position: relative; z-index: 1; padding: clamp(32px, 5vw, 60px); }
.banner .two-tone { margin-bottom: 26px; max-width: 24ch; }
.banner .two-tone span { color: var(--blue); }

/* ---------- Quote ---------- */
.quote { padding-top: clamp(32px, 5vw, 56px); }
.quote-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { margin-top: 28px; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--blue-deep); text-decoration: underline; }
.contact-list svg {
  width: 44px; height: 44px; padding: 12px; border-radius: 50%; flex: none;
  background: var(--ink); fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.quote-form {
  background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow); display: grid; gap: 18px;
}
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-weight: 600; font-size: 14px; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text);
  padding: 13px 14px; min-height: 48px;
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fbfdff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 4px rgba(26, 163, 245, 0.18);
}
.field input[aria-invalid="true"] { border-color: #c62828; }
.error { color: #b71c1c; font-size: 13px; margin: 0; }
.form-note { margin: 0; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.form-note.is-success { color: #1b6e3a; font-weight: 600; }
.form-note.is-error { color: #b71c1c; font-weight: 600; }
.quote-form button:disabled { opacity: 0.7; cursor: progress; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-form { position: relative; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.75); padding: 64px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 36px; }
.footer-brand img { width: 200px; height: auto; margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; }
.footer h3 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--blue); }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px;
}
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .nav-call small { display: none; }
  .hero-thumbs img { width: 96px; height: 80px; }
}

@media (max-width: 900px) {
  .nav { border-radius: 26px; flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .nav-call { display: none; }
  .nav-links {
    display: none; width: 100%; flex-direction: column; gap: 0;
    padding: 8px 8px 12px; margin: 0;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: block; padding: 14px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-cta-mobile { display: block; }
  .nav-cta-mobile a { color: var(--blue); }

  .hero-foot { flex-direction: column; align-items: flex-start; }
  .about-grid, .about-body, .service-panel, .area-grid, .quote-grid { grid-template-columns: 1fr; }
  .about-grid { gap: 0; }
  .service-copy { padding: 6px 10px 14px; }
  .service-panel img { min-height: 240px; max-height: 320px; }
  .steps { grid-template-columns: 1fr; }
  .review-track { grid-auto-columns: calc((100% - 20px) / 2); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero-wrap { padding: 8px; }
  .nav { margin: 12px 12px 0; }
  .nav-logo img { height: 44px; }
  .hero-thumbs { display: none; }
  .service-tabs { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .service-tabs button { padding: 16px 8px; font-size: 12px; }
  .service-tabs button + button::before { display: none; }
  .service-tabs svg { width: 38px; height: 38px; }
  .review-track { grid-auto-columns: 86%; }
  .field-row { grid-template-columns: 1fr; }
  .reviews-head { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
