/*--------------------------------------------------------------
# SGU Engineering – redesign
# Loaded after ../assets/css/main.css, which still provides the
# header, navigation, mobile menu, language switcher and scroll-top.
--------------------------------------------------------------*/

/* ---------- Tokens ---------- */
:root {
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --heading-font: "Barlow", "Inter", sans-serif;
  --nav-font: "Barlow", "Inter", sans-serif;

  --ink: #14161a;          /* headings, dark surfaces */
  --steel: #1b1e23;        /* dark section background */
  --text: #444a52;         /* body copy on light */
  --muted: #6b727b;
  --line: #e2e5e9;
  --panel: #f4f5f7;        /* light section background */
  --yellow: #ffc451;       /* brand accent – fills and text on dark only */
  --yellow-hover: #ffd47a;
  --amber-ink: #946200;    /* accent for text on light backgrounds (AA contrast) */
  --radius: 6px;
  --header-h: 72px;        /* updated from JS to the real header height */
}

.site-v2 {
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
}

.site-v2 h1, .site-v2 h2, .site-v2 h3, .site-v2 h4 {
  font-family: var(--heading-font);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.site-v2 .main a { color: var(--amber-ink); }
.site-v2 .main a:hover { color: var(--ink); }

.site-v2 section[id], .site-v2 [data-anchor] { scroll-margin-top: calc(var(--header-h) + 16px); }
.site-v2.has-subnav section[id],
.site-v2.has-subnav [data-anchor] { scroll-margin-top: calc(var(--header-h) + 72px); }

.v2-section { padding: 96px 0; background: #fff; }
.v2-section.is-panel { background: var(--panel); }
.v2-section.is-dark { background: var(--steel); color: rgba(255, 255, 255, 0.72); }
.v2-section.is-dark h2, .v2-section.is-dark h3 { color: #fff; }

@media (max-width: 767.98px) {
  .v2-section { padding: 64px 0; }
}

/* ---------- Header ---------- */
.site-v2 .header { --background-color: rgba(12, 14, 17, 0); }
.site-v2.scrolled .header,
.site-v2.mobile-nav-active .header { --background-color: rgba(12, 14, 17, 0.94); }

.site-v2 .header .btn-getstarted,
.site-v2 .header .btn-getstarted:focus {
  background: var(--yellow);
  color: var(--ink);
  font-weight: 600;
}
.site-v2 .header .btn-getstarted:hover { background: var(--yellow-hover); color: var(--ink); }
.site-v2 .header .btn-getstarted { white-space: nowrap; }

/* Longer EN/DE button labels get a short version on phones */
.btn-short { display: none; }
@media (max-width: 575.98px) {
  .btn-full { display: none; }
  .btn-short { display: inline; }
}

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-ink);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}
.is-dark .eyebrow, .v2-hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow, .quote-info .eyebrow { color: var(--yellow); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700; margin-bottom: 14px; }
.section-head p { font-size: 1.075rem; margin: 0; }

.h2-lg { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700; margin-bottom: 16px; }

.btn-v2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 4px;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.site-v2 .btn-v2.is-primary { background: var(--yellow); color: var(--ink); }
.site-v2 .btn-v2.is-primary:hover { background: var(--yellow-hover); color: var(--ink); }
.site-v2 .btn-v2.is-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.site-v2 .btn-v2.is-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }
.site-v2 .btn-v2.is-dark { background: var(--ink); color: #fff; }
.site-v2 .btn-v2.is-dark:hover { background: #2a2e35; color: #fff; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 16px;
}
.text-link i { transition: transform .2s; }
.text-link:hover i { transform: translateX(4px); }
.site-v2 .is-dark .text-link { color: var(--yellow); }
.site-v2 .is-dark .text-link:hover { color: #fff; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; }
.check-list i { color: var(--amber-ink); font-size: 18px; line-height: 1.4; }
.check-list.is-2col { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 24px; }
@media (max-width: 767.98px) { .check-list.is-2col { grid-template-columns: 1fr; } }

/* Small link tiles (e.g. product overview) */
.tile-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.site-v2 .main a.tile-link { color: var(--muted); }
.tile-link:hover { transform: translateY(-3px); border-color: #cfd3d8; box-shadow: 0 12px 30px rgba(15, 20, 30, 0.08); }
.tile-link .icon-square { margin-bottom: 14px; }
.tile-link strong { font-family: var(--heading-font); font-size: 18px; color: var(--ink); margin-bottom: 2px; }
.tile-link span:last-child { font-size: 14px; }

/* ---------- Hero backgrounds (home + inner pages) ---------- */
.v2-hero, .page-hero {
  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.v2-hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(12, 14, 17, 0.94) 0%, rgba(12, 14, 17, 0.8) 45%, rgba(12, 14, 17, 0.4) 100%);
}

/* Home hero */
.v2-hero {
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding: 150px 0;
}
.v2-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 22px;
  max-width: 14ch;
}
.v2-hero h1 span, .page-hero h1 span { color: var(--yellow); }
.v2-hero .lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  list-style: none;
  padding: 0;
  margin: 44px 0 0;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
}
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof i { color: var(--yellow); }

@media (max-width: 767.98px) {
  .v2-hero { padding: 120px 0 110px; min-height: auto; }
  .v2-hero .hero-bg { object-position: 70% center; }
}

/* Inner page hero */
.page-hero { padding: calc(var(--header-h) + 72px) 0 72px; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 18px;
  max-width: 18ch;
}
.page-hero .lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); max-width: 640px; margin: 0; }
.page-hero .hero-actions { margin-top: 30px; }
.breadcrumb-v2 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}
.breadcrumb-v2 li + li::before { content: "/"; margin-right: 8px; color: rgba(255, 255, 255, 0.35); }
.site-v2 .breadcrumb-v2 a { color: rgba(255, 255, 255, 0.8); }
.site-v2 .breadcrumb-v2 a:hover { color: var(--yellow); }
@media (max-width: 767.98px) {
  .page-hero { padding: calc(var(--header-h) + 48px) 0 56px; }
}

/* ---------- In-page sub navigation (sticky) ---------- */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(15, 20, 30, 0.04);
}
.subnav ul {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav ul::-webkit-scrollbar { display: none; }
.site-v2 .subnav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.subnav a i { color: var(--muted); }
.site-v2 .subnav a:hover { background: var(--panel); color: var(--ink); }
.site-v2 .subnav a.is-active { background: var(--ink); color: #fff; }
.subnav a.is-active i { color: var(--yellow); }

/* ---------- Value strip ---------- */
.value-strip {
  position: relative;
  z-index: 2;
  margin-top: -72px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(15, 20, 30, 0.12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.value-item { padding: 30px 28px; display: flex; gap: 16px; }
.value-item + .value-item { border-left: 1px solid var(--line); }
.icon-square {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background: var(--yellow);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.value-item h3 { font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.value-item p { font-size: 14.5px; line-height: 1.55; margin: 0; color: var(--muted); }

/* Flat, three-column variant used inside sections */
.value-strip.is-flat {
  margin-top: 0;
  box-shadow: none;
  border: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1199.98px) {
  .value-strip:not(.is-flat) { grid-template-columns: repeat(2, 1fr); }
  .value-strip:not(.is-flat) .value-item:nth-child(3) { border-left: 0; }
  .value-strip:not(.is-flat) .value-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 991.98px) {
  .value-strip.is-flat { grid-template-columns: 1fr; }
  .value-strip.is-flat .value-item + .value-item { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 575.98px) {
  .value-strip:not(.is-flat) { grid-template-columns: 1fr; margin-top: -48px; }
  .value-strip:not(.is-flat) .value-item + .value-item { border-left: 0; border-top: 1px solid var(--line); }
  .value-item { padding: 22px 20px; }
}

/* ---------- Service cards ---------- */
.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15, 20, 30, 0.1); }
.service-card .media { aspect-ratio: 16 / 10; overflow: hidden; background: #2a2d32; }
.service-card .media img { width: 100%; height: 100%; object-fit: cover; }
.service-card .media.is-product { background: radial-gradient(circle at 50% 40%, #ffffff 0%, #e9ecef 100%); }
.service-card .media.is-product img { object-fit: contain; padding: 22px; }
.service-card .media.is-render { background: #fff; }
.service-card .media.is-render img { object-fit: contain; padding: 10px; }
.service-card .body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card-num {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--amber-ink);
  margin-bottom: 6px;
}
.service-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.service-card p { margin-bottom: 16px; }
.service-card .check-list { font-size: 15px; margin-bottom: 22px; }
.service-card .text-link { margin-top: auto; }

/* ---------- Process (short, home page) ---------- */
.process {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  counter-reset: step;
}
.process li { position: relative; counter-increment: step; }
.process li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--yellow);
  background: var(--steel);
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}
.process li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 56px;
  right: -20px;
  height: 2px;
  background: rgba(255, 196, 81, 0.3);
}
.process h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.process p { font-size: 14.5px; line-height: 1.55; margin: 0; }

@media (max-width: 1199.98px) {
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .process li:nth-child(3)::after { display: none; }
}
@media (max-width: 767.98px) {
  .process { grid-template-columns: 1fr; row-gap: 0; }
  .process li { padding: 0 0 28px 68px; }
  .process li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .process li:not(:last-child)::after { display: block; top: 52px; bottom: 4px; left: 23px; right: auto; width: 2px; height: auto; }
  .process li:nth-child(3)::after { display: block; }
}

/* ---------- Split media ---------- */
.split-media { position: relative; }
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.badge-card {
  position: absolute;
  left: -18px;
  bottom: 28px;
  background: var(--ink);
  color: #fff;
  border-left: 4px solid var(--yellow);
  border-radius: 4px;
  padding: 16px 20px;
  font-family: var(--heading-font);
  font-size: 15px;
  line-height: 1.35;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.badge-card strong { display: block; font-size: 20px; color: var(--yellow); }
@media (max-width: 991.98px) {
  .badge-card { left: 12px; bottom: 12px; }
}

/* ---------- Product / detail sections ---------- */
.media-panel {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.media-panel img { width: 100%; height: 100%; object-fit: contain; padding: 28px; }
.media-panel.is-photo img { object-fit: cover; padding: 0; }
.media-panel.is-icon {
  background: linear-gradient(135deg, var(--steel) 0%, #2a2e35 100%);
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}
.media-panel.is-icon i { display: block; font-size: 72px; color: var(--yellow); line-height: 1; margin-bottom: 14px; }
.media-panel.is-icon span { font-family: var(--heading-font); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; font-size: 14px; }
.media-panel .panel-tag {
  position: absolute;
  left: 16px;
  top: 16px;
  background: var(--ink);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 3px;
}
@media (min-width: 992px) {
  .media-sticky { position: sticky; top: calc(var(--header-h) + 88px); }
}

.detail-section .lead-text { font-size: 1.075rem; margin-bottom: 26px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 24px; }
.spec-grid.is-single { grid-template-columns: 1fr; }
.spec-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
}
.is-panel .spec-card { background: #fff; }
.spec-card.is-wide { grid-column: 1 / -1; }
.spec-card h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}
.spec-card .check-list { font-size: 15px; }
.spec-card .check-list li { padding: 4px 0; }
.spec-card p { font-size: 15px; margin: 0; }
.detail-note {
  border-left: 3px solid var(--yellow);
  padding: 4px 0 4px 18px;
  margin: 0;
  color: var(--ink);
}
@media (max-width: 767.98px) {
  .spec-grid { grid-template-columns: 1fr; }
}

/* ---------- Gallery ---------- */
.gallery-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.gallery-head .section-head { margin-bottom: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #2a2d32;
}
.gallery-tile[hidden] { display: none; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-tile:hover img { transform: scale(1.04); }
.gallery-tile.is-render { background: #fff; border: 1px solid var(--line); }
.gallery-tile.is-render img { object-fit: contain; padding: 18px 18px 64px; }
.gallery-tile figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 20px 16px;
  background: linear-gradient(transparent, rgba(10, 12, 15, 0.85));
  color: #fff;
}
.gallery-tile .tag {
  display: block;
  font-family: var(--heading-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}
.gallery-tile .title { font-family: var(--heading-font); font-size: 19px; font-weight: 600; }
.gallery-tile .zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .2s;
}
.gallery-tile.is-render .zoom { background: var(--ink); color: #fff; }
.site-v2 .gallery-tile.is-cta {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
.gallery-tile.is-cta strong { font-family: var(--heading-font); font-size: 24px; line-height: 1.2; color: #fff; margin-bottom: 8px; }
.gallery-tile.is-cta span { font-size: 15px; margin-bottom: 18px; }
.gallery-tile.is-cta .text-link { color: var(--yellow); }

/* Full-width CTA bar under a gallery */
.site-v2 .gallery-tile.is-cta.is-wide {
  margin-top: 20px;
  aspect-ratio: auto;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  padding: 26px 32px;
}
.gallery-tile.is-cta.is-wide strong { margin: 0; flex: 0 0 auto; }
.gallery-tile.is-cta.is-wide span { margin: 0; flex: 1 1 320px; }
.gallery-tile.is-cta.is-wide .text-link { flex: 0 0 auto; margin-left: auto; }
@media (max-width: 575.98px) {
  .site-v2 .gallery-tile.is-cta.is-wide { flex-direction: column; align-items: flex-start; padding: 24px; }
  .gallery-tile.is-cta.is-wide span { flex: none; }
  .gallery-tile.is-cta.is-wide .text-link { margin-left: 0; }
}
.gallery-tile:hover .zoom, .gallery-tile:focus-visible .zoom { opacity: 1; }
/* Inset focus ring, so the paged gallery's clipping can't cut it off */
.gallery-tile:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
/* Featured tile spanning two columns; on desktop it takes its height from the row */
.gallery-tile.is-featured { grid-column: span 2; aspect-ratio: auto; }
.gallery-tile.is-featured img { position: absolute; inset: 0; }
@media (max-width: 991.98px) {
  .gallery-tile.is-featured { aspect-ratio: 16 / 9; }
}
@media (max-width: 575.98px) {
  .gallery-tile.is-featured { grid-column: auto; aspect-ratio: 4 / 3; }
}

/* Paged gallery: pages slide sideways; the frame keeps the tallest page's height so the controls stay put */
.pager-viewport { overflow: hidden; }
.pager-track { display: flex; gap: 20px; transition: transform .45s ease; }
.pager-page { flex: 0 0 100%; min-width: 0; align-content: start; }
.gallery-pager.no-anim .pager-track { transition: none; }
.pager-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; }
.pager-controls[hidden] { display: none; }
.pager-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.pager-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: var(--yellow); }
.pager-btn:disabled { opacity: .35; cursor: default; }
.pager-dots { display: flex; }
.pager-dots button {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: none;
  display: grid;
  place-items: center;
}
.pager-dots button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #c4c9cf;
  transition: width .25s, background .25s;
}
.pager-dots button[aria-current="true"]::before { width: 22px; background: var(--ink); }
.pager-btn:focus-visible,
.pager-dots button:focus-visible { outline: 2px solid var(--amber-ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .pager-track { transition: none; }
}

/* Tile that opens a design-vs-photo comparison */
.gallery-tile .compare-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  font-family: var(--heading-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.gallery-tile .compare-badge i { color: var(--yellow); }

/* Before/after slider inside the lightbox */
.compare {
  --pos: 50%;
  position: relative;
  width: min(94vw, 1400px, calc((100vh - 170px) * var(--ar, 1.4)));
  aspect-ratio: var(--ar, 1.4);
  background: #fff;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.glightbox-container .gslide-image .compare img { /* beats GLightbox's own slide-image sizing */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  max-width: none;
  max-height: none !important; /* GLightbox also sets it inline */
  margin: 0;
  object-fit: cover;
  pointer-events: none;
}
/* White behind the transparent renders, so the photo doesn't show through on the design side */
.compare .compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); background: #fff; }
.compare-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(20, 22, 26, 0.25);
  pointer-events: none;
}
.compare-handle .knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: transform .15s;
}
.compare.is-dragging .knob { transform: translate(-50%, -50%) scale(1.08); }
.compare:focus-within .knob { outline: 3px solid #fff; outline-offset: 2px; }
.compare-label {
  position: absolute;
  top: 14px;
  padding: 5px 10px;
  border-radius: 4px;
  background: rgba(20, 22, 26, 0.78);
  color: #fff;
  font-family: var(--heading-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity .2s;
}
.compare-label.is-before { left: 14px; }
.compare-label.is-after { right: 14px; }
.compare.hide-before .compare-label.is-before,
.compare.hide-after .compare-label.is-after { opacity: 0; }
.compare-range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

@media (min-width: 992px) { .gallery-grid.is-2col { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 991.98px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .gallery-grid { grid-template-columns: 1fr; } }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-bar button {
  border: 1px solid #cfd3d8;
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter-bar button:hover { border-color: var(--ink); color: var(--ink); }
.filter-bar button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Quality band ---------- */
.quality-band { background: var(--yellow); color: var(--ink); padding: 72px 0; }
.quality-band h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 700; margin-bottom: 12px; }
.quality-band p { margin: 0; color: #2b2410; }
.seal {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  display: grid;
  place-items: center;
  font-size: 32px;
  margin-bottom: 20px;
}
.quality-band .check-list i { color: var(--ink); }
.quality-band .check-list { font-weight: 500; margin-bottom: 26px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: rgba(255, 255, 255, 0.75); padding: 72px 0; position: relative; overflow: hidden; }
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border: 40px solid rgba(255, 196, 81, 0.08);
  border-radius: 50%;
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 700; margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-band .hero-actions { justify-content: flex-end; }
@media (max-width: 991.98px) { .cta-band .hero-actions { justify-content: flex-start; } }

/* ---------- Detailed project timeline ---------- */
.step-list { list-style: none; padding: 0; margin: 0; counter-reset: bigstep; }
.step-list > li {
  position: relative;
  counter-increment: bigstep;
  padding: 0 0 40px 92px;
}
.step-list > li::before {
  content: counter(bigstep, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  display: grid;
  place-items: center;
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  z-index: 1;
}
.step-list > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 70px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--yellow), rgba(255, 196, 81, 0.15));
}
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
}
.step-card h3 { font-size: 26px; font-weight: 700; margin-bottom: 4px; }
.step-card .step-sub { font-family: var(--heading-font); font-weight: 600; color: var(--amber-ink); margin-bottom: 14px; }
.step-card > p { margin-bottom: 20px; }
.step-card .spec-grid { margin-bottom: 0; }
@media (max-width: 767.98px) {
  .step-list > li { padding-left: 0; padding-top: 0; }
  .step-list > li::before { position: static; margin-bottom: 14px; width: 52px; height: 52px; font-size: 18px; }
  .step-list > li:not(:last-child)::after { display: none; }
  .step-card { padding: 24px 20px; }
}

/* Payment structure */
.pay-bar { display: flex; border-radius: var(--radius); overflow: hidden; margin: 22px 0 12px; }
.pay-bar > div { padding: 16px 18px; font-family: var(--heading-font); font-weight: 600; line-height: 1.3; }
.pay-bar strong { display: block; font-size: 22px; }
.pay-bar .p1 { flex: 40; background: var(--ink); color: #fff; }
.pay-bar .p1 strong { color: var(--yellow); }
.pay-bar .p2 { flex: 35; background: #3a3f47; color: #fff; }
.pay-bar .p3 { flex: 25; background: var(--yellow); color: var(--ink); }
@media (max-width: 575.98px) {
  .pay-bar { flex-direction: column; }
}

/* ---------- Quality page ---------- */
.quote-card {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
}
.quote-card .bi-quote { font-size: 56px; color: var(--yellow); line-height: 1; }
.quote-card blockquote {
  font-family: var(--heading-font);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin: 10px 0 18px;
}
.quote-card .who { font-size: 14px; color: rgba(255, 255, 255, 0.6); }

.iso-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--yellow);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--ink);
  background: #fff8e6;
  margin-bottom: 18px;
}

.objective-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.objective-card .icon-square { margin-bottom: 18px; }
.objective-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.objective-card p { font-size: 15px; margin: 0; }

.principle-list { list-style: none; padding: 0; margin: 0; counter-reset: pr; }
.principle-list li {
  counter-increment: pr;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.principle-list li:last-child { border-bottom: 1px solid var(--line); }
.principle-list li::before {
  content: counter(pr);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--heading-font);
  font-weight: 700;
}
.principle-list strong { display: block; font-family: var(--heading-font); font-size: 17px; color: var(--ink); }
.principle-list span { font-size: 15px; }

.signature {
  margin-top: 28px;
  padding: 22px 24px;
  background: var(--panel);
  border-radius: var(--radius);
  font-size: 15px;
}
.signature strong { color: var(--ink); }
.signature .note { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ---------- Quote / contact ---------- */
.quote-wrap {
  display: grid;
  grid-template-columns: 5fr 7fr;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(15, 20, 30, 0.1);
}
.quote-info { background: var(--steel); color: rgba(255, 255, 255, 0.75); padding: 48px 44px; }
.quote-info h2 { color: #fff; font-size: clamp(1.8rem, 2.6vw, 2.3rem); font-weight: 700; margin-bottom: 14px; }
.contact-list { list-style: none; padding: 0; margin: 32px 0; }
.contact-list li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.contact-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.contact-list i { color: var(--yellow); font-size: 20px; line-height: 1.3; }
.contact-list .label { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.5); }
.site-v2 .contact-list a { color: #fff; }
.site-v2 .contact-list a:hover { color: var(--yellow); }
.contact-list .small-link { font-size: 14px; }
.site-v2 .contact-list .small-link { color: var(--yellow); }
.drawing-note { display: flex; gap: 12px; font-size: 14.5px; }
.drawing-note i { color: var(--yellow); font-size: 20px; }
.site-v2 .drawing-note a { color: #fff; font-weight: 600; }

.quote-form { background: #fff; padding: 48px 44px; }
/* Spam trap: off screen for people, still filled in by bots */
.quote-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-form label { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 6px; }
.quote-form .form-control, .quote-form .form-select {
  border: 1px solid #d3d7dc;
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--ink);
}
.quote-form .form-control:focus, .quote-form .form-select:focus {
  border-color: var(--amber-ink);
  box-shadow: 0 0 0 3px rgba(255, 196, 81, 0.35);
}
.quote-form textarea { min-height: 150px; }
.quote-form .btn-v2 { border: 0; }
.quote-form .form-hint { font-size: 13.5px; color: var(--muted); }

@media (max-width: 991.98px) {
  .quote-wrap { grid-template-columns: 1fr; }
  .quote-info, .quote-form { padding: 36px 24px; }
}

/* Map loaded only on request (no Google cookies before consent) */
.map-consent {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  background:
    linear-gradient(rgba(20, 22, 26, 0.86), rgba(20, 22, 26, 0.86)),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(255, 255, 255, 0.06) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255, 255, 255, 0.06) 39px 40px),
    var(--steel);
  display: grid;
  place-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  padding: 32px 20px;
}
.map-consent .bi-geo-alt-fill { font-size: 44px; color: var(--yellow); }
.map-consent h3 { color: #fff; font-size: 22px; margin: 10px 0 6px; }
.map-consent p { font-size: 14px; max-width: 460px; margin: 0 auto 20px; }
.map-consent .btn-v2 { border: 0; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Product catalogue (metal filters) ---------- */
/* Sticky bar with group chips and search */
.catalog-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(15, 20, 30, 0.04);
}
.catalog-tools { display: flex; align-items: center; gap: 10px 20px; padding: 12px 0; }
.catalog-chips {
  display: flex;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.catalog-chips::-webkit-scrollbar { display: none; }
.site-v2 .catalog-chips a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 7px 12px;
  border: 1px solid #cfd3d8;
  border-radius: 999px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text);
  transition: background-color .2s, color .2s, border-color .2s;
}
.catalog-chips a span { font-size: 12px; color: var(--muted); }
.site-v2 .catalog-chips a:hover { border-color: var(--ink); color: var(--ink); }
.site-v2 .catalog-chips a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.catalog-chips a.is-active span { color: var(--yellow); }
.catalog-search { position: relative; flex: 0 0 320px; }
.catalog-search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.catalog-search input {
  width: 100%;
  padding: 8px 96px 8px 36px;
  border: 1px solid #cfd3d8;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
}
.catalog-search input:focus { outline: none; border-color: var(--amber-ink); box-shadow: 0 0 0 3px rgba(255, 196, 81, 0.35); }
.catalog-count {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
  pointer-events: none;
}
@media (max-width: 991.98px) {
  .catalog-tools { flex-direction: column; align-items: stretch; }
  .catalog-search { flex: none; }
}

/* One section per product group */
.catalog-group { padding: 64px 0; background: #fff; }
.catalog-group.is-panel { background: var(--panel); }
.catalog-group[hidden], .catalog-card[hidden] { display: none; }
.catalog-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px 20px;
  align-items: end;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ink);
}
.catalog-num { font-family: var(--heading-font); font-weight: 700; font-size: 44px; line-height: 1; color: var(--amber-ink); }
.catalog-head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 700; margin: 0 0 4px; }
.catalog-head p { margin: 0; max-width: 680px; font-size: 15.5px; }
.catalog-total {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
@media (max-width: 575.98px) {
  .catalog-group { padding: 48px 0; }
  .catalog-head { grid-template-columns: auto 1fr; }
  .catalog-num { font-size: 34px; }
  .catalog-total { grid-column: 2; }
}

/* Product cards */
.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1199.98px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991.98px) { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .catalog-grid { grid-template-columns: 1fr; } }
.catalog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.catalog-card:hover { border-color: #cfd3d8; box-shadow: 0 12px 30px rgba(15, 20, 30, 0.08); }
.catalog-media { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.catalog-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .4s; }
.catalog-media:hover img { transform: scale(1.04); }
.catalog-media:focus-visible { outline-offset: -3px; }
.catalog-code {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 4px 8px;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.06em;
}
.catalog-photos {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.catalog-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.catalog-body h3 { font-size: 18px; font-weight: 700; line-height: 1.25; margin-bottom: 6px; }
.catalog-body > p { font-size: 14px; line-height: 1.55; margin-bottom: 12px; }
.catalog-specs { margin: 0 0 12px; font-size: 13.5px; line-height: 1.45; }
.catalog-specs > div { display: grid; grid-template-columns: 100px 1fr; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.catalog-specs > div:last-child { border-bottom: 1px solid var(--line); }
.catalog-specs dt {
  font-family: var(--heading-font);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 1px;
}
.catalog-specs dd { margin: 0; }
.site-v2 .catalog-body .catalog-apps { font-size: 13px; line-height: 1.5; color: var(--muted); margin-bottom: 14px; }
.catalog-apps strong { color: var(--ink); font-weight: 600; }
.catalog-quote {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 15px;
}
.catalog-quote i { transition: transform .2s; }
.catalog-quote:hover i { transform: translateX(3px); }
.catalog-empty { padding: 56px 0; margin: 0; text-align: center; font-size: 1.05rem; }

/* Four-step variant of the process list */
.process.is-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1199.98px) {
  .process.is-4 { grid-template-columns: repeat(2, 1fr); }
  .process.is-4 li:nth-child(2)::after { display: none; }
  .process.is-4 li:nth-child(3)::after { display: block; }
}
@media (max-width: 767.98px) {
  .process.is-4 { grid-template-columns: 1fr; }
  .process.is-4 li:nth-child(2)::after { display: block; }
}

/* ---------- Footer ---------- */
.v2-footer { background: #0f1114; color: rgba(255, 255, 255, 0.62); font-size: 15px; }
.v2-footer .top { padding-top: 72px; padding-bottom: 48px; }
.v2-footer img.brand { height: 36px; width: auto; margin-bottom: 18px; }
.v2-footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.v2-footer ul { list-style: none; padding: 0; margin: 0; }
.v2-footer li { padding: 4px 0; }
.v2-footer .legal { margin: 14px 0 0; font-size: 13.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.5); }
.site-v2 .v2-footer a { color: rgba(255, 255, 255, 0.78); }
.site-v2 .v2-footer a:hover { color: var(--yellow); }
.v2-footer .bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  font-size: 13.5px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

/* ---------- Scroll reveal (subtle, below the fold only, off for reduced motion) ---------- */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }

/* Accessible focus */
.site-v2 a:focus-visible, .site-v2 button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
