/* ==========================================================================
   GBB Construction – stylesheet (V2: compact "job-site drawing sheet" look)
   Colours come from gbb_config.php (theme) and override the defaults below.
   ========================================================================== */

:root {
  --red: #a30f1d;
  --red-deep: #820714;
  --ink: #13171b;
  --slate: #2f3a43;
  --text: #434b53;
  --muted: #66707a;
  --panel: #f1f3f4;
  --paper: #f1f3f4;
  --line: #d9dee2;
  --line-strong: #b4bdc4;
  --tape: #f6c928;
  --white: #fff;
  --danger: #b00020;

  --font-head: 'Barlow Condensed', 'Oswald', 'Arial Narrow', 'Roboto Condensed', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --wrap: 1140px;
  --radius: 4px;
  --head-h: 64px;
  --sec: clamp(1.5rem, 3.2vw, 2.5rem);   /* vertical space between page sections */
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--red); text-underline-offset: .18em; }
a:hover { color: var(--red-deep); }
[hidden] { display: none !important; }
p { margin: 0 0 .9em; }
ul, ol { margin: 0; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  color: var(--slate);
  margin: 0 0 .5em;
  letter-spacing: .005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.4vw, 2.7rem); }
h2 { font-size: clamp(1.55rem, 2.5vw, 1.95rem); }
h3 { font-size: 1.22rem; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.site-head :focus-visible, .hero :focus-visible, .footer :focus-visible, .section--ink :focus-visible,
.cta :focus-visible, .page-head :focus-visible, .lb :focus-visible, .mobile-cta :focus-visible { outline-color: var(--tape); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: .5rem; top: -4rem; z-index: 300;
  background: var(--white); color: var(--ink); padding: .6rem 1rem; border-radius: var(--radius);
  transition: top .15s;
}
.skip-link:focus { top: .5rem; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

/* ---------- signature graphics: tape measure + blueprint grid ---------- */
.tape {
  --t: 8px;
  height: var(--t);
  background:
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .8) 0 1px, transparent 1px 60px) left bottom / 100% var(--t) no-repeat,
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .6) 0 1px, transparent 1px 12px) left bottom / 100% calc(var(--t) / 2) no-repeat,
    var(--tape);
}
.tape--lg { --t: 12px; }

.grid-bg, .page-head {
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* dimension-line section heading:  Title |————————| link */
.sec-head { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem .85rem; margin: 0 0 .9rem; }
.sec-head h2 { margin: 0; }
.dim {
  position: relative; flex: 1 1 28px; min-width: 28px; height: 14px;
  background: linear-gradient(var(--line-strong), var(--line-strong)) 0 50% / 100% 1px no-repeat;
}
.dim::before, .dim::after { content: ''; position: absolute; top: 0; width: 1px; height: 100%; background: var(--line-strong); }
.dim::before { left: 0; }
.dim::after { right: 0; }
.section--ink .dim, .section--ink .dim::before, .section--ink .dim::after { background-color: rgba(255, 255, 255, .35); }
.section--ink .dim { background-image: linear-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, .35)); }
.link-more {
  display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; text-decoration: none;
}
.link-more .icon { width: 1em; height: 1em; }
.link-more:hover { text-decoration: underline; }

/* corner crop marks on photos (shown on hover / keyboard focus) */
.marks { position: relative; }
.marks::before {
  --m: #fff; --l: 16px;
  content: ''; position: absolute; inset: 8px; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .2s;
  background:
    linear-gradient(var(--m), var(--m)) top left / var(--l) 2px no-repeat,
    linear-gradient(var(--m), var(--m)) top left / 2px var(--l) no-repeat,
    linear-gradient(var(--m), var(--m)) top right / var(--l) 2px no-repeat,
    linear-gradient(var(--m), var(--m)) top right / 2px var(--l) no-repeat,
    linear-gradient(var(--m), var(--m)) bottom left / var(--l) 2px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom left / 2px var(--l) no-repeat,
    linear-gradient(var(--m), var(--m)) bottom right / var(--l) 2px no-repeat,
    linear-gradient(var(--m), var(--m)) bottom right / 2px var(--l) no-repeat;
}
.marks:hover::before, .marks:focus-visible::before { opacity: 1; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .62rem 1.25rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; letter-spacing: .025em; line-height: 1.15;
  color: #fff; text-decoration: none; text-align: center;
  background: var(--red);
  border: 2px solid var(--red); border-radius: var(--radius);
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { color: #fff; background: var(--red-deep); border-color: var(--red-deep); }
.btn .icon { width: 1.05em; height: 1.05em; }
.btn--sm { padding: .42rem .9rem; font-size: 1.04rem; }
.btn--lg { padding: .8rem 1.6rem; font-size: 1.25rem; }
.btn--tape { background: var(--tape); border-color: var(--tape); color: var(--ink); }
.btn--tape:hover { background: #ffd84a; border-color: #ffd84a; color: var(--ink); }
.btn--light { background: #fff; border-color: #fff; color: var(--red-deep); }
.btn--light:hover { background: #f1f1f1; border-color: #f1f1f1; color: var(--red-deep); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn--outline:hover { background: var(--red); color: #fff; }

/* ---------- social icons ---------- */
.social { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 36px; height: 36px; color: #c4ccd2; border-radius: var(--radius); }
.social a:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.social .icon { width: 17px; height: 17px; }
.social--nav { display: none; }

/* ---------- header (one slim sticky bar) ---------- */
.site-head { position: sticky; top: 0; z-index: 60; background: var(--ink); color: #fff; transition: box-shadow .2s; }
.site-head.is-stuck { box-shadow: 0 6px 18px rgba(0, 0, 0, .28); }
.site-head__in { display: flex; align-items: center; gap: 1rem; min-height: var(--head-h); }
.brand { display: flex; align-items: center; gap: .7rem; flex: none; text-decoration: none; }
.brand__crest { height: 44px; width: auto; }
.brand__text { height: 38px; width: auto; }

.nav { flex: 1; display: flex; align-items: center; justify-content: center; }
.nav__list { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: block; padding: .5rem .85rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: .02em;
  color: #cfd6db; text-decoration: none; border-radius: var(--radius);
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__link.is-active { color: #fff; }
.nav__link.is-active::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: 1px; height: 3px; background: var(--tape); }

.head-phone { display: flex; align-items: center; gap: .55rem; flex: none; color: #fff; text-decoration: none; }
.head-phone .icon { flex: none; width: 36px; height: 36px; padding: 9px; background: var(--red); border-radius: 50%; }
.head-phone span { display: flex; flex-direction: column; line-height: 1.05; }
.head-phone small { font-size: .72rem; color: #9fa9b1; }
.head-phone strong { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; }
.head-phone:hover { color: #fff; }
.head-phone:hover strong { text-decoration: underline; text-underline-offset: .18em; }
.head-cta { flex: none; }

.nav-toggle {
  display: none; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; margin-left: auto;
  color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .35); border-radius: var(--radius); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

@media (max-width: 1099.98px) {
  .head-phone span { display: none; }
  .head-phone .icon { width: 40px; height: 40px; padding: 10px; }
}

/* ---------- hero slideshow + quick estimate ---------- */
.hero { position: relative; background: var(--ink); color: #fff; }
.hero__stage { position: relative; max-width: 1600px; margin-inline: auto; overflow: hidden; }
.hero__track { display: grid; }
.slide {
  grid-area: 1 / 1; margin: 0; position: relative; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .8s ease, visibility 0s linear .8s;
}
.slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; z-index: 1; transition: opacity .8s ease, visibility 0s; }
.slide picture { display: block; }
.slide img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: right bottom; }
.slide__cap { padding: .85rem 1rem 1rem; background: var(--ink); }
.slide__tag { margin: 0 0 .1rem; font-size: .85rem; font-weight: 600; color: var(--tape); }
.slide__title { margin: 0 0 .25rem; font-size: 1.6rem; color: #fff; }
.slide__text { margin: 0 0 .7rem; color: #cdd4d9; font-size: .98rem; line-height: 1.4; }

.hero__ctrl { position: absolute; z-index: 3; left: .75rem; top: calc(75vw - 2.95rem); display: flex; align-items: center; gap: .35rem; }
.hero__arrow {
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
  color: #fff; background: rgba(19, 23, 27, .78); border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius); cursor: pointer;
}
.hero__arrow:hover { background: var(--red); border-color: var(--red); }
.hero__arrow .icon { width: 20px; height: 20px; }
.hero__segs { display: flex; padding: 0 .2rem; }
.hero__seg { position: relative; width: 28px; height: 28px; padding: 0; background: none; border: 0; cursor: pointer; }
.hero__seg::before {
  content: ''; position: absolute; left: 0; right: 3px; top: 12px; height: 4px;
  background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); transition: background-color .2s;
}
.hero__seg:hover::before { background: #fff; }
.hero__seg.is-active::before { background: var(--tape); top: 11px; height: 6px; }

.hero__aside { background: var(--paper); padding: .75rem 0 .9rem; }
.quick {
  max-width: 640px; margin-inline: auto; padding: .85rem 1rem 1rem;
  color: var(--text); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 6px;
}
.quick__title { margin: 0; font-size: 1.5rem; }
.quick__lead { margin: .1rem 0 .7rem; font-size: .95rem; color: var(--muted); }

@media (min-width: 760px) {
  .slide img { aspect-ratio: auto; height: clamp(440px, 38vw, 560px); }
  .slide__cap {
    position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end;
    padding: 0 max(1rem, calc((100% - var(--wrap)) / 2)) 4rem;
    background: linear-gradient(0deg, rgba(19, 23, 27, .5) 0%, rgba(19, 23, 27, 0) 45%);
  }
  .slide__panel {                                 /* the "title block": dark panel with a tape-yellow edge */
    width: min(30rem, 100%); padding: .85rem 1.15rem 1rem;
    background: rgba(19, 23, 27, .88); border-left: 4px solid var(--tape);
  }
  .slide__title { font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1.02; }
  .slide__text { font-size: 1.02rem; }
  .slide__panel .btn { border-radius: 0; }
  .hero__ctrl { top: auto; bottom: 1.1rem; left: max(.75rem, calc((100% - var(--wrap)) / 2)); }
}
@media (min-width: 1100px) {
  .hero__aside { position: absolute; inset: 0; z-index: 4; padding: 0; background: none; pointer-events: none; }
  .hero__aside-in { display: flex; justify-content: flex-end; align-items: flex-start; height: 100%; padding-top: 1.1rem; }
  .quick { width: 336px; margin: 0; pointer-events: auto; padding: .8rem 1rem 1rem; border-top-width: 4px; box-shadow: 0 14px 34px rgba(0, 0, 0, .4); }
}

/* quick form layout */
.form--quick .form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .6rem; }
.form--quick .field { margin-bottom: .5rem; }
.form--quick .field[data-field="name"], .form--quick .field[data-field="contact_info"], .form--quick .form__actions { grid-column: 1 / -1; }
.form--quick .field__label { margin-bottom: .15rem; font-size: .82rem; }
.form--quick .input { min-height: 40px; padding: .4rem .65rem; font-size: .95rem; }
.form--quick .form__actions { margin-top: .35rem; }
.form--quick .btn { width: 100%; }
.form--quick .form__note { margin-top: .5rem; text-align: center; font-size: .85rem; }
.form--quick .form__status { margin-bottom: .6rem; padding: .7rem .8rem; font-size: .95rem; }
@media (max-width: 359.98px) { .form--quick .form__fields { grid-template-columns: 1fr; } }

/* ---------- trust bar ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin-block: 0; padding: 0; }
.trust li { display: flex; align-items: center; gap: .6rem; padding: .7rem .4rem; }
.trust .icon { flex: none; width: 30px; height: 30px; color: var(--red); }
.trust span { display: flex; flex-direction: column; min-width: 0; }
.trust strong { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; line-height: 1.05; color: var(--slate); }
.trust small { font-size: .82rem; line-height: 1.2; color: var(--muted); }
@media (min-width: 800px) {
  .trust__list { grid-template-columns: repeat(4, 1fr); }
  .trust li { padding: .8rem 1rem; }
  .trust li + li { border-left: 1px solid var(--line); }
  .trust li:first-child { padding-left: 0; }
}

/* ---------- sections ---------- */
.section { padding-block: var(--sec); }
.section--paper { background: var(--paper); }
.section--ink { background-color: var(--ink); color: #c9d0d5; }
.section--ink h2 { color: #fff; }
.section--ink a:not(.btn) { color: var(--tape); }

/* service tiles */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; list-style: none; margin: 0; padding: 0; }
.tile {
  display: flex; align-items: center; gap: .65rem; height: 100%; padding: .7rem;
  color: var(--text); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s;
}
.tile:hover { border-color: var(--red); color: var(--text); }
.tile__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; color: #fff; background: var(--ink); border-radius: 3px; transition: background-color .15s; }
.tile:hover .tile__icon { background: var(--red); }
.tile__icon .icon { width: 22px; height: 22px; }
.tile__body { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.tile__body strong { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; line-height: 1.08; color: var(--slate); }
.tile__body span { display: none; margin-top: .15rem; font-size: .88rem; line-height: 1.3; color: var(--muted); }
@media (max-width: 559.98px) {
  .tile { flex-direction: column; align-items: flex-start; gap: .45rem; padding: .6rem .7rem .7rem; }
}
@media (min-width: 560px) {
  .tile { align-items: flex-start; gap: .75rem; padding: .8rem; }
  .tile__body span { display: block; }
}
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; } }
.tiles--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.social--contact a { color: var(--slate); background: var(--paper); }
.social--contact a:hover { color: #fff; background: var(--red); }
.social--contact { margin-left: 0; }

/* project photo grid */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.bento__item--lead { grid-column: 1 / -1; grid-row: span 2; }
.bento__link { display: block; height: 100%; overflow: hidden; background: #cdd3d8; border-radius: var(--radius); }
.bento__link img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right bottom; transition: transform .5s ease; }
.bento__link:hover img { transform: scale(1.035); }
.bento__link::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(35deg, rgba(10, 12, 14, .8) 0, rgba(10, 12, 14, .35) 36%, rgba(10, 12, 14, 0) 60%);
}
.bento__cap { position: absolute; z-index: 1; left: .7rem; bottom: .55rem; display: flex; flex-direction: column; color: #fff; pointer-events: none; }
.bento__cap strong { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; line-height: 1.05; }
.bento__cap small { font-size: .8rem; color: #d3d9de; }
.bento__item--lead .bento__cap strong { font-size: 1.7rem; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: .6rem; }
  .bento__item--lead { grid-column: span 2; grid-row: span 2; }
}

/* process steps */
.steps { display: grid; grid-template-columns: 1fr; gap: .8rem; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; padding-left: 3rem; }
.steps__n {
  position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.15rem; height: 2.15rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--tape); background: var(--ink); border-radius: 50%;
}
.steps li:not(:last-child)::after {
  content: ''; position: absolute; left: 1.05rem; top: 2.35rem; bottom: -.65rem; width: 2px;
  background: repeating-linear-gradient(var(--line-strong) 0 4px, transparent 4px 8px);
}
.steps h3 { margin: 0 0 .1rem; font-size: 1.25rem; }
.steps p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (min-width: 800px) {
  .steps--row { grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
  .steps--row li { padding: 2.9rem 0 0; }
  .steps--row li:not(:last-child)::after {
    left: 2.4rem; right: -1.2rem; top: 1.05rem; bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(90deg, var(--line-strong) 0 4px, transparent 4px 8px);
  }
}

/* about band */
.about { display: grid; gap: 1rem; align-items: center; }
.about__img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .14); }
.about__media { display: grid; gap: .6rem; }
.about__brands { display: grid; place-items: center; padding: .6rem; background: #fff; border-radius: var(--radius); }
.about__brands img { display: block; width: 100%; max-width: 300px; height: auto; }
.about__body h2 { margin-bottom: .4rem; }
.about__body p { max-width: 62ch; }
.ticks { display: grid; grid-template-columns: 1fr; gap: .3rem 1.2rem; list-style: none; margin: .7rem 0 1rem; padding: 0; }
.ticks li { display: flex; align-items: flex-start; gap: .45rem; line-height: 1.3; font-size: .97rem; }
.ticks .icon { flex: none; width: 18px; height: 18px; margin-top: .1rem; color: var(--tape); stroke-width: 3; }
.about__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
@media (min-width: 520px) { .ticks { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .about { grid-template-columns: 5fr 6fr; gap: 2.2rem; } }

/* testimonials (shown only when real quotes exist in gbb_config.php) */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .7rem; }
.quote { margin: 0; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--tape); border-radius: var(--radius); }
.quote blockquote { margin: 0 0 .6rem; }
.quote blockquote p { margin: 0; font-size: 1.05rem; line-height: 1.5; color: var(--slate); }
.quote figcaption { display: flex; flex-direction: column; font-size: .9rem; line-height: 1.3; }
.quote figcaption strong { color: var(--slate); }
.quote figcaption span { color: var(--muted); }

/* service area + faq */
.area-faq { display: grid; gap: 1.5rem; }
.area__map { margin: 0; color: var(--slate); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.area__map svg { display: block; width: 100%; height: auto; }
.area__chip rect { fill: var(--ink); }
.area__chip text { fill: #fff; font-family: var(--font-head); font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.area__pin circle { fill: var(--red); }
.area__pin .area__pulse { fill: none; stroke: var(--red); stroke-opacity: .55; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out 3; }
@keyframes pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(2.3); opacity: 0; } }
.area__label { fill: var(--slate); font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.area__note { margin: .55rem 0 0; font-size: .92rem; color: var(--muted); }
@media (min-width: 900px) { .area-faq { grid-template-columns: 5fr 6fr; gap: 2.4rem; } }

.faq__item { margin: 0 0 .45rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq__item[open] { border-color: var(--line-strong); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem .85rem; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.18rem; line-height: 1.15; color: var(--slate);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ''; flex: none; width: 13px; height: 13px; color: var(--red);
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
}
.faq__item[open] summary::after { background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
.faq__item summary:hover { color: var(--red); }
.faq__item p { margin: 0; padding: 0 .85rem .75rem; font-size: .97rem; }

/* call-to-action band */
.cta { background-color: var(--red-deep); color: #fff; padding-block: clamp(1.4rem, 3vw, 2.1rem); }
.cta--slim { padding-block: 1.1rem; }
.cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.cta__title { margin: 0 0 .15rem; color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta--slim .cta__title { margin: 0; }
.cta__text { margin: 0; color: #f2d9dc; font-size: .98rem; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; }
.cta__phone { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; }
.cta__phone .icon { width: 42px; height: 42px; padding: 11px; color: var(--ink); background: var(--tape); border-radius: 50%; }
.cta__phone span { display: flex; flex-direction: column; line-height: 1.05; }
.cta__phone small { font-size: .8rem; color: #f2d9dc; }
.cta__phone strong { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; letter-spacing: .02em; }
.cta__phone:hover { color: #fff; }
.cta__phone:hover strong { text-decoration: underline; text-underline-offset: .16em; }

/* ---------- inner pages ---------- */
.page-head { background-color: var(--ink); color: #fff; padding-block: .9rem 1rem; }
.page-head h1 { margin: 0; color: #fff; font-size: clamp(1.9rem, 4vw, 2.5rem); }
.page-head__lead { margin: .25rem 0 0; color: #c4ccd2; }
.crumbs { margin: 0 0 .25rem; font-size: .85rem; color: #98a3ab; }
.crumbs a { color: #cfd6db; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span[aria-hidden] { margin-inline: .3rem; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: start; }
@media (min-width: 900px) {
  .layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.75rem; }
  .layout--form { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .layout--contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

.prose p { max-width: 68ch; }
.prose__hero { display: block; width: 100%; height: auto; margin: 0 0 1rem; border-radius: var(--radius); }
.prose__brands { display: block; width: 280px; margin-top: 1rem; }
.h-small { font-size: 1.4rem; margin: 1.2rem 0 .4rem; }
.prose > .h-small:first-of-type { margin-top: 0; }

.svc { display: grid; grid-template-columns: auto 1fr; gap: 0 .85rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; padding-top: .2rem; }
.svc__icon { display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: var(--ink); border-radius: var(--radius); }
.svc__icon .icon { width: 24px; height: 24px; }
.svc h2 { margin: 0 0 .25rem; font-size: 1.5rem; }
.svc p { margin: 0; max-width: 66ch; }
.more-title { margin: 1.1rem 0 .6rem; font-size: 1.4rem; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; list-style: none; margin: 1rem 0 0; padding: 0; }
.facts li { padding: .6rem .7rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.facts strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1.05; color: var(--slate); }
.facts span { font-size: .85rem; color: var(--muted); line-height: 1.2; display: block; }

.side { padding: .9rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.side__img { display: block; width: 100%; max-width: 220px; max-height: 240px; height: auto; margin: 0 auto; object-fit: contain; background: #fff; }
.side__btn { display: flex; width: 100%; margin: .75rem 0 0; }
.side__title { font-size: 1.4rem; margin: 0 0 .5rem; }
.side__brands { display: block; width: 100%; max-width: 280px; margin: .8rem auto 0; }
.side p { margin-bottom: .7em; font-size: .97rem; }
.side .steps { margin-top: .4rem; }
.side .steps p { font-size: .9rem; }

/* ---------- forms ---------- */
.form__status { margin: 0 0 .9rem; padding: .8rem 1rem; border-radius: var(--radius); font-weight: 500; }
.form__status:empty { display: none; }
.form__status.is-ok { background: #e8f5ec; border: 1px solid #9ccfa9; color: #14502a; }
.form__status.is-error { background: #fdecee; border: 1px solid #e5a3ab; color: #7a0c1a; }
.form__status:focus { outline: none; }

.field { margin: 0 0 .8rem; }
.field__label { display: block; margin: 0 0 .25rem; font-size: .9rem; font-weight: 600; color: var(--slate); }
.field__set { margin: 0; padding: 0; border: 0; min-width: 0; }
.req { color: var(--red); font-weight: 700; }
.input {
  display: block; width: 100%; min-height: 44px; padding: .5rem .75rem;
  font: inherit; color: #1f2327; background: #fff;
  border: 1px solid var(--line-strong); border-radius: var(--radius);
}
textarea.input { min-height: 6.5rem; resize: vertical; }
.input:focus { outline: 3px solid rgba(163, 15, 29, .25); outline-offset: 0; border-color: var(--red); }
.has-error .input { border-color: var(--danger); }
.field__error { margin: .25rem 0 0; font-size: .88rem; color: var(--danger); }
.field__error:empty { display: none; }
.field__radios { display: flex; flex-wrap: wrap; gap: .1rem 1.2rem; }
.radio { display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; cursor: pointer; }
.radio input { width: 19px; height: 19px; margin: 0; accent-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { margin-top: 1rem; }
.form__note { margin: .6rem 0 0; font-size: .88rem; color: var(--muted); }
.form button[disabled] { opacity: .65; cursor: progress; }

@media (min-width: 560px) {
  .layout--form .form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .layout--form .field[data-field="blueprints"], .layout--form .field[data-field="message"],
  .layout--form .form__actions { grid-column: 1 / -1; }
}
.side .form__fields { display: block; }

/* ---------- contact page ---------- */
.map { aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #e3e6e8; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.contact-boxes { display: grid; grid-template-columns: 1fr; gap: .5rem; list-style: none; margin: .6rem 0 .9rem; padding: 0; }
.contact-box { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 .7rem; padding: .6rem .8rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow-wrap: anywhere; }
.contact-box__icon { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; color: #fff; background: var(--red); border-radius: 50%; }
.contact-box__icon .icon { width: 18px; height: 18px; }
.contact-box__title { margin: 0; font-size: 1.05rem; line-height: 1.1; color: var(--muted); font-weight: 600; }
.contact-box a, .contact-box span:not(.contact-box__icon) { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; line-height: 1.1; color: var(--slate); text-decoration: none; }
.contact-box a:hover { color: var(--red); text-decoration: underline; }
.contact-box .contact-box__email { font-size: 1.3rem; }
@media (min-width: 640px) { .contact-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contact-box:last-child { grid-column: 1 / -1; } }

/* ---------- gallery ---------- */
.tabs { display: flex; gap: .4rem; margin: 0 0 .8rem; padding-bottom: .15rem; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; scroll-snap-align: start; padding: .35rem .85rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; letter-spacing: .015em; color: var(--slate);
  background: #fff; border: 1px solid var(--line-strong); border-radius: 999px; cursor: pointer; white-space: nowrap;
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { color: #fff; background: var(--ink); border-color: var(--ink); }
.tab__count { margin-left: .3rem; font-family: var(--font-body); font-size: .75rem; font-weight: 500; opacity: .7; }
@media (min-width: 1000px) { .tabs { flex-wrap: wrap; overflow: visible; } }

.panel:focus { outline: none; }
.masonry { column-count: 2; column-gap: .5rem; list-style: none; margin: 0; padding: 0; }
.masonry__item { break-inside: avoid; margin: 0 0 .5rem; }
.photo { position: relative; display: block; overflow: hidden; background: #dfe3e6; border-radius: var(--radius); cursor: zoom-in; }
.photo img { display: block; width: 100%; height: auto; transition: transform .4s ease; }
.photo:hover img { transform: scale(1.03); }
.photo[data-id]::after {
  content: attr(data-id); position: absolute; left: 8px; bottom: 8px; z-index: 3; padding: .08rem .45rem;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .04em; color: var(--tape); background: var(--ink);
  opacity: 0; transition: opacity .2s; pointer-events: none;
}
.photo:hover::after, .photo:focus-visible::after { opacity: 1; }
@media (min-width: 620px) { .masonry { column-count: 3; } }
@media (min-width: 1000px) { .masonry { column-count: 4; } }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(8, 10, 12, .97); color: #fff; touch-action: pan-y; }
.lb.is-open { display: flex; }
.lb__img { max-width: min(94vw, 1500px); max-height: calc(100vh - 8rem); max-height: calc(100dvh - 8rem); width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: opacity .15s; }
.lb.is-loading .lb__img { opacity: 0; }
.lb.is-loading::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 3px solid rgba(255, 255, 255, .3); border-top-color: var(--tape); border-radius: 50%; animation: lb-spin .8s linear infinite;
}
@keyframes lb-spin { to { transform: rotate(360deg); } }
.lb__bar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: .6rem .9rem; font-size: .95rem; color: #d3d9de; }
.lb__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: #fff; background: rgba(255, 255, 255, .1); border: 0; border-radius: var(--radius); cursor: pointer; }
.lb__btn:hover { background: var(--red); }
.lb__btn .icon { width: 26px; height: 26px; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__nav--prev { left: .6rem; }
.lb__nav--next { right: .6rem; }
.lb__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem 1rem 1rem; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; letter-spacing: .03em; color: #e4e8eb; }
body.lb-open { overflow: hidden; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #b7c0c7; }
.footer a { color: #e6eaed; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem 1.5rem; padding-block: 1.6rem 1.4rem; }
.footer__about, .footer__col--contact { grid-column: 1 / -1; }
.footer__contact a { overflow-wrap: anywhere; }
.footer__brand { display: inline-flex; align-items: center; gap: .8rem; margin-bottom: .6rem; }
.footer__about p { max-width: 40ch; margin-bottom: .5rem; font-size: .96rem; }
.footer__title { margin: 0 0 .5rem; font-size: 1.2rem; color: #fff; }
.footer__col ul { list-style: none; margin: 0; padding: 0; font-size: .96rem; }
.footer__col li { margin: 0 0 .25rem; }
.footer__contact li { display: flex; align-items: center; gap: .55rem; }
.footer__contact .icon { flex: none; width: 17px; height: 17px; color: var(--tape); }
.social--footer { margin-left: -.4rem; }
.footer__base { background: #0c0f12; color: #8a949c; font-size: .86rem; }
.footer__base-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1.5rem; padding-block: .7rem; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 2.2fr 1fr 1.3fr 1.6fr; gap: 2rem; } .footer__about, .footer__col--contact { grid-column: auto; } }

/* mobile call / estimate bar */
.mobile-cta { display: none; }

/* ---------- small screens ---------- */
@media (max-width: 959.98px) {
  .head-phone { display: none; }
  .nav-toggle { display: grid; }
  .head-cta { margin-left: auto; }
  .head-cta + .nav-toggle { margin-left: 0; }

  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; justify-content: flex-start;
    max-height: calc(100vh - var(--head-h)); overflow-y: auto; padding: .3rem 1rem 1rem;
    background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 14px 24px rgba(0, 0, 0, .3);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .18s, transform .18s, visibility .18s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: .8rem .25rem; font-size: 1.35rem; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav__link:hover { background: none; }
  .nav__link.is-active::after { left: 0; right: auto; bottom: 0; width: 44px; }
  .social--nav { display: flex; margin: .7rem 0 0 -.4rem; }
}
@media (max-width: 519.98px) { .head-cta { display: none; } .head-cta + .nav-toggle, .nav-toggle { margin-left: auto; } }

@media (max-width: 759.98px) {
  body { padding-bottom: 56px; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1.5fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding-bottom: env(safe-area-inset-bottom); background: var(--ink); box-shadow: 0 -4px 14px rgba(0, 0, 0, .25);
  }
  .mobile-cta a {
    display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 56px;
    font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: .03em; color: #fff; text-decoration: none;
  }
  .mobile-cta__est { background: var(--red); }
  .mobile-cta .icon { width: 20px; height: 20px; }
  .cta__actions .btn { flex: 1 1 100%; }
  .lb__nav { top: auto; bottom: 3.6rem; transform: none; }
  .lb__img { max-height: calc(100vh - 11rem); max-height: calc(100dvh - 11rem); }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .facts strong { font-size: 1.3rem; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

@media print {
  .site-head, .hero__ctrl, .mobile-cta, .cta, .tape { display: none !important; }
}
