.wia-site { margin:0;overflow-x:clip; }
.wia-block-home-trust .trust__icon { color:#fff; }
.wia-site > .wia-chrome { display:contents; }
.wia-block[style*="--wia-section-bg"] > section { background:var(--wia-section-bg); }
.wia-block[style*="--wia-section-spacing"] > section { padding-top:var(--wia-section-spacing);padding-bottom:var(--wia-section-spacing); }
.wia-site .wia-chrome .nav__logo img { width:var(--wia-logo-width,218px);height:auto; }
.wia-site .wia-chrome .wia-logo-alternate { display:none; }
.wia-site .wia-chrome .header.is-stuck .nav__logo:has(.wia-logo-alternate) .wia-logo-main { display:none; }
.wia-site .wia-chrome .header.is-stuck .wia-logo-alternate { display:inline; }
.wia-site .wia-chrome .wia-static { position:relative; }
.wia-site .wia-chrome .wia-header-compact .nav { min-height:72px; }
.wia-site .wia-chrome .menu-item-has-children { position:relative; }
.wia-site .wia-chrome .sub-menu { display:none;position:absolute;top:100%;left:0;min-width:240px;background:white;padding:16px;list-style:none;box-shadow:0 8px 24px #001d3d26; }
.wia-site .wia-chrome .menu-item-has-children:hover > .sub-menu,.wia-site .wia-chrome .menu-item-has-children:focus-within > .sub-menu { display:block; }
.wia-site .wia-chrome .sub-menu a { display:block;padding:8px;color:var(--ink,#001d3d); }
.wia-site .wia-chrome .nav__menu > .menu-item-has-children { display:flex;align-items:center; }
.wia-site .wia-chrome .nav__menu > .menu-item-has-children > a { padding-right:4px; }
.wia-site .wia-chrome .wia-submenu-toggle { display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;height:40px;background:none;border:0;color:var(--ink,#001d3d);padding:0;line-height:1;cursor:pointer; }
.wia-site .wia-chrome .wia-submenu-toggle::before { content:"";display:block;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s ease; }
.wia-site .wia-chrome .wia-submenu-toggle[aria-expanded="true"]::before { transform:translateY(2px) rotate(225deg); }
.wia-site .wia-chrome .wia-submenu-open > .sub-menu { display:block; }
.wia-site :is(.wia-block,.wia-chrome) :focus-visible { outline:3px solid #fca311;outline-offset:4px; }
.wia-block .wia-honeypot { position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden; }
.wia-block [hidden] { display:none!important; }
.wia-form-status { background:#dce9f5;color:#001d3d;padding:20px;text-align:center; }
.wia-block img { max-width:100%; }
.wia-block details summary { cursor:pointer; }
.wia-block details[open] summary { color:var(--brand,#00296b); }
.wia-site .skip-link { position:absolute;left:-10000px; }
.wia-site .skip-link:focus { position:fixed;left:16px;top:16px;z-index:9999;background:white;color:#001d3d;padding:16px; }
@media(max-width:980px) {
 .wia-site .wia-chrome .sub-menu { position:static;box-shadow:none; }
}
@media(max-width:1040px) {
 .wia-site .wia-chrome .nav__menu > .menu-item-has-children { flex-wrap:wrap; }
 .wia-site .wia-chrome .nav__menu > .menu-item-has-children > a { flex:1; }
 .wia-site .wia-chrome .wia-submenu-toggle { flex-basis:44px;width:44px;height:44px; }
 .wia-site .wia-chrome .nav__menu > .menu-item-has-children > :is(.sub-menu,.nav__drop) { flex-basis:100%;width:100%; }
}
/* Primary menu (inc/chrome.php). Desktop: the caret opens the dropdown on hover
   and focus. "Onze diensten" opens a panel of cards, one per service group with
   the photo of its page; the first group is the large card, a call card closes
   the panel. Mobile: a button per top item opens its list in the side menu.
   The panel runs over the full content width of the header (logo to the quote
   button), the large card fills the left column from top to bottom and the call
   card spans the columns under the small cards, so all four sides line up.
   The row span of the large card counts the small cards: 6 groups in 2 columns
   is 3 rows + the call card = span 4, in 3 columns (from 1500px) 2 rows + call
   card = span 3.
   Add or remove a group in the menu and those two numbers change with it. */
.wia-site .wia-chrome .nav { position:relative; }
.wia-site .wia-chrome .footer__nap address { font-style:normal; }
.wia-site .wia-chrome .wia-submenu-toggle { display:none; }
.wia-site .wia-chrome .nav__drop::before { content:"";position:absolute;left:0;right:0;bottom:100%;height:14px; }
.wia-site .wia-chrome .nav__card { display:flex;align-items:center;gap:12px;padding:0;background:none;font-family:var(--font-head);font-weight:700;font-size:.98rem;color:var(--brand); }
.wia-site .wia-chrome .nav__card:hover { background:none;color:var(--brand-600); }
.wia-site .wia-chrome .nav__group a { padding:6px 14px;font-size:.9rem; }
.wia-site .wia-chrome .nav__promo { display:none; }
@media(min-width:1041px) {
 .wia-site .wia-chrome .nav__menu > .nav__item--mega { position:static; }
 /* 27rem keeps the two link columns of the large card (chevron included) wide enough for
    "Bitumen dakbedekking" on one line. */
 .wia-site .wia-chrome .nav__item--mega > .nav__drop { top:100%;left:var(--gutter);right:var(--gutter);width:auto;display:grid;grid-template-columns:minmax(27rem,1.25fr) repeat(2,minmax(0,1fr));grid-auto-rows:minmax(84px,auto);gap:10px 16px;padding:14px;border-radius:14px;--nav-thumb:72px; }
 .wia-site .wia-chrome .nav__item--mega > .nav__drop::before { height:30px; }
 .wia-site .wia-chrome .nav__item--mega > .nav__drop > li { border-radius:var(--r-lg);padding:12px;transition:background .2s ease; }
 .wia-site .wia-chrome .nav__item--mega > .nav__drop > li:hover { background:var(--brand-50); }
 .wia-site .wia-chrome .nav__item--mega > .nav__drop > li:first-child { grid-row:span 4;background:var(--brand-50);padding:14px 16px 16px; }
 .wia-site .wia-chrome .nav__thumb { flex:none;width:var(--nav-thumb);height:var(--nav-thumb);border-radius:var(--r-lg);overflow:hidden;background:var(--line);box-shadow:0 4px 12px rgba(0,29,61,.12); }
 .wia-site .wia-chrome .nav__thumb img { display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease; }
 .wia-site .wia-chrome .nav__card:hover .nav__thumb img { transform:scale(1.06); }
 /* Small cards, as in "Dakrenovatie Services Mega Menu.png": the photo on the
    left, the title with its amber bar and the sublinks stacked to its right.
    The photo hangs in the left padding of the card, so the sublinks (which sit
    outside the link) line up with the title. */
 .wia-site .wia-chrome .nav__item--mega > .nav__drop > li:not(:first-child):not(.nav__promo) { position:relative;min-height:calc(var(--nav-thumb) + 24px);padding-left:calc(12px + var(--nav-thumb) + 16px); }
 .wia-site .wia-chrome .nav__drop > li:not(:first-child) > .nav__card { display:block;font-size:var(--nav-title,1.1rem); }
 .wia-site .wia-chrome .nav__drop > li:not(:first-child) .nav__thumb { position:absolute;left:12px;top:12px; }
 .wia-site .wia-chrome .nav__drop > li:not(:first-child) .nav__title { display:block;padding-top:8px; }
 .wia-site .wia-chrome .nav__title::after { content:"";display:block;width:40px;height:3px;margin-top:8px;border-radius:2px;background:var(--accent); }
 .wia-site .wia-chrome .nav__drop > li:first-child > .nav__card { flex-direction:column;align-items:stretch;gap:14px;font-size:1.35rem; }
 .wia-site .wia-chrome .nav__drop > li:first-child .nav__title::after { width:64px;margin-top:10px; }
 /* 180 en niet 130: bij 130px was de kaart bijna 3:1 en bleef van een staande
    foto nog maar 28% van de hoogte over, te weinig voor hoofd en logo samen
    (focuspunten in inc/images.php). */
 .wia-site .wia-chrome .nav__drop > li:first-child .nav__thumb { width:100%;height:180px; }
 .wia-site .wia-chrome .nav__group { margin:8px 0 0; }
 .wia-site .wia-chrome .nav__drop > li:first-child > .nav__group { margin:12px 0 0;columns:2;column-gap:16px; }
 .wia-site .wia-chrome .nav__drop > li:first-child > .nav__group > li { break-inside:avoid; }
 .wia-site .wia-chrome .nav__group a { padding:4px 0;font-size:.9rem;font-weight:500;color:var(--ink);background:none; }
 .wia-site .wia-chrome .nav__group a:hover { background:none;color:var(--brand-600); }
 /* Amber chevrons before the links of the large card. */
 .wia-site .wia-chrome .nav__drop > li:first-child > .nav__group a { display:flex;align-items:center;gap:8px;padding:5px 0;font-size:.92rem;white-space:nowrap; }
 .wia-site .wia-chrome .nav__drop > li:first-child > .nav__group a::before { content:"";flex:none;width:6px;height:6px;margin-right:2px;border-top:2px solid var(--accent);border-right:2px solid var(--accent);transform:rotate(45deg); }
 /* The call card as one bar under the small cards: phone icon, a divider,
    the text, and the button on the right. */
 .wia-site .wia-chrome .nav__promo { grid-column:2 / -1;display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:20px;align-items:center;align-content:center;background:var(--brand);color:#fff;border-radius:var(--r-lg);padding:18px 20px; }
 .wia-site .wia-chrome .nav__item--mega > .nav__drop > .nav__promo:hover { background:var(--brand); }
 .wia-site .wia-chrome .nav__promo-icon { display:grid;place-items:center;width:52px;height:52px;border:2px solid #fff;border-radius:50%; }
 .wia-site .wia-chrome .nav__promo-icon svg { width:24px;height:24px; }
 .wia-site .wia-chrome .nav__promo-text { display:grid;gap:2px;padding-left:20px;border-left:1px solid rgba(255,255,255,.35); }
 .wia-site .wia-chrome .nav__promo b { font-family:var(--font-head);font-size:1.2rem;line-height:1.25; }
 .wia-site .wia-chrome .nav__promo p { margin:0;font-size:.95rem;color:#fff; }
 .wia-site .wia-chrome .nav__promo .btn { display:inline-flex;align-items:center;gap:10px;align-self:center;padding:12px 22px;font-size:.92rem;font-weight:700;color:var(--brand);background:var(--accent);border-radius:var(--r-pill);white-space:nowrap; }
 .wia-site .wia-chrome .nav__promo-arrow { width:18px;height:18px; }
 .wia-site .wia-chrome .nav__promo .btn:hover { background:#fff;color:var(--brand); }
}
@media(min-width:1041px) and (max-width:1179px) {
 .wia-site .wia-chrome .nav__item--mega > .nav__drop { --nav-thumb:64px;--nav-title:.95rem; }
}
/* Three columns of small cards only from 1500px: below that a title like
   "Dakonderhoud" no longer fits next to its photo. */
@media(min-width:1500px) {
 .wia-site .wia-chrome .nav__item--mega > .nav__drop { grid-template-columns:minmax(27rem,1.25fr) repeat(3,minmax(0,1fr));--nav-thumb:88px; }
 .wia-site .wia-chrome .nav__item--mega > .nav__drop > li:first-child { grid-row:span 3; }
}
@media(max-width:1040px) {
 /* A backdrop filter makes the header the frame of the fixed side menu and cuts it off. */
 .wia-site .wia-chrome .header { backdrop-filter:none;-webkit-backdrop-filter:none;background:#fff; }
 .wia-site .wia-chrome .wia-submenu-toggle { display:inline-flex; }
 .wia-site .wia-chrome .nav__caret,.wia-site .wia-chrome .nav__drop::before,.wia-site .wia-chrome .nav__thumb { display:none; }
 .wia-site .wia-chrome .nav__card { padding:9px 14px;font-size:.94rem; }
 .wia-site .wia-chrome .nav__item--mega > .nav__drop > li { margin-bottom:6px; }
 .wia-site .wia-chrome .nav__group { margin-left:12px; }
}
/* --------------------------------------------------------------------------
   Mobile side menu (header.php, .nav__panel)
   Desktop: the panel is display:contents, so the menu is a normal flex item of
   the header bar and the panel head and foot do not exist.
   From 1040px down (the hamburger breakpoint, also in theme.js) the panel is
   the off-canvas menu: a sticky head with the logo and a close button, the
   menu as a list with dividers, and a foot with the call card, the quote
   button and the contact details. The blue top bar is hidden there, its
   address and e-mail live in the foot of the menu instead.
   -------------------------------------------------------------------------- */
.wia-site .wia-chrome .nav__panel { display:contents; }
.wia-site .wia-chrome .nav__panel-head,
.wia-site .wia-chrome .nav__panel-foot { display:none; }
@keyframes wia-call-pulse { 0% { box-shadow:0 0 0 0 rgba(252,163,17,.55); } 70%,100% { box-shadow:0 0 0 12px rgba(252,163,17,0); } }
@media(max-width:1040px) {
 .wia-site .wia-chrome .topbar { display:none; }
 .wia-site.nav-open { overflow:hidden; }
 .wia-site .wia-chrome .nav-backdrop { background:rgba(0,29,61,.6);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px); }

 .wia-site .wia-chrome .nav__panel { position:fixed;top:0;right:0;bottom:0;z-index:90;display:flex;flex-direction:column;width:min(420px,92vw);background:#fff;overflow-y:auto;overscroll-behavior:contain;box-shadow:-18px 0 50px rgba(0,29,61,.28);transform:translateX(100%);visibility:hidden;transition:transform .38s cubic-bezier(.22,1,.36,1),visibility 0s linear .38s; }
 .wia-site .wia-chrome .nav__panel.is-open { transform:none;visibility:visible;transition:transform .38s cubic-bezier(.22,1,.36,1),visibility 0s; }
 /* Logged in, the WordPress admin bar lies over the top of the page: keep the close button below it. */
 .wia-site.admin-bar .wia-chrome .nav__panel { top:var(--wp-admin--admin-bar--height,0px); }

 .wia-site .wia-chrome .nav__panel-head { position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px 12px 22px;background:#fff;border-bottom:1px solid var(--line); }
 .wia-site .wia-chrome .nav__panel-logo { display:block;line-height:0; }
 .wia-site .wia-chrome .nav__panel-logo img { display:block;width:112px;height:auto; }
 .wia-site .wia-chrome .nav__close { display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:var(--brand);color:#fff;cursor:pointer;transition:background .2s ease,color .2s ease,transform .25s ease; }
 .wia-site .wia-chrome .nav__close svg { width:20px;height:20px; }
 .wia-site .wia-chrome .nav__close:hover { background:var(--accent);color:var(--brand);transform:rotate(90deg); }

 /* The menu itself: no longer the fixed panel (theme.css), just a list inside it. */
 .wia-site .wia-chrome .nav__panel .nav__menu { position:static;inset:auto;z-index:auto;display:flex;flex-direction:column;align-items:stretch;gap:0;width:auto;margin:0;padding:6px 22px 18px;overflow:visible;box-shadow:none;transform:none;transition:none; }
 .wia-site .wia-chrome .nav__panel .nav__menu > li { border-bottom:1px solid var(--line); }
 .wia-site .wia-chrome .nav__panel .nav__menu > li:last-child { border-bottom:0; }
 .wia-site .wia-chrome .nav__panel .nav__menu > li > a { display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:16px 2px;font-size:1.08rem;font-weight:600;color:var(--ink);background:none;border-radius:0; }
 .wia-site .wia-chrome .nav__panel .nav__menu > li > a:hover { color:var(--brand-600);background:none; }
 .wia-site .wia-chrome .nav__panel .nav__menu > li > a[aria-current="page"] { color:var(--brand-600); }
 .wia-site .wia-chrome .nav__panel .nav__menu > li > a[aria-current="page"]::before { content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--accent); }
 .wia-site .wia-chrome .nav__panel .wia-submenu-toggle { flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:var(--brand-50);color:var(--brand);transition:background .2s ease,color .2s ease; }
 .wia-site .wia-chrome .nav__panel .wia-submenu-toggle[aria-expanded="true"] { background:var(--brand);color:#fff; }

 /* Open submenu: a soft card under its item. */
 .wia-site .wia-chrome .nav__panel .nav__drop,
 .wia-site .wia-chrome .nav__panel .sub-menu { margin:0 0 14px;padding:8px;border:0;border-radius:var(--r-lg);background:var(--brand-50); }
 .wia-site .wia-chrome .nav__panel .nav__drop > li { margin:0; }
 .wia-site .wia-chrome .nav__panel .nav__drop > li + li:not(.nav__promo) { border-top:1px solid rgba(0,41,107,.08); }
 .wia-site .wia-chrome .nav__panel .nav__card { padding:11px 10px;font-size:1rem;color:var(--brand); }
 .wia-site .wia-chrome .nav__panel .nav__group { margin:0 0 8px 12px;padding-left:10px;border-left:2px solid rgba(0,41,107,.14); }
 .wia-site .wia-chrome .nav__panel .nav__group a,
 .wia-site .wia-chrome .nav__panel .sub-menu a { padding:7px 8px;font-size:.92rem;font-weight:500;color:var(--ink);background:none; }
 .wia-site .wia-chrome .nav__panel .nav__drop a:hover { color:var(--brand-600);background:none; }

 /* Foot: call card, quote button, contact details. */
 .wia-site .wia-chrome .nav__panel-foot { display:grid;gap:14px;margin-top:auto;padding:20px 22px calc(22px + env(safe-area-inset-bottom));background:var(--brand-50);border-top:1px solid var(--line); }
 .wia-site .wia-chrome .nav__panel-call { display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:var(--r-lg);background:var(--brand);color:#fff;box-shadow:0 10px 24px rgba(0,41,107,.25);transition:transform .2s ease; }
 .wia-site .wia-chrome .nav__panel-call:hover { transform:translateY(-2px);color:#fff; }
 .wia-site .wia-chrome .nav__panel-call-icon { display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:50%;background:var(--accent);color:var(--brand);animation:wia-call-pulse 2.2s ease-out infinite; }
 .wia-site .wia-chrome .nav__panel-call-icon svg { width:22px;height:22px; }
 .wia-site .wia-chrome .nav__panel-call-text { display:grid;gap:2px;min-width:0;line-height:1.25; }
 .wia-site .wia-chrome .nav__panel-call small { font-size:.7rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase;color:rgba(255,255,255,.75); }
 .wia-site .wia-chrome .nav__panel-call b { font-size:1.3rem;font-weight:700;letter-spacing:.01em;color:#fff; }
 .wia-site .wia-chrome .nav__panel-call-text > span { font-size:.8rem;font-weight:600;color:var(--accent); }
 .wia-site .wia-chrome .nav__panel-foot > .btn { width:100%;justify-content:center;text-align:center; }
 .wia-site .wia-chrome .nav__panel-info { display:grid;gap:8px;margin:2px 0 0;padding:0;list-style:none;font-size:.86rem;line-height:1.45;color:var(--muted); }
 .wia-site .wia-chrome .nav__panel-info li { display:flex;align-items:flex-start;gap:10px; }
 .wia-site .wia-chrome .nav__panel-info svg { flex:none;width:16px;height:16px;margin-top:2px;color:var(--brand-600); }
 .wia-site .wia-chrome .nav__panel-info a { font-weight:600;color:var(--ink);overflow-wrap:anywhere; }
 .wia-site .wia-chrome .nav__panel-social { display:flex;gap:10px; }
 .wia-site .wia-chrome .nav__panel-social a { display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#fff;border:1px solid var(--line);color:var(--brand);transition:background .2s ease; }
 .wia-site .wia-chrome .nav__panel-social a:hover { background:var(--accent); }
 .wia-site .wia-chrome .nav__panel-social svg { width:16px;height:16px; }

 /* The items slide in one after another once the panel opens. */
 .wia-site .wia-chrome .nav__panel .nav__menu > li,
 .wia-site .wia-chrome .nav__panel-foot { opacity:0;transform:translateX(18px);transition:opacity .3s ease,transform .35s cubic-bezier(.22,1,.36,1); }
 .wia-site .wia-chrome .nav__panel.is-open .nav__menu > li,
 .wia-site .wia-chrome .nav__panel.is-open .nav__panel-foot { opacity:1;transform:none; }
 .wia-site .wia-chrome .nav__panel.is-open .nav__menu > li:nth-child(1) { transition-delay:.08s; }
 .wia-site .wia-chrome .nav__panel.is-open .nav__menu > li:nth-child(2) { transition-delay:.12s; }
 .wia-site .wia-chrome .nav__panel.is-open .nav__menu > li:nth-child(3) { transition-delay:.16s; }
 .wia-site .wia-chrome .nav__panel.is-open .nav__menu > li:nth-child(4) { transition-delay:.2s; }
 .wia-site .wia-chrome .nav__panel.is-open .nav__menu > li:nth-child(n+5) { transition-delay:.24s; }
 .wia-site .wia-chrome .nav__panel.is-open .nav__panel-foot { transition-delay:.28s; }
}
@media(prefers-reduced-motion:reduce) { .wia-block *, .wia-chrome * { animation:none!important;transition:none!important;scroll-behavior:auto!important; } }

/* --------------------------------------------------------------------------
   Boxed layout (Appearance > Customize > Site layout)
   Every .wrap, from the top bar to the footer, is capped at the box width plus
   the gutter on both sides, so all sections keep one left and one right edge.
   Section backgrounds stay full width. --wia-box-width comes from the
   Customizer (inc/setup.php). With "Full width" none of this applies.
   -------------------------------------------------------------------------- */
.wia-site.wia-layout-boxed { --wrap: calc(var(--wia-box-width, 1320px) + 2 * var(--gutter)); }
.wia-layout-boxed .wia-nh { --nh-wrap: calc(var(--wia-box-width, 1320px) + 2 * var(--nh-gutter)); }

/* The extra columns for very wide windows are meant for full width. Inside the
   box they would squeeze the cards and city names, so the grids keep the
   column count they have below 1800px. */
@media (min-width: 1800px) {
  .wia-layout-boxed .work__grid,
  .wia-layout-boxed .home-services .work__grid { grid-template-columns: repeat(4, 1fr); }
  .wia-layout-boxed .work__grid--3,
  .wia-layout-boxed .home-services .work__grid--3 { grid-template-columns: repeat(3, 1fr); }
  .wia-layout-boxed .cities,
  .wia-layout-boxed .home-service-area .cities,
  .wia-layout-boxed .wia-service-area .cities { grid-template-columns: repeat(6, 1fr); }
  .wia-layout-boxed .wia-nh .reviews-carousel { --per: 3; }
}

/* --------------------------------------------------------------------------
   Footer: room for the fixed call bar (footer.php)

   The bottom row carries the legal links from wia_legal_links(), and those
   have to be readable on every device. theme.css reserves room for the bar
   with padding-bottom on :where(.wia-block,.wia-chrome), but
   .wia-site > .wia-chrome is display:contents here, so that element has no box
   and the padding is dropped. The footer itself does have a box.

   --wia-callbar-h is the bar's measured height, set by assets/js/theme.js on
   load, on resize and whenever the bar itself changes size. Measuring beats a
   fixed number here: the buttons wrap on a narrow screen and the bar's own
   padding grows with env(safe-area-inset-bottom) on a phone with a home
   indicator, so a hard 76px can come up short on exactly the devices where
   the overlap is worst. The 76px below is only the no-JavaScript fallback;
   env() is added to it for the same reason. The 24px on top is breathing
   room so the last line sits clear of the bar instead of against it.

   The selector deliberately starts at .wia-chrome, not .wia-site .wia-chrome:
   it still outscores theme.css (0,2,0 against 0,1,0) and it keeps working if
   the body ever loses its wia-site class.
   -------------------------------------------------------------------------- */
@media(max-width:1040px) {
 .wia-chrome .footer { padding-bottom:calc(var(--wia-callbar-h, calc(76px + env(safe-area-inset-bottom))) + 24px); }
}

/* --------------------------------------------------------------------------
   Back to top (footer.php, revealed by assets/js/theme.js)

   Shape and colours follow .nav__close, the other round chrome button:
   navy circle, white icon, amber on hover. z-index 60 keeps it under the call
   bar (70), the backdrop (80) and the side menu (90), so it never covers the
   navigation or the fixed call buttons.

   The offset adds --wia-callbar-h, the call bar's measured height, so the
   button rides above the bar on mobile and drops to the plain 24px on desktop,
   where theme.js clears the property. The button is only revealed by that same
   script, so the value is always set by the time it can be seen.
   -------------------------------------------------------------------------- */
.wia-site .wia-chrome .to-top {
  position:fixed;right:clamp(16px,2vw,32px);
  /* Above 1040px the bar is display:none and theme.js clears the property, so
     this falls back to a plain 24px. Below 1040px the fallback is the same
     76px + safe area the footer uses, see the block above: measured once under
     heavy load, the button was read before theme.js had set the height and sat
     39px over the bar. The fallback makes that state impossible. */
  bottom:calc(24px + var(--wia-callbar-h, 0px));
  z-index:60;display:grid;place-items:center;
  width:48px;height:48px;padding:0;border:0;border-radius:50%;
  background:var(--brand);color:#fff;cursor:pointer;
  box-shadow:0 6px 20px rgba(0,41,107,.28);
  opacity:0;visibility:hidden;transform:translateY(10px);
  transition:opacity .22s ease,transform .22s ease,visibility .22s ease,background .2s ease,color .2s ease;
}
.wia-site .wia-chrome .to-top svg { width:21px;height:21px; }
.wia-site .wia-chrome .to-top.is-visible { opacity:1;visibility:visible;transform:none; }
.wia-site .wia-chrome .to-top:hover { background:var(--accent);color:var(--brand); }
.wia-site .wia-chrome .to-top:focus-visible { outline:3px solid var(--brand-600);outline-offset:3px; }
/* With the side menu open the button would sit on top of the backdrop. */
.wia-site.nav-open .wia-chrome .to-top { opacity:0;visibility:hidden;transform:translateY(10px); }
@media(max-width:1040px) {
  .wia-site .wia-chrome .to-top { bottom:calc(24px + var(--wia-callbar-h, calc(76px + env(safe-area-inset-bottom)))); }
}
@media print { .wia-site .wia-chrome .to-top { display:none; } }

/* The homepage hero reorder that lifts the quote form into the first screen on
   a phone lives in blocks/home-hero/home-hero.css, not here: it is specific to
   that one block, and that stylesheet loads after this one, so a rule here at
   the same specificity would lose to it anyway. */
