.contact-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(16px);
  z-index: 3000;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(26, 22, 18, 0.92);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(19, 32, 43, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: min(92vw, 420px);
  text-align: center;
}

.contact-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nav__cta--mobile-only {
  display: none;
}

@media (max-width: 900px) {
  .nav__cta--mobile-only {
    display: inline-flex;
  }

  .nav__cta.contact-email {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .nav__link--call {
    display: block;
    margin-top: 8px;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    background: var(--brand) !important;
    color: #fff !important;
    text-align: center;
    font-weight: 700 !important;
  }

  .nav__link--call:hover,
  .nav__link--call:focus-visible {
    background: var(--brand-dark) !important;
    color: #fff !important;
  }
}

@media (min-width: 901px) {
  .nav__link--call {
    display: none !important;
  }
}

.cta__text .contact-email {
  color: rgb(210, 175, 120);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta__text .contact-email:hover {
  color: #fff;
}

.letter-lightbox[hidden] {
  display: none !important;
}

.letter-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.letter-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 10, 8, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.letter-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.letter-lightbox__close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.letter-lightbox__close:hover,
.letter-lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.letter-lightbox__img {
  width: 100%;
  max-height: calc(min(92vh, 900px) - 48px);
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.letter-lightbox__caption {
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
}

button.letter-card {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

button.letter-card:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.letter-card__preview img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  max-height: 320px;
  object-fit: contain;
  background: #fff;
}

@media (max-width: 600px) {
  .letter-lightbox {
    padding: 12px;
  }

  .letter-lightbox__close {
    top: -44px;
    right: 4px;
  }
}
