/* ============================================================================
   Snappy Cleaners — redesign v2 ("premium & personal")
   Palette pulled directly from the logo (sampled, not guessed):
     green  #06591C   red/orange  #E6420F
   Used the way the logo itself uses them — green + warm neutral doing most
   of the work, red reserved for CTAs/accents — so it reads premium rather
   than "Christmas colors" at equal 50/50 weight.
   ========================================================================= */

:root {
  --green-900: #06591C;
  --green-800: #0B6B24;
  --green-050: #EAF3EA;
  --red-600: #E6420F;
  --red-700: #C93A0D;
  --cream: #FBF8F1;
  --cream-alt: #F3EEE2;
  --ink: #22261F;
  --ink-soft: #4B5045;
  --border: #E4DFD0;
  --gold: #C9A227;
  --max-width: 1180px;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(34,38,31,0.06), 0 1px 1px rgba(34,38,31,0.04);
  --shadow-md: 0 8px 24px rgba(34,38,31,0.08);
}

/* Self-hosted (not Google Fonts CDN) — zero external dependency, verifiable offline.
   Subset: Latin only, the 7 weights actually used below. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-700-normal.woff2") format("woff2");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-900); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
/* The header nav needs more room than body copy does — 7 top-level items plus the logo and CTA
   button don't fit inside the same 1180px column that keeps paragraphs readable. Wider container
   for the header/top-bar only; everything else stays at --max-width. */
.top-bar .container,
.site-header .container {
  max-width: 1360px;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  color: var(--green-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.3rem; }
h6 {
  color: var(--red-600);
  font-family: "Inter", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  margin: 0 0 8px;
}

p { color: var(--ink-soft); }
.lede { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Top utility bar ----------
   Was a solid green fill sitting directly above the red logo — one too many saturated
   blocks stacked in the header. Plain cream + a hairline border reads calmer and still
   separates it from the nav row below. */
.top-bar {
  background: var(--cream);
  color: var(--ink-soft);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: flex-end;
  padding: 8px 24px;
}
.top-bar a { color: var(--ink-soft); opacity: 1; }
.top-bar a:hover { color: var(--green-900); text-decoration: none; }

/* ---------- Header ---------- */
header.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.2s ease;
}
header.site-header.scrolled { box-shadow: var(--shadow-sm); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-header .logo img { width: 172px; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
}
nav.main-nav a:hover { color: var(--green-900); text-decoration: none; }
/* Active state was red — that's the 3rd red element in the header alongside the logo and
   the CTA button. Green + underline reads as "current page" just as clearly without adding
   more red into the mix; red stays reserved for the logo and buttons only. */
nav.main-nav a[aria-current="page"] {
  color: var(--green-900);
  text-decoration: none;
  text-underline-offset: 6px;
  text-decoration-line: underline;
  text-decoration-color: var(--green-900);
  text-decoration-thickness: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--green-900); }

.header-cta { display: flex; align-items: center; gap: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
/* Every icon+text button (Call, Email Us, Get Directions, Become a Drop Spot Partner, ...) was
   missing this — with no explicit size, an inline <svg> with only a viewBox falls back to the
   browser's default replaced-element sizing instead of something button-scaled, blowing up to
   ~300+px in a flex layout. Sized to sit comfortably next to the button's 0.88rem label text. */
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--red-600); color: #fff; }
.btn-primary:hover { background: var(--red-700); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: var(--green-900); color: var(--green-900); }
.btn-outline:hover { background: var(--green-050); }
.btn-ghost-invert { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-ghost-invert:hover { background: rgba(255,255,255,0.12); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 84px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-alt) 100%);
}
.hero .container.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  color: var(--red-600);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.hero h1 { margin: 0 0 18px; }
.hero .lede { margin: 0 0 30px; max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.trust-strip span { display: inline-flex; align-items: center; gap: 7px; }
.trust-strip svg { width: 16px; height: 16px; color: var(--green-900); flex-shrink: 0; }

.hero-media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  box-shadow: var(--shadow-md);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Simple-page hero (non-home pages) */
.page-hero {
  background: var(--green-900);
  color: #fff;
  padding: 56px 0 60px;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin: 0 0 10px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0; font-size: 1.05rem; }
.page-hero .eyebrow { color: #FFD9C9; }

/* ---------- Sections ---------- */
main { padding: 0; }
.section { padding: 72px 0; }
/* The CTA banner (solid dark green) sits directly above the footer (also dark green) on
   every page that has one — same standard 72px gap read as too tight once both blocks are
   that saturated. Extra bottom padding here just for the section right before the footer. */
main > .section:last-child { padding-bottom: 132px; }
.section.alt { background: var(--cream-alt); }
.section-head { max-width: 640px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Service cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--green-050);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 24px; height: 24px; color: var(--green-900); }
.service-card h3 { margin: 0 0 8px; font-size: 1.15rem; }
.service-card p { margin: 0; font-size: 0.95rem; }
.service-card a.card-link {
  display: inline-block; margin-top: 14px; font-weight: 700; font-size: 0.88rem; color: var(--red-600);
}

/* ---------- Value props / two-col with image ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 20px 0 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; font-size: 0.98rem; color: var(--ink-soft);
}
.check-list svg { width: 19px; height: 19px; color: var(--green-900); flex-shrink: 0; margin-top: 2px; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.stars { color: var(--gold); font-size: 0.95rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p.quote { font-style: italic; color: var(--ink); margin: 0 0 16px; }
.testimonial-attr { font-weight: 700; color: var(--green-900); font-size: 0.9rem; }
.testimonial-attr span { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.82rem; }

/* ---------- Locations ---------- */
.locations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ---------- Chips (starch options, etc.) ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  display: inline-block;
  background: var(--green-050);
  color: var(--green-900);
  border: 1px solid rgba(6,89,28,0.18);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ---------- Drop Spot partners ---------- */
.dropspot-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.dropspot-card h3 { margin: 0 0 2px; font-size: 1.1rem; }
.dropspot-host {
  color: var(--red-600);
  font-weight: 700;
  font-size: 0.85rem;
  margin: 0 0 10px;
}
.dropspot-blurb { margin: 0; font-size: 0.92rem; }
.dropspot-directions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--red-600);
}
.dropspot-directions svg { width: 14px; height: 14px; }
.dropspot-directions:hover { text-decoration: underline; }
.dropspot-cta {
  margin-top: 40px;
  padding: 32px 36px;
  background: var(--green-050);
  border: 1px dashed rgba(6,89,28,0.3);
  border-radius: var(--radius);
  text-align: center;
}
.dropspot-cta h3 { margin: 0 0 8px; }
.dropspot-cta p { max-width: 560px; margin: 0 auto 20px; }
.location-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.location-card .loc-media { aspect-ratio: 16/9; }
.location-card .loc-media img { width: 100%; height: 100%; object-fit: cover; }
.location-card .loc-body { padding: 22px 24px; }
.location-card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.location-card .hours-table { margin: 12px 0; font-size: 0.9rem; color: var(--ink-soft); }
.location-card .hours-table div { display: flex; justify-content: space-between; padding: 2px 0; }
.location-card .loc-actions { display: flex; gap: 12px; margin-top: 14px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--green-900);
  color: #fff;
  border-radius: 20px;
  padding: 56px 48px;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin: 0 0 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 520px; margin: 0 auto 28px; }
.cta-banner-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Comment blocks (legacy pages reuse) ---------- */
.comment-block {
  border-left: 4px solid var(--red-600);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 28px 0;
}
.comment-block p { font-style: italic; color: var(--ink); margin: 0 0 10px; }
.comment-block .attribution { font-weight: 700; color: var(--green-900); font-style: normal; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.gallery img,
.gallery .media-placeholder {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  object-fit: cover;
  overflow: hidden;
}

/* ---------- Media placeholders ----------
   Standing in for real photography (storefronts, garments, staff) until those are supplied —
   see README.md. Deliberately styled as an obvious, tasteful placeholder rather than a plain
   gray box or a broken-looking image. */
.media-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  background:
    radial-gradient(circle at 25% 20%, rgba(6,89,28,0.07), transparent 55%),
    linear-gradient(135deg, #EFF6EE 0%, #F6F1E0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-placeholder svg {
  width: 30%;
  height: 30%;
  max-width: 110px;
  max-height: 110px;
  color: var(--green-900);
  opacity: 0.22;
  stroke-width: 1.3;
}
.media-placeholder .ph-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255,255,255,0.94);
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* ---------- Contact form block ---------- */
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: #10291A;
  color: #E9EEE6;
  padding: 60px 0 30px;
}
footer.site-footer a { color: #E9EEE6; opacity: 0.85; }
footer.site-footer a:hover { opacity: 1; text-decoration: none; }
footer.site-footer h4 {
  color: #fff;
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}
.footer-grid p { color: #C9D2C4; font-size: 0.92rem; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 40px; height: 40px; flex-shrink: 0; }
.footer-wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.15;
}
.footer-wordmark span { display: block; }
.footer-wordmark .fw-snappy { color: var(--red-600); }
.footer-wordmark .fw-cleaners { color: #fff; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 9px; font-size: 0.92rem; }
.footer-loc-label { color: #A9B5A2; font-size: 0.82rem; }
.footer-tagline {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.85rem;
  color: #A9B5A2;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); margin-right: 8px;
}
.social-icons svg { width: 18px; height: 18px; color: #fff; }

/* ---------- Responsive ---------- */
/* Nav collapses to the hamburger drawer well above the general mobile breakpoint — 7 top-level
   items plus the logo and CTA button don't have room to breathe even at common 1280px/1366px
   laptop widths, so this covers "narrow desktop" too, not just phones/tablets. */
@media (max-width: 1300px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn-primary { display: none; }
}

@media (max-width: 900px) {
  .hero .container.hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 16/9; }
  .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1 !important; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .locations-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .top-bar .container { justify-content: center; text-align: center; }
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 100;
  padding: 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
/* Scoped to `ul a` (not just `.mobile-nav a`) so this doesn't also catch the "Schedule a Pickup"
   .btn link below the list — it's a sibling of the <ul>, not a nav item, and was inheriting this
   rule's black text color / padding / border-bottom instead of its own .btn-primary styling
   (`.mobile-nav a` and `.btn-primary` tie on class-count specificity, so source order decided it —
   this rule came later and won). */
.mobile-nav ul a {
  display: block; padding: 14px 4px; font-size: 1.15rem; font-weight: 700; color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.mobile-nav .btn { margin-top: 24px; }
