/* North Idaho Decks - "Rugged Northwoods" site styles (mobile first) */

:root {
  --char-950: #0c0e0d;
  --char-900: #111413;
  --char: #141716;
  --char-800: #1b201e;
  --char-700: #262c29;
  --forest-900: #0f2a1a;
  --forest: #163d26;
  --forest-600: #1f5234;
  --forest-300: #8fb39a;
  --gold: #d9b50a;
  --gold-light: #f0cf3a;
  --gold-text: #7d6600;     /* gold that passes contrast on the stone background */
  --stone: #f3efe6;
  --stone-200: #e7e0d0;
  --stone-300: #d8cfba;
  --ink: #161a18;
  --body: #333834;
  --muted: #5f655f;
  --on-dark: rgba(255, 255, 255, .78);
  --on-dark-muted: rgba(255, 255, 255, .58);
  --line-dark: rgba(255, 255, 255, .12);

  --font-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 4px;
  --shadow: 0 18px 40px rgba(0, 0, 0, .28);
  --gutter: 16px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 640px) { :root { --gutter: 28px; } }
@media (min-width: 1024px) { :root { --header-h: 92px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--char-950); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--stone);
  overflow-x: hidden;
  padding-bottom: 64px; /* room for the mobile call/estimate bar */
}
@media (min-width: 1024px) { body { padding-bottom: 0; } }
img, svg, picture, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--forest-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--forest); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.05; margin: 0 0 .5em; font-weight: 800; letter-spacing: .01em; text-transform: uppercase; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; }
.skip-link:focus { left: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 840px; }
.center { text-align: center; }
.center .btn { margin-inline: auto; }
.mt { margin-top: 12px; }
.mt-lg { margin-top: 48px; }
.mb-lg { margin-bottom: 40px; }
.mb-md { margin-bottom: 24px; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase;
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--lg { min-height: 56px; padding: 15px 30px; font-size: 18px; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.btn--gold { background: var(--gold); color: var(--char-950); }
.btn--gold:hover { background: var(--gold-light); color: var(--char-950); box-shadow: 0 10px 26px rgba(217, 181, 10, .28); }
.btn--green, .btn--dark { background: var(--char); color: #fff; }
.btn--green:hover, .btn--dark:hover { background: var(--forest); color: #fff; }
.btn--outline { border-color: var(--char); color: var(--char); background: transparent; }
.btn--outline:hover { background: var(--char); color: #fff; }
.btn--outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(0, 0, 0, .12); }
.btn--outline-light:hover { background: #fff; color: var(--char); border-color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--forest-600); text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon, a:hover > .link-arrow .icon { transform: translateX(4px); }

/* ---------- Kicker (small label above headings) ---------- */
.kicker, .eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.kicker::before, .eyebrow::before { content: ""; width: 34px; height: 3px; background: currentColor; }
.kicker--dark, .section--stone .kicker, .section--light .kicker, .section--tint .eyebrow, .section .eyebrow:not(.eyebrow--light) { color: var(--gold-text); }
.section--dark .kicker, .section--forest .kicker, .hero .kicker, .section--dark .eyebrow, .section--forest .eyebrow { color: var(--gold); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--char); border-bottom: 1px solid var(--line-dark); transition: background .3s, border-color .3s, box-shadow .3s; }
.site-header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { width: 128px; height: auto; }
@media (min-width: 1024px) { .brand img { width: 168px; } }
/* Home: the header floats over the video until the page scrolls */
.is-home .site-header { position: fixed; left: 0; right: 0; background: linear-gradient(180deg, rgba(8, 10, 9, .72), rgba(8, 10, 9, 0)); border-color: transparent; }
.is-home .site-header.is-scrolled, .is-home.nav-open .site-header { background: var(--char); border-color: var(--line-dark); box-shadow: 0 8px 30px rgba(0, 0, 0, .3); }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.header-cta { display: none; }
@media (min-width: 1120px) { .header-cta { display: inline-flex; } }

/* Top bar (desktop): service area, phone and social links above the header. It scrolls away; the header stays.
   On the home page it sits over the video and the fixed header starts below it until the page scrolls. */
.topbar { display: none; }
@media (min-width: 1024px) {
  :root { --topbar-h: 38px; }
  .topbar { display: block; position: relative; z-index: 51; height: var(--topbar-h); background: var(--char-950); border-bottom: 1px solid var(--line-dark); font-size: 14px; color: var(--on-dark); }
  .topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 100%; }
  .topbar a { display: inline-flex; align-items: center; gap: 7px; color: var(--on-dark); text-decoration: none; white-space: nowrap; }
  .topbar a:hover { color: var(--gold-light); }
  .topbar .icon { width: 16px; height: 16px; color: var(--gold); }
  .topbar__right { display: flex; align-items: center; gap: 22px; }
  .topbar__phone { font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: .05em; color: #fff !important; }
  .topbar__social { display: flex; gap: 4px; }
  .topbar__social a { justify-content: center; width: 30px; height: 30px; border-radius: var(--radius); }
  .topbar__social a .icon { color: #fff; }
  .topbar__social a:hover { background: var(--gold); }
  .topbar__social a:hover .icon { color: var(--char-950); }
  .is-home .topbar { position: absolute; left: 0; right: 0; top: 0; background: rgba(8, 10, 9, .55); border-color: rgba(255, 255, 255, .08); }
  .is-home .site-header { top: var(--topbar-h); transition: top .3s var(--ease), background .3s, border-color .3s, box-shadow .3s; }
  .is-home .site-header.is-scrolled { top: 0; }
  .is-home .hero__inner { padding-top: calc(var(--header-h) + var(--topbar-h) + 4svh); }
}

.menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 48px; height: 48px; padding: 0 12px; border: 2px solid rgba(255, 255, 255, .25); border-radius: var(--radius); background: transparent; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: #fff; transition: transform .25s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer. Note: no backdrop-filter/transform/filter on .site-header - any of those makes it
   the containing block for this fixed menu and squashes it into the header's height. */
.nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--char); overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--gutter) 32px;
  transform: translateX(100%); visibility: hidden;
  transition: transform .3s var(--ease), visibility .3s;
}
.nav.is-open { transform: none; visibility: visible; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__item { border-bottom: 1px solid var(--line-dark); }
.nav__link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 2px; background: none; border: 0; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 24px; letter-spacing: .06em; text-transform: uppercase; color: #fff; text-decoration: none; cursor: pointer; }
.nav__item.is-active > .nav__link, .nav__link[aria-current] { color: var(--gold); }
.nav__toggle .icon { transition: transform .25s var(--ease); }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__sub { list-style: none; margin: 0; padding: 0 0 14px 4px; display: none; }
.nav__toggle[aria-expanded="true"] + .nav__sub { display: block; }
.nav__sub a { display: block; padding: 10px 10px; color: var(--on-dark); text-decoration: none; font-weight: 500; font-size: 17px; border-left: 2px solid var(--line-dark); }
.nav__sub a[aria-current], .nav__sub a:hover { color: #fff; border-left-color: var(--gold); background: rgba(255, 255, 255, .04); }
.nav__extra { display: grid; gap: 12px; margin-top: 26px; }
.nav__sister { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 15px; color: var(--on-dark-muted); padding: 8px; text-decoration: none; }
body.nav-open { overflow: hidden; }

@media (min-width: 1024px) {
  .menu-btn { display: none; }
  .nav { position: static; inset: auto; transform: none; visibility: visible; padding: 0; overflow: visible; background: none; margin-right: auto; }
  .site-header__inner { gap: 32px; }
  .brand { margin-right: 0; }
  .nav__list { display: flex; align-items: center; gap: 2px; }
  .nav__item { border: 0; position: relative; }
  .nav__link { padding: 10px 12px; font-size: 18px; gap: 4px; width: auto; color: rgba(255, 255, 255, .9); }
  .nav__link:hover { color: var(--gold); }
  .nav__item.is-active > .nav__link { color: #fff; box-shadow: inset 0 -3px 0 var(--gold); }
  .nav__sub { position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px; padding: 8px 0; background: var(--char-800); border-top: 3px solid var(--gold); box-shadow: var(--shadow); display: block; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s var(--ease), visibility .18s; }
  .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .nav__sub a { border: 0; padding: 10px 18px; font-size: 16px; }
  .nav__sub a:hover, .nav__sub a[aria-current] { background: rgba(255, 255, 255, .06); color: var(--gold); }
  .has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub, .nav__toggle[aria-expanded="true"] + .nav__sub { opacity: 1; visibility: visible; transform: none; }
  .nav__extra { display: none; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .site-header__inner { gap: 16px; }
  .brand img { width: 140px; }
  .nav__link { padding: 8px 8px; font-size: 16.5px; }
}
@media (min-width: 1024px) { .nav__link { white-space: nowrap; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section--tight { padding: 56px 0; }
.section--stone, .section--tint { background: var(--stone); }
.section--light { background: #fbf9f4; }
.section--dark { background: var(--char); color: var(--on-dark); }
.section--forest, .section--green { background: var(--forest-900); color: var(--on-dark); }
.section--forest::before, .section--dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 120px); } /* faint board lines */
.section > .container { position: relative; }
.section--dark .section-title, .section--forest .section-title, .section--green .section-title,
.section--dark h2, .section--dark h3, .section--forest h2, .section--forest h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; }
.section-head--row .section-title { margin: 0; }
.section-head--row .section-lead { max-width: 420px; margin: 0; }
.section-title { font-size: clamp(36px, 5.4vw, 60px); }
.section-lead { font-size: 19px; color: var(--muted); }
.section--dark .section-lead, .section--forest .section-lead, .section--green .section-lead { color: var(--on-dark); }
.h2 { font-size: clamp(28px, 3.4vw, 38px); }

/* Mountain-ridge edges */
.ridge { position: absolute; left: 0; width: 100%; pointer-events: none; }
.ridge--top { top: -1px; height: 44px; fill: var(--stone); }
@media (min-width: 900px) { .ridge--top { height: 60px; } }
.ridge--footer { top: -59px; height: 60px; fill: var(--char-950); }

/* ---------- Home hero (video) ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 100svh; color: #fff; background: var(--char-950); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture, .hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-playing { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8, 10, 9, .45) 0%, rgba(8, 10, 9, .15) 35%, rgba(8, 10, 9, .82) 100%),
              linear-gradient(90deg, rgba(8, 10, 9, .55) 0%, rgba(8, 10, 9, 0) 70%); }
/* Desktop: everything in the hero (headline, buttons, scroll cue) sizes to the screen height so it fits on first load */
.hero__inner { padding-top: calc(var(--header-h) + 40px); padding-bottom: 96px; }
@media (min-width: 900px) { .hero__inner { padding-top: calc(var(--header-h) + 4svh); padding-bottom: max(88px, 11svh); } }
.hero__title { color: #fff; font-size: clamp(44px, min(9vw, 10.5svh), 112px); line-height: .95; max-width: 15ch; margin-bottom: clamp(14px, 2.4svh, 24px); text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero__text { font-size: clamp(17px, min(2.1vw, 2.7svh), 22px); max-width: 620px; color: rgba(255, 255, 255, .9); margin-bottom: clamp(18px, 3.6svh, 34px); }
@media (min-width: 900px) { .hero .kicker { margin-bottom: clamp(8px, 1.6svh, 14px); } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 30px; height: 48px; margin-left: -15px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 16px; display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: scroll-cue 1.8s infinite var(--ease); }
@media (min-width: 900px) { .hero__scroll { display: block; bottom: clamp(16px, 3svh, 28px); } }
@keyframes scroll-cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Trust strip ---------- */
.trust { background: var(--gold); color: var(--char-950); }
.trust__inner { display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .trust__inner { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.trust__item { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 20px 14px; text-decoration: none; color: inherit; border-right: 1px solid rgba(0, 0, 0, .14); line-height: 1.2; }
.trust__item:nth-child(2n) { border-right: 0; }
@media (max-width: 899px) { .trust__item:nth-child(-n+2) { border-bottom: 1px solid rgba(0, 0, 0, .14); } }
@media (min-width: 900px) { .trust__item { padding: 26px 24px; flex-direction: row; align-items: center; gap: 14px; } .trust__item:nth-child(2n) { border-right: 1px solid rgba(0, 0, 0, .14); } .trust__item:last-child { border-right: 0; } }
.trust__item strong { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 800; font-size: 32px; line-height: 1; }
.trust__item strong .icon { width: 28px; height: 28px; }
.trust__item span { font-weight: 600; font-size: 15px; }
a.trust__item:hover { background: rgba(255, 255, 255, .18); color: inherit; }

/* ---------- Service photo tiles ---------- */
.tiles { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tiles--4 { grid-template-columns: repeat(4, 1fr); } .tiles--3 { grid-template-columns: repeat(3, 1fr); } }
.tile { position: relative; display: flex; align-items: flex-end; min-height: 380px; overflow: hidden; color: #fff; text-decoration: none; background: var(--char-800); border-radius: var(--radius); }
@media (min-width: 1100px) { .tile { min-height: 500px; } }
.tile__img, .tile__img picture { position: absolute; inset: 0; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 10, 9, 0) 35%, rgba(8, 10, 9, .92) 100%); transition: background .4s; }
.tile:hover .tile__img img { transform: scale(1.07); }
.tile:hover::after { background: linear-gradient(180deg, rgba(8, 10, 9, .15) 20%, rgba(8, 10, 9, .95) 100%); }
.tile__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; padding: 26px 24px; border-bottom: 4px solid var(--gold); width: 100%; }
.tile__title { font-family: var(--font-head); font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.tile__text { font-size: 15.5px; color: rgba(255, 255, 255, .82); line-height: 1.45; }
.tile__more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tile:hover .tile__more .icon { transform: translateX(4px); }
.tile__more .icon { transition: transform .2s var(--ease); }
.sister-strip { margin: 28px 0 0; padding: 18px 22px; border: 1px solid var(--line-dark); border-left: 4px solid var(--gold); color: var(--on-dark); font-size: 16px; }
.sister-strip a { color: var(--gold); font-weight: 600; text-decoration: none; white-space: nowrap; }
.sister-strip a:hover { color: var(--gold-light); text-decoration: underline; }

/* ---------- Why us ---------- */
.why__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .why__grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } .why__photo { position: sticky; top: calc(var(--header-h) + 40px); } }
.why__photo { position: relative; }
.why__photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius); }
.why__photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 3px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.why__photo { isolation: isolate; margin-right: 22px; margin-bottom: 22px; }
.why__badge { position: absolute; left: -10px; bottom: 34px; background: var(--char); color: #fff; padding: 18px 22px; display: flex; align-items: center; gap: 14px; max-width: 250px; box-shadow: var(--shadow); }
@media (min-width: 960px) { .why__badge { left: -34px; } }
.why__badge strong { font-family: var(--font-head); font-size: 48px; line-height: 1; color: var(--gold); }
.why__badge span { font-size: 14px; line-height: 1.3; color: var(--on-dark); }
.why__text .prose h2 { font-size: clamp(36px, 4.6vw, 54px); }
.guarantees { list-style: none; counter-reset: g; margin: 32px 0 34px; padding: 0; display: grid; gap: 4px; }
.guarantees li { counter-increment: g; position: relative; padding: 16px 0 16px 64px; border-top: 1px solid var(--stone-300); }
.guarantees li::before { content: counter(g, decimal-leading-zero); position: absolute; left: 0; top: 12px; font-family: var(--font-head); font-weight: 800; font-size: 36px; line-height: 1; color: var(--gold-text); }
.guarantees h3 { font-size: 22px; margin: 0 0 4px; }
.guarantees p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- How it works ---------- */
.steps { padding-top: 120px; }
@media (min-width: 900px) { .steps { padding-top: 150px; } }
.steps__list { list-style: none; margin: 0 0 48px; padding: 0; display: grid; gap: 18px; }
@media (min-width: 640px) { .steps__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .steps__list { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.step { position: relative; padding: 30px 26px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); }
@media (min-width: 1024px) { .step + .step { border-left: 0; } .step:not(:last-child)::after { content: ""; position: absolute; right: -9px; top: 46px; z-index: 1; width: 16px; height: 16px; background: var(--gold); transform: rotate(45deg); } }
.step__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold); margin-bottom: 16px; }
.step__title { font-size: 26px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 16px; color: var(--on-dark); }

/* ---------- Recent-work mosaic ---------- */
.mosaic { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
@media (min-width: 900px) { .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 12px; } }
.mosaic__item { display: block; overflow: hidden; border-radius: var(--radius); background: var(--char-800); cursor: zoom-in; position: relative; }
.mosaic__item picture { display: block; width: 100%; height: 100%; }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; }
.mosaic__item:hover img { transform: scale(1.05); }
.mosaic .gallery__item.mosaic__item { aspect-ratio: auto; }
.mosaic .gallery__item.mosaic__item:first-child { grid-column: span 2; grid-row: span 2; }
@media (min-width: 900px) { .mosaic__item:nth-child(4) { grid-row: span 2; } .mosaic__item:nth-child(6) { grid-column: span 2; } }
@media (max-width: 899px) { .mosaic__item:nth-child(n+6) { display: none; } }

/* ---------- Reviews ---------- */
.reviews .section-head { margin-inline: auto; text-align: center; }
.testimonials { display: grid; grid-auto-flow: column; grid-auto-columns: min(88%, 420px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 22px; margin-bottom: 26px; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; justify-content: safe center; }
@media (min-width: 1024px) { .testimonials { grid-auto-columns: calc((100% - 36px) / 3); } }
.testimonial { scroll-snap-align: start; margin: 0; padding: 30px 28px; background: rgba(0, 0, 0, .22); border-top: 3px solid var(--gold); display: flex; flex-direction: column; position: relative; }
.testimonial::before { content: "\201C"; position: absolute; right: 22px; top: 6px; font-family: Georgia, serif; font-size: 90px; line-height: 1; color: rgba(217, 181, 10, .22); }
.testimonial blockquote { margin: 14px 0 20px; font-size: 17px; color: #fff; line-height: 1.6; }
.testimonial figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: 14px; color: var(--on-dark-muted); }
.testimonial figcaption strong { color: #fff; font-family: var(--font-head); font-size: 19px; letter-spacing: .04em; text-transform: uppercase; }
.testimonial--light { background: #fff; border-top-color: var(--gold); }
.testimonial--light blockquote, .testimonial--light figcaption strong { color: var(--ink); }
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars .icon { width: 18px; height: 18px; }
.rating-badge { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin-top: 8px; padding: 10px 18px; background: #fff; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; border-radius: var(--radius); }
.rating-badge:hover { color: var(--ink); box-shadow: 0 0 0 3px var(--gold); }
.rating-badge strong { font-family: var(--font-head); font-size: 24px; }
.rating-badge .stars { color: #f4b400; }
.rating-badge__g { width: 22px; height: 22px; color: #4285f4; }
.testimonial__clamp { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.testimonial__author { flex-direction: row !important; align-items: center; gap: 12px; }
.testimonial__author img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.testimonial__author > span { display: flex; flex-direction: column; }
.testimonial__author a { color: #fff; text-decoration: none; }
.testimonial__author a:hover { text-decoration: underline; }
.testimonial__author .icon { width: 13px; height: 13px; vertical-align: -1px; }
.section--slim { padding: 56px 0; }
.section--slim .section-head { margin-bottom: 20px; }

/* ---------- Brands ---------- */
.brands__title { text-align: center; font-size: 18px; letter-spacing: .24em; color: var(--muted); margin-bottom: 30px; }
.brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .brands { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .brands { grid-template-columns: repeat(6, 1fr); } }
.brands li { display: grid; place-items: center; height: 96px; padding: 14px 18px; background: #fff; border-radius: var(--radius); }
.brands img { max-height: 60px; width: auto; object-fit: contain; }
.section--brands { padding-top: 0; }

/* ---------- Final CTA + quote form ---------- */
.final-cta__contact { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.final-cta__contact li { display: flex; align-items: center; gap: 12px; font-size: 18px; color: #fff; }
.final-cta__contact .icon { color: var(--gold); width: 22px; height: 22px; }
.final-cta__contact a { color: #fff; text-decoration: none; font-weight: 600; }
.final-cta__contact a:hover { color: var(--gold); }

.quote-split { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) { .quote-split { grid-template-columns: .9fr 1fr; gap: 64px; } .quote-split--wide { grid-template-columns: .7fr 1.3fr; } }
.quote-form { background: #fff; border-radius: var(--radius); padding: 24px; border-top: 5px solid var(--gold); box-shadow: var(--shadow); color: var(--body); }
@media (min-width: 640px) { .quote-form { padding: 34px; } }
.form-grid { display: grid; gap: 16px; margin-bottom: 20px; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--wide { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.field small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 16px/1.4 var(--font-body); color: var(--ink); text-transform: none; letter-spacing: 0;
  background: var(--stone); border: 1.5px solid var(--stone-200); border-radius: var(--radius);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--forest-600); box-shadow: 0 0 0 4px rgba(31, 82, 52, .14); }
.field__error { color: #b42318; font-weight: 600; font-size: 13px; text-transform: none; letter-spacing: 0; }
.field:has(.field__error) input { border-color: #b42318; background: #fff; }
.form-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 16px; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 18px; font-weight: 600; }
.notice--success { background: #e5f2e9; color: #14532d; }
.notice--error { background: #fdecea; color: #8a1c13; }
.quote-form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; isolation: isolate; background: var(--char-900); color: #fff; padding: 72px 0 64px; overflow: hidden; border-bottom: 4px solid var(--gold); }
@media (min-width: 900px) { .page-hero { padding: 132px 0 96px; } }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg picture, .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 10, 9, .9) 0%, rgba(8, 10, 9, .66) 50%, rgba(8, 10, 9, .25) 100%); }
@media (max-width: 767px) { .page-hero::after { background: rgba(8, 10, 9, .72); } }
.page-hero:not(.page-hero--image)::after { background: radial-gradient(800px 340px at 90% 0%, rgba(217, 181, 10, .14), transparent 70%), linear-gradient(120deg, var(--char-950), var(--forest-900)); }
.page-hero__title { color: #fff; font-size: clamp(42px, 7vw, 84px); line-height: .98; margin: 0; max-width: 16ch; }
.page-hero__subtitle { margin: 18px 0 0; font-size: 19px; color: rgba(255, 255, 255, .86); max-width: 640px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* ---------- Service pages ---------- */
.service-chips { background: var(--char-800); }
.service-chips__inner { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.service-chips__inner::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .service-chips { display: none; } }
.service-chips .chip { background: transparent; border-color: var(--line-dark); color: var(--on-dark); }
.service-chips .chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--char-950); }

.with-sidebar { display: grid; gap: 44px; }
@media (min-width: 1024px) { .with-sidebar { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; } }
.sticky { display: grid; gap: 20px; }
@media (min-width: 1024px) { .sticky { position: sticky; top: calc(var(--header-h) + 24px); } }
.side-nav { display: none; background: var(--char); padding: 10px 0; border-radius: var(--radius); }
@media (min-width: 1024px) { .side-nav { display: block; } }
.side-nav__title { font-size: 15px; letter-spacing: .22em; color: var(--gold); margin: 12px 22px 8px; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: flex; align-items: center; justify-content: space-between; padding: 12px 22px; color: rgba(255, 255, 255, .86); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: .05em; text-transform: uppercase; border-left: 4px solid transparent; }
.side-nav a .icon { opacity: 0; transform: translateX(-4px); transition: all .2s; color: var(--gold); }
.side-nav a:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.side-nav a:hover .icon, .side-nav a[aria-current] .icon { opacity: 1; transform: none; }
.side-nav a[aria-current] { border-left-color: var(--gold); color: #fff; background: rgba(255, 255, 255, .06); }
.side-card { padding: 28px; border-radius: var(--radius); background: #fff; }
.side-card__title { font-size: 26px; }
.side-card--green { background: var(--forest-900); color: var(--on-dark); border-top: 4px solid var(--gold); }
.side-card--green .side-card__title { color: #fff; }
.side-card__phone { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: .04em; text-decoration: none; }
.side-card__phone:hover { color: var(--gold); }
.side-card--finance { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--body); padding: 18px 22px; }
.side-card--finance .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--gold); color: var(--char-950); }
.side-card--finance strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 18px; text-transform: uppercase; }
.side-card--finance span { font-size: 14px; line-height: 1.35; }

.benefits { padding: 34px; background: #fff; border-radius: var(--radius); border-left: 5px solid var(--gold); }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 600; }
.checklist .icon { flex: none; width: 24px; height: 24px; padding: 4px; background: var(--forest); color: var(--gold); margin-top: 1px; border-radius: 2px; }

.accordion { border-top: 2px solid var(--char); }
.accordion__item { border-bottom: 1px solid var(--stone-300); }
.accordion__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; cursor: pointer; font-family: var(--font-head); font-weight: 700; font-size: 21px; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__icon { flex: none; width: 32px; height: 32px; padding: 7px; background: var(--char); color: var(--gold); transition: transform .25s var(--ease); border-radius: 2px; }
.accordion__item[open] .accordion__icon { transform: rotate(45deg); background: var(--gold); color: var(--char-950); }
.accordion__body { padding: 0 2px 22px; color: var(--body); }

/* ---------- Chips (filters) ---------- */
.filters { display: flex; gap: 0; margin-bottom: 32px; overflow-x: auto; scrollbar-width: none; border-bottom: 2px solid var(--stone-300); }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1.5px solid var(--stone-300); border-radius: var(--radius); background: transparent; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: color .2s, box-shadow .2s, background .2s; }
.filters .chip { border: 0; border-radius: 0; margin-bottom: -2px; padding: 10px 20px; }
.filters .chip:hover { color: var(--forest-600); }
.filters .chip.is-active { color: var(--ink); box-shadow: inset 0 -4px 0 var(--gold); }

/* ---------- Projects ---------- */
.project-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }
.project-card { position: relative; display: block; overflow: hidden; background: var(--char-800); color: #fff; text-decoration: none; aspect-ratio: 4 / 3.6; border-radius: var(--radius); }
.project-card[hidden] { display: none; }
.project-card__img, .project-card__img picture { position: absolute; inset: 0; }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(8, 10, 9, .9)); }
.project-card:hover .project-card__img img { transform: scale(1.06); }
.project-card__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 22px 24px; border-bottom: 4px solid var(--gold); }
.project-card__title { color: #fff; font-size: 30px; margin: 8px 0 0; }
.tag { display: inline-block; padding: 3px 9px; background: var(--gold); color: var(--char-950); font-family: var(--font-head); font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-radius: 2px; }
.project-note { max-width: 760px; margin: 0 0 28px; font-size: 19px; color: var(--body); }
.project-quote { max-width: 760px; margin: 40px auto 0; }
.project-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 40px 0 0; }
@media (min-width: 900px) { .project-page .gallery { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Gallery + lightbox ---------- */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.gallery__item { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--stone-200); cursor: zoom-in; border-radius: var(--radius); }
.gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

.gallery--single .gallery__item { aspect-ratio: auto; }
.gallery__item picture { display: block; width: 100%; height: 100%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
@media (min-width: 900px) { .gallery:has(> :nth-child(3):last-child), .gallery:has(> :nth-child(5):last-child) { grid-template-columns: repeat(2, 1fr); } }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 10, 9, .95); display: grid; place-items: center; padding: 56px 12px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100svh - 120px); width: auto; box-shadow: var(--shadow); }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; border-radius: var(--radius); }
.lightbox__btn:hover { background: var(--gold); color: var(--char-950); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: var(--on-dark-muted); font-size: 14px; letter-spacing: .1em; }

/* ---------- Prose (rich text from the admin) ---------- */
.prose { color: var(--body); }
.prose--lg { font-size: 18px; }
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: clamp(30px, 3.8vw, 42px); margin-top: 1.4em; }
.prose h3 { font-size: 26px; margin-top: 1.4em; }
.prose h4 { font-size: 21px; margin-top: 1.3em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }
.prose img { margin: 1.5em 0; border-radius: var(--radius); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--gold); font-size: 1.1em; color: var(--ink); }
.prose a { color: var(--forest-600); font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--stone-300); margin: 2em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--stone-300); padding: 10px 12px; text-align: left; }
.prose th { background: var(--stone-200); color: var(--ink); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.section--dark .prose, .section--forest .prose { color: var(--on-dark); }
.section--dark .prose a, .section--forest .prose a { color: var(--gold); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-cards { grid-template-columns: repeat(4, 1fr); } }
.contact-card { display: block; padding: 28px; background: #fff; color: var(--body); text-decoration: none; border-radius: var(--radius); border-bottom: 4px solid transparent; transition: border-color .25s, box-shadow .25s; }
a.contact-card:hover { border-bottom-color: var(--gold); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); color: var(--body); }
.contact-card__icon { display: grid; place-items: center; width: 50px; height: 50px; background: var(--char); color: var(--gold); margin-bottom: 18px; border-radius: 2px; }
.contact-card__title { font-size: 23px; margin-bottom: 6px; }
.contact-card p { margin: 0; overflow-wrap: anywhere; }
.map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.4) contrast(1.05); }

/* ---------- Hours ---------- */
.hours { margin: 0; display: grid; gap: 8px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px dashed var(--line-dark); }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; color: #fff; text-align: right; }
.hours--dark div { border-color: var(--stone-300); }
.hours--dark dd { color: var(--ink); font-weight: 600; }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, 1fr); } .post-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; } .post-card--featured .post-card__img { aspect-ratio: auto; min-height: 380px; } .post-card--featured .post-card__body { padding: 44px; justify-content: center; } .post-card--featured .post-card__title { font-size: 40px; } }
.post-card { display: flex; flex-direction: column; background: #fff; overflow: hidden; border-radius: var(--radius); border-bottom: 4px solid transparent; transition: border-color .25s, box-shadow .25s; }
.post-card:hover { border-bottom-color: var(--gold); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }
.post-card__img { display: block; aspect-ratio: 16 / 10; background: var(--stone-200); overflow: hidden; }
.post-card__img picture, .post-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card__body p { color: var(--muted); font-size: 16px; }
.post-card__body .link-arrow { margin-top: auto; }
.post-card__date { font-family: var(--font-head); font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
.post-card__title { font-size: 27px; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--forest-600); }
/* Blog post: a compact header lined up with the article column, so the cover photo and opening show on arrival */
.page-hero--post { padding: 44px 0 36px; }
@media (min-width: 900px) { .page-hero--post { padding: 64px 0 48px; } }
.page-hero--post .page-hero__title { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.05; max-width: none; }
.page-hero--post .page-hero__subtitle { margin-top: 12px; font-size: 16px; }
.post-article { padding-top: 32px; }
@media (min-width: 900px) { .post-article { padding-top: 48px; } }
.post-cover { margin: 0 0 40px; }
.post-cover img { width: 100%; border-radius: var(--radius); }
.post-cover__credit { margin-top: 8px; font-size: 13px; color: var(--muted); text-align: right; }
.post-cover__credit a { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--forest-900); color: var(--on-dark); padding: 64px 0; border-top: 4px solid var(--gold); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 120px); }
.cta-band__inner { position: relative; display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 48px; } .cta-band { padding: 84px 0; } }
.cta-band__title { color: #fff; font-size: clamp(34px, 4.6vw, 52px); }
.cta-band__text { margin: 0; max-width: 640px; font-size: 18px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Finance band (only when financing is set up) ---------- */
.finance-band { display: grid; gap: 20px; align-items: center; padding: 32px; background: #fff; border-left: 5px solid var(--gold); }
@media (min-width: 900px) { .finance-band { grid-template-columns: auto 1fr auto; gap: 28px; padding: 36px 44px; } }
.finance-band__icon { display: grid; place-items: center; width: 60px; height: 60px; background: var(--gold); color: var(--char-950); }
.finance-band__icon .icon { width: 28px; height: 28px; }
.finance-band__title { font-size: 30px; margin-bottom: 6px; }
.finance-band p { margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { position: relative; margin-top: 0; background: var(--char-950); color: var(--on-dark-muted); font-size: 16px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 48px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 56px; } }
.site-footer__logo { width: 210px; height: auto; margin-bottom: 18px; }
.site-footer__title { color: #fff; font-size: 20px; letter-spacing: .14em; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); display: inline-block; }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__contact { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--gold); margin-top: 4px; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; background: rgba(255, 255, 255, .07); border-radius: var(--radius); }
.social a:hover { background: var(--gold); color: var(--char-950); }
/* Phone menu: social icons centered under the buttons */
.nav__social { justify-content: center; }
.nav__social a { color: #fff; }
.site-footer__bottom { border-top: 1px solid var(--line-dark); font-size: 14px; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding-top: 20px; padding-bottom: 22px; }
.site-footer__bottom a { color: var(--gold); }
.to-top { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Mobile call/estimate bar ---------- */
.mobile-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: var(--char-950); border-top: 1px solid var(--line-dark); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--radius); font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.mobile-bar__call { background: var(--char-700); color: #fff; }
.mobile-bar__quote { background: var(--gold); color: var(--char-950); }
@media (min-width: 1024px) { .mobile-bar { display: none; } }
body.nav-open .mobile-bar { display: none; }

/* ---------- 404 ---------- */
.not-found__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(110px, 20vw, 200px); line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--gold-text); margin: 0 0 8px; }
.not-found__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ---------- Reveal-on-scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Chat helper ---------- */
#chat-root { position: fixed; z-index: 70; right: 16px; bottom: 84px; }
@media (min-width: 1024px) { #chat-root { bottom: 24px; right: 24px; } }
body.nav-open #chat-root { display: none; }
.chat-bubble { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 20px 0 16px; border: 2px solid var(--gold); border-radius: var(--radius); background: var(--char); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; box-shadow: 0 12px 30px rgba(0, 0, 0, .4); transition: background .2s; }
.chat-bubble:hover { background: var(--forest); }
.chat-bubble svg { width: 26px; height: 26px; color: var(--gold); }
#chat-root.is-open .chat-bubble { display: none; }
.chat-panel { position: fixed; right: 16px; bottom: 84px; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100svh - 120px)); display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); overflow: hidden; border-top: 4px solid var(--gold); }
@media (min-width: 1024px) { .chat-panel { right: 24px; bottom: 24px; } }
@media (max-width: 480px) { .chat-panel { right: 8px; left: 8px; width: auto; bottom: 76px; height: calc(100svh - 96px); } }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--char); color: #fff; }
.chat-head strong { display: block; font-family: var(--font-head); font-size: 20px; letter-spacing: .06em; text-transform: uppercase; }
.chat-head span { display: block; font-size: 13px; color: var(--on-dark-muted); }
.chat-close { width: 36px; height: 36px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; border-radius: var(--radius); }
.chat-close:hover { background: var(--gold); color: var(--char-950); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px 14px; background: var(--stone); display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.chat-msg { max-width: 88%; display: flex; flex-direction: column; gap: 8px; }
.chat-msg--user { align-self: flex-end; }
.chat-msg__body { padding: 10px 14px; border-radius: 6px; font-size: 15.5px; line-height: 1.5; }
.chat-msg--bot .chat-msg__body { background: #fff; color: var(--body); border-left: 3px solid var(--gold); }
.chat-msg--user .chat-msg__body { background: var(--char); color: #fff; }
.chat-msg__body p { margin: 0 0 6px; }
.chat-msg__body p:last-child { margin: 0; }
.chat-msg__body ul { margin: 4px 0 0; padding-left: 18px; }
.chat-msg__body a { color: var(--forest-600); font-weight: 600; }
.chat-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-actions__label { width: 100%; font-size: 12px; color: var(--muted); }
.chat-chip { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 12px; border: 1.5px solid var(--char); border-radius: var(--radius); background: #fff; color: var(--char); font: 600 14px var(--font-body); text-decoration: none; cursor: pointer; }
.chat-chip:hover { background: var(--char); color: #fff; }
.chat-chip--link { border-color: var(--gold); background: var(--gold); color: var(--char-950); }
.chat-chip--link:hover { background: var(--gold-light); color: var(--char-950); }
.chat-typing .chat-msg__body { display: flex; gap: 4px; padding: 14px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: chat-dot 1s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--stone-200); background: #fff; }
.chat-form input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1.5px solid var(--stone-300); border-radius: var(--radius); font: 16px var(--font-body); color: var(--ink); }
.chat-form input:focus { outline: none; border-color: var(--forest-600); }
.chat-form button { flex: none; width: 46px; height: 46px; border: 0; border-radius: var(--radius); background: var(--gold); color: var(--char-950); cursor: pointer; display: grid; place-items: center; }
.chat-form button svg { width: 20px; height: 20px; }
@media (max-width: 479px) { .chat-bubble { width: 56px; padding: 0; justify-content: center; } .chat-bubble__label { display: none; } }

/* Phones: odd number of trust items -> the last one spans the row; headline line breaks only on wide screens */
@media (max-width: 899px) { .trust__item:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; } }
@media (max-width: 899px) { .section-title br { display: none; } }

/* ---------- Photo gallery page ---------- */
.chip__n { margin-left: 6px; font-size: .8em; color: var(--muted); font-weight: 600; }
.filters .chip.is-active .chip__n { color: var(--gold-text); }
.photo-count { margin: -14px 0 18px; font-size: 15px; color: var(--muted); min-height: 1.5em; }
.photo-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .photo-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.photo-grid .gallery__item, .photo-grid .gallery__item:first-child { position: relative; grid-column: auto; aspect-ratio: 4 / 3; }
.photo__tags { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 9px; background: linear-gradient(180deg, transparent, rgba(8, 10, 9, .78)); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transition: opacity .25s; pointer-events: none; }
.photo:hover .photo__tags, .photo:focus-visible .photo__tags { opacity: 1; }
@media (hover: none) { .photo__tags { opacity: 1; font-size: 12px; padding-top: 16px; } }
.service-photos-link { margin-top: 18px; }

/* ---------- Service area map ---------- */
.service-map .section-lead a { color: var(--gold); white-space: nowrap; }
.service-map__map { position: relative; z-index: 0; isolation: isolate; height: min(68vh, 620px); min-height: 360px; border-radius: var(--radius); border: 3px solid var(--gold); background: var(--char-800); }
.service-map__map .leaflet-control-attribution { font-size: 11px; }
.service-map__map .leaflet-bar a { color: var(--char); }
.map-office span { display: block; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; background: var(--gold); border: 3px solid var(--forest); transform: rotate(-45deg); box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }

/* ---------- Towns we serve (Service Area page) ---------- */
.towns__group + .towns__group { margin-top: 40px; }
.towns__state { display: flex; align-items: center; gap: 12px; font-size: 26px; margin-bottom: 16px; }
.towns__state::after { content: ""; flex: 1; height: 2px; background: var(--stone-300); }
.towns__state span { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; background: var(--char); color: var(--gold); font-size: 16px; border-radius: var(--radius); }
.towns__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .towns__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .towns__grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.town { display: flex; align-items: center; gap: 10px; padding: 16px 16px; background: #fff; border-left: 4px solid var(--gold); border-radius: var(--radius); font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: .03em; text-transform: uppercase; color: var(--ink); line-height: 1.1; transition: transform .2s var(--ease), box-shadow .2s; }
.town .icon { flex: none; color: var(--forest-600); width: 20px; height: 20px; }
.town:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
.town--link { height: 100%; text-decoration: none; }
.town--link .town__go { margin-left: auto; color: var(--gold); width: 18px; height: 18px; }
.town--link:hover span { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.site-footer__towns { margin-top: 18px; font-size: 15px; }
.site-footer__towns a { white-space: nowrap; }
@media (max-width: 400px) { .town { font-size: 17px; padding: 14px 12px; } }
