/* =========================================================
   Estate Cleanout West Vancouver
   Premium West Coast design system
   Plain CSS, no build step. Colours, type and spacing are
   driven by the variables below.
   ========================================================= */

:root {
  /* palette */
  --navy:        #14283F;
  --navy-deep:   #0C1A2B;
  --gold:        #C4A46A;
  --gold-hover:  #AE8D53;
  --gold-text:   #85683A;   /* gold tuned for text on light backgrounds (AA) */
  --ivory:       #FAF8F3;
  --cream:       #F1EEE7;
  --white:       #FFFFFF;
  --ink:         #172638;
  --ink-soft:    #4F5B6A;   /* secondary text, AA on ivory and cream */
  --ink-muted:   #647080;
  --line:        #E5E1D9;

  /* legacy aliases so older inline references still resolve */
  --brand:       var(--navy);
  --brand-dark:  var(--navy-deep);
  --bg:          var(--ivory);
  --bg-alt:      var(--cream);
  --bg-dark:     var(--navy-deep);

  /* type */
  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* layout */
  --max:        1200px;
  --radius:     14px;
  --radius-sm:  8px;
  --header-h:   78px;
  --section-y:  clamp(72px, 9vw, 124px);

  /* depth */
  --shadow-sm: 0 1px 2px rgba(12,26,43,.04), 0 4px 14px rgba(12,26,43,.05);
  --shadow-md: 0 2px 6px rgba(12,26,43,.05), 0 18px 40px rgba(12,26,43,.09);
  --shadow-lg: 0 30px 70px rgba(12,26,43,.18);

  --ease: cubic-bezier(.22,.61,.36,1);
}

:root { interpolate-size: allow-keywords; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  color: var(--ink);
  line-height: 1.75;
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.75rem); line-height: 1.06; font-weight: 600; }
h2 { font-size: clamp(2rem, 1.45rem + 2.1vw, 3rem); line-height: 1.14; margin-bottom: .6em; }
h3 { font-size: clamp(1.3rem, 1.18rem + .45vw, 1.6rem); line-height: 1.25; margin-bottom: .45em; font-weight: 600; }
h4 { font-size: 1.05rem; }
p  { margin-bottom: 1.1rem; color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }

a  { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
a:hover { color: var(--gold-text); text-decoration-color: currentColor; }

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--gold); color: var(--navy-deep); }

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

/* gold rule above section headings */
.section .wrap > h2::before,
.cta-band h2::before {
  content: ""; display: block; width: 48px; height: 2px; background: var(--gold);
  margin-bottom: 22px;
}
.section .wrap > h2.center::before,
.cta-band h2::before { margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 14px 28px;
  min-height: 48px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover {
  background: var(--gold-hover); border-color: var(--gold-hover); color: var(--navy-deep);
  text-decoration: none; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(174,141,83,.32);
}
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: var(--white) !important; box-shadow: 0 12px 26px rgba(20,40,63,.22); }
.btn--lg { padding: 17px 36px; font-size: 1rem; min-height: 56px; }

.muted { color: var(--ink-muted); font-size: .9rem; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,243,.92);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(12,26,43,.08); background: rgba(250,248,243,.97); }
.nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: var(--header-h); padding: 0 clamp(20px, 4vw, 40px); max-width: var(--max); margin: 0 auto;
}
.nav__logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.nav__logo::before {
  content: ""; width: 12px; height: 12px; flex: none;
  border: 1.5px solid var(--gold); transform: rotate(45deg);
}
.nav__logo strong { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); color: var(--navy); letter-spacing: .005em; }
.nav__logo:hover { text-decoration: none; }
.nav__logo img { max-height: 46px; width: auto; }

.nav__links { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); list-style: none; }
.nav__links a {
  position: relative; color: var(--ink); font-weight: 500; font-size: .93rem; letter-spacing: .01em;
  text-decoration: none; padding: 6px 0;
}
.nav__links > li > a:not(.nav__call)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__links > li > a:not(.nav__call):hover::after,
.nav__links > li > a:not(.nav__call):focus-visible::after { transform: scaleX(1); }
.nav__links a:hover { color: var(--navy); text-decoration: none; }

/* dropdown for services */
.has-dropdown { position: relative; }
.has-dropdown > a { padding-right: 16px !important; }
.has-dropdown > a::before {
  content: ""; position: absolute; right: 0; top: 50%; width: 6px; height: 6px; margin-top: -5px;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: rotate(45deg);
}
.dropdown {
  position: absolute; top: calc(100% + 14px); left: -20px;
  background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius-sm);
  min-width: 270px; padding: 10px 0; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
/* invisible bridge so hover isn't lost travelling into the submenu */
.has-dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 16px; display: none; }
.has-dropdown:hover::after { display: block; }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li { list-style: none; }
.dropdown a { display: block; padding: 10px 22px; font-size: .92rem; color: var(--ink); transition: background .2s var(--ease), color .2s var(--ease), padding .2s var(--ease); }
.dropdown a:hover { background: var(--ivory); color: var(--gold-text); padding-left: 26px; }

.nav__call {
  background: var(--navy); color: var(--white) !important;
  padding: 11px 20px !important; border-radius: 999px; font-weight: 600 !important; letter-spacing: .02em;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav__call:hover { background: var(--gold); color: var(--navy-deep) !important; }

/* mobile nav toggle */
.nav__toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line); font-size: 1.25rem; line-height: 1;
  cursor: pointer; color: var(--navy); transition: background .2s var(--ease), border-color .2s var(--ease);
}
.nav__toggle:hover { border-color: var(--gold); }

@media (max-width: 960px) {
  .nav { position: static; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(12,26,43,.12);
    padding: 8px clamp(20px, 4vw, 40px) 22px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav__links.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav__links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav__links li:last-child { border-bottom: 0; padding-top: 14px; }
  .nav__links a { display: block; padding: 14px 0; font-size: 1rem; }
  .nav__links > li > a:not(.nav__call)::after { display: none; }
  .has-dropdown > a::before { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 1px solid var(--gold); border-radius: 0;
    padding: 0 0 10px 0; margin-left: 4px; min-width: 0; background: transparent;
  }
  .dropdown li { border-bottom: 0; }
  .dropdown a { padding: 8px 16px; font-size: .95rem; color: var(--ink-soft); }
  .nav__call { display: flex !important; justify-content: center; text-align: center; padding: 15px 20px !important; }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* ---------- hero (shared) ---------- */
.hero { position: relative; color: var(--white); overflow: hidden; background: var(--navy-deep); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(12,26,43,.92) 0%, rgba(12,26,43,.72) 38%, rgba(12,26,43,.25) 72%, rgba(12,26,43,.15) 100%),
    linear-gradient(0deg, rgba(12,26,43,.55) 0%, rgba(12,26,43,0) 40%);
}
.hero__inner { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: clamp(96px, 14vw, 170px) clamp(20px, 4vw, 40px); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  text-transform: uppercase; letter-spacing: .22em; font-size: .78rem !important; font-weight: 600;
  color: var(--gold) !important; margin-bottom: 22px !important;
}
.hero__eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); }
.hero h1 { color: var(--white); margin: 0 0 24px; max-width: 15ch; text-wrap: balance; }
.hero p { color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); line-height: 1.7; max-width: 50ch; }
.hero__cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .btn--ghost { border-color: rgba(255,255,255,.55) !important; color: var(--white) !important; background: rgba(255,255,255,.04); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero .btn--ghost:hover { background: var(--white); border-color: var(--white) !important; color: var(--navy-deep) !important; }

/* homepage hero: full, immersive */
.page-home .hero { min-height: min(92vh, 940px); display: flex; align-items: center; }
.page-home .hero__inner { width: 100%; }
.page-home .hero__media img { animation: heroZoom 14s var(--ease) both; }
.page-home .hero h1 { font-size: clamp(2.6rem, 1.3rem + 4.6vw, 4.75rem); }

/* service pages: architectural, bottom-anchored */
.page-service .hero { min-height: min(70vh, 680px); display: flex; align-items: flex-end; }
.page-service .hero__inner { width: 100%; padding-top: 140px; padding-bottom: clamp(56px, 7vw, 88px); }
.page-service .hero__media img { object-position: 78% 40%; }
.page-service .hero::after {
  background:
    linear-gradient(0deg, rgba(12,26,43,.95) 0%, rgba(12,26,43,.7) 42%, rgba(12,26,43,.2) 80%),
    linear-gradient(90deg, rgba(12,26,43,.55) 0%, rgba(12,26,43,0) 60%);
}
.page-service .hero__inner::after {
  content: ""; position: absolute; left: clamp(20px, 4vw, 40px); right: clamp(20px, 4vw, 40px); bottom: 0;
  height: 1px; background: linear-gradient(90deg, var(--gold), rgba(196,164,106,0) 70%);
}

/* location pages: framed panel on a distinct crop */
.page-location .hero { min-height: min(74vh, 720px); display: flex; align-items: center; }
.page-location .hero__media img { object-position: 46% 38%; transform: scale(1.35); transform-origin: 62% 40%; }
.page-location .hero::after { background: linear-gradient(90deg, rgba(12,26,43,.7) 0%, rgba(12,26,43,.35) 60%, rgba(12,26,43,.2) 100%); }
.page-location .hero__inner { width: 100%; padding-left: clamp(36px, 6vw, 72px); padding-right: clamp(36px, 6vw, 72px); }
.page-location .hero__inner > * { position: relative; z-index: 1; }
.page-location .hero__inner::before {
  content: ""; position: absolute; z-index: 0;
  top: clamp(56px, 9vw, 110px); bottom: clamp(56px, 9vw, 110px); left: clamp(4px, 2vw, 16px);
  width: min(720px, calc(100% - 8px));
  background: rgba(12,26,43,.72); border: 1px solid rgba(196,164,106,.45); border-radius: 4px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  animation: fadeIn 1s var(--ease) both;
}
.page-location .hero h1, .page-location .hero p { max-width: 600px; }

/* hero entrance */
.hero__inner > * { animation: riseIn .9s var(--ease) both; }
.hero__inner > *:nth-child(2) { animation-delay: .12s; }
.hero__inner > *:nth-child(3) { animation-delay: .24s; }
.hero__inner > *:nth-child(4) { animation-delay: .36s; }

@keyframes riseIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

/* ---------- sections ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section--alt { background: var(--cream); }
.section--dark { background: var(--navy-deep); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,.78); }
.section__lead { max-width: 68ch; }
.section__lead p, p.section__lead { font-size: clamp(1.02rem, .98rem + .2vw, 1.12rem); }
.center { text-align: center; }
.center .section__lead, .section__lead.center { margin-left: auto; margin-right: auto; }
.section .wrap > h2 { max-width: 22ch; text-wrap: balance; }
.section .wrap > h2.center { margin-left: auto; margin-right: auto; }
.section .wrap > .btn { margin-top: 10px; }

/* two-column split */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(36px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* editorial about + areas (homepage) */
.section--about .wrap,
.section--areas .wrap {
  display: grid; grid-template-columns: minmax(0,5fr) minmax(0,6fr);
  column-gap: clamp(40px, 7vw, 96px); align-items: start;
}
.section--about .wrap > *, .section--areas .wrap > * { grid-column: 2; }
.section--about .wrap > .btn, .section--areas .wrap > .btn { justify-self: start; }

/* homepage intro: editorial two column (heading left, story right) */
.hero + .section .wrap {
  display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); column-gap: clamp(40px, 7vw, 96px); align-items: start;
}
.hero + .section .wrap > h2 { position: sticky; top: calc(var(--header-h) + 32px); }
.hero + .section .section__lead > p:first-child { font-family: var(--font-head); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.5; color: var(--ink); }
@media (max-width: 860px) {
  .hero + .section .wrap { grid-template-columns: 1fr; }
  .hero + .section .wrap > h2 { position: static; }
}
.section--about .wrap::before,
.section--areas .wrap::before {
  content: ""; grid-column: 1; grid-row: 1 / span 4; align-self: stretch;
  min-height: 380px; border-radius: 4px;
  background-image: url("images/hero-1200.jpg"); background-repeat: no-repeat;
  box-shadow: var(--shadow-lg);
}
.section--about .wrap::before { background-size: 290%; background-position: 56% 44%; }
.section--areas .wrap { grid-template-columns: minmax(0,6fr) minmax(0,5fr); }
.section--areas .wrap > * { grid-column: 1; }
.section--areas .wrap::before { grid-column: 2; background-size: 330%; background-position: 98% 34%; }
.section--about .wrap::after,
.section--areas .wrap::after {
  content: ""; grid-row: 1; grid-column: 1; align-self: start; justify-self: start;
  width: 84px; height: 84px; margin: -16px 0 0 -16px;
  border-top: 2px solid var(--gold); border-left: 2px solid var(--gold); pointer-events: none;
}
.section--areas .wrap::after { grid-column: 2; justify-self: end; margin: -16px -16px 0 0; border-left: 0; border-right: 2px solid var(--gold); }
@media (max-width: 860px) {
  .section--about .wrap, .section--areas .wrap { grid-template-columns: 1fr; }
  .section--about .wrap > *, .section--areas .wrap > * { grid-column: 1; }
  .section--about .wrap::before, .section--areas .wrap::before { grid-column: 1; grid-row: auto; order: 99; min-height: 240px; margin-top: 28px; }
  .section--about .wrap::after, .section--areas .wrap::after { display: none; }
}

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: clamp(18px, 2.2vw, 28px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.card::before {
  content: ""; position: absolute; top: -1px; left: clamp(26px, 3vw, 38px); width: 40px; height: 2px; background: var(--gold);
  transition: width .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #D9D2C3; }
.card:hover::before { width: 88px; }
.section--alt .card { background: var(--white); }
.card h3 { margin-bottom: .55em; }
.card p { font-size: .98rem; line-height: 1.72; }
.card p:last-child { margin-bottom: 0; }
.card > a:last-child {
  margin-top: auto; align-self: flex-start;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); padding: 14px 0 4px;
  transition: color .2s var(--ease), letter-spacing .3s var(--ease);
}
.card > a:last-child:hover { color: var(--gold-text); letter-spacing: .18em; }

/* why choose us: deep navy band */
.section--why { background: var(--navy-deep); color: var(--white); overflow: hidden; }
.section--why::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(196,164,106,.14), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(20,40,63,.9), transparent 70%);
}
.section--why .wrap { position: relative; }
.section--why h2 { color: var(--white); }
.section--why p { color: rgba(255,255,255,.76); }
.section--why .card {
  background: rgba(255,255,255,.035); border: 1px solid rgba(196,164,106,.22); box-shadow: none;
}
.section--why .card:hover { background: rgba(255,255,255,.06); border-color: rgba(196,164,106,.55); box-shadow: 0 24px 50px rgba(0,0,0,.25); }
.section--why .card h3 { color: var(--white); padding-left: 26px; position: relative; }
.section--why .card h3::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px;
  border: 1.5px solid var(--gold); transform: rotate(45deg);
}
.section--why .card p { color: rgba(255,255,255,.74); }
.section--why a:not(.btn) { color: var(--gold); }
.section--why a:not(.btn):hover { color: var(--white); }

/* process: numbered steps */
.section--process { counter-reset: step; }
.section--process .card { counter-increment: step; }
.section--process .card::after {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: clamp(20px, 2.4vw, 28px); right: clamp(22px, 2.6vw, 32px);
  font-family: var(--font-head); font-size: 2.6rem; line-height: 1; color: var(--gold); opacity: .6;
}
.section--process .card h3 { padding-right: 64px; }

/* service / area link list */
.linklist { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; list-style: none; }
@media (max-width: 860px) { .linklist { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 520px) { .linklist { grid-template-columns: 1fr; } }
.linklist a {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 64px; padding: 16px 22px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 1.08rem;
  text-decoration: none; text-align: left;
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.section--alt .linklist a { background: var(--ivory); }
.linklist a::after {
  content: ""; flex: none; width: 8px; height: 8px;
  border-top: 1.5px solid var(--gold); border-right: 1.5px solid var(--gold); transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.linklist a:hover { border-color: var(--gold); color: var(--navy); background: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-sm); text-decoration: none; }
.linklist a:hover::after { transform: translateX(4px) rotate(45deg); }

/* cost table */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: .96rem; }
th { background: var(--navy); color: var(--white); font-family: var(--font-body); font-weight: 600; letter-spacing: .03em; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--ivory); }

/* ---------- FAQ accordion ---------- */
.faq details {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 clamp(20px, 3vw, 30px); margin-bottom: 12px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq details:hover { border-color: #D6CDBB; }
.faq details[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq summary {
  position: relative; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.08rem, 1rem + .3vw, 1.25rem); color: var(--ink);
  padding: 22px 48px 22px 0; line-height: 1.4;
  transition: color .2s var(--ease);
}
.faq summary:hover { color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 1.5px; background: var(--gold);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); opacity: 0; }
.faq details[open] summary { color: var(--navy); }
.faq details > p { margin-bottom: 0; border-top: 1px solid var(--line); padding: 18px 0 24px; }
/* smooth open/close where supported (progressive enhancement) */
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .35s var(--ease), content-visibility .35s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* FAQ page (h2/p blocks) */
.faq-page h2 { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem); margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.faq-page h2::before { display: none !important; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--navy);
  color: var(--white); text-align: center; padding: clamp(80px, 10vw, 130px) 20px;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(55% 90% at 50% 0%, rgba(196,164,106,.18), transparent 65%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.cta-band::after {
  content: ""; position: absolute; inset: clamp(14px, 2vw, 26px); pointer-events: none;
  border: 1px solid rgba(196,164,106,.28); border-radius: 4px;
}
.cta-band .wrap { position: relative; z-index: 1; max-width: 820px; }
.cta-band h2 { color: var(--white); font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); text-wrap: balance; }
.cta-band p { color: rgba(255,255,255,.82); font-size: 1.08rem; }
.cta-band a:not(.btn) { color: var(--gold); text-decoration-color: rgba(196,164,106,.5); }
.cta-band a:not(.btn):hover { color: var(--white); }
.cta-band .btn { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.cta-band .btn:hover { background: var(--white); border-color: var(--white); color: var(--navy-deep); box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.cta-band .muted { letter-spacing: .14em; text-transform: uppercase; font-size: .75rem; }

/* ---------- article pages (about, FAQ, team, legal, contact) ---------- */
.page-article .site-header + .section {
  background: linear-gradient(180deg, var(--cream) 0, var(--ivory) 420px);
  padding-top: clamp(72px, 9vw, 120px);
}
.page-article .site-header + .section::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--navy) 0 30%, var(--gold) 30% 34%, transparent 34%);
}
.article { max-width: 860px; }
.page-article .site-header + .section h1 {
  font-size: clamp(2.3rem, 1.5rem + 3vw, 3.6rem); margin-bottom: 22px; text-wrap: balance;
}
.page-article .site-header + .section h1::after {
  content: ""; display: block; width: 56px; height: 2px; background: var(--gold); margin-top: 22px;
}
.article h2 { margin-top: 56px; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.article h2::before { content: ""; display: block; width: 36px; height: 2px; background: var(--gold); margin-bottom: 16px; }
.article h3 { margin-top: 30px; }
.article ul:not(.linklist):not(.contact-list), .article ol { margin: 0 0 1.2rem 1.3em; color: var(--ink-soft); }
.article li { margin-bottom: .5rem; }
.article li::marker { color: var(--gold); }
.article__lead p:first-child { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--ink); line-height: 1.7; }
.article__date { margin-top: -4px; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.article .linklist { margin-top: 18px; }
.article .linklist li { margin-bottom: 0; }

/* contact details */
.contact-list { list-style: none; margin: 30px 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { font-family: var(--font-body); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.contact-list a { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }

/* team */
.team-grid { margin-top: 28px; }
.team-card .avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--font-head); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 1.2rem; margin-bottom: 16px; }
.team-card .role { color: var(--gold-text); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }

/* ---------- estimate / contact form ---------- */
.form-card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(14px, 2vw, 24px); box-shadow: var(--shadow-md);
}
.form-card::before {
  content: ""; position: absolute; top: -1px; left: 24px; right: 24px; height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold)); border-radius: 0 0 3px 3px;
}
.form-card iframe { display: block; width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; min-height: 50px;
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: var(--white); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(196,164,106,.2); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #B4442F; box-shadow: 0 0 0 4px rgba(180,68,47,.12); }
.field textarea { min-height: 140px; resize: vertical; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--navy-deep); color: rgba(255,255,255,.72); padding: clamp(72px, 8vw, 104px) 0 32px; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .7; }
.site-footer h4 { line-height: 1.3; color: var(--white); margin-bottom: 20px; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: .005em; }
.site-footer h4::after { content: ""; display: block; width: 28px; height: 1px; background: var(--gold); margin-top: 12px; }
.footer-grid > div:first-child h4 { font-size: 1.45rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; } .footer-grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer p { line-height: 1.75; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 11px; }
.site-footer a { color: rgba(255,255,255,.72); font-size: .93rem; text-decoration: none; transition: color .2s var(--ease), padding .2s var(--ease); }
.site-footer a:hover { color: var(--gold); }
.site-footer ul a:hover { padding-left: 4px; }
.site-footer .wc-phone { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 56px; padding-top: 24px; font-size: .84rem; color: rgba(255,255,255,.55); }
.footer-bottom p { color: rgba(255,255,255,.55); }
.footer-disclaimer { font-size: .82rem; color: rgba(255,255,255,.55) !important; margin-top: 12px; line-height: 1.6; }

/* phone link: class is a stable hook for WhatConverts dynamic number insertion */
.wc-phone { font-weight: 600; white-space: nowrap; }

/* ---------- scroll reveal (enabled by main.js) ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .card.reveal.is-in:hover { transform: translateY(-6px); }

/* ---------- mobile refinements ---------- */
@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .page-home .hero { min-height: 0; }
  .page-home .hero__inner { padding-top: 96px; padding-bottom: 84px; }
  .hero__media img { object-position: 64% 50%; }
  .hero::after, .page-service .hero::after { background: linear-gradient(180deg, rgba(12,26,43,.62) 0%, rgba(12,26,43,.82) 55%, rgba(12,26,43,.94) 100%); }
  .page-service .hero { min-height: 0; }
  .page-service .hero__inner { padding-top: 120px; }
  .page-location .hero { min-height: 0; }
  .page-location .hero__inner::before { top: 40px; bottom: 40px; left: 12px; width: calc(100% - 24px); }
  .page-location .hero__inner { padding: 76px 36px; }
  .section .wrap > h2 { max-width: none; }
}
@media (max-width: 520px) {
  .nav__logo strong { font-size: 1rem; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .btn--lg { padding: 16px 26px; }
  .card:hover, .js .card.reveal.is-in:hover { transform: none; }
  .cta-band .btn { width: 100%; }
  .wc-phone { white-space: normal; }
  .btn.wc-phone, .nav__call { white-space: nowrap; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .page-home .hero__media img { animation: none; }
}

/* ---------- print ---------- */
@media print {
  .site-header, .nav__toggle, .hero__media { display: none !important; }
  .hero, .section--why, .cta-band, .site-footer { background: #fff !important; color: #000 !important; }
  .hero h1, .section--why h2, .section--why h3, .cta-band h2 { color: #000 !important; }
}

/* intro call to action under the opening story */
.intro-cta { margin-top: 26px; }
