:root {
  --ink: #17211c;
  --muted: #5d695f;
  --paper: #f8f6ef;
  --white: #ffffff;
  --pine: #234434;
  --pine-dark: #13261d;
  --copper: #b65f2b;
  --gold: #dfb05d;
  --line: rgba(23, 33, 28, 0.14);
  --shadow: 0 18px 60px rgba(19, 38, 29, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 246, 239, 0.94);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 220px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--pine);
  color: var(--white);
  font-weight: 800;
}
.brand strong, .brand small { display: block; }
.brand small, .eyebrow, .hero-stats dd, .metric span, .lead-row span, .lead-row em, .site-footer { color: var(--muted); }
nav { display: flex; justify-content: center; gap: clamp(12px, 3vw, 28px); font-size: 0.94rem; color: #314038; }
nav a:hover { color: var(--copper); }
.header-call, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}
.header-call, .button.primary { background: var(--copper); color: var(--white); }
.button.secondary { border: 1px solid rgba(255,255,255,0.54); color: var(--white); }
.button.outline { border: 1px solid var(--line); background: var(--white); color: var(--pine-dark); }
button.button { border: 0; cursor: pointer; font: inherit; }

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: clamp(48px, 7vw, 90px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  color: var(--white);
  background: var(--pine-dark);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(13,26,20,0.94) 0%, rgba(13,26,20,0.72) 43%, rgba(13,26,20,0.15) 100%);
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy { position: relative; z-index: 2; max-width: 720px; }
.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #f4d08e; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 680px; margin-bottom: 20px; font-size: clamp(2.5rem, 7vw, 5.6rem); line-height: 0.98; letter-spacing: 0; }
h2 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: 0; }
h3 { margin-bottom: 8px; font-size: 1.08rem; }
.hero-copy > p:not(.eyebrow) { max-width: 600px; font-size: clamp(1.05rem, 2vw, 1.3rem); color: rgba(255,255,255,0.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.hero-stats div { min-width: 112px; padding: 12px 14px; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; background: rgba(255,255,255,0.09); }
.hero-stats dt { font-size: 1.45rem; font-weight: 900; }
.hero-stats dd { margin: 0; color: rgba(255,255,255,0.72); }

.trust-band { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 18px clamp(20px, 5vw, 72px); background: var(--white); border-bottom: 1px solid var(--line); }
.trust-band span { padding: 8px 13px; border-radius: 8px; background: #eef3ed; color: #344239; font-weight: 700; font-size: 0.92rem; }
.section { padding: clamp(58px, 8vw, 104px) clamp(20px, 5vw, 72px); }
.split, .contact-section { display: grid; grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr); gap: clamp(28px, 6vw, 70px); align-items: start; }
.split > div:first-child p:not(.eyebrow), .section-heading p, .contact-section > div > p { max-width: 640px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.service-grid article, .service-card { min-height: 160px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); box-shadow: 0 12px 30px rgba(19,38,29,0.07); }
.service-card { display: block; transition: transform 160ms ease, border-color 160ms ease; }
.service-card:hover { transform: translateY(-2px); border-color: rgba(182,95,43,0.45); }
.muted-copy { color: var(--muted); }

.area-section { background: #edf2eb; }
.section-heading { max-width: 780px; margin-bottom: 34px; }
.area-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); gap: 24px; }
.area-map { position: relative; min-height: 430px; border-radius: 8px; overflow: hidden; background: radial-gradient(circle at center, rgba(182,95,43,0.14) 0 22%, transparent 23%), radial-gradient(circle at center, rgba(35,68,52,0.12) 0 48%, transparent 49%), linear-gradient(135deg, #dce9df, #b7cfbb); border: 1px solid rgba(35,68,52,0.18); }
.pin { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 8px; background: var(--white); box-shadow: var(--shadow); font-weight: 800; font-size: 0.9rem; }
.pin::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--copper); }
.center { left: 42%; top: 43%; }
.north { left: 48%; top: 16%; }
.east { right: 10%; top: 47%; }
.south { left: 47%; bottom: 13%; }
.west { left: 10%; top: 52%; }
.area-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.area-list li { padding: 13px 14px; border-radius: 8px; background: var(--white); font-weight: 800; }

.proof-section { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 28px; align-items: start; }
.dashboard-preview { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 18px; border-radius: 8px; background: var(--pine-dark); color: var(--white); box-shadow: var(--shadow); }
.metric, .lead-row { border-radius: 8px; background: rgba(255,255,255,0.09); }
.metric { min-height: 112px; padding: 16px; }
.metric strong { display: block; font-size: 2.1rem; }
.metric span, .lead-row span, .lead-row em { color: rgba(255,255,255,0.72); }
.lead-row { grid-column: 1 / -1; display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; }
.lead-row em { font-style: normal; font-weight: 800; }

.contact-section { background: var(--white); }
.recording-note { padding: 14px 16px; border-left: 4px solid var(--copper); background: #fff4e8; }
.lead-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
label { display: grid; gap: 7px; font-weight: 800; }
input, select, textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid rgba(23,33,28,0.22); border-radius: 8px; background: #fffdf7; color: var(--ink); font: inherit; }
textarea { resize: vertical; }
.full { grid-column: 1 / -1; }
output { min-height: 22px; color: var(--pine); font-weight: 800; }
output.error { color: #a23a23; }
.subhero {
  padding: clamp(70px, 10vw, 124px) clamp(20px, 5vw, 72px);
  background: linear-gradient(135deg, #f8f6ef 0%, #e9efe8 100%);
  border-bottom: 1px solid var(--line);
}
.subhero.urgent { background: linear-gradient(135deg, #fff4e8 0%, #e6eee7 100%); }
.subhero h1 { color: var(--pine-dark); }
.subhero p:not(.eyebrow) { max-width: 760px; color: var(--muted); font-size: 1.14rem; }
.content-section { background: var(--paper); }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.info-grid article, .callout {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(19,38,29,0.06);
}
.text-page { max-width: 900px; }
.text-page h2 { font-size: 1.5rem; margin-top: 30px; }
.text-page p { color: var(--muted); }
.dashboard-section { background: var(--white); }
.dashboard-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 860px; }
th, td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #eef3ed; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: #314038; }
td { color: var(--muted); }
.site-footer { display: flex; justify-content: space-between; gap: 24px; padding: 24px clamp(20px, 5vw, 72px); border-top: 1px solid var(--line); background: #121c17; }
.site-footer p { max-width: 780px; margin: 0; color: rgba(255,255,255,0.68); }
.site-footer a { color: var(--white); font-weight: 900; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; min-width: 220px; }

@media (max-width: 880px) {
  .site-header { grid-template-columns: 1fr; gap: 12px; }
  nav { justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
  .header-call { width: 100%; }
  .hero { min-height: auto; padding-top: 64px; padding-bottom: 64px; }
  .split, .area-layout, .proof-section, .contact-section { grid-template-columns: 1fr; }
  .service-grid, .lead-form, .dashboard-preview, .info-grid { grid-template-columns: 1fr; }
  .lead-row { grid-template-columns: 1fr; }
  .site-footer { display: block; }
  .footer-links { justify-content: flex-start; margin-top: 16px; }
  .dashboard-toolbar { display: block; }
}
@media (max-width: 540px) {
  .brand { min-width: 0; }
  .hero-actions .button { width: 100%; }
  .hero-stats { display: grid; grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr; }
  .area-map { min-height: 360px; }
  .pin { font-size: 0.76rem; }
}
