@font-face {
  font-family: "QC Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin.woff2") format("woff2");
}

html {
  scrollbar-gutter: stable;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
}

:root {
  --qc-blue: #0c7dff;
  --qc-ink: #131d2c;
  --qc-line: #e9e9eb;
  --qc-header-max: 1264px;
}

html body.qc-static {
  font-family: "QC Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--qc-ink);
}

body.qc-static .t-h1 {
  font-family: "QC Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 64px;
  font-weight: 600;
  line-height: 64px;
}

body.qc-static .header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 104px;
  padding: 0;
  border: 0;
  background: #fff;
  color: var(--qc-ink);
  font-family: "QC Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: -0.02em;
}

body.qc-static .header .header__in {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: calc(100% - 32px);
  max-width: var(--qc-header-max);
  height: 100%;
  margin: 0 auto;
  gap: 0;
  transform: translateY(4px);
}

body.qc-static .header__logo {
  flex: 0 0 auto;
}

body.qc-static .header .header__logo img {
  display: block;
  width: 192px;
  height: 72px;
  object-fit: contain;
}

body.qc-static .header .nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 0 35px;
  font-size: 16px;
}

body.qc-static .header .nav__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--qc-ink);
  font: 400 16px/20px "QC Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

body.qc-static .header .nav__btn:hover,
body.qc-static .header .nav__btn:focus-visible {
  color: var(--qc-blue);
}

body.qc-static .header .mw-arrow {
  width: 0;
  height: 0;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  border-top: 6px solid #c5ccdb;
  transition: transform 0.2s;
}

body.qc-static .header .nav__item.is-open .mw-arrow {
  transform: rotate(180deg);
}

body.qc-static .header .dropdown {
  top: 100%;
  gap: 16px;
  width: max-content;
  min-width: 0;
  padding: 16px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(19, 29, 44, 0.12);
}

body.qc-static .header .dropdown::before {
  position: absolute;
  top: -16px;
  right: 0;
  left: 0;
  height: 16px;
  content: "";
}

body.qc-static .header .dropdown a {
  font: 500 16px/20px "QC Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.02em;
}

body.qc-static .header__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  padding-left: 20px;
}

body.qc-static .header__phone {
  display: flex;
  align-items: center;
  height: 26px;
  padding-left: 35px;
  background: url("/wp-content/themes/quote/images/phone.svg") left center / 30px 32px no-repeat;
  color: #26292f;
  font: 500 16px/26px "QC Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

body.qc-static .header__phone-icon {
  display: none;
}

body.qc-static .header__actions .header__phone > .icon {
  display: none;
}

body.qc-static .header .header__cta {
  box-sizing: border-box;
  width: auto;
  min-width: 133px;
  height: 52px;
  padding: 0 25px;
  border: 2px solid var(--qc-blue);
  border-radius: 14px;
  background: transparent;
  box-shadow: 0 4px 4px rgba(12, 89, 255, 0.03), 0 8px 8px rgba(12, 89, 255, 0.04);
  color: var(--qc-blue) !important;
  font: 500 16px/20px "QC Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.02em;
}

body.qc-static .header .header__cta:hover,
body.qc-static .header .header__cta:focus-visible {
  background: var(--qc-blue);
  color: #fff !important;
}

body.qc-static .qc-footer {
  width: 100%;
  padding: 0;
  background: #26292f;
  color: #fff;
  margin-top: 130px;
}

body.qc-static .qc-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: calc(100% - 32px);
  max-width: 1200px;
  min-height: 672px;
  margin: 0 auto;
}

body.qc-static .qc-footer__column {
  min-width: 0;
  padding: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

body.qc-static .qc-footer__column:first-child {
  border-left: 0;
}

body.qc-static .qc-footer a {
  color: #fff;
  text-decoration: none;
}

body.qc-static .qc-footer a:hover,
body.qc-static .qc-footer a:focus-visible {
  color: var(--qc-blue);
}

body.qc-static .qc-footer__logo,
body.qc-static .qc-footer__logo img {
  display: block;
  width: 200px;
  height: 66px;
}

body.qc-static .qc-footer__brand p {
  margin: 20px 0 0;
  color: #fff;
  font: 500 16px/24px Manrope, "QC Schibsted Grotesk", sans-serif;
}

body.qc-static .qc-footer__socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

body.qc-static .qc-footer__socials a,
body.qc-static .qc-footer__socials svg,
body.qc-static .qc-footer__socials img {
  display: block;
  width: 32px;
  height: 32px;
}

body.qc-static .qc-footer__socials svg {
  fill: var(--qc-blue);
}

body.qc-static .qc-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

body.qc-static .qc-footer__nav a {
  font: 500 20px/32px "QC Schibsted Grotesk", sans-serif;
}

body.qc-static .qc-footer__contact {
  display: flex;
  flex-direction: column;
}

body.qc-static .qc-footer__phone,
body.qc-static .qc-footer__email {
  display: block;
  min-height: 30px;
  padding-left: 40px;
  font: 500 20px/30px "QC Schibsted Grotesk", sans-serif;
}

body.qc-static .qc-footer__phone {
  background: url("/wp-content/themes/quote/images/phone.svg") left center / 30px 30px no-repeat;
}

body.qc-static .qc-footer__email {
  margin-top: 20px;
  background: url("/wp-content/themes/quote/images/email.svg") left center / 30px 30px no-repeat;
}

body.qc-static .qc-footer__hours {
  margin: 4px 0 0;
  padding-left: 40px;
  color: rgba(255, 255, 255, 0.2);
  font: 500 16px/24px Manrope, "QC Schibsted Grotesk", sans-serif;
}

body.qc-static .qc-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
  color: rgba(255, 255, 255, 0.2);
  font: 300 16px/24px Manrope, "QC Schibsted Grotesk", sans-serif;
}

body.qc-static .qc-footer__legal a {
  color: rgba(255, 255, 255, 0.2);
  text-decoration: underline;
}

@media (max-width: 1023px) {
  body.qc-static .qc-footer {
    margin-top: 64px;
  }

  body.qc-static .qc-footer__grid {
    display: block;
    min-height: 0;
  }

  body.qc-static .qc-footer__nav {
    display: none;
  }

  body.qc-static .qc-footer__column {
    border-left: 0;
  }
}

@media (max-width: 1279px) {
  body.qc-static .header {
    height: 80px;
  }

  body.qc-static .header .header__logo img {
    width: 146px;
    height: 48px;
  }

  body.qc-static .header .nav {
    position: absolute;
    top: 80px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 80px);
    margin: 0;
    padding: 24px;
    overflow: auto;
    background: #fff;
  }

  body.qc-static .header .nav.open {
    display: flex;
  }

  body.qc-static .header__actions {
    display: none;
  }

  body.qc-static .header .burger {
    margin-left: auto;
  }

  body.qc-static .header .menu-toggle {
    position: relative;
    display: block;
    width: 33px;
    height: 30px;
    margin-left: auto;
    padding: 3px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: transparent;
    font-size: 0;
  }

  body.qc-static .header .menu-toggle::before {
    position: absolute;
    top: 14px;
    left: 0;
    width: 33px;
    height: 2px;
    background: var(--qc-blue);
    box-shadow: 0 -6px 0 var(--qc-blue), 0 6px 0 var(--qc-blue);
    content: "";
  }

  body.qc-static .header .dropdown,
  body.qc-static .header .dropdown__sub {
    position: static;
    width: auto;
    min-width: 0;
    max-height: none;
    padding: 8px 0 8px 16px;
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 767px) {
  body.qc-static .header {
    height: 64px;
  }

  body.qc-static .header .header__in {
    width: calc(100% - 32px);
    transform: translateY(8px);
  }

  html body.qc-static {
    line-height: 1.4;
  }

  body.qc-static .header .menu-toggle {
    margin-right: 10px;
  }

  body.qc-static .header .header__logo img {
    width: 121px;
    height: 40px;
  }

  body.qc-static .header .nav {
    top: 64px;
  }

  body.qc-static .t-h1 {
    font-size: 32px;
    line-height: 40px;
  }

  body.qc-static .qc-footer {
    padding: 20px 0;
  }

  body.qc-static .qc-footer__grid {
    display: block;
    width: calc(100% - 32px);
    min-height: 0;
  }

  body.qc-static .qc-footer__column {
    padding: 20px 0 0;
  }

  body.qc-static .qc-footer__nav {
    display: none;
  }

  body.qc-static .qc-footer__brand {
    min-height: 211px;
  }

  body.qc-static .qc-footer__brand p {
    margin-top: 20px;
  }

  body.qc-static .qc-footer__contact {
    min-height: 276px;
  }

  body.qc-static .qc-footer__phone,
  body.qc-static .qc-footer__email {
    line-height: 28px;
  }
}
