.right-dock {
  position: fixed;
  z-index: 110;
  top: 50%;
  right: 18px;
  display: flex;
  width: 64px;
  flex-direction: column;
  gap: 7px;
  color: #fff;
  transform: translateY(-50%);
  filter: drop-shadow(0 15px 28px rgba(8,17,24,.23));
}

.dock-call,
.dock-register,
.dock-menu-toggle {
  box-sizing: border-box;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(28,43,55,.92);
  color: #fff;
  backdrop-filter: blur(15px);
}

.dock-call {
  display: flex;
  min-height: 184px;
  padding: 16px 0 13px;
  border-radius: 32px 32px 8px 8px;
  flex-direction: column;
  align-items: center;
  transition: background .3s, transform .3s;
}

.dock-call:hover {
  background: #1b2b38;
  transform: translateY(-3px);
}

.dock-call small {
  color: rgba(255,255,255,.66);
  font-size: 9px;
  letter-spacing: -.04em;
}

.dock-call strong {
  margin: 14px 0 auto;
  font: 500 15px/1 Arial, sans-serif;
  letter-spacing: .12em;
  writing-mode: vertical-rl;
}

.dock-call span {
  color: #dbc98f;
  font: 700 8px/1 Arial, sans-serif;
  letter-spacing: .24em;
}

.dock-register,
.dock-menu-toggle {
  display: flex;
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  transition: color .25s, background .25s, border-color .25s;
}

.dock-register i {
  font: 300 24px/1 Arial, sans-serif;
}

.dock-register span,
.dock-menu-toggle span {
  font: 700 8px/1 Arial, sans-serif;
  letter-spacing: .08em;
}

.dock-register:hover,
.dock-menu-toggle:hover,
.right-dock.is-open .dock-menu-toggle {
  border-color: #d9c58b;
  background: #d9c58b;
  color: #172631;
}

.dock-menu-toggle i {
  display: flex;
  width: 20px;
  height: 10px;
  flex-direction: column;
  justify-content: space-between;
}

.dock-menu-toggle b {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: transform .3s;
}

.right-dock.is-open .dock-menu-toggle b:first-child { transform: translateY(4.5px) rotate(45deg); }
.right-dock.is-open .dock-menu-toggle b:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.quick-panel {
  position: absolute;
  top: 50%;
  right: 78px;
  box-sizing: border-box;
  width: 350px;
  max-height: min(680px, 90vh);
  padding: 27px;
  overflow: auto;
  border: 1px solid rgba(32,48,59,.14);
  border-radius: 4px;
  background: rgba(247,245,239,.97);
  box-shadow: 0 30px 90px rgba(8,18,24,.28);
  color: #263241;
  opacity: 0;
  pointer-events: none;
  transform: translate(24px,-50%);
  transition: opacity .35s ease, transform .45s cubic-bezier(.2,.72,.2,1);
  backdrop-filter: blur(20px);
}

.right-dock.is-open .quick-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0,-50%);
}

.quick-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 19px;
  border-bottom: 1px solid rgba(38,50,65,.18);
}

.quick-panel-head span,
.quick-contact-card > span {
  display: block;
  color: #7b847c;
  font: 700 8px/1.2 Arial, sans-serif;
  letter-spacing: .18em;
}

.quick-panel-head strong {
  display: block;
  margin-top: 8px;
  font: 500 22px/1 Arial, sans-serif;
  letter-spacing: -.04em;
}

.quick-panel-close {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(38,50,65,.25);
  border-radius: 50%;
  background: transparent;
  color: #263241;
  font: 300 23px/1 Arial, sans-serif;
  cursor: pointer;
}

.quick-contact-card {
  margin: 20px 0;
  padding: 22px;
  background: #263241;
  color: #fff;
}

.quick-contact-card > span { color: #cdbf91; }
.quick-contact-card p { margin: 17px 0 22px; color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.7; }

.quick-contact-card a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255,255,255,.28);
  font: 500 28px/1 Arial, sans-serif;
  letter-spacing: -.035em;
}

.quick-contact-card a i { font-size: 17px; font-style: normal; }
.quick-contact-card small { display: block; margin-top: 12px; color: rgba(255,255,255,.52); font-size: 9px; }

.quick-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(38,50,65,.19);
  border-left: 1px solid rgba(38,50,65,.19);
}

.quick-nav a {
  position: relative;
  min-height: 82px;
  padding: 14px;
  border-right: 1px solid rgba(38,50,65,.19);
  border-bottom: 1px solid rgba(38,50,65,.19);
  transition: color .25s, background .25s;
}

.quick-nav a b {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #c6c4ba;
  font: 400 16px/1 Georgia, serif;
}

.quick-nav a span {
  display: block;
  margin-top: 20px;
  font: 700 9px/1 Arial, sans-serif;
  letter-spacing: .12em;
}

.quick-nav a i {
  display: block;
  margin-top: 7px;
  color: #79827c;
  font-size: 10px;
  font-style: normal;
}

.quick-nav a:hover,
.quick-nav a.is-current {
  background: #263241;
  color: #fff;
}

.quick-nav a:hover b,
.quick-nav a.is-current b { color: #d8c790; }
.quick-nav a:hover i,
.quick-nav a.is-current i { color: rgba(255,255,255,.6); }

.quick-panel-note {
  margin: 20px 0 0;
  color: #9a9e96;
  font: 600 8px/1.65 Arial, sans-serif;
  letter-spacing: .14em;
}

@media (max-width: 1100px) and (min-width: 881px) {
  .right-dock { right: 12px; }
  .dock-call,
  .dock-register,
  .dock-menu-toggle { width: 58px; }
  .right-dock { width: 58px; }
  .quick-panel { right: 70px; }
}

@media (max-width: 880px) {
  .right-dock {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    flex-direction: row;
    transform: none;
  }

  .dock-call {
    min-height: 58px;
    height: 58px;
    padding: 0 18px;
    border-radius: 29px 8px 8px 29px;
    flex: 1;
    flex-direction: row;
    justify-content: space-between;
  }

  .dock-call small { font-size: 9px; }
  .dock-call strong { margin: 0; font-size: 14px; writing-mode: initial; }
  .dock-call span { display: none; }

  .dock-register,
  .dock-menu-toggle {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
  }

  .dock-register span,
  .dock-menu-toggle span { font-size: 7px; }

  .quick-panel {
    top: auto;
    right: 0;
    bottom: 70px;
    width: min(100%, 390px);
    max-height: calc(100vh - 100px);
    transform: translateY(22px);
  }

  .right-dock.is-open .quick-panel { transform: none; }
}
