/* Fitness by Sarthak — assessment offer page (assessment.html)
   Builds on styles.css tokens; only page-specific pieces live here. */

/* Announcement bar + header */
.offer-topbar { background: var(--teal-700); color: #fff; }
.offer-header { position: sticky; top: 0; z-index: 45; background: rgba(255,255,255,.9); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(14,144,134,.12); }

/* Pills / section tags */
.tag-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1rem; border-radius: 999px; background: var(--mint-100); border: 1px solid var(--mint-200); color: var(--teal-800); font-size: .8125rem; font-weight: 700; }
.tag-solid { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem 1rem; border-radius: 999px; background: var(--teal); color: #fff; font-size: .6875rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 8px 20px -10px rgba(14,144,134,.8); }
.tag-solid::before, .tag-solid::after { content: "✦"; font-size: .55rem; opacity: .75; }

/* Primary CTA (larger, pill, with sub-line) */
.btn-offer { flex-direction: column; gap: .15rem; min-height: 60px; padding: .85rem 2.4rem; font-size: 1.05rem; font-weight: 800; }
.btn-offer .btn-row { display: inline-flex; align-items: center; gap: .6rem; }
.btn-offer .btn-sub { font-size: .75rem; font-weight: 600; opacity: .85; }
.btn-arrow { width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; background: rgba(255,255,255,.2); }
.cta-note { display: inline-flex; align-items: center; gap: .4rem; font-size: .8125rem; font-weight: 700; color: var(--teal-700); }

/* Hero info cards */
.info-card { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow-soft); }
.info-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--teal); color: #fff; flex-shrink: 0; }
.info-card small { display: block; font-size: .75rem; color: var(--muted); }
.info-card strong { display: block; font-size: .875rem; line-height: 1.25; }

.hero-media { position: relative; border-radius: 1.5rem; overflow: hidden; aspect-ratio: 3 / 2; background: linear-gradient(160deg, var(--mint-100), var(--mint-50)); box-shadow: 0 30px 60px -30px rgba(11,38,36,.45); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }

/* Stat cards */
.stat-num { font-size: clamp(2.5rem, 5vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--teal); }
.stat-num sup { font-size: .5em; top: -.8em; margin-left: .05em; }

/* "Sound familiar?" spine circle + numbered bubbles */
.spine-ring { position: relative; width: min(100%, 360px); aspect-ratio: 1; margin: 0 auto; border-radius: 999px; background: radial-gradient(circle at 50% 45%, #fff 0%, var(--mint-100) 70%); border: 10px solid #fff; box-shadow: 0 0 0 6px var(--teal), 0 30px 60px -28px rgba(11,38,36,.5); overflow: hidden; display: grid; place-items: center; }
.spine-ring img { width: 78%; height: auto; }
.q-card { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: #fff; border: 2px solid rgba(14,144,134,.45); border-radius: 1.1rem; box-shadow: var(--shadow-soft); transition: border-color .3s, transform .45s var(--ease-out); }
.q-card:hover { border-color: var(--teal); transform: translateX(4px); }
.q-num { width: 46px; height: 46px; border-radius: 999px; flex-shrink: 0; display: grid; place-items: center; background: #fff; color: var(--teal); font-size: 1.25rem; font-weight: 800; box-shadow: 0 6px 16px -6px rgba(11,38,36,.3); }
.q-card b { color: var(--teal-700); }
@media (min-width: 1024px) {
  /* Fixed image column keeps the ring's geometry stable, so each card's
     --ml (arc position) and --line-w (reaches the ring's edge) stay accurate */
  .relief-grid { grid-template-columns: 380px 1fr; }
  .q-card { margin-left: var(--ml, 0); }
  .q-card::before { content: ""; position: absolute; right: 100%; top: 50%; width: var(--line-w, 3rem); height: 2px; background: var(--teal-800); opacity: .55; }
  .q-card::after { content: ""; position: absolute; right: calc(100% + var(--line-w, 3rem) - 4px); top: calc(50% - 4px); width: 9px; height: 9px; border-radius: 999px; background: var(--teal-800); }
}

/* Mint bands */
.band-mint { background: var(--mint-100); }
.band-soft { background: var(--mint-50); }
.band-cream { background: #fbfdfc; }

/* Experience cards (left accent border) */
.accent-card { background: #fff; border-radius: 1rem; border-left: 4px solid var(--teal); padding: 1.5rem 1.6rem; box-shadow: var(--shadow-soft); }

/* P.A.I.N vertical timeline */
.tl { position: relative; }
.tl::before { content: ""; position: absolute; top: 0; bottom: 0; left: 27px; border-left: 2px dashed rgba(14,144,134,.45); }
.tl-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; padding-bottom: 2.5rem; }
.tl-step:last-child { padding-bottom: 0; }
.tl-node { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; background: #fff; color: var(--teal); border: 2px solid var(--teal); box-shadow: 0 0 0 6px var(--mint-50); font-weight: 800; font-size: 1.15rem; }
.tl-label { display: inline-block; padding: .3rem .75rem; border-radius: .5rem; background: var(--teal); color: #fff; font-size: .875rem; font-weight: 700; }
@media (min-width: 1024px) {
  .tl::before { left: 50%; margin-left: -1px; }
  .tl-step { grid-template-columns: 1fr 56px 1fr; gap: 2rem; padding-bottom: 1.5rem; }
  .tl-step .tl-node { grid-column: 2; grid-row: 1; }
  .tl-step .tl-body { grid-column: 3; grid-row: 1; padding-top: .25rem; }
  .tl-step:nth-child(even) .tl-body { grid-column: 1; text-align: right; }
}

/* What's included cards */
.inc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 1.25rem; overflow: hidden; box-shadow: var(--shadow-soft); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.inc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
/* Photo on top; the icon sits as a small badge on the photo's bottom-left corner */
.inc-top { position: relative; height: 150px; overflow: hidden; background: var(--mint-100); color: var(--teal); }
.inc-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.inc-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,58,54,0) 45%, rgba(5,58,54,.45) 100%); }
.inc-card:hover .inc-top img { transform: scale(1.06); }
.inc-top span { position: absolute; z-index: 1; left: 1rem; bottom: .85rem; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: #fff; box-shadow: 0 10px 22px -10px rgba(0,0,0,.55); }
.inc-top svg { width: 22px; height: 22px; }
.inc-num { font-size: 1.25rem; font-weight: 800; color: var(--teal); }
.inc-badge { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line); font-size: .6875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-800); }

/* 45-day path */
.day-step { position: relative; padding: 1.25rem; background: #fff; border-radius: 1rem; border: 1px solid var(--line); }
.day-step strong { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }

/* Audience cards */
.aud-card { display: flex; gap: 1rem; padding: 1.25rem; background: #fff; border-radius: 1rem; box-shadow: var(--shadow-soft); }
.aud-icon { width: 52px; height: 52px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: var(--teal); color: #fff; }

/* Coach */
.coach-photo { position: relative; border-radius: 1.5rem; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(11,38,36,.5); }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.cert-mini { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: .5rem; transition: transform .4s var(--ease-out), box-shadow .4s; }
.cert-mini:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.cert-mini img { width: 100%; aspect-ratio: 1.41 / 1; object-fit: cover; border-radius: .65rem; background: var(--mint-50); }

/* FAQ boxed variant */
.faq-boxed .faq-item { background: #fff; border: 1px solid var(--line); border-radius: 1rem; padding: 0 1.25rem; margin-bottom: .75rem; }
.faq-boxed .faq-btn { padding: 1.1rem 0; font-size: 1rem; }
.faq-boxed .faq-icon { width: 30px; height: 30px; }

/* Recap */
.recap-card { position: relative; background: #fff; border: 1px solid var(--mint-200); border-radius: 1.75rem; box-shadow: 0 0 0 8px rgba(228,244,242,.7), 0 40px 80px -40px rgba(11,38,36,.45); }
.recap-row { display: flex; align-items: center; gap: .75rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.recap-tick { width: 22px; height: 22px; border-radius: 999px; flex-shrink: 0; display: grid; place-items: center; background: var(--mint-100); color: var(--teal); }

/* Sticky bottom bar (all screen sizes) + WhatsApp offset */
.offer-bar { position: fixed; inset: auto 0 0 0; z-index: 40; background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 2px solid var(--teal); transform: translateY(120%); transition: transform .45s var(--ease-out); padding-bottom: env(safe-area-inset-bottom); }
.offer-bar.is-shown { transform: none; }
.offer-bar.is-shown ~ .wa-float { bottom: 5.5rem; }
/* Room for the sticky bar lives inside the footer, so the page still ends on green */
body.has-offer-bar > footer { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

/* Client stories: two auto-scrolling rows of landscape cards (blurred backdrop + vertical frame) */
.rv-rows { display: grid; gap: 1rem; }
.rv-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
/* The track holds the cards twice (cloned in JS), so moving it by -50% loops seamlessly */
.rv-track { display: flex; width: max-content; animation: rvScroll var(--rv-speed, 60s) linear infinite; }
.rv-reverse .rv-track { animation-direction: reverse; }
.rv-row:hover .rv-track, .rv-row:focus-within .rv-track, .rv-row.is-paused .rv-track { animation-play-state: paused; }
@keyframes rvScroll { to { transform: translateX(-50%); } }

.rv-card { position: relative; flex: 0 0 auto; width: 300px; aspect-ratio: 16 / 10; margin-right: 1rem; border: 0; padding: 0; border-radius: 1.1rem; overflow: hidden; background: var(--teal-900); cursor: pointer; box-shadow: 0 14px 30px -18px rgba(11,38,36,.55); transition: transform .4s var(--ease-out), box-shadow .4s; }
.rv-card:hover, .rv-card:focus-visible { transform: translateY(-4px); box-shadow: 0 0 0 3px var(--teal), 0 20px 36px -18px rgba(11,38,36,.6); outline: none; }
.rv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(.55) saturate(1.1); transform: scale(1.2); }
.rv-fg { position: absolute; top: 0; bottom: 0; left: 50%; height: 100%; width: auto; aspect-ratio: 9 / 16; object-fit: cover; transform: translateX(-50%); box-shadow: 0 0 24px rgba(0,0,0,.45); }
.rv-tag { position: absolute; left: .7rem; top: .7rem; padding: .3rem .65rem; border-radius: .5rem; background: var(--teal); color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .01em; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.rv-play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 999px; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--teal); box-shadow: 0 10px 24px -8px rgba(0,0,0,.5); transition: transform .3s var(--ease-out); }
.rv-play svg { margin-left: 3px; }
.rv-card:hover .rv-play { transform: scale(1.1); }
@media (min-width: 1024px) { .rv-card { width: 340px; aspect-ratio: 16 / 10.5; } }
@media (max-width: 639px) { .rv-card { width: 240px; margin-right: .75rem; } .rv-play { width: 46px; height: 46px; margin: -23px 0 0 -23px; } }

/* Vertical player */
.rv-dialog { padding: 0; border: 0; background: transparent; overflow: visible; max-width: none; max-height: none; }
.rv-dialog::backdrop { background: rgba(4, 30, 28, .88); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.rv-dialog video { display: block; height: min(86vh, 780px); width: auto; max-width: 92vw; aspect-ratio: 9 / 16; object-fit: contain; border-radius: 1rem; background: #000; box-shadow: 0 30px 80px -20px rgba(0,0,0,.7); }
.rv-close { position: absolute; top: -.75rem; right: -.75rem; z-index: 1; width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; background: #fff; color: var(--ink); border: 0; cursor: pointer; box-shadow: 0 8px 20px -6px rgba(0,0,0,.5); }
@media (max-width: 639px) { .rv-close { top: .5rem; right: .5rem; } }

/* Reduced motion: rows stand still and scroll by hand */
@media (prefers-reduced-motion: reduce) {
  .rv-row { overflow-x: auto; scrollbar-width: none; }
  .rv-track { animation: none !important; padding-inline: 1.25rem; }
}

/* Hero Book Now: gentle continuous wiggle to draw the eye (stops on hover; off for reduced motion) */
.btn-shake { animation: btnShake .9s ease-in-out infinite; }
.btn-shake:hover, .btn-shake:focus-visible { animation: none; }
@keyframes btnShake {
  0%, 100% { transform: translateX(0) rotate(0); }
  20% { transform: translateX(-2px) rotate(-1deg); }
  40% { transform: translateX(2px) rotate(1deg); }
  60% { transform: translateX(-2px) rotate(-.6deg); }
  80% { transform: translateX(2px) rotate(.6deg); }
}
@media (prefers-reduced-motion: reduce) { .btn-shake { animation: none; } }

/* Hero video: YouTube iframe scales with its frame at every width */
.hero-media.hero-video { aspect-ratio: 16 / 9; background: #000; }
.hero-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Phones ---------- */
@media (max-width: 639px) {
  /* Header: lighter logo + compact button so both fit comfortably */
  .offer-header .font-serif { font-size: .875rem; }
  .offer-header a > span:first-child { width: 30px; height: 30px; border-radius: .6rem; }
  .offer-header a > span:first-child svg { width: 15px; height: 15px; }
  .offer-header a.flex { gap: .45rem; }
  .offer-header .btn { min-height: 38px; padding: .45rem 1rem; font-size: .8125rem; }

  /* Hero info cards: 2 x 2, icon above text */
  .info-grid { gap: .6rem; }
  .info-card { flex-direction: column; align-items: flex-start; gap: .55rem; padding: .85rem .9rem; }
  .info-card strong { font-size: .8125rem; }
  .info-card small { font-size: .6875rem; }

  /* Hero Book Now: slightly slimmer on small screens */
  .btn-offer { min-height: 56px; padding: .75rem 1.5rem; font-size: 1rem; }

  /* What's included: icon beside the text instead of a tall band on top */
  .inc-card { flex-direction: row; }
  .inc-top { height: auto; width: 104px; flex-shrink: 0; }
  .inc-top span { left: .5rem; bottom: .5rem; width: 34px; height: 34px; border-radius: 10px; }
  .inc-top svg { width: 17px; height: 17px; }
  .inc-card > div:last-child { padding: 1.1rem 1.25rem 1.25rem; }
}

/* Google reviews (static cards in the existing scroll-snap slider) */
.gr-summary { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem .6rem; padding: .7rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-soft); }
.gr-summary strong { font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.gr-stars-lg { color: #FBBC04; font-size: 1.05rem; letter-spacing: .05em; }
.gr-track { align-items: stretch; }
.gr-card { margin: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 1.1rem; padding: 1.25rem 1.3rem 1.2rem; box-shadow: var(--shadow-soft); }
.gr-head { display: flex; align-items: center; gap: .75rem; }
.gr-avatar { width: 42px; height: 42px; border-radius: 999px; flex-shrink: 0; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 1.1rem; }
.gr-who { flex: 1; min-width: 0; line-height: 1.25; }
.gr-who strong { display: block; font-size: .9375rem; text-transform: capitalize; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gr-who small { display: block; font-size: .75rem; color: var(--muted); }
.gr-g { flex-shrink: 0; }
.gr-stars { margin-top: .7rem; display: flex; align-items: center; gap: .5rem; color: #FBBC04; letter-spacing: .04em; }
.gr-stars small { color: var(--muted); font-size: .75rem; letter-spacing: 0; }
.gr-text { margin: .6rem 0 0; font-size: .875rem; line-height: 1.6; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.gr-text p + p { margin-top: .35rem; }
.gr-text.is-open { display: block; -webkit-line-clamp: unset; }
.gr-more { margin-top: .6rem; align-self: flex-start; padding: 0; border: 0; background: none; color: var(--teal); font-size: .8125rem; font-weight: 700; cursor: pointer; }
.gr-more:hover { text-decoration: underline; }
@media (max-width: 639px) { .gr-track > .slide { flex-basis: 85%; } }
