:root {
  --rv-panel: rgba(255, 251, 245, 0.88);
  --rv-ink: #1f1c18;
  --rv-muted: #685d4f;
  --rv-gold: #b78a3d;
  --rv-gold-soft: #d7b16a;
  --rv-line: rgba(90, 70, 40, 0.18);
  --rv-radius-xl: 28px;
  --rv-radius-lg: 20px;
  --rv-radius-md: 14px;
  --rv-shadow-lg: 0 28px 60px rgba(34, 28, 20, 0.14);
  --rv-shadow-sm: 0 14px 28px rgba(34, 28, 20, 0.08);
  --rv-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --rv-sans: "Avenir Next", "Segoe UI", sans-serif;
}

.rv-shell,
.rv-shell * { box-sizing: border-box; }

.rv-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 48px auto;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  background: var(--rv-panel);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: var(--rv-radius-xl);
  box-shadow: var(--rv-shadow-lg);
  overflow: hidden;
  color: var(--rv-ink);
  font-family: var(--rv-sans);
  background-image:
    radial-gradient(circle at top left, rgba(215,177,106,.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(55,90,68,.1), transparent 28%),
    linear-gradient(135deg, #f9f4eb 0%, #efe4d2 48%, #f5efe6 100%);
}

.rv-intro {
  position: relative;
  padding: 44px 34px;
  background:
    linear-gradient(180deg, rgba(28,24,19,.92), rgba(40,34,26,.84)),
    linear-gradient(135deg, rgba(183,138,61,.15), rgba(255,255,255,.02));
  color: #f7f1e7;
}

.rv-intro::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(215,177,106,.24);
  border-radius: 22px;
  pointer-events: none;
}

.rv-eyebrow {
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #d8bc87;
  margin: 0 0 18px;
}

.rv-intro h1 {
  margin: 0 0 14px;
  font-family: var(--rv-serif);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: .96;
  font-weight: 600;
  color: #f7e7c0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
}

.rv-intro p {
  margin: 0 0 22px;
  color: rgba(247,241,231,.82);
  line-height: 1.7;
}

.rv-lux-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.rv-lux-list li { padding: 14px 16px; border: 1px solid rgba(215,177,106,.2); border-radius: 16px; background: rgba(255,255,255,.03); }
.rv-lux-list strong { display: block; color: #f7e7c0; margin-bottom: 4px; }

.rv-form-panel { padding: 36px clamp(20px, 3vw, 40px) 34px; }
.rv-progress-wrap { margin-bottom: 28px; }
.rv-progress-meta { display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: .92rem; color: var(--rv-muted); margin-bottom: 12px; }
.rv-progress-track { width: 100%; height: 10px; border-radius: 999px; background: rgba(104,93,79,.14); overflow: hidden; }
.rv-progress-bar { width: 20%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--rv-gold) 0%, var(--rv-gold-soft) 100%); transition: width .35s ease; }

.rv-step { display: none; animation: rv-rise .35s ease; }
.rv-step.rv-active { display: block; }
@keyframes rv-rise { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; transform: translateY(0);} }

.rv-step-title { margin: 0 0 8px; font-family: var(--rv-serif); font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; }
.rv-step-copy { margin: 0 0 24px; color: var(--rv-muted); max-width: 62ch; line-height: 1.7; }
.rv-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.rv-field, .rv-full { display: grid; gap: 8px; }
.rv-full { grid-column: 1 / -1; }
.rv-space-top { margin-top: 16px; }

.rv-field label, .rv-choice-label { font-size: .95rem; font-weight: 600; color: var(--rv-ink); }
.rv-required { color: #8d6423; }

.rv-field input, .rv-field select, .rv-field textarea {
  width: 100%;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-md);
  background: rgba(255,255,255,.74);
  padding: 14px 15px;
  font: inherit;
  font-size: 1rem;
  color: var(--rv-ink);
  outline: none;
  line-height: 1.4;
  min-height: 56px;
  height: 56px;
  box-sizing: border-box;
}

.rv-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: block;
  line-height: 1.25 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 15px !important;
  color: var(--rv-ink) !important;
  -webkit-text-fill-color: var(--rv-ink);
  background-color: rgba(255,255,255,.92);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--rv-ink) 50%),
    linear-gradient(135deg, var(--rv-ink) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px !important;
  text-indent: 0 !important;
  overflow: visible;
  vertical-align: middle;
}

.rv-field select option {
  color: var(--rv-ink);
  background: #fffaf4;
}

.rv-field textarea { min-height: 120px; resize: vertical; }
.rv-field input:focus, .rv-field select:focus, .rv-field textarea:focus {
  border-color: rgba(183,138,61,.75);
  box-shadow: 0 0 0 4px rgba(183,138,61,.12);
}

.rv-card-choices, .rv-checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.rv-choice, .rv-tick { position: relative; }
.rv-choice input, .rv-tick input { position: absolute; opacity: 0; pointer-events: none; }
.rv-choice label, .rv-tick label {
  display: block;
  height: 100%;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(104,93,79,.2);
  background: rgba(255,255,255,.66);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.rv-choice label span, .rv-tick label span { display: block; margin-top: 6px; color: var(--rv-muted); font-size: .92rem; line-height: 1.5; font-weight: 400; }
.rv-choice input:checked + label, .rv-tick input:checked + label {
  border-color: rgba(183,138,61,.86);
  background: linear-gradient(180deg, rgba(255,250,243,.98), rgba(247,237,217,.92));
  box-shadow: var(--rv-shadow-sm);
  transform: translateY(-2px);
}

.rv-cluster { padding: 18px; border-radius: 18px; border: 1px solid rgba(104,93,79,.16); background: rgba(255,255,255,.42); }
.rv-cluster h3 { margin: 0 0 8px; font-family: var(--rv-serif); font-size: 1.5rem; }
.rv-cluster p { margin: 0 0 16px; color: var(--rv-muted); line-height: 1.65; }
.rv-hidden { display: none !important; }

.rv-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.rv-primary, .rv-secondary {
  appearance: none;
  border: none;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
  padding: 14px 22px;
}
.rv-secondary { background: rgba(31,28,24,.06); color: var(--rv-ink); }
.rv-primary { background: linear-gradient(90deg, #8d6423 0%, #c59a52 100%); color: #fffaf1; box-shadow: 0 16px 28px rgba(141,100,35,.22); }
.rv-primary:disabled { opacity: .55; cursor: not-allowed; }

.rv-summary { padding: 20px; border-radius: 20px; background: linear-gradient(135deg, rgba(255,252,246,.96), rgba(244,235,220,.92)); border: 1px solid rgba(183,138,61,.28); }
.rv-summary strong { display: block; margin-bottom: 10px; }
.rv-summary ul { margin: 0; padding-left: 18px; color: var(--rv-muted); line-height: 1.85; }
.rv-thank-you { display: none; margin-top: 18px; padding: 20px; border-radius: 18px; background: rgba(55,90,68,.08); border: 1px solid rgba(55,90,68,.24); color: #375a44; line-height: 1.65; }
.rv-thank-you.rv-error { background: rgba(140,60,45,.08); border-color: rgba(140,60,45,.24); color: #8c3c2d; }
.rv-footnote { margin-top: 14px; color: var(--rv-muted); font-size: .88rem; line-height: 1.6; }

@media (max-width: 920px) {
  .rv-shell { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .rv-grid, .rv-card-choices, .rv-checkbox-grid { grid-template-columns: 1fr; }
  .rv-actions { flex-direction: column-reverse; }
  .rv-primary, .rv-secondary { width: 100%; }
}
