/* Boopwalk design notes (one line each, per decision):
   - Palette: moodybrands.co's green/serif system so Boopwalk reads as a Moody Brands company; marigold
     (#D97742) is Boopwalk's one accent and only fills primary buttons and the active-walk bar.
   - Primary buttons put dark ink on marigold (5.7:1); white on marigold is 3.2:1 and fails AA.
   - Palatino headings match moodybrands.co; body is the system sans so it is fast and familiar on phones.
   - Light theme only: it matches the moodybrands.co parent site and walkers use it outdoors in daylight.
   - Activity tags are colored by type because walkers and owners scan a log for pee/poop/walk at a glance. */
:root {
  --bg: #F4F7F5;
  --card: #ffffff;
  --ink: #0D1A10;
  --muted: #4A5E50;
  --line: #D4E0D8;
  --green-deep: #1B4D2E;
  --green-mid: #2E6B42;
  --green-light: #EBF2EE;
  --brand: #D97742;
  --brand-hover: #E8925F;
  --good: #2E6B42;
  --good-bg: #e4efe6;
  --bad: #9A3A2E;
  --bad-bg: #f2e5e2;
  --warn: #7A5210;
  --warn-bg: #fdf0d5;
  --info: #2f5f8a;
  --info-bg: #e6eef7;
  --display: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3 { font-family: var(--display); font-weight: normal; margin-top: 0; }
h1 { font-size: 1.6em; line-height: 1.2; }
h2 { font-size: 1.25em; }
h3 { font-size: 1.05em; }

a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--green-mid); }

a[href], button, summary, select, label[for], input[type=checkbox], input[type=radio], input[type=file] { cursor: pointer; }
button:disabled, .btn[aria-disabled=true] { cursor: not-allowed; opacity: 0.6; }

:focus-visible { outline: 3px solid var(--green-mid); outline-offset: 2px; }

img { max-width: 100%; height: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- app shell (signed-in walker screens + client page) ---------- */
.app-header { background: var(--green-deep); color: #fff; }
.app-header-inner { max-width: 1000px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 8px; min-height: 56px; }
.app-header .brand { font-family: var(--display); font-size: 1.3em; color: #fff; text-decoration: none; margin-right: 8px; min-height: 44px; display: inline-flex; align-items: center; }
.app-nav { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; flex: 1; }
.app-nav a { color: #fff; text-decoration: none; padding: 10px 10px; border-radius: 6px; min-height: 44px; display: inline-flex; align-items: center; }
.app-nav a:hover { background: rgba(255,255,255,0.14); color: #fff; }
.app-nav a[aria-current=page] { background: rgba(255,255,255,0.2); }
.app-nav .spacer { flex: 1; }
.app-menu { display: none; margin-left: auto; }
.app-menu summary {
  list-style: none; color: #fff; padding: 10px 14px; border: 1px solid rgba(255,255,255,0.4);
  border-radius: 8px; min-height: 44px; display: flex; align-items: center;
}
.app-menu summary::-webkit-details-marker { display: none; }
@media (max-width: 860px) {
  .app-nav.wide { display: none; }
  .app-menu { display: block; position: relative; }
  .app-menu[open] .app-nav {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: min(260px, calc(100vw - 32px));
    flex-direction: column; align-items: stretch; background: var(--green-deep); padding: 8px; border-radius: 10px;
    box-shadow: 0 8px 24px rgba(13,26,16,0.25); /* elevation: the menu covers page content */
  }
  .app-menu .spacer { display: none; }
}

.container { max-width: 1000px; width: 100%; margin: 0 auto; padding: 20px 16px; }
.portal-container { max-width: 640px; width: 100%; margin: 0 auto; padding: 20px 16px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 16px;
  min-width: 0;
}

.muted { color: var(--muted); }
.small-text { font-size: 0.9em; }
.balance { font-size: 2em; font-weight: 700; line-height: 1.2; }
.balance.zero { color: var(--good); }
.balance.owed { color: var(--bad); }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); font-size: 0.95em; vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
td.num, th.num { text-align: right; white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 10px 18px;
  background: var(--brand); color: var(--ink);
  border: 1px solid transparent; border-radius: 8px;
  font: inherit; font-size: 0.95em; font-weight: 600; text-decoration: none;
}
.btn:hover { background: var(--brand-hover); color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn.secondary { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn.secondary:hover { background: var(--green-light); border-color: var(--green-mid); }
.btn.small { padding: 8px 12px; font-size: 0.88em; }
.btn.danger { background: var(--bad); color: #fff; }
.btn.danger:hover { background: #7f2f25; color: #fff; }
.btn.dark { background: var(--green-deep); color: #fff; }
.btn.dark:hover { background: var(--green-mid); color: #fff; }
.btn.venmo { background: #175C8C; color: #fff; }
.btn.venmo:hover { background: #10486e; color: #fff; }
.btn.cashapp { background: #00d54b; color: var(--ink); }
.btn.cashapp:hover { background: #00bf43; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

form.inline { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }

.field { margin-bottom: 14px; }
.field label, .field .label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 0.9em; }
.field .hint { font-size: 0.85em; color: var(--muted); margin: 4px 0 0; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password],
input[type=datetime-local], input[type=time], select, textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid #9DB2A4;
  border-radius: 8px;
  font-size: 1em;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
form.inline select { width: auto; }
textarea { min-height: 80px; }
input[type=file] { min-height: 44px; padding: 8px 0; font: inherit; max-width: 100%; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.checkbox-row { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.checkbox-row label { font-weight: 400; display: flex; align-items: center; gap: 8px; margin: 0; min-height: 44px; }
.checkbox-row input { width: 20px; height: 20px; }

/* Status labels mark a real state (visit status, payment state), so they stay; sentence case, no tracking. */
.badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 0.82em;
  font-weight: 600;
  white-space: nowrap;
}
.badge.scheduled { background: var(--info-bg); color: var(--info); }
.badge.in_progress, .badge.pending, .badge.pending_payment { background: var(--warn-bg); color: var(--warn); }
.badge.completed, .badge.paid, .badge.paid_credit, .badge.paid_external { background: var(--good-bg); color: var(--good); }
.badge.canceled { background: var(--bad-bg); color: var(--bad); }
.badge.waived { background: #eae4f3; color: #6b4c9a; }
.badge.requested { background: #fbe6d8; color: #5f2c0c; }
.badge.declined { background: var(--bad-bg); color: var(--bad); }
/* A client is waiting on the walker, so requests get the accent edge (the only card that does on these pages). */
.request-card { border: 2px solid var(--brand); }
.request-note { padding: 10px 12px; background: var(--bg); border-radius: 8px; }

.banner { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; }
.banner.good { background: var(--good-bg); color: var(--good); }
.banner.warn { background: var(--warn-bg); color: var(--warn); }
.banner a { color: inherit; font-weight: 600; }

.flash { padding: 12px 14px; border-radius: 8px; margin-bottom: 14px; }
.flash.success { background: var(--good-bg); color: var(--good); }
.flash.error { background: var(--bad-bg); color: var(--bad); }

.section-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.section-title h1, .section-title h2 { margin-bottom: 8px; }
.token-box { font-family: ui-monospace, Menlo, monospace; background: var(--green-light); padding: 8px 10px; border-radius: 6px; word-break: break-all; font-size: 0.85em; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 680px) { .grid-2 { grid-template-columns: 1fr; } }

/* ---------- pets ---------- */
.pet-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); flex-shrink: 0; }
.pet-photo.large { width: 96px; height: 96px; }
.pet-initial {
  display: flex; align-items: center; justify-content: center;
  background: var(--green-light); color: var(--green-deep);
  font-family: var(--display); font-size: 1.5em;
}
.pet-photo.large.pet-initial { font-size: 2.2em; }
.pet-row { display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pet-strip { display: flex; gap: 16px; flex-wrap: wrap; }
.pet-strip figure { margin: 0; text-align: center; }

/* ---------- visit log ---------- */
.quick-log { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quick-log form { display: contents; }
.quick-log .btn { width: 100%; min-height: 56px; font-size: 1em; }
@media (max-width: 420px) { .quick-log { grid-template-columns: repeat(2, 1fr); } }

.walk-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--brand); color: var(--ink); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 12px;
}
.walk-bar .btn { background: var(--ink); color: #fff; }
.walk-bar .btn:hover { background: var(--green-deep); color: #fff; }

.log-entry { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.log-entry:last-child { border-bottom: none; }
.log-time { font-size: 0.85em; color: var(--muted); white-space: nowrap; width: 72px; flex-shrink: 0; padding-top: 2px; }
.log-body { flex: 1; min-width: 0; }
.log-photo { width: 100%; max-width: 420px; height: auto; border-radius: 8px; margin-top: 6px; display: block; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 0.85em; font-weight: 600; background: var(--green-light); color: var(--green-deep); }
.tag.walk { background: #fbe6d8; color: #7d3a12; }
.tag.pee { background: #fff3c4; color: #5f4a00; }
.tag.poop { background: #efe2d4; color: #5a3a1c; }
.tag.medication { background: #eae4f3; color: #533a7d; }

.summary-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin: 0; }
.summary-list div { background: var(--green-light); border-radius: 8px; padding: 10px 12px; }
.summary-list dt { font-size: 0.85em; color: var(--green-deep); font-weight: 600; }
.summary-list dd { margin: 0; font-size: 1.15em; font-weight: 600; }

.preview-frame { width: 100%; height: 560px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }

.rate-list { margin: 0; padding: 0; list-style: none; }
.rate-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.rate-list li:last-child { border-bottom: none; }
.rate-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; }
.rate-head span:last-child { white-space: nowrap; }
.rate-list p { margin: 4px 0 0; color: var(--muted); }
.rate-editor { border-bottom: 1px solid var(--line); padding: 12px 0; }
.rate-editor:last-of-type { border-bottom: none; }
.rate-editor .field-row { grid-template-columns: 140px 1fr; }
@media (max-width: 520px) { .rate-editor .field-row { grid-template-columns: 1fr; } }

/* ---------- client page: summary home + one page per visit ---------- */
.portal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.pet-strip.small { gap: 10px; }
.pet-strip.small figure { font-size: 0.85em; font-weight: 600; }
/* The live visit is the one thing an owner opens the page to check, so it is the only card with the accent edge. */
.now-card { display: block; color: var(--ink); text-decoration: none; border: 2px solid var(--brand); }
.now-card:hover { background: #fffaf6; color: var(--ink); }
.now-label { display: inline-block; font-weight: 700; font-size: 0.85em; color: #7d3a12; background: #fbe6d8; padding: 2px 8px; border-radius: 6px; }
.row-cta { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--green-deep); text-decoration: underline; text-underline-offset: 2px; }
.visit-list { list-style: none; margin: 0; padding: 0; }
.visit-list li + li { border-top: 1px solid var(--line); }
.visit-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; min-height: 56px; color: var(--ink); text-decoration: none; }
.visit-row:hover strong { text-decoration: underline; }
.visit-row-main { min-width: 0; }
.visit-row-sum { display: block; font-size: 0.88em; color: var(--muted); margin-top: 2px; }
.visit-row-side { flex-shrink: 0; text-align: right; }
.visit-row::after { content: '\203A'; font-size: 1.5em; color: var(--muted); margin-left: 4px; }
.day-heading { font-family: var(--sans); font-weight: 700; font-size: 0.95em; margin: 18px 0 0; padding-bottom: 6px; border-bottom: 2px solid var(--green-light); color: var(--green-deep); }
.day-heading:first-of-type { margin-top: 4px; }
.times { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0; }
.times dt { font-size: 0.85em; color: var(--muted); font-weight: 600; }
.times dd { margin: 0; font-weight: 600; }

/* ---------- who picker (multi-pet visits) ---------- */
.segmented { display: flex; flex-wrap: wrap; gap: 6px; }
.segmented label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px;
  border: 1px solid #9DB2A4; border-radius: 8px; background: var(--card); font-weight: 600; }
.segmented input { width: 18px; height: 18px; accent-color: var(--green-deep); }
.segmented label:has(input:checked) { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.segmented label:has(input:focus-visible) { outline: 3px solid var(--green-mid); outline-offset: 2px; }
.pet-totals { margin: 12px 0 0; padding: 0; list-style: none; }
.pet-totals li { padding: 6px 0; border-top: 1px solid var(--line); }

/* ---------- charges ---------- */
.charge-table td { padding: 8px 4px; }
.charge-table .charge-total td { font-weight: 700; border-top: 2px solid var(--line); border-bottom: 0; }
.charge-edit { display: grid; grid-template-columns: 1fr 72px 92px 110px 110px; gap: 8px; align-items: end; padding: 10px 0; border-bottom: 1px solid var(--line); }
.charge-edit .field { margin-bottom: 0; }
.charge-edit.new { background: var(--green-light); padding: 10px; border-radius: 8px; border: 0; margin-top: 10px; }
.charge-edit-end { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.charge-amount { font-weight: 700; }
.remove-line { display: flex; align-items: center; gap: 6px; font-weight: 400 !important; font-size: 0.85em; min-height: 32px; }
@media (max-width: 640px) {
  .charge-edit { grid-template-columns: 1fr 1fr; }
  .charge-edit .field:first-of-type { grid-column: 1 / -1; }
  .charge-edit-end { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- hero service tiles ---------- */
.hero-book { background: var(--green-light); border-radius: 14px; padding: 16px; max-width: 520px; }
.hero-book-title { margin: 0 0 10px; font-weight: 700; }
.hero-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hero-tile { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 10px 6px;
  background: #fff; border: 2px solid transparent; border-radius: 10px; color: var(--ink); font-weight: 700; text-decoration: none; text-align: center; }
.hero-tile:hover { border-color: var(--green-deep); color: var(--ink); }
@media (max-width: 480px) { .hero-tiles { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Boopwalk vs Wag comparison ---------- */
.compare-table { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.compare-table caption { text-align: left; font-weight: 700; padding-bottom: 8px; }
.compare-table th, .compare-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: right; font-size: 1em; }
.compare-table th[scope=row] { text-align: left; font-weight: 600; color: var(--ink); }
.compare-table th[scope=col] { font-weight: 700; color: var(--ink); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
/* Boopwalk's column is the answer the reader came for, so it gets the one accent fill. */
.compare-table td.ours { font-weight: 700; background: #fbe6d8; color: #5f2c0c; }

/* ---------- busy feedback (every submit and page load) ---------- */
.busy-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--brand); z-index: 100; transition: width 8s cubic-bezier(.1,.7,.2,1); }
.busy-bar.on { width: 85%; }
.busy-overlay {
  position: fixed; inset: 0; z-index: 99; display: none; align-items: center; justify-content: center;
  background: rgba(244,247,245,0.75);
}
.busy-overlay.on { display: flex; }
.busy-box { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
  .busy-bar { transition: none; }
  .btn:active { transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- public site ---------- */
.landing { width: 100%; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header-inner { max-width: 1140px; margin: 0 auto; min-height: 64px; display: flex; align-items: center; gap: 16px; padding: 0 16px; }
.site-logo { font-family: var(--display); font-size: 1.4em; color: var(--green-deep); text-decoration: none; flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: center; }
.mega-nav { flex: 1; margin-left: 8px; }
.mega-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.mega-item { position: static; }
.mega-item.mega-small { position: relative; }
.mega-trigger {
  font: inherit; font-weight: 600; color: var(--ink); background: none; border: 0; border-radius: 6px;
  padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px;
}
.mega-trigger::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 0.15s; }
.mega-trigger[aria-expanded=true]::after { transform: rotate(-135deg) translateY(-1px); }
.mega-trigger:hover, .mega-trigger[aria-expanded=true] { background: var(--bg); }
/* Panels drop full width under the header. Shown by JS (.open) or, without JS, while focus is inside. */
.mega-panel {
  display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
  background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(13,26,16,0.10); /* elevation: the panel covers the page */
  padding: 20px max(16px, calc((100vw - 1140px) / 2 + 16px));
}
.mega-item.open .mega-panel, html:not(.js) .mega-item:focus-within .mega-panel { display: block; }
.mega-small .mega-panel { left: 0; right: auto; width: 300px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; top: calc(100% + 4px); }
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; max-width: 760px; }
.mega-link { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.mega-link strong { font-weight: 700; }
.mega-link span { color: var(--muted); font-size: 0.92em; }
.mega-link:hover, .mega-link[aria-current=page] { background: var(--green-light); }
.mega-link:hover strong { text-decoration: underline; }
.mega-feature { display: block; margin-top: 12px; max-width: 760px; padding: 12px 14px; border-radius: 8px;
  background: #fbe6d8; color: #5f2c0c; text-decoration: none; }
.mega-feature strong { margin-right: 6px; }
.mega-feature:hover { text-decoration: underline; color: #5f2c0c; }
.site-header-cta a:not(.btn) { min-height: 44px; display: inline-flex; align-items: center; }
.site-header-cta { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.site-menu { display: none; margin-left: auto; position: relative; }
.site-menu summary {
  list-style: none; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; font-weight: 600;
  min-height: 44px; display: flex; align-items: center;
}
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu nav {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, calc(100vw - 32px));
  max-height: calc(100vh - 90px); overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px; display: flex; flex-direction: column;
  box-shadow: 0 8px 24px rgba(13,26,16,0.15); /* elevation: the menu covers page content */
}
.site-menu nav a { padding: 12px 14px; color: var(--ink); text-decoration: none; border-radius: 6px; }
.site-menu nav a:hover { background: var(--bg); }
@media (max-width: 960px) {
  .mega-nav, .site-header-cta { display: none; }
  .site-menu { display: block; }
}
.menu-group { margin: 10px 14px 2px; font-size: 0.85em; font-weight: 700; color: var(--muted); }
.menu-group:first-child { margin-top: 4px; }

.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); }
.hero-copy { padding: clamp(2.5rem, 6vw, 5rem) clamp(16px, 5vw, 4.5rem); align-self: center; }
.hero-copy h1 { font-size: clamp(2em, 4.4vw, 3em); line-height: 1.1; margin: 0 0 18px; color: var(--green-deep); }
.hero-copy .lead { font-size: 1.12em; max-width: 34em; margin: 0 0 26px; }
.hero-photo { position: relative; min-height: 380px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-photo { min-height: 0; aspect-ratio: 3 / 2; order: -1; }
}

.section { padding: clamp(2.5rem, 6vw, 4rem) 16px; }
.section-inner { max-width: 1040px; margin: 0 auto; }
.section.tint { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.narrow { max-width: 680px; }

/* Services: a plain linked list sized to its content, not four identical icon cards. */
.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.service-list li { border-top: 1px solid var(--line); }
.service-list a { display: block; padding: 16px 0; color: var(--ink); text-decoration: none; }
.service-list a:hover strong { text-decoration: underline; }
.service-list strong { font-family: var(--display); font-weight: normal; font-size: 1.35em; color: var(--green-deep); display: block; }
@media (max-width: 640px) { .service-list { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; }
.split-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; display: block; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.plain-list { margin: 0; padding-left: 1.2em; }
.plain-list li { margin-bottom: 10px; }
.facts { margin: 0; }
.facts dt { font-weight: 700; margin-top: 16px; }
.facts dt:first-child { margin-top: 0; }
.facts dd { margin: 4px 0 0; }

.process { counter-reset: step; list-style: none; padding: 0; margin: 0; max-width: 680px; }
.process li { counter-increment: step; padding: 14px 0 14px 48px; position: relative; border-top: 1px solid var(--line); }
.process li::before {
  content: counter(step); position: absolute; left: 0; top: 12px;
  font-family: var(--display); font-size: 1.6em; color: var(--brand); line-height: 1;
}

.faq { max-width: 720px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; padding: 12px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3em; color: var(--muted); font-weight: 400; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin: 0 0 16px; }

.landing-form { max-width: 520px; }
.site-footer { background: var(--green-deep); color: #fff; padding: 2.5rem 16px 1.5rem; margin-top: auto; }
.footer-inner { max-width: 1140px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 2rem 4rem; }
.footer-brand .site-logo { color: #fff; }
.footer-brand p { margin: 8px 0 0; font-size: 0.9em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; }
.footer-links a { color: #fff; min-height: 44px; display: inline-flex; align-items: center; }
.footer-legal { max-width: 1140px; margin: 1.5rem auto 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.25); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.85em; }
