.sv-offer-popup[hidden] {
  display: none !important;
}

.sv-offer-popup {
  --sv-popup-navy: #061129;
  --sv-popup-blue: #48a8d5;
  --sv-popup-blue-light: #8dd5f5;
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 36px);
  opacity: 0;
  visibility: hidden;
  font-family: "Avenir Next", "Manrope", "Segoe UI", sans-serif;
  transition: opacity 200ms ease, visibility 200ms ease;
}

.sv-offer-popup,
.sv-offer-popup *,
.sv-offer-popup *::before,
.sv-offer-popup *::after {
  box-sizing: border-box;
}

.sv-offer-popup.is-visible {
  opacity: 1;
  visibility: visible;
}

.sv-offer-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 12, 29, 0.72);
  backdrop-filter: blur(9px);
}

.sv-offer-popup__dialog {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  max-width: 1440px;
  max-height: 900px;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, 0.92fr);
  overflow: hidden;
  border: 1px solid rgba(141, 213, 245, 0.28);
  border-radius: clamp(26px, 3vw, 38px);
  color: #fff;
  background:
    radial-gradient(circle at 94% 8%, rgba(72, 168, 213, 0.48), transparent 32%),
    linear-gradient(145deg, var(--sv-popup-navy), #0b3151 76%, #124e72);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
  transform: translateY(18px) scale(0.985);
  transition: transform 220ms ease;
}

.sv-offer-popup.is-visible .sv-offer-popup__dialog {
  transform: translateY(0) scale(1);
}

.sv-offer-popup__dialog::after {
  position: absolute;
  z-index: 0;
  right: -108px;
  bottom: -164px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 48px rgba(255, 255, 255, 0.018),
    0 0 0 96px rgba(255, 255, 255, 0.012);
  content: "";
  pointer-events: none;
}

.sv-offer-popup__close {
  position: absolute;
  z-index: 8;
  top: 18px;
  right: 18px;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: var(--sv-popup-navy);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(3, 12, 29, 0.22);
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.sv-offer-popup__close span {
  display: block;
  margin-top: -2px;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}

.sv-offer-popup__close:hover,
.sv-offer-popup__close:focus-visible {
  border-color: var(--sv-popup-blue-light);
  color: #fff;
  background: var(--sv-popup-navy);
  transform: rotate(5deg);
}

.sv-offer-popup__close:focus-visible,
.sv-offer-popup__button:focus-visible {
  outline: 3px solid var(--sv-popup-blue-light);
  outline-offset: 3px;
}

.sv-offer-popup__visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: linear-gradient(145deg, #0a2947, #124e72);
}

.sv-offer-popup__visual::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 12, 29, 0.08) 30%, rgba(3, 12, 29, 0.76) 100%),
    linear-gradient(90deg, rgba(3, 12, 29, 0.08), rgba(3, 12, 29, 0.2));
  content: "";
  pointer-events: none;
}

.sv-offer-popup__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sv-offer-popup.is-visible .sv-offer-popup__visual img {
  transform: scale(1);
}

.sv-offer-popup__price {
  position: absolute;
  z-index: 3;
  top: clamp(30px, 4vw, 58px);
  left: clamp(30px, 4vw, 58px);
  display: grid;
  width: clamp(176px, 15vw, 214px);
  height: clamp(176px, 15vw, 214px);
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  background: rgba(6, 17, 41, 0.72);
  box-shadow:
    inset 0 0 0 12px rgba(255, 255, 255, 0.045),
    0 22px 55px rgba(3, 12, 29, 0.32);
  text-align: center;
  backdrop-filter: blur(12px);
}

.sv-offer-popup__price span,
.sv-offer-popup__price small {
  color: var(--sv-popup-blue-light);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.18;
  text-transform: uppercase;
}

.sv-offer-popup__price span {
  display: block;
}

.sv-offer-popup__price strong {
  margin: 5px 0 -2px;
  color: #fff;
  font-size: clamp(76px, 7vw, 96px);
  font-weight: 820;
  letter-spacing: -0.08em;
  line-height: 0.88;
}

.sv-offer-popup__visual-caption {
  position: absolute;
  z-index: 3;
  right: clamp(28px, 4vw, 56px);
  bottom: clamp(28px, 4vw, 56px);
  left: clamp(30px, 4vw, 58px);
  display: grid;
  gap: 5px;
  max-width: 390px;
}

.sv-offer-popup__visual-caption span {
  color: var(--sv-popup-blue-light);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sv-offer-popup__visual-caption strong {
  color: #fff;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 760;
  letter-spacing: -0.025em;
  line-height: 1.18;
  text-wrap: balance;
}

.sv-offer-popup__content {
  position: relative;
  z-index: 2;
  align-self: center;
  min-width: 0;
  padding: clamp(52px, 6vw, 96px);
}

.sv-offer-popup__eyebrow {
  margin: 0 0 12px !important;
  color: var(--sv-popup-blue-light) !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  letter-spacing: 0.13em;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

.sv-offer-popup__content h2 {
  max-width: 640px;
  margin: 0;
  color: #fff;
  font-size: clamp(38px, 4.3vw, 60px);
  font-weight: 790;
  letter-spacing: -0.05em;
  line-height: 1.01;
  text-wrap: balance;
}

.sv-offer-popup__content > p:not(.sv-offer-popup__eyebrow) {
  max-width: 570px;
  margin: 20px 0 28px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.62;
}

.sv-offer-popup__button,
.sv-offer-popup__button:visited {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 25px;
  border: 1px solid #fff;
  border-radius: 999px;
  color: var(--sv-popup-navy);
  background: #fff;
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.2);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition: color 170ms ease, background 170ms ease, border-color 170ms ease, transform 170ms ease;
}

.sv-offer-popup__button:hover,
.sv-offer-popup__button:focus-visible {
  border-color: var(--sv-popup-blue-light);
  color: var(--sv-popup-navy);
  background: var(--sv-popup-blue-light);
  transform: translateY(-2px);
}

.sv-offer-popup__content > small {
  display: block;
  max-width: 500px;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  line-height: 1.5;
}

body.sv-offer-popup-open {
  overflow: hidden;
}

body.sv-offer-popup-open #ht-ctc-chat,
body.sv-offer-popup-open #callnowbutton {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 900px) {
  .sv-offer-popup {
    padding: 16px;
  }

  .sv-offer-popup__dialog {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(220px, 38%) minmax(0, 1fr);
  }

  .sv-offer-popup__price {
    top: 24px;
    left: 24px;
    width: 126px;
    height: 126px;
  }

  .sv-offer-popup__price strong {
    font-size: 58px;
  }

  .sv-offer-popup__visual-caption {
    right: 24px;
    bottom: 24px;
    left: 176px;
  }

  .sv-offer-popup__visual-caption strong {
    font-size: 20px;
  }

  .sv-offer-popup__content {
    padding: 38px 42px;
  }

  .sv-offer-popup__content h2 {
    font-size: clamp(34px, 6vw, 46px);
  }
}

@media (max-width: 640px) {
  .sv-offer-popup {
    padding: 12px;
  }

  .sv-offer-popup__dialog {
    grid-template-rows: minmax(250px, 44%) minmax(0, 1fr);
    border-radius: 24px;
  }

  .sv-offer-popup__close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }

  .sv-offer-popup__close span {
    font-size: 27px;
  }

  .sv-offer-popup__visual img {
    object-position: center 48%;
  }

  .sv-offer-popup__price {
    top: 18px;
    left: 18px;
    width: 96px;
    height: 96px;
    box-shadow:
      inset 0 0 0 7px rgba(255, 255, 255, 0.045),
      0 14px 34px rgba(3, 12, 29, 0.3);
  }

  .sv-offer-popup__price span,
  .sv-offer-popup__price small {
    font-size: 8px;
    letter-spacing: 0.11em;
  }

  .sv-offer-popup__price strong {
    margin-top: 3px;
    font-size: 44px;
  }

  .sv-offer-popup__visual-caption {
    right: 16px;
    bottom: 18px;
    left: 128px;
    gap: 3px;
  }

  .sv-offer-popup__visual-caption span {
    font-size: 8px;
  }

  .sv-offer-popup__visual-caption strong {
    font-size: 15px;
    line-height: 1.15;
  }

  .sv-offer-popup__content {
    align-self: center;
    padding: 26px 20px 24px;
    text-align: center;
  }

  .sv-offer-popup__eyebrow {
    margin-bottom: 7px !important;
    font-size: 9px !important;
  }

  .sv-offer-popup__content h2 {
    margin-inline: auto;
    font-size: clamp(28px, 8.5vw, 36px);
    line-height: 1.03;
  }

  .sv-offer-popup__content > p:not(.sv-offer-popup__eyebrow) {
    margin: 11px auto 16px;
    font-size: 14px;
    line-height: 1.45;
  }

  .sv-offer-popup__button {
    width: 100%;
    min-height: 50px;
    padding: 13px 18px;
  }

  .sv-offer-popup__content > small {
    margin: 9px auto 0;
    font-size: 9px;
    line-height: 1.4;
  }
}

@media (max-width: 640px) and (max-height: 650px) and (orientation: portrait) {
  .sv-offer-popup__dialog {
    grid-template-rows: minmax(160px, 30%) minmax(0, 1fr);
  }

  .sv-offer-popup__price {
    top: 14px;
    left: 14px;
    width: 74px;
    height: 74px;
  }

  .sv-offer-popup__price strong {
    font-size: 34px;
  }

  .sv-offer-popup__price span,
  .sv-offer-popup__price small {
    font-size: 7px;
    letter-spacing: 0.08em;
  }

  .sv-offer-popup__visual-caption {
    bottom: 14px;
    left: 102px;
  }

  .sv-offer-popup__visual-caption strong {
    font-size: 13px;
  }

  .sv-offer-popup__content {
    padding: 17px 18px 16px;
  }

  .sv-offer-popup__content h2 {
    font-size: 26px;
  }

  .sv-offer-popup__content > p:not(.sv-offer-popup__eyebrow) {
    margin-top: 7px;
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.38;
  }

  .sv-offer-popup__button {
    min-height: 44px;
    padding-block: 10px;
  }

  .sv-offer-popup__content > small {
    margin-top: 6px;
    font-size: 8px;
  }
}

@media (max-height: 640px) and (orientation: landscape) {
  .sv-offer-popup {
    padding: 12px;
  }

  .sv-offer-popup__dialog {
    grid-template-columns: minmax(250px, 44%) minmax(0, 1fr);
    grid-template-rows: 1fr;
  }

  .sv-offer-popup__price {
    top: 16px;
    left: 16px;
    width: 86px;
    height: 86px;
  }

  .sv-offer-popup__price strong {
    font-size: 40px;
  }

  .sv-offer-popup__price span,
  .sv-offer-popup__price small {
    font-size: 7px;
    letter-spacing: 0.09em;
  }

  .sv-offer-popup__visual-caption {
    right: 18px;
    bottom: 16px;
    left: 16px;
  }

  .sv-offer-popup__visual-caption strong {
    font-size: 14px;
  }

  .sv-offer-popup__content {
    padding: 22px 52px 20px 28px;
    text-align: left;
  }

  .sv-offer-popup__eyebrow {
    margin-bottom: 5px !important;
    font-size: 8px !important;
  }

  .sv-offer-popup__content h2 {
    font-size: clamp(24px, 4.2vw, 34px);
  }

  .sv-offer-popup__content > p:not(.sv-offer-popup__eyebrow) {
    margin: 7px 0 10px;
    font-size: 12px;
    line-height: 1.38;
  }

  .sv-offer-popup__button {
    width: auto;
    min-height: 42px;
    padding: 9px 17px;
  }

  .sv-offer-popup__content > small {
    margin-top: 6px;
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sv-offer-popup,
  .sv-offer-popup__dialog,
  .sv-offer-popup__visual img,
  .sv-offer-popup__close,
  .sv-offer-popup__button {
    transition-duration: 0.01ms !important;
  }
}
