/* SOMDRoboMow homepage — 2026-10 redesign (Alan Bjerke direction)
   Section rhythm: Image → Light → Image → Light → Dark → Light → Dark → Light → Dark → Image */

.container-wide { width: min(100% - 2.5rem, var(--max-wide)); margin-inline: auto; }
.text-accent { color: var(--accent); }

/* Icons */
.ico, .ico-md, .ico-lg, .ico-inline {
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;
}
.ico { width: 18px; height: 18px; }
.ico-md { width: 30px; height: 30px; }
.ico-lg { width: 40px; height: 40px; }
.ico-inline { width: 1.15em; height: 1.15em; stroke-width: 2.2; }

/* Type */
.h-display, .h-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.005em;
  margin: 0 0 1.1rem;
}
.h-display { font-size: clamp(2.5rem, 8.4vw, 5.4rem); }
.h-title { font-size: clamp(2.05rem, 5.6vw, 3.5rem); }
.h-eyebrow, .h-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.h-kicker, .h-why .h-eyebrow, .h-x9 .h-eyebrow, .h-local .h-eyebrow, .h-real .h-eyebrow { color: var(--accent); }
.h-head { max-width: 46rem; margin-bottom: 2.75rem; }
.h-head p:last-child { margin-bottom: 0; font-size: 1.12rem; color: var(--ink-muted); }
.h-head-center { margin-inline: auto; text-align: center; }
.h-center { text-align: center; margin-top: 2.25rem; }
.h-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; margin: 1.75rem 0 1.5rem; }
.h-actions .btn { margin: 0; }
.h-textlink { color: var(--accent); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.h-textlink:hover { color: var(--accent-strong); }

/* ---------- 1. HERO ---------- */
.h-hero { position: relative; background: var(--black); color: #fff; overflow: hidden; isolation: isolate; }
.h-hero-media { position: relative; aspect-ratio: 5 / 4; }
.h-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.h-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 11, 7, 0) 45%, rgba(6, 11, 7, 0.85) 88%, var(--black) 100%);
}
.h-hero-inner { position: relative; z-index: 1; margin-top: -3.5rem; padding-bottom: 3.25rem; }
.h-hero-sub { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 700; line-height: 1.25; margin: 0 0 0.9rem; }
.h-hero-text { font-size: 1.08rem; color: rgba(255, 255, 255, 0.86); max-width: 34rem; margin: 0; }
.h-hero-line { font-size: 0.86rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); margin: 0 0 0.6rem; }
.h-hero-line span, .h-hero-area span { color: var(--accent); padding: 0 0.15rem; }
.h-hero-area { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem 0.4rem; font-weight: 700; color: #fff; margin: 0; }
.h-hero-area .ico { color: var(--accent); }

@media (min-width: 900px) {
  .h-hero { min-height: clamp(600px, calc(100vh - var(--header-h)), 820px); display: flex; align-items: center; }
  .h-hero-media { position: absolute; inset: 0; aspect-ratio: auto; z-index: -1; }
  .h-hero-media img { object-position: 60% 45%; }
  .h-hero-media::after {
    background:
      linear-gradient(90deg, rgba(6, 11, 7, 0.94) 0%, rgba(6, 11, 7, 0.82) 30%, rgba(6, 11, 7, 0.35) 52%, rgba(6, 11, 7, 0) 68%),
      linear-gradient(0deg, rgba(6, 11, 7, 0.55) 0%, rgba(6, 11, 7, 0) 30%);
  }
  .h-hero-inner { margin-top: 0; padding: 4.5rem 0; }
  .h-hero-copy { max-width: 37rem; }
}

/* ---------- 2. VALUE BAR (light) ---------- */
.h-values { background: #fff; border-bottom: 1px solid var(--border); }
.h-values-list { list-style: none; margin: 0; padding: 2.25rem 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
.h-values-list li { text-align: center; padding: 0 0.25rem; }
.h-values-list li:last-child { grid-column: 1 / -1; }
.h-values-list .ico-lg { color: var(--accent-ink); margin: 0 auto 0.7rem; display: block; }
.h-values-list h3 { font-size: 0.98rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; margin: 0 0 0.3rem; line-height: 1.2; }
.h-values-list p { margin: 0; font-size: 0.93rem; line-height: 1.4; color: var(--ink-muted); }
@media (min-width: 640px) {
  .h-values-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .h-values-list li:last-child { grid-column: auto; }
}
@media (min-width: 1024px) {
  .h-values-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 2.5rem 0; }
  .h-values-list li { padding: 0 1.25rem; border-left: 1px solid var(--border); }
  .h-values-list li:first-child { border-left: 0; }
}

/* ---------- 3. WHY ROBOTIC MOWING (image) ---------- */
.h-why { position: relative; background: var(--night); color: #fff; overflow: hidden; }
.h-why-media { position: relative; aspect-ratio: 16 / 10; }
.h-why-media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }
.h-why-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 20, 13, 0) 55%, var(--night) 100%); }
.h-why-inner { position: relative; padding: 2.5rem 0 4rem; }
.h-why-copy > p { color: rgba(255, 255, 255, 0.84); font-size: 1.08rem; max-width: 36rem; }
.h-benefits { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.4rem; }
.h-benefits li, .h-points li { display: flex; gap: 0.9rem; align-items: flex-start; }
.h-benefits .ico-md, .h-points .ico-md { color: var(--accent); margin-top: 0.1rem; }
.h-benefits h3, .h-points h3 { margin: 0 0 0.2rem; font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; }
.h-benefits p, .h-points p { margin: 0; font-size: 0.95rem; line-height: 1.45; color: rgba(255, 255, 255, 0.75); }
@media (min-width: 640px) { .h-benefits { grid-template-columns: 1fr 1fr; gap: 1.6rem 1.75rem; } }
@media (min-width: 1024px) {
  .h-why { min-height: 640px; display: flex; align-items: center; }
  .h-why-media { position: absolute; inset: 0 0 0 46%; aspect-ratio: auto; }
  .h-why-media::after { background: linear-gradient(90deg, var(--night) 0%, rgba(11, 20, 13, 0.55) 18%, rgba(11, 20, 13, 0) 45%); }
  .h-why-inner { padding: 5.5rem 0; }
  .h-why-copy { max-width: 40%; min-width: 30rem; }
}

/* ---------- 4. LINEUP (light) ---------- */
.h-lineup { background: #f3f6f1; padding: 5rem 0; }
.h-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.h-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 1rem 1rem 1.25rem;
  text-align: center; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.h-card-img {
  aspect-ratio: 16 / 10; display: grid; place-items: center; margin-bottom: 0.9rem; border-radius: 8px;
  background: radial-gradient(ellipse 70% 60% at 50% 60%, #eef1ec 0%, #fff 75%);
}
.h-card-img img { max-height: 100%; width: auto; max-width: 92%; object-fit: contain; }
.h-card h3 { margin: 0 0 0.35rem; font-size: 1.35rem; font-weight: 800; text-transform: uppercase; color: var(--orange); line-height: 1.1; }
.h-card h3 span { color: var(--ink); font-size: 0.8em; }
.h-card-size { font-size: 0.98rem; color: var(--ink) !important; margin: 0 0 0.5rem !important; line-height: 1.35; }
.h-card-size strong { font-weight: 800; }
.h-card p { margin: 0; font-size: 0.92rem; line-height: 1.45; color: var(--ink-muted); }
.h-fineprint { text-align: center; font-size: 0.84rem; color: var(--ink-muted); margin: 1.5rem auto 0; max-width: 46rem; }
@media (max-width: 420px) {
  .h-cards { gap: 0.7rem; }
  .h-card { padding: 0.75rem 0.7rem 1rem; }
  .h-card h3 { font-size: 1.12rem; }
  .h-card p { font-size: 0.86rem; }
}
@media (min-width: 1000px) { .h-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } .h-card { padding: 1.25rem 1.25rem 1.5rem; } }

/* ---------- 5. FEATURED X9 (dark) ---------- */
.h-x9 { background: radial-gradient(ellipse 60% 70% at 80% 50%, rgba(141, 209, 79, 0.1), transparent 70%), var(--black); color: #fff; padding: 5rem 0; overflow: hidden; }
.h-x9-grid { display: grid; gap: 2.5rem; align-items: center; }
.h-x9-copy > p { color: rgba(255, 255, 255, 0.84); font-size: 1.08rem; max-width: 34rem; }
.h-checks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 0.7rem; }
.h-checks li { display: flex; align-items: center; gap: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.95rem; }
.h-checks .ico { color: var(--black); background: var(--accent); border-radius: 50%; padding: 3px; width: 22px; height: 22px; stroke-width: 3; }
.h-x9-media { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid rgba(141, 209, 79, 0.25); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.h-x9-media img { width: 100%; height: auto; }
@media (min-width: 1024px) { .h-x9-grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; } }

/* ---------- 6. HOW IT WORKS (light) ---------- */
.h-how { background: var(--cream); padding: 5rem 0; scroll-margin-top: var(--header-h); }
.h-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.h-steps li { position: relative; display: grid; grid-template-columns: 64px 1fr; column-gap: 1.1rem; padding-bottom: 1.75rem; }
.h-steps li::before { /* vertical connector on mobile */
  content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px; background: rgba(47, 125, 30, 0.35);
}
.h-steps li:last-child::before { display: none; }
.h-step-icon {
  grid-row: span 3; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--accent-ink); color: var(--accent-ink); position: relative; z-index: 1;
}
.h-step-icon .ico-lg { width: 32px; height: 32px; }
.h-step-num { font-weight: 800; color: var(--orange); font-size: 0.85rem; letter-spacing: 0.1em; margin-top: 0.35rem; }
.h-steps h3 { margin: 0 0 0.25rem; font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; }
.h-steps p { margin: 0; font-size: 0.95rem; line-height: 1.45; color: var(--ink-muted); }
@media (min-width: 1024px) {
  .h-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
  .h-steps::before { /* thin horizontal line joining icons */
    content: ""; position: absolute; top: 37px; left: calc(100% / 12); right: calc(100% / 12); height: 2px; background: rgba(47, 125, 30, 0.4);
  }
  .h-steps li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0; }
  .h-steps li::before { display: none; }
  .h-step-icon { width: 76px; height: 76px; margin-bottom: 0.9rem; }
  .h-step-icon .ico-lg { width: 36px; height: 36px; }
  .h-step-num { margin: 0 0 0.15rem; }
}

/* ---------- 7. WHY SOMD ROBOMOW (dark green + county map) ---------- */
.h-local { background: radial-gradient(ellipse 50% 60% at 78% 45%, rgba(141, 209, 79, 0.14), transparent 70%), linear-gradient(160deg, #0b1a0f, #10261a); color: #fff; padding: 5rem 0; overflow: hidden; }
.h-local-grid { display: grid; gap: 2.5rem; align-items: center; }
.h-local-copy > p { color: rgba(255, 255, 255, 0.84); font-size: 1.08rem; max-width: 34rem; }
.h-local .h-lead { color: #fff; font-weight: 800; font-size: 1.25rem; margin-bottom: 0.5rem; }
.h-points { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .h-points { grid-template-columns: 1fr 1fr; gap: 1.4rem 1.75rem; } }
.h-map { margin: 0; }
.county-map { width: 100%; height: auto; display: block; max-width: 560px; margin-inline: auto; }
.cm-county { fill: url(#cm-fill); stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; transition: fill 0.2s ease; }
.cm-county:hover { fill: rgba(141, 209, 79, 0.65); }
.cm-label { font-family: var(--font-display); font-weight: 800; font-size: 19px; fill: #fff; letter-spacing: 0.06em; paint-order: stroke; stroke: rgba(6, 11, 7, 0.55); stroke-width: 3px; }
.cm-town { font-family: var(--font); font-weight: 600; font-size: 11.5px; fill: rgba(255, 255, 255, 0.9); paint-order: stroke; stroke: rgba(6, 11, 7, 0.6); stroke-width: 2.5px; }
.cm-dot { fill: var(--orange); stroke: #fff; stroke-width: 1.2; }
.cm-water { font-family: var(--font); font-weight: 700; font-size: 11px; letter-spacing: 0.25em; fill: rgba(150, 200, 230, 0.6); }
.h-map figcaption { text-align: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); margin-top: 0.5rem; }
@media (min-width: 1024px) { .h-local-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }

/* ---------- 8. BUY OR LEASE (light) ---------- */
.h-buy { background: #fff; padding: 5rem 0; }
.h-compare { display: grid; gap: 1.25rem; max-width: 60rem; margin-inline: auto; }
.h-option { border: 2px solid var(--border); border-radius: 14px; padding: 2rem 1.75rem; background: #fbfcfa; }
.h-option-alt { border-color: rgba(47, 125, 30, 0.45); background: #f3f8ef; }
.h-option h3 { margin: 0; font-size: 2.2rem; font-weight: 800; text-transform: uppercase; line-height: 1; }
.h-option-sub { margin: 0.35rem 0 1.25rem; font-size: 1.15rem; font-weight: 700; color: var(--accent-ink); }
.h-option ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.h-option li { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.h-option .ico { color: #fff; background: var(--accent-ink); border-radius: 50%; padding: 3px; width: 22px; height: 22px; stroke-width: 3; }
@media (min-width: 720px) { .h-compare { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

/* ---------- 9. REAL-WORLD (dark, honest placeholder) ---------- */
.h-real { background: var(--black); color: #fff; padding: 4.5rem 0; }
.h-real-grid { display: grid; gap: 2rem; align-items: center; }
.h-real-grid > div:first-child p { color: rgba(255, 255, 255, 0.84); font-size: 1.08rem; max-width: 36rem; margin: 0; }
.h-real-card { border: 1px dashed rgba(141, 209, 79, 0.5); border-radius: 14px; padding: 2rem 1.75rem; background: rgba(141, 209, 79, 0.05); }
.h-real-card .ico-lg { color: var(--accent); }
.h-real-card h3 { margin: 0.75rem 0 0.4rem; font-size: 1.35rem; font-weight: 800; text-transform: uppercase; }
.h-real-card p { margin: 0 0 1.25rem; color: rgba(255, 255, 255, 0.78); }
.h-real-card .btn { margin: 0; }
@media (min-width: 1024px) { .h-real-grid { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; } }

/* ---------- 10. FINAL CTA (image) ---------- */
.h-final { position: relative; color: #fff; background: var(--black); overflow: hidden; isolation: isolate; }
.h-final-media { position: absolute; inset: 0; z-index: -1; }
.h-final-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.h-final-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 11, 7, 0.9) 0%, rgba(6, 11, 7, 0.7) 40%, rgba(6, 11, 7, 0.15) 75%), linear-gradient(0deg, rgba(6, 11, 7, 0.6), rgba(6, 11, 7, 0) 40%);
}
.h-final-inner { padding: 5.5rem 0; }
.h-final-inner > p:not(.h-hero-area) { font-size: 1.12rem; color: rgba(255, 255, 255, 0.88); max-width: 32rem; margin: 0 0 1.75rem; }
.h-final .btn { margin: 0 0 1.5rem; }
.h-final .h-title { max-width: 40rem; }
@media (max-width: 899px) {
  .h-final-media { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 10; }
  .h-final-media img { object-position: 62% 60%; }
  .h-final-media::after { background: linear-gradient(180deg, rgba(6, 11, 7, 0) 50%, rgba(6, 11, 7, 0.85) 88%, var(--black) 100%); }
  .h-final-inner { position: relative; margin-top: -2.5rem; padding-top: 0 !important; }
}
@media (min-width: 1024px) { .h-final { min-height: 560px; display: flex; align-items: center; } .h-final-inner { width: min(100% - 2.5rem, var(--max-wide)); } }

/* Small screens: tighten section padding */
@media (max-width: 640px) {
  .h-lineup, .h-x9, .h-how, .h-local, .h-buy { padding: 3.75rem 0; }
  .h-real { padding: 3.5rem 0; }
  .h-final-inner { padding: 4rem 0; }
  .h-actions .btn-lg { width: 100%; }
  .h-final .btn-lg, .h-real-card .btn { width: 100%; }
  .h-real-card { padding: 1.5rem 1.15rem; }
  .h-real-card .btn, .h-actions .btn-lg, .h-final .btn-lg { font-size: 0.9rem; padding-inline: 0.9rem; text-align: center; }
}
