/*
 * Copyright (c) 2026 Optimal Ventilasjon AS.
 * All rights reserved.
 */

/* Theme base styles */

/* Tools
Any animations, or functions used throughout the project.
Note: _macros.css needs to be imported into each stylesheet where macros are used and not included here
*/

/* Generic
This is where reset, normalize & box-sizing styles go.
*/

/*
 * Copyright (c) 2026 Optimal Ventilasjon AS.
 * All rights reserved.
 */

*, *:before, *:after {
  box-sizing: border-box;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Objects
Non-cosmetic design patterns including grid and layout classes)
*/

/*
 * Copyright (c) 2026 Optimal Ventilasjon AS.
 * All rights reserved.
 */



/* CSS variables */

:root {
  --column-gap: 2.13%;
  --column-width-multiplier: 8.333;
}

/* Mobile layout */

.row-fluid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}


  .row-fluid .span1,
  .row-fluid .span2,
  .row-fluid .span3,
  .row-fluid .span4,
  .row-fluid .span5,
  .row-fluid .span6,
  .row-fluid .span7,
  .row-fluid .span8,
  .row-fluid .span9,
  .row-fluid .span10,
  .row-fluid .span11,
  .row-fluid .span12{
  min-height: 1px;
  width: 100%;
}

/* Desktop layout */

@media (min-width: 768px) {
  .row-fluid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  
    .row-fluid .span1 {
      width: calc(var(--column-width-multiplier) * 1% * 1 - var(--column-gap) * (11 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span2 {
      width: calc(var(--column-width-multiplier) * 1% * 2 - var(--column-gap) * (10 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span3 {
      width: calc(var(--column-width-multiplier) * 1% * 3 - var(--column-gap) * (9 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span4 {
      width: calc(var(--column-width-multiplier) * 1% * 4 - var(--column-gap) * (8 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span5 {
      width: calc(var(--column-width-multiplier) * 1% * 5 - var(--column-gap) * (7 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span6 {
      width: calc(var(--column-width-multiplier) * 1% * 6 - var(--column-gap) * (6 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span7 {
      width: calc(var(--column-width-multiplier) * 1% * 7 - var(--column-gap) * (5 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span8 {
      width: calc(var(--column-width-multiplier) * 1% * 8 - var(--column-gap) * (4 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span9 {
      width: calc(var(--column-width-multiplier) * 1% * 9 - var(--column-gap) * (3 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span10 {
      width: calc(var(--column-width-multiplier) * 1% * 10 - var(--column-gap) * (2 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span11 {
      width: calc(var(--column-width-multiplier) * 1% * 11 - var(--column-gap) * (1 * var(--column-width-multiplier) / 100));
    }
  
}
/*
 * Copyright (c) 2026 Optimal Ventilasjon AS.
 * All rights reserved.
 */

.content-wrapper {
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.dnd-section > .row-fluid {
  margin: 0 auto;
}

.dnd-section .dnd-column {
  padding: 0 var(--container-padding);
}

@media (max-width: 767px) {
  .dnd-section .dnd-column {
    padding: 0;
  }
}

/* Elements
Base HTML elements are styled in this section (<body>, <h1>, <a>, <p>, <button> etc.)
*/

/*
 * Copyright (c) 2026 Optimal Ventilasjon AS.
 * All rights reserved.
 */

/* The overflow-wrap is meant to prevent long/large words from breaking the mobile responsiveness of a page (e.g. horizontal scrolling). It is preferred to reduce font sizes on mobile to address this, with this CSS specifically helping with extreme scenarios where a reduction in font size is not possible. */

body {
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: break-word;
}

/* Handles word breaking for a few specific languages which handle breaks in words differently. If your content is not translated into these languages, you can safely remove this.  */

html[lang^="ja"] body,
html[lang^="zh"] body,
html[lang^="ko"] body {
  line-break: strict;
  overflow-wrap: normal;
  word-break: break-all;
}

/* Paragraphs */

p {
  font-size: 1rem;
  margin: 0 0 1.4rem;
}

.ov-inline-link {
  display: inline-flex;
  align-items: center;

  font-style: italic;
  opacity: 0.7;

  border-bottom: 1px solid transparent;

  transition:
    opacity 0.2s ease,
    border-color 0.2s ease;
}

.ov-testimonial-card:hover .ov-inline-link {
  opacity: 1;
  border-color: currentColor;
}

/* Anchors */

a {
  cursor: pointer;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

/* Headings */

.h1,
h1 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.4rem;
}

.h2,
h2 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1.4rem;
}

.h3,
h3 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.4rem;
}

.h4,
h4 {
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 1.4rem;
}

.h5,
h5,
.h6,
h6 {
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 1.4rem;
}

.hero h1 {
  margin-bottom: 1rem;
}

/* Lists */

ul,
ol {
  margin: 0 0 1.4rem;
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin: 0;
}

ul.no-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Code blocks */

pre {
  overflow: auto;
}

code {
  vertical-align: bottom;
}

/* Blockquotes */

blockquote {
  border-left: 3px solid var(--color-primary);
  color: var(--color-text);
  margin: 0 0 1.4rem;
  padding-left: 1rem;
}

/* Horizontal rules */

hr {
  border: none;
  border-bottom: 1px solid var(--color-surface);
}

/* Image alt text */

img {
  font-size: 0.583rem;
  word-break: normal;
}

/* Custom text classes */

.ov-eyebrow { 
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.ov-heading {
  margin-bottom: 1.25rem;
}

.ov-text { 
  font-size: 1.125rem;
  line-height: 1.7;
}

.ov-text p:last-child {
  margin-bottom: 0;
}

.ov-intro { 
  max-width: var(--text-width);
  margin-bottom: 3.5rem;
}

@media (max-width: 767px) {
  .ov-intro {
    margin-bottom: 2rem;
  }
}
/*
 * Copyright (c) 2026 Optimal Ventilasjon AS.
 * All rights reserved.
 */

.button--primary {
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: var(--color-bg);
}

.button--primary:hover,
.button--primary:focus {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-bg);
  text-decoration: none;
}

.button--secondary {
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.button--secondary:hover,
.button--secondary:focus {
  background-color: var(--color-surface);
  border-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
}

.button--text {
  background-color: transparent;
  border: 0;
  color: var(--color-primary);
  padding-inline: 0;
}

.button--text:hover,
.button--text:focus {
  background-color: transparent;
  color: var(--color-primary-dark);
  text-decoration: none;
}

button,
.button,
.hs-button {
  cursor: pointer;
  display: inline-block;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
  white-space: normal;
}

button,
.button,
.hs-button,
.button:hover,
.button:focus,
.button:active,
.hs-button:hover,
.hs-button:focus,
.hs-button:active {
  font-weight: 700;
  text-decoration: none;
}

button:hover,
.button:hover,
.hs-button:hover {
  transform: none;
}

button:focus-visible,
.button:focus-visible,
.hs-button:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 3px;
}

button:disabled,
.button:disabled,
.hs-button:disabled {
  background-color: var(--color-surface);
  border-color: var(--color-surface);
  color: var(--color-text);
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.button-wrapper {
  display: flex;
}

.button-wrapper--left {
  justify-content: flex-start;
}

.button-wrapper--center {
  justify-content: center;
}

.button-wrapper--right {
  justify-content: flex-end;
}

/* No button */

.no-button,
.no-button:hover,
.no-button:focus,
.no-button:active {
  background: none;
  border: none;
  border-radius: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin-bottom: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
  transition: none;
  transform: none;
}
/*
 * Copyright (c) 2026 Optimal Ventilasjon AS.
 * All rights reserved.
 */

/* Fields */

.hs-form-field {
  margin-bottom: 1.4rem;
}

/* Labels */

form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

/* Form Title */

.form-title {
  margin-bottom: 0;
}

/* Help text */

form legend {
  font-size: 0.875rem;
}

/* Inputs */

form input[type=text],
form input[type=search],
form input[type=email],
form input[type=password],
form input[type=tel],
form input[type=number],
form input[type=file],
form select,
form textarea {
  display: inline-block;
  font-size: 1rem;
  padding: 0.875rem 1rem;
  width: 100%;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

form input[type=text]:focus,
form input[type=search]:focus,
form input[type=email]:focus,
form input[type=password]:focus,
form input[type=tel]:focus,
form input[type=number]:focus,
form select:focus,
form textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(68, 112, 68, 0.14);
  outline: none;
}

form textarea {
  min-height: 9rem;
  resize: vertical;
}

form fieldset {
  max-width: 100% !important;
}

/* Inputs - checkbox/radio */

form .inputs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

form .inputs-list > li {
  display: block;
  margin: 0.7rem 0;
}

form .inputs-list input,
form .inputs-list span {
  vertical-align: middle;
}

form input[type=checkbox],
form input[type=radio] {
  accent-color: var(--color-primary);
  cursor: pointer;
  margin-right: 0.35rem;
}

/* Inputs - date picker */

.hs-dateinput {
  position: relative;
}

.hs-dateinput:before {
  content: '\01F4C5';
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.fn-date-picker .pika-table thead th {
  color: var(--color-bg);
}

.fn-date-picker td.is-selected .pika-button {
  border-radius: 0;
  box-shadow: none;
}

.fn-date-picker td .pika-button:hover,
.fn-date-picker td .pika-button:focus {
  border-radius: 0 !important;
  color: var(--color-bg);
}

/* Inputs - file picker */

form input[type=file] {
  background-color: transparent;
  border: initial;
  padding: initial;
}

/* Headings and text */

form .hs-richtext,
form .hs-richtext p {
  font-size: 0.875rem;
  margin: 0 0 1.4rem;
}

form .hs-richtext img {
  max-width: 100% !important;
}

/* GDPR */

.legal-consent-container .hs-form-booleancheckbox-display > span,
.legal-consent-container .hs-form-booleancheckbox-display > span p {
  margin-left: 1rem !important;
}

/* Validation */

.hs-form-required {
  color: var(--color-error);
}

.hs-input.invalid.error {
  border-color: var(--color-error);
}

.hs-error-msg {
  color: var(--color-error);
  margin-top: 0.35rem;
}

/* Submit button */

form input[type=submit],
form .hs-button {
  box-shadow: none !important;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
  white-space: normal;
}

form input[type=submit]:hover,
form .hs-button:hover {
  transform: translateY(-1px);
}

form input[type=submit]:focus-visible,
form .hs-button:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 3px;
}

.hs-form .hs-submit,
.hs-form .hsfc-submit {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Captcha */

.grecaptcha-badge {
  display: table !important;
  margin: 0 auto !important;
  transform: scale(0.75);
  transform-origin: center center;
  -webkit-transform: scale(0.75);
  -webkit-transform-origin: center center;
}


  /* Search button input field and suggestions */

  .body-container-wrapper .hs-search-field__button {
    padding: 15px;
  }

  .body-container-wrapper .hs-search-field__bar--button-inline .hs-search-field__button {
    margin-left: 6px;
    margin-bottom: 0;
  }

  .body-container-wrapper .hs-search-field__button svg {
    fill: var(--color-bg);
    height: 15px;
  }

  .body-container-wrapper .hs-search-field__bar > form > .hs-search-field__input {
    padding: 10px;
  }

  .body-container-wrapper .hs-search-field__suggestions li a {
    color: var(--color-text);
    padding: 0.35rem 0.7rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

/*
 * Copyright (c) 2026 Optimal Ventilasjon AS.
 * All rights reserved.
 */

/* Table */

table {
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
}

/* Table cells */

td,
th {
  vertical-align: top;
}

/* Table header */

thead th {
  vertical-align: bottom;
}

/* Components
Specific pieces of UI that are stylized. Typically used for global partial styling
*/

/*
 * Copyright (c) 2026 Optimal Ventilasjon AS.
 * All rights reserved.
 */

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border-subtle);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 5rem;
}

.header__logo {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.header__navigation {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.header__cta {
  flex: 0 0 auto;
}

.header__mobile-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.header__mobile-toggle span:not(.show-for-sr) {
  display: block;
  width: 1.5rem;
  height: 2px;
  margin: 5px auto;
  background: var(--color-text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header__mobile-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.header__mobile-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.header__mobile-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__mobile-menu {
  border-top: 1px solid var(--color-border-subtle);
  background: var(--color-bg);
}

.header__mobile-inner {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.header__mobile-cta {
  margin-top: 1.5rem;
}

.header__skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  transform: translateY(-150%);
  background: var(--color-primary);
  color: var(--color-bg);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-button);
  z-index: 999;
}

.header__skip:focus {
  transform: translateY(0);
}

/* Desktop menu */
.header__navigation .ov-menu ul {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__navigation .ov-menu a {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.header__navigation .ov-menu a:hover,
.header__navigation .ov-menu a:focus {
  color: var(--color-primary);
  text-decoration: none;
}

/* Desktop dropdown menu */
.header__navigation .ov-menu li {
  position: relative;
}

.header__navigation .ov-menu li ul {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  z-index: 20;

  display: grid;
  gap: 0;
  min-width: 14rem;
  padding: 0.75rem;

  background: var(--color-bg);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-card);
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.05);

  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.header__navigation .ov-menu li:hover > ul,
.header__navigation .ov-menu li:focus-within > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__navigation .ov-menu li ul li {
  width: 100%;
}

.header__navigation .ov-menu li ul a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;

  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;

  color: var(--color-text);
}

.header__navigation .ov-menu li ul a:hover,
.header__navigation .ov-menu li ul a:focus {
  background: var(--color-surface);
  color: var(--color-primary);
}

/* Mobile menu */
.header__mobile-navigation .ov-menu ul {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__mobile-navigation .ov-menu li {
  position: relative;
}

.header__mobile-navigation .ov-menu a {
  display: block;
  color: var(--color-text);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

/* Mobile dropdown */
.header__mobile-navigation .ov-menu li ul {
  position: static;
  display: grid;
  gap: 0;

  margin-top: 0.5rem;
  margin-left: 1rem;
  padding: 0;

  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;

  opacity: 1;
  visibility: visible;
  transform: none;
}

.header__mobile-navigation .ov-menu li ul a {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 0;
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 900px) {

  .header__navigation,
  .header__cta {
    display: none;
  }

  .header__mobile-toggle {
    display: block;
  }

  .header__container {
    min-height: 4.5rem;
  }

}
/*
 * Copyright (c) 2026 Optimal Ventilasjon AS.
 * All rights reserved.
 */

/* Footer */

.footer {
  position: relative;
  overflow: hidden;
  background-color: var(--color-dark);
  color: var(--color-bg);
  padding: 7rem 0 2rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer__heading {
  color: var(--color-bg);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  opacity: 0.75;
}

/* Brand */

.footer__brand {
  max-width: 180px;
}

.footer__brand img {
  width: 100%;
  height: auto;
  display: block;
}

/* Contact */

.footer__contact {
  opacity: 0.9;
}

.footer__contact p {
  margin: 0;
  line-height: 1.7;
  font-size: 0.8rem;
}

.footer__contact p + p {
  margin-top: 1.25rem;
}

.footer a {
  color: var(--color-bg);
  text-decoration: none;
  opacity: 0.75;
}

.footer a:hover,
.footer a:focus {
  color: var(--color-primary-light);
  text-decoration: none;
  opacity: 1;
}

/* Footer navigation */

.footer__nav .ov-menu,
.footer__legal .ov-menu {
  display: block;
}

.footer__nav .ov-menu ul,
.footer__nav .ov-menu .hs-menu-wrapper > ul,
.footer__nav .ov-menu .hs-menu-children-wrapper {
  position: static !important;
  transform: none !important;

  display: grid !important;
  grid-template-columns: 1fr;
  gap: 0.75rem;

  min-width: 0 !important;
  width: auto !important;

  margin: 0;
  padding: 0;

  list-style: none;

  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.footer__nav .ov-menu li,
.footer__nav .ov-menu .hs-menu-item {
  position: static !important;
  margin: 0;
}

.footer__nav .ov-menu a {
  display: inline-flex;
  padding: 0 !important;
  color: var(--color-bg);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0.75;
  text-decoration: none;
  white-space: normal !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.footer__nav .ov-menu a:hover,
.footer__nav .ov-menu a:focus {
  color: var(--color-primary-light);
  opacity: 1;
  text-decoration: none;
}

/* Nested footer menu items */

.footer__nav .ov-menu .hs-menu-children-wrapper {
  margin-top: 0.35rem !important;
  padding-left: 1rem !important;
  gap: 0.5rem;
}

.footer__nav .ov-menu .hs-menu-depth-2 > a,
.footer__nav .ov-menu .hs-menu-depth-3 > a {
  font-size: 0.9rem;
  opacity: 0.55;
}

/* Social */

.footer__social {
  justify-self: end;
  text-align: right;
}

.footer__social-links {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__social-links a {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.08);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}

.footer__social-links a:hover,
.footer__social-links a:focus {
  background-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.footer__social-links img {
  width: 22px;
  height: 22px;
  display: block;
}

/* Bottom/legal */

.footer__bottom {
  border-top: 1px solid rgba(247, 248, 245, 0.12);
  margin-top: 5rem;
  padding-top: 1.5rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  font-size: 0.875rem;
  opacity: 0.7;
}

.footer__copyright {
  margin: 0;
}

.footer__legal {
  margin-left: auto;
}

.footer__legal .ov-menu ul,
.footer__legal .ov-menu .hs-menu-wrapper > ul {
  display: flex !important;
  flex-wrap: wrap;
  gap: 1.25rem;

  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__legal .ov-menu li,
.footer__legal .ov-menu .hs-menu-item {
  margin: 0;
}

.footer__legal .ov-menu a {
  color: var(--color-bg);
  opacity: 0.7;
  font-size: 0.875rem;
  text-decoration: none;
}

.footer__legal .ov-menu a:hover,
.footer__legal .ov-menu a:focus {
  opacity: 1;
  color: var(--color-primary-light);
}

/* Responsive */

@media (max-width: 900px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__social {
    justify-self: start;
    text-align: left;
  }

  .footer__social-links {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .footer {
    padding: 4rem 0 2rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer__legal {
    margin-left: 0;
  }

  .footer__legal .ov-menu ul,
  .footer__legal .ov-menu .hs-menu-wrapper > ul {
    gap: 0.75rem 1rem;
  }
}
/*
 * Copyright (c) 2026 Optimal Ventilasjon AS.
 * All rights reserved.
 */

/* Menu and simple menu */

.hs-menu-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Horizontal menu */

.hs-menu-wrapper.hs-menu-flow-horizontal .hs-menu-children-wrapper {
  flex-direction: column;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-horizontal ul {
    flex-direction: column;
  }
}

/* Vertical menu */

.hs-menu-wrapper.hs-menu-flow-vertical ul {
  flex-direction: column;
}

/* Flyouts */

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts ul {
  display: inline-flex;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-vertical ul {
    display: flex;
  }
}

.hs-menu-wrapper.flyouts .hs-item-has-children {
  position: relative;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper {
  left: -9999px;
  opacity: 0;
  position: absolute;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper a {
  display: block;
  white-space: nowrap;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 0;
  opacity: 1;
  top: 100%;
}

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 100%;
  opacity: 1;
  top: 0;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.flyouts .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
    left: 0;
    opacity: 1;
    position: relative;
    top: auto;
  }
}

/* CTA, logo, and rich text images */

.hs_cos_wrapper_type_cta img,
.hs_cos_wrapper_type_logo img,
.hs_cos_wrapper_type_rich_text img {
  height: auto;
  max-width: 100%;
}

/* Form Containers */

.form-section {
  display: flex;
  justify-content: center;
}

.form-wrapper {
  display: flex;
  justify-content: center;
  max-width: 800px;
  margin-top: 1.25rem;
  padding: var(--card-padding);
  border: none;
  border-radius: var(--radius-card);
  background-color: var(--color-surface);
}

/* Button Containers */

.button-wrapper,
.hero-button-wrapper {
  padding: 1.875rem 0;
}

/* Utilities
Helper classes with ability to override anything that comes before it
*/

/*
 * Copyright (c) 2026 Optimal Ventilasjon AS.
 * All rights reserved.
 */

/* For content that needs to be visually hidden but stay visible for screenreaders */

.show-for-sr {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

@media (max-width: 767px) {
  .show-for-sr--mobile {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}