/* ==========================================================================
   Sederehitus – main stylesheet (mobile-first)
   Brand colours sampled from the client's logo files.
   ========================================================================== */

:root {
  /* Brand */
  --c-navy:        #1E2A32;
  --c-navy-2:      #27353F;
  --c-navy-3:      #33434E;
  --c-copper:      #D98A5F;
  --c-copper-hi:   #E49B72;
  --c-copper-ink:  #9A5330;   /* copper for text on light bg (AA) */
  --c-cream:       #F6F4F0;
  --c-cream-2:     #ECE8E1;
  --c-white:       #FFFFFF;
  --c-slate:       #9AA6AE;   /* muted text on dark */
  --c-ink:         #1E2A32;
  --c-muted:       #56626B;   /* muted text on light */
  --c-line:        #DAD5CC;
  --c-success:     #2F7A4F;
  --c-error:       #B3261E;

  /* Logo SVG parts */
  --logo-roof: var(--c-copper);
  --logo-base: var(--c-cream);

  /* Type */
  --f-head: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 16px;
  --radius: 4px;
  --header-h: 68px;
  --section-y: clamp(56px, 8vw, 104px);
  --shadow: 0 1px 2px rgb(30 42 50 / .06), 0 8px 24px rgb(30 42 50 / .08);
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --header-h: 80px; --gutter: 32px; } }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -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 { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--c-cream);
  color: var(--c-ink);
  font: 400 1rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-copper-ink); text-underline-offset: 3px; }
a:hover { color: var(--c-ink); }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--c-copper); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--c-copper); color: var(--c-navy); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em;
  font: 600 1rem/1.2 var(--f-body); text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-lg { min-height: 56px; padding-inline: 1.75em; font-size: 1.0625rem; }
.btn-primary { background: var(--c-copper); color: var(--c-navy); }
.btn-primary:hover { background: var(--c-copper-hi); color: var(--c-navy); }
.btn-primary:hover .icon { transform: translateX(3px); }
.btn-primary .icon { transition: transform .2s; }
.btn-ghost { border-color: rgb(246 244 240 / .45); color: var(--c-cream); }
.btn-ghost:hover { border-color: var(--c-cream); color: var(--c-cream); background: rgb(246 244 240 / .08); }
.btn-outline { border-color: var(--c-ink); color: var(--c-ink); }
.btn-outline:hover { background: var(--c-ink); color: var(--c-cream); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-navy); color: var(--c-cream);
  border-bottom: 1px solid rgb(255 255 255 / .06);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; color: var(--c-cream); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--c-cream); }
.logo-mark { width: 34px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 1.25rem/1 var(--f-head); letter-spacing: .02em; }
.brand-tagline { margin-top: 6px; font: 500 .625rem/1 var(--f-head); letter-spacing: .28em; text-transform: uppercase; color: var(--c-slate); }
@media (min-width: 1024px) { .logo-mark { width: 40px; } .brand-name { font-size: 1.4rem; } }

.header-phone { display: none; align-items: center; gap: 8px; color: var(--c-cream); text-decoration: none; font-weight: 600; white-space: nowrap; }
.header-phone .icon { color: var(--c-copper); }
.header-phone:hover { color: var(--c-copper-hi); }

.nav-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px;
  background: none; border: 0; color: var(--c-cream); cursor: pointer;
}
.nav-toggle .icon { width: 28px; height: 28px; grid-area: 1 / 1; }
.nav-toggle .icon-close, .nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.main-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  display: flex; flex-direction: column; gap: 24px;
  padding: 24px var(--gutter) 40px;
  background: var(--c-navy);
  transform: translateX(100%); visibility: hidden;
  transition: transform .3s ease, visibility .3s;
  overflow-y: auto;
}
.nav-open .main-nav { transform: none; visibility: visible; }
.nav-open { overflow: hidden; }
.main-nav ul { display: flex; flex-direction: column; }
.main-nav a:not(.btn) {
  display: block; padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / .08);
  color: var(--c-cream); text-decoration: none; font: 600 1.5rem/1.2 var(--f-head);
}
.main-nav a[aria-current="page"] { color: var(--c-copper); }
.nav-cta { align-self: flex-start; }

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .header-phone { display: inline-flex; order: 3; }
  .main-nav {
    position: static; flex-direction: row; align-items: center; gap: 28px;
    padding: 0; background: none; transform: none; visibility: visible; overflow: visible;
  }
  .main-nav ul { flex-direction: row; gap: 4px; }
  .main-nav a:not(.btn) {
    position: relative; padding: 8px 12px; border: 0;
    font: 500 .9375rem/1 var(--f-body); color: rgb(246 244 240 / .85);
  }
  .main-nav a:not(.btn):hover { color: var(--c-cream); }
  .main-nav a[aria-current="page"] { color: var(--c-cream); }
  .main-nav a[aria-current="page"]::after {
    content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 2px; background: var(--c-copper);
  }
  .nav-cta { min-height: 44px; padding-block: .6em; }
}
@media (min-width: 1024px) and (max-width: 1180px) { .header-phone span { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--c-navy); color: var(--c-cream);
  min-height: min(88vh, 760px); display: flex; align-items: flex-end;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(30 42 50 / .55) 0%, rgb(30 42 50 / .35) 35%, rgb(30 42 50 / .92) 85%),
    linear-gradient(90deg, rgb(30 42 50 / .75) 0%, rgb(30 42 50 / 0) 70%);
}
.hero-inner { padding-block: 120px 64px; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .eyebrow { display: flex; width: max-content; max-width: 100%; }
.hero h1 .h1-main { display: block; max-width: 12ch; }
.hero-lead { max-width: 56ch; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: rgb(246 244 240 / .9); margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 1rem;
  font: 600 .75rem/1 var(--f-head); letter-spacing: .22em; text-transform: uppercase; color: var(--c-copper-ink);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; }
.hero .eyebrow, .page-hero .eyebrow, .section-dark .eyebrow, .cta-band .eyebrow, .not-found .eyebrow { color: var(--c-copper); }

/* ---------- Trust bar ---------- */
.trust { background: var(--c-navy-2); color: var(--c-cream); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: flex; flex-direction: column; gap: 4px; padding: 20px 8px; border-left: 1px solid rgb(255 255 255 / .08); }
.trust-item:first-child { border-left: 0; padding-left: 0; }
.trust-item strong { font: 700 clamp(1.0625rem, 2.6vw, 2rem)/1.1 var(--f-head); color: var(--c-copper); }
.trust-item span { font-size: .8125rem; line-height: 1.35; color: var(--c-slate); }
@media (min-width: 900px) {
  .trust-item { padding: 32px 24px; }
  .trust-item:first-child { padding-left: 0; }
  .trust-item span { font-size: .875rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-alt { background: var(--c-white); }
.section-dark { background: var(--c-navy); color: var(--c-cream); }
.section-dark .section-head p { color: var(--c-slate); }
.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--c-muted); font-size: 1.0625rem; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.section-head-row h2 { margin: 0; }

/* Roof-line divider motif from the logo */
.section-head h2::after {
  content: ""; display: block; width: 44px; height: 14px; margin-top: 18px;
  background: var(--c-copper);
  clip-path: polygon(0 100%, 50% 0, 100% 100%, 86% 100%, 50% 26%, 14% 100%);
}
.section-head-row h2::after { display: none; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.service-card {
  position: relative; display: flex; flex-direction: column; gap: 4px;
  padding: 28px; background: var(--c-white); color: var(--c-ink); text-decoration: none;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--c-copper);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.service-card:hover { color: var(--c-ink); border-color: transparent; box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { margin-top: 16px; }
.service-card p { color: var(--c-muted); flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--c-copper-ink); font-size: .9375rem; }
.card-link .icon { width: 1em; height: 1em; transition: transform .2s; }
.service-card:hover .card-link .icon { transform: translateX(4px); }

.service-icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; flex: none;
  background: var(--c-navy); color: var(--c-copper); border-radius: var(--radius);
}
.service-icon .icon { width: 26px; height: 26px; }
.service-icon-lg { width: 64px; height: 64px; margin-bottom: 20px; }
.service-icon-lg .icon { width: 32px; height: 32px; }

/* ---------- Work grid (home) ---------- */
.work-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .work-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; }
  .work-item:first-child { grid-column: span 2; grid-row: span 2; }
  .work-item:nth-child(4) { grid-column: span 2; }
}
.work-item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--c-navy); aspect-ratio: 4 / 3; }
@media (min-width: 1024px) { .work-item { aspect-ratio: auto; } }
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work-item:hover img { transform: scale(1.04); }
.work-item figcaption, .gallery-caption {
  position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 2px;
  padding: 40px 20px 16px; color: var(--c-cream);
  background: linear-gradient(transparent, rgb(30 42 50 / .9));
  font: 600 1rem/1.3 var(--f-head);
}
.work-item small, .gallery-caption small { font: 400 .8125rem/1.3 var(--f-body); color: var(--c-slate); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 32px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.step { position: relative; padding-top: 24px; border-top: 2px solid var(--c-line); }
.step-num {
  display: block; margin-bottom: 12px;
  font: 700 2.75rem/1 var(--f-head); color: var(--c-copper);
}
.step p { color: var(--c-muted); margin: 0; }

/* ---------- Split ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split-media img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }
.split-media img[height="1600"] { aspect-ratio: 4 / 5; }
.split-body h2 { margin-bottom: .75em; }

.check-list { display: grid; gap: 14px; margin-bottom: 32px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--c-copper); stroke-width: 2.5; margin-top: 3px; }
.check-list strong { font-weight: 600; }
.check-list-cols { margin: 0; align-content: start; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--c-navy); color: var(--c-cream); padding-block: clamp(56px, 8vw, 88px); }
.cta-inner { position: relative; display: grid; gap: 24px; }
.cta-inner h2 { margin-bottom: .3em; }
.cta-inner p { color: var(--c-slate); margin: 0; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-mark { position: absolute; right: -40px; top: 50%; width: 260px; transform: translateY(-50%); opacity: .08; pointer-events: none; }
@media (min-width: 900px) {
  .cta-inner { grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
  .cta-mark { right: 30%; width: 340px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--c-navy); color: var(--c-cream); padding-block: clamp(56px, 9vw, 112px) clamp(48px, 7vw, 88px); }
.page-hero::after {
  content: ""; position: absolute; right: -60px; bottom: -40px; width: 380px; height: 300px; pointer-events: none;
  border: 26px solid var(--c-copper); border-bottom: 0; border-left: 0; opacity: .1;
  transform: skewY(-38deg); transform-origin: bottom right;
}
.page-hero h1 { max-width: 18ch; }
.page-lead { max-width: 62ch; font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); color: rgb(246 244 240 / .85); margin: 0; }
.page-hero-sm { padding-block: 56px 40px; }
.page-hero-sm h1 { margin: 0; }

.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.chip {
  display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px;
  font: 500 .875rem/1.2 var(--f-body); text-decoration: none; cursor: pointer;
  color: var(--c-cream); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .16); border-radius: 999px;
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { color: var(--c-cream); border-color: var(--c-copper); }

/* ---------- Services detail ---------- */
.service-row { display: grid; gap: 32px; }
@media (min-width: 900px) { .service-row { grid-template-columns: 5fr 6fr; gap: 72px; } }
.service-intro p { color: var(--c-muted); font-size: 1.0625rem; margin-bottom: 24px; }
.check-list-cols { padding: 28px; background: var(--c-cream); border-radius: var(--radius); }
.section-alt .check-list-cols { background: var(--c-cream); }
.section:not(.section-alt) .check-list-cols { background: var(--c-white); border: 1px solid var(--c-line); }

.material-grid { display: grid; gap: 1px; grid-template-columns: 1fr; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .1); }
@media (min-width: 640px) { .material-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .material-grid { grid-template-columns: repeat(4, 1fr); } }
.material { padding: 28px; background: var(--c-navy); }
.material h3 { color: var(--c-copper); }
.material p { color: var(--c-slate); margin: 0; }

/* ---------- Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-bar .chip { color: var(--c-ink); background: var(--c-white); border-color: var(--c-line); }
.filter-bar .chip:hover { border-color: var(--c-ink); color: var(--c-ink); }
.filter-bar .chip.is-active { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-cream); }

.gallery { columns: 1; column-gap: 16px; }
@media (min-width: 600px) { .gallery { columns: 2; } }
@media (min-width: 1024px) { .gallery { columns: 3; column-gap: 20px; } }
.gallery-item {
  position: relative; display: block; margin-bottom: 16px; break-inside: avoid;
  overflow: hidden; border-radius: var(--radius); background: var(--c-navy);
}
@media (min-width: 1024px) { .gallery-item { margin-bottom: 20px; } }
.gallery-item[hidden] { display: none; }
.gallery-item img { width: 100%; transition: transform .6s ease, opacity .3s; }
.gallery-item:hover img { transform: scale(1.04); opacity: .9; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  padding: 64px 16px; background: rgb(18 26 31 / .96);
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; }
.lightbox-figure img { max-width: min(1100px, 100%); max-height: calc(100vh - 160px); width: auto; object-fit: contain; }
.lightbox-figure figcaption { color: var(--c-cream); font: 500 .9375rem/1.4 var(--f-head); text-align: center; }
.lightbox-btn {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px;
  color: var(--c-cream); background: rgb(255 255 255 / .08); border: 0; border-radius: 50%; cursor: pointer;
}
.lightbox-btn:hover { background: var(--c-copper); color: var(--c-navy); }
.lightbox-btn .icon { width: 24px; height: 24px; }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; transform: none; }
  .lightbox-prev { left: calc(50% - 60px); } .lightbox-next { right: calc(50% - 60px); }
}

/* ---------- About ---------- */
.prose p { color: var(--c-muted); font-size: 1.0625rem; }
.prose h2 { margin-top: 1.4em; font-size: clamp(1.375rem, 2.4vw, 1.75rem); }
.prose h2:first-child { margin-top: 0; }
.split-body.prose h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.prose-narrow { max-width: 760px; }

.value-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .value-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.value { padding: 28px; background: var(--c-cream); border-radius: var(--radius); }
.value h3 { margin-top: 18px; }
.value p { color: var(--c-muted); margin: 0; }

.facts { padding: clamp(24px, 4vw, 48px); background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); }
.facts h2 { font-size: 1.5rem; }
.facts-list, .contact-req { display: grid; gap: 0; margin: 0; }
@media (min-width: 640px) { .facts-list { grid-template-columns: repeat(2, 1fr); column-gap: 48px; } }
.facts-list div, .contact-req div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.facts-list dt, .contact-req dt { color: var(--c-muted); }
.facts-list dd, .contact-req dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 380px 1fr; gap: 48px; } }
.contact-card { padding: 28px; background: var(--c-navy); color: var(--c-cream); border-radius: var(--radius); }
@media (min-width: 960px) { .contact-card { position: sticky; top: calc(var(--header-h) + 24px); } }
.contact-card h2 { font-size: 1.5rem; }
.contact-list { display: grid; gap: 18px; margin: 24px 0; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .service-icon { width: 44px; height: 44px; background: var(--c-navy-3); }
.contact-list .service-icon .icon { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-slate); }
.contact-list a, .contact-list span { color: var(--c-cream); font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--c-copper-hi); }
.contact-person { display: flex; flex-direction: column; padding: 18px 0; border-top: 1px solid rgb(255 255 255 / .1); }
.contact-person span { color: var(--c-slate); font-size: .875rem; }
.contact-card .contact-req div { border-color: rgb(255 255 255 / .1); font-size: .875rem; }
.contact-card .contact-req dt { color: var(--c-slate); }

.form-wrap { padding: clamp(20px, 4vw, 40px); background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius); }
.quote-form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .9375rem; }
.field .hint { font-weight: 400; color: var(--c-muted); font-size: .8125rem; }
.req { color: var(--c-copper-ink); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--f-body); color: var(--c-ink);
  background: var(--c-cream); border: 1px solid var(--c-line); border-radius: var(--radius);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-navy); background: var(--c-white); box-shadow: 0 0 0 3px rgb(217 138 95 / .35); }
.field [aria-invalid="true"] { border-color: var(--c-error) !important; }
.field input[type="file"] { padding: 10px; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  margin-right: 12px; padding: 8px 14px; border: 0; border-radius: var(--radius);
  background: var(--c-navy); color: var(--c-cream); font: 600 .875rem var(--f-body); cursor: pointer;
}
.file-list { margin: 0; font-size: .875rem; color: var(--c-muted); }
.field-error { margin: 0; color: var(--c-error); font-size: .875rem; font-weight: 500; }
.field-check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.field-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--c-navy); flex: none; }
.field-check label { flex: 1; font-weight: 400; color: var(--c-muted); }
.field-check .field-error { flex-basis: 100%; }
.quote-form .btn { justify-self: start; }
.quote-form .btn[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { display: flex; gap: 14px; padding: 18px 20px; margin-bottom: 24px; border-radius: var(--radius); border-left: 4px solid; }
.alert p { margin: 4px 0 0; }
.alert .icon { width: 24px; height: 24px; margin-top: 2px; }
.alert-success { background: #E8F3EC; border-color: var(--c-success); color: #1D4D31; }
.alert-error { background: #FBEAE9; border-color: var(--c-error); color: #7A1A14; }
.alert a { color: inherit; font-weight: 600; }


/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: flex; align-items: center; }
.nf-mark { width: 88px; margin-bottom: 32px; }
.not-found .hero-actions { margin-top: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: #172128; color: var(--c-slate); padding-top: clamp(48px, 7vw, 80px); font-size: .9375rem; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; }
.footer-title { font: 600 .75rem/1 var(--f-head); letter-spacing: .2em; text-transform: uppercase; color: var(--c-cream); margin-bottom: 20px; }
.footer-list { display: grid; gap: 12px; }
.footer-list li { display: flex; gap: 10px; align-items: flex-start; }
.footer-list .icon { color: var(--c-copper); margin-top: 3px; width: 18px; height: 18px; }
.site-footer a { color: var(--c-slate); text-decoration: none; }
.site-footer a:hover { color: var(--c-copper-hi); }
.footer-bottom { padding-block: 20px; border-top: 1px solid rgb(255 255 255 / .08); font-size: .8125rem; }

/* ---------- Mobile call bar ---------- */
.mobile-callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 6px 16px calc(6px + env(safe-area-inset-bottom));
  background: var(--c-copper); color: var(--c-navy);
  font: 600 .9375rem/1.2 var(--f-body); letter-spacing: .01em; text-decoration: none;
  box-shadow: 0 -2px 12px rgb(0 0 0 / .15);
}
.mobile-callbar .icon { width: 1.05em; height: 1.05em; }
.mobile-callbar:hover { color: var(--c-navy); background: var(--c-copper-hi); }
body { padding-bottom: 46px; }
@media (min-width: 1024px) { .mobile-callbar { display: none; } body { padding-bottom: 0; } }

/* Contact page without the form (FORM_ENABLED = false) */
.enquiry h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.enquiry > p { color: var(--c-muted); font-size: 1.0625rem; }
.enquiry > p a { font-weight: 600; word-break: break-word; }
.enquiry .check-list { margin: 24px 0 32px; }
