/* =====================================================================
   Lawn & Order — Kapiti Coast
   WHITE theme mirroring Capital House Wash mobile structure exactly.
   Same layout/padding/columns/headers/behaviour — different colours.
   ===================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green: #2e7d32;
  --green-dark: #1b5e20;
  --green-light: #e8f5e9;
  --dark: #111111;
  --gray: #555;
  --bg-card: #f6f8f6;
  --border: #ddd;
  --black: #111111;
  --white: #ffffff;
  --gold: #f9a825;
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

/* ============ HEADER / NAV (mirror CHW) ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-sticky-wrapper { background: #fff; }
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
}
.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.header-logo { display: flex; align-items: center; gap: 10px; }
.header-logo img { width: 56px; height: 56px; object-fit: contain; border-radius: 4px; }
.logo-text .name { font-size: 1.3rem; font-weight: 800; color: var(--green-dark); letter-spacing: 0.3px; }
.logo-text .tag { font-size: 0.75rem; color: var(--gray); }

.nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: nowrap;
  margin-top: 8px;
  padding: 4px;
  background: var(--green-dark);
  border-radius: 8px;
}
.nav-row a {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 5px;
  white-space: nowrap;
}
.nav-row a:hover { background: rgba(255,255,255,0.15); color: #fff; }
.nav-row a.active { background: #fff; color: var(--green-dark); font-weight: 800; }
.header-phone-cta {
  background: #25D366 !important;
  color: #fff !important;
  border: none !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 5px;
}
.nav-toggle { display: none; background: none; border: 1px solid var(--border); font-size: 1.4rem; padding: 6px 12px; border-radius: 6px; cursor: pointer; color: var(--green-dark); }

/* ============ MOBILE OVERLAY NAV (mirror CHW hamburger) ============ */
.mobile-overlay-bar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 6px;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  z-index: 999;
}
.mobile-overlay-bar .hamburger-btn {
  background: var(--green-light); border: 2px solid var(--green-dark); cursor: pointer; padding: 8px;
  flex-shrink: 0; display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px;
  border-radius: 10px;
}
.mobile-overlay-bar .hamburger-btn span {
  display: block; width: 100%; height: 3px; background: var(--green-dark); border-radius: 2px;
}
.mobile-overlay-bar .m-logo img { width: 48px; height: 48px; object-fit: contain; border-radius: 4px; }
.mobile-overlay-bar .m-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.mobile-overlay-bar .m-wa {
  background: #25D366; color: #fff; font-weight: 700; font-size: 0.85rem;
  padding: 6px 12px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px;
}
.mobile-overlay-bar .m-drop {
  background: var(--green); border: none; font-size: 1.1rem; color: #fff; cursor: pointer; padding: 8px 12px; border-radius: 20px;
}
.m-nav-sv, .m-nav-mo {
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(0,0,0,0.1);
  display: none;
  flex-direction: column;
  padding: 6px 0;
  z-index: 199;
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}
.m-nav-sv.open, .m-nav-mo.open { display: flex; }
.m-nav-sv a, .m-nav-mo a {
  padding: 15px 20px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  border-bottom: 1px solid #f0f0f0;
}
.m-nav-sv a:hover, .m-nav-mo a:hover { background: var(--green-light); color: var(--green-dark); }
.m-nav-mo a.chw-link { color: var(--green-dark); font-weight: 800; background: var(--green-light); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: flex-start;
  text-align: center;
  padding: 0;
  background: linear-gradient(180deg, var(--green-light), #ffffff);
}
.hero-content { padding: 44px 20px 22px; max-width: 760px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(46,125,50,0.12);
  color: var(--green-dark);
  border: 1px solid var(--green);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.hero h1 { font-size: 2.4rem; font-weight: 800; color: var(--green-dark); line-height: 1.12; margin-bottom: 8px; }
.hero-sub { font-size: 1.15rem; color: var(--gray); margin-bottom: 6px; }
.hero-since { font-size: 0.9rem; color: var(--gray); margin-bottom: 22px; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* House-wash callout */
.housewash-callout {
  background: #fff;
  border: 2px solid var(--green);
  border-radius: 14px;
  padding: 24px;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(46,125,50,0.1);
  text-align: left;
}
.housewash-callout .big, .housewash-callout p { font-size: 1rem; font-weight: 400; color: #444; margin-bottom: 6px; }

/* Capital House Wash hero CTA: glassmorphic, shimmer sweep */
.chw-hero-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
  max-width: 760px;
  margin: 18px auto 0;
  padding: 12px 16px;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.5);
  background: linear-gradient(135deg, rgba(255,255,255,0.55), rgba(255,255,255,0.25));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(46,125,50,0.25), inset 0 1px 0 rgba(255,255,255,0.6);
}
.chw-hero-cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.7), transparent);
  transform: skewX(-20deg);
  animation: chw-shimmer 3s ease-in-out infinite;
}
@keyframes chw-shimmer {
  0% { left: -120%; }
  60%, 100% { left: 160%; }
}
.chw-hero-logo { height: 81px; width: auto; display: block; flex-shrink: 0; position: relative; z-index: 1; }
.chw-hero-text { position: relative; z-index: 1; font-size: 1.05rem; font-weight: 700; color: #111; line-height: 1.3; text-align: right; margin-left: auto; text-transform: uppercase; text-shadow: 0 1px 0 rgba(255,255,255,0.6); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 14px 28px;
  border-radius: 8px;
  transition: background 0.2s;
}
.btn:hover { background: var(--green-dark); color: #fff; }
.btn-gold { background: var(--gold); }
.btn-gold:hover { background: #f57f17; }
.btn-outline { background: #fff; color: var(--green-dark); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green-light); }

/* ============ TRUST / STATS ============ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; background: var(--bg-card); padding: 28px 16px; }
.stat-item h3 { font-size: 2rem; color: var(--green-dark); margin-bottom: 4px; }
.stat-item p { font-size: 0.8rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }

/* ============ SECTIONS ============ */
.section { max-width: 1100px; margin: 0 auto; padding: 12px 20px 48px; }
.section-darker, .section-alt { background: var(--bg-card); }
.section h2 { font-size: 1.7rem; color: var(--green-dark); text-align: center; margin-bottom: 8px; }
.section .lead { text-align: center; color: var(--gray); max-width: 680px; margin: 0 auto 30px; }
.green-bar { width: 64px; height: 4px; border-radius: 2px; background: var(--green); margin: 0 auto 30px; }

/* Services grid */
.service-grid { display: grid; grid-template-columns: 1fr; gap: 10px; max-width: 520px; margin: 0 auto; }
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); border-color: var(--green); }
.service-card .icon { font-size: 2rem; margin-bottom: 10px; }
.service-card h3 { font-size: 1.1rem; color: var(--green-dark); margin-bottom: 6px; }
.service-card p { font-size: 0.9rem; color: var(--gray); }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; max-width: 660px; margin: 0 auto; }
.price-card { background: var(--green-light); border: 1px solid var(--border); border-radius: 12px; padding: 24px; text-align: center; }
.price-card .amount { font-size: 1.8rem; font-weight: 800; color: var(--green-dark); }
.price-card .label { color: var(--gray); font-size: 0.95rem; margin-top: 4px; }

/* Areas */
.area-list { text-align: center; font-size: 1.05rem; color: var(--dark); line-height: 2; }

/* Reviews */
.review-card { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--green); border-radius: 8px; padding: 18px 20px; margin-bottom: 14px; max-width: 720px; margin-left: auto; margin-right: auto; }
.review-card .quote { font-style: italic; color: var(--dark); }
.review-card .author { font-weight: 700; color: var(--green-dark); margin-top: 8px; }

/* Google-style cards */
.trust-google { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px; text-align: left; max-width: 720px; margin: 0 auto 14px; }
.trust-google-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.trust-google-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }

/* Contact form */
.contact-form { max-width: 560px; margin: 0 auto; }
.contact-form label { display: block; font-weight: 600; margin: 14px 0 6px; color: var(--dark); }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 1rem; font-family: inherit; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--green); }
.contact-form textarea { min-height: 130px; }
.contact-form button { width: 100%; margin-top: 18px; padding: 15px; background: var(--green); color: #fff; font-size: 1.1rem; font-weight: 700; border: none; border-radius: 8px; cursor: pointer; }
.contact-form button:hover { background: var(--green-dark); }

/* ============ FACEBOOK FEED (mirror CHW) ============ */
.facebook-section { background: var(--bg-card); padding: 40px 16px; }
.facebook-wrap { max-width: 720px; margin: 0 auto; text-align: center; }

/* ============ FOOTER ============ */
.footer { background: var(--green-dark); color: #fff; padding: 40px 20px 96px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.footer-inner h4 { margin-bottom: 10px; font-size: 1rem; }
.footer-inner a { color: #c8e6c9; display: block; margin-bottom: 6px; }
.footer-inner a:hover { color: #fff; }
.footer-bottom { max-width: 1100px; margin: 28px auto 0; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 18px; font-size: 0.85rem; color: #c8e6c9; }

/* ============ MOBILE BOTTOM BAR (mirror CHW) ============ */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--green-dark);
  display: flex;
  justify-content: space-around;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  z-index: 300;
}
.mobile-bottom-bar a { color: #fff; font-size: 0.7rem; text-align: center; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.mobile-bottom-bar a svg { width: 20px; height: 20px; }

/* ============ RESPONSIVE (mirror CHW breakpoints) ============ */
@media (max-width: 900px) {
  .desktop-only { display: none !important; }
  .header-top-row, .nav-row { display: none; }
  .mobile-overlay-bar { display: flex; }
  .nav-toggle { display: none; }
  body { padding-bottom: 62px; }
  .hero-content { padding-top: 76px; }
}

/* Home page hero background (phone view): Matt's edited hero photo as a
   translucent backdrop with the hero text over the top.
   100% auto -> full photo width, no zoom/blow-up; anchored top centre.
   hero-content padding-top clears the fixed mobile nav bar so the title shows. */
@media (max-width: 900px) {
  .home-hero {
    background: linear-gradient(180deg, rgba(232,245,233,0.72), rgba(255,255,255,0.93)), url('/images/phone-hero-bg.jpg') center top / 100% auto no-repeat;
    background-blend-mode: overlay;
  }
  .home-hero .hero-content {
    padding-top: 56px;
    margin: 0 auto;
  }
  .home-hero .hero-badge,
  .home-hero .hero-content h1,
  .home-hero .hero-sub,
  .home-hero .hero-since {
    display: inline-block;
    background: rgba(255,255,255,0.85);
    border-radius: 8px;
    padding: 4px 10px;
  }
}
@media (min-width: 901px) {
  .mobile-overlay-bar { display: none; }
  .mobile-bottom-bar { display: none; }
  body { padding-bottom: 0; }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 1.9rem; }
  .service-grid { grid-template-columns: 1fr; gap: 10px; }
}
