/* ==========================================================================
   book.css — ad landing page (book.html) only. Loaded after styles.css.
   ========================================================================== */
.book-page .wa-float { display: none !important; }            /* no floating WhatsApp on the ad page */
.book-page .trust-aggregate { display: none; }                /* unverified aggregate rating: not shown here */

/* ------------------------------------------------------------ Header ---- */
.book-page .site-header { position: absolute; left: 0; right: 0; top: 0; background: transparent; box-shadow: none; border-bottom: 0; }
.book-page .site-header .container { justify-content: center; }
.book-page .site-header .brand__logo { height: 54px; }

/* ------------------------------------------- Colourful drifting pieces -- */
.has-pieces, .book-hero { position: relative; overflow: hidden; }
.book-pieces { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.book-pieces i {
  position: absolute; left: var(--x); bottom: -14%;
  font-style: normal; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1;
  opacity: 0; will-change: transform, opacity;
  text-shadow: 0 0 22px currentColor;
  animation: bookRise var(--dur, 18s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.book-pieces .c1 { color: #F4C84A; }   /* gold  */
.book-pieces .c2 { color: #6FA8FF; }   /* blue  */
.book-pieces .c3 { color: #5ED6A0; }   /* mint  */
.book-pieces .c4 { color: #FF8FB1; }   /* pink  */
.book-pieces .c5 { color: #B58CFF; }   /* lilac */
@keyframes bookRise {
  0%   { transform: translate(0, 0) scale(var(--s, 1)) rotate(var(--r, 0deg)); opacity: 0; }
  10%  { opacity: .8; }
  35%  { transform: translate(14px, -240px) scale(var(--s, 1)) rotate(calc(var(--r, 0deg) * -.5)); }
  65%  { transform: translate(-14px, -480px) scale(var(--s, 1)) rotate(calc(var(--r, 0deg) * .6)); }
  90%  { opacity: .75; }
  100% { transform: translate(6px, -720px) scale(var(--s, 1)) rotate(calc(var(--r, 0deg) * -1)); opacity: 0; }
}
@media (max-width: 768px) {
  @keyframes bookRise {
    0%   { transform: translate(0, 0) scale(var(--s, 1)) rotate(var(--r, 0deg)); opacity: 0; }
    10%  { opacity: .8; }
    50%  { transform: translate(10px, -420px) scale(var(--s, 1)) rotate(calc(var(--r, 0deg) * -.5)); }
    90%  { opacity: .75; }
    100% { transform: translate(-6px, -820px) scale(var(--s, 1)) rotate(calc(var(--r, 0deg) * -1)); opacity: 0; }
  }
}
@media (prefers-reduced-motion: reduce) { .book-pieces i { animation: none; opacity: .5; bottom: 30%; } }
.book-hero > .container, .book-how > .container, .book-coach-slider > .container { position: relative; z-index: 2; }

/* Hero */
.book-hero { padding-top: calc(var(--nav-h, 72px) + clamp(1rem, 3vw, 1.8rem)); padding-bottom: clamp(7.5rem, 11vw, 9.5rem); }
.book-hero h1 { margin-bottom: .6rem; }
.book-hero p strong { color: #fff; }
.book-guarantees { justify-content: center; margin-top: 1.2rem; }
.book-loved { justify-content: center; margin: 1.3rem auto 0; }
.book-cb {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.1rem;
  background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px; padding: .6rem 1.2rem; font: 600 .95rem/1 var(--sans, Inter, sans-serif); cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.book-cb svg { width: 18px; height: 18px; color: var(--gold-500, #D4AF37); }
.book-cb:hover, .book-cb:focus-visible { background: rgba(212,175,55,.2); border-color: var(--gold-500, #D4AF37); transform: translateY(-1px); }

/* Booking: single centred card */
.book-booking { padding-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.book-single { display: block; max-width: 880px; margin: 0 auto; }
.book-callbackline { text-align: center; margin: 1.1rem 0 0; color: var(--body-soft); }
.book-linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--navy-700, #14325f); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.book-linkbtn:hover { color: var(--gold-600, #B8922A); }

/* -------------------------------------------------------- Highlights ----- */
.nb { white-space: nowrap; }
.hl {
  font-weight: 700; color: #B8860B;
  background: linear-gradient(100deg, #A87B0C 0%, #D9A92E 38%, #F1CF6B 55%, #B8860B 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.section--navy .hl, .book-hero .hl, .book-coach-slider .hl, .book-final .hl {
  color: #F1CF6B; background: linear-gradient(100deg, #E3B94C 0%, #FBE59A 50%, #E3B94C 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.book-page h1, .book-page h2, .book-page h3 { text-wrap: balance; }
.book-page p { text-wrap: pretty; }

/* --------------------------------------------------- How it works ------- */
.book-how { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.book-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1020px; margin: 0 auto; padding: 0; counter-reset: none; position: relative; }
.book-steps li {
  position: relative; background: var(--white); color: var(--body); border-radius: var(--radius-lg);
  padding: 2.6rem 1.5rem 1.6rem; box-shadow: 0 18px 40px rgba(0,0,0,.28); overflow: hidden;
  transition: transform .25s var(--ease, ease), box-shadow .25s;
}
.book-steps li::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--bs, var(--gold-500)); }
.book-steps li:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(0,0,0,.35); }
.bs--gold { --bs: linear-gradient(90deg, #D4AF37, #F4D675); --bsc: #B8922A; --bsb: rgba(212,175,55,.16); }
.bs--blue { --bs: linear-gradient(90deg, #4F86E8, #8DB6FF); --bsc: #2F63C4; --bsb: rgba(79,134,232,.15); }
.bs--green { --bs: linear-gradient(90deg, #2FBF8A, #7BE0B0); --bsc: #1E9B6E; --bsb: rgba(47,191,138,.15); }
.book-steps__n { position: absolute; right: 1.1rem; top: .7rem; font-family: var(--serif); font-weight: 700; font-size: 3.4rem; line-height: 1; color: var(--bsc); opacity: .18; }
.book-steps__icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--bsb); color: var(--bsc); margin-bottom: 1rem; }
.book-steps__icon svg { width: 28px; height: 28px; }
.book-steps h3 { font-size: 1.28rem; margin-bottom: .4rem; color: var(--navy-900); }
.book-steps p { font-size: 1rem; color: var(--body-soft); margin: 0; line-height: 1.6; }
.book-steps p strong { color: var(--navy-900); }
@media (min-width: 821px) {
  .book-steps li:not(:last-child)::after { content: ""; position: absolute; top: 56px; right: -1.5rem; width: 1.5rem; border-top: 3px dotted rgba(255,255,255,.55); }
}
@media (max-width: 820px) { .book-steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------ Two opposite photo rows */
.book-gallery { padding: .4rem 0 clamp(2.4rem, 5vw, 3.4rem); overflow: hidden; }
.book-gallery__row { overflow: hidden; margin-bottom: .9rem; }
.book-gallery__track { display: flex; gap: .9rem; width: max-content; animation: bookSlide 70s linear infinite; padding-left: .9rem; }
.book-gallery__row--rev .book-gallery__track { animation-direction: reverse; animation-duration: 80s; }
.book-gallery__row:hover .book-gallery__track { animation-play-state: paused; }
.book-photo { height: clamp(150px, 20vw, 210px); width: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); flex: none; box-shadow: var(--shadow-sm); background: var(--ivory-200, #eee); }
@keyframes bookSlide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .book-gallery__track, .book-coach-track { animation: none; } }

/* ----------------------------------------------------------- Coaches ---- */
.book-coaches .coach-strip { margin-bottom: 0; }
.book-coaches .coach-strip__face { pointer-events: none; cursor: default; }
.book-coach-slider { background: linear-gradient(180deg, #0B1E3D, #102a52); color: #fff; padding-bottom: clamp(2.6rem, 6vw, 4rem); }
.book-coach-slider h2 { color: #fff; }
.book-coach-slider .section-head p { color: var(--on-dark-soft, #c8d3e8); }
.book-coach-viewport { overflow: hidden; position: relative; z-index: 2; padding: .6rem 0 1rem; }
.book-coach-track { display: flex; gap: 1.1rem; width: max-content; animation: bookSlide calc(var(--n, 18) * 5.5s) linear infinite; padding-left: 1.1rem; }
.book-coach-viewport:hover .book-coach-track, .book-coach-viewport:focus-within .book-coach-track { animation-play-state: paused; }
.bcoach { width: 290px; flex: none; background: #fff; color: var(--body); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 16px 36px rgba(0,0,0,.35); display: flex; flex-direction: column; transition: transform .25s var(--ease, ease); }
.bcoach:hover { transform: translateY(-6px); }
.bcoach__photo { position: relative; aspect-ratio: 1 / 1; background: var(--ivory-200, #eee); overflow: hidden; }
.bcoach__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bcoach__tag { position: absolute; left: .7rem; top: .7rem; background: linear-gradient(135deg, #D4AF37, #F4D675); color: var(--navy-900); font-weight: 700; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding: .28rem .6rem; border-radius: 999px; }
.bcoach__body { padding: 1rem 1.1rem 1.2rem; white-space: normal; }
.bcoach__body h3 { font-size: 1.25rem; margin: 0 0 .15rem; color: var(--navy-900); }
.bcoach__cert { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #1E9B6E; margin-bottom: .5rem; }
.bcoach__body p { font-size: .92rem; line-height: 1.55; margin: 0; color: var(--body-soft); }
.bcoach__body p b { color: var(--navy-900); }

/* -------------------------------------------------------------- FAQ ----- */
.faq--single { max-width: 820px; margin: 0 auto; grid-template-columns: 1fr; }

/* -------------------------------------------------- Callback pop-up ----- */
.book-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1rem; opacity: 0; transition: opacity .18s ease; }
.book-modal[hidden] { display: none; }
.book-modal.is-open { opacity: 1; }
.book-modal__backdrop { position: absolute; inset: 0; background: rgba(7,20,39,.72); backdrop-filter: blur(3px); }
.book-modal__panel { position: relative; width: min(560px, 100%); max-height: calc(100vh - 2rem); overflow: auto; border-radius: var(--radius-lg); background: var(--white); box-shadow: 0 30px 70px rgba(0,0,0,.5); transform: translateY(14px) scale(.98); transition: transform .2s ease; }
.book-modal.is-open .book-modal__panel { transform: none; }
.book-modal__close { position: absolute; right: .7rem; top: .6rem; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(11,30,61,.08); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--navy-900); }
.book-modal__close:hover { background: rgba(212,175,55,.35); }
.book-modal .booking-card { box-shadow: none; border: 0; margin: 0; }
body.modal-open { overflow: hidden; }

/* ----------------------------------------------------- Sticky phone CTA - */
.book-sticky {
  position: fixed; left: 50%; bottom: 14px; z-index: 900; transform: translate(-50%, 140%);
  display: none; background: linear-gradient(135deg, #D4AF37, #F4D675); color: var(--navy-900);
  font-weight: 700; padding: .85rem 1.5rem; border-radius: 999px; text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: transform .3s var(--ease, ease); white-space: nowrap;
}
@media (max-width: 700px) {
  .book-sticky { display: block; }
  .book-sticky.is-on { transform: translate(-50%, 0); }
  .book-page .to-top { bottom: 76px; }
}

/* ------------------------------------------------------------ Footer ---- */
.book-footer { background: var(--navy-950, #071427); color: var(--on-dark-soft, #b9c4d8); padding: 1.6rem 0 5rem; font-size: .92rem; }
.book-footer .container { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; justify-content: space-between; }
.book-footer a { color: var(--on-dark, #fff); text-decoration: underline; text-underline-offset: 3px; }
.book-footer__links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
@media (min-width: 701px) { .book-footer { padding-bottom: 1.6rem; } }

/* ------------------------------------------------------------ Phones ---- */
@media (max-width: 600px) {
  .book-page .site-header .brand__logo { height: 44px; }
  .book-hero { padding-top: calc(var(--nav-h, 64px) + .2rem); padding-bottom: 6rem; }
  .book-hero .hero__badge { font-size: .72rem; padding: .35rem .7rem; }
  .book-hero h1 { font-size: clamp(1.75rem, 8vw, 2.2rem); margin-bottom: .4rem; }
  .book-hero p { font-size: .95rem; line-height: 1.5; margin-bottom: .2rem; }
  .book-guarantees { gap: .35rem; margin-top: .8rem; }
  .book-guarantees .hero__guarantee { font-size: .74rem; padding: .3rem .6rem; }
  .book-guarantees .hero__guarantee svg { width: 12px; height: 12px; }
  .book-cb { margin-top: .8rem; font-size: .88rem; padding: .5rem 1rem; }
  .book-loved { display: none; }
  .bcoach { width: 255px; }
}


/* Start moving only when near the screen (book.js toggles .is-running) */
.book-gallery__track, .book-coach-track { animation-play-state: paused; }
.book-gallery__row.is-running .book-gallery__track,
.book-coach-viewport.is-running .book-coach-track { animation-play-state: running; }
.book-gallery__row.is-running:hover .book-gallery__track,
.book-coach-viewport.is-running:hover .book-coach-track { animation-play-state: paused; }
.book-pieces i { animation-play-state: paused; }
.has-pieces.is-running .book-pieces i, .book-hero.is-running .book-pieces i { animation-play-state: running; }

/* Gallery: show the whole photo (natural proportions), taller rows */
.book-photo { height: clamp(170px, 24vw, 260px); width: auto; aspect-ratio: auto; object-fit: contain; background: transparent; }
@media (max-width: 600px) { .book-photo { height: 190px; } }

/* Coach cards: whole description, equal heights, room to breathe */
.book-coach-track { align-items: stretch; }
.bcoach { width: 310px; }
.bcoach__photo { aspect-ratio: 4 / 4.2; }
.bcoach__body p { font-size: .94rem; line-height: 1.6; }
.bcoach__cert { color: #1E6FB8; }
@media (max-width: 600px) { .bcoach { width: 276px; } }

/* "Would you rather we call you?" banner under the calendar */
.book-callbackline { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem .9rem; margin: 1.2rem auto 0; max-width: 880px; padding: 1rem 1.2rem; background: linear-gradient(135deg, rgba(212,175,55,.16), rgba(79,134,232,.12)); border: 1px solid rgba(212,175,55,.45); border-radius: var(--radius-lg); font-weight: 600; color: var(--navy-900); text-align: center; }
.book-linkbtn { display: inline-flex; align-items: center; gap: .45rem; background: var(--navy-900); color: #fff; padding: .6rem 1.1rem; border-radius: 999px; text-decoration: none; font-weight: 700; }
.book-linkbtn svg { width: 17px; height: 17px; color: var(--gold-500, #D4AF37); }
.book-linkbtn:hover { background: var(--navy-700, #14325f); color: #fff; }

/* Hero eyebrow */
.book-hero .final-cta__eyebrow { display: inline-block; margin-bottom: .9rem; }
.book-final h2 { text-wrap: balance; }


/* ===== Round 4 ===== */
/* Pieces only at the left and right edges, soft, so they never sit behind the words */
.book-pieces i { font-size: clamp(1.8rem, 3.6vw, 3rem); }
.book-pieces { -webkit-mask-image: linear-gradient(90deg, #000 0, #000 17%, transparent 24%, transparent 76%, #000 83%, #000 100%); mask-image: linear-gradient(90deg, #000 0, #000 17%, transparent 24%, transparent 76%, #000 83%, #000 100%); }
@media (max-width: 700px) {
  .book-pieces i { font-size: 1.5rem; }
  .book-pieces { opacity: .55; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 9%, transparent 16%, transparent 84%, #000 91%, #000 100%); mask-image: linear-gradient(90deg, #000 0, #000 9%, transparent 16%, transparent 84%, #000 91%, #000 100%); }
}

/* Callback banner under the calendar */
.book-callbackline { display: flex; align-items: center; gap: 1rem; max-width: 880px; margin: 1.3rem auto 0; padding: 1rem 1.2rem; text-align: left; font-weight: 400;
  background: linear-gradient(135deg, #0B1E3D, #17376a); color: #fff; border: 1px solid rgba(212,175,55,.5); border-radius: var(--radius-lg); box-shadow: 0 14px 34px rgba(11,30,61,.28); }
.book-callbackline__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(212,175,55,.18); color: #F1CF6B; }
.book-callbackline__icon svg { width: 22px; height: 22px; }
.book-callbackline__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.book-callbackline__text strong { font-family: var(--serif); font-size: 1.15rem; color: #fff; }
.book-callbackline__text span { color: var(--on-dark-soft, #c8d3e8); font-size: .95rem; }
.book-callbtn { flex: none; display: inline-flex; align-items: center; gap: .5rem; border: 0; cursor: pointer; font: 700 .98rem/1 var(--sans, Inter, sans-serif);
  padding: .8rem 1.25rem; border-radius: 999px; color: var(--navy-900); background: linear-gradient(135deg, #D4AF37, #F4D675); box-shadow: 0 8px 20px rgba(212,175,55,.35); transition: transform .2s, box-shadow .2s; }
.book-callbtn svg { width: 16px; height: 16px; }
.book-callbtn:hover, .book-callbtn:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(212,175,55,.5); }
@media (max-width: 640px) {
  .book-callbackline { flex-direction: column; text-align: center; gap: .7rem; padding: 1.1rem; }
  .book-callbtn { width: 100%; justify-content: center; }
}

/* Coach cards: shorter; description stops with "..." instead of growing */
.bcoach__photo { aspect-ratio: 5 / 4; }
.bcoach__body { padding: .85rem 1rem 1rem; }
.bcoach__body h3 { font-size: 1.15rem; margin: 0; }
.bcoach__cert { display: inline-block; margin: .25rem 0 .45rem; padding: .16rem .55rem; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #1E6FB8; background: rgba(30,111,184,.1); }
.bcoach__body p { display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; font-size: .9rem; line-height: 1.5; }
.bcoach { width: 290px; }
@media (max-width: 600px) { .bcoach { width: 262px; } }

/* ===== Round 5 ===== */
/* Step numbers: clearly readable, still soft */
.book-steps__n { opacity: .62; font-size: 3.2rem; right: 1.1rem; top: .8rem; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.bs--gold .book-steps__n { color: #B8860B; }
.bs--blue .book-steps__n { color: #2F63C4; }
.bs--green .book-steps__n { color: #1E9B6E; }

/* Corner video + sticky button share the bottom edge on phones */
body.has-promo-video .book-sticky { bottom: calc(14px + var(--promo-h, 0px) + 12px); }

/* Thank-you card */
.book-thanks { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 1rem; opacity: 0; transition: opacity .2s ease; }
.book-thanks[hidden] { display: none; }
.book-thanks.is-open { opacity: 1; }
.book-thanks__backdrop { position: absolute; inset: 0; background: rgba(7,20,39,.8); backdrop-filter: blur(4px); }
.book-thanks__card { position: relative; width: min(520px, 100%); text-align: center; background: #fff; border-radius: var(--radius-lg); padding: 2.2rem 1.6rem 1.6rem; box-shadow: 0 30px 70px rgba(0,0,0,.5); border-top: 6px solid var(--gold-500, #D4AF37); }
.book-thanks__check { width: 68px; height: 68px; margin: -3.4rem auto 1rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2FBF8A, #7BE0B0); color: #fff; box-shadow: 0 10px 24px rgba(47,191,138,.45); }
.book-thanks__check svg { width: 34px; height: 34px; }
.book-thanks h2 { font-size: clamp(1.4rem, 4.6vw, 1.8rem); margin-bottom: .6rem; color: var(--navy-900); }
.book-thanks p { color: var(--body-soft); margin: 0 0 .8rem; }
.book-thanks__wait { font-size: .95rem; }
.book-thanks__actions { display: flex; flex-direction: column; align-items: center; gap: .6rem; margin-top: .6rem; }
.book-thanks__stay { background: none; border: 0; color: var(--body-soft); text-decoration: underline; cursor: pointer; font: inherit; }
