.uh-popup[hidden] { display: none !important; }
.uh-popup, .uh-popup * { box-sizing: border-box; }
.uh-popup { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 24px; opacity: 0; transition: opacity .24s ease; }
.uh-popup.is-open { opacity: 1; }
.uh-popup__backdrop { position: absolute; inset: 0; background: rgba(18,24,21,.22); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.uh-popup__dialog { position: relative; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(340px,.95fr); width: min(940px,calc(100vw - 48px)); max-height: calc(100vh - 48px); overflow: hidden; background: #fff; border-radius: 24px; transform: translateY(14px); transition: transform .28s ease; box-shadow: 0 24px 80px rgba(10,35,25,.14); }
.uh-popup.is-open .uh-popup__dialog { transform: translateY(0); }
.uh-popup__close { position: absolute; z-index: 2; top: 18px; right: 18px; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: #03482b; font-size: 24px; cursor: pointer; }
.uh-popup__media { min-height: 470px; background: #f7f5ee; }
.uh-popup__media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.uh-popup__content { display: flex; flex-direction: column; justify-content: center; padding: 58px 54px; }
.uh-popup__eyebrow { color: #b57d08; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.uh-popup__content h2 { margin: 14px 0 18px; color: #03482b; font-size: clamp(34px,3.3vw,52px); line-height: 1.02; letter-spacing: -.045em; }
.uh-popup__content p { margin: 0; color: #5d6d65; font-size: 16px; line-height: 1.75; }
.uh-popup__actions { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.uh-popup__primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px; background: #03482b; color: #fff !important; font-weight: 750; text-decoration: none !important; }
.uh-popup__primary:hover { background: #05603a; color: #fff; }
.uh-popup__secondary { border: 0; background: transparent; color: #66736d; font-weight: 700; cursor: pointer; }
.uh-popup-open { overflow: hidden; }

@media (max-width: 767px) {
  .uh-popup { padding: 0; }
  .uh-popup__dialog { grid-template-columns: minmax(0,1fr); width: calc(100% - 32px); max-width: 430px; max-height: calc(100dvh - 32px); overflow: auto; border-radius: 20px; }
  .uh-popup__media { min-height: 0; aspect-ratio: 16/10; }
  .uh-popup__content { min-width: 0; padding: 30px 26px 28px; }
  .uh-popup__content h2 { margin: 10px 0 13px; font-size: 32px; overflow-wrap: anywhere; }
  .uh-popup__content p { font-size: 14px; line-height: 1.65; }
  .uh-popup__actions { align-items: stretch; flex-direction: column; margin-top: 22px; gap: 10px; }
  .uh-popup__primary { width: 100%; }
  .uh-popup__secondary { padding: 8px; }
  .uh-popup__close { top: 12px; right: 12px; width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .uh-popup, .uh-popup__dialog { transition: none; }
}
