/* Family Mediation Florida: VSL video blocks (v23). Loaded only on pages with a video. */
.vsl { background: var(--ivory); padding-block: clamp(56px, 7vw, 96px); text-align: center; }
.vsl-inner { width: min(920px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.vsl-head { max-width: 720px; margin: 0 auto clamp(22px, 3vw, 34px); }
.vsl-head .eyebrow { justify-content: center; }
.vsl-head h1, .vsl-head h2 { margin-bottom: .35em; }
.vsl-head h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.vsl-head p { margin: 0; color: var(--muted); }
.vsl-head p a { color: var(--berry); font-weight: 600; text-decoration: none; white-space: nowrap; }
.vsl-frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: 14px; overflow: hidden; background: var(--teal);
  box-shadow: 0 30px 60px -30px rgba(6, 22, 26, .55), 0 0 0 1px rgba(15, 46, 54, .08);
}
.vsl-frame video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--teal); }
.vsl-cta { margin-top: clamp(18px, 2.4vw, 26px); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.vsl-cta .btn { white-space: normal; text-align: center; }
.vsl-note { margin: 0; font-size: .95rem; color: var(--muted); }
.vsl-es { margin: 0; font-size: .95rem; color: var(--teal); font-weight: 500; }

/* Focused pages (/book/, /booked/) */
.vsl--page { padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 96px); }

/* Post-booking checklist */
.vsl-steps { max-width: 620px; margin: clamp(26px, 3.4vw, 40px) auto 0; padding: 0; text-align: left; counter-reset: step; display: grid; gap: 12px; }
.vsl-steps li {
  counter-increment: step; position: relative; padding: 16px 18px 16px 62px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; line-height: 1.55;
}
.vsl-steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal); color: var(--ivory); font: 600 .85rem/1 var(--sans);
}
.vsl-steps a { color: var(--berry); font-weight: 600; text-decoration: none; white-space: nowrap; }
.vsl-steps a:hover, .vsl-head p a:hover { text-decoration: underline; }

/* Guide thank-you: video sits between the hero and the teal call box */
.vsl--ty { background: #f7f1ec; padding-block: 0 clamp(36px, 5vw, 64px); }
.vsl--ty .vsl-inner { width: min(820px, 100% - 2 * var(--gutter)); }

@media (max-width: 760px) {
  .vsl-frame { border-radius: 10px; }
  .vsl-cta .btn { width: 100%; max-width: 360px; }
  .vsl-steps li { padding: 14px 14px 14px 56px; font-size: .97rem; }
  .vsl-steps li::before { left: 14px; }
}
.vsl-es span[lang="es"] { white-space: nowrap; }

/* ---- v23 round 2 ---- */
.vsl { position: relative; isolation: isolate; overflow: hidden; }
.vsl-stage { position: relative; }
.vsl-head h2 em, .vsl-head h1 em { display: block; }
.vsl-head h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }

/* Guide thank-you: centered stack, no mockup */
.ty-hero--stack { text-align: center; padding: clamp(32px, 5vw, 64px) 0 clamp(36px, 5vw, 64px); }
.ty-stack { width: min(820px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.ty-stack h1 { font-size: clamp(2.2rem, 3.8vw, 3.1rem); margin-bottom: clamp(18px, 2.4vw, 28px); }
.ty-stack .ty-note { margin: clamp(16px, 2vw, 22px) auto 0; max-width: 560px; font-size: 1rem; color: var(--muted); }
.ty-next h2 { margin-bottom: 1.1rem; }
.ty-next .ty-learn { margin: 1.15rem 0 0; font-size: 1rem; color: rgba(244, 241, 238, .82); }
@media (max-width: 640px) {
  .ty-stack h1 { font-size: 2.1rem; }
  .ty-stack .ty-note { font-size: .95rem; }
}

/* ===== Design A: "Evening": Ink to Deep Teal, Soft Rose accents, white/Berry pill ===== */
.vsl:not(.vsl--ty) {
  color: rgba(244, 241, 238, .86);
  background:
    radial-gradient(ellipse 55% 60% at 100% 100%, rgba(122, 30, 61, .42), transparent 70%),
    radial-gradient(ellipse 45% 55% at 0% 0%, rgba(176, 122, 134, .16), transparent 70%),
    linear-gradient(180deg, #1E3A47 0%, #0F2E36 100%);
}
.vsl:not(.vsl--ty) .vsl-head h1, .vsl:not(.vsl--ty) .vsl-head h2 { color: #F4F1EE; }
.vsl:not(.vsl--ty) .vsl-head h1 em, .vsl:not(.vsl--ty) .vsl-head h2 em { color: #E2BCC5; }
.vsl:not(.vsl--ty) .vsl-head p { color: rgba(244, 241, 238, .82); }
.vsl:not(.vsl--ty) .vsl-head p a { color: #E2BCC5; }
.vsl:not(.vsl--ty) .vsl-head::after { content: ''; display: block; width: 56px; height: 2px; margin: 18px auto 0; background: #B07A86; border-radius: 2px; }
.vsl:not(.vsl--ty) .vsl-frame {
  box-shadow: 0 0 0 1px rgba(176, 122, 134, .55), 0 0 0 9px rgba(244, 241, 238, .05), 0 40px 70px -30px rgba(0, 0, 0, .7);
}
.vsl:not(.vsl--ty) .vsl-cta .btn {
  box-shadow: 0 0 0 4px rgba(244, 241, 238, .16), 0 16px 32px -12px rgba(0, 0, 0, .55);
}
.vsl:not(.vsl--ty) .vsl-cta .btn:hover { color: #fff; }
.vsl:not(.vsl--ty) .vsl-note { color: rgba(244, 241, 238, .78); }
.vsl:not(.vsl--ty) .vsl-es { color: #F4F1EE; }
.vsl:not(.vsl--ty) :focus-visible { outline-color: #E2BCC5; }
/* booked steps on dark */
.vsl:not(.vsl--ty) .vsl-steps li { background: rgba(244, 241, 238, .06); border-color: rgba(244, 241, 238, .16); color: rgba(244, 241, 238, .9); }
.vsl:not(.vsl--ty) .vsl-steps li::before { background: #7A1E3D; color: #F4F1EE; box-shadow: 0 0 0 3px rgba(176, 122, 134, .35); }
.vsl:not(.vsl--ty) .vsl-steps a { color: #E2BCC5; }
.vsl--page { border-top: 1px solid rgba(244, 241, 238, .08); }

/* ===== Round 3 (A2): yellow accent, readable copy without the video, ivory step cards ===== */
.vsl:not(.vsl--ty) .vsl-head h1 em, .vsl:not(.vsl--ty) .vsl-head h2 em { color: #FFD966; }
.vsl:not(.vsl--ty) .vsl-head::after { background: #FFD966; height: 1px; width: 64px; opacity: .85; }
.vsl-lead { margin: 18px auto 0 !important; max-width: 560px; font-size: 1.06rem; color: rgba(244, 241, 238, .88) !important; }
.vsl-points {
  list-style: none; margin: 0 auto clamp(22px, 3vw, 32px); padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  color: #F4F1EE; font-size: .98rem; font-weight: 500;
}
.vsl-points li { display: flex; align-items: center; gap: 10px; }
.vsl-points li::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #FFD966; box-shadow: 0 0 0 4px rgba(255, 217, 102, .16); }
.vsl-badge {
  display: inline-block; margin-left: 8px; padding: 3px 12px; border: 1px solid rgba(255, 217, 102, .7); border-radius: 999px;
  color: #FFD966; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; vertical-align: 1px;
}
/* booked: ivory step cards, dark text */
.vsl:not(.vsl--ty) .vsl-steps li { background: #F4F1EE; border-color: transparent; color: #2B3F45; box-shadow: 0 14px 28px -18px rgba(0, 0, 0, .6); }
.vsl:not(.vsl--ty) .vsl-steps li::before { background: #7A1E3D; color: #F4F1EE; box-shadow: none; }
.vsl:not(.vsl--ty) .vsl-steps a { color: #7A1E3D; }
.vsl:not(.vsl--ty) .vsl-steps :focus-visible { outline-color: #7A1E3D; }
/* guide thank-you note: two short lines */
.ty-stack .ty-note span { display: block; }
@media (max-width: 760px) {
  .vsl-points { flex-direction: column; align-items: flex-start; width: max-content; max-width: 100%; gap: 8px; text-align: left; }
  .vsl-lead { font-size: 1rem; }
  .vsl-es .vsl-badge { display: inline-block; margin: 8px 0 0; }
}

/* ===== Round 4 (C): Book a call uses the Split design, yellow buttons, video info under the button ===== */
.vsl.vsl--split { background: #F4F1EE; padding-bottom: clamp(56px, 7vw, 88px); color: rgba(244, 241, 238, .86); }
.vsl.vsl--split .vsl-head::after { display: none; }
.vsl.vsl--split .vsl-head h1, .vsl.vsl--split .vsl-head h2 { color: #0F2E36; }
.vsl.vsl--split .vsl-head h1 em, .vsl.vsl--split .vsl-head h2 em { color: #7A1E3D; display: inline; }
.vsl.vsl--split .vsl-head h1 { font-size: clamp(2rem, 3.6vw, 3rem); max-width: 820px; margin-inline: auto; }
.vsl.vsl--split .vsl-stage::before {
  content: ''; position: absolute; z-index: -1; top: 50%; bottom: -6000px; left: 50%; width: 100vw; margin-left: -50vw;
  background:
    radial-gradient(ellipse 50% 40% at 100% 10%, rgba(122, 30, 61, .38), transparent 70%),
    radial-gradient(ellipse 40% 30% at 0% 60%, rgba(176, 122, 134, .12), transparent 70%),
    #1E3A47;
}
.vsl.vsl--split .vsl-stage::after {
  content: ''; position: absolute; z-index: -1; inset: -14px -14px auto auto; width: 38%; height: 60%;
  border: 2px solid #B07A86; border-radius: 16px; opacity: .55;
}
.vsl.vsl--split .vsl-frame { box-shadow: 0 34px 70px -28px rgba(6, 22, 26, .65); }
.vsl.vsl--split .vsl-note { color: rgba(244, 241, 238, .82); }
.vsl.vsl--split .vsl-es { color: #F4F1EE; }

/* Yellow buttons with dark words (Book a call + guide thank-you) */
.btn.btn--yellow, .ty-next .ty-cta.btn--yellow {
  --bg: #FFD966; --fg: #0F2E36; --bg-h: #FFE48A; --bd: #FFD966;
  background: #FFD966; color: #0F2E36; border: 2px solid #FFD966;
  box-shadow: 0 0 0 4px rgba(255, 217, 102, .18), 0 16px 32px -12px rgba(0, 0, 0, .55);
}
.btn.btn--yellow:hover, .ty-next .ty-cta.btn--yellow:hover, .vsl .vsl-cta .btn.btn--yellow:hover { background: #FFE48A; border-color: #FFE48A; color: #0F2E36; }
.vsl.vsl--split :focus-visible { outline-color: #FFD966; }

.vsl .vsl-cta .btn.btn--yellow { box-shadow: 0 0 0 4px rgba(255, 217, 102, .18), 0 16px 32px -12px rgba(0, 0, 0, .55); }

/* Info under the button: same info as the video */
.vsl-info { margin-top: clamp(48px, 6vw, 72px); text-align: left; }
.vsl-intro { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 56px); text-align: center; }
.vsl-intro p { margin: 0 0 .6em; color: rgba(244, 241, 238, .86); font-size: 1.06rem; }
.vsl-intro .vsl-qs { font: 400 clamp(1.4rem, 2.2vw, 1.75rem)/1.3 var(--serif); color: #F4F1EE; margin: 0; }
.vsl-intro .vsl-qs span { color: #FFD966; font-style: italic; }
.vsl-block { margin-top: clamp(40px, 5vw, 56px); }
.vsl-block-h {
  text-align: center; color: #F4F1EE; font-size: clamp(1.5rem, 2.3vw, 1.9rem); margin: 0 0 22px;
}
.vsl-block-h::after { content: ''; display: block; width: 48px; height: 1px; margin: 12px auto 0; background: #FFD966; opacity: .85; }
.vsl-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vsl-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vsl-card {
  background: #F4F1EE; color: #2B3F45; border-radius: 12px; padding: 20px 20px 18px;
  box-shadow: 0 14px 28px -18px rgba(0, 0, 0, .6); line-height: 1.55; font-size: .97rem;
}
.vsl-card .k { display: block; font: 600 .72rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #7A1E3D; margin-bottom: 8px; }
.vsl-card h4 { font: 400 1.22rem/1.25 var(--serif); color: #0F2E36; margin: 0 0 6px; }
.vsl-card p { margin: 0; }
.vsl-card .n {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: #7A1E3D; color: #F4F1EE; font: 600 .85rem/1 var(--sans); margin-bottom: 10px;
}
.vsl-final {
  margin-top: clamp(44px, 5.5vw, 64px); text-align: center; max-width: 680px; margin-inline: auto;
}
.vsl-final h3 { color: #F4F1EE; font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .4em; }
.vsl-final p { color: rgba(244, 241, 238, .86); margin: 0 0 22px; }
.vsl-final .vsl-fine { margin: 18px 0 0; font-size: .84rem; color: rgba(244, 241, 238, .65); }

/* /booked/: phone number in yellow (dark background only) */
.vsl.vsl--booked .vsl-head p a { color: #FFD966; }

/* Guide thank-you, round 4 */
.ty-next .ty-cta { font-size: .92rem; padding: 19px 40px; min-height: 62px; }
.ty-next .ty-learn { font-size: 1.12rem; }
@media (min-width: 900px) {
  .ty-stack .ty-note { max-width: none; font-size: 1.3rem; letter-spacing: -.003em; white-space: nowrap; }
  .ty-stack .ty-note span { display: inline; }
  .ty-next-inner { max-width: 960px; }
  .ty-next h2 { white-space: nowrap; }
}

@media (max-width: 760px) {
  .vsl-cards, .vsl-cards--2 { grid-template-columns: 1fr; }
  .vsl.vsl--split .vsl-stage::after { inset: -8px -8px auto auto; }
  .vsl-card { padding: 16px 16px 14px; }
}
@media (max-width: 640px) {
  .ty-next .ty-cta { padding: 16px 26px; font-size: .84rem; min-height: 56px; }
  .ty-next .ty-learn { font-size: 1.02rem; }
}

/* v23f: solid band, no glow (Karen: no gradients) */
.vsl.vsl--split .vsl-stage::before { background: #1E3A47; }
