/* ==========================================================================
   Fitness by Sarthak — custom styles
   Tailwind (CDN) handles layout/utilities; this file holds theme tokens,
   components that need more than utilities, and all animations.
   ========================================================================== */

:root {
  --teal: #0e9086;
  --teal-600: #0b7870;
  --teal-700: #09625b;
  --teal-800: #074c47;
  --teal-900: #053a36;
  --ink: #0b2624;
  --muted: #4a6361;
  --mint-50: #f3faf9;
  --mint-100: #e4f4f2;
  --mint-200: #c9e8e5;
  --line: #d8ebe9;
  --white: #ffffff;

  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --shadow-soft: 0 1px 2px rgba(11, 38, 36, 0.04), 0 12px 32px -12px rgba(11, 38, 36, 0.12);
  --shadow-lift: 0 2px 4px rgba(11, 38, 36, 0.04), 0 24px 48px -16px rgba(14, 144, 134, 0.28);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body, main { overflow-x: clip; } }
body { background: var(--white); color: var(--ink); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
::selection { background: var(--teal); color: #fff; }
img, svg { max-width: 100%; }

:focus-visible { outline: 2.5px solid var(--teal); outline-offset: 3px; border-radius: 10px; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--teal); color: #fff; padding: .75rem 1rem; border-radius: .75rem; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 1rem; }

/* Serif accent used inside headings for emphasis */
.accent { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 400; color: var(--teal); letter-spacing: -0.01em; }
.on-dark .accent { color: #7fd8cf; }

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ""; width: 1.75rem; height: 1.5px; background: currentColor; opacity: .7; }
.on-dark .eyebrow { color: #7fd8cf; }

/* ---------- Placeholder marker (content still to be supplied) ---------- */
.ph { background: repeating-linear-gradient(135deg, rgba(14,144,134,.08) 0 6px, transparent 6px 12px); border-radius: .35rem; padding: 0 .25rem; }

/* ---------- Navigation ---------- */
.site-nav { transition: background-color .35s var(--ease-out), box-shadow .35s var(--ease-out), padding .35s var(--ease-out), border-color .35s; border-bottom: 1px solid transparent; }
.site-nav.is-scrolled { background: rgba(255,255,255,.82); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: rgba(14,144,134,.12); box-shadow: 0 8px 24px -18px rgba(11,38,36,.35); }
.site-nav .nav-inner { height: var(--nav-h); transition: height .35s var(--ease-out); }
.site-nav.is-scrolled .nav-inner { height: 64px; }

.nav-link { position: relative; padding: .5rem .15rem; font-size: .925rem; font-weight: 500; color: var(--muted); transition: color .25s; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 2px; border-radius: 2px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

/* Hamburger */
.burger { width: 44px; height: 44px; border-radius: 999px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; }
.burger span { display: block; width: 18px; height: 1.75px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease-out), opacity .2s; }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.75px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 40; background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); padding: calc(var(--nav-h) + 1.5rem) 1.5rem 2rem; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease-out), visibility .35s; }
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a.m-link { font-size: 1.75rem; font-weight: 600; letter-spacing: -.02em; padding: .6rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; opacity: 0; transform: translateY(12px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), color .2s; }
.mobile-menu.is-open a.m-link { opacity: 1; transform: none; }
.mobile-menu a.m-link:hover { color: var(--teal); }
body.menu-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: .9rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .975rem; line-height: 1.2; text-align: center; transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background-color .3s, color .3s, border-color .3s; isolation: isolate; overflow: hidden; }
.btn svg { transition: transform .3s var(--ease-out); flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 24px -10px rgba(14,144,134,.7), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.28) 50%, transparent 80%); transform: translateX(-120%); transition: transform .8s var(--ease-out); }
.btn-primary:hover { background: var(--teal-600); transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(14,144,134,.75); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-ghost { color: var(--teal-700); border: 1.5px solid var(--mint-200); background: #fff; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--teal-800); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -14px rgba(0,0,0,.45); }
.btn-outline-light { color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-2px); }
.btn-sm { min-height: 42px; padding: .6rem 1.15rem; font-size: .875rem; }
.btn-md { min-height: 48px; padding: .75rem 1.6rem; font-size: 1rem; }

/* ---------- Backgrounds & decoration ---------- */
.bg-grid { background-image: linear-gradient(rgba(14,144,134,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(14,144,134,.07) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); }
.bg-dots { background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 22px 22px; }
.glow { position: absolute; border-radius: 999px; filter: blur(60px); pointer-events: none; will-change: transform; }
.glow-a { background: radial-gradient(circle, rgba(14,144,134,.28), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.glow-b { background: radial-gradient(circle, rgba(127,216,207,.35), transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(40px,-30px,0) scale(1.12); } }

.section-dark { background: radial-gradient(120% 90% at 85% 0%, #0b6f67 0%, var(--teal-900) 55%, #042c29 100%); color: #fff; }

/* Curved section edges */
.curve-top { position: absolute; left: 0; right: 0; top: -1px; width: 100%; height: clamp(40px, 6vw, 90px); display: block; }
.curve-bottom { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); display: block; }

/* ---------- Hero visual ---------- */
.hero-frame { position: relative; border-radius: var(--radius-xl); background: linear-gradient(160deg, var(--mint-100) 0%, #f7fcfb 55%, var(--mint-50) 100%); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-soft); }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 40%, rgba(14,144,134,.14), transparent 70%); pointer-events: none; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.spine .vert { fill: #fff; stroke: var(--teal); stroke-width: 1.5; opacity: 0; animation: vertIn .6s var(--ease-out) forwards; animation-delay: calc(0.6s + var(--i) * 0.035s); }
.spine .cord { stroke: var(--teal); stroke-width: 2; stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 2.2s var(--ease-out) .4s forwards; opacity: .35; }
@keyframes vertIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Pain → relief points: warm pulse settling into calm teal */
.pain-point circle.core { animation: painCore 6s ease-in-out infinite; }
.pain-point circle.ring { transform-box: fill-box; transform-origin: center; animation: ring 6s ease-out infinite; }
.pain-point:nth-of-type(2) circle { animation-delay: 1.2s; }
.pain-point:nth-of-type(3) circle { animation-delay: 2.4s; }
@keyframes painCore { 0%, 15% { fill: #e07a5f; } 45%, 100% { fill: var(--teal); } }
@keyframes ring { 0% { transform: scale(.6); opacity: .0; stroke: #e07a5f; } 10% { opacity: .9; } 45% { stroke: var(--teal); } 70%, 100% { transform: scale(2.4); opacity: 0; stroke: var(--teal); } }

.float-card { position: absolute; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.9); border-radius: 1.1rem; box-shadow: 0 20px 40px -18px rgba(11,38,36,.3); }
.floaty { animation: floaty 7s ease-in-out infinite; }
.floaty-slow { animation: floaty 9s ease-in-out infinite reverse; }
@keyframes floaty { 0%, 100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-10px,0); } }

.path-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 0; border-top: 1px dashed var(--line); font-size: .875rem; }
.path-row:first-of-type { border-top: 0; }
.path-grid .path-row:nth-child(-n+3) { border-top: 0; }
.path-row .dot { width: 8px; height: 8px; border-radius: 99px; background: var(--mint-200); display: inline-block; margin-right: .55rem; transition: background .3s; }
.path-row.is-current .dot { background: var(--teal); box-shadow: 0 0 0 4px rgba(14,144,134,.15); }

/* Marquee */
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 3rem; animation: marquee 38s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .35s; }
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: rgba(14,144,134,.35); }
.icon-badge { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mint-100); color: var(--teal); transition: transform .45s var(--ease-out), background .3s, color .3s; }
.card-hover:hover .icon-badge { transform: rotate(-6deg) scale(1.06); background: var(--teal); color: #fff; }

/* Symptom cards: the timestamp "clock" tab */
.symptom-card { position: relative; overflow: hidden; }
.symptom-card::before { content: ""; position: absolute; inset: auto -40% -60% auto; width: 180px; height: 180px; border-radius: 999px; background: radial-gradient(circle, rgba(14,144,134,.12), transparent 70%); transition: transform .6s var(--ease-out); }
.symptom-card:hover::before { transform: scale(1.5); }

/* Comparison */
.compare-old li { position: relative; }
.x-mark, .check-mark { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; flex-shrink: 0; }
.x-mark { background: #f1f5f4; color: #8aa09e; }
.check-mark { background: rgba(255,255,255,.14); color: #fff; }

/* Method timeline */
.method-line { position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: rgba(255,255,255,.14); overflow: hidden; border-radius: 2px; }
.method-line::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #7fd8cf, #fff); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease-out) .2s; }
.is-visible .method-line::after, .method-line.is-visible::after { transform: scaleX(1); }
.method-line-v { position: absolute; left: 27px; top: 0; bottom: 0; width: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.method-line-v::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #7fd8cf, #fff); transform: scaleY(0); transform-origin: top; transition: transform 1.8s var(--ease-out) .2s; }
.is-visible .method-line-v::after { transform: scaleY(1); }
.phase-num { width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; font-weight: 700; background: var(--teal-900); border: 1.5px solid rgba(127,216,207,.5); color: #fff; position: relative; z-index: 1; transition: background .35s, transform .45s var(--ease-out); }
.phase:hover .phase-num { background: var(--teal); transform: scale(1.08); }
.phase-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); transition: background .35s, border-color .35s, transform .45s var(--ease-out); }
.phase:hover .phase-card { background: rgba(255,255,255,.09); border-color: rgba(127,216,207,.4); transform: translateY(-4px); }

/* Condition illustration panels */
.cond-art { aspect-ratio: 4 / 3; border-radius: 1.1rem; background: linear-gradient(160deg, var(--mint-100), var(--mint-50)); display: grid; place-items: center; overflow: hidden; position: relative; }
.cond-art svg { width: 58%; height: auto; transition: transform .6s var(--ease-out); }
/* Image from assets/img/pain/ replaces the built-in SVG; if it fails to load it's removed and the SVG shows */
.cond-photo { width: 58%; max-width: 190px; height: auto; object-fit: contain; transition: transform .6s var(--ease-out); }
.cond-photo + svg { display: none; }
.card-hover:hover .cond-photo { transform: scale(1.06); }
.card-hover:hover .cond-art svg { transform: scale(1.06) translateY(-4px); }
.cond-art .hot { fill: var(--teal); animation: hot 3.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes hot { 0%, 100% { opacity: .35; transform: scale(.9); } 50% { opacity: .85; transform: scale(1.1); } }

/* Testimonials */
.media-ph { aspect-ratio: 16 / 10; border-radius: 1.1rem; background: linear-gradient(160deg, var(--mint-100), #fff); display: grid; place-items: center; position: relative; overflow: hidden; }
.play-btn { width: 60px; height: 60px; border-radius: 999px; background: #fff; color: var(--teal); display: grid; place-items: center; box-shadow: 0 12px 28px -12px rgba(11,38,36,.4); transition: transform .4s var(--ease-out); }
.card-hover:hover .play-btn { transform: scale(1.1); }

/* Testimonial videos: full-bleed rounded tiles, no card frame */
.video-slide { margin: 0; }
.video-frame { position: relative; aspect-ratio: 9 / 16; border-radius: 1.5rem; overflow: hidden; background: #0b2624; box-shadow: 0 0 0 1px rgba(11,38,36,.08), 0 22px 40px -24px rgba(11,38,36,.55); transition: transform .5s var(--ease-out), box-shadow .4s; }
.video-slide:hover .video-frame { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(14,144,134,.35), 0 30px 50px -24px rgba(11,38,36,.6); }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.video-slide:hover .video-frame:not(.is-playing) video { transform: scale(1.04); }
.video-frame:not(.is-playing) { cursor: pointer; }
.video-frame.is-playing { box-shadow: 0 0 0 3px var(--teal), 0 30px 50px -24px rgba(11,38,36,.6); transform: none; }
.video-frame.is-playing video { object-fit: contain; transform: none; }
.video-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,38,36,0) 55%, rgba(11,38,36,.7) 100%); pointer-events: none; transition: opacity .4s; }
.video-duration { position: absolute; left: .9rem; bottom: 1.6rem; padding: .3rem .6rem; border-radius: 999px; background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; pointer-events: none; transition: opacity .4s; }
.video-duration:empty { display: none; }
/* Play button sits bottom-right so it doesn't cover the speaker's face */
.video-play { position: absolute; right: .9rem; bottom: .9rem; border: 0; cursor: pointer; width: 52px; height: 52px; background: rgba(255,255,255,.92); }
.video-play::before { content: ""; position: absolute; inset: -8px; border-radius: 999px; border: 2px solid rgba(255,255,255,.55); animation: playPulse 2.4s var(--ease-out) infinite; }
.video-play svg { margin-left: 3px; }
.video-slide:hover .video-play { transform: scale(1.08); }
@keyframes playPulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.video-frame.is-playing .video-play, .video-frame.is-playing .video-shade, .video-frame.is-playing .video-duration { opacity: 0; pointer-events: none; }
.video-frame.is-playing .video-play { display: none; }

/* Results section background */
.results-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(90% 60% at 15% 45%, rgba(127,216,207,.32), transparent 60%), radial-gradient(80% 60% at 90% 90%, rgba(14,144,134,.14), transparent 65%); }
/* Aurora: blurred light ribbons swaying behind the videos */
.results-aurora { position: absolute; left: -15%; right: -15%; top: 26%; bottom: 6%; filter: blur(48px); }
.results-aurora span { position: absolute; left: 0; right: 0; height: 34%; border-radius: 50%; will-change: transform; }
.results-aurora span:nth-child(1) { top: 8%; background: linear-gradient(90deg, transparent 5%, rgba(14,144,134,.30) 35%, rgba(127,216,207,.55) 55%, rgba(14,144,134,.22) 75%, transparent 95%); animation: aurora1 18s ease-in-out infinite alternate; }
.results-aurora span:nth-child(2) { top: 40%; background: linear-gradient(90deg, transparent 10%, rgba(127,216,207,.45) 30%, rgba(14,144,134,.24) 60%, rgba(127,216,207,.38) 80%, transparent 95%); animation: aurora2 24s ease-in-out infinite alternate; }
.results-aurora span:nth-child(3) { top: 66%; height: 24%; background: linear-gradient(90deg, transparent 20%, rgba(14,144,134,.18) 50%, rgba(127,216,207,.30) 70%, transparent 90%); animation: aurora1 30s ease-in-out infinite alternate-reverse; }
@keyframes aurora1 { 0% { transform: translateX(-10%) rotate(-7deg) scaleY(.9); } 50% { transform: translateX(3%) rotate(2deg) scaleY(1.35); } 100% { transform: translateX(10%) rotate(-3deg) scaleY(1); } }
@keyframes aurora2 { 0% { transform: translateX(8%) rotate(5deg) scaleY(1.1); } 50% { transform: translateX(-4%) rotate(-3deg) scaleY(.85); } 100% { transform: translateX(-10%) rotate(4deg) scaleY(1.3); } }

/* Light particles drifting upward */
.results-orbs i { position: absolute; bottom: -30px; left: var(--x); width: var(--s); height: var(--s); border-radius: 999px; background: radial-gradient(circle at 35% 35%, #fff 0%, rgba(127,216,207,.85) 45%, rgba(14,144,134,0) 72%); box-shadow: 0 0 14px 2px rgba(127,216,207,.45); opacity: 0; animation: orbRise var(--t) linear infinite; animation-delay: var(--delay); }
@keyframes orbRise { 0% { transform: translate3d(0,0,0); opacity: 0; } 10% { opacity: .85; } 50% { transform: translate3d(18px,-55vh,0); } 85% { opacity: .55; } 100% { transform: translate3d(-12px,-110vh,0); opacity: 0; } }
.results-watermark { position: absolute; right: -1.5rem; top: 2.5rem; font-family: "Fraunces", serif; font-size: clamp(6rem, 17vw, 15rem); line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px rgba(14,144,134,.13); white-space: nowrap; user-select: none; }
@media (prefers-reduced-motion: reduce) { .results-aurora span { animation: none; } .results-orbs { display: none; } }

/* Slider progress bar + counter */
.slider-progress { position: relative; height: 3px; border-radius: 99px; background: var(--mint-200); overflow: hidden; }
.slider-progress > span { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); border-radius: inherit; background: var(--teal); transition: width .35s var(--ease-out); }
.slider-meta.is-hidden { display: none; }
@media (prefers-reduced-motion: reduce) { .video-play::before { animation: none; } }

/* Testimonial slider: native scroll-snap, arrows scroll one page */
.slider-track { --gap: 1rem; display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .75rem .25rem 1.25rem; margin: 0 -.25rem; scrollbar-width: none; }
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > .slide { flex: 0 0 calc((100% - var(--gap) * .6) / 1.6); scroll-snap-align: start; }
@media (min-width: 640px) { .slider-track > .slide { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (min-width: 1024px) { .slider-track { --gap: 1.5rem; } .slider-track > .slide { flex-basis: calc((100% - var(--gap) * 3) / 4); } }
.slider-btn { width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; background: #fff; color: var(--teal); border: 1px solid var(--line); box-shadow: 0 10px 24px -14px rgba(11,38,36,.35); cursor: pointer; transition: transform .3s var(--ease-out), opacity .3s; }
.slider-btn:hover:not(:disabled) { transform: translateY(-2px); }
.slider-btn:disabled { opacity: .35; cursor: default; }
.slider-nav.is-hidden { display: none; }

/* Certificates: landscape cards, 3 per page on desktop */
@media (min-width: 1024px) { .slider-certs > .slide { flex-basis: calc((100% - var(--gap) * 2) / 3); } }
.slider-certs > .slide { display: flex; flex-direction: column; }
.cert-thumb { display: block; width: 100%; aspect-ratio: 4 / 3; padding: .75rem; border: 0; border-radius: .9rem; background: #f4f7f6; cursor: zoom-in; }
.cert-thumb img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(11,38,36,.14)); transition: transform .4s var(--ease-out); }
.card-hover:hover .cert-thumb img { transform: scale(1.03); }

/* Certificate lightbox */
.cert-dialog { max-width: min(1100px, 94vw); width: 100%; padding: 0; border: 0; background: transparent; overflow: visible; }
.cert-dialog::backdrop { background: rgba(6,24,23,.82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cert-dialog-inner { position: relative; }
.cert-dialog img { display: block; width: 100%; max-height: 78vh; object-fit: contain; border-radius: .75rem; background: #fff; }
.cert-close { position: absolute; top: -.9rem; right: -.9rem; z-index: 1; width: 44px; height: 44px; border-radius: 999px; border: 0; display: grid; place-items: center; background: #fff; color: var(--ink, #0b2624); cursor: pointer; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
@media (max-width: 639px) { .cert-close { top: -3.25rem; right: 0; } }
.score-bar { height: 6px; border-radius: 99px; background: var(--mint-100); overflow: hidden; }
.score-bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), #7fd8cf); width: 0; transition: width 1.4s var(--ease-out) .3s; }
.is-visible .score-bar > span { width: var(--w); }

/* Fit / not fit */
.fit-item { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 0; border-top: 1px solid var(--line); }
.fit-item:first-child { border-top: 0; }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; padding: 1.4rem 0; text-align: left; font-weight: 600; font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--ink); transition: color .25s; }
.faq-btn:hover { color: var(--teal); }
.faq-icon { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; transition: transform .4s var(--ease-out), background .3s, color .3s, border-color .3s; color: var(--teal); }
.faq-btn[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--teal); color: #fff; border-color: var(--teal); }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.faq-panel > div { overflow: hidden; }
.faq-panel.is-open { grid-template-rows: 1fr; }

/* ---------- Form ---------- */
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .3rem; color: #fff; }
.field input, .field select, .field textarea { width: 100%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: .8rem; padding: .65rem .95rem; color: #fff; font-size: 1rem; transition: border-color .25s, background .25s, box-shadow .25s; }
.field select option { color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #7fd8cf; background: rgba(255,255,255,.12); box-shadow: 0 0 0 4px rgba(127,216,207,.18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #ffb4a2; }
.field .err { display: none; font-size: .8rem; color: #ffcfc2; margin-top: .35rem; }
.field.has-error .err { display: block; }
.chip-check { position: relative; }
.chip-check input { position: absolute; opacity: 0; pointer-events: none; }
.chip-check span { display: inline-flex; align-items: center; min-height: 40px; padding: .5rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-size: .875rem; cursor: pointer; transition: background .25s, border-color .25s, color .25s; }
.chip-check input:checked + span { background: #fff; color: var(--teal-800); border-color: #fff; }
.chip-check input:focus-visible + span { outline: 2.5px solid #7fd8cf; outline-offset: 2px; }

/* ---------- Reveal animations (Intersection Observer) ---------- */
.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal-left { transform: translate3d(-36px, 0, 0); }
.js .reveal-right { transform: translate3d(36px, 0, 0); }
.js .reveal-scale { transform: scale(.94); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Load-in sequence for hero */
.js .load-in { opacity: 0; transform: translate3d(0, 22px, 0); animation: loadIn 1s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
.js .load-in-img { opacity: 0; clip-path: inset(12% 12% 12% 12% round 2rem); animation: imgIn 1.3s var(--ease-out) .25s forwards; }
@keyframes loadIn { to { opacity: 1; transform: none; } }
@keyframes imgIn { to { opacity: 1; clip-path: inset(0 0 0 0 round 2rem); } }

/* Headline word-by-word reveal */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; transform: translateY(105%); animation: wordUp 1s var(--ease-out) forwards; animation-delay: calc(.15s + var(--w) * .06s); }
@keyframes wordUp { to { transform: none; } }

/* Mobile sticky CTA */
.sticky-cta { transform: translateY(120%); transition: transform .45s var(--ease-out); }
.sticky-cta.is-shown { transform: none; }

/* Floating WhatsApp button */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.5rem; z-index: 50; width: 58px; height: 58px; border-radius: 999px; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); transition: transform .3s var(--ease-out), box-shadow .3s, bottom .45s var(--ease-out); }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 34px -12px rgba(0,0,0,.5); }
@media (max-width: 639px) { .wa-float { right: 1rem; width: 54px; height: 54px; } .sticky-cta.is-shown ~ .wa-float { bottom: 5.5rem; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .load-in, .js .load-in-img, .split-word > span, .spine .vert { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .spine .cord { stroke-dashoffset: 0; }
  .marquee-track { animation: none; }
  .method-line::after, .method-line-v::after { transform: none; }
  .score-bar > span { width: var(--w); }
}

/* Desktop: hide mobile-only controls (component display rules above would override lg:hidden) */
@media (min-width: 1024px) { .burger, .mobile-menu { display: none; } }

/* Phones: 6-week path card sits below the illustration instead of covering it */
@media (max-width: 639px) {
  .path-card { position: relative; left: auto; right: auto; bottom: auto; margin: -1.5rem 0 0; width: 100%; }
  .path-grid { column-gap: 1rem; }
  .path-grid .path-row { gap: .5rem; font-size: .8125rem; }
}
#siteNav > div:first-child {
  background-color: #0E9086 !important;
  color: #ffffff !important;
}

#siteNav > div:first-child p {
  color: #ffffff !important;
}
#siteNav {
  --trust-bar-height: 45px;
}
#siteNav > div:first-child {
  height: 45px !important;
  min-height: 45px !important;
  background-color: #0E9086 !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
}

#siteNav > div:first-child > div {
  height: 45px !important;
  min-height: 45px !important;
}
.wa-float {
  bottom: 95px !important;
  z-index: 50 !important;
}

@media (min-width: 640px) {
  .wa-float {
    bottom: 95px !important;
  }
}
/* Responsive text for the top trust bar */
.trust-bar-text {
  font-size: 8px;          /* Mobile size */
  line-height: 1.2;
  letter-spacing: 0.04em;
}

@media (min-width: 640px) {
  .trust-bar-text {
    font-size: 14px;       /* Desktop size */
    letter-spacing: 0.12em;
  }
}