.sticky-cta,
.sticky-cta * {
  box-sizing: border-box;
}

.sticky-cta {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;

  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;

  border: 1px solid rgba(222, 199, 153, 0.36);
  border-radius: 20px;
  background: rgba(35, 30, 24, 0.54);
  box-shadow: 0 18px 45px rgba(21, 15, 10, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.sticky-cta .cta-btn {
  position: relative;
  width: 58px;
  height: 58px;

  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  gap: 0;

  color: #fff7e8;
  text-decoration: none;

  border: 1px solid rgba(255, 247, 232, 0.16);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(88, 70, 49, 0.92), rgba(44, 36, 29, 0.94));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 20px rgba(19, 13, 8, 0.18);

  overflow: hidden;
  transition: width 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.sticky-cta .cta-btn:hover,
.sticky-cta .cta-btn:focus {
  width: 142px;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 18px;

  color: #fff;
  text-decoration: none;
  outline: none;
  transform: translateX(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 14px 28px rgba(19, 13, 8, 0.28);
}

.sticky-cta .cta-btn .sticky-cta-icon {
  position: static;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  overflow: visible;
  z-index: 2;
}

.sticky-cta .cta-btn .sticky-cta-icon svg {
  position: static;
  display: block;
  width: 22px;
  height: 22px;
  min-width: 22px;
  max-width: 22px;
  min-height: 22px;
  max-height: 22px;
  fill: currentColor;
  transform: none;
}

.sticky-cta .cta-btn .label {
  position: static;
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;

  opacity: 0;
  transform: translateX(6px);
  transition: max-width 0.3s ease, opacity 0.25s ease, transform 0.25s ease;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.sticky-cta .cta-btn:hover .label,
.sticky-cta .cta-btn:focus .label {
  max-width: 74px;
  opacity: 1;
  transform: translateX(0);
}

.sticky-cta .cta-btn.book {
  height: 164px;
  background: linear-gradient(180deg, #bf9f62 0%, #8b6139 100%);
  color: #fffdf8;
}

.sticky-cta .cta-btn.book:hover,
.sticky-cta .cta-btn.book:focus {
  width: 58px;
  justify-content: center;
  padding: 0;
}

.sticky-cta .vertical-text {
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.28em;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.sticky-cta .cta-btn.call {
  background: linear-gradient(145deg, rgba(74, 59, 42, 0.96), rgba(39, 32, 26, 0.96));
}

.sticky-cta .cta-btn.whatsapp {
  background: linear-gradient(145deg, rgba(37, 133, 84, 0.96), rgba(21, 82, 55, 0.96));
}

@media (max-width: 768px) {
  .sticky-cta {
    flex-direction: row;
    bottom: 14px;
    top: auto;
    left: 12px;
    right: 12px;
    transform: none;
    gap: 6px;
    padding: 6px;
    border-radius: 17px;
  }

  .sticky-cta .cta-btn,
  .sticky-cta .cta-btn.book,
  .sticky-cta .cta-btn:hover,
  .sticky-cta .cta-btn:focus,
  .sticky-cta .cta-btn.book:hover,
  .sticky-cta .cta-btn.book:focus {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 52px;
    flex-direction: row;
    justify-content: center;
    gap: 7px;
    padding: 0 10px;
    border-radius: 11px;
    transform: none;
  }

  .sticky-cta .vertical-text {
    writing-mode: horizontal-tb;
    transform: none;
    letter-spacing: 0.12em;
  }

  .sticky-cta .cta-btn .sticky-cta-icon,
  .sticky-cta .cta-btn .sticky-cta-icon svg {
    width: 19px;
    height: 19px;
    min-width: 19px;
    max-width: 19px;
    min-height: 19px;
    max-height: 19px;
  }

  .sticky-cta .cta-btn .label {
    max-width: none;
    overflow: visible;
    opacity: 1;
    transform: none;
    font-size: 11px;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 380px) {
  .sticky-cta .cta-btn,
  .sticky-cta .cta-btn.book,
  .sticky-cta .cta-btn:hover,
  .sticky-cta .cta-btn:focus,
  .sticky-cta .cta-btn.book:hover,
  .sticky-cta .cta-btn.book:focus {
    padding: 0 8px;
  }

  .sticky-cta .cta-btn .label,
  .sticky-cta .vertical-text {
    font-size: 10px;
  }
}
