/* =========================
   ROOT VARIABLES (LANDSCAPING)
========================= */
:root {
  --green-dark: #164a3a;
  --green: #1f6f4a;
  --green-light: #3fa67a;
  --accent: #8fd694;
  --earth: #f4f7f3;
  --dark: #0b1f17;
  --text: #102a22;
  --muted: #5f7f72;
  --white: #ffffff;
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: var(--earth);
  color: var(--text);
  line-height: 1.65;
}

/* when JS adds class="demo-locked" to BODY */
body.demo-locked {
  overflow: hidden;
}


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

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

/* =========================
   DEMO BAR (IRONPEAK)
========================= */
.demo-bar {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: linear-gradient(180deg, #0b1220, #0e172a);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.demo-bar::after {
  content: "";
  display: block;
  height: 2px;
  background: #8fd694;
}

.demo-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.demo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #8fd694;
  color: #0b1220;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.demo-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.demo-brand-line1 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f9fafb;
}

.demo-brand-line2 {
  font-size: 0.75rem;
  color: #94a3b8;
}

.demo-tag {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-left: 6px;
}

.demo-nav {
  flex: 1;
  text-align: center;
}

.demo-back {
  font-size: 0.8rem;
  color: #cbd5e1;
}

.demo-cta {
  background: #8fd694;
  color: #0b1f17;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 6px 18px rgba(143,214,148,0.4);
}

/* =========================
   HEADER
========================= */
.site-header {
  background: var(--green-dark);
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
}

.brand-text strong {
  font-size: 1.1rem;
  font-weight: 800;
}

.brand-text span {
  font-size: 0.85rem;
  opacity: 0.85;
}

.nav-links a {
  margin-left: 22px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #d1fae5;
}

.nav-cta {
  background: var(--accent);
  color: var(--dark);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
}
/* =========================
   HEADER — MOBILE HAMBURGER
========================= */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Mobile menu container */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 18px;

  background: var(--green-dark);
  padding: 24px;

  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav a {
  color: #e9fff1;
  font-weight: 600;
  font-size: 0.95rem;
}

.mobile-cta {
  margin-top: 10px;
  background: var(--accent);
  color: var(--dark);
  padding: 14px;
  border-radius: 999px;
  text-align: center;
  font-weight: 800;
}

/* =========================
   MOBILE BEHAVIOR
========================= */
@media (max-width: 900px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

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

/* =========================
   HERO
========================= */
.hero {
  background:
     linear-gradient(
      rgba(22, 74, 58, 0.55),
      rgba(22, 74, 58, 0.65)),
    url("../images/hero/hero-landscape.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 18px;

  background:
    linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
    url("../images/hero/hero-support.jpg");
  background-size: cover;
  background-position: center;

  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  overflow: hidden;
}


.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero .accent {
  color: var(--accent);
}

.hero .sub {
  max-width: 520px;
  color: #d1fae5;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
}

.btn-primary {
  background: #a7db9c;
  color: #0b1f17;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  padding: 14px 32px;
}

.btn-secondary {
  border-color: #c8efd2;
  color: #e9fff1;
  background: rgba(0,0,0,0.15);
  padding: 12px 30px;
}

.proof {
  margin-top: 36px;
  display: flex;
  gap: 28px;
}

.proof-item strong {
  font-size: 1.4rem;
  display: block;
}
.hero-image-badge {
  position: absolute;
  top: 24px;
  left: 24px;

  display: flex;
  flex-direction: column;
  gap: 4px;

  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);

  padding: 12px 16px;
  border-radius: 10px;

  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Top line */
.badge-top {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d1fae5;
}

/* Bottom line */
.badge-bottom {
  font-size: 0.9rem;
  font-weight: 800;
}

/* =========================
   SERVICE STRIP
========================= */
.service-strip {
  background: var(--white);
  padding: 48px 24px;
}

.service-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.strip-card {
  border-left: 6px solid var(--accent);
  padding: 24px;
  background: var(--earth);
  border-radius: 12px;
}

/* =========================
   SECTION HEADINGS — UPGRADED
========================= */

.section {
  max-width: 1200px;
  margin: 96px auto;
  padding: 0 24px;
}

.section-head {
  position: relative;
  max-width: 680px;
  margin-bottom: 56px;
}

/* Accent bar */
.section-head::before {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 16px;
}

/* Section title */
.section-head h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 14px;
}

/* Section description */
.section-head p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 560px;
}
/* =========================
   H3 — CARD & SUBSECTION TITLES
========================= */

.section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--dark);
  margin-bottom: 8px;
}

/* Slight visual anchor for cards */
.card h3::after {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 10px;
}

/* Step titles (process section) */
.step h3 {
  margin-top: 6px;
  margin-bottom: 8px;
}

/* =========================
   PARAGRAPH TEXT (GLOBAL)
========================= */

/* Default paragraph */
p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
}

/* Section intro text (under H2) */
.section-head p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 6px;
}

/* Card body copy */
.card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 12px;
}

/* Hero subtext */
.hero .sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #d1fae5;
}

/* Process steps */
.step p {
  font-size: 0.92rem;
  color: var(--muted);
}
/* =========================
   SERVICES GRID
========================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  padding: 28px;
overflow: hidden; /* ensures nothing bleeds */
}

.card h3 {
  margin-bottom: 8px;
}

.card ul {
  padding-left: 18px;
}

.card li {
  margin-bottom: 6px;
  color: var(--muted);
}
.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;     /* forces   uniform height */
  object-fit: cover;       /* crops instead of stretching */
  border-radius: 12px;
  margin-bottom: 14px;
  display: block;
}
@media (hover: hover) {
  .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.12);
  }
}

/* =========================
   WORK / GALLERY
========================= */

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* Base tile */
.work-tile {
  height: 220px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover polish (desktop only) */
.work-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

/* Dark overlay for text readability */
.work-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.45)
  );
  z-index: 0;
}

/* Label */
.work-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  z-index: 1;

  background: rgba(0,0,0,0.6);
  color: #ffffff;

  padding: 8px 12px;
  border-radius: 8px;

  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
}

/* =========================
   CENTER CTA (WORK SECTION)
========================= */

.center-cta {
  margin-top: 40px;
  text-align: center;
}

.center-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 32px;
  font-weight: 700;
  font-size: 0.95rem;

  border-radius: 999px;

  background: var(--accent);
  color: var(--dark);

  box-shadow:
    0 8px 24px rgba(143, 214, 148, 0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.center-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px rgba(143, 214, 148, 0.55),
    inset 0 0 0 1px rgba(255,255,255,0.45);
}

.center-cta .btn:active {
  transform: translateY(0);
  box-shadow:
    0 6px 16px rgba(143, 214, 148, 0.35);
}

/* =========================
   IMAGE ASSIGNMENTS
========================= */

.work-tile.patio {
  background-image: url("../images/recent-work/patio-edging.jpg");
}

.work-tile.bed {
  background-image: url("../images/recent-work/bed-redesign-mulch.jpg");
}

.work-tile.cleanup {
  background-image: url("../images/recent-work/seasonal-cleanup.jpg");
}

.work-tile.wall {
  background-image: url("../images/recent-work/retaining-wall.jpg");
}

.work-tile.walkway {
  background-image: url("../images/recent-work/walkway-steps.jpg");
}

.work-tile.lawn {
  background-image: url("../images/recent-work/lawn-repair-grading.jpg");
}

/* =========================
   MOBILE SAFETY
========================= */
@media (max-width: 768px) {
  .work-tile {
    height: 200px;
  }
}

/* =========================
   PROCESS
========================= */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step {
  background: var(--white);
  padding: 28px;
  border-radius: 16px;
}

.step-num {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  text-align: center;
  line-height: 34px;
  font-weight: 800;
  margin-bottom: 10px;
}
/* =========================
   TESTIMONIALS (STARS + CTA)
========================= */

.testimonial-stars {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 36px;
}

.stars {
  color: var(--accent);
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.testimonial-stars span {
  font-size: 0.9rem;
  color: var(--muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.testimonial {
  background: var(--earth);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.quote {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.author strong {
  display: block;
  font-weight: 700;
}

.author span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* CTA under testimonials */
.testimonial-cta {
  margin-top: 48px;
  text-align: center;
}

.testimonial-cta p {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--text);
}
/* =========================
   CONTACT SECTION (FINAL CLEAN)
========================= */

.section.contact {
  background: var(--earth);
  padding: 80px 0;
}

.contact-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}

/* LEFT COPY */
.contact-copy h2 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--green-dark);
  margin-bottom: 14px;
}

.contact-copy > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 28px;
}

/* TRUST NOTES */
.contact-notes {
  display: grid;
  gap: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
}

.contact-notes .note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.contact-notes strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
}

.contact-notes span {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

/* FORM CARD */
.contact-form {
  background: var(--white);
  border-radius: 18px;
  padding: 32px 28px;
  margin-top: 16px;

  box-shadow:
    0 20px 40px rgba(0,0,0,0.08),
    inset 0 0 0 1px rgba(0,0,0,0.04);
}

/* LABELS */
.contact-form label {
  display: block;
  margin-top: 18px;

  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* INPUTS */
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;

  font-size: 0.95rem;
  background: #fafafa;

  border-radius: 10px;
  border: 1px solid #d1d5db;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(143,214,148,0.35);
}

/* SUBMIT BUTTON */
.contact-form .btn-primary {
  margin-top: 24px;
  width: 100%;
  padding: 16px 0;

  font-size: 1rem;
  font-weight: 800;

  box-shadow:
    0 12px 30px rgba(143,214,148,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);
}

/* FORM NOTE */
.form-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

/* MOBILE */
@media (max-width: 900px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form {
    margin-top: 0;
  }
}

/* =========================
   FOOTER — FINAL POLISHED
========================= */

.site-footer {
  background: linear-gradient(
    180deg,
    #0b1f17 0%,
    #081811 100%
  );
  color: #cbd5e1;
  padding: 72px 24px 56px;
}

.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

/* Brand line */
.footer-brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
}

/* Subline */
.footer-sub {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Contact row */
.footer-contact {
  font-size: 0.9rem;
  color: #cbd5e1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.footer-contact a {
  color: #cbd5e1;
  font-weight: 600;
}

.footer-contact a:hover {
  color: var(--accent);
}

/* Legal */
.footer-legal {
  margin-top: 12px;
  font-size: 0.75rem;
  color: #64748b;
}

.footer-legal a {
  color: #64748b;
}

.footer-legal a:hover {
  color: #cbd5e1;
}

/* Accent divider */
.site-footer::before {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 0 auto 28px;
  border-radius: 999px;
  background: var(--accent);
}

/* =========================
   MOBILE TIGHTENING
========================= */
@media (max-width: 768px) {
  .site-footer {
    padding: 56px 20px 48px;
  }

  .footer-contact {
    flex-direction: column;
    gap: 6px;
  }
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .hero-inner,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

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

  .service-strip-inner {
    grid-template-columns: 1fr;
  }
}
/* =========================
   DEMO EXIT CTA (MODAL)
========================= */

.demo-exit {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 24, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.demo-exit.active {
  opacity: 1;
  pointer-events: auto;
}

.demo-exit-inner {
  background: #0f1629;
  border-radius: 16px;
  padding: 28px 24px;
  max-width: 420px;
  width: calc(100% - 32px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
}

.demo-exit-eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.demo-exit-inner h3 {
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0 10px;
}

.demo-exit-copy {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 22px;
}

.demo-exit-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-exit-primary {
  background: var(--accent);
  color: var(--dark);
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(143,214,148,0.35);
}

.demo-exit-secondary {
  color: #94a3b8;
  font-size: 0.95rem;
  text-decoration: none;
}

.demo-exit-secondary:hover {
  color: #e5e7eb;
}

/* Prevent weird “white gap” behavior on iOS */
body.demo-locked {
  overflow: hidden;
}

/* Mobile slide-up behavior */
@media (max-width: 768px) {
  .demo-exit {
    align-items: flex-end;
  }

  .demo-exit-inner {
    max-width: none;
    width: 100%;
    border-radius: 18px 18px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    padding-bottom: 32px;
  }

  .demo-exit.active .demo-exit-inner {
    transform: translateY(0);
  }
.demo-exit-close {
  position: absolute;
  top: 14px;
  right: 16px;

  background: none;
  border: none;
  color: #94a3b8;

  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;

  transition: color 0.2s ease, transform 0.2s ease;
}

.demo-exit-close:hover {
  color: #ffffff;
  transform: scale(1.1);
}
