/* =========================================================
   Foundation Repair Portland — site styles
   Layout modelled on the Groundwork / Ridgeline home-services
   template by Antimatter AI (MIT License):
   https://github.com/mattantimatter/groundwork-template
   https://ridgeline-lite-demo.vercel.app/
   Rebuilt as plain CSS for a static site. Colours from the logo.
   ========================================================= */

/* ---------- tokens ---------- */
:root {
  --dark:          #142538;   /* logo navy (demo: slate-900) */
  --dark-deep:     #0e1b2a;
  --dark-soft:     #1f3349;   /* card on dark (demo: slate-800) */
  --primary:       #d08850;   /* logo copper, bright — dark text on it passes AA */
  --primary-hover: #dc9a66;
  --primary-ink:   #9a5328;   /* copper for text/links on white (AA) */
  --primary-tint:  rgba(208, 136, 80, .14);
  --on-primary:    #142538;

  --surface:       #f8fafc;   /* slate-50 */
  --border:        #e2e8f0;   /* slate-200 */
  --text:          #334155;   /* slate-700 */
  --text-soft:     #475569;   /* slate-600 */
  --on-dark:       #cbd5e1;   /* slate-300 */
  --on-dark-soft:  #94a3b8;   /* slate-400 */

  --max:           1280px;
  --gutter:        clamp(16px, 3vw, 32px);
  --section-y:     clamp(64px, 7vw, 80px);
  --radius:        6px;
  --radius-lg:     8px;
  --shadow-sm:     0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow:        0 12px 28px -12px rgba(15, 23, 42, .28);

  --font-heading:  'Barlow Condensed', 'Arial Narrow', ui-sans-serif, system-ui, sans-serif;
  --font-body:     'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease:          cubic-bezier(.16, 1, .3, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.5; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-wrap: break-word; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
svg.i { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; color: var(--dark); text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); line-height: 1.1; letter-spacing: -.025em; }
h2 { font-size: clamp(1.875rem, 3vw, 2.25rem); line-height: 1.25; letter-spacing: -.025em; margin-bottom: .6rem; }
h3 { font-size: 1.25rem; line-height: 1.35; letter-spacing: -.025em; margin-bottom: .5rem; }
p  { margin-bottom: 1rem; color: var(--text-soft); line-height: 1.625; }
strong { color: var(--dark); }
a { color: var(--primary-ink); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.muted { color: var(--text-soft); font-size: .875rem; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 3rem; }
.mb-md { margin-bottom: 1.5rem; }

/* section label */
.eyebrow { margin-bottom: .5rem; color: var(--primary-ink); font-family: var(--font-heading); font-size: 1rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.5; }
.section-head { max-width: 48rem; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { margin-bottom: 0; }
.section-head + .section__lead, .section-head + p { max-width: 48rem; margin: -2rem auto 3rem; text-align: center; font-size: 1.125rem; }
.section-head + .section__lead p { font-size: 1.125rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 12px 20px; white-space: nowrap;
  background: var(--primary); color: var(--on-primary);
  border: 2px solid var(--primary); border-radius: var(--radius);
  font: 600 1rem/1.5 var(--font-heading); letter-spacing: .025em; text-transform: uppercase; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--on-primary); text-decoration: none; }
.btn--lg { padding: 14px 28px; font-size: 1.125rem; line-height: 1.55; }
.btn--block { width: 100%; }
.btn--ghost, .btn--outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn--ghost:hover, .btn--outline:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn--light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.btn--light:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }
.btn .i { width: 20px; height: 20px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.btn-row--center { justify-content: center; }
@media (max-width: 480px) { .btn { white-space: normal; } }

/* ---------- utility bar ---------- */
.topbar { background: var(--dark); color: var(--on-dark); font-size: .875rem; line-height: 1.43; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar__group { display: flex; align-items: center; gap: 24px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); white-space: nowrap; }
.topbar__item .i { width: 16px; height: 16px; color: var(--primary); }
.topbar__phone { color: #fff; font-weight: 600; }
.topbar__phone:hover { color: var(--primary); text-decoration: none; }
@media (max-width: 1024px) { .topbar__hide-sm { display: none; } }
@media (max-width: 640px) { .topbar { display: none; } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: var(--max); margin: 0 auto; padding: 12px var(--gutter); }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav__logo:hover { text-decoration: none; }
.nav__logo img { width: 46px; height: 46px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand strong, .nav__logo > strong { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; color: var(--dark); }
.brand small { margin-top: 4px; color: #64748b; font-family: var(--font-heading); font-size: .7rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }

.nav__links { display: flex; align-items: center; justify-content: center; gap: 24px; list-style: none; }
.nav__links > li > a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--dark); font-family: var(--font-heading); font-size: 1.125rem; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; transition: color .15s ease; }
.nav__links > li > a:hover { color: var(--primary-ink); text-decoration: none; }
.nav__links .i { width: 16px; height: 16px; transition: transform .2s ease; }

.has-dropdown { position: relative; }
.has-dropdown:hover > a .i, .has-dropdown:focus-within > a .i { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 13px); left: 50%; z-index: 60;
  min-width: 270px; padding: 8px; list-style: none;
  background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .15s ease, transform .15s var(--ease), visibility .15s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px; }
.has-dropdown:hover > .dropdown, .has-dropdown:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--radius); color: var(--dark); font-size: .9375rem; font-weight: 500; }
.dropdown a:hover { background: var(--surface); color: var(--primary-ink); text-decoration: none; }
.dropdown .i { width: 17px; height: 17px; color: var(--primary); }
.dropdown .dropdown__all { margin-top: 4px; border-top: 1px solid var(--border); border-radius: 0; color: var(--primary-ink); font-family: var(--font-heading); font-size: 1rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.dropdown--areas { min-width: 430px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; }
.dropdown--areas li:last-child { grid-column: 1 / -1; }

.nav__actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--dark); font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; }
.nav__phone .i { width: 20px; height: 20px; color: var(--primary-ink); }
.nav__phone:hover { color: var(--primary-ink); text-decoration: none; }
.nav__cta { padding: 12px 20px; }

.nav__call-sm, .nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius); }
.nav__call-sm { background: var(--primary); color: var(--on-primary); }
.nav__call-sm .i { width: 20px; height: 20px; }
.nav__toggle { background: none; border: 1px solid var(--border); color: var(--dark); cursor: pointer; }
.nav__toggle .i { width: 22px; height: 22px; }

@media (max-width: 1240px) { .nav__phone span { display: none; } }
@media (max-width: 1100px) {
  .nav__links, .nav__actions { display: none; }
  .nav__toggle, .nav__call-sm { display: inline-flex; }
  .nav__right-sm { display: flex; gap: 8px; }
}
.nav__call-sm + .nav__toggle { margin-left: -8px; }
@media (max-width: 400px) {
  .nav__logo img { width: 40px; height: 40px; }
  .brand strong { font-size: 1.2rem; }
  .brand small { font-size: .6rem; letter-spacing: .22em; }
}

/* ---------- mobile menu ---------- */
.mnav { position: fixed; inset: 0; z-index: 100; display: none; flex-direction: column; background: #fff; }
.mnav.open { display: flex; }
.mnav .nav__toggle { display: inline-flex; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; padding: 12px var(--gutter); border-bottom: 1px solid var(--border); flex-shrink: 0; }
.mnav__top .nav__logo > strong { font-size: 1.25rem; }
.mnav__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--gutter) 24px; }
.mnav__body > a, .mnav__body summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--border); font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; color: var(--dark); list-style: none; cursor: pointer; }
.mnav__body > a:hover { color: var(--primary-ink); text-decoration: none; }
.mnav__body summary::-webkit-details-marker { display: none; }
.mnav__body summary .i { transition: transform .2s ease; }
.mnav__body details[open] summary .i { transform: rotate(180deg); }
.mnav__body details ul { list-style: none; padding: 6px 0 10px; border-bottom: 1px solid var(--border); }
.mnav__body details a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--text-soft); }
.mnav__body details a .i { width: 17px; height: 17px; color: var(--primary); }
.mnav__foot { display: grid; gap: 10px; padding: 16px var(--gutter) 28px; border-top: 1px solid var(--border); flex-shrink: 0; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--dark); color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(14, 27, 42, .7); }
.hero__inner { padding-top: clamp(96px, 9vw, 128px); padding-bottom: clamp(96px, 9vw, 128px); }
.hero .eyebrow { color: var(--primary); font-size: 1.125rem; }
.hero h1 { max-width: 48rem; margin: .75rem 0 0; color: #fff; }
.hero__lead { max-width: 42rem; margin: 1.5rem 0 0; color: #e2e8f0; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.625; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 2.5rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 2.5rem; list-style: none; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; color: #e2e8f0; font-size: .875rem; font-weight: 500; }
.hero__trust .i { width: 20px; height: 20px; color: var(--primary); }
@media (max-width: 520px) { .hero__cta .btn { flex: 1 1 100%; } }

/* trust strip */
.trust-strip { background: var(--surface); border-bottom: 1px solid var(--border); }
.trust-strip__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 40px; padding-top: 20px; padding-bottom: 20px; list-style: none; }
.trust-strip a { display: inline-flex; align-items: center; gap: 8px; color: var(--text-soft); font-size: .875rem; font-weight: 600; }
.trust-strip a:hover { color: var(--primary-ink); text-decoration: none; }
.trust-strip .i { width: 20px; height: 20px; color: var(--primary); }
@media (max-width: 640px) { .trust-strip__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; } .trust-strip a { font-size: .8125rem; } }

/* ---------- sections ---------- */
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--surface); }
.section--media { padding: 0 0 clamp(24px, 4vw, 40px); }
.section--alt + .section--media, .section--dark + .section--media { padding-top: clamp(24px, 4vw, 40px); }
.section__lead { max-width: 48rem; }
.section__lead p, p.section__lead { font-size: 1.0625rem; }
.center .section__lead, .section__lead.center { margin-left: auto; margin-right: auto; }
.media-img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius-lg); }
@media (max-width: 768px) { .media-img { aspect-ratio: 4 / 3; } }

/* dark section (Why choose us) — left-aligned head like the demo */
.section--dark { background: var(--dark); color: #fff; }
.section--dark .section-head { margin-left: 0; text-align: left; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: var(--on-dark); }
.section--dark .eyebrow { color: var(--primary); }

/* first block of pages without a hero */
main > .section:first-child { background: var(--surface); padding-top: clamp(56px, 7vw, 88px); }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.split--center { align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.split .section__lead { max-width: none; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 24px; margin-top: 3rem; }
.mt-md > .grid, .grid.mt-md { margin-top: 0; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.card { position: relative; display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, border-color .2s ease; }
.card:hover { box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card p { font-size: .875rem; line-height: 1.625; }
.card p:last-child { margin-bottom: 0; }

/* service cards (demo: tinted icon square, uppercase link) */
.card__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 16px; background: var(--primary-tint); color: var(--primary-ink); border-radius: var(--radius); }
.card__icon .i { width: 24px; height: 24px; }
.card--service h3 { font-size: 1.25rem; }
.card--service p { flex: 1; }
.card--service > a:last-child, .grid--3 .card > a:last-child { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--font-heading); font-size: .875rem; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; color: var(--primary-ink); }
.card--service > a:last-child:hover { color: var(--dark); text-decoration: none; }

/* 2-col feature cards → filled icon square + title (demo "Why" cards) */
.grid--2 .card::before {
  content: ""; display: block; width: 48px; height: 48px; margin-bottom: 16px; border-radius: var(--radius);
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") center / 24px no-repeat;
}
.grid--2 .card h3 { font-size: 1.125rem; }
.section:not(.section--alt):not(.section--dark) .grid--2 .card { background: var(--surface); box-shadow: none; }
.section--dark .grid { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
@media (max-width: 1024px) { .section--dark .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .section--dark .grid { grid-template-columns: 1fr; } }
.section--dark .card { background: var(--dark-soft) !important; border: 0; box-shadow: none; }
.section--dark .card p { color: var(--on-dark); }

/* ---------- how it works ---------- */
.steps__head { max-width: 48rem; margin: 0 auto 3rem; text-align: center; }
.steps__head h2 { margin-bottom: 0; }
.steps__head p { margin: 1rem auto 0; font-size: 1.125rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; }
.step { position: relative; padding: 28px 24px 24px; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--primary); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.step__badges { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.step__num { font: 700 3rem/1 var(--font-heading); color: var(--primary); }
.step__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--primary-tint); color: var(--primary-ink); border-radius: var(--radius); }
.step__icon .i { width: 24px; height: 24px; }
.step p { margin: 0; font-size: .875rem; }
.steps__cta { display: flex; justify-content: center; margin-top: 3rem; }
@media (max-width: 1024px) { .steps { grid-template-columns: 1fr; } }

/* ---------- chip lists ---------- */
.linklist { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 2rem; list-style: none; }
.mt-md > .linklist { margin-top: 0; }
.linklist a { display: flex; align-items: center; gap: 10px; height: 100%; min-height: 52px; padding: 12px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); color: var(--dark); font-size: .9375rem; font-weight: 600; box-shadow: var(--shadow-sm); transition: border-color .15s ease, color .15s ease; }
.linklist a:hover { border-color: var(--primary); color: var(--primary-ink); text-decoration: none; }
.linklist .i { width: 18px; height: 18px; color: var(--primary); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; min-width: 560px; border-collapse: collapse; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: .9375rem; vertical-align: top; }
th { background: var(--dark); color: #fff; font-family: var(--font-heading); font-size: 1rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
td { color: var(--text-soft); }
tr:nth-child(even) td { background: var(--surface); }
tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq--narrow { max-width: 48rem; margin-left: auto; margin-right: auto; }
.faq details { margin-bottom: 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; list-style: none; cursor: pointer; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; text-transform: uppercase; color: var(--dark); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 20px; height: 20px; transition: transform .2s ease;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a5328' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details > p { padding: 0 22px 20px; margin: 0; font-size: .9375rem; }

/* ---------- CTA band (demo: dark, ridge accent, left aligned) ---------- */
.cta-band { position: relative; overflow: hidden; padding: var(--section-y) 0; background: var(--dark); color: #fff; }
.cta-band__ridge { position: absolute; right: -40px; top: -64px; height: 256px; width: auto; color: rgba(208, 136, 80, .15); pointer-events: none; }
.cta-band__panel { position: relative; max-width: 42rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark); font-size: 1.125rem; }
.cta-band .btn { margin-top: 1rem; }
.cta-band .muted { margin-top: 1rem; color: var(--on-dark-soft); font-size: .875rem; }

/* ---------- forms ---------- */
.form-card { padding: clamp(24px, 4vw, 36px); background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; color: var(--dark); font-family: var(--font-heading); font-size: 1rem; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 12px 14px; background: #fff; color: var(--dark); border: 1px solid #cbd5e1; border-radius: var(--radius); font: 1rem/1.4 var(--font-body); transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-tint); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { margin: 12px 0 0; font-size: .8125rem; }
.form-honey { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote { max-width: 48rem; margin: 0 auto; }
.quote__head { margin-bottom: 2.5rem; text-align: center; }
.quote__head p { max-width: 40rem; margin: 1rem auto 0; font-size: 1.125rem; }

/* ---------- area box ---------- */
.area-box { margin-top: 3rem; padding: clamp(28px, 4vw, 40px); background: var(--dark); border-radius: var(--radius-lg); text-align: center; }
.area-box h3 { color: #fff; font-size: 1.5rem; }
.area-box p { max-width: 32rem; margin: 8px auto 20px; color: var(--on-dark); }
.area-box .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .8); }
.area-box .btn--ghost:hover { background: rgba(255, 255, 255, .1); }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark); }
.footer-strip { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 32px; padding-top: 20px; padding-bottom: 20px; }
.footer-strip span { display: inline-flex; align-items: center; gap: 8px; color: #e2e8f0; font-size: .875rem; font-weight: 500; }
.footer-strip .i { color: var(--primary); }
.footer-main { padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand:hover { text-decoration: none; }
.footer-brand img { width: 46px; height: 46px; }
.footer-brand strong { color: #fff; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; letter-spacing: .025em; text-transform: uppercase; }
.site-footer h4 { margin-bottom: 16px; color: #fff; font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; letter-spacing: .025em; }
.site-footer p { color: var(--on-dark); font-size: .875rem; line-height: 1.625; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; font-size: .875rem; }
.site-footer a { color: var(--on-dark); font-size: .875rem; overflow-wrap: anywhere; transition: color .15s ease; }
.site-footer a:hover { color: var(--primary); text-decoration: none; }
.footer-contact li { display: flex; align-items: flex-start; gap: 8px; }
.footer-contact .i { width: 16px; height: 16px; margin-top: 2px; color: var(--primary); }
.footer-disclaimer { margin-top: 14px; color: var(--on-dark-soft) !important; font-size: .8125rem !important; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 20px 0; color: var(--on-dark-soft); font-size: .8125rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bottom li { margin: 0; }
.footer-bottom a { color: var(--on-dark-soft); font-size: .8125rem; }

/* ---------- sticky mobile call bar (demo) ---------- */
.callbar { display: none; }
@media (max-width: 640px) {
  .callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; background: var(--dark); box-shadow: 0 -6px 20px rgba(15, 23, 42, .25); padding-bottom: env(safe-area-inset-bottom); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font-family: var(--font-heading); font-size: 1.125rem; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; }
  .callbar__call { color: #fff; }
  .callbar__quote { background: var(--primary); color: var(--on-primary); }
  .callbar a:hover { text-decoration: none; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

/* ---------- article pages ---------- */
.article { max-width: 54rem; }
.article--center { text-align: center; margin-left: auto; margin-right: auto; }
.article--center .section__lead { margin-left: auto; margin-right: auto; }
.article h1 { margin-bottom: 1rem; }
.article h2 { margin-top: 2.5rem; }
.article h3 { margin-top: 1.75rem; }
.article ul:not(.linklist):not(.contact-list), .article ol { margin: 0 0 1rem 1.3em; color: var(--text-soft); }
.article li { margin-bottom: .45rem; line-height: 1.625; }
.article__date { margin-top: -4px; }
.faq-page h2 { margin-top: 2.25rem; font-size: 1.5rem; }
.split h1, main > .section:first-child h1 { color: var(--dark); margin-bottom: 1rem; }
.contact-list { list-style: none; margin: 24px 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--border); color: var(--text-soft); }
.contact-list li:last-child { border-bottom: 0; }
.team-grid { margin-top: 24px; }
.team-card .avatar { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 14px; background: var(--primary); color: var(--on-primary); border-radius: var(--radius); font: 700 1.1rem var(--font-heading); }
.team-card .role { margin-bottom: 8px; color: var(--primary-ink); font-size: .875rem; font-weight: 600; }
.team-grid .card::before { display: none; }

.wc-phone { white-space: nowrap; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* refinements */
.trust-strip__list { gap: 12px 28px; }
.section-head ~ p { max-width: 48rem; margin-left: auto; margin-right: auto; text-align: center; }
.section--dark .section-head ~ p { margin-left: 0; text-align: left; }
.split > * { min-width: 0; }
.section__lead, .contact-list { overflow-wrap: anywhere; }
/* tablet/mobile: keep the call + menu buttons together on the right */
@media (max-width: 1100px) { .nav__call-sm { margin-left: auto; } }

/* ---------- service areas page ---------- */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .area-grid { grid-template-columns: 1fr; } }
.area-card { position: relative; display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--primary); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); color: var(--text); transition: box-shadow .2s ease, transform .2s var(--ease); }
.area-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); text-decoration: none; }
.area-card__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 14px; background: var(--primary-tint); color: var(--primary-ink); border-radius: var(--radius); }
.area-card__icon .i { width: 24px; height: 24px; }
.area-card__county { color: var(--primary-ink); font-family: var(--font-heading); font-size: .875rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.area-card h3 { margin: 4px 0 8px; font-size: 1.6rem; }
.area-card p { flex: 1; font-size: .9375rem; }
.area-card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--primary-ink); font-family: var(--font-heading); font-size: 1rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.area-card__link .i { width: 18px; height: 18px; transition: transform .2s ease; }
.area-card:hover .area-card__link .i { transform: translateX(4px); }
.map-frame { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--surface); }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.resources td a { font-weight: 600; }
.i--ext { width: 14px !important; height: 14px !important; vertical-align: -2px; opacity: .75; }
.resource-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 24px; list-style: none; }
.resource-links a { font-weight: 600; }
.linklist--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .linklist--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .linklist--3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .table-wrap:has(.resources) { border: 0; background: none; box-shadow: none; overflow: visible; }
  .resources { min-width: 0; }
  .resources thead { display: none; }
  .resources, .resources tbody, .resources tr, .resources td { display: block; width: 100%; }
  .resources tr { margin-bottom: 12px; background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
  .resources tr:nth-child(even) td { background: none; }
  .resources td { display: flex; justify-content: space-between; gap: 16px; padding: 10px 16px; border-bottom: 1px solid var(--border); }
  .resources td:last-child { border-bottom: 0; }
  .resources td::before { content: attr(data-label); color: var(--dark); font-family: var(--font-heading); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
}
/* bigger map: 2/3 width, tall frame */
.split--map { grid-template-columns: 2fr 1fr; align-items: center; }
.split--map .map-frame { aspect-ratio: auto; width: 100%; height: 540px; }
@media (max-width: 960px) { .split--map { grid-template-columns: 1fr; } .split--map .map-frame { height: 380px; } }
@media (max-width: 520px) { .split--map .map-frame { height: 320px; } }
