/* Halvorsen Home Comfort — concept design
   Type: Archivo (headings, set wide and heavy) + Public Sans (body)
   Palette: deep navy, warm copper/amber, clean white, warm stone neutrals */

:root {
  --navy-900: #0b1626;
  --navy-800: #0f1f36;
  --navy-700: #16294a;
  --navy-600: #22385e;
  --navy-300: #8fa0bd;
  --copper-700: #9a521a;   /* copper text on light: 5.6:1 on white */
  --copper-500: #c26a26;
  --amber-400: #eba04a;    /* button fill, navy text on top */
  --amber-300: #f3bd7a;
  --amber-100: #fbecd9;
  --white: #ffffff;
  --stone-50: #f7f5f1;
  --stone-100: #efebe4;
  --stone-200: #e2ddd3;
  --ink: #142033;
  --ink-soft: #4a5568;
  --on-navy: #dbe3f0;
  --on-navy-soft: #a9b6cc;

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;

  /* spacing scale (4pt) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  --radius: 6px;
  --radius-lg: 14px;
  --shadow: 0 1px 2px rgba(11, 22, 38, .06), 0 8px 24px rgba(11, 22, 38, .08);
  --container: 1200px;
  --gutter: 20px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--copper-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s4);
  color: var(--navy-800);
}
h1 { font-size: clamp(2.15rem, 6.4vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.75rem); }
h3 { font-size: 1.25rem; line-height: 1.2; }
h4 { font-size: 1.0625rem; }

:focus-visible {
  outline: 3px solid var(--amber-400);
  outline-offset: 3px;
  border-radius: 3px;
}
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--amber-300); }

.skip-link {
  position: absolute; left: var(--s4); top: -100px; z-index: 100;
  background: var(--navy-800); color: var(--white); padding: var(--s3) var(--s4);
  border-radius: var(--radius); font-weight: 700;
}
.skip-link:focus { top: var(--s3); color: var(--white); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--s8); }
.section--stone { background: var(--stone-50); }
.section--navy { background: var(--navy-800); color: var(--on-navy); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--font-head);
  font-stretch: 125%;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--copper-700);
  margin-bottom: var(--s3);
}
.eyebrow::before {
  content: ""; width: 22px; height: 3px; background: currentColor; border-radius: 2px;
}
.on-dark .eyebrow, .section--navy .eyebrow { color: var(--amber-300); }

.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.section--navy .lede, .on-dark .lede { color: var(--on-navy-soft); }
.section-head { max-width: 720px; margin-bottom: var(--s7); }
.section-head--split { max-width: none; display: grid; gap: var(--s4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-stretch: 108%;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn svg { flex: none; }
.btn--amber { background: var(--amber-400); color: var(--navy-900); }
.btn--amber:hover { background: var(--amber-300); color: var(--navy-900); }
.btn--navy { background: var(--navy-800); color: var(--white); }
.btn--navy:hover { background: var(--navy-600); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }
.btn--outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-800); color: var(--white); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }

.text-link {
  font-family: var(--font-head); font-stretch: 108%; font-weight: 700;
  color: var(--navy-800); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
}
.text-link span { color: var(--copper-700); transition: transform .18s ease; }
.text-link:hover span { transform: translateX(3px); }
.on-dark .text-link, .section--navy .text-link { color: var(--white); }
.on-dark .text-link span, .section--navy .text-link span { color: var(--amber-300); }

/* ---------- Header ---------- */
.utility-bar {
  display: none;
  background: var(--navy-900);
  color: var(--on-navy-soft);
  font-size: .875rem;
}
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; gap: var(--s5); min-height: 38px; }
.utility-bar strong { color: var(--amber-300); font-weight: 600; }
.utility-bar a { color: var(--white); text-decoration: none; }
.utility-bar a:hover { text-decoration: underline; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--stone-200);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(11, 22, 38, .08); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-800); min-height: 44px; }
.brand svg { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-head); font-stretch: 125%; font-weight: 800;
  font-size: 1.1rem; letter-spacing: .04em; color: var(--navy-800);
}
.brand-sub {
  font-family: var(--font-head); font-stretch: 125%; font-weight: 600;
  font-size: .62rem; letter-spacing: .28em; color: var(--copper-700); margin-top: 5px;
}

.primary-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: var(--s2); }
.header-phone {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--amber-100); color: var(--navy-800); text-decoration: none;
}
.header-phone .num { display: none; }
.header-book { display: none; }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 0; border-radius: var(--radius);
  background: var(--navy-800); color: var(--white); cursor: pointer;
}
.menu-toggle .bar { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: background .2s; }
.menu-toggle .bar::before, .menu-toggle .bar::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; transition: transform .2s ease;
}
.menu-toggle .bar::before { top: -6px; }
.menu-toggle .bar::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .bar { background: transparent; }
.menu-toggle[aria-expanded="true"] .bar::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--stone-200);
  background: var(--white);
  padding: var(--s3) 0 var(--s5);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav li a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px; padding: 0 2px;
  border-bottom: 1px solid var(--stone-100);
  font-family: var(--font-head); font-stretch: 112%; font-weight: 700; font-size: 1.15rem;
  color: var(--navy-800); text-decoration: none;
}
.mobile-nav li a[aria-current="page"] { color: var(--copper-700); }
.mobile-nav .btn-row { margin-top: var(--s5); }
.mobile-nav .btn { flex: 1 1 100%; }

/* ---------- Hero (home) ---------- */
.hero { background: var(--navy-800); color: var(--on-navy); position: relative; overflow: hidden; }
.hero-grid { display: grid; }
.hero-media { position: relative; order: -1; }
.hero-media img { width: 100%; height: 260px; object-fit: cover; object-position: 40% 60%; }
.hero-media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 70px;
  background: linear-gradient(to bottom, rgba(15,31,54,0), var(--navy-800));
}
.hero-copy { padding: var(--s5) 0 var(--s8); position: relative; }
.hero h1 { color: var(--white); margin-bottom: var(--s5); }
.hero h1 em { font-style: normal; color: var(--amber-400); }
.hero .lede { color: var(--on-navy); margin-bottom: var(--s6); }
.hero .btn-row .btn { flex: 1 1 100%; }

.promise {
  margin-top: var(--s6);
  display: grid; grid-template-columns: auto 1fr; gap: var(--s4); align-items: start;
  padding: var(--s5);
  border: 1px solid rgba(235, 160, 74, .35);
  background: rgba(235, 160, 74, .07);
  border-radius: var(--radius-lg);
}
.promise-icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--amber-400); color: var(--navy-900);
}
.promise h2 {
  font-size: 1.05rem; color: var(--white); margin-bottom: 6px; letter-spacing: 0;
}
.promise p { font-size: .95rem; color: var(--on-navy-soft); margin: 0; }
.promise a { color: var(--amber-300); }

/* ---------- Standards strip ---------- */
.standards { background: var(--stone-50); border-bottom: 1px solid var(--stone-200); }
.standards ul {
  list-style: none; display: grid; grid-template-columns: 1fr; gap: 0;
}
.standards li {
  display: flex; gap: var(--s3); align-items: flex-start;
  padding: var(--s5) 0; border-bottom: 1px solid var(--stone-200);
}
.standards li:last-child { border-bottom: 0; }
.standards svg { flex: none; color: var(--copper-500); margin-top: 2px; }
.standards strong { display: block; font-family: var(--font-head); font-stretch: 108%; color: var(--navy-800); font-size: 1rem; }
.standards span { font-size: .925rem; color: var(--ink-soft); }

/* ---------- Service cards ---------- */
.service-grid { display: grid; gap: var(--s5); grid-template-columns: 1fr; list-style: none; }
.service-card {
  background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.service-card:hover { box-shadow: var(--shadow); border-color: var(--stone-100); transform: translateY(-2px); }
.service-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-card .body { padding: var(--s5); display: flex; flex-direction: column; flex: 1; }
.service-card .tag {
  font-family: var(--font-head); font-stretch: 125%; font-size: .7rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--copper-700); margin-bottom: var(--s2);
}
.service-card h3 { margin-bottom: var(--s2); }
.service-card p { color: var(--ink-soft); font-size: .975rem; }
.service-card .text-link { margin-top: auto; }

/* ---------- Process ---------- */
.process-grid { display: grid; gap: var(--s7); }
.process-media { position: relative; }
.process-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 50%; }
.process-media figcaption {
  position: absolute; left: var(--s4); bottom: var(--s4); right: var(--s4);
  background: rgba(11, 22, 38, .88); color: var(--on-navy); font-size: .875rem;
  padding: var(--s3) var(--s4); border-radius: var(--radius);
}
.steps { list-style: none; counter-reset: step; display: grid; gap: var(--s5); }
.steps li {
  counter-increment: step; position: relative;
  padding-left: 64px; min-height: 48px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 46px; height: 46px; border-radius: var(--radius);
  display: grid; place-items: center;
  font-family: var(--font-head); font-stretch: 112%; font-weight: 800; font-size: 1rem;
  background: var(--navy-800); color: var(--amber-300);
}
.steps h3 { margin-bottom: 6px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .975rem; }

/* ---------- Energy band ---------- */
.energy { position: relative; overflow: hidden; }
.energy-grid { display: grid; gap: var(--s7); align-items: center; }
.energy-photos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.energy-photos img { border-radius: var(--radius-lg); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.energy-photos img:first-child { margin-top: var(--s7); }
.order-list { list-style: none; display: grid; gap: 0; margin: var(--s6) 0; border-top: 1px solid rgba(255,255,255,.12); }
.order-list li {
  display: grid; grid-template-columns: 44px 1fr; gap: var(--s4);
  padding: var(--s4) 0; border-bottom: 1px solid rgba(255,255,255,.12);
}
.order-list .n {
  font-family: var(--font-head); font-stretch: 125%; font-weight: 800; color: var(--amber-400); font-size: 1.1rem; padding-top: 2px;
}
.order-list strong { color: var(--white); font-family: var(--font-head); font-stretch: 108%; display: block; }
.order-list span { color: var(--on-navy-soft); font-size: .95rem; }

/* ---------- Plans ---------- */
.plans-head { display: grid; gap: var(--s5); margin-bottom: var(--s7); align-items: end; }
.plans-head img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.example-note {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: .85rem; font-weight: 600; color: var(--navy-700);
  background: var(--amber-100); border: 1px dashed var(--copper-500);
  padding: 6px 12px; border-radius: 999px;
}
.plan-grid { display: grid; gap: var(--s5); list-style: none; }
.plan {
  background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--radius-lg);
  padding: var(--s6) var(--s5); display: flex; flex-direction: column; position: relative;
}
.plan--featured { border: 2px solid var(--navy-800); box-shadow: var(--shadow); }
.plan-flag {
  position: absolute; top: -13px; left: var(--s5);
  background: var(--navy-800); color: var(--amber-300);
  font-family: var(--font-head); font-stretch: 125%; font-weight: 700; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 4px;
}
.plan h3 { font-size: 1.35rem; margin-bottom: var(--s2); }
.plan .for { color: var(--ink-soft); font-size: .95rem; min-height: 3em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: var(--s3) 0 2px; color: var(--navy-800); }
.price .amt { font-family: var(--font-head); font-stretch: 112%; font-weight: 800; font-size: 2.6rem; line-height: 1; }
.price .per { color: var(--ink-soft); font-size: .95rem; }
.price-note { font-size: .8rem; color: var(--ink-soft); margin-bottom: var(--s5); }
.checks { list-style: none; display: grid; gap: var(--s3); margin-bottom: var(--s6); }
.checks li { display: grid; grid-template-columns: 20px 1fr; gap: var(--s3); font-size: .975rem; }
.checks li::before {
  content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--amber-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%239a521a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.section--navy .checks li::before { background-color: rgba(235,160,74,.18); }
.plan .btn { margin-top: auto; }
.plans-foot { margin-top: var(--s5); font-size: .9rem; color: var(--ink-soft); }

/* ---------- Service area band ---------- */
.area-band { background: var(--copper-700); color: var(--white); }
.area-band .container { display: grid; gap: var(--s4); padding-block: var(--s6); align-items: center; }
.area-band h2 { color: var(--white); font-size: clamp(1.3rem, 3vw, 1.75rem); margin: 0 0 6px; }
.area-band p { margin: 0; color: #fbe5cf; }
.area-band .btn--ghost { border-color: rgba(255,255,255,.7); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: var(--s7); }
.faq { border-top: 1px solid var(--stone-200); }
.faq details { border-bottom: 1px solid var(--stone-200); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  min-height: 60px; padding: var(--s4) 0;
  font-family: var(--font-head); font-stretch: 108%; font-weight: 700; font-size: 1.075rem; color: var(--navy-800);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--stone-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v10M5 10h10' stroke='%230f1f36' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--amber-100); }
.faq details > div { padding: 0 0 var(--s5); color: var(--ink-soft); max-width: 68ch; }
.faq details > div p:last-child { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-700); color: var(--on-navy); border-top: 4px solid var(--amber-400); }
.cta-band .container { display: grid; gap: var(--s5); padding-block: var(--s8); }
.cta-band h2 { color: var(--white); margin-bottom: var(--s3); }
.cta-band p { color: var(--on-navy-soft); margin: 0; max-width: 56ch; }
.cta-band .btn-row .btn { flex: 1 1 100%; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy-800); color: var(--on-navy); position: relative; overflow: hidden; }
.page-hero .container { display: grid; gap: var(--s6); padding-block: var(--s7) var(--s8); position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5.5vw, 3.4rem); }
.page-hero .lede { color: var(--on-navy); }
.page-hero-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.crumbs { font-size: .875rem; color: var(--on-navy-soft); margin-bottom: var(--s4); }
.crumbs a { color: var(--amber-300); }

/* jump nav */
.jump-nav { background: var(--white); border-bottom: 1px solid var(--stone-200); }
.jump-nav ul {
  list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); padding-block: var(--s4);
}
.jump-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--stone-200); border-radius: 999px;
  font-size: .9rem; font-weight: 600; color: var(--navy-800); text-decoration: none; background: var(--stone-50);
}
.jump-nav a:hover { border-color: var(--navy-800); }

/* service detail blocks */
.svc { padding-block: var(--s8); border-bottom: 1px solid var(--stone-200); }
.svc-grid { display: grid; gap: var(--s6); }
.svc { --svc-bg: var(--white); background: var(--svc-bg); }
.svc:nth-of-type(even) { --svc-bg: var(--stone-50); }
.svc-media { display: grid; grid-template-columns: repeat(6, 1fr); align-self: start; }
.svc-media img { border-radius: var(--radius-lg); width: 100%; object-fit: cover; }
.svc-media img:first-child { grid-column: 1 / 6; grid-row: 1; aspect-ratio: 4 / 3; }
.svc-media img:nth-child(2) {
  grid-column: 4 / 7; grid-row: 2; margin-top: -28%; aspect-ratio: 1 / 1;
  border: 6px solid var(--svc-bg); box-shadow: var(--shadow); position: relative;
}
.svc--flip .svc-media img:first-child { grid-column: 2 / 7; }
.svc--flip .svc-media img:nth-child(2) { grid-column: 1 / 4; }
.svc .num {
  font-family: var(--font-head); font-stretch: 125%; font-weight: 800; color: var(--copper-700);
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
}
.svc h2 { margin-top: var(--s2); }
.svc-cols { display: grid; gap: var(--s5); margin: var(--s5) 0; }
.svc-cols h3 {
  font-size: .8rem; font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-700); margin-bottom: var(--s3);
}
.dash-list { list-style: none; display: grid; gap: var(--s2); }
.dash-list li { position: relative; padding-left: 22px; font-size: .975rem; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; background: var(--copper-500); }
.price-chip {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4);
  padding: var(--s4); border-radius: var(--radius); background: var(--white); border: 1px solid var(--stone-200);
  font-size: .95rem;
}
.svc:nth-of-type(even) .price-chip { background: var(--white); }
.price-chip strong { font-family: var(--font-head); font-stretch: 108%; color: var(--navy-800); }
.price-chip .ex { font-size: .78rem; font-weight: 700; color: var(--copper-700); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Price table ---------- */
.rates { width: 100%; border-collapse: collapse; font-size: .975rem; }
.rates caption { text-align: left; margin-bottom: var(--s3); color: var(--ink-soft); font-size: .9rem; }
.rates th, .rates td { text-align: left; padding: var(--s4) var(--s3); border-bottom: 1px solid var(--stone-200); vertical-align: top; }
.rates th { font-family: var(--font-head); font-stretch: 108%; color: var(--navy-800); font-weight: 700; }
.rates td:last-child { white-space: nowrap; font-weight: 700; color: var(--navy-800); text-align: right; }
.rates thead th { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.rates thead th:last-child { text-align: right; }

/* ---------- About ---------- */
.story-grid { display: grid; gap: var(--s7); align-items: start; }
.story-grid .prose p { font-size: 1.075rem; }
.pull {
  font-family: var(--font-head); font-stretch: 108%; font-weight: 700; font-size: clamp(1.3rem, 3vw, 1.65rem); line-height: 1.3;
  color: var(--navy-800); border-left: 4px solid var(--amber-400); padding-left: var(--s5); margin: var(--s6) 0;
}
.rules { list-style: none; display: grid; gap: var(--s4); }
.rule {
  background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--radius-lg); padding: var(--s5);
  display: grid; grid-template-columns: 48px 1fr; gap: var(--s4);
}
.rule .ic {
  width: 48px; height: 48px; border-radius: var(--radius); background: var(--navy-800); color: var(--amber-300);
  display: grid; place-items: center;
}
.rule h3 { font-size: 1.1rem; margin-bottom: 6px; }
.rule p { margin: 0; color: var(--ink-soft); font-size: .975rem; }
.trades { display: grid; gap: var(--s4); list-style: none; }
.trade {
  border-top: 3px solid var(--amber-400); padding-top: var(--s4);
}
.trade h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 6px; }
.trade p { color: var(--on-navy-soft); margin: 0; font-size: .975rem; }
.photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.photo-row img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--stone-200); text-align: left; font-size: .975rem; }
.hours td { text-align: right; font-weight: 600; color: var(--navy-800); }
.hours th { font-weight: 500; color: var(--ink-soft); }
.area-list { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin: var(--s4) 0; }
.area-list li {
  padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--stone-200);
  font-size: .925rem; font-weight: 600; color: var(--navy-800);
}
.info-cards { display: grid; gap: var(--s5); }
.info-card { background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--radius-lg); padding: var(--s6) var(--s5); }
.info-card h3 { margin-bottom: var(--s3); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--s7); align-items: start; }
.form-card {
  background: var(--white); border: 1px solid var(--stone-200); border-radius: var(--radius-lg);
  padding: var(--s6) var(--s5); box-shadow: var(--shadow);
}
.form-card h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin-bottom: var(--s2); }
.form-intro { color: var(--ink-soft); margin-bottom: var(--s6); }
.demo-banner {
  display: flex; gap: var(--s3); align-items: flex-start;
  background: var(--amber-100); border: 1px dashed var(--copper-500); color: var(--navy-800);
  padding: var(--s3) var(--s4); border-radius: var(--radius); font-size: .9rem; margin-bottom: var(--s6);
}
.demo-banner svg { flex: none; margin-top: 2px; color: var(--copper-700); }
fieldset { border: 0; padding: 0; margin: 0 0 var(--s6); min-width: 0; }
legend {
  font-family: var(--font-head); font-stretch: 125%; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--copper-700); margin-bottom: var(--s4); padding: 0;
}
.field-grid { display: grid; gap: var(--s4); }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: .95rem; color: var(--navy-800); }
.field .hint { font-weight: 400; color: var(--ink-soft); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  border: 1.5px solid #b9b3a8; border-radius: var(--radius); background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 128px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%230f1f36' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(235,160,74,.55);
}
.choice-grid { display: grid; grid-template-columns: 1fr; gap: var(--s2); }
.choice {
  position: relative; display: flex; align-items: center; gap: var(--s3);
  min-height: 52px; padding: 10px 14px; border: 1.5px solid var(--stone-200); border-radius: var(--radius);
  cursor: pointer; font-weight: 600; font-size: .95rem; color: var(--navy-800); background: var(--white);
  transition: border-color .15s ease, background-color .15s ease;
}
.choice input { width: 20px; height: 20px; accent-color: var(--navy-800); margin: 0; flex: none; }
.choice:has(input:checked) { border-color: var(--navy-800); background: var(--stone-50); }
.choice:has(input:focus-visible) { outline: 3px solid var(--amber-400); outline-offset: 2px; }
.choice small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .825rem; }
.form-actions { display: grid; gap: var(--s3); }
.form-actions p { font-size: .85rem; color: var(--ink-soft); margin: 0; }
.form-status {
  display: none; margin-top: var(--s4);
  background: #e9f4ec; border: 1px solid #8cc19b; color: #1d4d2b;
  padding: var(--s4); border-radius: var(--radius); font-weight: 600;
}
.form-status.is-visible { display: block; }
.side-stack { display: grid; gap: var(--s5); }
.side-card { border-radius: var(--radius-lg); padding: var(--s6) var(--s5); background: var(--stone-50); border: 1px solid var(--stone-200); }
.side-card--navy { background: var(--navy-800); border-color: var(--navy-800); color: var(--on-navy); }
.side-card--navy h2, .side-card--navy h3 { color: var(--white); }
.side-card h2 { font-size: 1.35rem; }
.big-phone {
  display: inline-flex; align-items: center; gap: var(--s3); min-height: 48px;
  font-family: var(--font-head); font-stretch: 112%; font-weight: 800; font-size: clamp(1.5rem, 5vw, 1.9rem);
  color: var(--amber-300); text-decoration: none; margin: var(--s2) 0 var(--s3);
}
.big-phone:hover { color: var(--white); }
.next-steps { list-style: none; counter-reset: ns; display: grid; gap: var(--s4); }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 32px 1fr; gap: var(--s3); font-size: .95rem; }
.next-steps li::before {
  content: counter(ns); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-800); color: var(--amber-300); font-family: var(--font-head); font-weight: 800; font-size: .9rem;
}
.next-steps strong { display: block; color: var(--navy-800); }
.side-photo img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-navy-soft); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s5); padding-block: var(--s8) var(--s6); }
.footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
.site-footer ul a { font-size: .925rem; }
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-sub { color: var(--amber-300); }
.site-footer h2 {
  font-size: .78rem; font-stretch: 125%; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: var(--s3);
}
.site-footer ul { list-style: none; display: grid; gap: 2px; }
.site-footer a { color: var(--on-navy); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--amber-300); text-decoration: underline; }
.footer-about { max-width: 34ch; margin-top: var(--s4); }
.footer-phone { font-family: var(--font-head); font-stretch: 112%; font-weight: 800; font-size: 1.3rem; color: var(--white) !important; }
.footer-legal-wrap { border-top: 1px solid rgba(255,255,255,.1); }
.footer-legal {
  padding-block: var(--s5);
  display: grid; gap: var(--s2); font-size: .85rem; color: var(--on-navy-soft);
}
.footer-legal p { margin: 0; }
.concept-note { color: var(--on-navy); }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* =========================================================
   Breakpoints (mobile-first)
   ========================================================= */
@media (min-width: 560px) {
  .hero .btn-row .btn, .cta-band .btn-row .btn { flex: 0 0 auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .standards ul { grid-template-columns: repeat(2, 1fr); column-gap: var(--s6); }
  .standards li:nth-last-child(2) { border-bottom: 0; }
  .field-grid--2 { grid-template-columns: 1fr 1fr; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .svc-cols { grid-template-columns: 1fr 1fr; }
  .photo-row { grid-template-columns: repeat(3, 1fr); }
  .rules { grid-template-columns: 1fr 1fr; }
  .trades { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 76px; }
  .section { padding-block: var(--s9); }
  .hero-media img { height: 360px; }
  .plan-grid { grid-template-columns: repeat(3, 1fr); }
  .plan-grid .plan--featured { transform: translateY(-8px); }
  .area-band .container { grid-template-columns: 1fr auto; }
  .cta-band .container { grid-template-columns: 1.4fr 1fr; align-items: center; }
  .cta-band .btn-row { justify-content: flex-end; }
  .footer-grid { grid-template-columns: 1.3fr .9fr 1.1fr 1.3fr; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: auto; }
  .footer-legal { grid-template-columns: 1fr auto; align-items: center; }
  .faq-grid { grid-template-columns: 1fr 1.6fr; }
  .info-cards { grid-template-columns: 1fr 1fr; }
  .header-phone { width: auto; padding: 0 14px; gap: 8px; }
  .header-phone .num { display: inline; font-family: var(--font-head); font-stretch: 108%; font-weight: 700; font-size: .95rem; }
}

@media (min-width: 1024px) {
  .utility-bar { display: block; }
  .primary-nav { display: block; }
  .primary-nav ul { list-style: none; display: flex; gap: var(--s1); }
  .primary-nav a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
    font-family: var(--font-head); font-stretch: 108%; font-weight: 600; font-size: .98rem;
    color: var(--navy-800); text-decoration: none; border-radius: var(--radius); position: relative;
  }
  .primary-nav a:hover { background: var(--stone-50); }
  .primary-nav a[aria-current="page"]::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 2px; background: var(--amber-400);
  }
  .menu-toggle, .mobile-nav, .mobile-nav.is-open { display: none; }
  .header-book { display: inline-flex; min-height: 44px; padding: 10px 18px; }

  .hero-grid { grid-template-columns: 1fr; min-height: 660px; align-items: center; }
  .hero-copy { max-width: min(640px, 52%); padding: var(--s9) 0; }
  .hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 44%; }
  .hero-media img { height: 100%; object-position: 30% 70%; }
  .hero-media::after {
    inset: 0 auto 0 0; width: 160px; height: auto;
    background: linear-gradient(to right, var(--navy-800), rgba(15,31,54,0));
  }
  .page-hero--compact .container { grid-template-columns: 1.3fr 1fr; padding-block: var(--s8); }
  .standards ul { grid-template-columns: repeat(4, 1fr); }
  .standards li { border-bottom: 0; padding: var(--s6) 0; }

  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .section-head--split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: var(--s8); }
  .section-head--split p { margin-bottom: 0; }

  .process-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
  .process-media img { aspect-ratio: 4 / 5; }
  .energy-grid { grid-template-columns: 1fr 1.05fr; gap: var(--s9); }
  .plans-head { grid-template-columns: 1.3fr 1fr; gap: var(--s8); }

  .page-hero .container { grid-template-columns: 1.1fr 1fr; align-items: center; gap: var(--s8); padding-block: var(--s8) var(--s9); }
  .svc-grid { grid-template-columns: 1fr 1.15fr; gap: var(--s8); align-items: start; }
  .svc--flip .svc-grid { grid-template-columns: 1.15fr 1fr; }
  .svc--flip .svc-media { order: 2; }
  .svc-media { position: sticky; top: calc(var(--header-h) + 24px); }
  .story-grid { grid-template-columns: 1.2fr 1fr; gap: var(--s9); }
  .rules { grid-template-columns: repeat(3, 1fr); }
  .trades { grid-template-columns: repeat(4, 1fr); gap: var(--s6); }
  .contact-grid { grid-template-columns: 1.5fr 1fr; gap: var(--s8); }
  .form-card { padding: var(--s7); }
  .info-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
  .service-card:hover { transform: none; }
}

/* ---------- Small component modifiers ---------- */
figure { margin: 0; }
.mt-4 { margin-top: var(--s4); }
.mt-5 { margin-top: var(--s5); }
.mt-6 { margin-top: var(--s6); }
.mt-8 { margin-top: var(--s8); }
.promise--light { background: var(--stone-50); border-color: var(--stone-200); }
.promise--light h3 { font-size: 1.05rem; margin-bottom: 6px; letter-spacing: 0; }
.promise--light p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.promise--light a { color: var(--copper-700); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.rates .sub { display: block; margin-top: 2px; font-family: var(--font-body); font-stretch: 100%; font-weight: 400; font-size: .9rem; color: var(--ink-soft); }
.story-figure img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 35% 50%; }
.story-figure figcaption { margin-top: var(--s3); font-size: .9rem; color: var(--ink-soft); }

@media (max-width: 559px) {
  .btn-row .btn { flex: 1 1 100%; }
  .photo-row img:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
}

.primary-nav a, .header-book, .header-phone .num { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1199px) {
  .header-phone { width: 44px; padding: 0; }
  .header-phone .num { display: none; }
  .primary-nav a { padding: 0 10px; }
  .primary-nav a[aria-current="page"]::after { left: 10px; right: 10px; }
}
