:root {
  --green: #5fa80a;
  --green-dark: #457c0b;
  --black: #141414;
  --white: #ffffff;
  --gray-bg: #f6f8f3;
  --gray-line: #e1e6da;
  --text: #232323;
  --radius: 10px;
  --shadow: 0 6px 20px rgba(20, 20, 20, 0.1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 1140px;
  margin: 0 auto;
  gap: 12px;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: 48px; width: auto; }

nav.main-nav {
  display: flex;
  gap: 26px;
  font-weight: 600;
  font-size: 15px;
}

nav.main-nav a {
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

nav.main-nav a:hover,
nav.main-nav a.active {
  border-bottom-color: var(--green);
}

.call-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.call-now-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.call-now-btn:hover { background: var(--green-dark); }

.call-number { }

@media (max-width: 640px) {
  .call-number { display: none; }
  nav.main-nav { gap: 14px; font-size: 13px; }
  .call-now-btn { padding: 10px 14px; }
}

@media (max-width: 460px) {
  .header-inner { flex-wrap: wrap; justify-content: center; padding: 10px 12px; }
  .logo-link img { height: 38px; }
  nav.main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,15,5,0.55), rgba(10,15,5,0.72));
}

.hero-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.hero-content h1 {
  font-size: clamp(38px, 7vw, 64px);
  font-weight: 800;
}

.hero-content .tagline {
  font-size: 23px;
  margin-bottom: 22px;
  color: #eafbe0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.btn:hover { background: #35600c; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Sections */
section { padding: 64px 0; }
.section-alt { background: var(--gray-bg); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(26px, 4vw, 34px); }
.section-head p { color: #555; }

.eyebrow {
  display: inline-block;
  color: var(--green-dark);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 10px;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-line);
}

.service-card img { height: 190px; width: 100%; object-fit: cover; }
.service-card .service-body { padding: 22px; }
.service-card h3 { font-size: 20px; }
.service-card p { color: #555; font-size: 15px; margin-bottom: 0; }

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}

.two-col img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1 / 1; width: 100%; object-fit: cover; }

.check-list { list-style: none; padding: 0; margin: 18px 0; }
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  font-weight: 600;
}
.check-list li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--green); margin-top: 2px; }

/* Before/after */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.ba-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ba-item img { width: 100%; height: 260px; object-fit: cover; }
.ba-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 999px;
}

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

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.gallery-grid img { height: 170px; width: 100%; object-fit: cover; border-radius: 8px; }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* Gallery filters */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.gallery-filter-btn {
  background: var(--white);
  border: 2px solid var(--gray-line);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
}
.gallery-filter-btn:hover { border-color: var(--green); }
.gallery-filter-btn.active {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
}

/* Filterable gallery grid */
.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 760px) { .filter-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: block;
}
.gallery-item img {
  height: 190px;
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.is-hidden { display: none; }
.gallery-item .gallery-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 999px;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 8, 0.9);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover { background: rgba(255,255,255,0.28); }
.lightbox-close svg { width: 22px; height: 22px; }

/* Reviews */
.reviews-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.stars { color: #f5a623; font-size: 22px; letter-spacing: 2px; }

.review-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.review-card .stars { font-size: 16px; margin-bottom: 8px; justify-content: flex-start; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

.review-placeholder {
  border: 2px dashed var(--gray-line);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  color: #777;
  background: var(--gray-bg);
}

/* CTA band */
.cta-band {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #f2fbe6; }
.cta-band .btn { background: var(--black); }
.cta-band .btn:hover { background: #2b2b2b; }

/* Forms */
.lead-form { display: grid; gap: 16px; }
.lead-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 14px;
}
.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
}
.lead-form textarea { min-height: 110px; resize: vertical; }
.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--green);
}

.form-error {
  background: #fdecea;
  color: #a12922;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}
.form-error.show { display: block; }

.form-success {
  text-align: center;
  padding: 30px 20px;
  background: var(--gray-bg);
  border-radius: var(--radius);
}
.form-success h2, .form-success h3 { color: var(--green-dark); font-size: 20px; }
.form-success .call-fallback { margin-top: 14px; font-weight: 600; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 26px;
}
.contact-info-card h2, .contact-info-card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--green-dark); margin-bottom: 4px; }
.contact-info-card .info-row { margin-bottom: 22px; }
.contact-info-card .info-row a { font-size: 18px; font-weight: 700; }

/* Footer */
footer.site-footer {
  background: var(--black);
  color: #d8d8d8;
  padding: 40px 0 20px;
  font-size: 14px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-inner h3 { color: var(--white); margin-bottom: 10px; font-size: 16px; }
.footer-inner a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.built-by { color: var(--white); text-align: right; }
.built-by a { text-decoration: underline; color: var(--white); }

/* Chatbot */
.chat-toggle-wrap {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 64px;
  height: 64px;
  z-index: 200;
}
.chat-toggle {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  border: 3px solid var(--green);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}
.chat-toggle-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.chat-toggle-close {
  display: none;
  width: 26px;
  height: 26px;
}
.chat-status-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 16px;
  height: 16px;
  background: var(--green);
  border: 2px solid var(--white);
  border-radius: 50%;
  z-index: 201;
}
.chat-toggle.open ~ .chat-status-dot { display: none; }
.chat-toggle.open .chat-toggle-avatar { display: none; }
.chat-toggle.open .chat-toggle-close { display: block; }

.chat-panel {
  position: fixed;
  bottom: 96px;
  right: 22px;
  width: 340px;
  max-width: calc(100vw - 32px);
  max-height: 70vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
  z-index: 200;
  display: none;
  border: 1px solid var(--gray-line);
}
.chat-panel.open { display: block; }

.chat-panel-header {
  background: var(--black);
  color: var(--white);
  padding: 16px 20px;
  border-radius: 14px 14px 0 0;
}
.chat-panel-header h4 { margin: 0; font-size: 16px; }
.chat-panel-header p { margin: 4px 0 0; font-size: 13px; color: #ccc; }
.chat-panel-body { padding: 18px 20px; }
.chat-panel-body .lead-form input,
.chat-panel-body .lead-form textarea { font-size: 16px; }
