/* =========================================================
   Tierra Verde Landscapers — pastel, colored-pencil botanical
   Self-contained static stylesheet
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Paper / neutrals */
  --paper:      #fdf9ef;   /* warm cream background */
  --paper-2:    #F4EEE1;   /* panel cream */
  --paper-3:    #ECE3D2;   /* deeper sand */
  --line:       #E3D9C6;   /* hairline */

  /* Botanical pastels */
  --sage:       #A8C3A0;
  --sage-soft:  #C7DABF;
  --sage-deep:  #6E8C66;
  --moss:       #4E6A48;
  --ink:        #2F4034;   /* primary text — deep forest */
  --ink-soft:   #56685A;   /* secondary text */

  /* Accents */
  --blush:      #E7B6A4;   /* terracotta blush */
  --blush-soft: #F2D6CB;
  --sky:        #AEC9D4;   /* dusty blue */
  --ochre:      #E7C57E;   /* soft mustard */
  --lilac:      #C8B5D6;   /* muted lilac */

  /* System */
  --radius:     18px;
  --radius-lg:  28px;
  --shadow:     0 18px 40px -24px rgba(47, 64, 52, .35);
  --shadow-sm:  0 8px 22px -16px rgba(47, 64, 52, .4);
  --maxw:       1140px;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand:  "Caveat", "Segoe Script", cursive;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--paper);
  /* subtle paper grain (SVG data URI — cannot 404) */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--moss); text-decoration: none; }
a:hover { color: var(--sage-deep); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.32rem; }
p  { margin: 0 0 1.1em; color: var(--ink-soft); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; position: relative; }
.section--tight { padding: 64px 0; }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: var(--hand);
  font-size: 1.45rem;
  color: var(--sage-deep);
  display: inline-block;
  margin-bottom: .15em;
  transform: rotate(-2deg);
}
.muted { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--moss); color: #ffffff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--sage-deep); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--sage-deep); color: var(--moss); }
.btn--ghost:hover { background: var(--sage-soft); transform: translateY(-2px); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 249, 239, .82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 24px; max-width: var(--maxw); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { display: block; height: 46px; width: auto; }
.brand-logo { display: block; height: 56px; width: auto; }
@media (max-width: 600px) { .brand-logo { height: 46px; } }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand .brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.28rem; color: var(--ink); letter-spacing: -.01em; }
.brand .brand-sub { font-family: var(--sans); font-weight: 700; font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--sage-deep); margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 600; color: var(--ink); padding: 8px 14px; border-radius: 999px; font-size: .98rem; }
.nav-links a:hover { background: var(--paper-2); color: var(--moss); }
.nav-links a.active { color: var(--moss); background: var(--sage-soft); }
.nav-links .btn { margin-left: 8px; }
.nav-links .btn--primary, .nav-links .btn--primary:hover { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: .25s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 14px 24px 22px; box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .22s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-links .btn { margin: 6px 0 0; justify-content: center; }
}

/* ---------- One-page anchor offset ---------- */
section[id] { scroll-margin-top: 86px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 36px 0 64px; }
.hero-intro { max-width: 780px; margin: 0 auto; }
.hero-intro .hero-cta, .hero-intro .hero-badges { justify-content: center; }
.hero-image-wrap { margin-top: 40px; position: relative; }
.hero-figure { position: relative; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; overflow: hidden; }
.hero-figure img { width: 100%; height: auto; display: block; }
.hero-fallback svg { width: 100%; max-width: 520px; height: auto; margin: 0 auto; display: block; filter: drop-shadow(0 26px 40px rgba(47,64,52,.16)); }
/* full-bleed-left landscape hero: image runs to the viewport's left edge */
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 44px; align-items: center; }
.hero-copy { padding-right: max(24px, calc((100vw - 1140px) / 2 + 24px)); }
.hero h1 .accent { color: var(--moss); font-style: italic; }
.hero .lead { margin-top: 8px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 26px 40px rgba(47,64,52,.16)); }
.hero-badges { display: flex; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: .95rem; }
.hero-badge svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .hero { padding: 18px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { max-width: none; margin: 0; }
  .hero-figure { border-radius: 0; }
  .hero-copy { padding: 0 24px; }
}

/* decorative blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5; z-index: -1; }
.blob--sage { width: 340px; height: 340px; background: var(--sage-soft); top: -120px; right: -80px; }
.blob--blush { width: 260px; height: 260px; background: var(--blush-soft); bottom: -110px; left: -90px; }

/* ---------- Section heading block ---------- */
.head-block { max-width: 64ch; }
.head-block.center { margin: 0 auto; }
.divider-sprig { display: block; width: 120px; height: auto; margin: 14px auto 0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon-badge { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; }
.card .icon-badge svg { width: 34px; height: 34px; }
.bg-sage { background: var(--sage-soft); }
.bg-blush { background: var(--blush-soft); }
.bg-sky { background: #D7E6EC; }
.bg-ochre { background: #F3E4BE; }
.card h3 { margin-bottom: .35em; }
.card p { margin-bottom: 0; font-size: .98rem; }

/* feature row (alternating) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.feature + .feature { margin-top: 70px; }
.feature--flip .feature-art { order: 2; }
.feature-art svg { width: 100%; height: auto; }
.feature ul { list-style: none; padding: 0; margin: 18px 0 0; }
.feature li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink); font-weight: 600; }
.feature li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C9 8 4 9 3 12c4 1 6 5 9 10 3-5 5-9 9-10-1-3-6-4-9-10z' fill='%23A8C3A0' stroke='%234E6A48' stroke-width='1.2' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (max-width: 800px) {
  .feature { grid-template-columns: 1fr; gap: 26px; }
  .feature--flip .feature-art { order: 0; }
  .feature-art { max-width: 380px; }
}

/* ---------- Panels / bands ---------- */
.band { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band--moss { background: var(--moss); border: 0; }
.band--moss, .band--moss h2, .band--moss h3 { color: #fbf7ef; }
.band--moss p { color: #dfe9da; }

/* steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step .num {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--moss);
  width: 54px; height: 54px; border-radius: 50%; background: var(--sage-soft);
  display: grid; place-items: center; margin-bottom: 14px;
}
.band--moss .step .num { background: rgba(255,255,255,.16); color: #fff; }

/* stats */
.stats { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; }
.stat { text-align: center; }
.stat .n { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--moss); display: block; line-height: 1; }
.band--moss .stat .n { color: var(--ochre); }
.stat .l { font-size: .92rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); margin-top: 6px; }
.band--moss .stat .l { color: #cfe0c9; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.shot {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; background: var(--paper-2);
}
.shot .scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 26px 16px 12px; color: #fff; font-weight: 700; font-size: .98rem;
  background: linear-gradient(to top, rgba(47,64,52,.78), transparent);
}
.shot.tall { grid-row: span 2; aspect-ratio: auto; }

/* ---------- Testimonial ---------- */
.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote p { font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--ink); line-height: 1.4; }
.quote .who { font-family: var(--sans); font-style: normal; font-weight: 700; color: var(--sage-deep); font-size: 1rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.contact-info li { list-style: none; display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-info ul { padding: 0; margin: 0; }
.contact-info .ci-icon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; background: var(--sage-soft); display: grid; place-items: center; }
.contact-info .ci-icon svg { width: 24px; height: 24px; }
.contact-info .ci-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--sage-deep); font-weight: 700; }
.contact-info .ci-value { font-weight: 700; color: var(--ink); font-size: 1.05rem; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--sage); box-shadow: 0 0 0 4px var(--sage-soft);
}
.field textarea { resize: vertical; min-height: 120px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin: 12px 0 0; text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d9e3d4; padding: 56px 0 26px; margin-top: 10px; }
.site-footer a { color: #cdd9c7; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.site-footer .brand .brand-name { color: #fff; }
.site-footer .brand .brand-sub { color: var(--sage); }
.footer-col h4 { color: #fff; font-family: var(--sans); font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .85rem; color: #aebfa8; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 64px 0 48px; text-align: center; position: relative; overflow: hidden; }
.page-hero .eyebrow { transform: rotate(-2deg); }
.page-hero p { max-width: 60ch; margin-left: auto; margin-right: auto; }

/* utilities */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}.tac{text-align:center}
