/* ============================================================
   SRM Bouw — redesign layer
   Multi-page chrome: adaptive sticky top bar, bottom dock,
   teams, animated process, redesigned reviews, page shells.
   Loaded AFTER style.css so it overrides where needed.
   ============================================================ */


/* small button variant used in the bars */
.btn--sm { padding: .72em 1.15em; font-size: .9rem; }

/* ============================================================
   TOP BAR — adaptive, animated sliding pill, always on screen
   ============================================================ */
.header { padding: 16px 0; }
.header.scrolled { padding: 9px 0; }

.nav { position: relative; gap: 2px; padding: 5px; border-radius: 100px; }
.header.scrolled .nav { box-shadow: inset 0 0 0 1px var(--line); }
.nav__a {
  position: relative; z-index: 2;
  padding: 9px 15px; border-radius: 100px;
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  color: var(--ink); transition: color .35s var(--ease);
}
.nav__a::before { display: none; }              /* replaced by sliding pill */
.nav__pill {
  position: absolute; top: 5px; left: 0; height: calc(100% - 10px);
  width: 0; border-radius: 100px; background: var(--ink); opacity: 0; z-index: 1;
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s;
  will-change: transform, width;
}
.nav__a.is-lit { color: var(--cream); }

.header__phone { font-size: .92rem; }
.header__phone .ic-svg { color: var(--ember); }

/* keep the FULL bar visible far longer; burger only on real small screens */
@media (max-width: 1180px){ .header__phone { display: none; } }
@media (max-width: 1024px){ .nav__a { padding: 8px 11px; font-size: .9rem; } }
@media (min-width: 921px){ .nav { display: flex; } .burger { display: none; } }
@media (max-width: 920px){
  .nav { display: none; }
  .burger { display: block; }
}

/* mobile menu now generated as a .mobile-menu__links wrapper */
.mobile-menu__links { display: flex; flex-direction: column; }
.mobile-menu__links a {
  font-family: var(--font-display); font-size: clamp(1.9rem,8vw,3rem);
  padding: .12em 0; opacity: .45; color: var(--cream);
  transform: translateX(-10px); transition: opacity .3s, transform .4s var(--ease), color .3s;
}
.mobile-menu__links a:hover, .mobile-menu__links a.is-active { opacity: 1; transform: translateX(8px); color: var(--ember); }

/* ============================================================
   BOTTOM DOCK — info + quick page nav (desktop + mobile)
   ============================================================ */
.dock {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%);
  z-index: 215; display: flex; align-items: center; gap: 10px;
  padding: 8px; border-radius: 100px;
  background: rgba(16,14,11,.82); color: var(--cream);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 20px 50px -18px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.08);
  max-width: calc(100vw - 20px);
}
.dock__info { padding-left: 6px; }
.dock__phone { display: inline-flex; align-items: center; gap: 10px; }
.dock__phone .ic-svg { color: var(--ember); flex: none; }
.dock__phone small { display: block; font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(251,247,240,.55); }
.dock__phone b { font-family: var(--font-display); font-size: .92rem; line-height: 1.1; }
.dock__nav { display: flex; align-items: center; gap: 2px; padding: 0 4px; border-left: 1px solid rgba(255,255,255,.1); border-right: 1px solid rgba(255,255,255,.1); }
.dock__a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 13px; border-radius: 100px; font-weight: 700; font-size: .86rem;
  color: rgba(251,247,240,.72); transition: background .3s var(--ease), color .3s var(--ease);
}
.dock__a .ic-svg { flex: none; }
.dock__a:hover { background: rgba(255,255,255,.1); color: var(--cream); }
.dock__a.is-active { background: var(--ember); color: #fff; }
.dock__cta { flex: none; }

/* progressive collapse of the dock */
@media (max-width: 1200px){ .dock__a span { display: none; } .dock__a { padding: 10px; } }
@media (max-width: 760px){
  .dock { left: 10px; right: 10px; transform: none; max-width: none; justify-content: space-between; border-radius: 22px; }
  .dock__phone small { display: none; }
  .dock__nav { gap: 0; }
}
@media (max-width: 460px){
  .dock__info { display: none; }
  .dock { justify-content: space-around; }
  .dock__cta { display: none; }
}

/* ============================================================
   PAGE SHELL — inner pages
   ============================================================ */
.page { padding-top: clamp(130px, 15vh, 168px); }
@media (max-width: 1040px){ .page { padding-top: 160px; } }  /* clear the glass logo+tabs card on phones/tablets */
.page-hero { padding-bottom: clamp(30px, 5vw, 54px); }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1; }
.page-hero .lead { margin-top: 22px; }
.page-hero__row { display: grid; grid-template-columns: 1.4fr .6fr; gap: clamp(24px,5vw,60px); align-items: end; }
@media (max-width: 820px){ .page-hero__row { grid-template-columns: 1fr; } }
.section-pad { padding: clamp(60px,9vw,120px) 0; }

/* small "see all" link block */
.sec-more { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-family: var(--font-display); }
.sec-more svg { transition: transform .4s var(--ease); }
.sec-more:hover svg { transform: translateX(5px); }

/* ============================================================
   TEAMS
   ============================================================ */
.teams { padding: clamp(70px,10vw,130px) 0; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 960px){ .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .team-grid { grid-template-columns: 1fr; } }

.team-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 28px 26px; border-radius: var(--r-lg);
  background: var(--paper); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.team-card::after { content:""; position:absolute; left:0; top:0; height:4px; width:0; background: var(--ember); transition: width .6s var(--ease); }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.team-card:hover::after { width: 100%; }
.team-card__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.team-avatars { display: flex; }
.team-avatars span {
  width: 40px; height: 40px; border-radius: 50%; margin-left: -12px;
  display: grid; place-items: center; font-family: var(--font-display); font-size: .82rem;
  color: #fff; box-shadow: 0 0 0 3px var(--paper); font-weight: 700;
}
.team-avatars span:first-child { margin-left: 0; }
.team-avatars .a1 { background: var(--ember); }
.team-avatars .a2 { background: var(--clay); }
.team-avatars .a3 { background: var(--ink-3); }
.team-avatars .more { background: var(--sand); color: var(--ink); font-size: .74rem; }
.team-card__size { font-size: .78rem; font-weight: 800; color: var(--muted); text-align: right; }
.team-card__size b { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); }
.team-card__ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--ink); margin-bottom: 16px; }
.team-card__ico svg { width: 26px; height: 26px; }
.team-card h3 { font-size: 1.3rem; }
.team-card .role { color: var(--ember); font-weight: 800; font-size: .82rem; letter-spacing: .04em; margin-top: 4px; text-transform: uppercase; }
.team-card p { margin-top: 12px; color: var(--muted); font-size: .96rem; flex: 1; }
.team-card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.team-card__tags span { padding: 6px 11px; border-radius: 100px; background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 700; font-size: .78rem; }
.team-card__foot { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); }
.team-card__lead { display: flex; align-items: center; gap: 10px; }
.team-card__lead .av { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; font-family: var(--font-display); font-size: .78rem; }
.team-card__lead small { display: block; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.team-card__lead b { font-family: var(--font-display); font-size: .92rem; }
.team-card__more { color: var(--ember); }

/* ============================================================
   ANIMATED PROCESS FLOW
   ============================================================ */
.flow { position: relative; margin-top: 60px; }
.flow__line { position: absolute; left: 0; right: 0; top: 27px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.flow__fill { position: absolute; inset: 0; width: var(--p, 0%); background: linear-gradient(90deg, var(--ember), var(--gold)); transition: width .1s linear; }
.flow__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flow__step { position: relative; }
.flow__node {
  width: 56px; height: 56px; border-radius: 50%; position: relative; z-index: 2;
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  background: var(--cream); color: var(--muted); box-shadow: inset 0 0 0 3px var(--line);
  transition: transform .5s var(--ease), background .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease);
}
.flow__step.is-on .flow__node { background: var(--ember); color: #fff; box-shadow: inset 0 0 0 3px var(--ember), 0 12px 26px -8px rgba(31,63,191,.6); transform: scale(1.06); }
.flow__step.is-on .flow__node::after { content:""; position:absolute; inset:-8px; border-radius:50%; border:2px solid rgba(31,63,191,.35); animation: flowpulse 1.6s var(--ease) infinite; }
@keyframes flowpulse { to { transform: scale(1.25); opacity: 0; } }
.flow__card { margin-top: 24px; padding: 24px 22px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .5s; opacity: .55; transform: translateY(10px); }
.flow__step.is-on .flow__card { opacity: 1; transform: translateY(0); box-shadow: var(--shadow); }
.flow__ico { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--sand); color: var(--ink); margin-bottom: 14px; }
.flow__ico svg { width: 22px; height: 22px; }
.flow__card h3 { font-size: 1.28rem; }
.flow__card p { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.flow__dur { display: inline-block; margin-top: 14px; font-weight: 800; font-size: .78rem; color: var(--ember); letter-spacing: .04em; }

@media (max-width: 860px){
  .flow__steps { grid-template-columns: 1fr; gap: 0; }
  .flow__line { left: 27px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; }
  .flow__fill { width: 3px !important; height: var(--p,0%); inset: 0 auto auto 0; background: linear-gradient(180deg, var(--ember), var(--gold)); }
  .flow__step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 28px; align-items: start; }
  .flow__card { margin-top: 0; }
}

/* ============================================================
   REVIEWS (redesigned testimonials)
   ============================================================ */
.reviews { padding: clamp(70px,10vw,130px) 0; }
.reviews__summary {
  display: flex; align-items: center; gap: clamp(20px,4vw,52px); flex-wrap: wrap;
  padding: 26px clamp(24px,4vw,42px); border-radius: var(--r-lg);
  background: var(--ink); color: var(--cream); margin-bottom: 26px;
}
.reviews__score { font-family: var(--font-display); font-size: clamp(2.6rem,6vw,3.8rem); line-height: 1; display: flex; align-items: baseline; gap: 6px; }
.reviews__score small { font-size: .3em; color: rgba(251,247,240,.5); }
.reviews__stars { color: var(--gold); letter-spacing: 3px; font-size: 1.1rem; }
.reviews__meta { color: rgba(251,247,240,.62); font-weight: 600; }
.reviews__meta b { color: var(--cream); font-family: var(--font-display); }
.reviews__cta { margin-left: auto; }

.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px){ .reviews__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .reviews__grid { grid-template-columns: 1fr; } }
.review {
  position: relative; padding: 30px 28px; border-radius: var(--r-lg);
  background: var(--paper); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.review .stars { color: var(--gold); letter-spacing: 2px; }
.review__mark { position: absolute; top: 22px; right: 26px; font-family: var(--font-display); font-size: 3.2rem; line-height: .4; color: rgba(31,63,191,.18); }
.review p { margin: 14px 0 22px; font-size: 1.04rem; flex: 1; }
.review .who { display: flex; align-items: center; gap: 13px; }
.review .who .av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); color: #fff; font-weight: 700; }
.review .who b { display: block; font-family: var(--font-display); font-size: 1rem; }
.review .who span { color: var(--muted); font-size: .84rem; }
.review--feat { grid-column: span 2; background: linear-gradient(135deg, var(--ink), var(--ink-3)); color: var(--cream); }
.review--feat p { font-size: clamp(1.2rem, 2vw, 1.5rem); font-family: var(--font-display); line-height: 1.35; }
.review--feat .who span { color: rgba(251,247,240,.6); }
.review--feat .review__mark { color: rgba(31,63,191,.4); }
@media (max-width: 900px){ .review--feat { grid-column: span 2; } }
@media (max-width: 600px){ .review--feat { grid-column: span 1; } }

/* ============================================================
   video-bg glass treatment for the new surfaces
   ============================================================ */
body.video-bg .team-card,
body.video-bg .flow__card,
body.video-bg .review:not(.review--feat) {
  background: rgba(255,255,255,.74);
  -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3);
}
body.video-bg .reviews__summary,
body.video-bg .review--feat {
  background: rgba(16,14,11,.66);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
}
body.video-bg .flow__node { background: rgba(251,247,240,.8); }
body.video-bg .team-card__tags span,
body.video-bg .team-card__ico,
body.video-bg .flow__ico { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* home teaser spacing helpers */
.home-block { padding: clamp(60px,9vw,120px) 0; }

/* full gallery page — uniform bento */
.gal-grid.gal-grid--page { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; }
.gal-grid--page .gal { grid-column: auto; grid-row: auto; }
.gal-grid--page .gal--tall { grid-row: span 2; }
.gal-grid--page .gal__cap { transform: translateY(0); opacity: 1; }
.gal-grid--page .gal__cap span { opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.gal-grid--page .gal:hover .gal__cap span { opacity: 1; transform: translateY(0); }
@media (max-width: 860px){ .gal-grid.gal-grid--page { grid-template-columns: repeat(2,1fr); grid-auto-rows: 220px; } .gal-grid--page .gal--tall { grid-row: span 1; } }
@media (max-width: 560px){ .gal-grid.gal-grid--page { grid-template-columns: 1fr; } }

/* ---------- SRM Bouw overrides ---------- */
.brand__mark { font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: 0; white-space: nowrap; }
.header__phone span { white-space: nowrap; }

/* ============================================================
   FLOATING TOP BAR (desktop ≥1041px) — detached glass capsule,
   slide-in on load, cursor light, shrink on scroll, tuck away on
   scroll-down. Phone chrome (≤1040px) is untouched by this block.
   ============================================================ */
@media (min-width: 1041px){
  .header, .header.scrolled, body.video-bg .header.scrolled {
    top: 14px; padding: 0;
    background: transparent; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    transition: transform .65s var(--ease);
  }
  .header.is-hidden { transform: translateY(calc(-100% - 28px)); }

  .header__inner {
    position: relative; overflow: hidden; isolation: isolate;
    padding: 10px 10px 10px 16px; border-radius: 100px;
    background: rgba(251,247,240,.64);
    -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.6),
      0 0 0 1px rgba(16,14,11,.06),
      0 18px 50px -22px rgba(16,14,11,.35);
    transition: padding .45s var(--ease), background .45s var(--ease), box-shadow .45s var(--ease);
    animation: hdrIn .9s var(--ease) .05s backwards;
  }
  .header.scrolled .header__inner {
    padding: 6px 6px 6px 12px;
    background: rgba(251,247,240,.82);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.7),
      0 0 0 1px rgba(16,14,11,.08),
      0 24px 60px -24px rgba(16,14,11,.45);
  }
  .header__light {
    position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(31,63,191,.16), transparent 62%);
    transition: opacity .5s var(--ease);
  }
  .header__inner:hover .header__light { opacity: 1; }
  .header__inner > *:not(.header__light) { position: relative; z-index: 1; }

  @keyframes hdrIn { from { opacity: 0; transform: translateY(-30px) scale(.985); } to { opacity: 1; transform: none; } }
  @keyframes navIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
  .nav__a { animation: navIn .7s var(--ease) calc(.3s + var(--i, 0) * .07s) backwards; }
  .header__cta { animation: navIn .7s var(--ease) .62s backwards; }

  /* brand tightens as the bar shrinks */
  .brand__mark { transition: width .45s var(--ease), height .45s var(--ease); }
  .brand:hover .brand__mark { transform: rotate(-4deg); }
  .brand__mark { transition: width .45s var(--ease), height .45s var(--ease), transform .5s var(--ease); }
  .brand__name small { transition: opacity .3s, max-height .45s var(--ease), margin .45s var(--ease); max-height: 14px; overflow: hidden; }
  .header.scrolled .brand__mark { width: 36px; height: 36px; }
  .header.scrolled .brand__name small { opacity: 0; max-height: 0; margin-top: 0; }

  /* never let the brand shrink; make room by collapsing the phone to an icon */
  .brand { flex: none; }
  .brand__name { white-space: nowrap; }
  .nav__a { padding: 9px 13px; }
  .header__phone { transition: background .3s var(--ease), color .3s var(--ease); }
  @media (min-width: 1041px){
    .header__phone span { display: none; }
    .header__phone { width: 40px; height: 40px; border-radius: 50%; justify-content: center; box-shadow: inset 0 0 0 1px var(--line); }
    .header__phone:hover { background: var(--ink); }
    .header__phone:hover .ic-svg { color: var(--cream); }
  }

  /* nav pill lift */
  .nav__pill { box-shadow: 0 8px 18px -10px rgba(16,14,11,.6); }
  .nav { box-shadow: none; }
  .header.scrolled .nav { box-shadow: none; }
  .header__cta { gap: 12px; }
}
@media (prefers-reduced-motion: reduce){
  .header__inner, .nav__a, .header__cta { animation: none; }
  .header.is-hidden { transform: none; }
}

/* ============================================================
   LANGUAGE SWITCHER — NL · EN
   ============================================================ */
.lang {
  position: relative; display: inline-flex; align-items: center; gap: 1px;
  padding: 4px; border-radius: 100px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.lang__a {
  position: relative; z-index: 2;
  padding: 6px 9px; border-radius: 100px;
  font-size: .72rem; font-weight: 800; letter-spacing: .08em; line-height: 1;
  color: var(--muted); transition: color .35s var(--ease);
}
.lang__a:hover { color: var(--ink); }
.lang__a.is-active { color: var(--cream); }
.lang__pill {
  position: absolute; top: 4px; left: 0; height: calc(100% - 8px);
  width: 0; border-radius: 100px; background: var(--ink); opacity: 0; z-index: 1;
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s;
}
/* phones: a single compact button showing the current language; tap toggles NL↔EN */
@media (max-width: 1040px){
  .header__inner { position: relative; }
  .header__cta { display: block; position: absolute; top: 0; right: 0; }
  .header__cta .btn, .header__cta .header__phone { display: none; }
  .lang {
    padding: 0; background: rgba(251,247,240,.78);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: inset 0 0 0 1px rgba(16,14,11,.08), 0 6px 18px -10px rgba(16,14,11,.35);
  }
  .lang__pill { display: none; }
  .lang__a { display: none; }
  .lang__a.is-active { display: inline-flex; align-items: center; gap: 5px; padding: 11px 12px; color: var(--ink); font-size: .74rem; }
  .lang__a.is-active::after { content: ""; width: 5px; height: 5px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-1px,-1px); opacity: .6; }
}

/* ============================================================
   CONTACT HUB — one dark card: actions left, info tiles right
   ============================================================ */
.chub {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl); padding: clamp(30px, 5vw, 64px);
  background: linear-gradient(135deg, var(--ink), var(--ink-3));
  color: var(--cream); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(28px, 5vw, 64px) clamp(28px, 5vw, 72px);
  align-items: center;
}
body.video-bg .chub {
  background: rgba(16,14,11,.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.chub__glow { position: absolute; border-radius: 50%; filter: blur(44px); pointer-events: none; z-index: 0; }
.chub__glow--a { width: 560px; height: 560px; top: -240px; right: -140px; background: radial-gradient(circle, rgba(31,63,191,.55), transparent 65%); animation: chubFloat 14s ease-in-out infinite alternate; }
.chub__glow--b { width: 420px; height: 420px; bottom: -220px; left: -120px; background: radial-gradient(circle, rgba(201,162,75,.32), transparent 65%); animation: chubFloat 18s ease-in-out infinite alternate-reverse; }
@keyframes chubFloat { from { transform: translate(0,0); } to { transform: translate(-46px, 34px); } }
.chub__main, .chub__tiles, .chub__socials { position: relative; z-index: 1; }

.chub h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.05; margin-top: 16px; }
.chub__lead { margin-top: 18px; color: rgba(251,247,240,.72); font-size: 1.08rem; max-width: 46ch; }
.chub__actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.chub__actions .btn span { gap: .55em; }
.chub__actions .btn i { font-style: normal; }
.btn--wa { --bg: #25D366; --fg: #07301A; }
.btn--wa::before { background: #1FB558; }
.btn--wa:hover { --fg: #fff; box-shadow: 0 14px 30px -10px rgba(37,211,102,.55); }
.chub__note { margin-top: 20px; display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; color: rgba(251,247,240,.6); }
.chub__note i { width: 8px; height: 8px; border-radius: 50%; background: #34C759; animation: chubPulse 2.2s infinite; flex: none; }
@keyframes chubPulse { 0% { box-shadow: 0 0 0 0 rgba(52,199,89,.6); } 70% { box-shadow: 0 0 0 10px rgba(52,199,89,0); } 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0); } }

.chub__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ctile {
  position: relative; display: flex; flex-direction: column; gap: 3px; min-width: 0;
  padding: 20px 20px 18px; border-radius: var(--r);
  background: rgba(255,255,255,.06); color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1);
  transition: transform .5s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
a.ctile:hover { transform: translateY(-5px); background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(31,63,191,.75), 0 22px 44px -22px rgba(31,63,191,.7); }
.ctile__ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); margin-bottom: 10px; transition: background .4s var(--ease), transform .5s var(--ease); }
a.ctile:hover .ctile__ic { background: var(--ember); transform: rotate(-6deg) scale(1.06); }
.ctile small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(251,247,240,.55); font-weight: 700; }
.ctile b { font-family: var(--font-display); font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; }
.ctile b.ctile__mail { font-family: var(--font-body); font-weight: 700; font-size: .86rem; }
.ctile__arr { position: absolute; top: 16px; right: 16px; color: rgba(251,247,240,.35); transition: color .3s, transform .5s var(--ease); }
a.ctile:hover .ctile__arr { color: var(--cream); transform: translate(2px,-2px); }
.ctile--static { cursor: default; }

.chub__socials { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.chub__socials > span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(251,247,240,.5); font-weight: 700; margin-right: 6px; }
.chub__socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); transition: all .4s var(--ease); }
.chub__socials a:hover { background: var(--cream); color: var(--ink); transform: translateY(-4px); }

@media (max-width: 900px){ .chub { grid-template-columns: 1fr; align-items: start; } }
@media (max-width: 520px){ .chub { border-radius: var(--r-lg); } .chub__tiles { grid-template-columns: 1fr; } .chub__actions .btn { width: 100%; justify-content: center; } }

/* ============================================================
   EXTERNAL RATINGS (Zoofy · Werkspot) — js/ratings.js
   Score + stars + count only; the whole card links to the profile.
   ============================================================ */
.ratings { display: flex; flex-wrap: wrap; gap: 14px; }
.ratings__lead { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ember); }
.ratings__lead::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.rating-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 232px;
  padding: 18px 22px 16px; border-radius: var(--r); color: var(--ink); text-decoration: none;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
body.video-bg .rating-card { background: rgba(255,255,255,.74); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); }
.rating-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(31,63,191,.35), var(--shadow); }
.rating-card__brand { font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rating-card__row { display: flex; align-items: center; gap: 12px; }
.rating-card__score { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; font-weight: 800; }
.rating-card__stars { position: relative; display: inline-flex; height: 20px; }
.rating-card__stars > span { display: inline-flex; gap: 2px; white-space: nowrap; }
.rating-card__stars svg { width: 20px; height: 20px; flex: none; }
.rating-card__base svg { fill: var(--line); }
.rating-card__fill { position: absolute; inset: 0; overflow: hidden; width: var(--fill, 100%); }
.rating-card__fill svg { fill: var(--gold); }
.rating-card__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .84rem; color: var(--muted); }
.rating-card__meta b { color: var(--ink); }
.rating-card__link { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--ember); font-weight: 700; transition: gap .3s var(--ease); }
.rating-card:hover .rating-card__link { gap: 7px; }

/* compact variant (hero) */
.ratings--compact { gap: 10px; margin-top: 26px; }
.ratings--compact .rating-card { min-width: 0; flex: 1 1 200px; padding: 13px 16px 12px; gap: 3px; border-radius: 16px; }
.ratings--compact .rating-card__score { font-size: 1.45rem; }
.ratings--compact .rating-card__stars, .ratings--compact .rating-card__stars svg { height: 16px; }
.ratings--compact .rating-card__stars svg { width: 16px; }
.ratings--compact .rating-card__meta { font-size: .78rem; }

/* reviews page: cards side by side above the quotes */
.reviews .ratings { margin-bottom: 26px; }
.reviews .ratings .rating-card { flex: 1 1 260px; }
@media (max-width: 460px){
  .rating-card { min-width: 0; flex: 1 1 100%; }
}

/* ---------- client logo (replaces the SRM text mark; roofs-only mark below 1240px via <picture> in site.js) ---------- */
.brand__logo { display: block; height: 28px; width: auto; transition: height .45s var(--ease), transform .5s var(--ease); }
.brand:hover .brand__logo { transform: scale(1.03); }
@media (min-width: 1041px){
  .header.scrolled .brand__logo { height: 27px; }
  .header__cta .btn span, .nav__a { white-space: nowrap; }
  .nav { gap: 2px; }
  .nav__a { padding: 9px 12px; }
  .header__cta { gap: 10px; }
}
@media (max-width: 1240px){ .brand__logo { height: 36px; } }
.brand__logo--footer { height: 110px; padding: 12px 18px; border-radius: 16px; background: var(--cream); }
@media (max-width: 1240px){ .brand__logo--footer { height: 110px; } }

/* ============================================================
   HERO TRUST STRIP — stats + Zoofy/Werkspot in one glass bar under the hero grid
   ============================================================ */
.hero__trust {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); flex-wrap: wrap;
  margin-top: clamp(22px, 3vw, 34px); padding: 14px clamp(18px, 2.4vw, 28px);
  border-radius: var(--r-lg);
  background: rgba(251,247,240,.72); box-shadow: inset 0 0 0 1px rgba(16,14,11,.06), var(--shadow-sm);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
}
.hero__trust .hero__meta { margin-top: 0; gap: clamp(20px, 3vw, 44px); flex: none; padding-right: clamp(18px, 3vw, 40px); border-right: 1px solid var(--line); }
.hero__trust .hero__meta .m b { font-size: 1.55rem; }
.hero__trust .hero__meta .m span { display: block; margin-top: 4px; white-space: nowrap; }
.hero__trust .ratings--compact { margin-top: 0; flex: 1 1 380px; }
.hero__trust .rating-card { box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); }
body.video-bg .hero__trust .rating-card { background: rgba(255,255,255,.85); -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 1040px){
  .hero__trust { gap: 16px; }
  .hero__trust .hero__meta { width: 100%; padding-right: 0; border-right: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); justify-content: space-between; }
  .hero__trust .ratings--compact { flex-basis: 100%; }
}
@media (max-width: 760px){
  .hero__trust { margin-top: 26px; padding: 14px 16px; }
  .hero__trust .hero__meta { gap: 10px; }
  .hero__trust .hero__meta .m { flex: 1 1 0; }
  .hero__trust .hero__meta .m b { font-size: 1.35rem; }
  .hero__trust .hero__meta .m span { white-space: normal; font-size: .74rem; line-height: 1.2; }
  .hero__trust .ratings--compact .rating-card { flex-basis: 100%; }
}

/* phones/tablets: the floating chrome gets its own glass card so content never scrolls through the logo + tabs */
@media (max-width: 1040px){
  .header__inner, .header.scrolled .header__inner {
    padding: 8px 8px 6px; border-radius: 24px;
    background: rgba(251,247,240,.78);
    -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 0 0 1px rgba(16,14,11,.06), 0 14px 40px -22px rgba(16,14,11,.4);
  }
  .brand { text-shadow: none; }
  .header__cta { top: 8px; right: 8px; }
}

/* phones: CTA headline was breaking mid-word ("verbouwin-g") — drop the forced line break and size to the card */
@media (max-width: 600px){
  .cta__inner { padding-left: 22px; padding-right: 22px; }
  .cta h2 { font-size: clamp(1.7rem, 8.2vw, 2.4rem); overflow-wrap: normal; word-break: normal; }
}

/* phones: no forced <br> orphans in page titles; hide the scrollbar under the swipeable filter row */
@media (max-width: 600px){
  .gallery__tools { scrollbar-width: none; -ms-overflow-style: none; }
  .gallery__tools::-webkit-scrollbar { display: none; }
}

/* inner-page intro: the muted lead was unreadable over the bright photo — give it its own glass card */
.page-hero .lead {
  color: var(--ink-3); padding: 18px 22px; border-radius: 18px;
  background: rgba(251,247,240,.62); box-shadow: inset 0 0 0 1px rgba(16,14,11,.05);
  -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3);
}
/* active gallery filter lost its dark fill under the video-bg glass rule — restore it */
body.video-bg .filter.is-active { background: var(--ink); color: var(--cream); }

.cta h2 { max-width: 16ch; margin-left: auto; margin-right: auto; }
