.appointment-header {
  position: relative;
  z-index: 5;
  padding: 20px clamp(12px, 3vw, 45px) 0;
}

.appointment-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 32px);
  width: min(100%, 1440px);
  min-height: 76px;
  margin: 0 auto;
  padding: 10px 12px 10px 29px;
  border-radius: 60px;
  background: #fff;
  color: #10233b;
  box-shadow: 0 12px 30px rgb(5 18 41 / 12%);
}

.appointment-header-logo {
  flex: 0 1 174px;
  min-width: 0;
}

.appointment-header-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.appointment-header-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: clamp(13px, 1.7vw, 28px);
}

.appointment-header-links a,
.appointment-header-cta,
.appointment-header-menu summary,
.appointment-header-menu nav a {
  color: #10233b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.appointment-header-links a:hover {
  color: #215b80;
}

.appointment-header-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 8px 15px 8px 8px;
  border-radius: 40px;
  background: #a9d9f4;
}

.appointment-header-cta i {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #dff5ff;
  background: #0c223b;
}

.appointment-header-cta:hover {
  color: #06182d;
  background: #c7eaff;
}

.appointment-header :is(a, summary):focus-visible {
  outline: 3px solid #2b719a;
  outline-offset: 3px;
}

.appointment-header-menu {
  display: none;
}

@media (max-width: 920px) {
  .appointment-header {
    padding-top: 12px;
  }

  .appointment-header-inner {
    position: relative;
    min-height: 62px;
    padding: 7px 12px 7px 17px;
  }

  .appointment-header-logo {
    flex-basis: 158px;
  }

  .appointment-header-links,
  .appointment-header-cta {
    display: none;
  }

  .appointment-header-menu {
    display: block;
  }

  .appointment-header-menu summary {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 28px;
    background: #edf5fa;
    cursor: pointer;
    list-style: none;
  }

  .appointment-header-menu summary::-webkit-details-marker {
    display: none;
  }

  .appointment-header-menu nav {
    position: absolute;
    z-index: 1;
    inset: calc(100% + 8px) 0 auto auto;
    display: grid;
    width: min(100%, 310px);
    gap: 3px;
    padding: 9px;
    border: 1px solid #dce8ef;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 15px 38px rgb(7 30 54 / 18%);
  }

  .appointment-header-menu nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 13px;
    border-radius: 12px;
  }

  .appointment-header-menu nav a:is(:hover, [aria-current="page"]) {
    background: #edf5fa;
  }
}
