/* West Valley Desert Landscaping — PPC landing page design system
   Visual language matches the reference video (Yardzen-style):
   warm cream background, dark forest green headings, sage-green line icons,
   serif display headlines, before/after transformation slider. */

:root {
  --cream: #f5f2e9;
  --cream-alt: #ece6d7;
  --forest: #2f3b28;
  --forest-soft: #3e4c35;
  --sage: #8a9a72;
  --sage-light: #c7d0b8;
  --text: #2b2b23;
  --text-muted: #5c5c50;
  --white: #ffffff;
  --line: #ddd6c4;
  --overlay-top: rgba(6, 8, 4, 0.62);
  --overlay-mid: rgba(6, 8, 4, 0.52);
  --overlay-bottom: rgba(4, 6, 3, 0.9);
  --radius: 4px;
  --max-width: 1240px;
  --font-serif: "Playfair Display", "Georgia", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--forest);
  line-height: 1.15;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

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

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-dark {
  background: var(--forest);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--forest-soft);
}

.btn-outline-dark {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-outline-dark:hover {
  background: var(--forest);
  color: var(--white);
}

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 28px 0;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 54px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 719px) {
  .nav-toggle {
    display: inline-flex;
  }
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  display: none;
}

@media (min-width: 720px) {
  .header-phone {
    display: inline;
  }
}

/* ---------- Static (non-hero) header, e.g. thank-you page ---------- */

.site-header-static {
  position: static;
  background: var(--forest);
  padding: 18px 0;
}

.site-header-static .brand-logo {
  height: 42px;
}

/* ---------- Thank-you page ---------- */

.thank-you {
  background: var(--cream);
  padding: 100px 0 80px;
  text-align: center;
}

.thank-you-wrap {
  max-width: 640px;
}

.thank-you-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--forest);
  margin-bottom: 24px;
}

.thank-you h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 8px 0 24px;
}

.thank-you-sub {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 20px;
}

.thank-you-call {
  margin-top: 12px;
}

.thank-you-work {
  background: var(--cream-alt);
}

.thank-you-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 720px) {
  .thank-you-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--white);
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72);
  background: linear-gradient(135deg, #4b5940 0%, #333f2a 55%, #26301f 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, var(--overlay-top) 0%, var(--overlay-mid) 35%, var(--overlay-bottom) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 32px 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(34px, 5.4vw, 60px);
  max-width: 780px;
  margin-bottom: 18px;
}

.hero-content .hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Stat bar ---------- */

.stat-bar {
  position: relative;
  z-index: 2;
  background: rgba(15, 20, 12, 0.82);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px 32px;
  text-align: center;
}

.stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--white);
  font-size: 14px;
}

.stat strong {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
}

.stat-dot {
  width: 4px;
  height: 4px;
  background: var(--sage-light);
  border-radius: 50%;
  opacity: 0.6;
}

/* ---------- Trust badge strip ---------- */

.badge-strip {
  background: var(--cream-alt);
  border-bottom: 1px solid var(--line);
}

.badge-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 26px 32px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
  letter-spacing: 0.02em;
}

.badge-item svg {
  width: 20px;
  height: 20px;
  color: var(--sage);
  flex-shrink: 0;
}

/* ---------- Section shell ---------- */

section {
  padding: 96px 0;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-top: 10px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 16px;
  margin-top: 14px;
}

.section-head.left {
  text-align: left;
  margin: 0 0 40px;
}

/* ---------- Feature grid ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--cream-alt);
  padding: 40px 32px;
  border-radius: var(--radius);
}

.feature-icon {
  width: 44px;
  height: 44px;
  color: var(--sage);
  margin-bottom: 60px;
}

.feature-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ---------- Transformations / finished-work gallery ---------- */

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

.transform-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .transform-gallery {
    grid-template-columns: 1fr;
  }
}

.transform-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--forest);
}

.transform-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.transform-photo:hover img {
  transform: scale(1.04);
}

/* ---------- Why us ---------- */

.why-us {
  background: var(--forest);
  color: var(--white);
}

.why-us h2 {
  color: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 8px;
}

@media (max-width: 860px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 36px 30px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.why-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.why-icon {
  width: 40px;
  height: 40px;
  color: var(--sage-light);
  margin-bottom: 22px;
}

.why-item h3 {
  color: var(--sage-light);
  font-size: 19px;
  margin-bottom: 10px;
}

.why-item p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.why-video {
  max-width: 820px;
  margin: 64px auto 0;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #10150c;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(10, 14, 8, 0.25);
  transition: background 0.2s ease;
  border: none;
  padding: 0;
}

.video-play-overlay:hover {
  background: rgba(10, 14, 8, 0.4);
}

.video-frame.playing .video-play-overlay {
  display: none;
}

.video-play-btn {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  color: var(--forest);
}

.video-play-btn svg {
  margin-left: 4px;
}

.video-caption {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Service area ---------- */

.service-area {
  background: var(--cream-alt);
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .city-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.city-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
}

/* ---------- Offer / final CTA ---------- */

.final-cta {
  background: var(--cream-alt);
  text-align: center;
}

.final-cta .offer-badge {
  display: inline-block;
  background: var(--sage);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.final-cta h2 {
  max-width: 720px;
  margin: 0 auto 16px;
}

.final-cta p {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 34px;
}

.final-cta .btn {
  margin: 0 6px;
}

/* ---------- Form embed ---------- */

.form-embed {
  margin: 40px auto 0;
  max-width: 560px;
}

.form-embed iframe {
  display: block;
  min-height: 480px;
}

/* ---------- Footer ---------- */

footer {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 28px;
  font-size: 14px;
}

footer .footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 24px;
}

footer .footer-brand {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 19px;
  margin-bottom: 10px;
}

footer .footer-col h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

footer .footer-col p,
footer .footer-col a {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.68);
}

footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Mobile nav drawer ---------- */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--forest);
  color: var(--white);
  display: none;
  flex-direction: column;
  padding: 28px 32px;
}

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

.mobile-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.mobile-nav a.close-btn {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.mobile-nav-links a {
  display: block;
  font-family: var(--font-serif);
  font-size: 26px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 600px) {
  section {
    padding: 64px 0;
  }
  .wrap {
    padding: 0 20px;
  }
  .hero-content {
    padding: 0 20px 48px;
  }
}
