/* Clark's Landscaping — marketing site
   Palette matches the logo: forest green #1a2e1f and gold #b8924a. */

:root {
  --forest: #1a2e1f;
  --forest-deep: #101c14;
  --forest-mid: #24382a;
  --forest-soft: #2f4734;
  --gold: #b8924a;
  --gold-light: #d4b36a;
  --gold-deep: #8f7136;
  --cream: #f6f1e7;
  --cream-dark: #ebe4d4;
  --ivory: #fbf8f2;
  --paper: #ffffff;
  --text: #1a2e1f;
  --text-muted: #4a5c4e;
  --line: rgba(26, 46, 31, 0.12);
  --line-gold: rgba(184, 146, 74, 0.55);
  --shadow: 0 18px 40px -24px rgba(16, 28, 20, 0.45);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --nav-h: 4.75rem;
  --radius: 18px;
  --max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--gold);
  color: var(--forest);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

/* ----- Typography ----- */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 0.75rem;
}

h1, h2, h3, .font-serif {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--forest);
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.15rem); margin: 0 0 1rem; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin: 0 0 0.75rem; }
h3 { font-size: 1.4rem; margin: 0 0 0.4rem; }

.lede, .section-intro {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 40rem;
}

.section-intro { margin: 0 auto 2.5rem; text-align: center; }

.section-head { text-align: center; max-width: 40rem; margin: 0 auto 2.75rem; }
.section-head .eyebrow { color: var(--gold-deep); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  font-weight: 560;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn-gold {
  background: var(--gold);
  color: var(--forest-deep);
  box-shadow: 0 10px 22px -14px rgba(143, 113, 54, 0.9);
}
.btn-gold:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}
.btn-outline:hover { background: var(--forest); color: var(--cream); }
.btn-outline-light {
  background: transparent;
  border-color: rgba(246, 241, 231, 0.55);
  color: var(--cream);
}
.btn-outline-light:hover { background: var(--cream); color: var(--forest); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ----- Header / nav ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-gold);
  background: rgba(251, 248, 242, 0.97);
  box-shadow: 0 8px 24px -18px rgba(16, 28, 20, 0.5);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 3.5rem; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--forest-mid);
  padding: 0.25rem 0;
  position: relative;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--forest); }
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-cta { margin-left: 0.5rem; padding: 0.55rem 1rem !important; font-size: 0.85rem !important; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  cursor: pointer;
  color: var(--forest);
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
  transition: transform 160ms ease, opacity 160ms ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* ----- Hero ----- */
.hero {
  padding: 3.25rem 0 4.25rem;
  background:
    radial-gradient(1000px 420px at 0% 0%, rgba(184, 146, 74, 0.12), transparent 60%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3rem;
  align-items: center;
}
.hero-copy .eyebrow { color: var(--gold-deep); }
.hero-logo {
  display: block;
  width: min(17.5rem, 70%);
  height: auto;
  margin: 0 0 1.35rem;
}
.hero-photo {
  position: relative;
  margin: 0;
}
.hero-photo img {
  width: 100%;
  height: min(36rem, 70vh);
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line-gold);
}
.hero-photo figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: rgba(16, 28, 20, 0.72);
  color: var(--cream);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
}

/* ----- Sections ----- */
.section { padding: 5rem 0; }
.section-alt { background: var(--cream); border-block: 1px solid var(--line); }
.section-forest {
  background: var(--forest);
  color: var(--cream);
}
.section-forest h2,
.section-forest h3 { color: var(--ivory); }
.section-forest .eyebrow { color: var(--gold-light); }
.section-forest .section-intro,
.section-forest .section-head p { color: rgba(246, 241, 231, 0.8); }

/* ----- Service / package cards ----- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--line-gold); }
.card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(184, 146, 74, 0.12);
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.card-icon svg { width: 1.25rem; height: 1.25rem; }
.card p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }
.placeholder-flag {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}

.packages { margin-top: 3rem; }
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.package-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
}
.package-card.is-featured {
  background: var(--forest);
  border-color: var(--gold);
  color: var(--cream);
  box-shadow: var(--shadow);
}
.package-card.is-featured h3 { color: var(--ivory); }
.package-card.is-featured p { color: rgba(246, 241, 231, 0.82); }
.package-card p { margin: 0; color: var(--text-muted); }
.pkg-badge {
  align-self: flex-start;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 650;
  color: var(--forest-deep);
  background: var(--gold);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

/* ----- Quote CTA ----- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.step {
  padding: 1.4rem 1.25rem;
  border: 1px solid rgba(184, 146, 74, 0.35);
  border-radius: var(--radius);
  background: rgba(16, 28, 20, 0.35);
}
.step-num {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.4rem;
}
.step p { margin: 0.35rem 0 0; color: rgba(246, 241, 231, 0.8); font-size: 0.98rem; }

.quote-preview {
  margin-top: 2.5rem;
  border: 1px solid var(--line-gold);
  border-radius: 20px;
  overflow: hidden;
  background: #0f1a13;
  box-shadow: var(--shadow);
}
.quote-preview iframe {
  display: block;
  width: 100%;
  height: 44rem;
  border: 0;
  background: #0f1a13;
}
.quote-preview-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1rem;
  background: var(--forest-deep);
  border-bottom: 1px solid rgba(184, 146, 74, 0.3);
  color: var(--cream);
  font-size: 0.82rem;
}
.quote-actions { display: flex; justify-content: center; margin-top: 0.25rem; }

/* ----- Gallery ----- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}
.gallery-item:hover img,
.gallery-item:focus-visible img { transform: scale(1.04); }
.gallery-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.gallery-item figcaption,
.gallery-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 0.85rem 0.75rem;
  background: linear-gradient(transparent, rgba(16, 28, 20, 0.82));
  color: var(--cream);
  font-size: 0.9rem;
  text-align: left;
}
.stock-badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  background: rgba(251, 248, 242, 0.92);
  color: var(--forest);
  font-size: 0.65rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 16, 12, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox.is-open { display: flex; }
.lightbox-inner { max-width: min(1100px, 100%); max-height: 100%; text-align: center; }
.lightbox-inner img {
  max-height: min(80vh, 900px);
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 12px;
}
.lightbox-caption { color: var(--cream); margin: 0.85rem 0 0; font-size: 0.95rem; }
.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(246, 241, 231, 0.12);
  color: var(--cream);
  border: 1px solid rgba(246, 241, 231, 0.2);
  border-radius: 999px;
  cursor: pointer;
}
.lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  font-size: 1.4rem;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 2.8rem;
  height: 2.8rem;
  font-size: 1.5rem;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-close:hover,
.lightbox-nav:hover { background: var(--gold); color: var(--forest); }

/* ----- About ----- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}
.about-mark { max-width: 22rem; margin: 0 auto; }
.about-copy p { margin: 0 0 1rem; color: var(--text-muted); }
.about-note {
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(184, 146, 74, 0.1);
  color: var(--forest-mid);
  font-size: 0.92rem;
}

/* ----- Contact ----- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-card {
  background: rgba(16, 28, 20, 0.4);
  border: 1px solid rgba(184, 146, 74, 0.3);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
}
.contact-card a { color: var(--gold-light); text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-card dt {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 1rem 0 0.2rem;
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 0; color: var(--cream); }
.placeholder-inline {
  color: var(--gold-light);
  font-style: italic;
  font-size: 0.95rem;
}

.form {
  display: grid;
  gap: 0.9rem;
  background: var(--ivory);
  color: var(--text);
  padding: 1.6rem;
  border-radius: var(--radius);
}
.form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 560;
  color: var(--forest);
}
.form input,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  color: var(--text);
}
.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.form textarea { min-height: 8.5rem; resize: vertical; }
.form-status {
  margin: 0;
  font-size: 0.92rem;
  min-height: 1.3em;
}
.form-status.is-success { color: #1e5a32; }
.form-status.is-error { color: #9b1c1c; }
.form .btn { justify-self: start; }

/* ----- Footer ----- */
.site-footer {
  background: var(--forest-deep);
  color: rgba(246, 241, 231, 0.8);
  padding: 2.5rem 0 1.75rem;
  border-top: 1px solid rgba(184, 146, 74, 0.28);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  background: var(--cream);
  border-radius: 14px;
  padding: 0.45rem 0.75rem 0.5rem;
}
.footer-brand img { height: 3.15rem; width: auto; }
.socials { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.socials a {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(184, 146, 74, 0.4);
  border-radius: 999px;
  color: var(--gold-light);
  text-decoration: none;
}
.socials a:hover { background: var(--gold); color: var(--forest-deep); border-color: var(--gold); }
.socials a.is-placeholder { opacity: 0.7; }
.socials svg { width: 1.05rem; height: 1.05rem; }
.copyright {
  width: 100%;
  margin: 1.4rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(246, 241, 231, 0.08);
  font-size: 0.85rem;
  color: rgba(246, 241, 231, 0.55);
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .hero-grid,
  .about-grid,
  .contact-grid,
  .card-grid,
  .package-grid,
  .steps,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quote-preview { display: none; }
}

@media (max-width: 760px) {
  :root { --nav-h: 4.25rem; }
  .brand img { height: 2.65rem; }
  .hero-logo { width: min(14rem, 72%); margin-bottom: 1rem; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line-gold);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1.1rem;
    gap: 0;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 0.85rem 0.2rem; }
  .nav-links a::after { display: none; }
  .nav-cta { margin: 0.7rem 0 0; width: 100%; }
  .hero { padding: 2rem 0 2.5rem; }
  .hero-grid,
  .about-grid,
  .contact-grid,
  .card-grid,
  .package-grid,
  .steps,
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-photo img { height: 16rem; }
  .section { padding: 3.5rem 0; }
  .lightbox-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
