.husfix-home-hero {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(24px, 5vw, 84px);
  padding: clamp(24px, 4vw, 70px);
  background: #242424;
  color: #f5f5f5;
}
.husfix-home-hero .husfix-home-hero__eyebrow {
  margin: 0 0 8px;
  color: #dae449;
  font-weight: 700;
}
.husfix-home-hero #husfix-home-hero-title {
  color: #fff;
  font-size: clamp(32px, 4.6vw, 76px);
  line-height: 1.06;
  margin: 0 0 18px;
  overflow-wrap: anywhere;
  letter-spacing: -.035em;
}
.husfix-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin-top: 22px;
}
.husfix-home-hero__actions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}
.husfix-home-hero__actions a.husfix-home-hero__cta {
  padding: 0 18px;
  background: #dae449;
  color: #222;
  border-radius: 6px;
  text-decoration: none;
}
.husfix-home-hero__photo { min-width: 0; margin: 0; }
.husfix-home-hero__photo img { display: block; width: 100%; height: auto; }
.husfix-home-hero__photo figcaption { font-size: .9em; margin-top: 8px; }

#husfix-side-menu .menu-list a, .navbar nav a, .navbar .navbar-nav a {
  font-weight: 700;
}
#husfix-side-menu .menu-list a { color: #f4f4f4; }
#husfix-side-menu[inert] { visibility: hidden; }
.navbar .navbar-toggle, #husfix-side-menu .close-menu {
  min-width: 44px;
  min-height: 44px;
}
#husfix-side-menu button.close-menu {
  border: 0;
  padding: 4px;
  background: transparent;
  color: #fff;
}
#husfix-side-menu a:focus-visible, #husfix-side-menu button:focus-visible,
.navbar a:focus-visible, .navbar button:focus-visible,
.husfix-home-hero a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #293b78;
}
@media (max-width: 767px) {
  .husfix-home-hero { grid-template-columns: 1fr; padding: 24px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  #husfix-side-menu, #husfix-side-menu *, .click-capture { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
#husfix-side-menu, #husfix-side-menu .menu-list { transition: none; }
#husfix-side-menu .close-menu { transition: none; }
.navbar:not(.navbar-white) .navbar-address { color: #e2e2e2; }

.navbar .husfix-brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(7px, 1vw, 12px);
  min-height: 44px;
}
.navbar .husfix-brand > img {
  width: clamp(40px, 4vw, 58px);
  height: auto;
  object-fit: contain;
}
.navbar .husfix-brand__red {
  display: block;
  position: relative;
  width: clamp(94px, 10vw, 152px);
  aspect-ratio: 2.3;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
}
.navbar .husfix-brand__red img {
  position: absolute;
  top: 50%;
  left: -17%;
  width: 134%;
  max-width: none;
  height: auto;
  transform: translateY(-44%);
}
.husfix-quote-note a { color: inherit; font-weight: 700; text-decoration: underline; }

.navbar.husfix-has-contact {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.8vw, 28px);
  padding-top: 0;
}
.navbar.husfix-has-contact::before,
.navbar.husfix-has-contact::after { display: none; }
.navbar.husfix-has-contact .husfix-brand {
  float: none;
  margin: 0 auto 0 0;
  flex-shrink: 0;
}
.navbar.husfix-has-contact .navbar-toggle {
  order: 3;
  display: flex;
  flex: 0 0 52px;
  min-height: 52px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  float: none;
  margin: 0;
}
.navbar.husfix-has-contact .navbar-toggle .icon-bar {
  width: 30px;
  height: 3px;
  margin: 0;
}
.husfix-header-contact {
  order: 2;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}
.husfix-header-contact .husfix-header-phone {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .36em;
  color: #fff;
  font-size: clamp(18px, 1.55vw, 22px);
  font-weight: 800;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.husfix-header-phone > span:first-child {
  font-size: .76em;
  font-weight: 700;
}
.navbar-white .husfix-header-contact .husfix-header-phone { color: #242424; }
.navbar.husfix-has-contact .social-list:not(:has(a)) { display: none; }
.husfix-header-contact .husfix-facebook,
#husfix-side-menu .husfix-facebook {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-weight: 700;
}
.husfix-header-contact .husfix-facebook { justify-content: center; }
.husfix-facebook .ion-social-facebook {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: #145bb5;
  color: #fff;
  font-size: 26px;
  line-height: 1;
}
.husfix-header-contact .husfix-facebook-text { display: none; }
.husfix-facebook:hover .ion-social-facebook { background: #0d458d; }
#husfix-side-menu .husfix-facebook { padding-inline: 3px; }
#husfix-side-menu .husfix-facebook:focus-visible { outline-offset: -2px; }

@media (max-width: 767px) {
  .navbar.husfix-has-contact {
    gap: 5px;
    padding-inline: 12px;
  }
  .husfix-header-contact { gap: 4px; }
  .husfix-header-contact .husfix-header-phone {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1px;
    font-size: clamp(15px, 4.25vw, 19px);
    line-height: 1.25;
  }
}
@media (max-width: 410px) {
  .navbar.husfix-has-contact { padding-inline: 10px; }
  .navbar.husfix-has-contact .husfix-brand { gap: 5px; }
  .navbar.husfix-has-contact .husfix-brand > img { width: 34px; margin-right: 0; }
  .navbar.husfix-has-contact .husfix-brand__red { width: 84px; }
}
@media (max-width: 360px) {
  .navbar.husfix-has-contact { padding-inline: 8px; gap: 2px; }
  .navbar.husfix-has-contact .husfix-brand { gap: 4px; }
  .navbar.husfix-has-contact .husfix-brand > img { width: 25px; }
  .navbar.husfix-has-contact .husfix-brand__red { width: 59px; }
  .husfix-header-contact { gap: 2px; }
}

@media (max-width: 767px) {
  #husfix-side-menu .menu-list > li > a {
    font-size: clamp(20px, 6vw, 26px);
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

/* Terms are read as a document, with a smaller heading scale than the homepage. */
.husfix-terms.content {
  box-sizing: border-box;
  max-inline-size: 74ch;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 70px) clamp(18px, 5vw, 44px) clamp(36px, 6vw, 84px);
  color: #e2e2e2;
  font-size: medium;
  line-height: 1.72;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}
.husfix-terms h1,
.husfix-terms h2 {
  color: #fff;
  text-transform: none;
  letter-spacing: -.02em;
}
.husfix-terms h1 {
  margin: 0 0 .55em;
  font-size: 2em;
  font-weight: 700;
  line-height: 1.2;
}
.husfix-terms h2 {
  margin: 1.5em 0 .35em;
  font-size: 1.4em;
  font-weight: 600;
  line-height: 1.35;
}
.husfix-terms :is(p, ul, ol) { margin: 0 0 1em; }
.husfix-terms :is(ul, ol) { padding-inline-start: 1.45em; }
.husfix-terms a {
  color: #e5ef76;
  text-decoration: underline;
  text-underline-offset: .18em;
}
.husfix-terms a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
@media (min-width: 1024px) {
  .husfix-terms.content { font-size: large; }
}

:is(.page-id-828, .privacy-policy) #menu-footer-menu-husfix a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

#husfix-side-menu .husfix-social-links,
#footer .husfix-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 8px;
  white-space: normal;
}
#husfix-side-menu .husfix-social-links a,
#footer .husfix-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  color: #fff;
  font-weight: 700;
}
#footer .husfix-social-links a { justify-content: center; }
#footer .husfix-social-links :is(.husfix-facebook-text, .husfix-instagram-text) { display: none; }
.husfix-social-links .ion-social-instagram-outline {
  display: inline-grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 50%;
  background: #783e94;
  color: #fff;
  font-size: 25px;
  line-height: 1;
}
.husfix-social-links a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

body {
  font-size: max(16px, 1rem);
  line-height: 1.65;
  color: #e2e2e2;
}
.husfix-skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  clip-path: inset(50%);
  transform: translateY(calc(-100% - 12px));
  border-radius: 5px;
  padding: 8px 14px;
  background: #fff;
  color: #242424;
  font-weight: 700;
}
.husfix-skip-link:focus {
  clip-path: none;
  transform: none;
  color: #242424;
  outline: 3px solid #725110;
}
#husfix-main { scroll-margin-top: 120px; }
.content p:not([class]), .project-detail-descr, .client-description { font-size: max(16px, 1rem); }
.client-description, .client-title .client-company { color: #c8c8c8; }
.contact-row a { text-decoration: underline; text-underline-offset: .18em; }
.content .wpcf7 label[for="vedlegg"] { color: #e2e2e2 !important; font-size: 16px !important; }
.content .wpcf7 input[type="file"] { max-width: 100%; }
body :is(.contact-social, .team-social) a[href=""],
body.single-projects a.icon-apartment[href="#"]:empty { display: none; }
.menu-footer a[href] { display: inline-flex; align-items: center; min-height: 24px; }
body :is(main, .content, .menu) :is(a, button, input, textarea, select):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.page-id-784 .page-header-3 { margin-top: clamp(22px, 4.5vw, 62px); }
.page-id-784 .services-head { margin-bottom: 12px; }
.page-id-784 .services-page .vc_empty_space { height: 12px !important; }
.page-id-784 .services-page .content-entry-image { padding-top: min(18vw, 180px); }
.page-id-784 .services-page .section.bg-dots { padding-block: clamp(26px, 5vw, 68px); }
.page-id-784 .services-page .section.pb-0:not(:has(.row > *)) { display: none; }
.page-id-784 .services-page .row-services { margin-bottom: 0; }

#footer.footer.section.husfix-footer {
  padding: clamp(38px, 6vw, 78px) 20px 22px !important;
  color: #e4e8eb;
  background: #191d20;
  border-top: 1px solid #55574c;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: normal;
}
.husfix-footer__inner { max-width: 1160px; margin-inline: auto; }
.husfix-footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1fr;
  gap: 24px clamp(20px, 4.2vw, 57px);
}
.husfix-footer__grid > * { min-width: 0; }
#footer.husfix-footer h2, #footer .husfix-certification h3 {
  margin: 0 0 10px;
  font-size: max(17px, 1.1rem);
  line-height: 1.3;
  color: #fff;
  font-weight: 700;
}
.husfix-footer__company p { margin: 9px 0; }
#footer.husfix-footer a {
  color: #f2e0b9;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: .18em;
}
#footer .husfix-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 23px;
  font-weight: 700;
}
.husfix-footer__brand img { display: block; width: 42px; height: 42px; border-radius: 7px; object-fit: contain; }
#footer .husfix-footer__links { list-style: none; margin: 0; padding: 0; }
#footer .husfix-footer__links li { display: block; margin: 0; }
#footer .husfix-footer__links a, .husfix-footer__org {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
}
.husfix-footer__address { margin-bottom: 7px; font-style: normal; }
.husfix-reference-intro { max-width: 1160px; margin: auto; padding: clamp(32px, 8vw, 96px) 20px; }
.husfix-reference-intro a { text-decoration: underline; }
.husfix-footer__bottom { margin-top: 25px; padding-top: 15px; border-top: 1px solid #484d51; color: #c5ccd1; font-size: 14px; }

.husfix-certification {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  margin: 32px auto;
  padding: clamp(17px, 3vw, 32px);
  color: #e4e8eb;
  background: #24282a;
  border: 1px solid #606057;
  border-radius: 12px;
}
.husfix-certification--contact { max-width: min(960px, calc(100% - 32px)); }
.husfix-certification--footer { margin: clamp(24px, 5vw, 54px) 0 0; }
.husfix-certification__mark {
  display: block;
  width: clamp(68px, 10vw, 110px);
  height: auto;
  border-radius: 4px;
}
.husfix-certification h2 { margin: 0 0 7px; font-size: clamp(22px, 3vw, 28px); }
.husfix-certification p { margin: 0 0 6px; }
.husfix-certification a { display: inline-block; padding-block: 6px; color: #f2e0b9; text-decoration: underline; text-underline-offset: .18em; }
#footer.husfix-footer a:focus-visible, .husfix-certification a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .husfix-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  #footer.footer.section.husfix-footer { padding-inline: 16px !important; }
  .husfix-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .husfix-footer__grid > div + div { border-top: 1px solid #484d51; padding-top: 18px; }
  #footer .husfix-footer__links a, .husfix-footer__org { min-height: 40px; }
  .husfix-certification { align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .husfix-skip-link, .husfix-certification, .husfix-footer, .husfix-home-hero { animation: none !important; transition: none !important; }
}
