/* ============================================================
   PlantMapper — Lawn Care
   Additive only. Uses the shared design tokens and reuses the
   approved Seasonal Gardening hero (.sg-hero) unchanged; this
   file adds only the components the lawn page needs.
   No existing selector is redefined.
   ============================================================ */

/* ---------- 1. IN-PAGE JUMP MENU ---------- */
.lc-jump {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--silo-soft, #e4efdd) 0%, var(--bg, #f7f8f3) 100%);
  padding: 26px 0 28px;
}
.lc-jump-title {
  margin: 0 0 14px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-deep, #426544);
  text-align: center;
}
.lc-jump-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px;
  max-width: 1060px;
  margin: 0 auto;
}
.lc-jump-link {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--line-strong, #d3dccd);
  border-radius: var(--radius-sm, 10px);
  background: var(--bg-elev, #fff);
  color: var(--ink, #1f2a23);
  text-decoration: none;
  font-size: .86rem;
  line-height: 1.4;
  transition: border-color .15s ease, transform .15s ease, box-shadow .18s ease;
}
.lc-jump-link:hover,
.lc-jump-link:focus-visible {
  border-color: var(--silo-accent, #4f7b4a);
  transform: translateY(-1px);
  box-shadow: var(--shadow-1, 0 2px 6px rgba(30,45,30,.06));
}
.lc-jump-link:focus-visible { outline: 2px solid var(--silo-accent, #4f7b4a); outline-offset: 2px; }
.lc-jump-n {
  flex: none;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--silo-accent, #4f7b4a);
  font-variant-numeric: tabular-nums;
}

/* anchored sections clear the sticky header when jumped to */
.lc-page section[id] { scroll-margin-top: 96px; }

/* ---------- 2. THE TWELVE-MONTH CALENDAR ---------- */
.lc-months {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 14px;
}
.lc-month {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius, 16px);
  background: var(--bg-elev, #fff);
  overflow: hidden;
}
.lc-month-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  background: var(--silo-soft, #e4efdd);
  border-bottom: 1px solid var(--line);
}
.lc-month-head h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.04rem;
  font-weight: 600;
}
.lc-month-head h3 a { color: var(--ink, #1f2a23); text-decoration: none; }
.lc-month-head h3 a:hover { text-decoration: underline; }
.lc-month-mow {
  flex: none;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--green-deep, #426544);
}
.lc-month-body { margin: 0; padding: 14px 16px 16px; }
.lc-month-body dt {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted, #76817a);
  margin-top: 9px;
}
.lc-month-body dt:first-child { margin-top: 0; }
.lc-month-body dd {
  margin: 3px 0 0;
  font-size: .86rem;
  line-height: 1.58;
  color: var(--ink-soft, #4a554c);
}

/* ---------- 3. DIAGNOSTIC CARDS ---------- */
.lc-diags {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}
.lc-diag {
  display: flex;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--silo-accent, #4f7b4a);
  border-radius: var(--radius, 16px);
  background: var(--bg-elev, #fff);
}
.lc-diag-ic {
  flex: none;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--silo-soft, #e4efdd);
  color: var(--silo-accent, #4f7b4a);
}
.lc-diag-ic svg { width: 18px; height: 18px; display: block; }
.lc-diag-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink, #1f2a23);
}
.lc-diag-body p { margin: 0 0 5px; font-size: .86rem; line-height: 1.58; color: var(--ink-soft, #4a554c); }
.lc-diag-body p:last-child { margin-bottom: 0; }
.lc-diag-body strong { color: var(--ink, #1f2a23); }

/* ---------- 4. TABLES ---------- */
.lc-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lc-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: .87rem;
  background: var(--bg-elev, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius, 16px);
  overflow: hidden;
}
.lc-table caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 10px;
  font-size: .8rem;
  color: var(--muted, #76817a);
}
.lc-table th, .lc-table td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}
.lc-table thead th {
  background: var(--silo-soft, #e4efdd);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-deep, #426544);
}
.lc-table tbody th { font-weight: 600; color: var(--ink, #1f2a23); }
.lc-table td { color: var(--ink-soft, #4a554c); }
.lc-table tbody tr:last-child th,
.lc-table tbody tr:last-child td { border-bottom: 0; }
.lc-table tbody tr:nth-child(even) { background: rgba(0,0,0,.014); }

/* ---------- 5. STEP LISTS ---------- */
.lc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: none; }
.lc-steps li {
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius, 16px);
  background: var(--bg-elev, #fff);
}
.lc-steps li h3 {
  margin: 0 0 5px;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink, #1f2a23);
}
.lc-steps li p { margin: 0; font-size: .88rem; line-height: 1.62; color: var(--ink-soft, #4a554c); }

/* ---------- 6. CALLOUTS ---------- */
.lc-callout {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin: 18px 0 0;
  padding: 16px 18px;
  border-radius: var(--radius, 16px);
  border: 1px solid var(--line-strong, #d3dccd);
  background: var(--bg-cream, #f6f1e4);
}
.lc-callout--warn { border-color: #d9c39a; background: #fbf4e6; }
.lc-callout--tip  { border-color: #bfd4b6; background: var(--silo-soft, #e4efdd); }
.lc-callout-ic {
  flex: none;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,.7);
  color: var(--green-deep, #426544);
}
.lc-callout--warn .lc-callout-ic { color: #8a6416; }
.lc-callout-ic svg { width: 17px; height: 17px; display: block; }
.lc-callout h3 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink, #1f2a23);
}
.lc-callout p { margin: 0; font-size: .88rem; line-height: 1.62; color: var(--ink-soft, #4a554c); }

/* ---------- 7. ALTERNATING SECTION GROUND ---------- */
.lc-page .section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(228,239,221,.34) 0%, rgba(228,239,221,0) 100%);
  border-radius: var(--radius-lg, 22px);
  padding-left: clamp(0px, 2vw, 26px);
  padding-right: clamp(0px, 2vw, 26px);
}

@media (max-width: 720px) {
  .lc-jump { padding: 20px 0 22px; }
  .lc-jump-grid { grid-template-columns: minmax(0, 1fr); }
  .lc-page section[id] { scroll-margin-top: 76px; }
  .lc-page .section:nth-of-type(even) { padding-left: 0; padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .lc-jump-link { transition: none; }
  .lc-jump-link:hover { transform: none; }
}
