/* Fonts load non-blocking via <link> in each page <head> for faster first paint. */

/* ==========================================================================
   McBride Landscaping, LLC — stylesheet
   Warm, premium outdoor aesthetic: full-bleed imagery, large tight headlines,
   generous whitespace, hairline detail. Forest green + terracotta + sand.
   ========================================================================== */

:root {
  --forest:    #14301d;
  --forest-2:  #1f4d2e;
  --moss:      #356b41;
  --leaf:      #4f8c5c;
  --accent:    #a85c22;   /* terracotta — warm earth accent (AA-compliant on white) */
  --accent-2:  #e2a24c;   /* golden hour highlight */
  --ink:       #18261c;
  --body:      #46514a;
  --muted:     #586559;
  --line:      #e3e7e1;
  --line-dark: rgba(255,255,255,0.16);
  --bg:        #ffffff;
  --bg-alt:    #f4f6f1;
  --sand:      #efe9dd;
  --bg-dark:   #14301d;
  --max:       1240px;
  --pad:       clamp(1.25rem, 5vw, 3rem);
  --header-h:  92px;
  --font:      "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.35rem, 5.4vw, 3.9rem); font-weight: 900; }
h2 { font-size: clamp(1.85rem, 3.8vw, 3rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
p { margin: 0 0 1rem; }

a { color: var(--moss); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--accent); }

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

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: #fff; padding: 0.6rem 1rem; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 1.1rem;
}
.eyebrow.light { color: var(--accent-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 28px -14px rgba(185,104,43,0.8); }
.btn-primary:hover { background: #8f4d1c; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-ghost:hover { background: #fff; color: var(--forest); border-color: #fff; }
.btn-dark { background: var(--forest); color: #fff; }
.btn-dark:hover { background: var(--forest-2); color: #fff; }

/* ---------- Header / nav (transparent over hero, solid on scroll) ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header::before {
  content: "";
  position: absolute; inset: 0; bottom: auto; height: 160px;
  background: linear-gradient(to bottom, rgba(10,28,16,0.55), transparent);
  pointer-events: none; opacity: 1;
  transition: opacity 0.35s ease;
}
.site-header.scrolled {
  --header-h: 72px;
  background: var(--forest);
  box-shadow: 0 10px 30px -16px rgba(0,0,0,0.6);
  border-bottom-color: var(--accent);
}
.site-header.scrolled::before { opacity: 0; }
.site-header.scrolled .brand-logo { height: 46px; }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: var(--header-h); transition: height 0.3s ease;
}
.brand { display: flex; align-items: center; line-height: 1.05; position: relative; }
.brand a { color: #fff; display: inline-flex; align-items: center; gap: 0.6rem; }
.brand-logo { height: 64px; width: auto; display: block; transition: height 0.3s ease; }
.brand .name { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; color: #fff; }
.brand .tag {
  font-size: 0.56rem; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent-2); margin-top: 2px; font-weight: 600; white-space: nowrap;
}

.nav-call {
  display: inline-flex; align-items: center; gap: 0.45rem; color: #fff; font-weight: 700;
  margin-left: auto; margin-right: 0.5rem; white-space: nowrap;
}
.nav-call svg { width: 18px; height: 18px; color: var(--accent-2); }
.nav-call:hover { color: var(--accent-2); }

.nav-toggle {
  display: inline-block; background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5); border-radius: 5px;
  padding: 0.45rem 0.8rem; font-weight: 700; font-size: 0.9rem; cursor: pointer;
}

.nav-links {
  list-style: none; display: none; margin: 0; padding: 0;
}
.nav-links a { color: #fff; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-2); }
.nav-links .cta {
  background: var(--accent); color: #fff !important; padding: 0.6rem 1.1rem;
  border-radius: 6px; font-weight: 700;
}
.nav-links .cta:hover { background: #8f4d1c; }
.caret { font-size: 0.7em; opacity: 0.8; }

@media (min-width: 1200px) {
  .nav-toggle { display: none; }
  .nav-call { display: inline-flex; }
  .nav-links {
    display: flex; align-items: center; gap: 1.1rem;
  }
  .nav-links .has-sub { position: relative; }
  .subnav {
    list-style: none; margin: 0; padding: 0.5rem 0;
    position: absolute; top: 100%; left: 0; min-width: 240px;
    background: #fff; border-radius: 8px; box-shadow: 0 18px 44px -18px rgba(0,0,0,0.45);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .nav-links .has-sub:hover .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
  .subnav a { color: var(--ink); display: block; padding: 0.55rem 1.2rem; font-weight: 600; }
  .subnav a:hover { color: var(--accent); background: var(--bg-alt); }
}

@media (max-width: 1199px) {
  .nav-links.open {
    display: block; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--forest); padding: 0.5rem 0 1rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.6);
    border-top: 1px solid var(--line-dark);
  }
  .nav-links.open li { padding: 0; border-bottom: 1px solid var(--line-dark); }
  .nav-links.open a { display: block; padding: 0.85rem var(--pad); }
  .nav-links.open .cta { margin: 0.6rem var(--pad); text-align: center; }
  .nav-links .subnav { list-style: none; margin: 0; padding: 0; display: none; background: rgba(0,0,0,0.18); }
  .nav-links .has-sub.open .subnav { display: block; }
  .nav-links .subnav a { padding-left: calc(var(--pad) + 1rem); font-size: 0.92rem; }
}

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-sand { background: var(--sand); }
.section-dark {
  background: var(--bg-dark); color: #e9efe7; position: relative; overflow: hidden;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,40%), rgba(226,162,76,0.12), transparent 70%);
}
.section-dark .wrap { position: relative; z-index: 1; }

.section-head { max-width: 720px; margin: 0 auto clamp(2rem,4vw,3rem); text-align: center; }
.section-head p { color: var(--body); font-size: 1.08rem; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 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: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; padding: 1.7rem; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  will-change: transform;
}
.card:hover { box-shadow: 0 22px 48px -26px rgba(20,48,29,0.45); border-color: transparent; }
.card h3 { color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.card p { color: var(--body); margin-bottom: 0; }
.card .arr { color: var(--accent); transition: transform 0.18s ease; }
.card:hover .arr { transform: translateX(4px); }
.card .ic { width: 40px; height: 40px; color: var(--moss); margin-bottom: 0.9rem; }

.media-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease; will-change: transform;
}
.media-card:hover { box-shadow: 0 26px 54px -28px rgba(20,48,29,0.5); }
.media-card .media { aspect-ratio: 16/10; overflow: hidden; background: var(--sand); }
.media-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.media-card:hover .media img { transform: scale(1.05); }
.media-card .body { padding: 1.6rem; }
.media-card .kicker, .kicker {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.68rem;
  font-weight: 700; color: var(--accent); display: block; margin-bottom: 0.5rem;
}
.media-card .body p { color: var(--body); margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; padding-top: calc(var(--header-h) + clamp(4rem, 12vw, 9rem));
  padding-bottom: clamp(4rem, 12vw, 9rem); overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; max-width: 880px; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero .lead { font-size: clamp(1.05rem, 1.8vw, 1.3rem); color: rgba(255,255,255,0.92); max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero.has-photo::before {
  content: ""; position: absolute; inset: -8% 0;
  background-image: var(--photo); background-size: cover; background-position: center;
  transform: translateY(var(--py, 0)); z-index: 0;
}
.hero.has-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(105deg, rgba(12,32,18,0.86) 0%, rgba(12,32,18,0.62) 45%, rgba(12,32,18,0.34) 100%);
}

/* ---------- Page header (interior pages) ---------- */
.page-head {
  position: relative; color: #fff; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 5.5rem));
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-2) 60%, var(--moss) 130%);
}
.page-head .wrap { position: relative; z-index: 2; max-width: 820px; }
.page-head h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-head p { color: rgba(255,255,255,0.9); font-size: 1.1rem; max-width: 620px; margin-bottom: 0; }
.page-head.has-photo::before {
  content: ""; position: absolute; inset: -8% 0; z-index: 0;
  background-image: var(--photo); background-size: cover; background-position: center;
  transform: translateY(var(--py,0));
}
.page-head.has-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(12,32,18,0.85), rgba(12,32,18,0.55));
}
.crumbs { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: 0.9rem; }
.crumbs a { color: rgba(255,255,255,0.9); }
.crumbs a:hover { color: var(--accent-2); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split h2 { margin-bottom: 0.8rem; }
.split-photo { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; background: var(--sand); }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }

.flist { list-style: none; margin: 0; padding: 0; }
.flist li { position: relative; padding: 0.65rem 0 0.65rem 2rem; border-bottom: 1px solid var(--line); color: var(--body); }
.flist li:last-child { border-bottom: 0; }
.flist li::before {
  content: ""; position: absolute; left: 0; top: 1.05rem; width: 13px; height: 8px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat .num { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 900; color: var(--accent-2); letter-spacing: -0.03em; line-height: 1; }
.stat .lbl { margin-top: 0.5rem; font-size: 0.92rem; color: rgba(255,255,255,0.82); }

/* ---------- Photo band ---------- */
.photo-band { height: clamp(220px, 34vw, 420px); background-size: cover; background-position: center; background-attachment: fixed; }
@media (max-width: 760px) { .photo-band { background-attachment: scroll; } }

/* ---------- Work / gallery grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 860px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .work-grid { grid-template-columns: 1fr; } }
.work-tile { position: relative; margin: 0; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; background: var(--sand); }
.work-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.work-tile:hover img { transform: scale(1.06); }
.work-tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem;
  color: #fff; font-weight: 600; font-size: 0.92rem;
  background: linear-gradient(to top, rgba(12,32,18,0.82), transparent);
}

/* HOA common-area photo showcase (portrait job-site photos on a dark band) */
.hoa-showcase h2 { color: #fff; }
.hoa-showcase .section-head p { color: rgba(255,255,255,0.85); }
.hoa-showcase .work-tile { aspect-ratio: 3/4; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 0.5rem; }
.step .n {
  width: 44px; height: 44px; border-radius: 50%; background: var(--sand); color: var(--forest);
  font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 0.9rem;
  border: 1.5px solid var(--line);
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--body); margin-bottom: 0; font-size: 0.97rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--forest) 0%, var(--forest-2) 70%);
  color: #fff; text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.88); max-width: 620px; margin: 0 auto 1.8rem; font-size: 1.08rem; }

/* ---------- Pricing / tiers ---------- */
.tier { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 2rem 1.7rem; }
.tier.featured { border-color: var(--accent); box-shadow: 0 26px 54px -28px rgba(185,104,43,0.5); position: relative; }
.tier.featured::before {
  content: "Most popular"; position: absolute; top: -0.8rem; left: 1.7rem;
  background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; padding: 0.3rem 0.7rem; border-radius: 20px;
}
.tier h3 { font-size: 1.3rem; }
.tier .price { font-size: 2rem; font-weight: 900; color: var(--ink); letter-spacing: -0.03em; }
.tier .price span { font-size: 0.9rem; font-weight: 600; color: var(--muted); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.6rem, 4vw, 2.5rem); box-shadow: 0 28px 60px -34px rgba(20,48,29,0.35); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; font-size: 0.95rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.9rem; border: 1.5px solid var(--line); border-radius: 8px;
  font: inherit; color: var(--ink); background: #fff; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(53,107,65,0.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-thanks { display: none; text-align: center; padding: 2rem 1rem; }
.form-thanks .ic { width: 56px; height: 56px; color: var(--moss); margin: 0 auto 1rem; }
.hp { position: absolute; left: -9999px; }
.field input[type="file"] { padding: 0.7rem 0.9rem; background: var(--bg-alt); border-style: dashed; cursor: pointer; font-size: 0.92rem; }
.field input[type="file"]::file-selector-button { font: inherit; font-weight: 700; margin-right: 0.85rem; padding: 0.45rem 0.95rem; border: none; border-radius: 6px; background: var(--moss); color: #fff; cursor: pointer; transition: background 0.15s ease; }
.field input[type="file"]::file-selector-button:hover { background: var(--forest); }
.field .hint { display: block; margin-top: 0.45rem; font-size: 0.82rem; color: var(--muted); line-height: 1.4; }

/* ---------- Plant Library ---------- */
.lib-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; justify-content: space-between; margin-bottom: 1.4rem; }
.lib-search { position: relative; flex: 1 1 280px; }
.lib-search svg { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.lib-search input { width: 100%; padding: 0.85rem 0.95rem 0.85rem 2.6rem; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); background: #fff; }
.lib-search input:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(53,107,65,0.15); }
.lib-filters { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-end; }
.lib-field { display: flex; flex-direction: column; gap: 0.25rem; }
.lib-field span { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.lib-field select { padding: 0.6rem 0.8rem; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; color: var(--ink); background: #fff; cursor: pointer; }
.lib-field select:focus { outline: none; border-color: var(--moss); }
.lib-check { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--ink); font-size: 0.92rem; cursor: pointer; padding-bottom: 0.55rem; }
.lib-check input { width: 1.05rem; height: 1.05rem; accent-color: var(--moss); cursor: pointer; }
.lib-count { color: var(--muted); font-weight: 600; font-size: 0.92rem; margin: 0 0 1rem; }
.lib-foot-note { margin-top: 1.8rem; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.linklike { background: none; border: none; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; padding: 0; }
.linklike:hover { text-decoration: underline; }

.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 1.1rem; }
.lib-empty { color: var(--body); padding: 1.5rem 0; }
.plant-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; text-align: left; width: 100%; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--leaf); border-radius: 14px; padding: 1.05rem 1.15rem; cursor: pointer; font: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.plant-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -22px rgba(20,48,29,0.4); }
.plant-card[data-type="tree"] { border-left-color: #356b41; }
.plant-card[data-type="shrub"] { border-left-color: #4f8c5c; }
.plant-card[data-type="cactus"] { border-left-color: #6f8f3f; }
.plant-card[data-type="succulent"] { border-left-color: #4f9683; }
.plant-card[data-type="accent"] { border-left-color: #8a7d3a; }
.plant-card[data-type="groundcover"] { border-left-color: #9c7b3e; }
.plant-card[data-type="grass"] { border-left-color: #b9682b; }
.plant-card[data-type="vine"] { border-left-color: #7b6aa0; }
.plant-card[data-type="wildflower-perennial"] { border-left-color: #c2557a; }
.plant-card[data-type="annual"] { border-left-color: #e0913a; }
.plant-card[data-type="vegetable"] { border-left-color: #5a9c46; }
.plant-card[data-type="herb"] { border-left-color: #6fa15a; }
.plant-card[data-type="fruit-tree"] { border-left-color: #c46b4f; }
.plant-card[data-type="citrus"] { border-left-color: #e3962b; }
.plant-card[data-type="palm"] { border-left-color: #3f8f6f; }
.plant-card[data-type="rose"] { border-left-color: #cf5a7a; }
.plant-card[data-type="houseplant"] { border-left-color: #4a8a7a; }
.plant-card[data-type="tropical"] { border-left-color: #b8557e; }
.plant-card[data-type="turf"] { border-left-color: #7a9c3a; }
.plant-type { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--moss); }
.plant-name { font-size: 1.12rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.plant-bot { font-style: italic; color: var(--body); font-size: 0.9rem; }
.plant-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.6rem; margin-top: 0.5rem; }
.plant-sun { font-size: 0.8rem; color: var(--muted); }
.plant-size { font-size: 0.82rem; color: var(--body); margin-top: 0.15rem; }
.plant-tag { margin-top: 0.5rem; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.18rem 0.5rem; border-radius: 20px; margin-right: 0.35rem; display: inline-block; }
.plant-tag.native { color: var(--forest-2); background: #e3f0e6; }
.plant-tag.illus { color: #7a6a2e; background: #f3edd6; }
.badge-water { font-size: 0.74rem; font-weight: 800; padding: 0.2rem 0.55rem; border-radius: 20px; white-space: nowrap; }
.badge-water.w-verylow { background: #d8ecdd; color: #1f4d2e; }
.badge-water.w-low { background: #e8f1d6; color: #4a6312; }
.badge-water.w-moderate { background: #fbe7c8; color: #8a5316; }
.badge-water.w-high { background: #f6d2c0; color: #9a3b16; }

/* Library detail modal */
.lib-modal[hidden] { display: none; }
.lib-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.lib-modal-backdrop { position: absolute; inset: 0; background: rgba(15,30,20,0.55); backdrop-filter: blur(2px); }
.lib-modal-panel { position: relative; background: #fff; border-radius: 16px; max-width: 660px; width: 100%; max-height: 88vh; overflow-y: auto; padding: clamp(1.5rem, 4vw, 2.4rem); box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6); }
.lib-modal-close { position: absolute; top: 0.7rem; right: 0.9rem; background: none; border: none; font-size: 1.9rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 0.2rem 0.5rem; }
.lib-modal-close:hover { color: var(--ink); }
.m-type { font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--moss); margin: 0; }
.m-native { color: var(--forest-2); }
#lib-modal-body h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin: 0.2rem 0 0.15rem; color: var(--ink); }
.m-bot { font-size: 1rem; color: var(--body); margin: 0; }
.m-aka { font-size: 0.85rem; color: var(--muted); margin: 0.3rem 0 0; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.1rem 1.4rem; margin: 1.4rem 0; border-top: 1px solid var(--line); padding-top: 1.1rem; }
.spec { display: flex; flex-direction: column; padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.spec dt { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.spec dd { margin: 0.15rem 0 0; color: var(--ink); font-size: 0.95rem; }
@media (max-width: 520px) { .spec-grid { grid-template-columns: 1fr; } }
.care-grid { display: flex; flex-direction: column; gap: 1rem; margin-top: 0.3rem; }
.care-block h4 { margin: 0 0 0.25rem; font-size: 0.95rem; color: var(--forest-2); }
.care-block p { margin: 0; color: var(--body); line-height: 1.55; }
.m-sources { margin: 1.3rem 0 0; font-size: 0.78rem; color: var(--muted); font-style: italic; }
.m-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.m-actions .m-add { flex: 0 0 auto; }
.m-actions .m-cta { flex: 1 1 auto; margin: 0; text-align: center; }
.m-add.added { background: var(--moss); border-color: var(--moss); }

/* Floating "estimate list" bar on the Library page */
.lib-bar[hidden] { display: none; }
.lib-bar { position: fixed; left: 50%; bottom: 1.1rem; transform: translateX(-50%); z-index: 900; display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0.7rem 1.1rem; box-shadow: 0 22px 50px -20px rgba(20,48,29,0.45); max-width: calc(100% - 2rem); }
.lib-bar-count { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.lib-bar-count strong { color: var(--moss); }
.lib-bar-actions { display: flex; align-items: center; gap: 0.9rem; }
.lib-bar .btn { padding: 0.55rem 1rem; }

/* Contact form: plants carried over from the library */
.field textarea.prefilled { border-color: var(--moss); background: #f3f8f3; }

/* ---------- Plant Library: photos, share dialog, toast ---------- */
.plant-card { padding: 0; gap: 0; overflow: hidden; }
.plant-photo { width: 100%; aspect-ratio: 3 / 2; display: block; background: var(--bg-alt); overflow: hidden; }
.plant-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.plant-card:hover .plant-photo img { transform: scale(1.05); }
.plant-photo.noimg { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #eef2e9, #e1eadd); }
.plant-photo.noimg img { display: none; }
.plant-photo.noimg .ph { width: 46px; height: 46px; color: var(--leaf); opacity: 0.5; }
.plant-body { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; padding: 0.95rem 1.05rem 1.1rem; }

.m-photo { margin: 0 0 1.2rem; border-radius: 12px; overflow: hidden; }
.m-photo img { width: 100%; max-height: 320px; object-fit: cover; display: block; }
.m-photo figcaption { font-size: 0.72rem; color: var(--muted); padding: 0.45rem 0.1rem 0; line-height: 1.45; }
.m-photo figcaption a { color: var(--muted); text-decoration: underline; }

.lib-share[hidden] { display: none; }
.lib-share { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.lib-share-backdrop { position: absolute; inset: 0; background: rgba(15,30,20,0.55); }
.lib-share-panel { position: relative; background: #fff; border-radius: 16px; max-width: 460px; width: 100%; padding: clamp(1.5rem, 4vw, 2.2rem); box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6); }
.lib-share-close { position: absolute; top: 0.55rem; right: 0.8rem; background: none; border: none; font-size: 1.7rem; line-height: 1; color: var(--muted); cursor: pointer; }
.lib-share-close:hover { color: var(--ink); }
.lib-share-panel h3 { margin: 0 0 0.5rem; color: var(--ink); }
.lib-share-panel > p { margin: 0 0 1rem; color: var(--body); font-size: 0.95rem; line-height: 1.5; }
.lib-share-label { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 0.3rem; }
.lib-share-row { display: flex; gap: 0.5rem; }
.lib-share-url { flex: 1 1 auto; min-width: 0; padding: 0.6rem 0.7rem; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; font-size: 0.86rem; color: var(--ink); background: var(--bg-alt); }
.lib-share-row .btn { flex: 0 0 auto; }
.lib-share-code { font-size: 0.85rem; color: var(--muted); margin: 0.9rem 0 0; }
.lib-share-cta { display: block; width: 100%; text-align: center; margin-top: 1.1rem; }

.lib-toast { position: fixed; left: 50%; bottom: 5.5rem; transform: translate(-50%, 12px); z-index: 1200; background: var(--forest); color: #fff; padding: 0.7rem 1.1rem; border-radius: 10px; font-weight: 600; font-size: 0.9rem; box-shadow: 0 18px 40px -18px rgba(0,0,0,0.6); opacity: 0; transition: opacity 0.25s ease, transform 0.25s ease; pointer-events: none; max-width: calc(100% - 2rem); text-align: center; }
.lib-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Irrigation Parts library ---------- */
.irr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.1rem; }
.irr-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; text-align: left; width: 100%; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--moss); border-radius: 14px; padding: 1.05rem 1.15rem; cursor: pointer; font: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.irr-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -22px rgba(20,48,29,0.4); }
.irr-cat { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--moss); }
.irr-name { font-size: 1.1rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.irr-sub { font-size: 0.85rem; color: var(--body); font-weight: 600; }
.irr-what { font-size: 0.9rem; color: var(--body); line-height: 1.5; margin-top: 0.2rem; }
.irr-spec { margin-top: 0.5rem; font-size: 0.8rem; color: var(--forest-2); background: var(--bg-alt); padding: 0.25rem 0.6rem; border-radius: 8px; }
.irr-card[data-cat="controllers-timers"] { border-left-color: #2f6fb0; }
.irr-card[data-cat="valves"] { border-left-color: #356b41; }
.irr-card[data-cat="backflow-prevention"] { border-left-color: #b5532b; }
.irr-card[data-cat="filters-pressure-regulation"] { border-left-color: #8a7d3a; }
.irr-card[data-cat="sprinklers-spray-heads"] { border-left-color: #3f8f8a; }
.irr-card[data-cat="bubblers"] { border-left-color: #4f8c5c; }
.irr-card[data-cat="drip-emitters"] { border-left-color: #2f8fb0; }
.irr-card[data-cat="poly-tubing-drip-line"] { border-left-color: #6a6aa0; }
.irr-card[data-cat="pvc-poly-pipe"] { border-left-color: #7a7f86; }
.irr-card[data-cat="fittings-connectors"] { border-left-color: #9c7b3e; }
.irr-card[data-cat="accessories-wiring"] { border-left-color: #b8557e; }
.irr-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.3rem 0; }
@media (max-width: 520px) { .irr-proscons { grid-template-columns: 1fr; } }
.irr-list h4 { margin: 0 0 0.4rem; font-size: 0.95rem; color: var(--forest-2); }
.irr-list ul { margin: 0; padding-left: 1.1rem; }
.irr-list li { color: var(--body); line-height: 1.5; margin-bottom: 0.3rem; }
.irr-list.cons h4 { color: #8a5316; }
.irr-brands, .irr-pairs { font-size: 0.92rem; color: var(--body); margin: 0.7rem 0 0; }
.irr-badge { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-alt); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.55rem; color: var(--moss); }
.irr-badge .ico { width: 26px; height: 26px; }
.irr-badge-lg { width: 58px; height: 58px; border-radius: 14px; margin-bottom: 0.8rem; }
.irr-badge-lg .ico { width: 32px; height: 32px; }
.irr-visual { width: 100%; aspect-ratio: 16 / 7; display: block; overflow: hidden; border-radius: 10px; background: var(--bg-alt); margin-bottom: 0.6rem; }
.irr-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.irr-card[data-cat="controllers-timers"] .irr-badge, .irr-badge[data-cat="controllers-timers"] { color: #2f6fb0; }
.irr-card[data-cat="valves"] .irr-badge, .irr-badge[data-cat="valves"] { color: #356b41; }
.irr-card[data-cat="backflow-prevention"] .irr-badge, .irr-badge[data-cat="backflow-prevention"] { color: #b5532b; }
.irr-card[data-cat="filters-pressure-regulation"] .irr-badge, .irr-badge[data-cat="filters-pressure-regulation"] { color: #8a7d3a; }
.irr-card[data-cat="sprinklers-spray-heads"] .irr-badge, .irr-badge[data-cat="sprinklers-spray-heads"] { color: #3f8f8a; }
.irr-card[data-cat="bubblers"] .irr-badge, .irr-badge[data-cat="bubblers"] { color: #4f8c5c; }
.irr-card[data-cat="drip-emitters"] .irr-badge, .irr-badge[data-cat="drip-emitters"] { color: #2f8fb0; }
.irr-card[data-cat="poly-tubing-drip-line"] .irr-badge, .irr-badge[data-cat="poly-tubing-drip-line"] { color: #6a6aa0; }
.irr-card[data-cat="pvc-poly-pipe"] .irr-badge, .irr-badge[data-cat="pvc-poly-pipe"] { color: #6f747b; }
.irr-card[data-cat="fittings-connectors"] .irr-badge, .irr-badge[data-cat="fittings-connectors"] { color: #9c7b3e; }
.irr-card[data-cat="accessories-wiring"] .irr-badge, .irr-badge[data-cat="accessories-wiring"] { color: #b8557e; }

/* ---------- Materials Calculator ---------- */
.calc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.4rem, 4vw, 2.2rem); box-shadow: 0 28px 60px -34px rgba(20,48,29,0.35); max-width: 760px; }
.calc-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 600px) { .calc-controls { grid-template-columns: 1fr; } }
.calc-field { display: flex; flex-direction: column; gap: 0.35rem; }
.calc-field > span { font-weight: 700; color: var(--ink); font-size: 0.9rem; }
.calc-field select, .calc-field input, .calc-dim select, .calc-dim input { width: 100%; padding: 0.7rem 0.8rem; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; color: var(--ink); background: #fff; }
.calc-field select:focus, .calc-field input:focus, .calc-dim input:focus, .calc-dim select:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(53,107,65,0.15); }
.calc-depth-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.calc-depth-row input { width: 72px; }
.calc-unit { color: var(--muted); font-size: 0.9rem; }
.calc-presets { display: inline-flex; gap: 0.3rem; margin-left: auto; }
.calc-presets button { padding: 0.4rem 0.6rem; border: 1.5px solid var(--line); background: #fff; border-radius: 7px; font: inherit; font-weight: 700; font-size: 0.85rem; color: var(--body); cursor: pointer; }
.calc-presets button.on { border-color: var(--moss); background: #f3f8f3; color: var(--forest-2); }
.calc-areas-head { font-weight: 700; color: var(--ink); margin: 1.6rem 0 0.7rem; font-size: 0.95rem; }
.calc-area { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.7rem; padding: 0.85rem; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 0.7rem; background: var(--bg-alt); position: relative; }
.calc-dim { display: flex; flex-direction: column; gap: 0.25rem; flex: 1 1 120px; }
.calc-dim > span { font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.calc-rm { position: absolute; top: 0.35rem; right: 0.5rem; border: none; background: none; font-size: 1.3rem; line-height: 1; color: var(--muted); cursor: pointer; }
.calc-rm:hover { color: var(--accent); }
.calc-area-sqft { flex-basis: 100%; font-size: 0.82rem; color: var(--moss); font-weight: 700; }
.calc-add { background: none; border: 1.5px dashed var(--line); color: var(--moss); font: inherit; font-weight: 700; padding: 0.65rem 1rem; border-radius: 9px; cursor: pointer; width: 100%; }
.calc-add:hover { border-color: var(--moss); background: var(--bg-alt); }
.calc-result { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.calc-hint { color: var(--muted); margin: 0; }
.calc-area-total { color: var(--body); margin: 0 0 0.4rem; }
.calc-big { font-size: 1.6rem; color: var(--ink); margin: 0.2rem 0; }
.calc-big strong { color: var(--forest-2); }
.calc-or { font-size: 1rem; color: var(--muted); font-weight: 600; }
.calc-bags { margin: 0.25rem 0 0; color: var(--body); }
.calc-cov { margin: 0.6rem 0 0; font-size: 0.88rem; color: var(--muted); }
.calc-disclaimer { margin: 0.75rem 0 0; font-size: 0.8rem; color: var(--muted); }
.calc-cta { margin-top: 1.3rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 0.4rem 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 1rem 0; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.3rem; top: 0.85rem; font-size: 1.4rem; color: var(--accent); font-weight: 400; transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--body); padding-bottom: 1rem; margin: 0; }

/* ---------- Contact strip ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; margin-bottom: 1.3rem; }
.contact-list .ic { width: 38px; height: 38px; flex: none; color: var(--moss); background: var(--bg-alt); border-radius: 9px; padding: 8px; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a { color: var(--moss); }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose p, .prose li { color: var(--body); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: rgba(255,255,255,0.78); padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .name { font-size: 1.2rem; font-weight: 800; color: #fff; display: block; margin-bottom: 0.7rem; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.site-footer h3 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; font-size: 0.94rem; }
.site-footer a { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: var(--accent-2); }
.footer-social a { display: inline-flex; color: rgba(255,255,255,0.8); }
.footer-social a:hover { color: var(--accent-2); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; justify-content: space-between;
  border-top: 1px solid var(--line-dark); margin-top: 2.5rem; padding-top: 1.5rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
}
.footer-bottom a { color: rgba(255,255,255,0.7); }

/* ---------- Scroll reveal (progressive enhancement) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.lead { font-size: 1.12rem; color: var(--body); }
.badge { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 30px; padding: 0.4rem 0.9rem; font-size: 0.85rem; font-weight: 600; color: var(--forest-2); }
.section-dark .badge { background: rgba(255,255,255,0.08); border-color: var(--line-dark); color: #fff; }

/* ---------- Multi-select checkbox rows (estimator) ---------- */
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 0.45rem; }
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }
.check { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-weight: 500; color: var(--ink); line-height: 1.2; transition: border-color .15s ease, background .15s ease; }
.check:hover { border-color: var(--accent); }
.check input { width: 1.05rem; height: 1.05rem; accent-color: var(--accent); flex: 0 0 auto; margin: 0; }
.check:has(input:checked) { border-color: var(--accent); background: #fff7ed; }

/* ---------- Responsive logo / header sizing ---------- */
@media (max-width: 1199px) { :root { --header-h: 80px; } .brand-logo { height: 56px; } .nav-call .num { display: none; }
  .site-header.scrolled { --header-h: 64px; } .site-header.scrolled .brand-logo { height: 44px; } }
@media (max-width: 600px)  { :root { --header-h: 68px; } .brand-logo { height: 48px; }
  .site-header.scrolled { --header-h: 58px; } .site-header.scrolled .brand-logo { height: 40px; } }

/* ---------- Clickable service cards ---------- */
a.media-card { display: block; color: inherit; cursor: pointer; }
a.media-card:hover { color: inherit; }
.media-card .more { display: inline-block; margin-top: 0.9rem; color: var(--accent); font-weight: 700; font-size: 0.92rem; }
a.media-card:hover .more { text-decoration: underline; }

/* ---------- Clickable service photos (services page) ---------- */
.split-photo a { display: block; width: 100%; height: 100%; }
.split-photo a img { transition: transform .4s ease; }
.split-photo a:hover img { transform: scale(1.04); }
.more-link { display: inline-block; margin-top: 1.4rem; color: var(--accent); font-weight: 700; font-size: 0.95rem; }
.more-link:hover { text-decoration: underline; }

/* ---------- Standalone plant pages (/plants/<id>.html) + A–Z index ---------- */
.pp-breadcrumb { background: var(--sand); border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.pp-breadcrumb .wrap { padding-top: 0.8rem; padding-bottom: 0.8rem; }
.pp-breadcrumb a { color: var(--forest-2); font-weight: 600; }
.pp-breadcrumb span { color: var(--muted); }
.plant-page { padding: clamp(2rem,5vw,3.5rem) 0; }
.plant-page .pp-wrap { max-width: 760px; }
.pp-head h1 { margin: 0.15rem 0 0.25rem; }
.pp-head .m-bot { font-size: 1.05rem; }
.pp-badges { display: flex; gap: 0.5rem; margin: 0.7rem 0 0; }
.pp-badges:empty { display: none; }
.pp-summary { font-size: 1.12rem; color: var(--body); line-height: 1.62; margin-top: 1.1rem; }
.plant-page .m-photo { margin: 1.7rem 0; }
.plant-page .m-photo img { max-height: 460px; }
.pp-h2 { font-size: 1.1rem; margin: 1.9rem 0 0.2rem; }
.pp-care { margin-top: 2.2rem; }
.pp-care h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 1.1rem; }
.pp-care .care-block { margin-bottom: 1.3rem; }
.pp-care .care-block h3 { font-size: 1rem; color: var(--forest-2); margin: 0 0 0.3rem; }
.pp-actions { margin-top: 2.2rem; }
.pp-related { margin-top: 2.8rem; border-top: 1px solid var(--line); padding-top: 1.7rem; }
.pp-related h2 { font-size: 1.2rem; margin-bottom: 0.9rem; }
.pp-related-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 0.45rem 1.4rem; }
.pp-related-list a { color: var(--forest-2); font-weight: 600; font-size: 0.95rem; }
@media (max-width: 640px){ .pp-related-list { grid-template-columns: 1fr 1fr; } }
.pp-back { margin-top: 2.2rem; }
.pp-back a { color: var(--accent); font-weight: 700; }

/* A–Z index on the library page — crawlable links to every plant page */
.lib-allplants { margin-top: 2.6rem; border-top: 1px solid var(--line); padding-top: 1.3rem; }
.lib-allplants summary { font-weight: 700; cursor: pointer; color: var(--forest-2); font-size: 1rem; }
.lib-allplants-list { list-style: none; padding: 1.1rem 0 0; margin: 0; columns: 3; column-gap: 1.8rem; }
.lib-allplants-list li { break-inside: avoid; margin-bottom: 0.35rem; }
.lib-allplants-list a { color: var(--body); font-size: 0.9rem; }
.lib-allplants-list a:hover { color: var(--accent); }
@media (max-width: 700px){ .lib-allplants-list { columns: 2; } }
@media (max-width: 460px){ .lib-allplants-list { columns: 1; } }

/* "View full guide" link inside the library modal */
.m-fullguide { display: inline-block; margin: 0.2rem 0 0.4rem; color: var(--accent); font-weight: 700; font-size: 0.92rem; }
.m-fullguide:hover { text-decoration: underline; }

/* ---------- Mobile sticky call / estimate bar (injected by site.js, mobile only) ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; box-shadow: 0 -6px 20px -10px rgba(0,0,0,0.45);
}
.mobile-cta a {
  flex: 1 1 0; display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.95rem 0.5rem; font-weight: 700; font-size: 1rem; color: #fff !important; letter-spacing: 0.01em;
}
.mobile-cta .mcta-call { background: var(--forest); }
.mobile-cta .mcta-quote { background: var(--accent); }
.mobile-cta svg { width: 18px; height: 18px; }
@media (max-width: 1080px) {
  .mobile-cta { display: flex; }
  body.has-mobile-cta { padding-bottom: 56px; }
  body.has-lib-bar { padding-bottom: 150px; }
}

/* ---------- Accessibility: visible keyboard focus + sand-section eyebrow contrast ---------- */
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 3px; }
.site-header :focus-visible, .section-dark :focus-visible, .cta-band :focus-visible, .hero :focus-visible, .page-head :focus-visible { outline-color: #fff; }
.section-sand .eyebrow { color: #8a4a1c; }  /* AA contrast on the sand background */
