/* Big Dawg Landscaping & Hauling
   Cream, forest green, and muted gold — mobile-first. */

:root {
  --cream: #faf5e9;
  --cream-deep: #efe4cc;
  --paper: #fffdf7;
  --forest: #1f3d2b;
  --forest-deep: #15281c;
  --forest-soft: #2c513a;
  --gold: #b8973f;
  --gold-deep: #8f732c;
  --gold-light: #d4bc74;
  --ink: #1f3d2b;
  --muted: #4d5f53;
  --line: rgba(31, 61, 43, 0.14);
  --shadow: 0 16px 40px rgba(21, 40, 28, 0.12);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Segoe UI", Calibri, sans-serif;
  --radius: 18px;
  --header-h: 4.25rem;
  --cta-h: 0px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  scroll-padding-bottom: var(--cta-h);
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
}

@media (max-width: 799px) {
  :root { --cta-h: calc(3.6rem + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: var(--cta-h); }
}

body.lightbox-open {
  overflow: hidden;
}

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

a {
  color: var(--forest);
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--gold-deep);
}

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

h1 { font-size: clamp(2rem, 6vw, 3.6rem); margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 0 0 0.6rem; }
h3 { font-size: 1.25rem; margin: 0 0 0.4rem; }

p { margin: 0 0 1rem; }

ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  background: var(--forest);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
  color: var(--cream);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 233, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.wordmark {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.wordmark-name {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wordmark-sub {
  margin-top: 0.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin-inline: auto;
  background: var(--forest);
}

.site-nav {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem 1.1rem;
}

.site-nav.is-open { display: flex; }

.site-nav a {
  text-decoration: none;
  color: var(--forest);
  font-weight: 600;
  padding: 0.7rem 0.4rem;
}

.site-nav a:hover { color: var(--gold-deep); }

.nav-call {
  color: var(--cream) !important;
  background: var(--forest);
  border-radius: 999px;
  text-align: center;
  margin-top: 0.35rem;
}

.nav-call:hover { background: var(--forest-soft); }

@media (min-width: 920px) {
  .nav-toggle { display: none; }

  .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    gap: 0.1rem 0.95rem;
  }

  .site-nav a { padding: 0.35rem 0; font-size: 0.98rem; }

  .nav-call {
    margin-top: 0;
    padding: 0.5rem 0.9rem !important;
  }
}

/* Seasonal banner */
.season-banner {
  background: var(--forest-deep, #16301f);
  color: #FAF5E9;
  text-align: center;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(184,151,63,0.6);
  border-bottom: 1px solid rgba(184,151,63,0.6);
}

.season-banner p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem 0.9rem;
}

.season-banner .sb-main {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #FAF5E9;
}

.season-banner .sb-sep {
  color: var(--gold);
  font-size: 0.8rem;
}

.season-banner .sb-sub {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (max-width: 560px) {
  .season-banner .sb-sep { display: none; }
  .season-banner p { flex-direction: column; align-items: center; gap: 0.15rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}

.btn-primary:hover {
  background: var(--forest-soft);
  color: var(--cream);
  border-color: var(--forest-soft);
}

.btn-secondary {
  background: transparent;
  color: var(--forest);
  border-color: var(--gold);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--forest-deep);
}

.btn-text {
  background: transparent;
  color: var(--forest);
  border-color: transparent;
  text-decoration: underline;
  min-height: auto;
  padding-inline: 0.2rem;
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 0%, rgba(184, 151, 63, 0.16), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(31, 61, 43, 0.08), transparent 45%),
    var(--cream);
  padding: 2rem 0 5rem;
}

.hero-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.logo-frame {
  width: min(100%, 34rem);
  margin-inline: auto;
  aspect-ratio: 3 / 2;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0.75rem;
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.logo-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  padding: 1rem;
  color: var(--forest);
}

.logo-fallback[hidden],
.logo[hidden] {
  display: none;
}

.fallback-name {
  font-size: clamp(2.4rem, 8vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 0.95;
}

.fallback-sub {
  margin-top: 0.7rem;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--gold-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hours-line {
  margin: 0 0 0.85rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: 0.02em;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
}

.hero-hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 72px;
  background:
    radial-gradient(120px 50px at 12% 100%, var(--forest) 50%, transparent 51%),
    radial-gradient(180px 60px at 38% 110%, var(--forest-soft) 50%, transparent 51%),
    radial-gradient(160px 55px at 68% 105%, var(--forest) 50%, transparent 51%),
    radial-gradient(140px 48px at 92% 110%, var(--forest-soft) 50%, transparent 51%),
    linear-gradient(to top, var(--forest-deep) 18px, transparent 18px);
  opacity: 0.12;
  pointer-events: none;
}

@media (min-width: 800px) {
  .hero {
    padding: 3.5rem 0 6.5rem;
  }

  .hero-inner {
    grid-template-columns: minmax(18rem, 0.95fr) 1.1fr;
    gap: 3.5rem;
  }

  .logo-frame {
    margin-inline: 0;
  }
}

/* Sections */
.section {
  padding: 4.25rem 0;
}

.section-alt {
  background: var(--forest);
  color: var(--cream);
}

.section-alt h2,
.section-alt .eyebrow,
.section-alt p {
  color: var(--cream);
}

.section-alt .eyebrow {
  color: var(--gold-light);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.section-head p:last-child { margin-bottom: 0; }

/* Services */
.service-grid {
  display: grid;
  gap: 1rem;
}

.service-grid li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem 1.2rem 1.15rem;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
}

.service-grid .featured {
  border-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(184, 151, 63, 0.12), transparent 42%),
    var(--paper);
}

.service-grid .featured strong {
  color: var(--gold-deep);
  font-weight: 700;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Before & After */
.section-work {
  background:
    linear-gradient(180deg, var(--cream-deep), var(--cream) 18%);
}

.ba-list {
  display: grid;
  gap: 2.25rem;
}

.ba-pair {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 0.85rem 1.15rem;
  box-shadow: 0 8px 24px rgba(21, 40, 28, 0.06);
}

.ba-images {
  display: grid;
  gap: 0.7rem;
}

.ba-images figure {
  margin: 0;
  position: relative;
}

.ba-images img {
  width: 100%;
  height: 14.5rem;
  object-fit: cover;
  border-radius: 12px;
  background: var(--cream-deep);
}

.ba-images a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.ba-images figcaption {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
}

.ba-label {
  display: inline-block;
  background: var(--forest);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
}

.ba-label-after {
  background: var(--gold);
  color: var(--forest-deep);
}

.ba-caption {
  margin: 0.85rem 0.25rem 0.1rem;
  color: var(--muted);
  font-size: 1rem;
}

@media (min-width: 700px) {
  .ba-images {
    grid-template-columns: 1fr 1fr;
  }

  .ba-images img {
    height: 17rem;
  }
}

/* Recent work gallery */
.section-gallery {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

/* Recent work gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.gallery-grid a {
  display: block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  background: var(--forest-deep);
}

.gallery-grid img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-grid a:hover img,
.gallery-grid a:focus-visible img {
  transform: scale(1.04);
}

@media (min-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }

  .gallery-grid img { height: 12rem; }
}

@media (min-width: 1000px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-grid img { height: 12.5rem; }
}

/* Area */
.section-area {
  background: var(--forest);
  color: var(--cream);
}

.section-area h2,
.section-area .eyebrow,
.section-area p {
  color: var(--cream);
}

.section-area .eyebrow {
  color: var(--gold-light);
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.city-list li {
  border: 1px solid rgba(250, 245, 233, 0.28);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--cream);
}

/* Why us */
.why-layout {
  display: grid;
  gap: 1.5rem;
}

.why-equipment {
  margin: 0;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.why-equipment a {
  display: block;
}

.why-equipment img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  object-position: 50% 55%;
}

.why-equipment figcaption {
  padding: 1.15rem 1.2rem 1.25rem;
}

.why-equipment h3 { margin-bottom: 0.3rem; }

.why-equipment p {
  margin: 0;
  color: var(--muted);
}

.why-grid {
  display: grid;
  gap: 1rem;
}

.why-grid li {
  border-top: 3px solid var(--gold);
  background: var(--paper);
  border-radius: 0 0 16px 16px;
  padding: 1.3rem 1.2rem 1.2rem;
  box-shadow: 0 8px 24px rgba(21, 40, 28, 0.06);
}

.why-grid p { margin: 0; color: var(--muted); }

@media (min-width: 800px) {
  .why-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: stretch;
  }

  .why-equipment img {
    height: 16rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
    align-content: stretch;
  }

  .why-grid li {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Contact */
.section-contact {
  background:
    linear-gradient(180deg, var(--cream-deep), var(--cream) 28%);
}

.section-contact .hours-line {
  color: var(--gold-deep);
}

.contact-panel {
  display: grid;
  gap: 2rem;
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.quote-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.field { margin-bottom: 1rem; }

.field-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(184, 151, 63, 0.45);
  border-color: var(--gold);
}

.quote-form .btn { width: 100%; }

@media (min-width: 640px) {
  .quote-form .btn { width: auto; }
}

.form-note {
  margin: 0.85rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--forest-deep);
  color: var(--cream);
  padding: 2.5rem 0;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-name {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  color: var(--cream);
}

.site-footer p { margin: 0 0 0.35rem; color: #d8dece; }

.site-footer a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover { color: var(--gold-light); }

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-inner > div:last-child { text-align: right; }
}

/* Sticky mobile call / text */
.mobile-cta {
  display: none;
}

@media (max-width: 799px) {
  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    background: var(--forest-deep);
    padding: 0.45rem 0.7rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
    gap: 0.5rem;
    box-shadow: 0 -8px 24px rgba(21, 40, 28, 0.25);
  }

  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-cta-call {
    background: var(--cream);
    color: var(--forest);
  }

  .mobile-cta-text {
    background: var(--gold);
    color: var(--forest-deep);
  }

  .mobile-cta a:hover {
    color: inherit;
    filter: brightness(1.05);
  }
}

/* Lightbox */
.lightbox[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 3.5rem 3.25rem 2.5rem;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 40, 28, 0.88);
}

.lightbox-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  text-align: center;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  margin-inline: auto;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.lightbox-figure figcaption {
  color: var(--cream);
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  z-index: 2;
  background: transparent;
  color: var(--cream);
  border: 0;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  padding: 0.4rem 0.7rem;
}

.lightbox-close {
  top: 0.6rem;
  right: 0.6rem;
  font-size: 2.4rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev { left: 0.2rem; }
.lightbox-next { right: 0.2rem; }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--gold-light);
}

@media (max-width: 699px) {
  .lightbox {
    padding: 3.25rem 0.6rem 5.5rem;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 1.1rem;
    transform: none;
    background: rgba(21, 40, 28, 0.6);
    border-radius: 999px;
  }

  .lightbox-prev { left: 0.8rem; }
  .lightbox-next { right: 0.8rem; }
}

/* Focus visibility */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
