:root {
  --green-900: #1f3a2c;
  --green-700: #2f5a43;
  --brown-700: #6b4f3b;
  --stone-100: #f5f2ec;
  --stone-300: #d9d2c8;
  --slate-900: #202425;
  --slate-700: #4c5659;
  --white: #ffffff;
  --accent: #c8a97e;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(20, 24, 22, 0.08);
  --max-width: 1120px;
  --hero-overlay-start: rgba(24, 24, 24, 0.48);
  --hero-overlay-end: rgba(66, 72, 74, 0.34);
  --site-chrome-height: 118px;
  --hero-trust-height: 66px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--slate-900);
  line-height: 1.65;
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 4rem 0;
}

.section-muted {
  background: var(--stone-100);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

p {
  margin-top: 0;
}

.lead {
  color: var(--slate-700);
  font-size: 1.05rem;
}

.topbar {
  background: var(--green-900);
  color: var(--white);
  font-size: 0.92rem;
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding: 0.6rem 0;
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e9e9e9;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 96px;
  padding: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 100%;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--green-900);
}

.brand-logo {
  height: 52px;
  width: auto;
  border-radius: 0;
}

.brand-logo-standalone {
  height: 80%;
  width: auto;
  border-radius: 0;
}

.brand-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-900);
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  font-weight: 500;
}

.nav-toggle {
  display: none;
  border: 1px solid #ccd1d1;
  background: var(--white);
  color: var(--green-900);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
  cursor: pointer;
}

.services-menu {
  position: relative;
}

.services-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 500;
}

.services-trigger::after {
  content: "▾";
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.services-menu.is-open .services-trigger::after {
  transform: rotate(180deg);
}

.services-dropdown {
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid #dce2dd;
  border-radius: 12px;
  box-shadow: 0 14px 32px rgba(20, 24, 22, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 50;
}

.services-dropdown a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
}

.services-dropdown a:hover {
  background: var(--stone-100);
  color: var(--green-700);
}

.services-menu:hover .services-dropdown,
.services-menu:focus-within .services-dropdown,
.services-menu.is-open .services-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn {
  display: inline-block;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #f15a24;
  color: var(--white);
}

.btn-primary:hover {
  background: #d44e1f;
}

.btn-outline {
  border-color: var(--green-700);
  color: var(--green-700);
}

.btn-outline:hover {
  background: var(--green-700);
  color: var(--white);
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.hero .btn-outline:hover {
  background: var(--white);
  color: var(--green-900);
}

.hero {
  position: relative;
  color: var(--white);
  background: #18201b;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, var(--hero-overlay-start), var(--hero-overlay-end));
  z-index: 1;
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-track {
  display: flex;
  width: 200%;
  height: 100%;
  transform: translateX(0);
  will-change: transform;
}

.hero-track.is-animating {
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateX(-50%);
}

.hero-panel {
  flex: 0 0 50%;
  height: 100%;
  overflow: hidden;
}

.hero-panel-img {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero-track.is-animating .hero-panel-img {
  transform: scale(1);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  min-height: calc(100svh - var(--site-chrome-height) - var(--hero-trust-height));
  padding: 4.2rem 0;
}

.hero p {
  max-width: 65ch;
}

.nav-facebook-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1877f2;
  color: var(--white);
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.nav-facebook-icon:hover {
  background: #165ec4;
  transform: scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
  .hero-track,
  .hero-track.is-animating,
  .hero-panel-img,
  .hero-track.is-animating .hero-panel-img {
    transition: none;
    transform: none;
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

body[data-page="testimonials"] .cards {
  grid-template-columns: 1fr;
}

body[data-page="testimonials"] .card {
  box-shadow: 0 12px 32px rgba(47, 90, 67, 0.16);
  border: 1px solid rgba(47, 90, 67, 0.12);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.section-muted {
  background: linear-gradient(180deg, #f8f4ec 0%, #f2ede6 100%);
}

.section-muted .cards {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: stretch;
  margin-top: 1.5rem;
}

.section-muted .card {
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(31, 58, 44, 0.08);
  border-left: 4px solid var(--green-700);
  padding: 1.4rem 1.5rem;
  background: var(--white);
  border-radius: calc(var(--radius) + 4px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
  min-height: 220px;
}

@media (max-width: 760px) {
  .section-muted .cards {
    grid-template-columns: 1fr;
  }

  .section-muted .card {
    min-height: auto;
    padding: 1.2rem 1.25rem;
  }

  .section-muted .card h3 {
    padding-left: 1.2rem;
  }
}

.section-muted .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(20, 24, 22, 0.14);
  border-color: var(--green-700);
  background: #fcfbf8;
}

.section-muted .card h3 {
  margin-bottom: 0.85rem;
  font-size: 1.08rem;
  position: relative;
  padding-left: 1.5rem;
}

.section-muted .card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green-700);
  box-shadow: 0 0 0 4px rgba(47, 90, 67, 0.18);
}

.section-muted .card p {
  color: var(--slate-700);
  margin: 0;
  line-height: 1.7;
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.split {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.6rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green-700);
  font-weight: 700;
}

.testimonial {
  border-left: 4px solid var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #e8ebe8;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20, 24, 22, 0.14);
}

.project-card button {
  all: unset;
  cursor: pointer;
  display: block;
  width: 100%;
}

.project-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #eef3ef, #e5ebe5);
  padding: 0.45rem;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: calc(var(--radius) - 6px);
}

.project-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: rgba(31, 58, 44, 0.92);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.28rem 0.62rem;
}

.project-card .content {
  padding: 1rem;
}

.project-card .content h3 {
  margin-bottom: 0.35rem;
}

.filter-bar {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

select,
input,
textarea,
button {
  font: inherit;
}

select,
input,
textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 10px;
  border: 1px solid #ccd1d1;
}

form {
  display: grid;
  gap: 0.9rem;
}

.map-wrap iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.84);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 80;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  width: min(100%, 980px);
  background: #141414;
  color: var(--white);
  border-radius: var(--radius);
  padding: 1rem;
  position: relative;
}

.lightbox-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.lightbox-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.8rem;
}

.lightbox-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.full-bleed-image {
  min-height: 46vh;
  background: linear-gradient(165deg, rgba(18, 18, 18, 0.2), rgba(18, 18, 18, 0.35)),
    url("../../stock/Sunken Patio Golden Hour I.png") center/cover no-repeat;
}

.trust-bar {
  background: var(--green-900);
  color: var(--white);
  padding: 0.72rem 0;
}

.trust-bar-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-bar-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  text-align: center;
}

.trust-pill {
  border-radius: 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.86rem;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.trust-pill + .trust-pill {
  border-left: 0;
}

.trust-pill + .trust-pill::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  width: 1px;
  height: 60%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0)
  );
}

footer {
  background: var(--slate-900);
  color: #dce1df;
  padding: 3.2rem 0 2.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

footer .container {
  display: grid;
  gap: 0.6rem;
}

footer p {
  margin: 0;
  color: #e6ece9;
}

footer p strong {
  color: var(--white);
  letter-spacing: 0.2px;
}

.index-footer {
  padding: 3.4rem 0 1.4rem;
}

.index-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.index-footer h3 {
  margin: 0 0 0.75rem;
  font-size: 1.02rem;
  color: var(--white);
}

.index-footer p {
  margin: 0 0 0.55rem;
  color: #d9e2de;
}

.logo-placeholder {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: linear-gradient(150deg, #2f5a43, #3f7157);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.footer-logo {
  width: min(280px, 100%);
  height: auto;
  margin-bottom: 0.8rem;
  border-radius: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-links a {
  color: #d9e2de;
}

.footer-links a:hover {
  color: var(--white);
}

.index-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 1.4rem;
  padding-top: 0.95rem;
}

.index-footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: #c8d2cd;
}

@media (max-width: 880px) {
  .index-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
  }
}

@media (max-width: 720px) {
  :root {
    --site-chrome-height: 106px;
    --hero-trust-height: 112px;
  }

  .hero-grid {
    min-height: calc(100svh - var(--site-chrome-height) - var(--hero-trust-height));
    padding: 3.2rem 0;
  }

  .trust-bar-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .trust-pill {
    padding: 0.62rem 0.72rem;
    font-size: 0.83rem;
  }

  .trust-pill + .trust-pill {
    border-left: 0;
  }

  .trust-pill:nth-child(even) {
    border-left: 0;
  }

  .trust-pill:nth-child(even)::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20%;
    width: 1px;
    height: 60%;
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.45),
      rgba(255, 255, 255, 0)
    );
  }

  .trust-pill:nth-child(n + 3)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 22%;
    width: 56%;
    height: 1px;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.34),
      rgba(255, 255, 255, 0)
    );
  }
}

@media (max-width: 480px) {
  .index-footer {
    padding-top: 2.6rem;
  }

  .index-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .trust-bar-items {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .trust-pill {
    font-size: 0.82rem;
    padding: 0.6rem 0.4rem;
  }

  .trust-pill:nth-child(even) {
    border-left: 0;
  }

  .trust-pill:nth-child(n + 2) {
    border-top: 0;
  }

  .trust-pill:nth-child(n + 2)::after {
    content: "";
    position: absolute;
    top: 0;
    left: 25%;
    width: 50%;
    height: 1px;
    background: linear-gradient(
      to right,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.32),
      rgba(255, 255, 255, 0)
    );
  }

  .trust-pill + .trust-pill::before {
    display: none;
  }

  .nav-links {
    gap: 0.7rem;
    font-size: 0.94rem;
  }

  .brand-logo {
    height: 44px;
  }

  .brand-logo-standalone {
    height: 46px;
  }

  .brand-text {
    font-size: 1.02rem;
  }
}

@media (max-width: 900px) {
  .nav-wrap {
    flex-wrap: wrap;
    height: auto;
    padding: 0.9rem 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.35rem 0 0.6rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links > a,
  .services-trigger {
    padding: 0.62rem 0.2rem;
  }

  .services-menu {
    width: 100%;
  }

  .services-dropdown {
    position: static;
    min-width: 100%;
    margin-top: 0.2rem;
    box-shadow: none;
    border-radius: 10px;
    transform: none;
    display: none;
    opacity: 1;
    visibility: visible;
    border-color: #e2e7e3;
  }

  .services-menu.is-open .services-dropdown {
    display: block;
  }
}
