.header-6 {
  background: #ffffff;
  position: relative;
  z-index: 80;
}

.header-6__topbar {
  background: #ffffff;
  border-bottom: 1px solid rgba(112, 169, 170, 0.12);
}

.header-6__topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 122px;
}

.header-6__social {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #7db8b8;
}

.header-6__item--mobile-social {
  display: none;
}

.header-6__mobile-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 16px 18px 8px;
  color: #7db8b8;
}

.header-6__mobile-social a {
  color: inherit;
  text-decoration: none;
}

.header-6__mobile-social svg {
  width: 24px;
  height: 24px;
}

.header-6__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-6__social a:hover,
.header-6__location:hover {
  color: #5ea1a1;
}

.header-6__social a:hover {
  transform: translateY(-1px);
}

.header-6__social svg {
  width: 34px;
  height: 34px;
}

.header-6__location {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: #88bcbc;
  font-family: var(--font-family-display);
  font-size: 17px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.header-6__location-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-6__location-icon svg {
  width: 44px;
  height: 44px;
}

.header-6__main {
  background: #edf6f6;
}

.header-6__mobile-call {
  display: none;
  background: #edf6f6;
}

.header-6__main-inner {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 260px;
  align-items: center;
  gap: 40px;
  min-height: 156px;
}

.header-6__brand {
  display: inline-flex;
  align-items: center;
}

.header-6__brand img {
  display: block;
  width: 210px;
}

.header-6__nav {
  position: relative;
  z-index: 90;
}

.header-6__menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 44px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-6__item {
  position: relative;
}

.header-6__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border: 0;
  background: transparent;
  color: #242933;
  font-family: var(--font-family-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.header-6__item.is-active > .header-6__link,
.header-6__link:hover {
  color: #fb876d;
}

.header-6__caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-6__caret svg {
  width: 18px;
  height: 18px;
}

.header-6__submenu {
  position: absolute;
  z-index: 120;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 310px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid rgba(36, 41, 51, 0.08);
  box-shadow: 0 18px 34px rgba(18, 41, 51, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-6__item:hover .header-6__submenu,
.header-6__item.is-open .header-6__submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.header-6__submenu-link {
  display: block;
  padding: 12px 20px;
  color: #2c3139;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.header-6__submenu-link:hover {
  background: #f4fbfb;
  color: #fb876d;
}

.header-6__cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #fb876d;
  font-family: var(--font-family-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  text-transform: none;
  text-align: right;
  white-space: nowrap;
}

.header-6__cta:hover {
  color: #eb765c;
}

.header-6__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-6__cta-icon svg {
  width: 54px;
  height: 54px;
}

.header-6__toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 0;
}

.header-6__toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px auto;
  background: #24303a;
}

@media (max-width: 1200px) {
  .header-6__main-inner {
    grid-template-columns: 220px 1fr 220px;
    gap: 24px;
  }

  .header-6__menu {
    gap: 28px;
  }

  .header-6__link {
    font-size: 16px;
  }

  .header-6__cta {
    font-size: 13px;
    gap: 10px;
  }

  .header-6__cta-icon svg {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 980px) {
  .header-6__topbar-inner {
    justify-content: center;
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .header-6__social {
    display: none;
  }

  .header-6__location {
    text-align: center;
    font-size: 15px;
  }

  .header-6__main-inner {
    grid-template-columns: 48px 1fr 48px;
    min-height: 0;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .header-6__brand {
    grid-column: 2;
    justify-self: center;
  }

  .header-6__nav {
    grid-column: 3;
    justify-self: end;
  }

  .header-6__toggle {
    display: block;
  }

  .header-6__menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 280px;
    padding: 12px 0;
    background: #ffffff;
    border: 1px solid rgba(36, 41, 51, 0.08);
    box-shadow: 0 18px 34px rgba(18, 41, 51, 0.12);
  }

  .header-6__menu.is-open {
    display: flex;
  }

  .header-6__item {
    width: 100%;
  }

  .header-6__item--mobile-social {
    display: block;
  }

  .header-6__link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 18px;
    font-size: 15px;
  }

  .header-6__submenu {
    position: static;
    min-width: 0;
    padding: 0 0 8px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .header-6__item.is-open .header-6__submenu {
    display: block;
  }

  .header-6__cta {
    display: none;
  }

  .header-6__mobile-call {
    display: none;
  }

  .header-6__cta-icon svg {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 767px) {
  .header-6__location {
    gap: 12px;
    font-size: 14px;
  }

  .header-6__location-icon svg {
    width: 34px;
    height: 34px;
  }

  .header-6__brand img {
    width: 150px;
  }
}
