@font-face {
  font-family: "VH Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "VH Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "VH Playfair";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/playfair-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "VH Playfair";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/playfair-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

#vh-promo-overlay {
  --vh-cream: #f3eee4;
  --vh-cream-2: #e9e1d2;
  --vh-ink: #141414;
  --vh-ink-soft: #2a2a2a;
  --vh-gold: #c4a056;
  --vh-gold-l: #e0c98a;
  --vh-gold-d: #9a7a38;
  --vh-muted: #6b675c;
  --vh-line: rgba(196, 160, 86, 0.35);
  --vh-sans: "VH Inter", Inter, "Segoe UI", sans-serif;
  --vh-serif: "VH Playfair", "Playfair Display", "Times New Roman", serif;
  position: fixed;
  inset: 0;
  z-index: 999990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 8, 8, 0.62);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.38s ease, visibility 0.38s ease;
  font-family: var(--vh-sans);
  color: var(--vh-ink);
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

#vh-promo-overlay *,
#vh-promo-overlay *::before,
#vh-promo-overlay *::after {
  box-sizing: border-box;
}

#vh-promo-overlay.vh-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#vh-promo-card {
  position: relative;
  width: min(820px, 100%);
  max-height: min(88vh, 640px);
  display: grid;
  grid-template-columns: 0.92fr 1.18fr;
  background: var(--vh-cream);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(196, 160, 86, 0.28),
    0 28px 80px rgba(0, 0, 0, 0.5);
  transform: translateY(18px) scale(0.975);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#vh-promo-overlay.vh-show #vh-promo-card {
  transform: translateY(0) scale(1);
}

#vh-promo-visual {
  position: relative;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(12, 10, 8, 0.12) 0%, rgba(12, 10, 8, 0.55) 100%),
    url("../img/visual.jpg") 22% center / cover no-repeat;
}

#vh-promo-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 70%, rgba(243, 238, 228, 0.18) 100%);
  pointer-events: none;
}

#vh-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 32% 28%, var(--vh-gold-l), var(--vh-gold) 58%, var(--vh-gold-d) 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: rotate(-8deg);
  z-index: 1;
}

#vh-badge span {
  font-family: var(--vh-serif);
  font-weight: 700;
  line-height: 1.05;
  color: var(--vh-ink);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#vh-badge span em {
  display: block;
  font-style: normal;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
}

#vh-visual-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.88;
  z-index: 1;
}

#vh-promo-body {
  display: flex;
  flex-direction: column;
  padding: 36px 36px 28px;
  min-width: 0;
}

#vh-promo-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vh-gold-d);
  font-weight: 600;
  margin: 0 0 12px;
}

#vh-promo-eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--vh-line), transparent);
}

#vh-promo-body h2 {
  font-family: var(--vh-serif);
  font-size: clamp(26px, 3.1vw, 32px);
  line-height: 1.18;
  margin: 0 0 12px;
  color: var(--vh-ink);
  font-weight: 700;
}

#vh-promo-body h2 strong {
  color: var(--vh-gold-d);
  font-weight: 700;
}

#vh-promo-body p.vh-sub {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--vh-muted);
  margin: 0 0 18px;
}

#vh-perks {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  font-size: 13.5px;
  color: var(--vh-ink-soft);
}

#vh-perks li {
  display: flex;
  align-items: center;
  gap: 9px;
}

#vh-perks .vh-ico {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--vh-gold-d);
  display: block;
}

#vh-perks .vh-ico svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#vh-perks .vh-ico svg [data-fill] {
  fill: currentColor;
  stroke: none;
}

#vh-countdown-wrap {
  background: rgba(20, 20, 20, 0.04);
  border: 1px solid var(--vh-line);
  border-radius: 10px;
  padding: 12px 14px 14px;
  margin-bottom: 20px;
}

#vh-countdown-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--vh-ink);
  margin-bottom: 8px;
  font-weight: 600;
}

#vh-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

#vh-countdown > div {
  text-align: center;
  background: #fff;
  border-radius: 8px;
  padding: 8px 4px 7px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-top: 2px solid var(--vh-gold);
}

#vh-countdown .vh-num {
  display: block;
  font-family: var(--vh-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--vh-ink);
  line-height: 1;
}

#vh-countdown .vh-lbl {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vh-muted);
}

#vh-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: auto;
}

#vh-promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--vh-ink);
  color: #fff !important;
  text-decoration: none !important;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 20px rgba(20, 20, 20, 0.18);
}

#vh-promo-cta:hover {
  background: #000;
  transform: translateY(-1px);
  color: #fff !important;
}

#vh-promo-cta:focus-visible {
  outline: 2px solid var(--vh-gold);
  outline-offset: 3px;
}

#vh-promo-phone {
  color: var(--vh-ink-soft) !important;
  text-decoration: none !important;
  font-size: 13.5px;
  font-weight: 500;
  border-bottom: 1px solid var(--vh-line);
  padding-bottom: 1px;
}

#vh-promo-phone:hover {
  color: var(--vh-gold-d) !important;
  border-bottom-color: var(--vh-gold);
}

#vh-fineprint {
  font-size: 11px;
  color: #8a8574;
  margin: 0 0 16px;
  line-height: 1.5;
}

#vh-promo-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.42);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  font-family: var(--vh-sans);
}

#vh-promo-close:hover,
#vh-promo-close:focus-visible {
  background: rgba(20, 20, 20, 0.7);
}

#vh-promo-close:focus-visible {
  outline: 2px solid var(--vh-gold-l);
  outline-offset: 2px;
}

#vh-sheet-handle {
  display: none;
}

@media (max-width: 860px) {
  #vh-promo-overlay {
    align-items: flex-end;
    padding: 0;
  }

  #vh-promo-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: min(92dvh, 100%);
    grid-template-columns: 1fr;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
  }

  #vh-sheet-handle {
    display: block;
    position: absolute;
    top: 8px;
    left: 50%;
    width: 42px;
    height: 4px;
    margin-left: -21px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.55);
    z-index: 2;
  }

  #vh-promo-visual {
    flex: 0 0 148px;
    min-height: 148px;
    height: 148px;
    background-position: 18% 45%;
  }

  #vh-promo-visual::after {
    background: linear-gradient(180deg, transparent 40%, rgba(243, 238, 228, 0.2) 100%);
  }

  #vh-badge {
    width: 72px;
    height: 72px;
    top: 20px;
    left: 14px;
  }

  #vh-badge span {
    font-size: 10px;
  }

  #vh-badge span em {
    font-size: 16px;
  }

  #vh-visual-caption {
    left: 16px;
    right: 16px;
    bottom: 12px;
    font-size: 10px;
  }

  #vh-promo-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 20px 0;
  }

  #vh-promo-body h2 {
    font-size: 24px;
  }

  #vh-promo-body p.vh-sub {
    margin-bottom: 14px;
  }

  #vh-perks {
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    font-size: 13px;
    margin-bottom: 14px;
  }

  #vh-perks li {
    overflow-wrap: anywhere;
  }

  #vh-countdown-wrap {
    margin-bottom: 14px;
    padding: 10px 10px 12px;
  }

  #vh-countdown {
    gap: 6px;
  }

  #vh-countdown > div {
    min-width: 0;
    padding: 7px 2px 6px;
  }

  #vh-cta-row {
    position: sticky;
    bottom: 0;
    z-index: 2;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    background: var(--vh-cream);
    padding: 12px 0 calc(14px + env(safe-area-inset-bottom, 0px));
    margin-top: auto;
    box-shadow: 0 -10px 16px var(--vh-cream);
  }

  #vh-promo-cta {
    width: 100%;
    padding: 14px 18px;
  }

  #vh-promo-phone {
    text-align: center;
    align-self: center;
  }

  #vh-fineprint {
    margin-bottom: 8px;
  }

  #vh-promo-close {
    top: 14px;
    right: 12px;
    background: rgba(0, 0, 0, 0.45);
  }
}

@media (max-width: 420px) {
  #vh-perks {
    grid-template-columns: 1fr;
  }

  #vh-promo-visual {
    flex-basis: 136px;
    min-height: 136px;
    height: 136px;
  }

  #vh-countdown .vh-num {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #vh-promo-overlay,
  #vh-promo-card,
  #vh-promo-cta {
    transition: none;
  }

  #vh-promo-overlay.vh-show #vh-promo-card {
    transform: none;
  }
}
