/* New York Cleaning — single stylesheet, mobile-first.
   Palette: dark navy #0a2a4d, sky blue #38a8e0, pale blue-grey #eef4f8. */

:root {
  --navy: #0a2a4d;
  --navy-2: #103a66;
  --sky: #38a8e0;
  --sky-dark: #1f8ac9;
  --sky-light: #e3f2fb;
  --ink: #1c2b3a;
  --muted: #5b6b7c;
  --bg: #eef4f8;
  --card: #fff;
  --line: #d9e4ec;
  --gold: #f5a623;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(10, 42, 77, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

h1, h2, h3 { line-height: 1.25; color: var(--navy); margin: 0 0 0.5rem; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }
a { color: var(--sky-dark); }
a:hover { text-decoration: none; }

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
section { padding: 2.5rem 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 1.75rem; }
.section-head p { color: var(--muted); }
.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-dark);
  margin-bottom: 0.5rem;
}

/* ---------- top strip ---------- */
.topstrip { background: var(--navy); color: #cfe3f2; font-size: 0.85rem; }
.topstrip .wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.topstrip a { color: #fff; font-weight: 600; }

/* ---------- header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.brand svg { flex: none; }
.brand-name { display: block; font-size: 1.25rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.brand-tag { display: block; font-size: 0.78rem; color: var(--muted); }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
}
.main-nav a:hover { background: var(--sky-light); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  background: var(--sky);
  color: #fff;
}
.btn:hover { background: var(--sky-dark); }
.btn-ghost {
  background: transparent;
  color: var(--sky-dark);
  box-shadow: inset 0 0 0 2px var(--sky);
}
.btn-ghost:hover { background: var(--sky-light); }
.btn-navy { background: var(--navy); }
.btn-navy:hover { background: var(--navy-2); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky-light); }

/* ---------- hero ---------- */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 3rem 0 2.75rem;
  text-align: center;
}
.hero .eyebrow { color: var(--sky); }
.hero h1 { color: #fff; font-size: 2rem; max-width: 640px; margin: 0 auto 0.75rem; }
.hero p.lede { color: #cfe3f2; max-width: 620px; margin: 0 auto 1.5rem; }
.search-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 0.75rem;
}
.search-form label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.search-form select {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
.hero .quote-link { display: inline-block; margin-top: 1rem; color: #fff; font-weight: 600; }

/* ---------- stats ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-num { display: block; font-size: 1.7rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat-label { font-size: 0.85rem; color: var(--muted); }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
}
.card h3 { margin-bottom: 0.35rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.5rem; }
.card .count { font-weight: 700; color: var(--sky-dark); font-size: 0.9rem; }

.service-card { text-decoration: none; display: block; }
.service-card:hover { border-color: var(--sky); }
.service-card .icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sky-light);
  border-radius: 12px;
  margin-bottom: 0.75rem;
}
.service-card h3 { font-size: 1.05rem; }
.service-card h3 a { color: var(--navy); text-decoration: none; }

/* ---------- steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 3.25rem; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--sky);
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
}

/* ---------- borough tiles ---------- */
.borough-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  min-height: 56px;
}
.borough-grid a:hover { border-color: var(--sky); }
.borough-grid .count { color: var(--sky-dark); font-weight: 700; font-size: 0.9rem; white-space: nowrap; }

/* ---------- listing cards ---------- */
.listings { display: grid; gap: 1rem; }
.listing { padding: 1.5rem; }
.listing h2 { font-size: 1.25rem; }
.listing .meta { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.5rem; }
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.stars { color: var(--gold); letter-spacing: 0.1em; font-size: 1.05rem; }
.rating strong { color: var(--navy); }
.rating .reviews { color: var(--muted); font-size: 0.9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; list-style: none; padding: 0; }
.chips li {
  background: var(--sky-light);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.83rem;
  font-weight: 600;
}
.listing .facts { font-size: 0.93rem; margin-bottom: 0.35rem; }
.listing .facts strong { color: var(--navy); }
.listing .actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.listing .actions .btn, .listing .actions a.btn { min-height: 44px; }
.tel-link { font-weight: 700; color: var(--navy); text-decoration: none; }
.tel-link:hover { text-decoration: underline; }

.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}
.filter-bar label { font-weight: 700; color: var(--navy); }
.filter-bar select {
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.result-count { color: var(--muted); font-size: 0.95rem; }
.no-results { display: none; }

/* ---------- trust pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.pills li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- breadcrumb / page head ---------- */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
.page-head h1 { margin-bottom: 0.5rem; }
.crumb { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.75rem; }
.crumb a { color: var(--sky-dark); }
.kicker { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sky-dark); }

/* ---------- tables ---------- */
table { width: 100%; border-collapse: collapse; background: #fff; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.7rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: #fff; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }

/* ---------- checklists / faq ---------- */
.checklist { list-style: none; padding: 0; }
.checklist li { padding: 0.35rem 0 0.35rem 1.75rem; position: relative; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0.35rem;
  color: var(--sky-dark);
  font-weight: 800;
}
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
.faq summary { font-weight: 700; color: var(--navy); cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 0.5rem 0 0; color: var(--muted); }

/* ---------- plans ---------- */
.plan { display: flex; flex-direction: column; }
.plan .price { font-size: 1.9rem; font-weight: 800; color: var(--navy); }
.plan .price span { font-size: 0.95rem; font-weight: 400; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.plan li { padding: 0.3rem 0 0.3rem 1.5rem; position: relative; font-size: 0.95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--sky-dark); font-weight: 800; }
.plan .btn { margin-top: auto; }
.plan-featured { border: 2px solid var(--sky); }
.badge {
  display: inline-block;
  background: var(--sky);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.5rem;
}

/* ---------- forms ---------- */
.form-card { max-width: 720px; margin: 0 auto; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="url"], .field textarea, .field select {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.field .hint { font-size: 0.88rem; color: var(--muted); margin-top: 0.25rem; }
.checks { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.checks label { display: flex; align-items: center; gap: 0.45rem; min-height: 44px; font-weight: 400; color: var(--ink); cursor: pointer; }
.checks input { width: 20px; height: 20px; accent-color: var(--sky-dark); }
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 1rem; margin: 0 0 1rem; }
legend { font-weight: 700; color: var(--navy); padding: 0 0.4rem; }
.form-success {
  display: none;
  background: #e6f6e6;
  border: 1px solid #7fc87f;
  color: #1d5c1d;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-weight: 600;
  margin-top: 1rem;
}
.form-success.show { display: block; }

/* ---------- callouts ---------- */
.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe3f2; }
.cta-band .btn { margin-top: 0.5rem; }
.note { background: var(--sky-light); border-left: 4px solid var(--sky); border-radius: 0 8px 8px 0; padding: 0.9rem 1.1rem; font-size: 0.95rem; }
.note strong { color: var(--navy); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #cfe3f2; padding: 2.5rem 0 1.5rem; font-size: 0.93rem; }
.site-footer a { color: #fff; }
.site-footer .disclaimer { max-width: 720px; margin-bottom: 1.5rem; }
.footer-cols { display: grid; gap: 1.5rem; margin-bottom: 1.5rem; }
.site-footer h3 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.35rem; }
.site-footer li a { text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255,255,255,0.2); padding-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }

/* ---------- guides ---------- */
.guide-card h3 a { color: var(--navy); text-decoration: none; }
.guide { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; margin-bottom: 1.5rem; }
.guide h2 { margin-bottom: 0.75rem; }

/* ---------- wider screens ---------- */
@media (min-width: 720px) {
  h1 { font-size: 2.4rem; }
  .hero h1 { font-size: 2.6rem; }
  .topstrip .wrap { flex-direction: row; justify-content: space-between; align-items: center; }
  .search-form { flex-direction: row; align-items: center; }
  .search-form select { flex: 1; }
  .search-form .btn { flex: none; }
  .stats .wrap { grid-template-columns: repeat(4, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .filter-bar { flex-direction: row; align-items: center; }
  .filter-bar select { min-width: 220px; }
  .filter-bar .result-count { margin-left: auto; }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .listings { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
