/* Shared public shell. Keep the menu breakpoint in sync with navigation.js. */
.site-header {
  display: flex;
  position: sticky;
  top: 0;
  z-index: 80;
  min-height: 78px;
  gap: 24px;
  padding: 0 max(28px, calc((100vw - 1200px) / 2));
  border-bottom: 1px solid #dfe5dc;
  background: #fff;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-family: "Hanken Grotesk", sans-serif;
}

.site-header.is-scrolled { background: #fff; box-shadow: 0 2px 8px #183f3508; }
.site-header .brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: #183f35;
  font-family: inherit;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}
.site-header .brand-logo { width: 46px; height: 46px; object-fit: contain; border-radius: 0; }
.site-header .brand-name { white-space: nowrap; }
.site-header .site-nav {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  width: auto;
  margin: 0 0 0 auto;
  padding: 0;
  overflow: visible;
}
.site-header .site-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #314b42;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color 150ms ease, background-color 150ms ease;
}
.site-header .site-nav a:hover { color: #183f35; background: #f0f3e9; }
.site-header .site-nav a.is-active { color: #183f35; background: #edf1de; font-weight: 700; }
.site-header .site-nav a.is-active::after { display: none; }
.site-header .site-nav .nav-estimate {
  gap: 12px;
  margin-left: 10px;
  padding-inline: 18px;
  border: 1px solid #183f35;
  border-radius: 8px;
  background: #183f35;
  color: #fff;
  font-weight: 600;
}
.site-header .site-nav .nav-estimate:hover { background: #2b5549; color: #fff; }
.site-header .language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
}
.site-header .language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 44px;
  padding: 6px;
  color: #617168;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .015em;
  border-radius: 6px;
}
.site-header .language-switch a.is-active { color: #183f35; background: #edf1de; font-weight: 800; }
.site-header .language-switch a:hover { color: #183f35; background: #f0f3e9; }
.site-header .nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid #d4ddd4;
  border-radius: 8px;
  background: #fff;
  color: #183f35;
  font: 600 13px/1 "Hanken Grotesk", sans-serif;
  cursor: pointer;
}
.site-header .nav-toggle:hover,
.site-header .nav-toggle[aria-expanded="true"] { background: #edf1de; }
.nav-toggle-icon { flex: 0 0 auto; }
.site-header [hidden] { display: none !important; }
.site-header :is(a, button):focus-visible,
.status-banner a:focus-visible { outline: 2px solid #183f35; outline-offset: 3px; }

/* The announcement stays fully readable, including administrator-written text. */
.status-banner { animation: none; box-shadow: none; font-family: "Hanken Grotesk", sans-serif; }
.status-banner::before { display: none; }
.status-banner--info { background: #edf1de; color: #183f35; }
.status-banner--success { background: #e2eedf; color: #183f35; }
.status-banner--warning { background: #f6c790; color: #46311d; }
.status-banner .status-banner-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  max-width: 1256px;
  padding: 8px 28px;
  text-align: left;
}
.status-banner .status-banner-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  margin: 0;
  background: none;
  animation: none;
  backdrop-filter: none;
}
.status-banner .status-banner-text {
  flex: 1 1 auto;
  max-width: none;
  color: inherit;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  text-shadow: none;
  text-align: left;
}
.status-banner .status-banner-cta {
  min-height: 36px;
  margin: 0;
  padding: 7px 4px;
  border-radius: 4px;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: none;
}
.status-banner .status-banner-cta:hover { box-shadow: none; transform: none; text-decoration-thickness: 2px; }

/* A local service: a person to call, then the useful links. */
.site-footer {
  padding: 62px max(28px, calc((100vw - 1200px) / 2)) 22px;
  border: 0;
  background: #183f35;
  color: #e5ece3;
  font-family: "Hanken Grotesk", sans-serif;
}
.site-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 56px;
}
.site-footer .footer-brand { display: block; }
.site-footer .footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 27px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
  text-decoration: none;
}
.footer-wordmark img { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 8px; }
.site-footer .footer-address { max-width: 40ch; margin: 20px 0 0; color: #d5e0d4; font-size: 15px; line-height: 1.7; }
.footer-address > span { display: block; }
.site-footer .footer-phone { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: #fff; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.site-footer .footer-contact { display: inline-flex; align-items: center; min-height: 44px; gap: 18px; margin-top: 2px; color: #f6c790; font-size: 14px; font-weight: 500; text-decoration: none; }
.site-footer .footer-navigation { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding-top: 10px; }
.site-footer .footer-nav-title { margin: 0 0 17px; color: #f6c790; font-size: 13px; font-weight: 600; line-height: 1.4; }
.site-footer .footer-navigation a { display: inline-flex; align-items: center; justify-content: flex-start; min-height: 40px; color: #f7f8f4; font-size: 15px; font-weight: 400; line-height: 1.4; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer a:focus-visible { outline: 2px solid #f6c790; outline-offset: 4px; border-radius: 3px; }
.site-footer .footer-bottom { margin-top: 46px; padding-top: 18px; border-top: 1px solid #ffffff24; }
.site-footer .footer-credit { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 0; color: #c5d3c7; font-size: 12px; font-weight: 400; letter-spacing: 0; }
.site-footer .footer-credit a { display: inline-flex; align-items: center; min-height: 32px; color: #d5e0d4; font-weight: 500; }
.site-footer .footer-legal { margin-left: auto; padding-inline: 16px; }
.site-footer .footer-credit .footer-admin { min-width: 32px; min-height: 32px; justify-content: center; margin: 0; color: #d5e0d4; opacity: 1; }
.site-footer .footer-admin:hover,
.site-footer .footer-admin:focus-visible { background: #ffffff12; color: #fff; }

@media (max-width: 1050px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-rows: minmax(64px, auto);
    min-height: 65px;
    gap: 0 10px;
    padding: 0 20px;
  }
  .site-header .brand { grid-area: 1 / 1; min-width: 0; font-size: 23px; gap: 8px; }
  .site-header .brand-logo { width: 38px; height: 38px; }
  .site-header .language-switch { grid-area: 1 / 2; }
  .site-header .nav-toggle { grid-area: 1 / 3; }
  .site-header .site-nav {
    grid-area: 2 / 1 / auto / -1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    width: 100%;
    max-height: calc(100dvh - 150px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    padding: 10px 0 18px;
    border-top: 1px solid #dfe5dc;
  }
  .site-header .site-nav a { justify-content: flex-start; min-height: 46px; padding: 12px; font-size: 16px; }
  .site-header .site-nav .nav-estimate { justify-content: space-between; margin: 6px 0 0; padding-inline: 14px; }
  .site-footer .footer-main { gap: 32px; }
}

@media (max-width: 820px) {
  .site-footer { padding: 46px 24px calc(100px + env(safe-area-inset-bottom, 0px)); }
  .site-footer .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
  .site-footer .footer-navigation { padding-top: 0; }
  .site-footer .footer-navigation a { min-height: 44px; }
  .site-footer .footer-bottom { margin-top: 30px; }
  .site-footer .footer-credit { gap: 2px 4px; }
  .site-footer .footer-legal { margin-left: 0; padding-left: 0; }
  .site-footer .footer-credit .footer-admin { min-width: 44px; min-height: 44px; margin-left: auto; }
  .mobile-cta {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    left: 0;
    right: 0;
    bottom: 0;
    gap: 8px;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom, 0px));
    border: 0;
    border-top: 1px solid #dfe5dc;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    font-family: "Hanken Grotesk", sans-serif;
  }
  .mobile-cta .mobile-cta-btn { min-height: 46px; padding: 10px 8px; border-radius: 8px; font-size: 14px; font-weight: 600; letter-spacing: 0; }
  .mobile-cta .mobile-cta-call { color: #fff; background: #183f35; }
  .mobile-cta .mobile-cta-wa { color: #183f35; background: #edf1de; }
  .mobile-cta .mobile-cta-wa:hover,
  .mobile-cta .mobile-cta-wa:focus-visible { color: #183f35; }
  .mobile-cta a:focus-visible { outline: 2px solid #183f35; outline-offset: 2px; }
}

@media (max-width: 600px) {
  .site-header { padding-inline: 16px; gap: 0 8px; }
  .site-header .brand { gap: 7px; font-size: 21px; }
  .site-header .brand-logo { width: 36px; height: 36px; }
  .site-header .language-switch a { min-width: 30px; padding-inline: 4px; }
  .status-banner .status-banner-inner { gap: 9px; padding: 7px 16px; align-items: flex-start; }
  .status-banner .status-banner-icon { display: none; }
  .status-banner .status-banner-text { font-size: 12px; line-height: 1.45; padding-block: 3px; }
  .status-banner .status-banner-cta { min-height: 32px; padding: 5px 0; font-size: 11px; }
  .status-banner .status-banner-cta svg { display: none; }
}

@media (max-width: 359px) {
  .site-header .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .site-header .nav-toggle { width: 44px; padding: 10px; }
  .site-footer { padding-inline: 16px; }
  .site-footer .footer-main { gap: 28px 16px; }
  .site-footer .footer-navigation a { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header .site-nav a { transition: none; }
}

@media print {
  .site-header .nav-toggle, .mobile-cta, .status-banner { display: none !important; }
  .site-header { position: static; }
}
