/* One palette, taken from eandedigital.com: warm off-white page, black type,
   brand red, blush pink. The hero keeps the J&E idea of a colour field that
   fades into the page, but in blush with a red glow instead of dark navy, so
   it matches the main site visitors may already have seen. */
:root {
  --red: #C23838;
  --red-hi: #D94A4A;
  --red-dark: #9E2B2B;
  --red-tint: #fbeaea;
  --blush: #f6dedc;
  --ink: #0f0f10;
  --text: #2c2a2a;
  --muted: #6e6969;
  --line: #ece4e3;
  --page: #fffcfc;
  --card: #ffffff;
  --ok: #1f9d55;
  --shadow: 0 12px 40px -14px rgba(60, 20, 20, .22);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -.01em; }
img { max-width: 100%; display: block; }

/* ── Hero + VSL ─────────────────────────────────────────────── */
.hero {
  position: relative;
  text-align: center;
  padding: 32px 16px 0;
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(194, 56, 56, .30) 0%, rgba(194, 56, 56, 0) 72%),
    linear-gradient(180deg, #f1cbc8 0%, var(--blush) 30%, #fbecea 62%, var(--page) 92%);
}
.logo {
  display: flex; justify-content: center;
  margin: 0 auto 14px;
}
.logo img { width: 64px; height: 64px; mix-blend-mode: multiply; }
.pill {
  display: table; margin-left: auto !important; margin-right: auto !important; margin: 0 0 16px; padding: 6px 14px;
  font-size: 13px; font-weight: 600; color: var(--red-dark);
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(194, 56, 56, .2); border-radius: 99px;
}
.hero h1 {
  color: var(--ink);
  font-size: clamp(30px, 5.6vw, 54px); font-weight: 800; letter-spacing: -.02em;
  max-width: 920px; margin: 0 auto;
}
.hl { color: var(--red); font-style: italic; }
.sub { margin: 16px auto 0; color: var(--text); font-size: clamp(16px, 2.3vw, 19px); font-weight: 500; max-width: 640px; }
.hint { margin: 10px 0 22px; font-size: 13px; color: var(--muted); }

.vsl {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  border: 4px solid #fff;
  box-shadow: 0 30px 70px -22px rgba(120, 30, 30, .5);
}
.vsl-frame, .vsl-frame iframe, .vsl-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vsl-poster {
  position: absolute; inset: 0; z-index: 2;
  padding: 0; border: 0; cursor: pointer; background: #000;
}
.vsl-poster img { width: 100%; height: 100%; object-fit: cover; opacity: .88; }
.vsl-poster.hide { display: none; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--red-hi), var(--red));
  color: #fff;
  box-shadow: 0 0 0 10px rgba(214, 58, 58, .28), 0 12px 30px -8px rgba(214, 58, 58, .8);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 18px rgba(214, 58, 58, .12), 0 12px 30px -8px rgba(214, 58, 58, .8); } }
.vsl-poster:hover .play { transform: translate(-50%, -50%) scale(1.06); }
.vsl-label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  padding: 10px 14px; font-size: 14px; font-weight: 700; color: #fff; letter-spacing: .02em;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  pointer-events: none;
}
.vsl-poster.hide + .vsl-frame + .vsl-label, .vsl.playing .vsl-label { display: none; }

/* ── Form card ──────────────────────────────────────────────── */
main { padding: 0 16px; }
.card {
  max-width: 620px;
  margin: 36px auto 0;
  padding: 28px 22px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  scroll-margin-top: 16px;
}
.card h2 { font-size: clamp(22px, 4vw, 28px); font-weight: 800; text-align: center; }
.lede { text-align: center; color: var(--muted); margin: 8px 0 20px; font-size: 15px; }
.progress { margin-bottom: 20px; }
.progress-row { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
.progress-bar { height: 8px; background: #eef0f4; border-radius: 99px; overflow: hidden; }
#pFill { height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--red-hi)); border-radius: 99px; transition: width .35s ease; }

.step { display: none; }
.step.active { display: block; animation: fade .22s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.q { font-weight: 700; font-size: 17px; color: var(--ink); margin: 0 0 14px; }
.q-note { margin: -6px 0 14px; color: var(--text); font-size: 15px; }
.q-note strong { color: var(--ink); }

.opt {
  display: flex; align-items: center; gap: 12px; width: 100%;
  margin: 0 0 10px; padding: 16px 14px;
  font: inherit; font-weight: 500; font-size: 15.5px; text-align: left; color: var(--ink);
  background: var(--card);
  border: 1.5px solid #dfe3ec; border-radius: 12px;
  cursor: pointer;
  transition: border-color .12s, background .12s, transform .12s;
}
.opt::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #c8cdd8; background: #fff; transition: border-color .12s, box-shadow .12s;
}
.opt:hover, .opt:focus-visible { border-color: var(--red); background: var(--red-tint); outline: none; }
.opt:hover::before, .opt:focus-visible::before { border-color: var(--red); box-shadow: inset 0 0 0 4px #fff; background: var(--red); }
.opt:active { transform: scale(.99); }

.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: var(--ink); }
.field input, .field select {
  width: 100%; padding: 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--card);
  border: 1.5px solid #dfe3ec; border-radius: 12px;
  appearance: none;
}
.phone-group { display: flex; }
.phone-prefix {
  display: flex; align-items: center; flex: none; padding: 0 14px;
  font-size: 15px; font-weight: 600; color: var(--ink);
  background: #f4efee; border: 1.5px solid #dfe3ec; border-right: 0; border-radius: 12px 0 0 12px;
}
.phone-group input { border-radius: 0 12px 12px 0; min-width: 0; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%236b7080' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(214, 58, 58, .12); }
.field .invalid { border-color: var(--red); background-color: var(--red-tint); }
.field-error { display: none; color: var(--red-dark); font-size: 13px; margin-top: 5px; }
.field-error.show { display: block; }

.row { display: flex; flex-direction: column-reverse; gap: 4px; margin-top: 8px; }
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%;
  padding: 16px 20px;
  font: inherit; font-weight: 800; font-size: 16px; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; text-decoration: none;
  background: linear-gradient(180deg, var(--red-hi), var(--red));
  border: 0; border-radius: 12px; cursor: pointer;
  box-shadow: 0 10px 22px -10px rgba(214, 58, 58, .75);
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -10px rgba(214, 58, 58, .85); }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.back {
  align-self: center;
  padding: 10px 6px; font: inherit; font-size: 14px; color: var(--muted);
  background: none; border: 0; cursor: pointer;
}
.back:hover { color: var(--ink); }

.booking-embed { display: block; width: 100%; min-height: 720px; border: 0; }
.thanks { text-align: center; padding: 18px 0; }
.thanks h3 { font-size: 24px; margin-bottom: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Results ────────────────────────────────────────────────── */
.results { max-width: 980px; margin: 64px auto 0; text-align: center; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 8px; }
.results h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; margin-bottom: 24px; }
.video-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.yt-lite {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden;
  background: #000 center / cover no-repeat; cursor: pointer; box-shadow: var(--shadow);
}
.yt-lite::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; transform: translate(-50%, -50%);
  border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6v12l10-6z' fill='white'/%3E%3C/svg%3E") center / 26px no-repeat;
  box-shadow: 0 0 0 8px rgba(214, 58, 58, .25);
}
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-lite.playing::after { display: none; }
.shot { margin: 40px auto 0; max-width: 820px; }
.shot figcaption { font-weight: 800; font-size: 20px; color: var(--ink); margin-bottom: 12px; }
.shot img { margin: 0 auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }

/* Closing band: the brand red, with a white button. */
.final-cta {
  margin: 64px -16px 0;
  padding: 52px 16px 56px;
  text-align: center;
  background:
    radial-gradient(70% 80% at 50% 0%, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
}
.final-cta h2 { color: #fff; font-size: clamp(24px, 4.4vw, 36px); font-weight: 800; margin: 0 auto 6px; max-width: 640px; }
.final-cta p { color: #fbe3e3; margin: 0 auto 22px; }
.btn-big { max-width: 520px; font-size: 18px; padding: 18px 20px; }
.final-cta .btn { background: #fff; color: var(--red-dark); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); }

footer { padding: 22px 16px; text-align: center; font-size: 13px; color: var(--muted); background: var(--page); }

/* ── Confirmation pages ─────────────────────────────────────── */
.confirm-hero { padding-bottom: 60px; }
.confirm-hero .check {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ok); color: #fff; font-size: 34px;
  box-shadow: 0 0 0 10px rgba(31, 157, 85, .2);
}
.confirm-hero p { color: var(--text); max-width: 560px; margin: 14px auto 0; font-size: 17px; }
