/* Black Rabbit Landscaping — shared site styles */
:root {
  --green: #2e5a2e;
  --green-dark: #1e3d1e;
  --green-deep: #0a4d3c;
  --cream: #f8f5f0;
  --ink: #1a1a1a;
  --muted: #555;
  --card: #ffffff;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  --radius: 16px;
  --google-blue: #1a73e8;
  --star: #fbbc04;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }
a { color: var(--green); }

/* ——— Nav ——— */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(30, 61, 30, 0.97);
  backdrop-filter: blur(8px);
  color: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.site-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

.site-nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.site-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  justify-content: flex-end;
}

.site-nav-links a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 4px;
}

.site-nav-links a:hover,
.site-nav-links a.active {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 0 12px;
  }
  .site-nav-inner { flex-wrap: wrap; }
  .site-nav.open .site-nav-links { display: flex; }
}

/* ——— Hero ——— */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.45)),
    url('../IMG_9650.jpeg') center/cover no-repeat;
  color: white;
  padding: 56px 20px 64px;
  text-align: center;
}

.logo-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid var(--green);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  margin: 0 auto 22px;
  overflow: hidden;
  background: white;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  font-size: clamp(1.55rem, 3.8vw, 2.35rem);
  margin: 0 0 6px;
  font-weight: 700;
  line-height: 1.2;
}

.hero .hero-brand {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 8px;
  opacity: 0.98;
  letter-spacing: 0.02em;
}

.hero p { font-size: 1.05rem; margin: 0; opacity: 0.95; }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}

.hero-cta,
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.hero-cta.primary,
.btn-primary {
  background: #fff;
  color: var(--green);
}

.hero-cta.ghost,
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-solid {
  background: var(--green);
  color: #fff;
}

.btn-solid:hover { background: var(--green-dark); }

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}

/* ——— Trust: licensed / bonded / insured ——— */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 14px 0 0;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}

.trust-badge .trust-check {
  display: inline-flex;
  width: 1.1em;
  height: 1.1em;
  align-items: center;
  justify-content: center;
  font-size: 0.85em;
  line-height: 1;
}

/* On cream / white backgrounds */
.trust-badges.trust-on-light .trust-badge {
  background: #eef5ee;
  border-color: #b7d0b7;
  color: var(--green-dark);
}

.trust-line {
  margin: 0;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green-dark);
}

.footer-trust {
  margin: 0 0 8px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #e8f5e8;
}

/* ——— Page shell ——— */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  padding: 42px 20px;
  text-align: center;
}

.page-hero h1 { margin: 0 0 8px; font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.page-hero p { margin: 0 auto; max-width: 560px; opacity: 0.95; }

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px;
}

.section-title {
  text-align: center;
  color: var(--green);
  font-size: 1.75rem;
  margin: 0 0 10px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ——— Quick links strip ——— */
.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  max-width: 1100px;
  margin: -28px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 5;
}

.quick-link-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid rgba(46, 90, 46, 0.08);
}

.quick-link-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.quick-link-card .icon { font-size: 1.6rem; margin-bottom: 6px; }
.quick-link-card strong {
  display: block;
  color: var(--green);
  font-size: 1rem;
}
.quick-link-card span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ——— SEO / services intro (crawlable copy) ——— */
.seo-section {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 20px 8px;
}

.seo-section h2 {
  color: var(--green);
  font-size: 1.45rem;
  margin: 0 0 12px;
  text-align: center;
}

.seo-section > p {
  color: var(--muted);
  text-align: center;
  margin: 0 auto 22px;
  max-width: 640px;
  line-height: 1.6;
}

.seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .seo-grid { grid-template-columns: 1fr; }
}

.seo-card {
  background: #fff;
  border: 1px solid #e6ebe6;
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.seo-card h3 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 1.05rem;
}

.seo-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #333;
  line-height: 1.55;
}

.seo-card li { margin-bottom: 4px; }

.seo-card p {
  margin: 0;
  color: #444;
  line-height: 1.55;
  font-size: 0.95rem;
}

/* ——— City landing pages ——— */
.city-kicker {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
}

.city-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}

.city-hero-ctas .btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
}

.page-hero .city-btn-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.9);
}

.page-hero .city-btn-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.city-page {
  max-width: 900px;
}

.city-prose {
  margin: 0 0 28px;
}

.city-prose p {
  color: #444;
  line-height: 1.65;
  font-size: 1.02rem;
  margin: 0 0 14px;
}

.city-services-grid {
  margin-bottom: 28px;
}

.city-services-grid h2 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 1.1rem;
}

.city-why {
  background: #fff;
  border: 1px solid #e6ebe6;
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.city-why h2 {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 1.25rem;
}

.city-check-list {
  margin: 0;
  padding-left: 1.2rem;
  color: #333;
  line-height: 1.6;
}

.city-check-list li { margin-bottom: 6px; }

.city-cta-band {
  text-align: center;
  background: linear-gradient(135deg, #eef5ee, #f8f5f0);
  border: 1px solid #d7e6d7;
  border-radius: var(--radius);
  padding: 28px 20px;
  margin-bottom: 32px;
}

.city-cta-band h2 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 1.35rem;
}

.city-cta-band p {
  margin: 0 auto 6px;
  max-width: 480px;
  color: var(--muted);
}

.city-faq {
  margin-bottom: 36px;
}

.city-faq > h2 {
  text-align: center;
  color: var(--green);
  font-size: 1.35rem;
  margin: 0 0 16px;
}

.city-nearby > h2 {
  text-align: center;
  color: var(--green);
  font-size: 1.35rem;
  margin: 0 0 6px;
}

.city-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.city-chip {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #d5e2d5;
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.city-chip:hover {
  border-color: var(--green);
  background: #f3f8f3;
}

.home-cities {
  max-width: 900px;
  margin: 28px auto 0;
  padding: 0 20px;
}

.home-cities h2 {
  text-align: center;
  color: var(--green);
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.home-cities > p {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 14px;
  max-width: 520px;
  font-size: 0.95rem;
}

.site-footer .footer-cities,
.site-footer .footer-services {
  margin: 0 0 10px;
  font-size: 0.85rem;
}

.site-footer .footer-cities a,
.site-footer .footer-services a {
  color: #cde5cd;
  text-decoration: none;
  font-weight: 600;
}

.site-footer .footer-cities a:hover,
.site-footer .footer-services a:hover { text-decoration: underline; }

.home-services {
  max-width: 900px;
  margin: 28px auto 8px;
  padding: 0 20px;
}

.home-services h2 {
  text-align: center;
  color: var(--green);
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.home-services > p {
  text-align: center;
  color: var(--muted);
  margin: 0 auto 14px;
  max-width: 520px;
  font-size: 0.95rem;
}

/* ——— FAQ (home SEO) ——— */
.faq-section {
  max-width: 760px;
  margin: 48px auto 0;
  padding: 0 20px 8px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid #e6ebe6;
  border-radius: 14px;
  padding: 0;
  margin: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--green-dark);
  padding: 14px 18px;
  font-size: 0.98rem;
  line-height: 1.35;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--green);
  font-weight: 700;
  margin-left: 12px;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: #444;
  font-size: 0.94rem;
  line-height: 1.55;
}

.seo-reviews-static {
  max-width: 720px;
  margin: 20px auto 0;
  padding: 12px 16px;
  background: #f4f7f4;
  border-radius: 12px;
  font-size: 0.9rem;
  color: #444;
}

.seo-reviews-static p { margin: 0 0 8px; }
.seo-reviews-static p:last-child { margin-bottom: 0; }

.site-footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  margin: 0 0 10px;
}

.site-footer .footer-nav a {
  color: #cde5cd;
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer .footer-nav a:hover { text-decoration: underline; }

.site-footer .footer-nap {
  margin: 0;
  font-size: 0.85rem;
  color: #a8c4a8;
}

.site-footer .footer-nap a {
  color: #e8f5e8;
  text-decoration: none;
}

.site-footer .footer-nap a:hover { text-decoration: underline; }

/* ——— Google-style review cards + carousel ——— */
.reviews-section {
  background: #fff;
  padding: 56px 20px;
  margin-top: 40px;
}

.reviews-carousel-wrap {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.reviews-track {
  position: relative;
  min-height: 240px;
}

.review-card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 22px 24px;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.15), 0 4px 12px rgba(60, 64, 67, 0.08);
  display: none;
  animation: reviewIn 0.45s ease;
}

.review-card.active { display: block; }

@keyframes reviewIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34a853, #2e5a2e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.review-meta strong {
  display: block;
  font-size: 0.95rem;
  color: #202124;
}

.review-meta .sub {
  font-size: 0.8rem;
  color: #5f6368;
}

.review-stars {
  color: var(--star);
  letter-spacing: 2px;
  font-size: 1.1rem;
  margin: 4px 0 10px;
  line-height: 1;
}

.review-text {
  color: #3c4043;
  font-size: 0.98rem;
  margin: 0 0 14px;
  line-height: 1.55;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #5f6368;
}

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #5f6368;
}

.google-g {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #dadce0;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--google-blue);
  font-family: Arial, sans-serif;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: #fff;
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover { background: var(--green); color: #fff; }

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  padding: 0;
  cursor: pointer;
}

.carousel-dots button.active { background: var(--green); }

/* Static review grids (testimonials page) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.reviews-grid .review-card { display: block; animation: none; }

/* ——— Service form ——— */
.service-request {
  max-width: 620px;
  margin: 40px auto 0;
  padding: 50px 30px;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 10;
}

.service-request h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 12px;
  color: var(--green);
}

.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #444;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #ddd;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
}

.urgency-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.urgency-btn {
  padding: 14px 10px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  background: var(--green);
  color: white;
  cursor: pointer;
  font-family: inherit;
}

.urgency-btn.active {
  outline: 3px solid #d97706;
  outline-offset: 2px;
}

.submit-btn {
  background: var(--green);
  color: white;
  border: none;
  padding: 18px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 14px;
  width: 100%;
  margin-top: 8px;
  cursor: pointer;
  font-family: inherit;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #1877f2;
  text-decoration: none;
}
.social-link:hover { text-decoration: underline; }
.social-link::before {
  content: 'f';
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #1877f2;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: Helvetica, Arial, sans-serif;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.contact-bar {
  text-align: center;
  padding: 40px 20px;
  background: var(--cream);
}

/* ——— Portfolio ——— */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.portfolio-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.portfolio-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: #e8e4dc;
}

.portfolio-card .body { padding: 16px 18px 20px; }
.portfolio-card h3 {
  margin: 0 0 4px;
  color: var(--green);
  font-size: 1.1rem;
}
.portfolio-card .loc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.portfolio-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #444;
}

/* ——— Map ——— */
#service-map {
  height: 480px;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid #fff;
  z-index: 1;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  justify-content: center;
}

.map-chip {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
}

.pin-list {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.pin-list-item {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
}

.pin-dot {
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 0;
  background: var(--green);
  transform: rotate(-45deg);
  margin-top: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.pin-dot-client {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #d97706;
  transform: none;
  margin-top: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.pin-list-item h4 { margin: 0 0 2px; color: var(--green); }
.pin-list-item p { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* ——— Auth / admin ——— */
.auth-card {
  max-width: 440px;
  margin: 40px auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 32px 28px;
}

.auth-card h2 {
  margin: 0 0 8px;
  color: var(--green);
  text-align: center;
}

.auth-card .tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.auth-card .tabs button {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 2px solid #ddd;
  background: #fafafa;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.auth-card .tabs button.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.auth-msg {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 14px;
  display: none;
}

.auth-msg.error { display: block; background: #fde8e8; color: #9b1c1c; }
.auth-msg.ok { display: block; background: #e8f5e9; color: #1b5e20; }

.admin-shell {
  max-width: 1000px;
  margin: 0 auto;
  padding: 28px 18px 60px;
}

.admin-header {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.admin-header h1 {
  margin: 0;
  color: var(--green);
  font-size: 1.5rem;
}

.admin-panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  margin-bottom: 20px;
}

.admin-panel h2 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  color: var(--green-dark);
}

.admin-panel h3 {
  margin: 18px 0 10px;
  font-size: 1rem;
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 640px) {
  .admin-row { grid-template-columns: 1fr; }
  .urgency-buttons { grid-template-columns: 1fr; }
}

.admin-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.admin-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}

.admin-list .actions {
  display: flex;
  gap: 8px;
}

.admin-list button,
.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #f5f5f5;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
}

.btn-danger {
  background: #fde8e8;
  border-color: #f5c2c2;
  color: #9b1c1c;
}

.preview-thumb {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}

.customer-dash {
  max-width: 640px;
  margin: 32px auto;
  padding: 0 18px 48px;
}

.customer-dash .card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 16px;
}

/* ——— Sticky mobile CTA bar ——— */
.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  background: rgba(30, 61, 30, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.22);
  gap: 8px;
  align-items: stretch;
  justify-content: center;
}

.mobile-cta-bar a {
  flex: 1;
  max-width: 200px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 12px;
  padding: 12px 10px;
  line-height: 1.2;
}

.mobile-cta-bar .mcta-text {
  background: #25d366;
  color: #fff;
}

.mobile-cta-bar .mcta-call {
  background: #fff;
  color: var(--green-dark);
}

.mobile-cta-bar .mcta-quote {
  background: transparent;
  color: #e8f5e8;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}

/* Lift floating fabs above the sticky bar on small screens */
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  body.has-mobile-cta {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  body.has-mobile-cta .site-fabs {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }
  body.has-mobile-cta .site-footer {
    padding-bottom: 24px;
  }
}

/* ——— FABs ——— */
.site-fabs {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
  align-items: center;
}

.fab {
  position: relative;
  bottom: auto;
  right: auto;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.fab.sms { background: #25d366; color: white; }
.fab.call { background: var(--green); color: white; }
.fab.fb {
  background: #1877f2;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  font-family: Helvetica, Arial, sans-serif;
}
.fab.fb .fab-fb-f {
  display: block;
  transform: translateY(-1px);
  line-height: 1;
}

/* ——— Full-page assistant (mobile-first) ——— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.assistant-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--cream);
}

.assistant-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  min-height: 0;
  padding: 0 0 env(safe-area-inset-bottom, 0);
}

.assistant-top {
  padding: 18px 16px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
}

.assistant-top h1 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  color: var(--green);
}

.assistant-top p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

.assistant-top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.assistant-top-actions .btn {
  padding: 10px 14px;
  font-size: 0.88rem;
}

.assistant-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--cream);
}

.assistant-messages {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 240px;
  max-height: min(58dvh, 520px);
}

.msg {
  display: flex;
  max-width: 92%;
}

.msg-user {
  align-self: flex-end;
}

.msg-bot {
  align-self: flex-start;
}

.msg-bubble {
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.45;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.msg-user .msg-bubble {
  background: var(--green);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.msg-bot .msg-bubble {
  background: #fff;
  color: #222;
  border-bottom-left-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.msg-thinking .msg-bubble {
  color: #888;
  font-style: italic;
}

.assistant-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 10px;
}

.assistant-suggestions button {
  border: 1px solid #c5d4c5;
  background: #fff;
  color: var(--green-dark);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.assistant-suggestions button:active {
  background: #eef5ee;
}

.assistant-composer {
  display: flex;
  gap: 8px;
  padding: 10px 16px 6px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  bottom: 0;
}

.assistant-composer input {
  flex: 1;
  min-width: 0;
  padding: 14px 14px;
  border: 2px solid #ddd;
  border-radius: 12px;
  font-size: 16px; /* prevents iOS zoom */
  font-family: inherit;
}

.assistant-composer .btn {
  flex-shrink: 0;
  padding: 12px 16px;
}

.assistant-disclaimer {
  margin: 0;
  padding: 4px 16px 14px;
  font-size: 0.75rem;
  color: #888;
  background: #fff;
  text-align: center;
}

.assistant-handoff-hint {
  margin: 0;
  padding: 0 16px 10px;
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
}

.lead-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef5ee;
  color: var(--green-dark);
  text-transform: uppercase;
}

.lead-status.done { background: #e8e8e8; color: #555; }
.lead-status.texted { background: #e0f2fe; color: #0369a1; }
.lead-status.booked { background: #dcfce7; color: #166534; }
.lead-status.deposit_paid { background: #fef3c7; color: #92400e; }
.lead-status.en_route { background: #ffedd5; color: #9a3412; }

.lead-track-line {
  margin: 6px 0 4px !important;
  font-size: 0.85rem !important;
}

.lead-track-line a {
  font-weight: 600;
}

/* Customer track page */
.track-loading {
  margin: 0;
  color: var(--muted);
  text-align: center;
  padding: 12px 0;
}

.track-hello {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-dark);
}

.track-status-pill {
  display: inline-block;
  margin: 0 0 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e8f5e8;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.95rem;
}

.track-blurb {
  margin: 0 0 10px;
  color: #444;
  line-height: 1.5;
}

.track-meta {
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: #777;
}

.track-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.track-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f6f8f6;
  color: #888;
  font-weight: 600;
  font-size: 0.92rem;
}

.track-steps li.done {
  color: var(--green-dark);
  background: #eef6ee;
}

.track-steps li.current {
  color: #fff;
  background: linear-gradient(135deg, var(--green), #3d7a3d);
  box-shadow: 0 6px 18px rgba(46, 90, 46, 0.25);
}

.track-step-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  flex-shrink: 0;
}

.track-steps li.done .track-step-dot {
  background: var(--green);
}

.track-steps li.current .track-step-dot {
  background: #fff;
}

.lead-card {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #fafafa;
}

.lead-card h4 {
  margin: 0 0 6px;
  color: var(--green-dark);
  font-size: 1rem;
}

.lead-card p {
  margin: 0 0 4px;
  font-size: 0.88rem;
  color: #444;
}

.lead-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}

.lead-photos img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.lead-photo-note {
  font-size: 0.85rem !important;
  color: #666 !important;
  font-style: italic;
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.lead-token-row {
  margin-bottom: 14px;
  padding: 12px 14px;
  background: #f4f7f4;
  border-radius: 12px;
  border: 1px solid #e0e8e0;
}

.lead-token-row > label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.lead-token-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.lead-token-controls input {
  flex: 1 1 200px;
  min-width: 160px;
  padding: 10px 12px;
  border: 1.5px solid #d0d8d0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
}

.lead-token-controls input.lead-token-needed {
  border-color: #c47b00;
  box-shadow: 0 0 0 3px rgba(196, 123, 0, 0.15);
}

.lead-token-controls .btn {
  padding: 10px 14px;
  font-size: 0.88rem;
}

@media (min-width: 700px) {
  .assistant-messages {
    max-height: 560px;
  }
  .assistant-top {
    border-radius: 0 0 16px 16px;
  }
}

.site-footer {
  text-align: center;
  padding: 28px 16px 40px;
  color: #a8c4a8;
  font-size: 0.88rem;
  background: var(--green-dark);
  border-top: none;
  margin-top: 32px;
}

.site-footer a { font-weight: 600; }

/* Minimal / utility pages without full nav footer */
.site-footer.site-footer-simple {
  background: transparent;
  color: var(--muted);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 0;
}

.site-footer.site-footer-simple a {
  color: var(--green);
}

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 32px 16px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px dashed #ccc;
}

.note-banner {
  background: #fff8e6;
  border: 1px solid #f0d78c;
  color: #6b4f00;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.9rem;
  max-width: 720px;
  margin: 0 auto 24px;
}

/* Admin file upload */
.form-group input[type="file"] {
  padding: 10px;
  background: #fafafa;
  cursor: pointer;
}

.form-group input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

.file-status {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.35;
}

body.admin-page .site-fabs,
body.admin-page .mobile-cta-bar {
  display: none !important;
}

/* ——— Cut My Grass (booking product on Black Rabbit) ——— */
body.cmg-page {
  background: linear-gradient(180deg, #eef5ee 0%, var(--cream) 28%, var(--cream) 100%);
}

body.cmg-page .site-fabs,
body.cmg-page .mobile-cta-bar {
  display: none !important;
}

body.cmg-page.has-mobile-cta {
  padding-bottom: 0;
}

.cmg-shell {
  max-width: 480px;
  margin: 0 auto;
  padding: 20px 16px 48px;
}

.cmg-hero {
  text-align: center;
  margin: 8px 0 20px;
}

.cmg-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.9;
}

.cmg-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.85rem, 6vw, 2.35rem);
  color: var(--green-dark);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cmg-sub {
  margin: 0 auto 14px;
  max-width: 340px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.cmg-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.cmg-trust-row span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-dark);
  background: rgba(46, 90, 46, 0.1);
  border-radius: 999px;
  padding: 6px 10px;
}

.cmg-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 16px 48px rgba(30, 61, 30, 0.1);
  border: 1px solid rgba(46, 90, 46, 0.1);
  padding: 22px 18px 18px;
}

.cmg-progress {
  height: 6px;
  background: #e8eee8;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}

.cmg-progress-bar {
  height: 100%;
  width: 8%;
  background: linear-gradient(90deg, var(--green), #3d7a3d);
  border-radius: 999px;
  transition: width 0.28s ease;
}

.cmg-step-label {
  margin: 0 0 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #888;
}

.cmg-step h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  color: var(--green-dark);
  line-height: 1.25;
}

.cmg-hint {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.cmg-choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cmg-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 14px 14px;
  border-radius: 16px;
  border: 2px solid #e6ebe6;
  background: #fafcfb;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}

.cmg-choice:hover {
  border-color: #c5d6c5;
  background: #fff;
}

.cmg-choice:active {
  transform: scale(0.99);
}

.cmg-choice.selected {
  border-color: var(--green);
  background: #f0f7f0;
  box-shadow: 0 0 0 1px var(--green);
}

.cmg-choice-icon {
  font-size: 1.45rem;
  width: 2rem;
  text-align: center;
  flex-shrink: 0;
}

.cmg-choice-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cmg-choice-text strong {
  color: var(--green-dark);
  font-size: 1rem;
}

.cmg-choice-text span {
  color: var(--muted);
  font-size: 0.85rem;
}

.cmg-label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--green-dark);
  margin: 0 0 6px;
}

.cmg-optional {
  font-weight: 500;
  color: #999;
}

.cmg-input {
  width: 100%;
  border: 1.5px solid #d8e0d8;
  border-radius: 12px;
  padding: 14px 14px;
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 14px;
  background: #fff;
  color: var(--ink);
}

.cmg-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46, 90, 46, 0.15);
}

.cmg-textarea {
  resize: vertical;
  min-height: 88px;
}

.cmg-hint-tight {
  margin-top: -8px;
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.cmg-photo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.cmg-photo-add {
  cursor: pointer;
  flex-shrink: 0;
}

.cmg-photo-add-inner {
  width: 96px;
  height: 96px;
  border-radius: 14px;
  border: 2px dashed #c5d4c5;
  background: #f7faf7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.cmg-photo-plus {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--green);
  font-weight: 500;
}

.cmg-photo-previews {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cmg-photo-thumb {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d8e0d8;
  background: #eee;
}

.cmg-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cmg-photo-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.cmg-photo-status {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: #666;
}

.cmg-ballpark {
  margin: 4px 0 0;
  padding: 12px 14px;
  background: #f4f7f4;
  border-radius: 12px;
  font-size: 0.88rem;
  color: #444;
  line-height: 1.45;
}

.cmg-summary {
  background: #f4f7f4;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 4px 0 14px;
  font-size: 0.9rem;
  color: #333;
}

.cmg-summary-title {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--green-dark);
  font-size: 0.85rem;
}

.cmg-summary ul {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.55;
}

.cmg-stripe-note {
  margin: 0 0 4px;
  font-size: 0.8rem;
  color: #777;
  line-height: 1.4;
}

.cmg-nav {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  align-items: stretch;
}

.cmg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 14px 18px;
  transition: opacity 0.15s ease, transform 0.12s ease, background 0.15s ease;
}

.cmg-btn:active {
  transform: scale(0.98);
}

.cmg-btn-primary {
  flex: 1;
  background: var(--green);
  color: #fff;
}

.cmg-btn-primary:disabled,
.cmg-btn-primary.cmg-busy {
  opacity: 0.55;
  cursor: not-allowed;
}

.cmg-btn-ghost {
  background: #eef2ee;
  color: var(--green-dark);
  border: 1px solid #d5ded5;
}

.cmg-btn-link {
  background: transparent;
  color: var(--green);
  font-weight: 600;
  font-size: 0.95rem;
}

.cmg-error {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fdecea;
  color: #8a1f11;
  font-size: 0.9rem;
  line-height: 1.4;
}

.cmg-success {
  text-align: center;
  padding: 12px 4px 8px;
}

.cmg-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34a853, var(--green));
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(46, 90, 46, 0.28);
}

.cmg-done-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.cmg-alt {
  text-align: center;
  margin: 22px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.cmg-alt a {
  font-weight: 600;
}

.cmg-footer-tag {
  margin: 10px 0 0;
  font-size: 0.8rem;
  color: #a8c4a8;
  text-align: center;
}

@media (min-width: 520px) {
  .cmg-card {
    padding: 28px 26px 22px;
  }

  .cmg-shell {
    padding-top: 28px;
  }
}
