/* ---------- Base ---------- */
:root {
  --green: #16a34a;
  --green-dark: #0b6b33;
  --text: #0f172a;
  --muted: #475569;
  --white: #ffffff;

  --container: 1200px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #fff;
}

a { color: inherit; text-decoration: none; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #e5e7eb;
}

/* Sticky header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.site-header{
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  background: var(--white);
}

body{
  padding-top: 10px; /* match your header height */
}
/* Keep header always visible and allow it to be taller than one row
.site-header{
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  background: var(--white);
  overflow: visible; /* important: prevents clipping */
}

/* Your existing nav row can still be 76px */
.nav{
  height: 76px;
}

/* Second row (service area) styling */
.service-area{
  background: #f8fafc;
  border-top: 1px solid #eef2f7;
  border-bottom: 1px solid #eef2f7;
}

.service-area-inner{
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-area-phones a{
  font-weight: 600;
  color: #334155;
}

/* Push page content down so it doesn't hide behind fixed header */
/* ---------- Header space at top ---------- 
body{
  padding-top: 0px; /* 76 + ~44 
}

/* Make sure the logo is visible and sized */
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo{
 
  width: auto;
  display: block;
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-name {
  font-weight: 700;
  font-size: 22px;
  color: var(--green);
  letter-spacing: 0.2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 16px;
  color: #334155;
}

.nav-link.is-active {
  color: var(--green);
  font-weight: 600;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  padding: 12px 20px;
}

.btn-outline {
  background: transparent;
  border: 2px solid #cbd5e1;
  color: #0f172a;
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-weight: 600;
}

.phone-icon {
  font-size: 18px;
  line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Optional photo layer (safe if hero.jpg doesn’t exist) */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  opacity: 0.12;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(10, 145, 60, 0.92) 0%,
      rgba(10, 145, 60, 0.78) 55%,
      rgba(10, 145, 60, 0.55) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 64px 24px;
  color: rgba(255, 255, 255, 0.96);
  text-align: center;
}

.hero-eyebrow {
  margin: 0 0 18px;
  font-size: 16px;
  opacity: 0.92;
}

.hero-title {
  margin: 0 auto 24px;
  max-width: 820px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.25;
}

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

.btn-light {
  background: #ffffff;
  color: var(--green-dark);
  border: 1px solid rgba(255, 255, 255, 0.85);
  min-width: 220px;
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  min-width: 200px;
}

/* ---------- Services ---------- */
.services {
  padding: 5rem 0;
  background-color: #f9fafb;
}

.services-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.services-subtitle {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
  color: #6b7280;
  line-height: 1.5;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(0);
  transition: transform 200ms ease, box-shadow 200ms ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* important: prevents weird corner artifacts */
.service-card::before,
.service-card::after { content: none !important; }

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform 240ms ease;
}

.service-card:hover img {
  transform: scale(1.03);
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.service-content p {
  margin: 0;
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.4;
}

/* ---------- About ---------- */
.about {
  padding: 5rem 0;
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}

.about-title {
  margin: 0 0 18px;
  font-size: 1.9rem;
}

.about-copy p {
  margin: 0 0 18px;
  color: #475569;
  line-height: 1.65;
}

.about-checks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
}

.about-checks li {
  display: flex;
  gap: 10px;
  color: #334155;
}

.check {
  display: inline-flex;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(22, 163, 74, 0.12);
  color: var(--green);
  font-weight: 800;
  flex: 0 0 auto;
}

.about-media {
  position: relative;
}

.about-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.about-photo img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.about-badge {
  position: absolute;
  right: 18px;
  bottom: -18px;
  background: var(--green);
  color: white;
  border-radius: 14px;
  padding: 18px 18px;
  width: 190px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.18);
  text-align: center;
}

.badge-big {
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
}

.badge-small {
  margin-top: 8px;
  font-size: 14px;
  opacity: 0.95;
}

/* ---------- Testimonials ---------- */
.testimonials {
  padding: 5.5rem 0;
  background: #f9fafb;
}

.testimonials-title {
  text-align: center;
  font-size: 2rem;
  margin: 0 0 0.75rem;
}

.testimonials-subtitle {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
  color: #64748b;
  line-height: 1.6;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.review-card {
  background: white;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  padding: 22px 22px;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

/* prevents the “gray corner” hover artifact */
.review-card::before,
.review-card::after { content: none !important; }

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.stars {
  color: #f5b301;
  font-size: 20px;
  letter-spacing: 2px;
  line-height: 1;
}

.quote {
  color: rgba(34, 197, 94, 0.35);
  font-size: 38px;
  line-height: 1;
  font-weight: 800;
}

.review-text {
  margin: 0;
  color: #475569;
  font-style: italic;
  line-height: 1.7;
  min-height: 210px;
}

.review-divider {
  height: 1px;
  background: #eef2f7;
  margin: 18px 0 14px;
}

.review-meta {
  display: grid;
  gap: 6px;
}

.review-name {
  font-weight: 700;
  color: #0f172a;
}

.review-date {
  color: #94a3b8;
  font-size: 13px;
}

/* ---------- Contact (simple) ---------- */
.contact {
  padding: 5rem 0;
  background: #ffffff;
  border-top: 1px solid #eef2f7;
}

.contact-inner {
  text-align: center;
}

.contact-title {
  margin: 0 0 10px;
  font-size: 2rem;
}

.contact-subtitle {
  margin: 0 auto 22px;
  max-width: 640px;
  color: #64748b;
}

.contact-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .nav-links { display: none; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo img { height: 380px; }
  .about-badge { position: static; margin-top: 14px; width: 100%; }
}

@media (max-width: 640px) {
  .nav { height: auto; padding: 14px 0; flex-wrap: wrap; }
  .nav-cta { width: 100%; justify-content: flex-start; }

  .hero-inner { padding: 56px 18px; }
  .hero-title { font-size: 30px; }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .btn-light, .btn-outline-light { min-width: 100%; }
  .about-checks { grid-template-columns: 1fr; }
}
/* ---------- Backflow Page ---------- */
.page-hero {
  position: relative;
  padding: 5.5rem 0 4.25rem;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(255,255,255,0.18), rgba(255,255,255,0) 60%),
    radial-gradient(900px 500px at 85% 20%, rgba(255,255,255,0.14), rgba(255,255,255,0) 55%),
    linear-gradient(120deg, rgba(11,107,51,1) 0%, rgba(22,163,74,1) 45%, rgba(10,145,60,1) 100%);
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.20) 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.96);
  text-align: left;
}

.page-hero-eyebrow {
  margin: 0 0 14px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.92;
}

.page-hero-title {
  margin: 0 0 12px;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 800;
  max-width: 820px;
}

.page-hero-subtitle {
  margin: 0 0 22px;
  max-width: 720px;
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
  font-size: 18px;
}

.page-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.page-hero-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.95);
  font-weight: 600;
  font-size: 14px;
}

.bf-section {
  padding: 5rem 0;
}

.bf-section--white {
  background: #ffffff;
}

.bf-section--gray {
  background: #f9fafb;
}

.bf-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.25rem;
  align-items: start;
}

.bf-title {
  margin: 0 0 14px;
  font-size: 2rem;
}

.bf-title-center {
  text-align: center;
}

.bf-subtitle {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.75rem;
  color: #64748b;
  line-height: 1.6;
}

.bf-text {
  margin: 0 0 14px;
  color: #475569;
  line-height: 1.75;
}

.bf-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  padding: 22px;
  border: 1px solid #eef2f7;
}

.bf-card--soft {
  background: #f9fafb;
}

.bf-card-title {
  margin: 0 0 12px;
  font-size: 18px;
}

.bf-list {
  margin: 0;
  padding-left: 18px;
  color: #475569;
  line-height: 1.7;
}

.bf-note {
  margin-top: 16px;
  padding: 14px 14px;
  border-radius: 12px;
  background: rgba(22, 163, 74, 0.08);
  border: 1px solid rgba(22, 163, 74, 0.16);
  color: #334155;
  line-height: 1.6;
}

.bf-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 0;
}

.bf-mini-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  padding: 18px 18px;
  border: 1px solid #eef2f7;
}

.bf-mini-title {
  font-weight: 800;
  margin: 0 0 8px;
  color: #0f172a;
}

.bf-mini-text {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
  font-size: 14px;
}

.bf-cta {
  padding: 3.75rem 0;
  background: #ffffff;
  border-top: 1px solid #eef2f7;
}

.bf-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.bf-cta-title {
  margin: 0 0 8px;
  font-size: 1.9rem;
}

.bf-cta-text {
  margin: 0;
  color: #64748b;
}

.bf-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Responsive */
@media (max-width: 980px) {
  .bf-grid { grid-template-columns: 1fr; }
  .bf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero-inner { text-align: center; }
  .page-hero-actions { justify-content: center; }
  .page-hero-badges { justify-content: center; }
  .bf-cta-inner { flex-direction: column; text-align: center; }
  .bf-cta-actions { justify-content: center; }
}

@media (max-width: 640px) {
  .page-hero-title { font-size: 34px; }
  .bf-cards { grid-template-columns: 1fr; }
}
/* ---------- Header additions (logo + service area + second phone) ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 38px;
  width: auto;
}

.phone-group {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #334155;
}

.phone-divider {
  color: #94a3b8;
}

.phone:hover {
  color: var(--green);
}

.service-area {
  text-align: center;
  font-size: 15px;
  padding: 8px 12px;
  background: linear-gradient(
    90deg,
    rgba(22, 163, 74, 0.08),
    rgba(22, 163, 74, 0.02)
  );
  color: var(--green-dark);
  font-weight: 500;
  letter-spacing: 0.2px;
}
.service-area-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.service-area-phones {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.service-area-phones a {
  color: var(--green-dark);
  font-weight: 600;
}

.service-area-phones span {
  color: #94a3b8;
}

/* On small screens, stack nicely */
@media (max-width: 760px) {
  .service-area-inner {
    flex-direction: column;
    justify-content: center;
  }
