.volvo-quicknav,
.volvo-quicknav * {
  box-sizing: border-box;
}

.volvo-quicknav {
  --vq-text: #111827;
  --vq-separator: #d97706;
  --vq-accent: #1f5eff;
  --vq-popup-width: 760px;
  --vq-item-space: 14px;
  width: 100%;
  font-family: inherit;
}

.volvo-quicknav .vq-nav {
  display: flex !important;
  float: none !important;
  position: relative !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.volvo-quicknav .vq-nav > * {
  float: none !important;
}

.volvo-quicknav .vq-nav__item {
  position: relative;
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 30px;
  border: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 4px var(--vq-item-space) !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--vq-text) !important;
  font: inherit !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  text-align: center;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  cursor: pointer;
  transition: color .2s ease, opacity .2s ease;
}

.volvo-quicknav .vq-nav__item:first-child {
  padding-left: 0 !important;
}

.volvo-quicknav .vq-nav__item:last-child {
  padding-right: 0 !important;
}

.volvo-quicknav .vq-nav__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  display: block;
  width: 1px;
  height: 16px;
  background: var(--vq-separator);
  transform: translateY(-50%);
}

.volvo-quicknav .vq-nav__item:hover,
.volvo-quicknav .vq-nav__item:focus-visible {
  color: var(--vq-accent);
  text-decoration: none;
}

.volvo-quicknav .vq-nav__button {
  appearance: none;
}

.vq-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  place-items: center;
  padding: 24px;
}

.vq-modal.is-open,
.vq-modal:target {
  display: grid !important;
}

.vq-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .58);
  backdrop-filter: blur(2px);
  text-decoration: none !important;
}

.vq-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, var(--vq-popup-width));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 34px 32px 30px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
  color: #111827;
}

.vq-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .2s ease, transform .2s ease;
}

.vq-modal__close:hover,
.vq-modal__close:focus-visible {
  background: #e5e7eb;
  transform: rotate(3deg);
}

.vq-modal__close svg,
.vq-input-wrap svg,
.vq-submit svg,
.vq-contact-details svg,
.vq-contact-avatar svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vq-form-head {
  margin: 0 44px 24px 0;
}

.vq-form-head h2 {
  margin: 0 0 6px;
  color: #111827;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.2;
}

.vq-form-head p {
  margin: 0;
  color: #8b93a3;
  font-size: 13px;
}

.vq-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.vq-field {
  min-width: 0;
}

.vq-field--full {
  grid-column: 1 / -1;
}

.vq-field label {
  display: block;
  margin: 0 0 7px;
  color: #596273;
  font-size: 13px;
  font-weight: 500;
}

.vq-field label span {
  color: #ef4444;
}

.vq-input-wrap {
  position: relative;
}

.vq-input-wrap > svg {
  position: absolute;
  top: 50%;
  left: 14px;
  color: #a9b2c2;
  transform: translateY(-50%);
  pointer-events: none;
}

.vq-field input,
.vq-field select,
.vq-field textarea {
  display: block;
  width: 100%;
  border: 1px solid #dce1e9;
  border-radius: 9px;
  outline: 0;
  background: #fff;
  color: #111827;
  font: inherit;
  font-size: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.vq-field input {
  height: 44px;
  padding: 0 14px 0 42px;
}

.vq-field select {
  height: 44px;
  padding: 0 42px 0 14px;
}

.vq-field textarea {
  min-height: 126px;
  padding: 13px 14px;
  resize: vertical;
}

.vq-field input::placeholder,
.vq-field textarea::placeholder {
  color: #8b93a3;
}

.vq-field input:focus,
.vq-field select:focus,
.vq-field textarea:focus {
  border-color: var(--vq-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--vq-accent) 15%, transparent);
}

.vq-field [aria-invalid="true"] {
  border-color: #dc2626;
}

.vq-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.vq-form__status {
  min-height: 22px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
}

.vq-form__status.is-success {
  color: #15803d;
}

.vq-form__status.is-error {
  color: #b91c1c;
}

.vq-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border: 0;
  border-radius: 9px;
  background: var(--vq-accent);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .15em;
  cursor: pointer;
  transition: filter .2s ease, transform .2s ease;
}

.vq-submit:hover,
.vq-submit:focus-visible {
  filter: brightness(.93);
  transform: translateY(-1px);
}

.vq-submit:disabled {
  cursor: wait;
  opacity: .68;
  transform: none;
}

.vq-submit svg {
  width: 19px;
  height: 19px;
}

.vq-modal--contacts .vq-modal__panel {
  width: min(100%, 840px);
}

.vq-contact-panel {
  overflow: hidden;
  border: 1px solid #d9dde3;
  border-radius: 14px;
  padding: 0;
  background: #f1f2f3;
  box-shadow: 0 20px 55px rgba(15, 23, 42, .20);
}

.vq-contact-panel .vq-modal__close {
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, .82);
}

.vq-contact-panel .vq-modal__close svg {
  width: 17px;
  height: 17px;
}

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

.vq-contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 38%) minmax(0, 62%);
  min-height: 210px;
}

.vq-contact-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 42px 44px;
  border-right: 1px solid #d6d9dd;
  text-align: center;
}

.vq-contact-intro p {
  max-width: 250px;
  margin: 0;
  color: #596578;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .02em;
  white-space: normal;
}

.vq-contact-list {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  padding: 24px 42px 24px 24px;
}

.vq-contact-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}

.vq-contact-item + .vq-contact-item {
  padding-top: 0;
  border-top: 0;
}

.vq-contact-avatar {
  display: grid;
  width: 58px;
  height: 66px;
  place-items: center;
  color: #c8cdd4;
}

.vq-contact-avatar svg {
  width: 54px;
  height: 64px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vq-contact-body {
  min-width: 0;
}

.vq-contact-body h3 {
  margin: 0;
  color: #3868a8;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.vq-contact-position {
  margin: 1px 0 4px;
  color: #536987;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.vq-contact-details {
  display: grid;
  gap: 0;
}

.vq-contact-details a {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  margin: 0;
  color: #626973;
  font-size: 12px;
  line-height: 1.35;
  text-decoration: none !important;
}

.vq-contact-details a:hover,
.vq-contact-details a:focus-visible {
  color: var(--vq-accent);
}

.vq-contact-details svg {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  color: #7b828b;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vq-contact-details span {
  min-width: 0;
  overflow-wrap: anywhere;
}

body.vq-modal-open {
  overflow: hidden !important;
  transition: none !important;
}

@media (max-width: 991px) {
  .volvo-quicknav .vq-nav {
    overflow-x: visible;
    scrollbar-width: none;
  }

  .volvo-quicknav .vq-nav__item--optional {
    display: none !important;
  }

  .volvo-quicknav .vq-nav--without-contact .vq-nav__item--brochure::after {
    display: none;
  }

  .vq-nav__item {
    padding-inline: 11px !important;
    font-size: 13px;
  }

  .vq-modal {
    align-items: end;
    padding: 12px;
  }

  .vq-modal__panel {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 16px;
    padding: 28px 18px 22px;
  }

  .vq-form__grid {
    grid-template-columns: 1fr;
  }

  .vq-contact-panel {
    border-radius: 14px;
    padding: 0;
  }

  .vq-contact-layout {
    grid-template-columns: 1fr;
  }

  .vq-contact-intro {
    padding: 34px 42px 26px;
    border-right: 0;
    border-bottom: 1px solid #d6d9dd;
  }

  .vq-contact-list {
    padding: 24px 28px 28px;
  }

  .vq-contact-item {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 11px;
  }

  .vq-contact-avatar {
    width: 50px;
    height: 60px;
  }

  .vq-contact-avatar svg {
    width: 48px;
    height: 58px;
  }

  .vq-field--full {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .volvo-quicknav *,
  .volvo-quicknav *::before,
  .volvo-quicknav *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
