/* ==========================================================================
   OPTIV — Start Your Journey (embedded booking flow)
   Scoped to .ovj
   ========================================================================== */

.ovj {
  --paper:   #fbfbf9;
  --ink:     #141714;
  --accent:  #7bfb8e;
  --accent-soft: #e6fced;
  --accent-mid:  #b6f7c4;
  --accent-deep: #14742d;
  --muted:   #6a706a;
  --hairline: rgba(20, 23, 20, 0.10);

  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--paper);
  color: #2e2e2e;
}

.ovj *, .ovj *::before, .ovj *::after { box-sizing: border-box; }

:where(.ovj) :where(h1, h2) {
  font-family: "Satoshi", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
:where(.ovj) :where(p) { margin: 0; line-height: 1.68; }
:where(.ovj) :where(ul) { margin: 0; padding: 0; list-style: none; }

.ovj-wrap {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

/* ---------- Intro ---------- */
.ovj-intro { padding-block: clamp(36px, 5vw, 64px) clamp(24px, 3vw, 36px); text-align: center; }
.ovj-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
  color: var(--accent-deep); background: var(--accent-soft); border: 1px solid var(--accent-mid);
}
.ovj-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-deep); }
.ovj-h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); margin-top: 22px; }
.ovj-lead {
  margin: 20px auto 0; max-width: 52ch;
  font-size: clamp(1rem, 1.2vw, 1.1rem); color: var(--muted);
}

/* ---------- Frame ---------- */
.ovj-frame-wrap { padding-bottom: clamp(32px, 4vw, 56px); }
.ovj-frame {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  /* Scaled down so the wizard reads more compactly. Visible height must stay
     in step with the scale: 1640 * 0.8 = 1312. */
  min-height: 1312px;
  height: 1312px;
  box-shadow: none;
}
.ovj-iframe {
  display: block;
  width: 125%;
  height: 1640px;
  border: 0;
  overflow: hidden;
  transform: scale(0.8);
  transform-origin: 0 0;
  opacity: 0;
  transition: opacity .4s ease;
}
.ovj-iframe.is-ready { opacity: 1; }

.ovj-loading,
.ovj-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  text-align: center;
  padding: 32px;
  background: #fff;
}
.ovj-loading[hidden],
.ovj-fallback[hidden] { display: none; }
.ovj-loading p { font-size: 15px; color: var(--muted); }

.ovj-spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--accent-soft);
  border-top-color: var(--accent-deep);
  animation: ovj-spin .9s linear infinite;
}
@keyframes ovj-spin { to { transform: rotate(360deg); } }

.ovj-fallback h2 { font-size: 1.4rem; }
.ovj-fallback p { font-size: 15px; color: var(--muted); max-width: 42ch; }
.ovj-fallback.is-visible { display: grid; }

.ovj-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 16px 32px;
  border-radius: 999px; background: var(--accent); color: #10210f;
  font-size: 16px; font-weight: 600; text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.ovj-btn:hover { background: #6cf581; color: #10210f; transform: translateY(-2px); text-decoration: none; }

.ovj-note {
  margin-top: 20px; text-align: center;
  font-size: 13.5px; color: var(--muted);
}
.ovj-note a { color: var(--accent-deep); text-decoration: underline; }

/* ---------- Trust strip ---------- */
.ovj-trust { border-top: 1px solid var(--hairline); padding-block: clamp(24px, 3vw, 40px); }
.ovj-trust ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px;
}
.ovj-trust li { font-size: 13.5px; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  .ovj-intro { padding-block: 28px 20px; }
  .ovj-frame {
    border-radius: 0;
    min-height: 1400px;      /* 1750 * 0.80 */
    height: 1400px;
  }
  .ovj-iframe { width: 125%; height: 1750px; transform: scale(0.80); }
  .ovj-wrap { padding-inline: 12px; }
  .ovj-btn { width: 100%; }
  .ovj-trust ul { gap: 10px 20px; }
  .ovj-trust li { font-size: 12.5px; }
}

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