/* =========================================================================
   Basalt Property Services · site stylesheet
   One shared design system for every page.

   Color balance: neutrals dominate, green carries brand character,
   orange is reserved for primary calls to action and small highlights.
   ========================================================================= */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Public Sans";
  src: url("/fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-latin-600-italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Neutrals (primary) */
  --ink:        #24343B;   /* brand slate: text + dark surfaces */
  --ink-2:      #2E3F46;
  --text:       #24343B;
  --muted:      #4F5D63;
  --subtle:     #5F6A6F;
  --bg:         #F7F5F0;   /* warm stone page background */
  --bg-alt:     #EFECE4;   /* brand warm white, slightly deeper */
  --surface:    #FFFFFF;
  --line:       #DDD8CC;
  --line-soft:  #E8E4DA;

  /* Green (secondary): the original Basalt olive */
  --green:      #5C6830;
  --green-700:  #4A5426;
  --green-900:  #3B4321;
  --green-50:   #EEF0E2;
  --green-100:  #E2E6CF;
  --green-on-dark: #C3CC98;

  /* Orange (tertiary): exact brand orange + accessible action shade */
  --orange:        #CE6C30;
  --orange-action: #B85A22;  /* white text passes AA */
  --orange-hover:  #A04C1B;
  --orange-ink:    #A9521F;  /* orange text on light backgrounds */
  --orange-50:     #F8ECE2;
  --orange-on-dark:#E8915A;

  /* Legacy names some inline markup still references */
  --dark: var(--ink);
  --warm-white: var(--bg-alt);
  --white: #FFFFFF;
  --accent: var(--orange);

  /* Type */
  --font-sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  /* Layout */
  --max: 1120px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 8vw, 104px);
  --header-h: 68px;
  --radius-sm: 4px;
  --radius: 6px;
  --focus: var(--green);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
strong { font-weight: 650; }
h1, h2, h3, h4 { color: var(--ink); text-wrap: balance; }
p { text-wrap: pretty; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Layout primitives ---------- */
section { padding: var(--section-y) var(--gutter); }
.container { max-width: var(--max); margin: 0 auto; }

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--green);
  margin-bottom: 16px;
}
.section-label::before {
  content: "";
  width: 20px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 2.9vw, 2.375rem);
  line-height: 1.15;
  letter-spacing: -0.012em;
  margin-bottom: 16px;
  max-width: 30ch;
}
h3 { font-size: 1.0625rem; font-weight: 650; line-height: 1.35; }
h4 { font-size: 1rem; font-weight: 650; line-height: 1.35; }

.section-intro, .lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
  margin-bottom: 48px;
}

/* Small check mark used by several lists */
.pillar-list li::before,
.pricing-features li::before,
.plan-includes li::before,
.page-services .service-item::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 0.3em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.5l3 3 7-7' stroke='%235C6830' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Line icon container: one style everywhere */
.ui-icon, .pillar-icon, .category-icon, .expect-icon, .cd-icon, .who-card .icon, .why-card .icon, .trust-item .t-icon {
  color: var(--green);
}
.ui-icon svg, .pillar-icon svg, .category-icon svg, .expect-icon svg, .cd-icon svg,
.who-card .icon svg, .why-card .icon svg, .trust-item .t-icon svg {
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-secondary, .btn-ghost, .btn-light, .btn-outline-dark,
.btn-white, .btn-white-ghost, .big-call, .plan-cta, .btn-submit, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary svg, .btn-white svg, .big-call svg, .nav-phone svg { flex-shrink: 0; }

/* Primary: orange, used for the main call to action */
.btn-primary, .btn-submit, .big-call {
  background: var(--orange-action);
  color: #fff;
}
.btn-primary:hover, .btn-submit:hover, .big-call:hover { background: var(--orange-hover); }

/* Secondary: green */
.btn-light {
  background: var(--green);
  color: #fff;
}
.btn-light:hover { background: var(--green-700); }

.btn-secondary, .btn-ghost, .btn-outline-dark {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green);
}
.btn-secondary:hover, .btn-ghost:hover, .btn-outline-dark:hover {
  background: var(--green-50);
  color: var(--green-900);
}

/* On dark or green surfaces */
.btn-white {
  background: #fff;
  color: var(--ink);
}
.btn-white:hover { background: var(--bg-alt); }
.btn-white-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.55);
}
.btn-white-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 max(var(--gutter), calc((100% - var(--max)) / 2));
  background: rgba(247,245,240,.94);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.logo-svg { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo-mark { height: 30px; width: auto; flex-shrink: 0; }
.logo-divider { width: 1px; height: 30px; background: var(--line); flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; gap: 4px; }
.logo-basalt { font-size: 1.0625rem; font-weight: 800; letter-spacing: .18em; line-height: 1; text-transform: uppercase; color: var(--ink); }
.logo-sub { font-size: .625rem; font-weight: 600; letter-spacing: .2em; line-height: 1; text-transform: uppercase; color: var(--subtle); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative;
  padding: 8px 12px;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color .15s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: -2px;
  height: 2px;
  background: var(--orange);
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--orange-action);
  color: #fff;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: background-color .15s ease;
}
.nav-phone:hover { background: var(--orange-hover); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font: 600 .9375rem/1 var(--font-sans);
  cursor: pointer;
}
.menu-toggle-bars { position: relative; width: 16px; height: 10px; }
.menu-toggle-bars::before, .menu-toggle-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .15s ease, top .15s ease;
}
.menu-toggle-bars::before { top: 0; }
.menu-toggle-bars::after { top: 8.5px; }
.site-header.is-open .menu-toggle-bars::before { top: 4.25px; transform: rotate(45deg); }
.site-header.is-open .menu-toggle-bars::after { top: 4.25px; transform: rotate(-45deg); }

@media (max-width: 820px) {
  .site-header { gap: 10px; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px -16px rgba(36,52,59,.25);
  }
  .site-header.is-open .nav-links { display: flex; }
  .nav-link { padding: 14px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav-link:last-child { border-bottom: 0; }
  .nav-link.active::after { left: -12px; right: auto; top: 14px; bottom: 14px; width: 2px; height: auto; }
}
@media (max-width: 560px) {
  .logo-divider, .logo-text { display: none; }
  .nav-phone { padding: 8px 12px; }
  .nav-phone-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: 56px max(var(--gutter), calc((100% - var(--max)) / 2)) 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  font-size: .9375rem;
  --focus: #fff;
}
.footer-logo { width: 168px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: rgba(255,255,255,.78); text-decoration: none; transition: color .15s ease; }
.footer-links a:hover { color: #fff; }
footer > p, .footer-copy {
  flex-basis: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .8125rem;
  color: rgba(255,255,255,.6);
}
footer > p a { color: rgba(255,255,255,.78); text-decoration: none; }
footer > p a:hover { color: #fff; text-decoration: underline; }


/* =========================================================================
   HOME
   ========================================================================= */

/* Hero: editorial split, text left, Central Oregon photo right */
.hero {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [content-start] minmax(0, calc(var(--max) * .6))
    [split] minmax(0, calc(var(--max) * .4))
    [content-end] minmax(var(--gutter), 1fr) [full-end];
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  grid-column: content-start / split;
  grid-row: 1;
  padding: clamp(56px, 7vw, 96px) clamp(32px, 5vw, 72px) clamp(48px, 5vw, 64px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-bg {
  grid-column: split / full-end;
  grid-row: 1;
  min-height: 100%;
  background: var(--bg-alt) url("/images/valley.jpg") center 42% / cover no-repeat;
}
.hero-overlay { display: none; }

.hero-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--green);
  margin-bottom: 20px;
}
.hero-badge::before { content: ""; width: 20px; height: 1px; background: currentColor; }

.hero h1, .page-hero h1, .emerg-hero h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.375rem, 4.6vw, 3.625rem);
  line-height: 1.06;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 17ch;
}
.hero h1 em, .page-hero h1 em, .emerg-hero h1 em { font-style: italic; color: var(--orange); }
.hero-desc {
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-note { margin-top: 14px; font-size: .875rem; color: var(--subtle); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.stat { padding: 20px 16px 0 0; }
.stat + .stat { padding-left: 16px; border-left: 1px solid var(--line); }
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 6px;
}
.stat-label { display: block; font-size: .8125rem; line-height: 1.35; color: var(--subtle); }

@media (max-width: 900px) {
  .hero { grid-template-columns: [full-start] var(--gutter) [content-start split] minmax(0, 1fr) [content-end] var(--gutter) [full-end]; }
  .hero-inner { grid-column: content-start / content-end; padding: 48px 0 40px; }
  .hero-bg { grid-column: full-start / full-end; grid-row: 2; min-height: 0; aspect-ratio: 16 / 10; background-position: center 55%; }
  .hero h1 { max-width: 15ch; }
}
@media (max-width: 560px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
  .hero-actions > a { flex: 1 1 100%; }
}

/* Statement band */
.pain-bar {
  background: var(--ink);
  color: rgba(255,255,255,.78);
  padding: 18px var(--gutter);
  text-align: center;
  font-size: .9875rem;
  line-height: 1.5;
}
.pain-bar strong { color: #fff; font-weight: 650; }

/* The reality section: heading left, scenarios right */
.who .container {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-rows: auto auto auto 1fr auto;
  column-gap: clamp(40px, 6vw, 88px);
}
.who .section-label  { grid-column: 1; grid-row: 1; }
.who h2              { grid-column: 1; grid-row: 2; }
.who .section-intro  { grid-column: 1; grid-row: 3; margin-bottom: 24px; }
.who .scenario-close { grid-column: 1; grid-row: 4; align-self: start; }
.who .scenario-strip { grid-column: 2; grid-row: 1 / 5; align-self: start; }
.who .who-grid       { grid-column: 1 / -1; grid-row: 5; }

.scenario-strip { border-top: 1px solid var(--line); counter-reset: scenario; }
.scenario-line {
  counter-increment: scenario;
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink);
}
.scenario-line::before {
  content: counter(scenario, decimal-leading-zero);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--subtle);
  font-variant-numeric: tabular-nums;
}
.scenario-close {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  max-width: 44ch;
  padding-left: 16px;
  border-left: 2px solid var(--orange);
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: clamp(56px, 7vw, 88px);
}
.who-card { padding-top: 24px; border-top: 1px solid var(--ink); }
.who-card .icon { width: 24px; height: 24px; margin-bottom: 16px; }
.who-card .icon svg { width: 24px; height: 24px; }
.who-card h3 { margin-bottom: 8px; }
.who-card p { font-size: .9375rem; line-height: 1.6; color: var(--muted); }

@media (max-width: 900px) {
  .who .container { grid-template-columns: 1fr; grid-template-rows: none; }
  .who .section-label, .who h2, .who .section-intro, .who .scenario-strip, .who .scenario-close, .who .who-grid { grid-column: 1; grid-row: auto; }
  .who .scenario-strip { margin: 8px 0 28px; }
  .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
}
@media (max-width: 560px) {
  .who-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Free property check */
.walkthrough { background: var(--green-50); }
.walkthrough-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.walkthrough-desc p { color: var(--muted); font-size: 1.0625rem; line-height: 1.65; margin-bottom: 16px; max-width: 46ch; }
.walkthrough-cta-group { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 32px; }
.walkthrough-note { font-size: .875rem; color: var(--muted); max-width: 40ch; }
.checklist-card {
  background: var(--surface);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px);
}
.checklist-card h3 {
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--green);
  margin-bottom: 8px;
}
.checklist-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .9875rem;
  line-height: 1.45;
  color: var(--ink);
}
.check-box {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green);
  font-size: 0;
  margin-top: 1px;
}
.check-box svg { width: 12px; height: 12px; }
.checklist-more { margin-top: 20px; font-size: .9375rem; color: var(--muted); }

@media (max-width: 900px) { .walkthrough-inner { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .checklist-items { grid-template-columns: 1fr; } }

/* Services overview */
.services { background: var(--surface); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(40px, 6vw, 80px);
}
.pillar-card { padding: 36px 0 40px; border-top: 1px solid var(--line); }
.pillar-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pillar-icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--green-50);
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar-card h3 { font-size: 1.25rem; font-weight: 650; }
.pillar-card > p { color: var(--muted); line-height: 1.6; margin-bottom: 20px; max-width: 48ch; }
.pillar-list { list-style: none; display: grid; gap: 8px; }
.pillar-list li { display: flex; gap: 10px; font-size: .9375rem; line-height: 1.45; color: var(--ink); }

/* Emergency response reads differently from scheduled work */
.pillar-emergency { border-top: 2px solid var(--orange); }
.pillar-emergency .pillar-icon { background: var(--orange-50); color: var(--orange-ink); }

.trust-callout {
  margin-top: 40px;
  padding: 24px 28px;
  background: var(--bg);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.trust-callout p { font-size: 1.0625rem; line-height: 1.6; color: var(--muted); max-width: 72ch; }
.trust-callout strong { color: var(--ink); }
.section-cta { margin-top: 40px; }

@media (max-width: 760px) {
  .pillars-grid { grid-template-columns: 1fr; }
}

/* How it works */
.how { background: var(--ink); color: #fff; --focus: #fff; }
.how h2 { color: #fff; }
.how .section-label { color: var(--green-on-dark); }
.how .section-intro { color: rgba(255,255,255,.72); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 28px; counter-reset: none; }
.step { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.22); }
.step-num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--green-on-dark);
  margin-bottom: 20px;
}
.step h4 { color: #fff; font-size: 1.0625rem; margin-bottom: 8px; }
.step p { font-size: .9375rem; line-height: 1.6; color: rgba(255,255,255,.72); }

@media (max-width: 980px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; } }
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 20px 0; }
  .step-num { grid-row: 1 / 3; font-size: 1.5rem; margin: 0; }
}

/* Quote match */
.quote { padding-top: clamp(56px, 6vw, 80px); padding-bottom: clamp(56px, 6vw, 80px); }
.quote .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 48px;
  align-items: end;
}
.quote .section-label, .quote h2, .quote .section-intro { grid-column: 1; }
.quote .section-intro { margin-bottom: 0; }
.quote .btn-primary { grid-column: 2; grid-row: 1 / 4; align-self: end; }
@media (max-width: 760px) {
  .quote .container { grid-template-columns: 1fr; }
  .quote .btn-primary { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 28px; }
}

/* Peace of mind */
.trust { background: var(--bg-alt); }
.trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.trust-item { padding-top: 24px; border-top: 1px solid var(--line); }
.trust-item .t-icon { width: 24px; height: 24px; margin-bottom: 16px; }
.trust-item .t-icon svg { width: 24px; height: 24px; }
.trust-item h4 { margin-bottom: 8px; }
.trust-item p { font-size: .9375rem; line-height: 1.6; color: var(--muted); }
.trust .trust-callout {
  margin-top: clamp(56px, 7vw, 80px);
  padding: 40px 0 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  text-align: center;
}
.trust .trust-callout p { margin: 0 auto 8px; color: var(--muted); font-size: 1.0625rem; }
.trust .trust-callout strong {
  display: block;
  margin-top: 8px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.25;
  color: var(--ink);
}
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; gap: 32px; } }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.about-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--subtle);
  font-size: .875rem;
}
.about-text h2 { margin-bottom: 8px; }
.about-name { font-size: 1rem; font-weight: 500; color: var(--subtle); margin-bottom: 32px; }
.about-body { max-width: 62ch; }
.about-body p { color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.about-body p:last-child { margin-bottom: 0; }
.about-body strong { color: var(--ink); }
@media (min-width: 901px) { .about-photo-wrap { position: sticky; top: calc(var(--header-h) + 32px); } }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-wrap { max-width: 420px; }
  .about-photo, .about-photo-placeholder { aspect-ratio: 1 / 1; }
}

/* Contact */
.contact { background: var(--bg-alt); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact-info > p { color: var(--muted); font-size: 1.0625rem; line-height: 1.65; margin-bottom: 32px; max-width: 46ch; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-detail:last-child { border-bottom: 1px solid var(--line); }
.cd-icon { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.cd-icon svg { width: 22px; height: 22px; }
.cd-text { min-width: 0; }
.cd-text a { display: block; font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.cd-text a:hover { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.cd-text span { display: block; font-size: .875rem; color: var(--subtle); margin-top: 2px; }

form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px);
}
.form-group { margin-bottom: 20px; }
label { display: block; font-size: .9375rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
input, textarea, select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid #C9C3B5;
  border-radius: var(--radius-sm);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input::placeholder, textarea::placeholder { color: #8A9296; }
input:hover, textarea:hover, select:hover { border-color: #A9A291; }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(92,104,48,.22);
}
input:user-invalid, textarea:user-invalid { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179,38,30,.12); }
textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%2324343B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.btn-submit { width: 100%; margin-top: 8px; font-size: 1rem; }
.form-note { margin-top: 14px; font-size: .875rem; text-align: center; color: var(--subtle); }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   INNER PAGES
   ========================================================================= */

.page-hero, .emerg-hero {
  position: relative;
  padding: clamp(56px, 7vw, 96px) max(var(--gutter), calc((100% - var(--max)) / 2)) clamp(48px, 6vw, 80px);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero .hero-bg, .page-hero .hero-overlay { display: none; }
.breadcrumb { font-size: .875rem; color: var(--subtle); margin-bottom: 32px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.page-hero h1, .emerg-hero h1 { max-width: 20ch; }
.page-hero > p, .emerg-hero > p {
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 32px;
}

/* Emergency hero: dark, direct */
.emerg-hero { background: var(--ink); border-bottom: 0; --focus: #fff; }
.emerg-hero .breadcrumb, .emerg-hero .breadcrumb a { color: rgba(255,255,255,.7); }
.emerg-hero .breadcrumb a:hover { color: #fff; }
.emerg-hero .hero-badge { color: var(--orange-on-dark); }
.emerg-hero h1 { color: #fff; }
.emerg-hero h1 em { color: var(--orange-on-dark); }
.emerg-hero > p { color: rgba(255,255,255,.76); }
.big-call { min-height: 56px; padding: 14px 28px; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.big-call svg { width: 18px; height: 18px; }
.sub-cta { margin-top: 14px; font-size: .9375rem; color: rgba(255,255,255,.66); }

/* Bands that close each page */
.cta-section, .bottom-cta {
  background: var(--green-900);
  color: #fff;
  text-align: center;
  --focus: #fff;
}
.cta-section > div, .cta-section .container, .bottom-cta .container { max-width: 680px; margin: 0 auto; }
.cta-section h2, .bottom-cta h2 { color: #fff; margin: 0 auto 16px; }
.cta-section p, .bottom-cta p { color: rgba(255,255,255,.8); font-size: 1.0625rem; line-height: 1.6; margin: 0 auto 32px; max-width: 54ch; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Shared grids of short items with a top rule */
.scenario-grid, .issues-grid, .why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 40px;
}
.scenario-card, .issue-card, .why-card { padding-top: 24px; border-top: 1px solid var(--line); }
.scenario-card h3, .issue-card h3, .why-card h3 { margin-bottom: 8px; }
.scenario-card p, .issue-card p, .why-card p { font-size: .9875rem; line-height: 1.6; color: var(--muted); }
.why-card .icon { width: 24px; height: 24px; margin-bottom: 16px; }
.why-card .icon svg { width: 24px; height: 24px; }
@media (max-width: 900px) { .scenario-grid, .issues-grid, .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .scenario-grid, .issues-grid, .why-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Six-up service descriptions (hot tub, Sunriver) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 40px;
}
.services-grid .service-item { padding: 24px 0 32px; border-top: 1px solid var(--line); }
.services-grid .service-item h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.services-grid .service-item p { font-size: .9875rem; line-height: 1.6; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.services-section { background: var(--bg-alt); }
.services-dark { background: var(--ink); color: #fff; --focus: #fff; }
.services-dark h2 { color: #fff; }
.services-dark .section-label { color: var(--green-on-dark); }
.services-dark .lead { color: rgba(255,255,255,.72); }
.services-dark .services-grid .service-item { border-top-color: rgba(255,255,255,.2); }
.services-dark .service-item h3 { color: #fff; }
.services-dark .service-item p { color: rgba(255,255,255,.72); }
.services-dark .dot { background: var(--green-on-dark); }

/* ---- Services page ---- */
.jump-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.jump-nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scrollbar-width: none;
}
@media (min-width: 1200px) { .jump-nav-inner { padding: 0; } }
.jump-nav-inner::-webkit-scrollbar { display: none; }
.jump-link {
  flex-shrink: 0;
  padding: 16px 0;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.jump-link:hover { color: var(--ink); border-bottom-color: var(--green); }

.services-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(32px, 4vw, 56px) var(--gutter) var(--section-y);
}
@media (min-width: 1200px) { .services-body { padding-left: 0; padding-right: 0; } }
.category {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  grid-template-rows: auto 1fr;
  column-gap: clamp(40px, 6vw, 88px);
  padding: 48px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 72px);
}
.category:first-child { border-top: 0; }
.category-header { grid-column: 1; display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.category-header h2 { font-size: clamp(1.5rem, 2.2vw, 1.875rem); margin: 0; }
.category-icon { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--green-50); }
.category-icon svg { width: 22px; height: 22px; }
.category-desc { grid-column: 1; color: var(--muted); line-height: 1.65; }
.category-desc a { color: var(--ink); font-weight: 600; text-decoration-color: var(--green); text-underline-offset: 3px; }
.category-desc a:hover { color: var(--green-700); }
.category .service-grid { grid-column: 2; grid-row: 1 / 3; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  border-top: 1px solid var(--line-soft);
}
.page-services .service-item {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: .9875rem;
  line-height: 1.45;
  color: var(--ink);
}
@media (max-width: 860px) {
  .category { grid-template-columns: 1fr; grid-template-rows: none; }
  .category .service-grid { grid-column: 1; grid-row: auto; margin-top: 24px; }
}
@media (max-width: 560px) { .service-grid { grid-template-columns: 1fr; } }

.rates-strip {
  padding: clamp(56px, 6vw, 80px) var(--gutter);
  background: var(--bg-alt);
  text-align: center;
}
.rates-strip p { color: var(--muted); font-size: 1.0625rem; margin-bottom: 8px; }
.rate-line {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 28px;
}
.rate-line span { font-style: italic; color: var(--orange-ink); }

/* ---- Emergency page ---- */
.respond-section { background: var(--bg-alt); }
.respond-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.respond-step { padding-top: 20px; border-top: 1px solid var(--ink); }
.respond-step .num {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--green);
  margin-bottom: 20px;
}
.respond-step h3 { margin-bottom: 8px; }
.respond-step p { font-size: .9875rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 900px) { .respond-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .respond-steps { grid-template-columns: 1fr; gap: 32px; } }

.expect-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.expect-item { display: flex; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line); }
.expect-icon { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: var(--radius-sm); background: var(--green-50); }
.expect-icon svg { width: 20px; height: 20px; }
.expect-item h3 { margin-bottom: 6px; }
.expect-item p { font-size: .9875rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 760px) { .expect-list { grid-template-columns: 1fr; } }

/* ---- Hot tub page ---- */
.plans-section { background: var(--bg-alt); }
.plans-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
}
.plan-card.featured { border-color: var(--green); box-shadow: inset 0 3px 0 var(--green); }
.plan-badge {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: .8125rem;
  font-weight: 600;
}
.plan-card h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.5rem; line-height: 1.2; margin-bottom: 4px; }
.plan-freq { font-size: .9375rem; font-weight: 600; color: var(--green); margin-bottom: 16px; }
.plan-desc { font-size: .9875rem; line-height: 1.6; color: var(--muted); margin-bottom: 20px; }
.plan-includes { list-style: none; display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line-soft); margin-bottom: 28px; }
.plan-includes li { display: flex; gap: 10px; font-size: .9375rem; line-height: 1.45; color: var(--ink); }
.plan-cta { margin-top: auto; width: 100%; background: transparent; color: var(--ink); border-color: var(--ink); }
.plan-cta:hover { background: var(--ink); color: #fff; }
.plan-card.featured .plan-cta { background: var(--orange-action); border-color: var(--orange-action); color: #fff; }
.plan-card.featured .plan-cta:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.plans-note { margin: 40px auto 0; text-align: center; color: var(--ink); }
@media (max-width: 900px) { .plans-grid { grid-template-columns: 1fr; max-width: 560px; } }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.check-item { display: flex; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.check-item .check-box { width: 24px; height: 24px; background: var(--green); margin-top: 0; }
.check-item .check-box svg { width: 13px; height: 13px; }
.check-item p { font-size: .9875rem; line-height: 1.6; color: var(--muted); }
.check-item strong { color: var(--ink); }
@media (max-width: 760px) { .checklist { grid-template-columns: 1fr; } }

/* ---- Sunriver page ---- */
.page-sunriver .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.page-sunriver .step { border-top: 1px solid var(--ink); padding-top: 20px; }
.page-sunriver .step-num { color: var(--green); font-size: 1.5rem; margin-bottom: 20px; }
.page-sunriver .step h3 { margin-bottom: 8px; }
.page-sunriver .step p { font-size: .9875rem; line-height: 1.6; color: var(--muted); }
@media (max-width: 900px) { .page-sunriver .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .page-sunriver .steps { grid-template-columns: 1fr; gap: 0; }
  .page-sunriver .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 20px 0; }
  .page-sunriver .step-num { margin: 0; }
}

/* ---- Thank-you page ---- */
.page-thanks { min-height: 100vh; display: flex; flex-direction: column; }
.page-thanks main { flex: 1; display: grid; place-items: center; padding: var(--section-y) var(--gutter); }
.page-thanks .card {
  width: 100%;
  max-width: 560px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
  text-align: center;
}
.page-thanks .check {
  width: 48px; height: 48px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green);
  font-size: 0;
}
.page-thanks .check svg { width: 22px; height: 22px; }
.page-thanks h1 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.875rem, 3.5vw, 2.5rem); line-height: 1.15; margin-bottom: 16px; }
.page-thanks .card p { color: var(--muted); margin-bottom: 8px; }
.page-thanks .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.page-thanks .site-header .logo-svg { margin-right: auto; }
footer > p:first-child { padding-top: 0; border-top: 0; }
