:root {
  --gold: #f4b72d;
  --green: #7fa33f;
  --olive: #31461f;
  --ink: #121716;
  --charcoal: #171c1b;
  --paper: #fbfaf6;
  --muted: #5b625d;
  --line: rgba(255, 255, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

main,
section {
  max-width: 100%;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  gap: 28px;
  padding: 22px clamp(28px, 5vw, 72px);
  color: white;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: white;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 210px;
  height: 68px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.45));
}

.brand span {
  display: none;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

nav a {
  position: relative;
  padding: 10px 0;
  color: white;
  text-decoration: none;
}

nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--gold);
  content: "";
  opacity: 0;
}

nav a:hover::after,
nav a[aria-current="page"]::after {
  opacity: 1;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.estimate-note {
  color: white;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.38);
}

.header-call {
  justify-self: end;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border-radius: 5px;
  background: var(--gold);
  color: #221905;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  border: 0;
  font-family: inherit;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button.compact {
  min-height: 44px;
  padding: 0 22px;
  font-size: 13px;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--gold);
  color: #221905;
}

.button.secondary,
.button.dark {
  border-color: var(--gold);
  background: rgba(0, 0, 0, 0.22);
  color: white;
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 140px clamp(32px, 7vw, 100px) 92px;
  color: white;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.64) 0%, rgba(0, 0, 0, 0.45) 34%, rgba(0, 0, 0, 0.08) 72%),
    url("assets/luxury-estate-hero.png") center / cover;
}

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

.trust-line {
  margin: 0 0 20px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(46px, 5.4vw, 68px);
  line-height: 1.06;
  letter-spacing: 0;
}

.hero h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 950;
  line-height: 1.08;
  text-transform: uppercase;
}

.hero-copy > p:not(.trust-line) {
  max-width: 520px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.mobile-hero-actions {
  display: none;
}

.hero-photo {
  display: none;
}

.proof-strip {
  display: none;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(46px, 7vw, 96px);
  align-items: center;
  padding: 74px clamp(34px, 7vw, 104px);
  background: #fbfaf6;
}

.about-copy {
  max-width: 560px;
}

.about-copy h1,
.about-copy h2 {
  margin-bottom: 22px;
  color: #202625;
  font-size: clamp(34px, 3.3vw, 44px);
  line-height: 1.15;
}

.about-copy h1::after,
.about-copy h2::after {
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 20px;
  background: var(--gold);
  content: "";
}

.about-copy p {
  color: #303735;
  font-size: 16px;
}

.about-media {
  min-height: 300px;
  overflow: hidden;
  border-radius: 4px;
  background:
    url("assets/about-sunny-day-lawnscape.jpg") center / cover;
}

.about-media img {
  display: none;
}

.gallery-section {
  padding: 66px 16px 70px;
  background: #181d1c;
  color: white;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading .trust-line {
  margin-bottom: 12px;
}

.section-heading h2,
.services-section > h2 {
  margin-bottom: 12px;
  color: white;
  font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1.12;
}

.section-heading h2::after {
  display: block;
  width: 48px;
  height: 3px;
  margin: 20px auto 0;
  background: var(--gold);
  content: "";
}

.section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  max-width: 1440px;
  margin: 0 auto;
}

.tile {
  position: relative;
  min-height: 315px;
  overflow: hidden;
  margin: 0;
  background: #27302c;
}

.tile.large,
.tile.wide {
  grid-row: auto;
  grid-column: auto;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.tile img.position-top {
  object-position: center top;
}

.tile:hover img {
  transform: scale(1.035);
}

figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 10px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.55);
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.services-section {
  display: none;
}

.cta-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  justify-items: center;
  padding: 36px clamp(34px, 7vw, 104px);
  background:
    linear-gradient(90deg, rgba(45, 65, 28, 0.96), rgba(45, 65, 28, 0.9)),
    url("assets/waterfront-pool-landscape-irrigation.jpg") center / cover;
  color: white;
  text-align: center;
}

.cta-section h2 {
  max-width: 820px;
  margin-bottom: 10px;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.14;
}

.cta-section h2::after {
  display: block;
  width: 48px;
  height: 3px;
  margin: 14px auto 0;
  background: var(--gold);
  content: "";
}

.cta-section p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}

.cta-section .contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

footer {
  padding: 16px clamp(20px, 5vw, 64px);
  background: #151918;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  text-align: center;
}

footer p {
  margin: 0;
  line-height: 1.5;
}

footer a {
  color: white;
  font-weight: 800;
  text-decoration-color: rgba(244, 183, 45, 0.72);
  text-underline-offset: 4px;
}

.page-main {
  padding-top: 0;
}

.page-hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  padding: 140px clamp(32px, 7vw, 100px) 82px;
  color: white;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.08)),
    url("assets/luxury-estate-hero.png") center / cover;
}

.page-hero h1 {
  max-width: 760px;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 950;
  text-transform: uppercase;
}

.page-hero p {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.about-page {
  min-height: 720px;
  padding-top: 150px;
}

.about-page .about-media {
  background: #d9d8cf;
}

.about-page .about-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }

  .brand img {
    width: 150px;
  }

  nav {
    gap: 18px;
    font-size: 12px;
  }

  .hero,
  .page-hero {
    min-height: 680px;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy,
  .about-copy,
  .page-hero > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 7vw, 48px);
    overflow-wrap: break-word;
  }

  .about-section,
  .cta-section,
  footer {
    grid-template-columns: 1fr;
  }

  .about-copy h1,
  .about-copy h2 {
    max-width: 100%;
    overflow-wrap: break-word;
  }

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

@media (max-width: 680px) {
  .site-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    background: rgba(0, 0, 0, 0.78);
  }

  .brand img {
    width: 90px;
    height: 42px;
  }

  nav {
    display: none;
  }

  .header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
  }

  .estimate-note {
    font-size: 12px;
    line-height: 1;
    text-align: right;
    white-space: nowrap;
  }

  .header-call {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
    flex: 0 0 auto;
  }

  .call-long {
    display: none;
  }

  .call-short {
    display: inline;
  }

  .hero,
  .page-hero {
    min-height: 650px;
    padding: 112px 20px 52px;
  }

  .hero-copy,
  .about-copy,
  .page-hero > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.8vw, 34px);
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .about-copy h1,
  .about-copy h2,
  .section-heading h2,
  .services-section > h2,
  .cta-section h2 {
    max-width: 100%;
    font-size: clamp(28px, 8vw, 32px);
    line-height: 1.18;
    overflow-wrap: break-word;
  }

  .hero-copy > p:not(.trust-line) {
    max-width: 100%;
    font-size: 17px;
  }

  .mobile-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 280px;
    margin-top: 22px;
  }

  .hero-actions .button,
  .cta-section .button {
    width: 100%;
  }

  .about-section,
  .gallery-section,
  .cta-section,
  footer {
    padding-inline: 20px;
  }

  .cta-section {
    padding-block: 30px;
  }

  .about-section {
    gap: 28px;
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .tile {
    min-height: 280px;
  }

  .cta-section .contact-actions {
    grid-template-columns: 1fr;
  }

}

@media (min-width: 681px) {
  .call-short {
    display: none;
  }
}
