/* ============================================================
   F&G Fixing Europe S.à r.l. — presentation website
   Type: Barlow Condensed (display) + Barlow (text), self-hosted
   Palette derived from the company logo (navy / blue / silver)
   ============================================================ */

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/barlow-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/barlow-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/barlow-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/barlowcondensed-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/barlowcondensed-700.woff2") format("woff2");
}

:root {
  --navy-950: #0C1730;
  --navy-900: #101F3C;
  --navy-800: #16305F;
  --navy-700: #1B3F7E;
  --blue-600: #1E5AA8;
  --blue-500: #2E75D4;
  --steel-300: #C6CDD8;
  --line: #DFE5EE;
  --bg-tint: #F4F6FA;
  --text: #2A3852;
  --muted: #64748F;
  --white: #FFFFFF;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 2px rgba(16, 31, 60, .05), 0 3px 10px rgba(16, 31, 60, .05);
  --shadow-md: 0 2px 4px rgba(16, 31, 60, .06), 0 12px 28px rgba(16, 31, 60, .10);
  --header-h: 74px;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1160px, 92%); margin-inline: auto; }

section { scroll-margin-top: calc(var(--header-h) + 10px); }

h1, h2 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.06;
  letter-spacing: .005em;
  font-weight: 700;
}

h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }

h3 { color: var(--navy-900); line-height: 1.25; font-weight: 600; }

a { color: var(--blue-600); }

:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  padding: .95em 1.9em;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  cursor: pointer;
}
.btn-lg { padding: 1.1em 2.2em; }
.btn-solid { background: var(--navy-800); color: #fff; }
.btn-solid:hover { background: var(--blue-600); }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { background: #DCE5F2; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-nav { padding: .8em 1.5em; }

/* ---------- Eyebrow / section head ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--blue-600);
  margin-bottom: 1rem;
}
.eyebrow.light { color: #8FB4E8; }

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-tinted { background: var(--bg-tint); }
.section-head { max-width: 660px; margin-bottom: clamp(34px, 5vw, 56px); }
.section-lede { color: var(--muted); margin-top: 1.1rem; font-size: 1.06rem; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-950);
  color: #93A5C4;
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 8px 0; flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }

.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand-mark { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: .06em;
  font-size: 1.22rem;
  white-space: nowrap;
}
.brand-sub { font-size: .66rem; font-weight: 500; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 1.7rem; }
.site-nav a:not(.btn) {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.site-nav a:not(.btn):hover { color: var(--blue-600); }
.site-nav a:not(.btn).active { color: var(--navy-800); border-bottom-color: var(--navy-800); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy-800); transition: transform .2s ease, opacity .2s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/img/jm2-campus.jpg") center 30% / cover no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(12, 23, 48, .95) 8%, rgba(17, 37, 74, .84) 46%, rgba(17, 37, 74, .40) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: clamp(88px, 12vw, 150px) 0 clamp(56px, 8vw, 88px); max-width: 820px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  text-transform: uppercase;
  letter-spacing: .015em;
  margin-bottom: 1.2rem;
  text-wrap: balance;
}
.hero-lede { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: #CBD8EC; max-width: 600px; }
.hero-lede strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2.2rem; }

.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: .55rem;
  margin-top: clamp(2.6rem, 5vw, 4rem);
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero-badges li {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9FB6DB;
  padding-right: 1.1em;
  margin-right: 1.1em;
  border-right: 1px solid rgba(255, 255, 255, .22);
}
.hero-badges li:last-child { border-right: 0; padding-right: 0; margin-right: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-copy p + p { margin-top: 1rem; }
.about-copy h2 { margin-bottom: 1.3rem; }

.values-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.1rem;
}
.value-card {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
}
.value-card svg {
  width: 26px; height: 26px;
  fill: none; stroke: var(--blue-600); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: .6rem;
}
.value-card h3 { font-size: 1rem; margin-bottom: .25rem; }
.value-card p { font-size: .89rem; color: var(--muted); line-height: 1.5; }

/* On hover-capable devices (excluding small screens): show only icon + title, reveal the text on hover */
@media (hover: hover) and (min-width: 641px) {
  .value-card {
    position: relative;
    overflow: hidden;
    min-height: 156px;
    transition: background .2s ease, border-color .2s ease;
  }
  .value-card svg, .value-card h3 { transition: opacity .2s ease; }
  .value-card:hover { background: var(--navy-900); border-color: var(--navy-900); }
  .value-card:hover svg, .value-card:hover h3 { opacity: 0; }
  .value-card p {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 1.15rem 1.25rem;
    color: #E4ECF8;
    font-size: .85rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity .22s ease;
    pointer-events: none;
    overflow: auto;
  }
  .value-card:hover p { opacity: 1; }
}

.about-side { display: flex; flex-direction: column; gap: 1.2rem; }
.logo-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem;
}
.logo-card img { width: 100%; height: auto; }
.detail-card {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.7rem 1.8rem;
}
.detail-card h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 1.2rem; }
.detail-card dl { display: flex; flex-direction: column; gap: 1rem; }
.detail-card dt { font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: #7E93BC; margin-bottom: .1rem; }
.detail-card dd { font-size: .98rem; color: #E7EDF7; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card svg {
  width: 32px; height: 32px;
  fill: none; stroke: var(--navy-700); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  margin-bottom: 1.05rem;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.service-card p { font-size: .93rem; color: var(--muted); }

/* On hover-capable devices (excluding small screens): equal compact cards (icon + title), text revealed on hover */
@media (hover: hover) and (min-width: 641px) {
  .service-card {
    position: relative;
    overflow: hidden;
    min-height: 190px;
    transition: background .2s ease, border-color .2s ease, transform .18s ease, box-shadow .18s ease;
  }
  .service-card svg, .service-card h3 { transition: opacity .2s ease; }
  .service-card:hover { background: var(--navy-900); border-color: var(--navy-900); }
  .service-card:hover svg, .service-card:hover h3 { opacity: 0; }
  .service-card p {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 1.5rem 1.55rem;
    color: #E4ECF8;
    font-size: .9rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity .22s ease;
    pointer-events: none;
    overflow: auto;
  }
  .service-card:hover p { opacity: 1; }
}

/* ---------- Projects ---------- */
.project {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
  padding: clamp(1.8rem, 4vw, 2.6rem) 0;
}
.project + .project { border-top: 1px solid var(--line); }
.project.alt .project-media { order: 2; }
.project.alt .project-copy { order: 1; }

.gallery-item {
  border: 0;
  padding: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  width: 100%;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item.main { aspect-ratio: 16 / 10; box-shadow: var(--shadow-md); }

.thumb-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: .8rem; }
.thumb-row .gallery-item { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }

.project-tags { display: flex; flex-wrap: wrap; margin-bottom: .8rem; }
.project-tags span {
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--blue-600);
}
.project-tags span + span::before { content: "·"; margin: 0 .8em; color: var(--steel-300); }

.project-copy h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  margin-bottom: .8rem;
}
.project-copy > p { color: var(--text); }
.project-lead { color: var(--text); }

.project-scope {
  margin-top: 1.15rem;
  padding: .95rem 1.15rem;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue-600);
  border-radius: var(--radius-sm);
}
.project-scope-label {
  font-size: .66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--blue-600);
  margin-bottom: .35rem;
}
.project-scope-text { font-size: .9rem; color: var(--text); line-height: 1.55; margin: 0; }

.project-facts {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.project-facts li {
  flex: 1 1 0;
  min-width: 105px;
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .85rem .95rem;
}
.project-facts strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-800);
  font-size: 1.45rem;
  line-height: 1.15;
}
.project-facts span { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Work in progress gallery ---------- */
.live-dot {
  display: inline-block;
  width: .6em;
  height: .6em;
  border-radius: 50%;
  background: #E0454B;
  margin-right: .5em;
  vertical-align: middle;
  position: relative;
  top: -0.06em;
}
@media (prefers-reduced-motion: no-preference) {
  .live-dot { animation: livepulse 1.8s ease-out infinite; }
  @keyframes livepulse {
    0%   { box-shadow: 0 0 0 0 rgba(224, 69, 75, .55); }
    70%  { box-shadow: 0 0 0 .5em rgba(224, 69, 75, 0); }
    100% { box-shadow: 0 0 0 0 rgba(224, 69, 75, 0); }
  }
}

.carousel { position: relative; outline: none; }
.carousel-stage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #eef1f6;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  height: clamp(360px, 60vh, 600px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 42%, #ffffff 0%, #e9edf3 100%);
}
.slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.slide figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: .1em .25em;
  border: 0;
  background: none;
  color: var(--navy-800);
  font-size: 2.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 1px 4px rgba(255, 255, 255, .85);
  transition: color .15s ease;
  z-index: 3;
}
.carousel-arrow:hover { color: var(--blue-600); }
.carousel-arrow.prev { left: .5rem; }
.carousel-arrow.next { right: .5rem; }

.carousel-counter {
  position: absolute;
  top: .9rem;
  right: .9rem;
  z-index: 3;
  background: rgba(9, 15, 30, .5);
  color: #fff;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .06em;
  padding: .32em .75em;
  border-radius: 999px;
}

.carousel-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  padding-top: 1.2rem;
}
.carousel-caption {
  color: var(--muted);
  font-size: .96rem;
  text-align: center;
  max-width: 640px;
}
.carousel-dots { display: flex; gap: .5rem; }
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(22, 48, 95, .25);
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.carousel-dot.active { background: var(--navy-800); transform: scale(1.35); }

/* ---------- Stats band (animated counters) ---------- */
.stats-band {
  background: linear-gradient(120deg, var(--navy-950) 0%, var(--navy-800) 62%, var(--blue-600) 128%);
  color: #fff;
  padding: clamp(48px, 6vw, 72px) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.stat { position: relative; text-align: center; padding: .3rem .6rem; }
.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -.7rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 54px;
  background: rgba(255, 255, 255, .16);
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.7rem, 5vw, 3.7rem);
  line-height: 1;
  color: #fff;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  margin-top: .55rem;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: #A9C4EC;
}

/* ---------- Safety (dark band) ---------- */
.section-dark { background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%); }
.section-dark h2 { color: #fff; }
.section-dark .section-lede { color: #AEBEDB; }

.safety-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.safety-grid li {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.safety-grid h3 { color: #fff; font-size: 1rem; margin-bottom: .5rem; }
.safety-grid p { color: #A3B4D2; font-size: .9rem; line-height: 1.55; }

/* Certifications strip (inside the dark Quality & Safety band) */
.cert-strip {
  display: flex;
  align-items: center;
  gap: 1.4rem 1.8rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.cert-strip-label {
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #8FB4E8;
}
.cert-seals { display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap; }
.cert-seals img {
  width: 116px;
  height: auto;
  transition: transform .18s ease;
}
.cert-seals img:hover { transform: translateY(-3px) scale(1.03); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-copy h2 { margin-bottom: 1.1rem; }
.contact-copy > p { color: var(--muted); max-width: 520px; }

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.9rem; }
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem 1.55rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { font-size: .74rem; text-transform: uppercase; letter-spacing: .18em; color: var(--blue-600); margin-bottom: .65rem; }
.contact-card p { font-size: .97rem; }
.contact-card-wide { grid-column: 1 / -1; }
.contact-lines { display: flex; flex-wrap: wrap; gap: 1rem 3rem; }
.contact-lines a {
  display: flex;
  flex-direction: column;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy-800);
  text-decoration: none;
}
.contact-lines a:hover { color: var(--blue-600); }
.contact-lines a span {
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: .2rem;
}
.text-link { font-size: .88rem; font-weight: 600; text-decoration: none; display: inline-block; margin-top: .65rem; }
.text-link:hover { text-decoration: underline; }

.why-card {
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
}
.why-card h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 1.2rem; }
.why-card ul { list-style: none; display: flex; flex-direction: column; gap: .9rem; }
.why-card li {
  padding-left: 1.6rem;
  position: relative;
  font-size: .95rem;
  color: #D5DFEF;
  line-height: 1.5;
}
.why-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: .55em;
  height: .55em;
  background: var(--blue-500);
}
.why-tagline {
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .15);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 1.02rem;
  color: #8FB4E8;
}

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 1.05rem; margin-top: 1.8rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
.contact-form label { display: flex; flex-direction: column; gap: .4rem; }
.contact-form .field-label {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
}
.contact-form .req { color: var(--blue-600); }
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--text);
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .72rem .85rem;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(46, 117, 212, .15);
}
.contact-form textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.contact-form button { align-self: flex-start; border: 0; margin-top: .2rem; cursor: pointer; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-note { font-size: .88rem; min-height: 1.1em; margin: 0; }
.form-note.sending { color: var(--muted); }
.form-note.error { color: #C0392B; }
.form-note.ok { color: var(--blue-600); }

/* Contact aside (details + why) */
.contact-aside { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-detail-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.7rem 1.8rem;
}
.contact-detail-card h3 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--blue-600);
  margin-bottom: 1.1rem;
}
.contact-detail-card .contact-lines { flex-direction: column; gap: .9rem; margin-bottom: 1.3rem; }
.contact-detail-card .contact-lines a { font-size: 1.02rem; word-break: break-word; }
.detail-list { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 1.1rem; }
.detail-list dt { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: .15rem; }
.detail-list dd { font-size: .95rem; color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #AEBEDB; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr 1fr;
  gap: 2.5rem;
  padding: clamp(44px, 6vw, 64px) 0 34px;
}
.footer-mark { height: 46px; width: auto; background: #fff; border-radius: var(--radius-sm); padding: 5px 9px; margin-bottom: 1rem; }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: #fff; letter-spacing: .06em; }
.footer-tag { font-size: .85rem; color: #7E93BC; margin-top: .35rem; }
.site-footer h3 { color: #fff; font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; margin-bottom: 1rem; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; }
.footer-nav a { color: #AEBEDB; text-decoration: none; font-size: .95rem; }
.footer-nav a:hover { color: #fff; }
.footer-info p { font-size: .95rem; }
.footer-info p + p { margin-top: .6rem; }
.footer-info a { color: #AEBEDB; text-decoration: none; }
.footer-info a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 1.1rem 0; font-size: .84rem; color: #7E93BC; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(9, 15, 30, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 4.5rem;
}
.lightbox.open { display: flex; }
.lightbox figure { max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: .8rem; }
.lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 10rem);
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .55);
  margin-inline: auto;
}
.lightbox figcaption { color: #C9D5E8; font-size: .9rem; text-align: center; }
#lb-count { color: #7E90B0; margin-left: .5rem; }

.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius-sm);
  color: #fff;
  width: 46px;
  height: 46px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ---------- Mobile quick-contact bar ---------- */
.mobile-cta { display: none; }

/* ---------- Reveal animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.visible { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .safety-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  /* Stats: 2-up on tablets/phones */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; }
  .stat:nth-child(2)::after { display: none; }

  /* Sticky call / e-mail bar */
  body { padding-bottom: 60px; }
  .mobile-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -2px 14px rgba(16, 31, 60, .14);
  }
  .mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: 1rem .8rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    text-decoration: none;
  }
  .mobile-cta-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .mobile-cta-btn.call { background: var(--navy-800); color: #fff; }
  .mobile-cta-btn.call svg { fill: #fff; stroke: none; }
  .mobile-cta-btn.email { background: #fff; color: var(--navy-800); }
  .mobile-cta-btn.email svg { stroke: var(--navy-800); }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .6rem 4%;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav a:not(.btn) { padding: .85rem .2rem; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin: .9rem 0 .6rem; text-align: center; }

  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .project, .project.alt { grid-template-columns: 1fr; gap: 1.4rem; }
  .project.alt .project-media { order: 0; }
  .project.alt .project-copy { order: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }

  /* Compact header & top bar */
  .brand-sub { display: none; }
  .brand-mark { height: 38px; }
  .brand-name { font-size: 1.08rem; }
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-inner span:last-child { display: none; }

  /* Tighter vertical rhythm */
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 26px; }

  /* Shorter hero */
  .hero-inner { padding: 64px 0 48px; }
  .hero h1 { font-size: 2.35rem; }
  .hero-actions { margin-top: 1.6rem; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-badges { display: none; }

  /* About: skip the decorative logo card; values as a single-column list (icon left, text right) */
  .logo-card { display: none; }
  .values-grid { grid-template-columns: 1fr; gap: .6rem; margin-top: 1.5rem; }
  .value-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: .95rem;
    row-gap: .12rem;
    align-items: start;
    padding: 1rem 1.15rem;
  }
  .value-card svg { grid-row: 1 / span 2; width: 24px; height: 24px; margin: .1rem 0 0; }
  .value-card h3 { grid-column: 2; font-size: 1rem; margin-bottom: .1rem; }
  .value-card p { grid-column: 2; font-size: .85rem; }

  /* Services: single-column list (icon left, title + text right) */
  .services-grid { grid-template-columns: 1fr; gap: .6rem; }
  .service-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: .95rem;
    row-gap: .12rem;
    align-items: start;
    padding: 1.05rem 1.15rem;
  }
  .service-card svg { grid-row: 1 / span 2; width: 26px; height: 26px; margin: .1rem 0 0; }
  .service-card h3 { grid-column: 2; font-size: 1rem; margin-bottom: .12rem; }
  .service-card p { grid-column: 2; font-size: .85rem; }

  /* Projects: main photo only (full gallery stays in the lightbox) */
  .project { padding: 1.5rem 0; gap: 1.1rem; }
  .thumb-row { display: none; }
  .project-facts { gap: .6rem; margin-top: 1.1rem; }
  .project-facts li { padding: .65rem .75rem; min-width: 90px; }
  .project-facts strong { font-size: 1.2rem; }

  /* Work carousel: shorter stage, smaller arrows on phones */
  .slide { height: clamp(300px, 62vh, 460px); }
  .carousel-arrow { font-size: 1.9rem; }
  .carousel-arrow.prev { left: .3rem; }
  .carousel-arrow.next { right: .3rem; }
  .carousel-caption { font-size: .9rem; }

  /* Safety: 2-up, titles carry the message */
  .safety-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .safety-grid li { padding: 1.05rem 1rem; }
  .safety-grid h3 { font-size: .95rem; margin-bottom: 0; }
  .safety-grid p { display: none; }
  .cert-strip { margin-top: 1.8rem; padding-top: 1.6rem; gap: .8rem 1.2rem; }
  .cert-seals { gap: 1.2rem; }
  .cert-seals img { width: 96px; }

  /* Contact & footer */
  .contact-cards { grid-template-columns: 1fr; }
  .contact-card.placeholder { grid-column: auto; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form button { align-self: stretch; text-align: center; }
  .why-card { padding: 1.5rem 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  .lightbox { padding: 3.5rem .8rem; }
  .lb-prev { left: .4rem; }
  .lb-next { right: .4rem; }
}
