/* Standalone home-services page. Not loaded by Match Line Work. */
:root {
  color-scheme: light;
  --ink: #0c1222;
  --muted: #475467;
  --faint: #667085;
  --line: rgba(16, 24, 40, 0.1);
  --paper: #f6f7f8;
  --teal: #0f766e;
  --teal-dark: #115e59;
  --orange: #c2410c;
  --orange-dark: #9a3412;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
.wrap { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
section[id] { scroll-margin-top: 76px; }

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.03em;
}
.brand small {
  display: block;
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 600;
}
.nav a { color: #344054; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.menu-toggle {
  display: none;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.card a { min-height: 44px; display: inline-flex; align-items: center; }
.brand { min-height: 44px; }
.nav a:hover { color: var(--ink); }
.nav .btn { margin-left: 4px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--teal);
  background: var(--teal);
  color: #fff !important;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn.orange { background: var(--orange); border-color: var(--orange); }
.btn.orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn.quiet {
  background: #fff;
  color: var(--ink) !important;
  border-color: var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 40px;
  align-items: center;
  padding: 48px 0 36px;
}
.kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.lead { margin: 0 0 20px; max-width: 38rem; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.hero figure { margin: 0; }
.hero img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
}
.hero figcaption { margin-top: 8px; color: var(--faint); font-size: 13px; }

.band { padding: 28px 0 8px; }
h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.intro { margin: 0 0 22px; max-width: 40rem; color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.card img { width: 100%; height: 168px; object-fit: cover; }
.card div { padding: 14px 14px 16px; }
.card h3 { margin: 0 0 4px; font-size: 18px; }
.card p { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.card a { font-weight: 700; }

.steps, .why {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.step, .why article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
}
.why article:nth-child(2) .num { background: var(--orange); }
.step h3, .why h3 { margin: 0 0 6px; font-size: 18px; }
.step p, .why p { margin: 0; color: var(--muted); }

.panel {
  margin: 36px 0;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--orange);
  border-radius: 18px;
  padding: 22px;
}
.join {
  border-top-color: var(--teal);
  background: #f3faf8;
}
form { display: grid; gap: 12px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
input, select, textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 96px; resize: vertical; }
.full { grid-column: 1 / -1; }
.notice {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #065f46;
}
.error { background: #fff7ed; color: #9a3412; }

.faq { display: grid; gap: 8px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.faq summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.faq p { margin: 8px 0 0; color: var(--muted); }

.foot {
  margin-top: 28px;
  background: #101828;
  color: #d0d5dd;
  padding: 28px 0;
}
.foot a { color: #fff; }
.foot .brand { color: #fff; }
.foot .brand small { color: #d0d5dd; }
.foot-row { display: flex; align-items: center; gap: 22px; }
.foot p { margin: 6px 0; font-size: 14px; }
.credits { color: #98a2b3; }

@media (max-width: 1023px) {
  section[id] { scroll-margin-top: 88px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .top-inner { flex-wrap: wrap; min-height: 0; padding: 8px 0; }
  .nav {
    display: none;
    width: 100%;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-bottom: 8px;
  }
  .nav.is-open { display: flex; }
  .nav a, .nav .btn { width: 100%; }
  .nav .btn { justify-content: center; margin-left: 0; }
  .hero, .cards, .steps, .why { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { width: min(1080px, calc(100% - 28px)); }
  .cards, .steps, .why, .fields { grid-template-columns: 1fr; }
  h1 { font-size: 34px; }
  .card img { height: 200px; }
  .hero { padding-top: 28px; }
  .nav .btn { width: 100%; margin-left: 0; }
  .foot-row { align-items: flex-start; flex-direction: column; gap: 12px; }
}
