@import url('https://fonts.bunny.net/css?family=barlow-condensed:600,700,800|manrope:400,500,600,700,800');

body.home-v5 {
  --v5-navy: #08243d;
  --v5-navy-2: #0b3452;
  --v5-navy-deep: #041827;
  --v5-cyan: #18c9dc;
  --v5-cyan-bright: #32e0ee;
  --v5-cyan-pale: #e8fbfd;
  --v5-ink: #0b2236;
  --v5-muted: #637487;
  --v5-line: #dbe7ec;
  --v5-paper: #f4f8fa;
  --v5-white: #fff;
  --v5-shadow: 0 18px 46px rgba(5, 32, 49, .14);
  --v5-shadow-soft: 0 12px 34px rgba(5, 32, 49, .09);
  color: var(--v5-ink);
  background: #fff;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.62;
}

body.home-v5,
body.home-v5 main { max-width: 100%; overflow-x: clip; }
body.home-v5 h1,
body.home-v5 h2,
body.home-v5 h3,
body.home-v5 h4,
body.home-v5 h5,
body.home-v5 h6 {
  margin: 0;
  color: var(--v5-navy);
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.12;
}
body.home-v5 p { margin: 0; color: var(--v5-muted); }
.home-v5 .container,
.home-v5 .v5-container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

/* Header */
.home-v5 .site-header {
  height: 102px;
  border-bottom: 1px solid rgba(8, 36, 61, .08);
  background: rgba(255,255,255,.985);
  box-shadow: 0 8px 26px rgba(5, 32, 49, .035);
  backdrop-filter: blur(16px) saturate(145%);
}
.home-v5 .header-shell {
  width: min(1060px, calc(100% - 44px));
  max-width: none;
  gap: 36px;
}
.home-v5 .site-logo img {
  width: clamp(238px, 22vw, 320px);
  max-height: 80px;
}
.home-v5 .primary-nav { gap: 0; }
.home-v5 .primary-nav ul { gap: 8px; }
.home-v5 .primary-nav ul a {
  min-height: 46px;
  padding: 8px 10px;
  color: var(--v5-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.home-v5 .primary-nav ul a::after {
  right: 10px;
  bottom: 4px;
  left: 10px;
  height: 2px;
  background: var(--v5-cyan);
}
.home-v5 .primary-nav ul a:hover,
.home-v5 .primary-nav ul a[aria-current="page"] { color: var(--v5-cyan); }
.home-v5 .header-call { display: none; }
.home-v5 .scroll-progress { height: 3px; background: linear-gradient(90deg, var(--v5-cyan), var(--v5-cyan-bright)); }

/* Hero inspired by the supplied homepage visual */
.v5-hero {
  position: relative;
  min-height: 540px;
  overflow: visible;
  isolation: isolate;
  background: var(--v5-navy-deep);
}
.v5-hero-media {
  position: absolute;
  z-index: -4;
  inset: 0;
  overflow: hidden;
  background: var(--v5-navy-deep);
}
.v5-hero-photo {
  position: absolute;
  inset-block: 0;
  margin: 0;
  overflow: hidden;
}
.v5-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.9) contrast(1.05);
  transition: scale 1.1s cubic-bezier(.2,.7,.2,1), translate .25s ease;
}
.v5-hero:hover .v5-hero-photo img { scale: 1.025; }
.v5-hero-photo-workshop { left: 0; width: 58%; }
.v5-hero-photo-workshop img { object-position: 50% 52%; }
.v5-hero-photo-build { right: 0; width: 54%; }
.v5-hero-photo-build img { object-position: 58% 50%; }
.v5-hero-photo-workshop::after,
.v5-hero-photo-build::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.v5-hero-photo-workshop::after { background: linear-gradient(90deg, rgba(3,18,30,.02), rgba(3,18,30,.16) 55%, rgba(3,18,30,.72) 100%); }
.v5-hero-photo-build::after { background: linear-gradient(90deg, rgba(3,18,30,.74) 0%, rgba(3,18,30,.18) 50%, rgba(3,18,30,.04) 100%); }
.v5-hero-center-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(3,24,40,.96) 0%, rgba(3,24,40,.83) 28%, rgba(3,24,40,.42) 56%, transparent 78%),
    linear-gradient(180deg, rgba(3,19,32,.06) 0%, rgba(3,19,32,.18) 62%, rgba(3,19,32,.54) 100%);
}
.v5-hero-edge-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2,15,25,.16), transparent 18%, transparent 82%, rgba(2,15,25,.1));
  box-shadow: inset 0 -80px 100px rgba(3,18,30,.18);
}
.v5-hero-content {
  position: relative;
  z-index: 3;
  width: min(1060px, calc(100% - 48px));
  min-height: 500px;
  margin-inline: auto;
  padding: 30px 0 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.v5-hero-kicker {
  margin-bottom: 4px !important;
  color: var(--v5-cyan-bright) !important;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-shadow: 0 3px 16px rgba(0,0,0,.45);
}
body.home-v5 .v5-hero-content h1 {
  max-width: 1060px;
  color: #fff;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(44px, 4.2vw, 60px);
  font-weight: 800;
  letter-spacing: .008em;
  line-height: .98;
  text-transform: uppercase;
  text-shadow: 0 6px 25px rgba(0,0,0,.55);
}
.v5-disciplines {
  width: min(900px, 92vw);
  margin: 16px auto 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}
.v5-discipline {
  position: relative;
  min-width: 0;
  padding: 0 14px;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #fff;
}
.v5-discipline + .v5-discipline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 4px;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--v5-cyan) 20%, var(--v5-cyan) 80%, transparent);
  box-shadow: 0 0 14px rgba(24,201,220,.5);
}
.v5-discipline-icon { width: 46px; height: 46px; color: var(--v5-cyan-bright); filter: drop-shadow(0 3px 8px rgba(0,0,0,.35)); }
.v5-discipline-icon svg { width: 100%; height: 100%; }
.v5-discipline > span:last-child {
  color: #fff;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(27px, 2.6vw, 38px);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 4px 16px rgba(0,0,0,.55);
}
.v5-hero-lead {
  max-width: 650px;
  color: rgba(255,255,255,.88) !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.v5-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.v5-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease;
}
.v5-btn::after { content: "→"; font-size: 14px; transition: transform .2s ease; }
.v5-btn:hover { transform: translateY(-3px); }
.v5-btn:hover::after { transform: translateX(4px); }
.v5-btn-primary {
  color: var(--v5-navy-deep);
  background: linear-gradient(135deg, var(--v5-cyan-bright), var(--v5-cyan));
  box-shadow: 0 12px 30px rgba(24,201,220,.3);
}
.v5-btn-primary:hover { background: #46e6f1; box-shadow: 0 17px 38px rgba(24,201,220,.4); }
.v5-btn-ghost { color: #fff; border-color: rgba(255,255,255,.48); background: rgba(4,28,46,.25); backdrop-filter: blur(7px); }
.v5-btn-ghost:hover { color: var(--v5-navy); border-color: #fff; background: #fff; }
.v5-btn-outline { color: var(--v5-navy); border-color: #b9ccd4; background: #fff; }
.v5-btn-outline:hover { color: #fff; border-color: var(--v5-navy); background: var(--v5-navy); }

.v5-brake-device {
  position: absolute;
  z-index: 2;
  left: max(18px, calc((100% - 1280px) / 2));
  bottom: 0;
  width: 148px;
  height: 226px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.35);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: rgba(4,27,44,.86);
  box-shadow: 0 18px 48px rgba(0,0,0,.32);
}
.v5-brake-device img { width: 100%; height: 154px; object-fit: cover; object-position: center 28%; filter: saturate(1.04) contrast(1.04); }
.v5-brake-device figcaption {
  min-height: 73px;
  padding: 9px 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(4,28,46,.96);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.35;
  text-align: center;
  text-transform: uppercase;
}

.v5-branch-shell {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: -62px;
  left: 0;
  pointer-events: none;
}
.v5-branch-grid {
  width: min(820px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  pointer-events: auto;
}
.v5-branch-card {
  min-width: 0;
  min-height: 124px;
  padding: 16px 16px 15px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  overflow: hidden;
  border: 1px solid rgba(8,36,61,.1);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--v5-shadow);
  transition: transform .28s ease, box-shadow .28s ease;
}
.v5-branch-card:hover { transform: translateY(-6px); box-shadow: 0 25px 60px rgba(5,32,49,.2); }
.v5-branch-icon { display: grid; place-items: center; width: 62px; height: 62px; color: var(--v5-navy); }
.v5-icon { display: none; width: 58px; height: 58px; }
.v5-branch-card[data-branch="mechanic"] .v5-icon-mechanic,
.v5-branch-card[data-branch="electronics"] .v5-icon-electronics,
.v5-branch-card[data-branch="build"] .v5-icon-build { display: block; }
.v5-branch-card[data-branch="electronics"] .v5-branch-icon { color: var(--v5-cyan); }
.v5-branch-card[data-branch="build"] .v5-branch-icon { color: #0b7793; }
.v5-branch-copy { min-width: 0; }
.v5-branch-number { display: none; }
body.home-v5 .v5-branch-copy h2 {
  margin: 0 0 4px;
  color: var(--v5-navy);
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -.015em;
  text-transform: uppercase;
}
.v5-branch-copy p { color: #42566a !important; font-size: 9.5px; line-height: 1.42; }
.v5-branch-copy a { display: inline-flex; gap: 6px; margin-top: 7px; color: var(--v5-cyan); font-size: 8.5px; font-weight: 800; text-transform: uppercase; }
.v5-branch-copy a::after { content: "→"; }
.v5-branch-hidden-image { display: none; }

/* Shared homepage sections */
.v5-section { position: relative; padding: 78px 0; }
.v5-eyebrow {
  margin: 0 0 9px !important;
  color: var(--v5-cyan) !important;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.v5-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 34px;
}
body.home-v5 .v5-section-heading h2,
body.home-v5 .v5-section-copy h2,
body.home-v5 .v5-contact-copy h2 {
  max-width: 700px;
  font-size: clamp(29px, 3vw, 40px);
  line-height: 1.08;
}
.v5-section-heading > p,
.v5-section-copy > p { font-size: 13px; line-height: 1.65; }
.v5-text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  color: var(--v5-cyan);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.v5-text-link::after { content: "→"; transition: transform .2s ease; }
.v5-text-link:hover::after { transform: translateX(4px); }

/* Projects directly below the hero */
.v5-projects-first { padding-top: 114px; padding-bottom: 72px; background: #fff; }
.v5-lined-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 8px;
  text-align: center;
}
.v5-lined-heading > span { height: 1px; background: linear-gradient(90deg, transparent, #9fc8d3); }
.v5-lined-heading > span:last-child { background: linear-gradient(90deg, #9fc8d3, transparent); }
body.home-v5 .v5-lined-heading h2 { font-size: 29px; letter-spacing: -.025em; text-transform: uppercase; }
.v5-lined-heading .v5-eyebrow { margin-bottom: 3px !important; }
.v5-projects-lead { max-width: 650px; margin: 0 auto 28px !important; font-size: 12px; text-align: center; }
.v5-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.v5-project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--v5-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: var(--v5-shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
}
.v5-project-card:hover { transform: translateY(-6px); box-shadow: var(--v5-shadow); }
.v5-project-media { position: relative; display: block; height: 190px; overflow: hidden; background: #dce8ed; }
.v5-project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.v5-project-card:hover .v5-project-media img { transform: scale(1.045); }
.v5-project-branch {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 8px;
  color: #fff;
  background: rgba(5,34,54,.88);
  border-left: 2px solid var(--v5-cyan);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.v5-project-content { padding: 17px 17px 18px; }
body.home-v5 .v5-project-content h3 { font-size: 16px; line-height: 1.25; }
.v5-project-content p { margin-top: 6px !important; font-size: 10.5px; line-height: 1.52; }
.v5-project-content .v5-text-link { margin-top: 12px; font-size: 8.5px; }

/* About */
.v5-about { background: var(--v5-paper); }
.v5-about-grid { display: grid; grid-template-columns: .8fr 1.5fr; gap: 60px; align-items: center; }
.v5-section-copy { padding-right: 48px; border-right: 1px solid #cbdbe2; }
.v5-section-copy > p { margin-top: 14px !important; }
.v5-trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.v5-trust-card {
  min-height: 126px;
  padding: 19px;
  border: 1px solid var(--v5-line);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(5,32,49,.045);
}
.v5-trust-card > span { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; color: var(--v5-cyan); border: 1px solid rgba(24,201,220,.35); background: var(--v5-cyan-pale); font-size: 8px; font-weight: 800; }
body.home-v5 .v5-trust-card h3 { font-size: 14px; }
.v5-trust-card p { margin-top: 5px !important; font-size: 9.5px; line-height: 1.5; }

/* Services */
.v5-services { background: #fff; }
.v5-service-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.v5-service-panel { min-width: 0; overflow: hidden; border: 1px solid var(--v5-line); border-radius: 8px; background: var(--v5-paper); box-shadow: var(--v5-shadow-soft); }
.v5-service-panel-head {
  position: relative;
  min-height: 188px;
  padding: 30px 28px 74px;
  overflow: hidden;
  color: #fff;
  background: var(--v5-navy);
}
.v5-service-panel-head::before { content: ""; position: absolute; inset: 0; opacity: .42; background: linear-gradient(90deg, rgba(4,24,40,.92), rgba(4,24,40,.48)), url('/assets/images/hero-warsztat-samochod-full.webp') center 52%/cover no-repeat; }
.v5-service-panel-build .v5-service-panel-head::before { background: linear-gradient(90deg, rgba(4,24,40,.9), rgba(4,24,40,.38)), url('/assets/images/budownictwo-dom-front-full.webp') center/cover no-repeat; }
.v5-service-panel-head > * { position: relative; z-index: 1; }
.v5-service-panel-head > span { display: block; margin-bottom: 7px; color: var(--v5-cyan-bright); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
body.home-v5 .v5-service-panel-head h3 { max-width: 360px; color: #fff; font-size: 23px; line-height: 1.12; }
.v5-service-panel-head > a { display: inline-flex; margin-top: 12px; color: #fff; font-size: 8.5px; font-weight: 800; text-transform: uppercase; }
.v5-service-panel-head > a::after { content: " →"; color: var(--v5-cyan-bright); }
.v5-service-list { position: relative; z-index: 2; margin: -54px 12px 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.v5-service-card {
  min-height: 132px;
  padding: 15px;
  border: 1px solid var(--v5-line);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 9px 25px rgba(5,32,49,.06);
}
.v5-service-panel-auto .v5-service-card[data-branch="build"],
.v5-service-panel-build .v5-service-card[data-branch="auto"] { display: none !important; }
.v5-service-card > span { display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 10px; color: var(--v5-cyan); background: var(--v5-cyan-pale); border: 1px solid rgba(24,201,220,.25); font-size: 8px; font-weight: 800; }
body.home-v5 .v5-service-card h4 { font-size: 12px; line-height: 1.35; }
.v5-service-card p { margin-top: 5px !important; font-size: 8.8px; line-height: 1.52; }

/* Why */
.v5-why { background: var(--v5-paper); }
.v5-why-layout { display: grid; grid-template-columns: .9fr 1.2fr 1.05fr; gap: 12px; }
.v5-why-feature,
.v5-location-card { position: relative; min-height: 272px; overflow: hidden; border-radius: 7px; }
.v5-why-feature { padding: 26px; color: #fff; background: linear-gradient(145deg, var(--v5-navy-deep), var(--v5-navy-2)); box-shadow: var(--v5-shadow); }
.v5-why-feature::after { content: "A"; position: absolute; right: -16px; bottom: -46px; color: rgba(255,255,255,.035); font-family: "Barlow Condensed", sans-serif; font-size: 210px; font-weight: 800; line-height: 1; }
.v5-why-feature small { position: relative; z-index: 1; color: var(--v5-cyan-bright); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.v5-why-feature strong { position: relative; z-index: 1; display: block; margin-top: 18px; color: #fff; font-family: "Barlow Condensed", sans-serif; font-size: 68px; line-height: .8; }
body.home-v5 .v5-why-feature h3 { position: relative; z-index: 1; margin-top: 5px; color: #fff; font-family: "Barlow Condensed", sans-serif; font-size: 34px; text-transform: uppercase; }
.v5-why-feature p { position: relative; z-index: 1; max-width: 220px; margin-top: 17px !important; color: rgba(255,255,255,.72) !important; font-size: 10px; }
.v5-benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.v5-benefit-card { min-height: 131px; padding: 17px; border: 1px solid var(--v5-line); border-radius: 6px; background: #fff; }
.v5-benefit-card > span { color: var(--v5-cyan); font-size: 8px; font-weight: 800; }
body.home-v5 .v5-benefit-card h3 { margin-top: 8px; font-size: 12px; }
.v5-benefit-card p { margin-top: 5px !important; font-size: 8.8px; line-height: 1.5; }
.v5-location-card { display: block; color: #fff; box-shadow: var(--v5-shadow); }
.v5-location-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.v5-location-card:hover > img { transform: scale(1.05); }
.v5-location-card > span { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,20,33,.22), rgba(3,20,33,.9)); }
.v5-location-card > div { position: absolute; right: 24px; bottom: 24px; left: 24px; }
.v5-location-card small { color: var(--v5-cyan-bright); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
body.home-v5 .v5-location-card h3 { margin-top: 6px; color: #fff; font-size: 22px; }
.v5-location-card p { margin-top: 8px !important; color: rgba(255,255,255,.72) !important; font-size: 9.5px; }
.v5-location-card b { display: inline-block; margin-top: 13px; color: #fff; font-size: 8.5px; text-transform: uppercase; }
.v5-location-card b::after { content: " →"; color: var(--v5-cyan-bright); }

/* Gallery */
.v5-gallery { background: #fff; }
.v5-gallery-grid { display: grid; grid-template-columns: 1.25fr .9fr 1fr .9fr 1.15fr; gap: 10px; }
.v5-gallery-item {
  position: relative;
  height: 190px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #dce8ed;
  box-shadow: var(--v5-shadow-soft);
  cursor: pointer;
}
.v5-gallery-item:nth-child(2),
.v5-gallery-item:nth-child(4) { transform: translateY(18px); }
.v5-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.v5-gallery-item:hover img { transform: scale(1.06); }
.v5-gallery-item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(3,22,37,.78)); }
.v5-gallery-item span { position: absolute; z-index: 2; right: 12px; bottom: 10px; left: 12px; color: #fff; font-size: 8.5px; font-weight: 800; text-align: left; text-transform: uppercase; }
.v5-gallery-action { margin-top: 42px; text-align: center; }
.v5-gallery-action .v5-btn { width: auto; }

/* Contact */
.v5-contact { position: relative; padding: 82px 0; overflow: hidden; background: linear-gradient(135deg, #eef7f9, #fff 58%); }
.v5-contact::before { content: ""; position: absolute; right: -120px; top: -100px; width: 390px; height: 390px; border: 55px solid rgba(24,201,220,.06); border-radius: 50%; }
.v5-contact-grid { position: relative; display: grid; grid-template-columns: .82fr 1.18fr; gap: 72px; align-items: center; }
.v5-contact-copy > p { margin-top: 14px !important; font-size: 12.5px; }
.v5-contact-details { margin-top: 26px; display: grid; gap: 10px; }
.v5-contact-details > a,
.v5-contact-details > div { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 12px; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid #d6e4e9; }
.v5-contact-details span { color: var(--v5-muted); font-size: 8px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.v5-contact-details strong { min-width: 0; overflow-wrap: anywhere; color: var(--v5-navy); font-size: 11px; }
.v5-contact-form { padding: 27px; border: 1px solid var(--v5-line); border-radius: 7px; background: #fff; box-shadow: var(--v5-shadow); }
body.home-v5 .v5-contact-form h3 { font-size: 20px; }
.v5-contact-form > p { margin-top: 5px !important; font-size: 9.5px; }
.v5-form-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.v5-form-grid label { display: grid; gap: 5px; }
.v5-form-grid label > span:first-child { color: var(--v5-navy); font-size: 8px; font-weight: 700; }
.v5-form-grid input,
.v5-form-grid select,
.v5-form-grid textarea { width: 100%; min-width: 0; border: 1px solid #d8e5ea; border-radius: 3px; background: #fff; color: var(--v5-navy); outline: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.v5-form-grid input,
.v5-form-grid select { min-height: 43px; padding: 10px 11px; font-size: 10px; }
.v5-form-grid textarea { min-height: 95px; padding: 11px; resize: vertical; font-size: 10px; }
.v5-form-grid input:focus,
.v5-form-grid select:focus,
.v5-form-grid textarea:focus { border-color: var(--v5-cyan); box-shadow: 0 0 0 3px rgba(24,201,220,.12); }
.v5-form-message-field,
.v5-form-consent,
.v5-form-submit { grid-column: 1 / -1; }
.v5-form-consent { grid-template-columns: 16px 1fr !important; align-items: start; }
.v5-form-consent input { width: 14px; min-height: 14px; height: 14px; margin-top: 2px; }
.v5-form-consent > span { color: var(--v5-muted) !important; font-size: 8px !important; font-weight: 500 !important; }
.v5-form-consent a { color: var(--v5-cyan); text-decoration: underline; }
.v5-form-submit { width: 100%; border: 0; cursor: pointer; }
.form-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.home-v5 .form-message { margin-top: 14px; padding: 10px 12px; border: 1px solid #f0b5b5; border-radius: 4px; color: #8a1f1f; background: #fff1f1; font-size: 10px; }
.home-v5 .form-message.success { border-color: #a6dfca; color: #087f5b; background: #ecfbf5; }

/* Footer */
.home-v5 .site-footer { background: var(--v5-navy-deep); }
.home-v5 .footer-callout { padding-block: 50px; border-bottom-color: rgba(255,255,255,.1); }
.home-v5 .footer-callout h2 { max-width: 760px; color: #fff; font-size: clamp(26px, 3vw, 38px); }
.home-v5 .footer-grid { gap: 62px; padding-block: 48px; }
.home-v5 .footer-brand img { width: 225px; max-height: 68px; }
.home-v5 .footer-brand p { max-width: 360px; color: rgba(255,255,255,.62); font-size: 10px; }
.home-v5 .footer-title { color: var(--v5-cyan-bright); font-size: 9px; letter-spacing: .12em; }
.home-v5 .footer-links a,
.home-v5 .footer-contact { color: rgba(255,255,255,.72); font-size: 10px; }
.home-v5 .footer-bottom { border-top-color: rgba(255,255,255,.1); color: rgba(255,255,255,.48); font-size: 8.5px; }
.home-v5 .credit-link { color: var(--v5-cyan-bright); }

/* Reveal */
.home-v5 [data-reveal],
.home-v5 [data-animate] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.home-v5 [data-reveal="left"] { transform: translateX(-24px); }
.home-v5 [data-reveal="right"] { transform: translateX(24px); }
.home-v5 [data-reveal].is-visible,
.home-v5 [data-animate].is-visible { opacity: 1; transform: translate(0,0); }


@media (min-width: 981px) {
  body.home-v5 .v5-hero-content h1 { white-space: nowrap; }
}
@media (max-width: 1180px) {
  .home-v5 .header-shell { width: calc(100% - 36px); gap: 24px; }
  .home-v5 .site-logo img { width: 250px; }
  .home-v5 .primary-nav ul { gap: 2px; }
  .home-v5 .primary-nav ul a { padding-inline: 8px; font-size: 10.5px; }
  .v5-brake-device { display: none; }
  .v5-hero-content { padding-bottom: 118px; }
  .v5-branch-grid { width: min(800px, calc(100% - 40px)); }
  .v5-branch-card { grid-template-columns: 54px minmax(0, 1fr); padding-inline: 13px; }
  .v5-branch-icon { width: 54px; height: 54px; }
  .v5-icon { width: 52px; height: 52px; }
  .v5-why-layout { grid-template-columns: .8fr 1.3fr; }
  .v5-location-card { grid-column: 1 / -1; min-height: 240px; }
}

@media (max-width: 980px) {
  .home-v5 .site-header { height: 72px; }
  .home-v5 .header-shell { width: calc(100% - 28px); }
  .home-v5 .site-logo img { width: 210px; max-height: 58px; }
  .home-v5 .nav-toggle { display: block; width: 44px; height: 44px; margin-left: auto; border-color: #cbd9df; border-radius: 5px; }
  .home-v5 .primary-nav {
    position: fixed;
    z-index: 999;
    top: 72px;
    right: 0;
    left: 0;
    width: 100%;
    max-height: calc(100svh - 72px);
    display: block;
    overflow-y: auto;
    padding: 18px 18px 26px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    background: #fff;
    border-top: 1px solid var(--v5-line);
    border-bottom: 1px solid var(--v5-line);
    box-shadow: 0 24px 48px rgba(5,32,49,.16);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }
  .home-v5 .primary-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .home-v5 .primary-nav ul { display: grid; width: 100%; gap: 0; }
  .home-v5 .primary-nav ul li { border-bottom: 1px solid var(--v5-line); }
  .home-v5 .primary-nav ul a { width: 100%; min-height: 50px; justify-content: flex-start; padding: 11px 6px; font-size: 13px; }
  .home-v5 .primary-nav ul a::before,
  .home-v5 .primary-nav ul a::after { display: none; }
  .home-v5 .header-call { width: 100%; margin-top: 14px; display: flex; justify-content: center; background: var(--v5-navy); }

  .v5-hero { min-height: 610px; padding-bottom: 0; }
  .v5-hero-content { min-height: 540px; padding: 38px 0 120px; }
  body.home-v5 .v5-hero-content h1 { font-size: clamp(46px, 7vw, 62px); }
  .v5-disciplines { width: min(720px, 92vw); }
  .v5-discipline { padding-inline: 14px; }
  .v5-discipline > span:last-child { font-size: clamp(25px, 4vw, 36px); }
  .v5-branch-shell { position: absolute; bottom: -70px; }
  .v5-branch-grid { width: calc(100% - 30px); gap: 9px; }
  .v5-branch-card { min-height: 138px; grid-template-columns: 46px minmax(0, 1fr); gap: 9px; padding: 14px 11px; }
  .v5-branch-icon { width: 46px; height: 46px; }
  .v5-icon { width: 44px; height: 44px; }
  body.home-v5 .v5-branch-copy h2 { font-size: 14px; }
  .v5-branch-copy p { font-size: 8.5px; }
  .v5-projects-first { padding-top: 128px; }
  .v5-about-grid { grid-template-columns: 1fr; gap: 36px; }
  .v5-section-copy { padding: 0 0 30px; border-right: 0; border-bottom: 1px solid #cbdbe2; }
  .v5-section-heading { grid-template-columns: 1fr; gap: 15px; }
  .v5-service-panels { grid-template-columns: 1fr; }
  .v5-service-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .v5-why-layout { grid-template-columns: .8fr 1.2fr; }
  .v5-gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .v5-gallery-item:nth-child(n) { transform: none; }
  .v5-contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  body.home-v5 { font-size: 14px; }
  .home-v5 .container,
  .home-v5 .v5-container { width: min(100% - 30px, 680px); }
  .home-v5 .site-logo img { width: 190px; }
  .v5-section { padding: 62px 0; }
  .v5-hero { min-height: 0; padding-bottom: 28px; overflow: hidden; }
  .v5-hero-media { height: 540px; bottom: auto; }
  .v5-hero-photo-workshop { width: 68%; }
  .v5-hero-photo-build { width: 62%; }
  .v5-hero-center-shade { background: radial-gradient(ellipse at 50% 43%, rgba(3,24,40,.96) 0%, rgba(3,24,40,.78) 38%, rgba(3,24,40,.38) 72%, transparent 92%), linear-gradient(180deg, rgba(3,19,32,.08), rgba(3,19,32,.5)); }
  .v5-hero-content { width: calc(100% - 30px); min-height: 540px; padding: 34px 0 52px; }
  .v5-hero-kicker { font-size: 13px; }
  body.home-v5 .v5-hero-content h1 { max-width: 620px; font-size: clamp(39px, 10vw, 52px); }
  .v5-disciplines { width: 100%; margin-top: 20px; }
  .v5-discipline { padding-inline: 7px; }
  .v5-discipline-icon { width: 38px; height: 38px; }
  .v5-discipline > span:last-child { font-size: clamp(20px, 6vw, 27px); }
  .v5-hero-lead { max-width: 560px; font-size: 12px; }
  .v5-hero-actions { width: min(100%, 430px); display: grid; grid-template-columns: 1fr; }
  .v5-btn { width: 100%; }
  .v5-hero-actions .v5-btn-ghost { display: none; }
  .v5-branch-shell { position: relative; bottom: auto; margin-top: -30px; }
  .v5-branch-grid { grid-template-columns: 1fr; width: calc(100% - 30px); gap: 9px; }
  .v5-branch-card { min-height: 0; grid-template-columns: 60px minmax(0, 1fr); padding: 15px; }
  .v5-branch-icon { width: 60px; height: 60px; }
  .v5-icon { width: 56px; height: 56px; }
  body.home-v5 .v5-branch-copy h2 { font-size: 16px; }
  .v5-branch-copy p { font-size: 9.5px; }
  .v5-projects-first { padding-top: 68px; }
  .v5-lined-heading { grid-template-columns: 1fr auto 1fr; gap: 10px; }
  body.home-v5 .v5-lined-heading h2 { font-size: 24px; }
  .v5-project-grid { grid-template-columns: 1fr; }
  .v5-project-media { height: 220px; }
  body.home-v5 .v5-section-heading h2,
  body.home-v5 .v5-section-copy h2,
  body.home-v5 .v5-contact-copy h2 { font-size: 30px; }
  .v5-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v5-service-panel-head { min-height: 174px; padding: 26px 20px 68px; }
  .v5-service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v5-why-layout { grid-template-columns: 1fr; }
  .v5-why-feature,
  .v5-location-card { min-height: 250px; }
  .v5-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v5-location-card { grid-column: auto; }
  .v5-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 9px; }
  .v5-gallery-item { height: 165px; }
  .v5-gallery-item:nth-child(5) { grid-column: 1 / -1; }
  .v5-contact { padding: 64px 0; }
  .v5-contact-form { padding: 22px 16px; }
  .v5-form-grid { grid-template-columns: 1fr; }
  .v5-form-message-field,
  .v5-form-consent,
  .v5-form-submit { grid-column: 1; }
  .v5-contact-details > a,
  .v5-contact-details > div { grid-template-columns: 95px 1fr; }
  .home-v5 .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .home-v5 .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .home-v5 .site-logo img { width: 170px; }
  .v5-hero-media { height: 520px; }
  .v5-hero-content { min-height: 520px; }
  body.home-v5 .v5-hero-content h1 { font-size: clamp(36px, 10.6vw, 44px); }
  .v5-disciplines { margin-top: 17px; }
  .v5-discipline { padding-inline: 2px; }
  .v5-discipline-icon { width: 28px; height: 28px; }
  .v5-discipline > span:last-child { font-size: 14px; letter-spacing: 0; }
  .v5-hero-lead { font-size: 11px; }
  .v5-trust-grid { grid-template-columns: 1fr; }
  .v5-benefit-grid { grid-template-columns: 1fr; }
  .v5-gallery-item { height: 145px; }
  .v5-contact-details > a,
  .v5-contact-details > div { grid-template-columns: 1fr; gap: 2px; }
  .home-v5 .footer-grid { grid-template-columns: 1fr; }
  .home-v5 .footer-brand { grid-column: auto; }
}

/* Curated homepage photography: a clean service bay and a finished facade. */
@media (max-width: 980px) {
  .v5-hero-photo-workshop img { object-position: 50% 54%; }
  .v5-hero-photo-build img { object-position: 58% 50%; }
}

@media (max-width: 760px) {
  .v5-hero-photo-workshop img { object-position: 50% 52%; }
  .v5-hero-photo-build img { object-position: 62% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .home-v5 *,
  .home-v5 *::before,
  .home-v5 *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .home-v5 [data-reveal],
  .home-v5 [data-animate] { opacity: 1; transform: none; }
}

/* Corrections requested after the visual review */
body.home-v5 .v5-hero {
  z-index: 6;
}
body.home-v5 .v5-hero-media {
  z-index: -4;
}
body.home-v5 .v5-hero-photo,
body.home-v5 .v5-hero-photo img {
  translate: none !important;
  transform: none !important;
  scale: 1 !important;
  transition: none !important;
}
body.home-v5 .v5-hero:hover .v5-hero-photo img {
  translate: none !important;
  transform: none !important;
  scale: 1 !important;
}
body.home-v5 .v5-branch-shell {
  z-index: 20;
}
body.home-v5 .v5-projects-first {
  position: relative;
  z-index: 1;
  padding-top: 132px;
}

@media (max-width: 980px) {
  body.home-v5 .v5-projects-first { padding-top: 142px; }
}

@media (max-width: 760px) {
  body.home-v5 .v5-hero { z-index: auto; }
  body.home-v5 .v5-projects-first { padding-top: 68px; }
}
