.rv-widget {
  --rv-night: #0c1730;
  --rv-night-deep: #070f21;
  --rv-night-soft: #172b4a;
  --rv-cream: #fff8e9;
  --rv-gold: #f5b74f;
  --rv-gold-soft: #ffe7aa;
  --rv-paper: #fffaf0;
  --rv-ink: #14203b;
  width: 100%;
  max-width: none;
  overflow: hidden;
  background: var(--rv-paper);
  color: var(--rv-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  isolation: isolate;
}

.rv-widget *,
.rv-widget *::before,
.rv-widget *::after { box-sizing: border-box; }
.rv-widget button,
.rv-widget input { font: inherit; }
.rv-widget button { cursor: pointer; }
.rv-widget svg { display: block; }
.rv-widget a { color: inherit; }
.rv-loading { margin: 0; padding: 32px; background: var(--rv-night); color: var(--rv-cream); }

.rv-hero {
  min-height: 780px;
  padding: 52px clamp(22px, 5vw, 72px) 58px;
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(520px, 1.18fr);
  gap: clamp(138px, 13vw, 224px);
  align-items: center;
  position: relative;
  isolation: isolate;
  color: var(--rv-cream);
  background:
    radial-gradient(circle at 75% 10%, rgb(238 182 82 / 14%), transparent 28%),
    radial-gradient(circle at 24% 90%, rgb(103 146 188 / 15%), transparent 34%),
    linear-gradient(148deg, var(--rv-night-deep) 0%, var(--rv-night) 48%, var(--rv-night-soft) 100%);
}

.rv-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .48;
  background-image:
    radial-gradient(circle at 9% 20%, #fff 0 1px, transparent 1.4px),
    radial-gradient(circle at 91% 15%, #fff 0 1px, transparent 1.4px),
    radial-gradient(circle at 56% 82%, #fff 0 1px, transparent 1.4px),
    radial-gradient(circle at 33% 89%, #fff 0 1px, transparent 1.4px);
}

.rv-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto 0 0;
  height: 170px;
  pointer-events: none;
  background: linear-gradient(transparent, rgb(8 17 37 / 78%));
}

.rv-copy { position: relative; z-index: 4; max-width: 560px; }
.rv-eyebrow { margin: 0 0 18px; display: inline-flex; align-items: center; gap: 8px; color: var(--rv-gold-soft); font-size: 12px; line-height: 1.3; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.rv-eyebrow svg { width: 15px; height: 15px; }
.rv-eyebrow--dark { color: #8a5a11; }
.rv-title,
.rv-heading { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; }
.rv-title { max-width: 610px; color: var(--rv-cream); font-size: clamp(54px, 6vw, 94px); line-height: .94; }
.rv-title em { display: block; color: var(--rv-gold-soft); font-style: italic; text-shadow: 0 0 40px rgb(238 182 82 / 14%); }
.rv-lead { width: fit-content; max-width: 440px; margin: 26px 0 28px; padding: 14px 16px; border: 1px solid rgb(255 231 170 / 13%); border-radius: 14px; background: linear-gradient(90deg, rgb(6 14 31 / 84%), rgb(6 14 31 / 62%)); box-shadow: 0 14px 38px rgb(1 8 22 / 18%); backdrop-filter: blur(8px); color: rgb(255 248 233 / 88%); font-size: 17px; line-height: 1.65; }
.rv-date { width: fit-content; margin: -12px 0 28px; display: flex; align-items: center; gap: 12px; color: var(--rv-cream); }
.rv-date > svg { width: 21px; height: 21px; color: var(--rv-gold); }
.rv-date > span { display: grid; gap: 3px; }
.rv-date strong { font-size: 15px; }
.rv-date small { color: rgb(255 248 233 / 62%); font-size: 13px; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.rv-primary,
.rv-count,
.rv-note {
  border-radius: 999px;
}

.rv-primary { min-height: 51px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 24px; border: 0; background: var(--rv-gold); color: var(--rv-night); box-shadow: 0 12px 34px rgb(245 183 79 / 20%); font-size: 15px; text-decoration: none; transition: background .18s ease, transform .18s ease; }
.rv-primary:hover { background: var(--rv-gold-soft); transform: translateY(-1px); }
.rv-primary:focus-visible,
.rv-close:focus-visible,
.rv-search:focus-visible,
.rv-city-option:focus-visible { outline: 3px solid var(--rv-gold-soft); outline-offset: 3px; }
.rv-primary svg { width: 18px; height: 18px; }
.rv-count { min-height: 51px; width: fit-content; display: inline-flex; align-items: center; gap: 9px; padding: 0 20px; border: 1px solid rgb(255 231 170 / 20%); background: rgb(6 14 31 / 70%); box-shadow: 0 12px 34px rgb(1 8 22 / 18%); backdrop-filter: blur(7px); color: var(--rv-cream); }
.rv-count svg { width: 18px; height: 18px; color: var(--rv-gold); }
.rv-count strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.rv-count span { font-size: 14px; white-space: nowrap; }
.rv-note { width: fit-content; min-height: 39px; display: flex; align-items: center; gap: 8px; margin: 16px 0 0; padding: 0 16px; border: 1px solid rgb(255 231 170 / 16%); background: rgb(6 14 31 / 66%); box-shadow: 0 10px 28px rgb(1 8 22 / 14%); backdrop-filter: blur(7px); color: rgb(255 248 233 / 76%); font-size: 13px; }
.rv-note svg { width: 15px; height: 15px; color: var(--rv-gold); }
.rv-basilica { position: absolute; z-index: 1; top: 51%; left: 41%; width: min(1080px, 76vw); height: auto; transform: translate(-50%, -50%); opacity: .82; filter: drop-shadow(0 0 40px rgb(238 182 82 / 17%)); pointer-events: none; }
.rv-visual { min-height: 690px; position: relative; z-index: 3; display: flex; align-items: center; }

.rv-map-stage { width: 100%; min-height: 540px; position: relative; overflow: hidden; border: 1px solid rgb(255 231 170 / 18%); border-radius: 26px; background: rgb(7 17 38 / 68%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 6%), 0 30px 70px rgb(1 8 22 / 26%); backdrop-filter: blur(5px); }
.rv-map-heading { position: absolute; z-index: 3; inset: 22px 24px auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.rv-map-heading .rv-eyebrow { margin: 0; }
.rv-map-status { display: flex; align-items: center; gap: 8px; color: rgb(255 248 233 / 56%); font-size: 12px; }
.rv-map-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--rv-gold); box-shadow: 0 0 10px var(--rv-gold); }
.rv-widget svg.rv-map { width: 100% !important; min-height: 540px; display: block; }
.rv-country { fill: rgb(169 190 212 / 9%); stroke: rgb(255 231 170 / 48%); stroke-width: 1.35; }
.rv-vysehrad-ring { fill: rgb(245 183 79 / 9%); stroke: rgb(245 183 79 / 26%); }
.rv-vysehrad-pin { fill: none; stroke: var(--rv-gold); stroke-width: 1.8; }
.rv-map text { fill: var(--rv-cream); font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 700; paint-order: stroke; stroke: var(--rv-night); stroke-width: 4px; }
.rv-light-aura { fill: rgb(245 183 79 / 18%); }
.rv-light-core { fill: var(--rv-gold-soft); transition: r .2s ease; }
.rv-light-point { cursor: default; outline: none; }
.rv-light-label { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .16s ease; }
.rv-light-point:hover .rv-light-label,
.rv-light-point:focus .rv-light-label { opacity: 1; visibility: visible; }
.rv-light-point:focus .rv-light-core { stroke: var(--rv-cream); stroke-width: 1.5; }
.rv-map-caption { position: absolute; left: 24px; bottom: 22px; display: flex; align-items: center; gap: 9px; color: rgb(255 248 233 / 68%); font-size: 13px; }
.rv-map-caption svg { width: 16px; height: 16px; color: var(--rv-gold); }
.rv-attribution { position: absolute; right: 20px; bottom: 18px; color: rgb(255 248 233 / 42%); font-size: 11px; text-decoration: none; }
.rv-attribution:hover { color: rgb(255 248 233 / 72%); }

.rv-meaning { padding: clamp(72px, 9vw, 130px) clamp(22px, 8vw, 128px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(42px, 9vw, 150px); align-items: start; background: var(--rv-paper); }
.rv-heading { max-width: 610px; font-size: clamp(42px, 5vw, 70px); line-height: 1.02; color: var(--rv-ink); }
.rv-meaning-copy { padding-top: 42px; }
.rv-meaning-copy p { margin: 0 0 28px; color: #596174; font-size: 18px; line-height: 1.72; }
.rv-meaning-copy a { display: inline-flex; align-items: center; gap: 8px; color: var(--rv-ink); font-size: 14px; font-weight: 700; text-underline-offset: 5px; }
.rv-meaning-copy svg { width: 16px; height: 16px; }
.rv-steps { padding: 80px clamp(22px, 8vw, 128px) 110px; background: #edf1f5; }
.rv-steps .rv-heading { max-width: 760px; }
.rv-steps ol { list-style: none; margin: 54px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #cad2dc; }
.rv-steps li { min-height: 230px; margin: 0; padding: 28px; background: #edf1f5; display: flex; flex-direction: column; }
.rv-steps li > span { color: #8a5a11; font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.rv-steps li strong { margin-top: auto; font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 400; }
.rv-steps li p { margin: 10px 0 0; color: #667085; font-size: 14px; line-height: 1.5; }

.rv-modal[hidden] { display: none; }
.rv-modal { position: fixed; z-index: 999999; inset: 0; display: grid; place-items: center; padding: 20px; }
.rv-backdrop { position: absolute; inset: 0; background: rgb(3 8 20 / 76%); backdrop-filter: blur(6px); }
.rv-dialog { width: min(480px, 100%); max-height: min(760px, calc(100vh - 40px)); position: relative; overflow: auto; padding: 30px; border: 1px solid #e6dece; border-radius: 22px; background: var(--rv-paper); box-shadow: 0 30px 90px rgb(1 8 22 / 36%); color: var(--rv-night); }
.rv-close { width: 36px; height: 36px; position: absolute; top: 14px; right: 14px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #667085; }
.rv-close:hover { background: #f0ebe0; color: var(--rv-night); }
.rv-close svg { width: 18px; height: 18px; }
.rv-dialog-title { max-width: calc(100% - 38px); margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 29px; line-height: 1.08; font-weight: 400; letter-spacing: -.03em; }
.rv-dialog-description { margin: 8px 0 22px; color: #687083; font-size: 14px; line-height: 1.55; }
.rv-field { display: grid; gap: 8px; position: relative; }
.rv-field label { color: var(--rv-night); font-size: 14px; font-weight: 700; }
.rv-search { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #d8d2c7; border-radius: 11px; background: #fff; color: var(--rv-night); font-size: 16px; }
.rv-results { max-height: 245px; position: absolute; z-index: 2; top: 82px; right: 0; left: 0; overflow: auto; padding: 6px; border: 1px solid #ded8cc; border-radius: 12px; background: #fff; box-shadow: 0 16px 36px rgb(12 23 48 / 18%); }
.rv-results:empty,
.rv-results[hidden] { display: none; }
.rv-city-option { width: 100%; padding: 10px 11px; border: 0; border-radius: 8px; background: transparent; color: var(--rv-night); text-align: left; font-size: 14px; }
.rv-city-option:hover,
.rv-city-option[aria-selected="true"] { background: #fff0c9; }
.rv-form-error { margin: 12px 0 0; color: #a3212e; font-size: 13px; }
.rv-submit { width: 100%; margin-top: 18px; }
.rv-privacy { margin: 12px 0 0; color: #7c8290; text-align: center; font-size: 12px; line-height: 1.45; }
.rv-success { display: grid; justify-items: center; gap: 16px; padding: 18px 0 4px; text-align: center; }
.rv-success-icon { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: #fff0c9; color: #d78b11; box-shadow: 0 0 40px rgb(245 183 79 / 30%); }
.rv-success-icon svg { width: 34px; height: 34px; }
.rv-success .rv-dialog-title { max-width: 100%; }
.rv-success .rv-dialog-description { margin: -6px 0 2px; }
.rv-widget a.rv-primary.rv-support,
.rv-widget a.rv-primary.rv-support:link,
.rv-widget a.rv-primary.rv-support:visited {
  background: var(--rv-night);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}
.rv-widget a.rv-primary.rv-support:hover,
.rv-widget a.rv-primary.rv-support:focus-visible {
  background: #172b4a;
  color: #fff !important;
}
.rv-widget a.rv-primary.rv-support svg {
  color: #fff !important;
  stroke: currentColor;
}
.rv-secondary { border: 0; background: transparent; color: #596174; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.rv-secondary:hover { color: var(--rv-night); }
.rv-spinner { animation: rv-spin 1s linear infinite; }
body.rv-modal-open { overflow: hidden; }

@keyframes rv-spin { to { transform: rotate(360deg); } }

@media (max-width: 1040px) {
  .rv-hero { grid-template-columns: 1fr; gap: 0; padding-top: 64px; }
  .rv-copy { max-width: 720px; }
  .rv-basilica { position: relative; inset: auto; width: min(900px, 108%); transform: none; margin: -24px -4% -190px; opacity: .76; }
  .rv-visual { min-height: 680px; }
  .rv-map-stage,
  .rv-widget svg.rv-map { min-height: 520px; }
}

@media (max-width: 720px) {
  .rv-hero { min-height: auto; padding-top: 52px; padding-bottom: 28px; }
  .rv-title { font-size: clamp(50px, 15vw, 70px); }
  .rv-lead { max-width: 100%; padding: 13px 14px; font-size: 16px; }
  .rv-basilica { width: 190%; max-width: none; left: 50%; transform: translateX(-50%); margin: 20px 0 -112px; opacity: .8; }
  .rv-visual { min-height: 450px; }
  .rv-map-stage,
  .rv-widget svg.rv-map { min-height: 410px; }
  .rv-map-heading { inset: 18px 18px auto; }
  .rv-map-status { display: none; }
  .rv-map-caption { right: 18px; bottom: 39px; font-size: 12px; }
  .rv-attribution { right: auto; left: 18px; bottom: 14px; font-size: 10px; }
  .rv-map { transform: scale(1.06); }
  .rv-meaning { grid-template-columns: 1fr; gap: 16px; }
  .rv-meaning-copy { padding-top: 0; }
  .rv-steps ol { grid-template-columns: 1fr; }
  .rv-steps li { min-height: 180px; }
}

@media (max-width: 420px) {
  .rv-actions { align-items: flex-start; flex-direction: column; }
  .rv-map-stage,
  .rv-widget svg.rv-map { min-height: 365px; }
  .rv-map-caption { left: 18px; right: 14px; bottom: 40px; }
  .rv-dialog { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .rv-primary { transition: none; }
  .rv-spinner { animation: none; }
}
