/* ==========================================================================
   Bucket of Suds Exterior Cleaning — client brand system
   Sourced from real research (Google Maps listing + reviews, verified
   2026-09-03): Hayden Dubois, since 2020, the strongest review count in
   this batch (28 reviews, 5.0 stars) — "great quality and great prices,"
   "professional staff" (the single most-repeated review tag, x8),
   "communication was square on." Palette is bright and literal: sudsy sky
   blue + sunny bubble-yellow + crisp white, deliberately distinct from
   Sanchez Landscaping's and Static Heating's cooler teal-based systems.
   See README for full sourcing.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Rubik:wght@400;500;600;700&display=swap');

:root {
  --sky: #0f6fa8;
  --sky-deep: #0a4d78;
  --sky-bright: #2f96d1;
  --sun: #f5c344;
  --sun-bright: #ffd766;
  --sun-deep: #cf9a1e;
  --white: #ffffff;
  --foam: #f2f9fc;
  --foam-deep: #e1f0f8;
  --ink: #16333f;
  --ink-soft: #4d6b78;

  --font-display: "Baloo 2", "Segoe UI", system-ui, sans-serif;
  --font-body: "Rubik", "Segoe UI", system-ui, sans-serif;

  --container: 1160px;
  --radius: 16px;
  --shadow: 0 20px 44px -26px rgba(10, 77, 120, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--foam);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--sky); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; color: var(--sky-deep); margin: 0; line-height: 1.2; }
p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }
blockquote { margin: 0 0 0.7rem; padding: 0.6rem 1rem; border-left: 4px solid var(--sun); background: rgba(255,255,255,0.08); font-style: italic; border-radius: 0 8px 8px 0; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--sun-deep);
  margin: 0 0 0.4rem;
  font-weight: 700;
}
.eyebrow--light { color: var(--sun-bright); }

.section { padding: 4.6rem 0; }
.section__title { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.section__lede { color: var(--ink-soft); font-size: 1.03rem; max-width: 44em; margin-top: 0.7rem; }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem;
  padding: 0.85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.btn--sky { background: var(--sky); color: var(--white); }
.btn--sky:hover { background: var(--sky-bright); transform: translateY(-1px); }
.btn--big { font-size: 1.08rem; padding: 1.05rem 2.2rem; }
.btn--line { border-color: rgba(255,255,255,0.75); color: var(--white); }
.btn--line:hover { border-color: var(--white); background: rgba(255,255,255,0.14); }
.btn--line-dark { border-color: var(--sky); color: var(--sky-deep); }
.btn--line-dark:hover { background: var(--sky); color: var(--white); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 2px 14px rgba(15,111,168,0.12); }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 24px; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; border-radius: 50%; background: var(--sky); color: var(--sun-bright); display: flex; align-items: center; justify-content: center; flex: none; }
.brand__mark svg { width: 24px; height: 24px; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--sky-deep); }
.brand__tag { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.site-nav__links { display: flex; align-items: center; gap: 1.4rem; }
.site-nav__links a:not(.site-nav__cta) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.94rem; display: none; }
.site-nav__cta { background: var(--sun); color: var(--sky-deep) !important; padding: 0.55rem 1.1rem; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 0.92rem; }
.site-nav__cta:hover { background: var(--sun-bright); }

/* ---------- hero: full-bleed square photo, bubble accents, wave divider below ---------- */
.hero { position: relative; color: var(--white); }
.hero__media { position: relative; height: 76vh; min-height: 440px; max-height: 680px; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,77,120,0.55) 0%, rgba(10,77,120,0.3) 45%, rgba(10,77,120,0.9) 100%);
}
.hero__inner { position: absolute; left: 0; right: 0; bottom: 3.4rem; text-align: center; }
.hero__title { color: var(--white); font-size: clamp(2.3rem, 6vw, 3.6rem); margin-bottom: 0.8rem; }
.hero__tagline { max-width: 36em; margin: 0 auto 1.6rem; font-size: 1.1rem; color: rgba(255,255,255,0.94); }
.hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.5rem; }
.hero__rating { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; background: rgba(255,255,255,0.16); padding: 0.5rem 1.1rem; border-radius: 999px; }
.hero__stars { color: var(--sun-bright); letter-spacing: 0.12em; }
.hero__credit { text-align: center; font-size: 0.72rem; color: var(--ink-soft); padding: 0.5rem 1rem; background: var(--foam); margin: 0; }

.wave-divider { line-height: 0; background: var(--foam); }
.wave-divider svg { width: 100%; height: 44px; display: block; fill: var(--white); }
.wave-divider--flip svg { transform: scaleY(-1); fill: var(--foam-deep); }

/* ---------- services: bubble-dot cards ---------- */
.services { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.4rem; }
.service-card {
  background: var(--foam); border: 1px solid var(--foam-deep); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.service-card__bubble {
  display: block; width: 40px; height: 40px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--sun-bright), var(--sun) 70%);
  margin-bottom: 1rem;
}
.service-card h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; }
.services__note {
  margin-top: 1.8rem; font-size: 0.9rem; color: var(--sky-deep);
  background: var(--foam-deep); border-radius: var(--radius); padding: 0.9rem 1.2rem; display: inline-block;
}

/* ---------- recent work (photo + story, split) ---------- */
.work { background: var(--foam); }
.work__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
.work__photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.work__photo img { width: 100%; height: 100%; max-height: 480px; object-fit: cover; }
.work__photo figcaption { font-size: 0.74rem; color: var(--ink-soft); background: var(--white); padding: 0.5rem 1rem; text-align: center; }
.work__copy p { color: var(--ink-soft); font-size: 1.02rem; }
.about__source { font-size: 0.82rem; color: var(--sky-deep); margin-top: 1rem; }

/* ---------- reviews: dark sky panel ---------- */
.reviews { background: var(--sky-deep); color: var(--white); }
.reviews h2 { color: var(--white); }
.reviews__grid { display: grid; grid-template-columns: 260px 1fr; gap: 2.8rem; align-items: center; margin-top: 2rem; }

.rating-card {
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  padding: 1.8rem 1.4rem; text-align: center; box-shadow: var(--shadow);
}
.rating-card__num { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; color: var(--sky-deep); line-height: 1; }
.rating-card__stars { color: var(--sun-deep); font-size: 1.15rem; letter-spacing: 0.12em; margin-top: 0.5rem; }
.rating-card__count { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.4rem; }

.reviews__copy p { color: rgba(255,255,255,0.9); font-size: 1rem; }
.reviews__copy blockquote { color: rgba(255,255,255,0.94); border-left-color: var(--sun); }
.tag-cloud {
  list-style: none; padding: 0; margin: 1.2rem 0; display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.tag-cloud li {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(245,195,68,0.6);
  border-radius: 999px; padding: 0.45rem 0.9rem; font-size: 0.88rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.tag-cloud li span { color: var(--sun-bright); }
.reviews__cta { margin: 1.2rem 0; }
.reviews__cta .btn--line-dark { border-color: rgba(255,255,255,0.6); color: var(--white); }
.reviews__cta .btn--line-dark:hover { background: rgba(255,255,255,0.14); color: var(--white); }
.reviews__source { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-top: 0.6rem; }

/* ---------- hours & find us ---------- */
.visit { background: var(--white); }
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; }
.visit__block h3 { font-size: 1.05rem; color: var(--sky-deep); margin-bottom: 0.7rem; }
.visit__block p { color: var(--ink-soft); }
.visit__block a.btn { margin-top: 0.6rem; }
.visit address { font-style: normal; color: var(--ink-soft); margin-bottom: 0.5rem; }

/* ---------- contact ---------- */
.contact { background: var(--sky); color: var(--white); text-align: center; padding: 4.6rem 0; }
.contact h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.8rem; }
.contact__lede { color: rgba(255,255,255,0.92); max-width: 34em; margin: 0 auto 1.8rem; }
.contact__meta { font-size: 0.9rem; color: rgba(255,255,255,0.8); margin-top: 1.2rem; }

/* ---------- footer ---------- */
.footer { background: var(--sky-deep); color: rgba(255,255,255,0.75); text-align: center; padding: 1.6rem 0; font-size: 0.86rem; }
.footer a { color: var(--sun-bright); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- responsive ---------- */
@media (min-width: 760px) {
  .site-nav__links a:not(.site-nav__cta) { display: inline; }
}
@media (max-width: 900px) {
  .work__grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .visit__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .service-grid { grid-template-columns: 1fr; }
  .hero__media { height: 68vh; }
  .hero__actions { flex-direction: column; align-items: stretch; }
}
