:root {
  --green: #062f23;
  --green-2: #0b4635;
  --olive: #6f7336;
  --cream: #f8f4e8;
  --tan: #e6d7b6;
  --white: #ffffff;
  --dark: #111111;
  --muted: #666666;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.13);
  --radius: 26px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, "Times New Roman", serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
  padding-bottom: 78px;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button { cursor: pointer; }

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.section { padding: 92px 0; }

.center { text-align: center; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--green);
  color: white;
  padding: 10px 14px;
  z-index: 9999;
}

.skip-link:focus { left: 10px; }

.eyebrow {
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 900;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  color: var(--green);
  line-height: 1.02;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 6.9rem);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.35rem);
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}

h3 { font-size: 1.35rem; }

p { font-size: 1.08rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 244, 232, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(6, 47, 35, 0.1);
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img { width: 156px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 900;
  color: var(--green);
}

.nav-links a,
.nav-links button {
  text-decoration: none;
  color: var(--green);
}

.nav-cta {
  background: var(--green);
  color: white !important;
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
  font-weight: 900;
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--green);
  color: white;
  font-size: 1.35rem;
  border-radius: 12px;
  padding: 9px 13px;
}

.hero {
  padding: 72px 0 68px;
  background:
    radial-gradient(circle at top right, rgba(111, 115, 54, 0.25), transparent 34%),
    linear-gradient(135deg, #fbf8ee, #eadcb9);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 52px;
}

.hero-subtitle {
  color: var(--olive);
  font-weight: 900;
  font-size: clamp(1.35rem, 3vw, 2rem);
  margin: 18px 0 12px;
}

.hero-text { max-width: 620px; }

.rating-pill {
  display: inline-flex;
  margin-top: 22px;
  background: white;
  color: var(--green);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  min-height: 54px;
  padding: 15px 24px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  transition: 0.2s ease;
}

.btn:hover,
.text-button:hover {
  transform: translateY(-2px);
}

.primary {
  background: var(--green);
  color: white;
}

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

.hero-media { position: relative; }

.hero-media::before {
  content: "";
  position: absolute;
  inset: 28px -18px -18px 28px;
  background: var(--green);
  border-radius: var(--radius);
}

.hero-media img {
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.trust-strip {
  background: var(--green);
  color: white;
  padding: 20px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 16px;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 62px;
  align-items: center;
}

.large-copy p {
  font-size: 1.24rem;
  margin-bottom: 18px;
}

.services,
.family-section,
.areas {
  background: white;
}

.service-grid,
.project-grid,
.review-grid {
  margin-top: 44px;
  display: grid;
  gap: 22px;
}

.service-grid { grid-template-columns: repeat(3, 1fr); }

.service-card,
.review-card,
.estimate-card,
.referral-card {
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.service-card {
  background: var(--cream);
  padding: 34px;
  border: 1px solid rgba(6, 47, 35, 0.1);
}

.service-card span {
  display: inline-block;
  color: var(--olive);
  font-weight: 900;
  margin-bottom: 18px;
}

.service-card h3 { margin-bottom: 12px; }

.charleston {
  background: linear-gradient(135deg, var(--cream), #eadbb6);
}

.rounded-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.text-button {
  margin-top: 20px;
  background: none;
  border: 0;
  color: var(--green);
  font-weight: 900;
  border-bottom: 2px solid var(--green);
  padding-bottom: 4px;
}

.project-grid { grid-template-columns: repeat(4, 1fr); }

.project-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.project-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #ddd;
}

.project-card div { padding: 22px; }

.project-card p { color: var(--muted); }

.promise { background: var(--green); }

.promise-box {
  background:
    linear-gradient(rgba(6, 47, 35, 0.88), rgba(6, 47, 35, 0.88)),
    url("2ab8a78457e7a665496a45625c989c24811716d999f1f6ec8634f5d4a6671147.png");
  background-size: cover;
  background-position: center;
  border-radius: 34px;
  padding: 76px;
  text-align: center;
  color: white;
}

.promise-box h2,
.promise-box .eyebrow {
  color: white;
}

.promise-box p { font-size: 1.35rem; }

.review-grid { grid-template-columns: repeat(3, 1fr); }

.review-card {
  background: white;
  padding: 34px;
}

.stars {
  color: #c89b2c;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.review-card p { margin-bottom: 18px; }

.area-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.area-grid span {
  background: var(--cream);
  border-radius: 999px;
  padding: 14px 18px;
  text-align: center;
  font-weight: 900;
  color: var(--green);
}

.referral { background: var(--cream); }

.referral-card {
  background: var(--green);
  color: white;
  padding: 42px;
}

.referral-card h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 16px;
}

.light-btn {
  background: white;
  color: var(--green);
  margin-top: 20px;
}

.estimate {
  background:
    linear-gradient(rgba(248, 244, 232, 0.94), rgba(248, 244, 232, 0.94)),
    url("Fence2345234.avif");
  background-size: cover;
  background-position: center;
}

.phone-number {
  display: inline-block;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--green);
  text-decoration: none;
  margin-top: 18px;
}

.estimate-card {
  background: white;
  padding: 38px;
}

.estimate-card h3 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.full-btn {
  width: 100%;
  margin-top: 22px;
}

.small-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 12px;
}

.site-footer {
  background: var(--green);
  color: white;
  padding: 44px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 180px 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.site-footer img {
  background: white;
  border-radius: 14px;
  padding: 12px;
}

.site-footer h3 { color: white; }

.site-footer a {
  color: white;
  text-decoration: none;
}

.footer-phone {
  font-size: 1.6rem;
  font-weight: 900;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.social-links a {
  background: white;
  color: var(--green);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
}

.floating-cta {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  gap: 10px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  padding: 8px;
  border-radius: 999px;
  box-shadow: 0 14px 35px rgba(0,0,0,0.22);
}

.floating-cta a,
.floating-cta button {
  min-width: 132px;
  min-height: 48px;
  border-radius: 999px;
  border: 0;
  font-weight: 900;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-cta a {
  background: white;
  color: var(--green);
}

.floating-cta button {
  background: var(--green);
  color: white;
}

@media (max-width: 1080px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-content { text-align: center; }

  .hero-text { margin: 0 auto; }

  .hero-buttons { justify-content: center; }

  .service-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .site-footer img {
    max-width: 190px;
    margin: 0 auto;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }

  .nav { min-height: 74px; }

  .brand img { width: 128px; }

  .menu-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 4%;
    right: 4%;
    display: none;
    flex-direction: column;
    gap: 0;
    background: white;
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }

  .nav-links.open { display: flex; }

  .nav-links a,
  .nav-links button {
    width: 100%;
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid rgba(6, 47, 35, 0.08);
    background: white;
  }

  .nav-links .nav-cta {
    background: var(--green);
    color: white !important;
    border-radius: 0;
  }

  h1 { font-size: clamp(3rem, 15vw, 4.75rem); }

  h2 { font-size: clamp(2.1rem, 10vw, 3.2rem); }

  .hero { padding: 42px 0 54px; }

  .hero-media::before { display: none; }

  .hero-media img { border-radius: 18px; }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    min-height: 56px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    font-size: 0.9rem;
  }

  .service-grid,
  .project-grid,
  .review-grid,
  .area-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .review-card,
  .estimate-card,
  .referral-card {
    padding: 26px;
  }

  .promise-box {
    padding: 46px 24px;
    border-radius: 24px;
  }

  .floating-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    transform: none;
    width: auto;
  }

  .floating-cta a,
  .floating-cta button {
    flex: 1;
    min-width: 0;
  }
}
