/* KBC Plumbing — rebuild of the approved Figma design (file Hk4VUAd4n0w4QAwRnvETs6).
   Tokens sampled from the Figma capture. Body copy is set slightly larger than the
   design's 13px for readability (BLD rule for trade/commercial audiences). */
:root {
  --green: #98c44f;        /* headings on dark, icon circles, card titles */
  --green-dk: #709a2a;     /* buttons, links, numbers */
  --green-dkr: #5b7f20;    /* hover */
  --dark: #212719;         /* dark sections */
  --ink: #000;
  --text: #333;
  --muted: #666;
  --light: #f7f7f7;
  --line: #e4e4e4;
  --card-shadow: 0 2px 14px rgba(0, 0, 0, .08);
  --radius: 6px;
  --wrap: 900px;           /* main content column in the design */
  --wrap-wide: 1080px;     /* header / nav */
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --header-h: 100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: #fff; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--green-dk); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-dkr); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; top: 8px; }

.wrap { width: min(var(--wrap), calc(100% - 40px)); margin-inline: auto; }
.wrap-wide { width: min(var(--wrap-wide), calc(100% - 40px)); margin-inline: auto; }
.wrap-xl { width: min(1290px, calc(100% - 40px)); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 36px;
  font-size: 15px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; border-radius: 2px;
  background: var(--green-dk); color: #fff; border: 1px solid var(--green-dk); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--green-dkr); border-color: var(--green-dkr); color: #fff; }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--green); min-width: 174px; }
.btn--ghost:hover { background: var(--green-dk); border-color: var(--green-dk); color: #fff; }
.btn svg { width: 14px; height: 14px; fill: currentColor; }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .25s, box-shadow .25s; }
.site-header .wrap-wide { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .25s; }
.site-header.is-scrolled { background: rgba(33, 39, 25, .97); box-shadow: 0 2px 16px rgba(0, 0, 0, .25); }
.site-header.is-scrolled .wrap-wide { height: 76px; }
.brand img { width: 225px; height: auto; transition: width .25s; }
.site-header.is-scrolled .brand img { width: 190px; }
.nav { display: flex; align-items: center; gap: 38px; }
.nav > a, .nav .dd > button { color: #fff; font-size: 13px; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; background: none; border: 0; padding: 8px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav > a:hover, .nav .dd > button:hover, .nav > a[aria-current="page"], .nav .dd.is-current > button { color: var(--green); }
.nav .btn { color: #fff; font-size: 13px; min-height: 36px; padding: 8px 22px; background: var(--green-dk); border: 1px solid var(--green-dk); }
.nav .btn:hover { background: var(--green-dkr); border-color: var(--green-dkr); }
.nav .btn:hover { color: #fff; }
.dd { position: relative; }
.dd svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.dd-menu { position: absolute; top: 100%; left: -18px; min-width: 330px; padding: 10px 0; background: #fff; border-radius: 4px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu, .dd.is-open .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: block; padding: 9px 20px; font-size: 14px; color: var(--text); }
.dd-menu a:hover, .dd-menu a[aria-current="page"] { background: var(--light); color: var(--green-dk); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .25s, opacity .25s; }
.call-mobile { display: none; }

@media (max-width: 1080px) {
  :root { --header-h: 80px; }
  .brand img { width: 180px; }
  .burger { display: block; order: 3; }
  .call-mobile { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; margin-right: 6px; padding: 10px 14px; background: var(--green-dk); color: #fff; font-weight: 700; font-size: 14px; border-radius: 2px; }
  .call-mobile svg { width: 15px; height: 15px; fill: #fff; }
  .call-mobile:hover { color: #fff; background: var(--green-dkr); }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); flex-direction: column; align-items: stretch; gap: 0; padding: 90px 24px 32px;
    background: var(--dark); transform: translateX(100%); transition: transform .3s; overflow-y: auto; }
  .nav.is-open { transform: none; box-shadow: -10px 0 40px rgba(0, 0, 0, .4); }
  .nav > a, .nav .dd > button { font-size: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); width: 100%; justify-content: space-between; }
  .nav .btn { margin-top: 20px; min-height: 48px; font-size: 15px; }
  .dd-menu { position: static; min-width: 0; padding: 0 0 8px; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .dd.is-open .dd-menu { display: block; }
  .dd-menu a { color: rgba(240, 246, 255, .85); padding: 9px 0 9px 14px; font-size: 15px; }
  .dd-menu a:hover, .dd-menu a[aria-current="page"] { background: none; color: var(--green); }
  .burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.is-open span:nth-child(2) { opacity: 0; }
  .burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .burger { position: relative; z-index: 2; }
}
@media (max-width: 420px) { .call-mobile .num { display: none; } .brand img { width: 150px; } }

/* ---------- Heroes ---------- */
.hero { position: relative; display: grid; place-items: center; min-height: 472px; padding: calc(var(--header-h) + 50px) 0 70px; color: #fff; text-align: center; overflow: hidden; background: var(--dark); }
.hero__bg, .hero__bg img, .hero__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__bg img { object-position: var(--pos, center); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .45) 40%, rgba(0, 0, 0, .55) 100%); }
.hero__inner { position: relative; z-index: 1; width: min(900px, calc(100% - 40px)); }
.hero h1 { color: #fff; font-size: clamp(30px, 4.2vw, 46px); font-weight: 700; text-transform: uppercase; line-height: 1.13; }
.hero__sub { margin: 20px auto 0; max-width: 820px; font-size: 17px; line-height: 1.55; }
.hero .btns { margin-top: 30px; }
.hero--home { min-height: 715px; }
.hero--home h1 { font-size: clamp(32px, 4.4vw, 48px); }
.hero--home .hero__lead { margin: 26px auto 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; line-height: 1.3; max-width: 800px; }
.hero--home .hero__sub { font-size: 16px; margin-top: 30px; }
.hero--short { min-height: 390px; padding-bottom: 50px; }

/* ---------- Section scaffolding ---------- */
.sec { padding: 90px 0; }
.sec--light { background: var(--light); }
.sec--tight { padding: 60px 0; }
.sec-head { text-align: center; margin-bottom: 40px; }
.h2 { font-size: clamp(25px, 2.4vw, 32px); font-weight: 700; text-transform: uppercase; line-height: 1.12; }
.sec-head .lead, .lead { max-width: 900px; margin: 0 auto; font-size: 16px; color: var(--text); }
.sec-head .lead { margin-top: 22px; }
.prose p { font-size: 16px; }
.center { text-align: center; }

/* ring divider (the KBC mark between two hairlines) */
.ring { display: flex; align-items: center; justify-content: center; gap: 0; margin: 16px auto 0; width: 112px; }
.ring::before, .ring::after { content: ""; flex: 1; height: 1px; background: #dcdcdc; }
.ring i { width: 22px; height: 22px; border-radius: 50%; flex: none; background: radial-gradient(circle, #c6e19a 0 3px, var(--green) 3.5px 5.5px, #fff 6px 7px, #8f8f8f 7.5px 11px); }
.ring--left { margin-left: 0; justify-content: flex-start; width: 112px; }
.ring--left::before { display: none; }
.on-dark .ring::before, .on-dark .ring::after { background: rgba(255, 255, 255, .85); height: 2px; }

/* ---------- Logo strips ---------- */
.trusted { background: var(--light); padding: 46px 0 50px; text-align: center; }
.trusted--white { background: #fff; }
.trusted h2 { font-size: 15px; font-weight: 500; color: var(--ink); text-transform: none; margin-bottom: 34px; }
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 34px 30px; align-items: center; justify-items: center; width: min(860px, calc(100% - 40px)); margin: 0 auto; }
.logo-grid img { max-height: 42px; max-width: 128px; width: auto; height: auto; object-fit: contain; }
.accred { background: #f2f2f2; padding: 22px 0; }
.accred .row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.accred img { max-height: 78px; width: auto; object-fit: contain; }
@media (max-width: 760px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .accred .row { flex-wrap: wrap; justify-content: center; }
  .accred img { max-height: 60px; }
}

/* ---------- Cards / carousels ---------- */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 3); gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scrollbar-width: none; padding: 4px 4px 24px; margin: -4px -4px 0; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.carousel__btn svg { width: 16px; height: 16px; fill: none; stroke: #222; stroke-width: 2.2; }
.carousel__btn--next { right: -18px; }
.carousel__btn--prev { left: -18px; }
.carousel__btn[hidden] { display: none; }
@media (max-width: 900px) { .carousel__track { grid-auto-columns: calc((100% - 30px) / 2); } }
@media (max-width: 600px) { .carousel__track { grid-auto-columns: 86%; gap: 16px; } .carousel__btn { display: none; } }

.dept { position: relative; }
.dept__img { aspect-ratio: 280 / 300; border-radius: var(--radius); overflow: hidden; background: #ddd; }
.dept__img img { width: 100%; height: 100%; object-fit: cover; }
.dept__body { position: relative; margin: -38px 7px 0; background: #fff; border-radius: var(--radius); box-shadow: var(--card-shadow); padding: 24px 23px 28px; min-height: 175px; }
.dept__body h3 { color: var(--green); font-size: 19px; font-weight: 500; line-height: 1.15; margin-bottom: 12px; }
.dept__body h3 a { color: inherit; }
.dept__body h3 a:hover { color: var(--green-dk); }
.dept__body p { font-size: 15px; line-height: 1.55; }

.icard { position: relative; padding-top: 70px; height: 100%; }
.icard__box { height: 100%; background: #fff; border-radius: 4px; box-shadow: var(--card-shadow); padding: 92px 18px 30px; text-align: center; }
.icard__icon { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 142px; height: 142px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.icard__icon img { width: 58%; height: 58%; object-fit: contain; }
.icard h3 { font-size: 16px; font-weight: 500; margin-bottom: 12px; line-height: 1.4; }
.icard p { font-size: 15px; line-height: 1.55; color: var(--text); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px 30px; }
@media (max-width: 860px) { .grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr; } }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 418px 1fr; gap: 38px; align-items: start; }
.split--right { grid-template-columns: 1fr 418px; }
.split--right .split__img { order: 2; }
.split__img { border-radius: var(--radius); overflow: hidden; }
.split__img img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); aspect-ratio: var(--ar, 418 / 368); }
.split .h2 { font-size: clamp(24px, 2.3vw, 30px); }
.split .ring { margin-top: 14px; margin-bottom: 30px; }
.split p { font-size: 16px; }
@media (max-width: 860px) {
  .split, .split--right { grid-template-columns: 1fr; gap: 28px; }
  .split--right .split__img { order: 0; }
}

/* ---------- Dark feature band ---------- */
.feature { position: relative; padding: 90px 0; color: #fff; background: var(--dark); overflow: hidden; }
.feature__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33, 39, 25, .55), rgba(33, 39, 25, .3)); pointer-events: none; }
.feature .wrap { position: relative; z-index: 1; width: min(640px, calc(100% - 40px)); text-align: center; }
.feature .h2 { color: var(--green); }
.feature p { color: rgba(255, 255, 255, .92); font-size: 16px; }
.feature .ring { margin-bottom: 26px; }
.ticks { text-align: left; margin: 34px auto 34px; max-width: 440px; }
.ticks li { position: relative; padding-left: 16px; margin-bottom: 12px; font-size: 15.5px; line-height: 1.55; color: rgba(255, 255, 255, .92); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.ticks b { color: var(--green); font-weight: 500; }
.feature .btn { margin-top: 30px; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 22px; }
.step { position: relative; background: #fff; border-radius: 6px; box-shadow: var(--card-shadow); padding: 22px 16px 22px; overflow: hidden; }
.step::before { content: ""; position: absolute; inset: 0; background: url(../assets/img/pipe-sketch.jpg) right top / 100% auto no-repeat; opacity: .55; pointer-events: none; }
.step__n { position: relative; font-size: 72px; font-weight: 700; line-height: 1; color: var(--green-dk); margin: 6px 0 64px; }
.step h3 { position: relative; font-size: 16px; font-weight: 500; line-height: 1.4; margin-bottom: 10px; min-height: 2.8em; display: flex; align-items: flex-end; }
.step p { position: relative; font-size: 14px; line-height: 1.55; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 14px; } .step__n { font-size: 56px; margin-bottom: 30px; } .step h3 { min-height: 0; } }
@media (max-width: 440px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Case study ---------- */
.case { position: relative; background: var(--light); padding: 76px 0; overflow: hidden; }
.case__pattern { position: absolute; left: 0; top: 0; height: 100%; width: 45%; object-fit: cover; object-position: left top; opacity: .16; pointer-events: none; }
.case .grid { position: relative; display: grid; grid-template-columns: 1fr 435px; gap: 38px; align-items: start; }
.case__eyebrow { color: var(--green-dk); font-size: 19px; font-weight: 500; margin-bottom: 24px; }
.case .h2 { font-size: clamp(25px, 2.4vw, 31px); }
.case .ring { margin-top: 12px; margin-bottom: 30px; }
.case p { font-size: 15.5px; }
.case p b { color: var(--ink); font-weight: 500; }
.case__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.case__gallery img { width: 100%; aspect-ratio: 135 / 112; object-fit: cover; border-radius: 6px; }
.case__gallery img:first-child { grid-column: 1 / -1; aspect-ratio: 435 / 390; }
@media (max-width: 900px) { .case .grid { grid-template-columns: 1fr; } }

/* ---------- Reviews wall ---------- */
.reviews { background: var(--light); padding: 80px 0 90px; }
.reviews--white { background: #fff; }
.reviews__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; }
.reviews__col { display: grid; gap: 30px; }
.review { position: relative; margin: 0; background: #fff; border-radius: 3px; box-shadow: var(--card-shadow); padding: 50px 22px 34px; text-align: center; }
.review--grey { background: #e9e9e9; box-shadow: none; }
.review--green { background: var(--green-dk); color: #fff; padding-top: 22px; }
.review__q { position: absolute; top: -16px; right: 22px; width: 42px; height: 34px; fill: #c9c9c9; }
.review--green .review__q { display: none; }
.review blockquote { margin: 0; }
.review p { font-size: 14.5px; line-height: 1.6; }
.review__name { margin-top: 22px; font-size: 15px; font-weight: 500; color: var(--ink); }
.review__role { font-size: 14px; color: var(--text); }
.review--green .review__name, .review--green .review__role { color: #fff; }
.review__logo { margin: 20px auto 0; max-height: 64px; max-width: 150px; width: auto; object-fit: contain; }
@media (max-width: 900px) { .reviews__cols { grid-template-columns: 1fr 1fr; } .reviews__col:nth-child(3) { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .reviews__cols, .reviews__col:nth-child(3) { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: var(--light); padding: 80px 0 76px; }
.faq--white { background: #fff; }
.faq__list { width: min(675px, calc(100% - 40px)); margin: 0 auto; display: grid; gap: 7px; }
.faq details { background: #fff; border: 1px solid #ddd; border-radius: 3px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 22px; cursor: pointer; color: var(--green-dk); font-size: 15px; font-weight: 500; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 300; color: #333; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--green-dkr); }
.faq .faq__a { padding: 0 22px 18px; font-size: 15px; }
.faq .faq__a.is-todo { color: #9a6b00; font-style: normal; }

/* ---------- CTA band ---------- */
.cta { position: relative; padding: 110px 0; text-align: center; color: #fff; overflow: hidden; background: var(--dark); }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cta::after { content: ""; position: absolute; inset: 0; background: rgba(27, 34, 18, .82); }
.cta .wrap { position: relative; z-index: 1; }
.cta .h2 { color: var(--green); }
.cta .ring { margin-bottom: 22px; }
.cta p { font-size: 16px; font-weight: 500; line-height: 1.5; max-width: 600px; margin: 0 auto; }
.cta .btns { margin-top: 44px; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; padding: 40px 0 24px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 186px 1fr 240px; gap: 30px; }
.site-footer h2 { font-size: 14px; font-weight: 500; margin-bottom: 14px; color: var(--ink); }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--green-dk); }
.site-footer a:hover { color: var(--green-dkr); }
.f-contact img { width: 222px; margin-bottom: 26px; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; }
.f-contact svg { width: 14px; height: 14px; flex: none; margin-top: 4px; fill: #9a9a9a; }
.socials { display: flex; gap: 20px; margin-top: 6px; }
.socials a svg { width: 26px; height: 26px; fill: #8a8a8a; transition: fill .2s; }
.socials a:hover svg { fill: var(--green-dk); }
.footer-bar { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid #ececec; margin-top: 30px; padding-top: 16px; font-size: 13px; color: #444; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .f-contact { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 12px; }
.form label { display: block; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.form input, .form textarea { width: 100%; padding: 11px 13px; font: inherit; font-size: 15px; color: var(--text); border: 1px solid #cfcfcf; border-radius: 2px; background: #fff; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.form .btn { width: 100%; }
.form__note { display: none; padding: 12px 14px; border-radius: 3px; background: #eef5e2; color: #3c5414; font-size: 14px; }
.form.is-sent .form__note { display: block; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.member { background: #fff; border-radius: 4px; box-shadow: var(--card-shadow); overflow: hidden; }
.member img { width: 100%; aspect-ratio: 280 / 250; object-fit: cover; object-position: center 20%; }
.member__body { padding: 16px 18px 20px; }
.member h3 { font-size: 16px; font-weight: 700; text-transform: uppercase; }
.member .role { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.member p { font-size: 14px; line-height: 1.55; }
@media (max-width: 760px) { .team { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (max-width: 440px) { .team { grid-template-columns: 1fr; } }

/* ---------- Video lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; background: rgba(0, 0, 0, .86); padding: 20px; }
.lightbox.is-open { display: grid; }
.lightbox video { width: min(1100px, 100%); max-height: 86vh; background: #000; }
.lightbox__close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 34px; cursor: pointer; }

@media (max-width: 700px) {
  .sec, .feature, .faq, .reviews { padding: 64px 0; }
  .cta { padding: 80px 0; }
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 40px); }
  .hero--home { min-height: 620px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Homepage video hero ---------- */
.hero__video { background: var(--dark) url(../assets/img/hero-poster.jpg) center / cover no-repeat; }
.hero--plain { min-height: 0; padding-bottom: 56px; }
.hero--plain::after { display: none; }
.hero--contact .hero__sub { margin-top: 14px; }

/* ---------- Homepage dark split with video button ---------- */
.vsplit { display: grid; grid-template-columns: 51% 49%; background: var(--dark); color: #fff; position: relative; overflow: hidden; }
.vsplit::before { content: ""; position: absolute; inset: 0 49% 0 0; background: url(../assets/img/pipe-sketch.jpg) left top / 560px auto repeat; filter: invert(1); mix-blend-mode: screen; opacity: .05; pointer-events: none; }
.vsplit__text { position: relative; display: flex; align-items: center; padding: 96px 34px 96px max(20px, calc((100vw - var(--wrap)) / 2)); }
.vsplit__inner { max-width: 435px; }
.vsplit .h2 { color: var(--green); font-size: clamp(26px, 2.4vw, 32px); line-height: 1.12; }
.vsplit .ring { margin-top: 18px; margin-bottom: 44px; }
.vsplit p { font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .92); }
.vsplit__media { position: relative; min-height: 460px; }
.vsplit__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .2s; }
.play svg { width: 100%; height: 100%; fill: none; stroke: #fff; stroke-width: 2.4; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35)); }
.play svg path { stroke-linejoin: round; }
.play:hover, .play:focus-visible { transform: translate(-50%, -50%) scale(1.08); }
@media (max-width: 860px) {
  .vsplit { grid-template-columns: 1fr; }
  .vsplit::before { inset: 0; }
  .vsplit__text { padding: 64px 20px; }
  .vsplit__inner { max-width: none; }
  .vsplit__media { min-height: 0; aspect-ratio: 16 / 11; }
}

/* ---------- Cards: carousel tuning ---------- */
.dept__img { display: block; }
.sec--cards .carousel__btn { top: calc(50% + 35px); }
.carousel .icard { height: auto; }
.carousel__track:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

/* ---------- Washed photo band ---------- */
.band { position: relative; padding: 92px 0; overflow: hidden; background: #fff; }
.band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .1; filter: grayscale(.2); }
.band .wrap { position: relative; }
.band .ring { margin-bottom: 26px; }
.band p { font-size: 16px; }

/* ---------- Team (rows centre like the design: 3 / 3 / 2) ---------- */
.team { display: flex; flex-wrap: wrap; justify-content: center; }
.member { flex: 0 1 calc((100% - 60px) / 3); }
.member__body p:not(.role) { margin-bottom: .7em; }
@media (max-width: 760px) { .member { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 340px) { .member { flex-basis: 100%; } }

/* ---------- Form fields (label sits inside the box, like the design) ---------- */
.fld { position: relative; }
.fld input, .fld textarea { padding: 12px 13px; border-color: #e0e0e0; }
.fld label { position: absolute; left: 14px; top: 12px; margin: 0; font-size: 15px; color: #444; pointer-events: none; transition: opacity .15s; }
.fld .req { color: #d0281b; margin-left: 1px; }
.fld input:not(:placeholder-shown) + label, .fld textarea:not(:placeholder-shown) + label,
.fld input:focus + label, .fld textarea:focus + label { opacity: 0; }
.form-narrow { width: min(435px, 100%); margin: 30px auto 0; text-align: left; }
.form .btn { margin-top: 4px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 50px; align-items: start; }
.contact-details h2 { font-size: 19px; font-weight: 700; text-transform: uppercase; margin-bottom: 22px; }
.contact-details li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 15.5px; }
.contact-details li svg { width: 15px; height: 15px; flex: none; margin-top: 5px; fill: #9a9a9a; }
.contact-details .socials { margin: 18px 0 26px; }
.map { aspect-ratio: 435 / 230; border-radius: 3px; overflow: hidden; background: #e8efe0; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-intro { font-size: 16px; margin-bottom: 18px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Case studies page + legal ---------- */
.case__more { margin-top: 22px; }
.case__more a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 760px; }
.legal h2 { font-size: 20px; font-weight: 700; margin: 34px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
