/* ==========================================================================
   Bloom — Women's Fitness Studio Template
   Style: Soft UI · warm blush / coral
   Stack: Vanilla HTML5 + CSS3 + JS (no frameworks)
   --------------------------------------------------------------------------
   1. Tokens  2. Base  3. Primitives/buttons  4. Nav  5. Hero
   6. About  7. Why  8. Programs  9. Plans  10. Trainers
   11. Schedule board  12. Stories  13. Voices  14. Gallery
   15. BMI  16. FAQ  17. CTA  18. Contact  19. Footer
   20. Floating  21. Reveal  22. Responsive
   ========================================================================== */

/* ============================== 1. TOKENS ============================== */
:root {
  --blush:   #FBF0EE;   /* warm page bg                */
  --blush-2: #F6E5E2;   /* muted band                  */
  --white:   #FFFFFF;   /* raised cards                */
  --cream:   #FFF8F6;

  --plum:    #3B2233;   /* headings / ink              */
  --plum-2:  #5A3B4C;
  --mute:    #8A6A79;   /* secondary text              */
  --mute-2:  #B399A6;

  --coral:   #FF6B81;
  --coral-l: #FF8DA1;
  --coral-d: #F2495F;
  --coral-grad: linear-gradient(135deg, #FF8DA1 0%, #FF6B81 100%);
  --coral-soft: #FFE7EB;
  --peach:   #FFB58A;
  --lav:     #CBB6EC;

  --line: rgba(59, 34, 51, 0.08);

  /* Soft-UI shadows (raised + inset) */
  --sh-raise: 10px 12px 30px -10px rgba(196, 120, 138, 0.42), -6px -8px 22px -8px rgba(255, 255, 255, 0.9);
  --sh-soft:  0 14px 30px -14px rgba(196, 120, 138, 0.4);
  --sh-inset: inset 4px 4px 10px rgba(196, 120, 138, 0.24), inset -4px -4px 10px rgba(255, 255, 255, 0.9);
  --sh-coral: 0 16px 34px -12px rgba(255, 107, 129, 0.6);

  --r:    18px;
  --r-lg: 28px;
  --r-xl: 38px;
  --r-pill: 999px;

  --f-display: 'Fredoka', system-ui, sans-serif;
  --f-body: 'Nunito Sans', system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 54px);
  --sec: clamp(66px, 8vw, 116px);

  --ease: cubic-bezier(0.34, 1.4, 0.5, 1);   /* soft overshoot */
  --ease2: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =============================== 2. BASE =============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--blush);
  color: var(--plum);
  font-size: 16px; line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font-family: inherit; }
button { cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 10px; z-index: 200; background: var(--coral); color: #fff; padding: 10px 18px; border-radius: var(--r-pill); font-weight: 700; }
.skip:focus { left: 12px; }

.wrap { width: min(var(--wrap), 100%); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--sec); position: relative; }

/* ======================== 3. PRIMITIVES / BUTTONS ======================== */
.h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 4vw, 3.05rem); line-height: 1.1; letter-spacing: -0.01em; }
.h2 em { font-style: normal; color: var(--coral); }
.lead { color: var(--mute); font-size: 1.08rem; max-width: 56ch; }
.accent { color: var(--coral); }

.eyebrow { display: inline-block; font-family: var(--f-display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--coral-d); background: var(--coral-soft); padding: 7px 16px; border-radius: var(--r-pill); margin-bottom: 16px; }

.sec-head { max-width: 620px; margin-bottom: clamp(38px, 5vw, 60px); }
.sec-head--center { max-width: 660px; margin-inline: auto; text-align: center; }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; max-width: none; flex-wrap: wrap; }
.sec-note { color: var(--mute); max-width: 320px; font-size: 0.98rem; }
.sec-note--center { margin-inline: auto; }

.btn {
  --h: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 30px; border-radius: var(--r-pill);
  font-family: var(--f-display); font-weight: 600; font-size: 0.98rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease2), background .25s, color .25s;
}
.btn--sm { --h: 44px; padding: 0 22px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn--coral { background: var(--coral-grad); color: #fff; box-shadow: var(--sh-coral); }
.btn--coral:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -12px rgba(255, 107, 129, 0.7); }
.btn--soft { background: var(--white); color: var(--plum); box-shadow: var(--sh-raise); }
.btn--soft:hover { transform: translateY(-3px); }
.btn--white { background: #fff; color: var(--coral-d); box-shadow: var(--sh-soft); }
.btn--white:hover { transform: translateY(-3px); }
.btn--ghostwhite { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.btn--ghostwhite:hover { background: rgba(255,255,255,0.14); border-color: #fff; transform: translateY(-3px); }
.btn--link { color: var(--plum); padding: 0 4px; }
.btn--link span { transition: transform .3s var(--ease); display: inline-block; }
.btn--link:hover { color: var(--coral-d); }
.btn--link:hover span { transform: translateX(5px); }

/* ================================ 4. NAV ================================ */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(251, 240, 238, 0.82); backdrop-filter: blur(14px); transition: box-shadow .3s; }
.nav.stuck { box-shadow: 0 10px 30px -18px rgba(196, 120, 138, 0.6); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.01em; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { font-family: var(--f-display); font-weight: 500; font-size: 0.95rem; color: var(--mute); position: relative; padding: 6px 0; transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--coral-grad); border-radius: 3px; transition: width .3s var(--ease); }
.nav__links a:hover, .nav__links a.active { color: var(--plum); }
.nav__links a.active::after { width: 100%; }
.nav__end { display: flex; align-items: center; gap: 14px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 14px; background: var(--white); box-shadow: var(--sh-raise); flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.burger span { width: 20px; height: 2.5px; border-radius: 2px; background: var(--plum); transition: transform .3s var(--ease2), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ================================ 5. HERO ================================ */
.hero { padding: clamp(36px, 5vw, 68px) 0 clamp(50px, 6vw, 82px); position: relative; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(6px); z-index: 0; opacity: 0.5; }
.blob--1 { width: 42vw; height: 42vw; background: radial-gradient(circle, var(--coral-soft), transparent 68%); top: -8%; right: -8%; }
.blob--2 { width: 34vw; height: 34vw; background: radial-gradient(circle, #FFEAD9, transparent 68%); bottom: -12%; left: -10%; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 66px); align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 9px; background: var(--white); padding: 9px 18px; border-radius: var(--r-pill); font-family: var(--f-display); font-weight: 500; font-size: 0.88rem; color: var(--plum-2); box-shadow: var(--sh-raise); }
.chip__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.hero__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 7.5vw, 5.6rem); line-height: 0.98; letter-spacing: -0.02em; margin: 20px 0 20px; }
.hero__lead { color: var(--mute); font-size: 1.18rem; max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.hero__proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.hero__avatars { display: flex; }
.hero__avatars span { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--blush); margin-left: -12px; background-size: cover; box-shadow: var(--sh-soft); }
.hero__avatars span:first-child { margin-left: 0; }
.hero__proof p { font-size: 0.94rem; color: var(--mute); }
.hero__proof strong { color: var(--plum); font-family: var(--f-display); font-weight: 600; }

.hero__media { position: relative; }
.hero__frame { border-radius: 44% 44% 46% 46% / 50% 50% 44% 44%; overflow: hidden; box-shadow: var(--sh-raise); background: var(--white); padding: 12px; }
.hero__frame img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; border-radius: 40% 40% 44% 44% / 46% 46% 40% 40%; }
.hero__float { position: absolute; background: var(--white); border-radius: var(--r); padding: 12px 16px; display: flex; align-items: center; gap: 11px; box-shadow: var(--sh-raise); }
.hero__float-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--coral-soft); display: grid; place-items: center; font-size: 1.15rem; }
.hero__float b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1rem; }
.hero__float small { color: var(--mute); font-size: 0.76rem; }
.hero__float--1 { top: 12%; left: -8%; animation: floaty 6s var(--ease2) infinite; }
.hero__float--2 { bottom: 14%; right: -6%; animation: floaty 7s var(--ease2) infinite 0.9s; }
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-12px);} }

.hero__stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(48px, 6vw, 74px); }
.hero__stats li { background: var(--white); border-radius: var(--r-lg); padding: 26px 24px; box-shadow: var(--sh-raise); text-align: center; }
.hero__stats .s-num { font-family: var(--f-display); font-weight: 700; font-size: 2.3rem; line-height: 1; color: var(--coral-d); }
.hero__stats .s-lab { font-size: 0.86rem; color: var(--mute); margin-top: 6px; }

/* =============================== 6. ABOUT =============================== */
.about__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(34px, 5vw, 72px); align-items: center; }
.about__media { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-raise); background: var(--white); padding: 12px; }
.about__media img { width: 100%; aspect-ratio: 5/6; object-fit: cover; border-radius: var(--r-lg); }
.about__badge { position: absolute; left: 24px; bottom: 24px; background: var(--white); border-radius: var(--r); padding: 16px 22px; display: flex; flex-direction: column; box-shadow: var(--sh-raise); }
.about__badge-num { font-family: var(--f-display); font-weight: 700; font-size: 2.4rem; line-height: 0.9; color: var(--coral-d); }
.about__badge-lab { font-size: 0.74rem; color: var(--mute); margin-top: 4px; }
.about__body h2 { margin: 10px 0 18px; }
.about__points { display: grid; gap: 13px; margin: 24px 0 28px; }
.about__points li { display: flex; gap: 12px; align-items: flex-start; color: var(--mute); }
.about__points li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--coral-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B81' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 13px; }

/* ================================ 7. WHY ================================ */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why__card { background: var(--white); border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--sh-raise); transition: transform .35s var(--ease); }
.why__card:hover { transform: translateY(-6px); }
.why__ic { width: 60px; height: 60px; border-radius: 18px; background: var(--coral-soft); display: grid; place-items: center; color: var(--coral-d); margin-bottom: 18px; box-shadow: var(--sh-inset); }
.why__ic svg { width: 28px; height: 28px; }
.why__card h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.24rem; margin-bottom: 9px; }
.why__card p { color: var(--mute); font-size: 0.96rem; }

/* ============================== 8. PROGRAMS ============================== */
.programs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.program { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-raise); transition: transform .35s var(--ease); }
.program:hover { transform: translateY(-6px); }
.program__media { overflow: hidden; aspect-ratio: 4/3; margin: 12px 12px 0; border-radius: var(--r); }
.program__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease2); }
.program:hover .program__media img { transform: scale(1.07); }
.program__body { padding: 16px 20px 22px; }
.program__body h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.16rem; }
.program__body p { color: var(--mute); font-size: 0.88rem; margin: 4px 0 12px; }
.program__tag { font-family: var(--f-display); font-weight: 500; font-size: 0.76rem; color: var(--coral-d); background: var(--coral-soft); padding: 5px 12px; border-radius: var(--r-pill); }

/* =============================== 9. PLANS =============================== */
.plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg); padding: 36px 30px; box-shadow: var(--sh-raise); transition: transform .35s var(--ease); position: relative; }
.plan:hover { transform: translateY(-6px); }
.plan--feat { background: var(--coral-grad); color: #fff; box-shadow: var(--sh-coral); }
.plan__flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--plum); color: #fff; font-family: var(--f-display); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.04em; padding: 6px 16px; border-radius: var(--r-pill); white-space: nowrap; }
.plan__name { font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; }
.plan__price { display: flex; align-items: baseline; gap: 5px; margin: 12px 0 4px; }
.plan__price .amt { font-family: var(--f-display); font-weight: 700; font-size: 3.2rem; line-height: 1; color: var(--coral-d); }
.plan--feat .plan__price .amt { color: #fff; }
.plan__price .per { color: var(--mute); font-size: 0.9rem; }
.plan--feat .plan__price .per { color: rgba(255,255,255,0.8); }
.plan__blurb { color: var(--mute); font-size: 0.95rem; margin-bottom: 24px; }
.plan--feat .plan__blurb { color: rgba(255,255,255,0.9); }
.plan__feats { display: grid; gap: 13px; flex: 1; margin-bottom: 28px; }
.plan__feats li { display: flex; gap: 11px; align-items: flex-start; color: var(--plum-2); font-size: 0.94rem; }
.plan--feat .plan__feats li { color: #fff; }
.plan__feats li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--coral-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B81' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 12px; }
.plan--feat .plan__feats li::before { background-color: rgba(255,255,255,0.25);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.plan--feat .btn--soft { background: #fff; color: var(--coral-d); }
.plans__note { text-align: center; color: var(--mute); font-size: 0.92rem; margin-top: 30px; }

/* ============================== 10. TRAINERS ============================== */
.trainers__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trainer { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-raise); transition: transform .35s var(--ease); }
.trainer:hover { transform: translateY(-6px); }
.trainer__media { overflow: hidden; aspect-ratio: 4/4.4; margin: 12px 12px 0; border-radius: var(--r); position: relative; }
.trainer__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease2); }
.trainer:hover .trainer__media img { transform: scale(1.05); }
.trainer__social { position: absolute; inset: auto 12px 12px; display: flex; gap: 8px; justify-content: center; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease2), transform .35s var(--ease2); }
.trainer:hover .trainer__social { opacity: 1; transform: none; }
.trainer__social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.92); display: grid; place-items: center; color: var(--coral-d); box-shadow: var(--sh-soft); transition: background .25s, color .25s; }
.trainer__social a:hover { background: var(--coral); color: #fff; }
.trainer__social svg { width: 16px; height: 16px; }
.trainer__body { padding: 16px 22px 22px; text-align: center; }
.trainer__spec { font-family: var(--f-display); font-weight: 500; font-size: 0.8rem; color: var(--coral-d); }
.trainer__name { font-family: var(--f-display); font-weight: 600; font-size: 1.24rem; margin: 2px 0 3px; }
.trainer__exp { font-size: 0.85rem; color: var(--mute); }

/* ============================= 11. SCHEDULE ============================= */
.board { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.board__day { background: var(--white); border-radius: var(--r-lg); padding: 16px 12px; box-shadow: var(--sh-raise); }
.board__day.is-today { box-shadow: var(--sh-coral); background: var(--coral-grad); }
.board__dname { font-family: var(--f-display); font-weight: 600; text-align: center; font-size: 0.95rem; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 2px dashed var(--line); }
.board__day.is-today .board__dname { color: #fff; border-color: rgba(255,255,255,0.4); }
.board__slots { display: grid; gap: 8px; }
.board__slot { background: var(--blush); border-radius: 12px; padding: 10px; text-align: center; }
.board__day.is-today .board__slot { background: rgba(255,255,255,0.2); }
.board__time { font-family: var(--f-display); font-weight: 600; font-size: 0.82rem; color: var(--coral-d); }
.board__day.is-today .board__time { color: #fff; }
.board__cls { font-size: 0.78rem; font-weight: 700; margin-top: 2px; }
.board__day.is-today .board__cls { color: #fff; }
.board__empty { color: var(--mute-2); font-size: 0.78rem; text-align: center; padding: 12px 0; }
.board__day.is-today .board__empty { color: rgba(255,255,255,0.8); }

/* ============================== 12. STORIES ============================== */
.stories__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story { background: var(--white); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-raise); }
.story__media { position: relative; margin: 12px 12px 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4/4.6; }
.story__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease2); }
.story__media img.is-after { opacity: 0; }
.story.show-after .story__media img.is-before { opacity: 0; }
.story.show-after .story__media img.is-after { opacity: 1; }
.story__toggle { position: absolute; inset: auto 12px 12px; z-index: 2; display: inline-flex; background: rgba(255,255,255,0.9); border-radius: var(--r-pill); padding: 4px; box-shadow: var(--sh-soft); }
.story__toggle button { padding: 7px 16px; border-radius: var(--r-pill); font-family: var(--f-display); font-weight: 500; font-size: 0.8rem; color: var(--mute); transition: background .25s, color .25s; }
.story__toggle button.on { background: var(--coral-grad); color: #fff; }
.story__body { padding: 18px 22px 24px; }
.story__name { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; }
.story__meta { font-family: var(--f-display); font-weight: 500; font-size: 0.82rem; color: var(--coral-d); margin: 3px 0 10px; }
.story__quote { color: var(--mute); font-size: 0.92rem; }

/* ============================== 13. VOICES (masonry) ============================== */
.voices__masonry { columns: 3; column-gap: 20px; }
.voice { break-inside: avoid; background: var(--white); border-radius: var(--r-lg); padding: 28px 28px; box-shadow: var(--sh-raise); margin-bottom: 20px; }
.voice__stars { color: var(--coral); letter-spacing: 2px; font-size: 0.9rem; }
.voice__text { font-size: 1.02rem; line-height: 1.6; margin: 14px 0 20px; color: var(--plum-2); }
.voice__by { display: flex; align-items: center; gap: 12px; }
.voice__by img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: var(--sh-soft); }
.voice__name { font-family: var(--f-display); font-weight: 600; }
.voice__role { font-size: 0.82rem; color: var(--mute); }

/* ============================== 14. GALLERY ============================== */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 16px; }
.gitem { position: relative; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--sh-raise); }
.gitem:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gitem:nth-child(6) { grid-column: span 2; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease2); }
.gitem:hover img { transform: scale(1.07); }
.gitem::after { content: attr(data-cap); position: absolute; left: 14px; bottom: 12px; font-family: var(--f-display); font-weight: 500; font-size: 0.86rem; color: var(--plum); background: rgba(255,255,255,0.92); padding: 6px 14px; border-radius: var(--r-pill); opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease2), transform .3s var(--ease2); box-shadow: var(--sh-soft); }
.gitem:hover::after { opacity: 1; transform: none; }

/* ============================ 15. BMI + 16. FAQ ============================ */
.tools__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(38px, 6vw, 76px); align-items: start; }
.bmi h2, .faq h2 { margin: 10px 0 14px; }
.bmi__card { margin-top: 24px; background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 34px); box-shadow: var(--sh-raise); }
.bmi__unit { display: inline-flex; background: var(--blush); border-radius: var(--r-pill); padding: 5px; margin-bottom: 26px; box-shadow: var(--sh-inset); }
.bmi__u { padding: 9px 22px; border-radius: var(--r-pill); font-family: var(--f-display); font-weight: 500; font-size: 0.85rem; color: var(--mute); transition: background .25s, color .25s, box-shadow .25s; }
.bmi__u.on { background: var(--white); color: var(--coral-d); box-shadow: var(--sh-soft); }
.bmi__body { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.bmi__inputs { display: grid; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__l { font-family: var(--f-display); font-weight: 500; font-size: 0.82rem; color: var(--mute); }
.field__l em { color: var(--coral-d); font-style: normal; }
.field input, .field textarea, .field select { background: var(--blush); border: none; border-radius: var(--r); padding: 14px 16px; color: var(--plum); font-size: 1rem; box-shadow: var(--sh-inset); transition: box-shadow .2s; }
.field input::placeholder, .field textarea::placeholder { color: var(--mute-2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; box-shadow: var(--sh-inset), 0 0 0 2px var(--coral-l); }
.field textarea { resize: vertical; }

/* vertical BMI gauge */
.bmi__gauge { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; gap: 6px 12px; align-items: stretch; }
.bmi__tube { grid-row: 1 / 3; position: relative; width: 42px; height: 220px; border-radius: var(--r-pill); background: var(--blush); box-shadow: var(--sh-inset); overflow: hidden; }
.bmi__fill { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 0; border-radius: var(--r-pill); background: linear-gradient(0deg, #7ec8ff, #FF6B81); transition: height .8s var(--ease); }
.bmi__knob { position: absolute; left: 50%; transform: translate(-50%, 50%); bottom: 6px; width: 26px; height: 26px; border-radius: 50%; background: var(--white); box-shadow: var(--sh-raise); transition: bottom .8s var(--ease); z-index: 2; }
.bmi__scale { grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: space-between; font-size: 0.72rem; color: var(--mute-2); font-weight: 700; padding: 4px 0; }
.bmi__read { grid-column: 3; grid-row: 1 / 3; align-self: center; text-align: center; min-width: 96px; }
.bmi__val { display: block; font-family: var(--f-display); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--plum); }
.bmi__cat { display: inline-block; margin-top: 8px; font-family: var(--f-display); font-weight: 500; font-size: 0.88rem; color: var(--coral-d); background: var(--coral-soft); padding: 5px 14px; border-radius: var(--r-pill); }
.bmi__hint { color: var(--mute); font-size: 0.92rem; margin-top: 22px; text-align: center; }

.faq__list { display: grid; gap: 12px; margin-top: 24px; }
.faq__item { border-radius: var(--r); background: var(--white); box-shadow: var(--sh-raise); overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; text-align: left; font-family: var(--f-display); font-weight: 600; font-size: 1.06rem; color: var(--plum); }
.faq__ic { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--coral-soft); position: relative; transition: background .3s; }
.faq__ic::before, .faq__ic::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--coral-d); transform: translate(-50%, -50%); transition: transform .3s var(--ease2), opacity .3s; border-radius: 2px; }
.faq__ic::before { width: 12px; height: 2.4px; }
.faq__ic::after { width: 2.4px; height: 12px; }
.faq__item.open .faq__ic { background: var(--coral); }
.faq__item.open .faq__ic::before, .faq__item.open .faq__ic::after { background: #fff; }
.faq__item.open .faq__ic::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease2); }
.faq__a p { padding: 0 24px 24px; color: var(--mute); font-size: 0.96rem; }

/* =============================== 17. CTA =============================== */
.cta { padding: 0 var(--pad) var(--sec); }
.cta__inner { max-width: var(--wrap); margin-inline: auto; background: var(--coral-grad); border-radius: var(--r-xl); padding: clamp(46px, 6vw, 78px); text-align: center; position: relative; overflow: hidden; box-shadow: var(--sh-coral); }
.cta__inner::before { content: ""; position: absolute; width: 40vw; height: 40vw; border-radius: 50%; background: rgba(255,255,255,0.14); top: -30%; right: -10%; }
.cta__petal { font-size: 2.4rem; position: relative; display: inline-block; margin-bottom: 6px; }
.cta__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 4.6vw, 3.4rem); color: #fff; position: relative; }
.cta__text { color: rgba(255,255,255,0.92); max-width: 48ch; margin: 12px auto 28px; position: relative; }
.cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ============================== 18. CONTACT ============================== */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 64px); }
.contact__left h2 { margin: 10px 0 16px; }
.contact__list { display: grid; gap: 16px; margin: 26px 0 30px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list .ic { flex: none; width: 50px; height: 50px; border-radius: 16px; background: var(--white); color: var(--coral-d); display: grid; place-items: center; box-shadow: var(--sh-raise); }
.contact__list .ic svg { width: 20px; height: 20px; }
.contact__list .l1 { font-size: 0.74rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--mute-2); font-weight: 700; }
.contact__list .l2 { color: var(--plum); font-weight: 700; }
.contact__list a.l2:hover { color: var(--coral-d); }
.contact__hours { background: var(--white); border-radius: var(--r-lg); padding: 24px 26px; box-shadow: var(--sh-raise); margin-bottom: 26px; }
.contact__hours h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.14rem; margin-bottom: 12px; }
.contact__hours li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.93rem; }
.contact__hours li:last-child { border-bottom: none; }
.contact__hours li span:first-child { color: var(--mute); }
.contact__hours li span:last-child { color: var(--plum); font-weight: 700; }
.contact__hours li.closed span:last-child { color: var(--mute-2); }
.contact__social { display: flex; gap: 12px; }
.contact__social a, .footer__social a { width: 46px; height: 46px; border-radius: 50%; background: var(--white); display: grid; place-items: center; color: var(--coral-d); box-shadow: var(--sh-raise); transition: transform .25s var(--ease), background .25s, color .25s; }
.contact__social a:hover, .footer__social a:hover { background: var(--coral); color: #fff; transform: translateY(-3px); }
.contact__social svg, .footer__social svg { width: 18px; height: 18px; }

.cform { background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 34px); display: grid; gap: 18px; box-shadow: var(--sh-raise); }
.cform__note { font-size: 0.92rem; color: var(--coral-d); min-height: 1.2em; font-weight: 700; }
.contact__map { display: block; margin-top: 18px; position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-raise); }
.contact__map img { width: 100%; aspect-ratio: 2.4/1; object-fit: cover; transition: transform .6s var(--ease2); }
.contact__map:hover img { transform: scale(1.05); }
.contact__map-tag { position: absolute; right: 14px; bottom: 14px; background: var(--white); color: var(--coral-d); font-family: var(--f-display); font-weight: 500; font-size: 0.8rem; padding: 9px 16px; border-radius: var(--r-pill); box-shadow: var(--sh-soft); }

/* =============================== 19. FOOTER =============================== */
.footer { background: var(--plum); color: #fff; padding-top: clamp(52px, 7vw, 84px); border-radius: var(--r-xl) var(--r-xl) 0 0; }
.footer__top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer .brand__name { color: #fff; }
.footer__tag { color: rgba(255,255,255,0.66); font-size: 0.95rem; margin: 16px 0 20px; max-width: 34ch; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); box-shadow: none; }
.footer__social a:hover { background: var(--coral); color: #fff; }
.footer__col h4 { font-family: var(--f-display); font-weight: 600; font-size: 1.04rem; margin-bottom: 16px; }
.footer__col a, .footer__c { display: block; color: rgba(255,255,255,0.62); font-size: 0.94rem; padding: 5px 0; transition: color .2s; }
.footer__col a:hover, .footer__c:hover { color: var(--coral-l); }
.footer__addr { color: rgba(255,255,255,0.62); font-size: 0.94rem; margin-bottom: 10px; }
.footer__bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.86rem; color: rgba(255,255,255,0.5); }
.footer__credit strong { color: var(--coral-l); }

/* ============================== 20. FLOATING ============================== */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,0.6); transition: transform .3s var(--ease); }
.wa:hover { transform: scale(1.09) translateY(-2px); }
.totop { position: fixed; right: 25px; bottom: 92px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: var(--coral-grad); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s var(--ease2), transform .3s var(--ease); box-shadow: var(--sh-coral); }
.totop.show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { transform: translateY(-3px); }

/* =============================== 21. REVEAL =============================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease2), transform .7s var(--ease2); }
.reveal.in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .07s; }
[data-delay="2"] { transition-delay: .14s; }
[data-delay="3"] { transition-delay: .21s; }

/* ============================= 22. RESPONSIVE ============================= */
@media (max-width: 1080px) {
  .why__grid, .stories__grid { grid-template-columns: repeat(2, 1fr); }
  .programs__grid, .trainers__grid { grid-template-columns: repeat(2, 1fr); }
  .voices__masonry { columns: 2; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .board { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 880px) {
  .nav__links { position: fixed; inset: 78px 0 auto 0; flex-direction: column; gap: 0; background: rgba(251,240,238,0.98); backdrop-filter: blur(14px); padding: 10px var(--pad) 22px; box-shadow: var(--sh-soft); transform: translateY(-120%); transition: transform .4s var(--ease2); visibility: hidden; }
  .nav__links.open { transform: none; visibility: visible; }
  .nav__links a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav__links a::after { display: none; }
  .burger { display: flex; }
  .hero__grid, .about__grid, .tools__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 420px; margin-inline: auto; }
  .plans__grid { grid-template-columns: 1fr; }
  .plan--feat { order: -1; }
  .bmi__body { grid-template-columns: 1fr; }
  .bmi__gauge { justify-content: center; }
}
@media (max-width: 680px) {
  .board { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .why__grid, .programs__grid, .trainers__grid, .stories__grid, .footer__top { grid-template-columns: 1fr; }
  .voices__masonry { columns: 1; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gitem:nth-child(1), .gitem:nth-child(6) { grid-column: span 2; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__float { display: none; }
  .sec-head--row { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__float { animation: none !important; }
}
