/* ================================================================
   ANIMAERIS — Design System
   Palette: Beige #F1ECE5 · Mauve #9B7E7A · Dark #1C1A19
   Fonts:   Marcellus (display) · Montserrat (body)
   ================================================================ */

/* --- Reset & Tokens ------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Surface scale (dark, base -> elevated) */
  --b50:  #181310;
  --b100: #1F1915;
  --b200: #2A221E;
  --b300: #3A312C;
  --b400: #4B413A;
  --ink:  #141009;  /* deepest surfaces: footer, badges */

  /* Mauve scale */
  --m100: #D4C0BB;
  --m200: #C4ACAA;
  --m300: #B09490;
  --m400: #9B7E7A;
  --m500: #856660;
  --m600: #6E504A;

  /* Text (light on dark) */
  --d100: #C9BFB7;
  --d200: #E4DCD4;
  --d300: #F5F1EB;
  --wg:   #A59C95;
  --lg:   #7E766F;
  --w:    #FFFFFF;

  /* Status */
  --ok:  #7FB48E;
  --err: #D98A8A;

  /* Type */
  --fh: 'Marcellus', 'Forum', serif;
  --fb: 'Montserrat', sans-serif;

  /* Space (8px grid) */
  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 2.5rem;
  --s6: 3rem;  --s8: 4rem; --s10: 5rem;  --s12: 6rem; --s16: 8rem;

  /* Fluid section padding (mobile-first, grows at breakpoints) */
  --sp: 4rem;

  /* Misc */
  --r:  8px; --rl: 16px; --rx: 24px; --pill: 999px;
  --sh1: 0 1px 3px rgba(0,0,0,.40);
  --sh2: 0 4px 16px rgba(0,0,0,.45);
  --sh3: 0 8px 32px rgba(0,0,0,.50);
  --sh4: 0 16px 48px rgba(0,0,0,.55);
  --ease: cubic-bezier(.4,0,.2,1);
  --eout: cubic-bezier(0,0,.2,1);
  --dur: 300ms;
  --nav: 64px;
  --mw: 1200px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--fb);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--d200);
  background: var(--b50);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
ul { list-style: none; }

/* --- Typography ----------------------------------------------- */
h1,h2,h3,h4 { font-family: var(--fh); font-weight: 400; line-height: 1.15; color: var(--d300); }

.eyebrow {
  display: block;
  font-family: var(--fb);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--m300);
  margin-bottom: var(--s2);
}

.section-header { text-align: center; margin-bottom: var(--s8); }
.section-header h2 { font-size: clamp(2rem,4vw,3rem); margin-bottom: var(--s2); }
.section-desc { font-size: 1.0625rem; color: var(--wg); max-width: 560px; margin: 0 auto; line-height: 1.7; }
.section-header.light h2 { color: var(--w); }
.section-header.light .eyebrow { color: var(--m200); }
.section-header.light .section-desc { color: rgba(255,255,255,.6); }

/* --- Buttons -------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--s1);
  padding: .875rem 2rem;
  border-radius: var(--pill);
  font-family: var(--fb); font-size: .875rem; font-weight: 500;
  letter-spacing: .06em; cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--m400); color: var(--w); border-color: var(--m400); }
.btn-primary:hover { background: var(--m500); border-color: var(--m500); transform: translateY(-2px); box-shadow: var(--sh3); }
.btn-outline  { background: transparent; color: var(--d300); border-color: var(--b400); }
.btn-outline:hover { background: var(--m400); color: var(--w); border-color: var(--m400); transform: translateY(-2px); }
.btn-ghost    { background: transparent; color: var(--w); border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-light    { background: var(--d300); color: var(--ink); border-color: var(--d300); }
.btn-light:hover { background: var(--w); transform: translateY(-2px); box-shadow: var(--sh3); }
.w-full { width: 100%; justify-content: center; }
.btn-send svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.btn-send:hover svg { transform: translateX(4px); }

/* --- Tags ----------------------------------------------------- */
.tag {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: var(--pill);
  font-size: .75rem; font-weight: 500;
  background: var(--b200); color: var(--m200); border: 1px solid var(--b300);
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--nav);
  transition: background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              height var(--dur) var(--ease);
}
.navbar.scrolled {
  background: rgba(20,16,13,.88);
  backdrop-filter: blur(12px);
  box-shadow: var(--sh1);
  height: 68px;
}
.nav-inner {
  max-width: var(--mw); margin: 0 auto; padding: 0 var(--s4);
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.nav-logo-mark { height: 48px; width: auto; transition: height var(--dur) var(--ease); }
.navbar.scrolled .nav-logo-mark { height: 40px; }
.nav-logo-word {
  display: none;
  font-family: var(--fh); font-size: 1.4rem; line-height: 1;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--m300); padding-left: .12em;
}
@media (min-width: 480px) { .nav-logo-word { display: block; } }

.nav-menu {
  position: fixed; inset: 0;
  display: flex; background: var(--b50); flex-direction: column;
  justify-content: center; align-items: center; gap: var(--s2);
  transform: translateX(100%); transition: transform .4s var(--ease);
  padding: var(--nav) var(--s4) var(--s8);
}
.nav-menu.open { transform: translateX(0); }
.nav-link {
  padding: .75rem 1.5rem; border-radius: var(--pill);
  font-size: 1.25rem; color: var(--d200);
  position: relative; transition: color var(--dur) var(--ease);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: calc(100% - 1.75rem); height: 1px; background: var(--m400);
  transition: transform var(--dur) var(--ease);
}
.nav-link:hover { color: var(--m300); }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-cta {
  background: var(--m400); color: var(--w) !important;
  padding: .5rem 1.25rem; font-size: 1.0625rem; margin: var(--s2) 0 0;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--m500); transform: translateY(-1px); }

.nav-burger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: var(--s1); z-index: 1001;
}
.nav-burger span {
  display: block; width: 24px; height: 1.5px; background: var(--d300);
  transition: all var(--dur) var(--ease); transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ================================================================
   HERO
   ================================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.05); animation: heroZoom 12s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg,rgba(28,26,25,.72) 0%,rgba(28,26,25,.38) 55%,rgba(155,126,122,.22) 100%); }

.hero-content { position: relative; z-index: 1; max-width: var(--mw); margin: 0 auto; padding: calc(var(--nav) + var(--s8)) var(--s4) var(--sp); width: 100%; }
.hero-inner { max-width: 680px; }

.hero-inner .eyebrow { color: var(--m200); font-size: .9375rem; letter-spacing: .24em; margin-bottom: var(--s3); opacity: 0; animation: fadeUp .8s .3s var(--eout) forwards; }
.hero-title {
  font-size: clamp(2.25rem,7vw,4.5rem); color: var(--w); margin-bottom: var(--s4);
  opacity: 0; animation: fadeUp .8s .5s var(--eout) forwards;
}
.hero-title em { font-style: italic; color: var(--m200); }
.hero-sub { font-size: 1.0625rem; line-height: 1.7; color: rgba(255,255,255,.8); margin-bottom: var(--s5); opacity: 0; animation: fadeUp .8s .7s var(--eout) forwards; }
.hero-btns { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); opacity: 0; animation: fadeUp .8s .9s var(--eout) forwards; }

.hero-scroll {
  position: absolute; bottom: var(--s5); left: 50%; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: var(--s1);
  color: rgba(255,255,255,.55);
  z-index: 1; opacity: 0; animation: fadeIn 1s 1.6s ease forwards;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom,transparent,rgba(255,255,255,.55)); animation: scrollPulse 2s 2s ease-in-out infinite; }
.scroll-arrow { width: 18px; height: 18px; animation: scrollPulse 2s 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ================================================================
   STATS
   ================================================================ */
.stats { background: var(--b200); padding: var(--s8) 0; }
.stats-grid { max-width: var(--mw); margin: 0 auto; padding: 0 var(--s4); display: grid; grid-template-columns: repeat(2,1fr); }
.stat-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--s4) var(--s2); border-bottom: 1px solid var(--b300); }
.stat-item:nth-last-child(-n+2) { border-bottom: none; }
.stat-num { font-family: var(--fh); font-size: 3rem; color: var(--m300); line-height: 1; margin-bottom: var(--s1); }
.stat-label { font-size: .8125rem; color: var(--wg); font-weight: 500; }

/* ================================================================
   ABOUT
   ================================================================ */
.about { padding: var(--sp) 0; background: var(--b100); }
.about-grid { max-width: var(--mw); margin: 0 auto; padding: 0 var(--s4); display: grid; grid-template-columns: 1fr; gap: var(--s6); align-items: center; }

.about-imgs { position: relative; }
.about-main-img { width: 100%; aspect-ratio: 4/5; max-height: 560px; object-fit: cover; border-radius: var(--rl); }
.about-sec-img { display: none; position: absolute; bottom: -32px; right: -32px; width: 200px; height: 240px; object-fit: cover; border-radius: var(--rl); border: 6px solid var(--b100); box-shadow: var(--sh4); }

.about-media { position: relative; }
.about-badge {
  position: absolute; top: var(--s4); left: -8px;
  background: var(--ink); color: var(--w); padding: var(--s3) var(--s4);
  border-radius: var(--r); text-align: center; box-shadow: var(--sh3);
}
.badge-year { display: block; font-family: var(--fh); font-size: 2rem; line-height: 1; }
.badge-text  { font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; opacity: .65; margin-top: 4px; display: block; }

.about-text h2 { font-size: clamp(1.75rem,3vw,2.5rem); margin-bottom: var(--s3); }
.about-text p  { color: var(--wg); line-height: 1.8; margin-bottom: var(--s3); }
.about-features { display: flex; flex-direction: column; gap: var(--s3); margin: var(--s5) 0; }
.feat { display: flex; align-items: flex-start; gap: var(--s2); }
.feat-icon { flex-shrink: 0; width: 40px; height: 40px; background: var(--b200); border-radius: var(--r); display: flex; align-items: center; justify-content: center; }
.feat-icon svg { width: 18px; height: 18px; color: var(--m400); }
.feat strong { display: block; font-size: .9375rem; font-weight: 600; color: var(--d300); margin-bottom: 2px; }
.feat span { font-size: .875rem; color: var(--wg); }

/* ================================================================
   CLASSES
   ================================================================ */
.classes { padding: var(--sp) 0; background: var(--b50); }
.classes-grid { max-width: var(--mw); margin: 0 auto; padding: 0 var(--s4); display: grid; grid-template-columns: 1fr; gap: var(--s4); align-items: stretch; }

.class-card { display: flex; flex-direction: column; background: var(--b200); border: 1px solid var(--b300); border-radius: var(--rl); overflow: hidden; box-shadow: var(--sh1); transition: transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease); }
.class-img { flex: none; }
.class-card:hover { transform: translateY(-6px); box-shadow: var(--sh4); }
.class-img { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.class-img.landscape { aspect-ratio: 4/3; }
.class-img.square    { aspect-ratio: 1/1; }
.class-img.portrait  { aspect-ratio: 3/4; }
.class-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.class-card:hover .class-img img { transform: scale(1.05); }
.class-tag { position: absolute; top: var(--s2); left: var(--s2); padding: .25rem .625rem; border-radius: var(--pill); font-size: .6875rem; font-weight: 600; letter-spacing: .06em; background: rgba(255,255,255,.92); color: var(--m600); box-shadow: var(--sh1); }
.class-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: var(--s4); }
.class-body h3 { font-size: 1.25rem; margin-bottom: var(--s1); }
.class-body p  { font-size: .875rem; color: var(--wg); line-height: 1.65; margin-bottom: var(--s3); }
.class-price { margin-top: auto; font-size: .8125rem; font-weight: 600; color: var(--m300); letter-spacing: .04em; }

/* Class groups (Wellness / SOFT / PREMIUM) */
.class-group { margin-top: var(--s10); }
.class-group-head { max-width: var(--mw); margin: 0 auto var(--s5); padding: 0 var(--s4); display: flex; align-items: center; gap: var(--s3); }
.class-group-head .eyebrow { margin-bottom: 0; font-size: .8125rem; }
.class-group-head::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--b300), transparent); }

/* Wellness feature banner */
.class-feature { max-width: var(--mw); margin: 0 auto; padding: 0 var(--s4); }
.class-feature-card { display: flex; flex-direction: column; background: var(--b200); border: 1px solid var(--b300); border-radius: var(--rl); overflow: hidden; box-shadow: var(--sh2); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.class-feature-card:hover { transform: translateY(-6px); box-shadow: var(--sh4); }
.class-feature-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.class-feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.class-feature-card:hover .class-feature-img img { transform: scale(1.04); }
.class-feature-body { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5); }
.class-feature-body h3 { font-size: 1.5rem; }
.class-feature-body p { color: var(--wg); line-height: 1.7; }
.class-feature-body .class-price { margin-top: var(--s1); }

/* ================================================================
   TRAINERS
   ================================================================ */
.trainers { padding: var(--sp) 0; background: var(--b100); }
.trainers-list { max-width: 440px; margin: 0 auto; padding: 0 var(--s4); display: flex; flex-direction: column; gap: var(--s12); }
.trainer-row { display: flex; flex-direction: column; gap: var(--s5); align-items: center; text-align: left; }
.trainer-photo { width: 100%; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--rl); box-shadow: var(--sh2); }
.trainer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .6s var(--ease); }
.trainer-row:hover .trainer-photo img { transform: scale(1.04); }
.trainer-body { width: 100%; }
.trainer-body h3 { font-size: 1.5rem; margin-bottom: 4px; }
.trainer-role { display: block; font-size: .8125rem; color: var(--m300); font-weight: 500; letter-spacing: .05em; margin-bottom: var(--s3); }
.trainer-body p { font-size: .9375rem; color: var(--wg); line-height: 1.75; margin-bottom: var(--s4); }
.trainer-tags { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: var(--s1); }

/* ================================================================
   SCHEDULE
   ================================================================ */
.schedule { padding: var(--sp) 0; background: linear-gradient(165deg, #1C1612 0%, #14100C 100%); color: var(--w); }
.schedule-wrap { max-width: var(--mw); margin: 0 auto; padding: 0 var(--s4); }

.sched-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); margin-bottom: var(--s6); }
.leg {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .4rem .85rem; border-radius: var(--pill);
  font-family: var(--fb); font-size: .625rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; line-height: 1;
}
.leg::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; }
.leg.soft    { background: rgba(255,255,255,.07); color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.14); }
.leg.soft::before { background: rgba(255,255,255,.6); }
.leg.premium { background: linear-gradient(135deg, var(--m400), var(--m500)); color: #fff; box-shadow: 0 2px 12px rgba(155,126,122,.4); }
.leg.premium::before { width: 7px; height: 7px; border-radius: 1.5px; transform: rotate(45deg); background: var(--m100); }

.sched-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: var(--s6); }
.sched-tab {
  padding: .75rem 1.25rem; background: none; border: none; border-bottom: 2px solid transparent;
  color: rgba(255,255,255,.45); font-family: var(--fb); font-size: .875rem; font-weight: 500;
  cursor: pointer; margin-bottom: -1px; transition: all var(--dur) var(--ease);
}
.sched-tab:hover { color: rgba(255,255,255,.8); }
.sched-tab.active { color: var(--w); border-bottom-color: var(--m300); }

.sched-panel { display: none; }
.sched-panel.active { display: flex; flex-direction: column; gap: var(--s2); }

.sched-row {
  display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: var(--s1) var(--s3);
  padding: var(--s3) var(--s4); border-radius: var(--r);
  background: var(--b200); border: 1px solid var(--b300);
  border-left: 3px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.sched-meta, .sched-book { grid-column: span 2; justify-self: start; }
.sched-row:hover { background: var(--b300); }
/* Left stripe encodes the ROOM (independent of soft/premium) */
.sched-row.room-liliowa { border-left-color: #B9A0D8; }
.sched-row.room-cream   { border-left-color: #E3D2B8; }
.sched-row.room-other   { border-left-color: rgba(255,255,255,.35); }
.sched-time { font-family: var(--fh); font-size: 1.125rem; color: var(--m200); }
.sched-info strong { display: block; font-weight: 500; color: var(--w); font-size: .9375rem; }

.sched-meta { display: flex; align-items: center; gap: var(--s2); flex-wrap: wrap; }
.sched-room {
  display: inline-flex; align-items: center; gap: .42em;
  padding: .3rem .7rem; border-radius: var(--pill);
  font-family: var(--fb); font-size: .625rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1; white-space: nowrap;
}
.sched-room::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; }
.sched-room.liliowa { background: rgba(168,140,205,.16); color: #CDB8E6; border: 1px solid rgba(168,140,205,.40); }
.sched-room.liliowa::before { background: #B9A0D8; }
.sched-room.cream   { background: rgba(227,210,184,.14); color: #ECDFC8; border: 1px solid rgba(227,210,184,.34); }
.sched-room.cream::before { background: #E3D2B8; }
.sched-room.other   { background: rgba(255,255,255,.07); color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.16); }
.sched-room.other::before { background: rgba(255,255,255,.6); }
.sched-empty { padding: var(--s6) var(--s4); text-align: center; color: var(--wg); font-size: .9375rem; background: var(--b100); border: 1px dashed var(--b400); border-radius: var(--r); }
.sched-badge {
  display: inline-flex; align-items: center; gap: .42em;
  padding: .3rem .7rem; border-radius: var(--pill);
  font-family: var(--fb); font-size: .625rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
}
.sched-badge::before { content: ''; flex: none; width: 5px; height: 5px; border-radius: 50%; }
.sched-badge.soft    { background: rgba(255,255,255,.08); color: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.14); }
.sched-badge.soft::before { background: rgba(255,255,255,.6); }
.sched-badge.premium { background: linear-gradient(135deg, var(--m400), var(--m500)); color: #fff; }
.sched-badge.premium::before { width: 6px; height: 6px; border-radius: 1.5px; transform: rotate(45deg); background: var(--m100); }
.sched-book { padding: .375rem 1rem; border-radius: var(--pill); border: 1px solid rgba(155,126,122,.55); font-size: .75rem; font-weight: 500; color: var(--m200); transition: all var(--dur) var(--ease); white-space: nowrap; }
.sched-book:hover { background: var(--m400); border-color: var(--m400); color: var(--w); }

/* ================================================================
   PRICING
   ================================================================ */
.pricing { padding: var(--sp) 0; background: var(--b100); }
.pricing-wrap { max-width: var(--mw); margin: 0 auto; padding: 0 var(--s4); }

.pricing-cards { display: grid; grid-template-columns: 1fr; gap: var(--s4); align-items: stretch; margin-bottom: var(--s10); }

.pcard { display: flex; flex-direction: column; background: var(--b200); border-radius: var(--rx); overflow: hidden; box-shadow: var(--sh1); border: 1px solid var(--b300); transition: transform var(--dur) var(--ease),box-shadow var(--dur) var(--ease); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh4); }
.pcard-featured { border: 2px solid var(--m400); box-shadow: var(--sh4); }
.pcard-featured:hover { transform: translateY(-4px); }

.pcard-head { padding: var(--s4) var(--s5); background: var(--b100); border-bottom: 1px solid var(--b300); }
.pcard-featured .pcard-head { background: var(--ink); }
.pcard-member  .pcard-head { background: linear-gradient(135deg, var(--m400), var(--m600)); }

.pcard-badge {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .4rem .85rem; border-radius: var(--pill);
  font-family: var(--fb); font-size: .625rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1;
  margin-bottom: var(--s3);
}
.pcard-badge::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; }
.pcard-badge.soft    { background: var(--b300); color: var(--m200); border: 1px solid var(--b400); }
.pcard-badge.soft::before { background: var(--m300); }
.pcard-badge.premium { background: linear-gradient(135deg, var(--m200), var(--m400)); color: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.pcard-badge.premium::before { width: 7px; height: 7px; border-radius: 1.5px; transform: rotate(45deg); background: #fff; }
.pcard-badge.member  { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.pcard-badge.member::before { background: var(--b100); }

.pcard-head h3 { font-size: 1.375rem; margin-bottom: var(--s1); }
.pcard-head p  { font-size: .8125rem; color: var(--wg); line-height: 1.6; }
.pcard-featured .pcard-head h3,
.pcard-member   .pcard-head h3 { color: var(--w); }
.pcard-featured .pcard-head p,
.pcard-member   .pcard-head p  { color: rgba(255,255,255,.65); }

.member-price { margin-top: var(--s2); display: flex; align-items: baseline; gap: var(--s1); }
.mp-amount { font-family: var(--fh); font-size: 2.5rem; color: var(--w); line-height: 1; }
.mp-per    { font-size: .875rem; color: rgba(255,255,255,.65); }

.pcard-body { display: flex; flex-direction: column; justify-content: center; flex: 1 1 auto; padding: var(--s3) var(--s5); }
.pcard-row { display: flex; justify-content: space-between; align-items: center; padding: var(--s2) 0; border-bottom: 1px solid var(--b300); }
.pcard-row:last-child { border-bottom: none; }
.pcard-row span { font-size: .875rem; color: var(--wg); }
.pcard-row strong { font-weight: 600; font-size: 1.0625rem; color: var(--d300); }
.pcard-check { display: flex; align-items: center; gap: var(--s2); padding: var(--s1) 0; font-size: .9375rem; color: var(--d200); }
.pcard-check svg { width: 16px; height: 16px; color: var(--ok); flex-shrink: 0; }

.pcard-foot { padding: var(--s4) var(--s5) var(--s5); border-top: 1px solid var(--b300); }
.pcard-note { font-size: .75rem; color: var(--lg); margin-top: var(--s3); margin-bottom: 0; font-style: italic; text-align: center; }

.pricing-other-title { font-size: 1.25rem; text-align: center; margin-bottom: var(--s4); }
.other-grid { display: grid; grid-template-columns: 1fr; gap: var(--s3); }
.other-card { background: var(--b200); border-radius: var(--r); padding: var(--s4); display: flex; justify-content: space-between; align-items: center; gap: var(--s3); border: 1px solid var(--b300); transition: border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease); }
.other-card:hover { border-color: var(--m300); box-shadow: var(--sh2); }
.other-card div { display: flex; flex-direction: column; flex: 1 1 auto; }
.other-card strong { font-size: .9375rem; color: var(--d300); margin-bottom: 4px; }
.other-card span   { font-size: .8125rem; color: var(--wg); }
.other-price { flex: none; max-width: 35%; font-weight: 700; font-size: 1.0625rem; color: var(--m300); text-align: right; }

/* ================================================================
   GALLERY
   ================================================================ */
.gallery { padding: var(--sp) 0; background: var(--b100); }
.gallery-grid { max-width: var(--mw); margin: 0 auto; padding: 0 var(--s4); display: grid; grid-template-columns: 1fr; gap: var(--s3); }
.g-item { position: relative; overflow: hidden; cursor: pointer; aspect-ratio: 1/1; border-radius: var(--rl); box-shadow: var(--sh2); }
.g-item img { width: 100%; height: 100%; object-fit: cover; object-position: center center; transition: transform .8s var(--ease); }
.g-overlay  { position: absolute; inset: 0; background: rgba(28,26,25,0); transition: background .5s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item:hover .g-overlay { background: rgba(28,26,25,.12); }

/* ================================================================
   FAQ
   ================================================================ */
.faq { padding: var(--sp) 0; background: var(--b50); }
.faq-wrap { max-width: 800px; margin: 0 auto; padding: 0 var(--s4); }
.faq-list { display: flex; flex-direction: column; gap: var(--s1); }
.faq-item { background: var(--b200); border-radius: var(--r); border: 1px solid var(--b300); overflow: hidden; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--s3);
  padding: var(--s4) var(--s5); background: none; border: none; cursor: pointer;
  text-align: left; font-family: var(--fb); font-size: 1rem; font-weight: 500; color: var(--d300);
  transition: color var(--dur) var(--ease);
}
.faq-q:hover, .faq-q[aria-expanded="true"] { color: var(--m300); }
.faq-chevron { width: 20px; height: 20px; flex-shrink: 0; color: var(--m400); transition: transform var(--dur) var(--ease); }
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-a.open { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; min-height: 0; }
.faq-a p { margin: 0; padding: 0 var(--s5) var(--s4); font-size: .9375rem; color: var(--wg); line-height: 1.75; }

/* ================================================================
   CONTACT
   ================================================================ */
.contact { padding: var(--sp) 0; background: var(--b50); }
.contact-grid { max-width: var(--mw); margin: 0 auto; padding: 0 var(--s4); display: grid; grid-template-columns: 1fr; gap: var(--s6); align-items: start; }
.contact-info h2 { font-size: clamp(1.75rem,3vw,2.5rem); margin: var(--s2) 0; }
.contact-desc { font-size: 1.0625rem; color: var(--wg); line-height: 1.7; margin-bottom: var(--s6); }
.cinfo-list { display: flex; flex-direction: column; gap: var(--s4); margin-bottom: var(--s6); }
.cinfo { display: flex; align-items: flex-start; gap: var(--s3); }
.cinfo-icon { flex-shrink: 0; width: 40px; height: 40px; background: var(--b200); border-radius: var(--r); display: flex; align-items: center; justify-content: center; }
.cinfo-icon svg { width: 18px; height: 18px; color: var(--m400); }
.cinfo strong { display: block; font-size: .875rem; font-weight: 600; color: var(--d300); margin-bottom: 2px; }
.cinfo span, .cinfo address { font-size: .9375rem; color: var(--wg); font-style: normal; line-height: 1.55; }
.cinfo a:hover { color: var(--m300); }
.contact-socials { display: flex; flex-direction: column; gap: var(--s2); }
.c-social { display: inline-flex; align-items: center; gap: var(--s2); font-size: .9375rem; color: var(--wg); transition: color var(--dur) var(--ease); }
.c-social svg { width: 20px; height: 20px; }
.c-social:hover { color: var(--m300); }

.cform { background: var(--b100); border-radius: var(--rx); padding: var(--s5); border: 1px solid var(--b300); }
.cform h3 { font-size: 1.5rem; margin-bottom: var(--s5); }
.field { margin-bottom: var(--s4); }
.field label { display: block; font-size: .8125rem; font-weight: 500; color: var(--d200); margin-bottom: var(--s1); letter-spacing: .03em; }
.field input, .field select, .field textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--b300); border-radius: var(--r);
  font-family: var(--fb); font-size: .9375rem; color: var(--d300);
  background: var(--b200); transition: border-color var(--dur) var(--ease),box-shadow var(--dur) var(--ease);
  outline: none; appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--m400);
  box-shadow: 0 0 0 3px rgba(155,126,122,.12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--lg); }
.field-row { display: grid; grid-template-columns: 1fr; gap: var(--s3); }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A59C95' stroke-width='1.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center; background-size: 18px;
  padding-right: 2.5rem; cursor: pointer;
}
.field textarea { resize: vertical; min-height: 120px; }
.field-check { margin-top: var(--s2); }
.check-label { display: flex; align-items: flex-start; gap: var(--s2); cursor: pointer; }
.check-label input { position: absolute; opacity: 0; pointer-events: none; }
.check-box { flex-shrink: 0; width: 18px; height: 18px; border: 1.5px solid var(--b400); border-radius: 4px; background: var(--b200); transition: all var(--dur) var(--ease); position: relative; margin-top: 2px; }
.check-label input:checked + .check-box { background: var(--m400); border-color: var(--m400); }
.check-label input:checked + .check-box::after { content: ''; position: absolute; left: 4px; top: 1px; width: 7px; height: 10px; border: 2px solid var(--w); border-top: none; border-left: none; transform: rotate(45deg); }
.check-label span:last-child { font-size: .8125rem; color: var(--wg); line-height: 1.5; }
.field-err { border-color: var(--err) !important; }
.field-msg { display: block; margin-top: 6px; font-size: .75rem; color: var(--err); line-height: 1.4; }
.form-alert { padding: var(--s2) var(--s3); margin-bottom: var(--s4); border-radius: var(--r); background: rgba(217,138,138,.12); border: 1px solid var(--err); color: var(--err); font-size: .8125rem; line-height: 1.5; }

/* ================================================================
   CTA STRIP
   ================================================================ */
.cta-strip { position: relative; padding: var(--sp) var(--s4); text-align: center; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cta-overlay { position: absolute; inset: 0; background: rgba(28,26,25,.68); }
.cta-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(2rem,4vw,3rem); color: var(--w); margin-bottom: var(--s3); }
.cta-content p  { color: rgba(255,255,255,.75); font-size: 1.0625rem; margin-bottom: var(--s5); }

/* ================================================================
   FOOTER
   ================================================================ */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding-top: var(--s12); }
.footer-inner { max-width: var(--mw); margin: 0 auto; padding: 0 var(--s4) var(--s8); display: grid; grid-template-columns: 1fr; gap: var(--s5); }
.footer-logo-lockup { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; margin-bottom: var(--s3); }
.footer-logo { height: 56px; width: auto; }
.footer-logo-word {
  font-family: var(--fh); font-size: 1.35rem; line-height: 1;
  letter-spacing: .3em; text-transform: uppercase; color: var(--m100);
}
.footer-tagline { font-size: .875rem; color: rgba(255,255,255,.4); font-style: italic; margin-bottom: var(--s3); }
.footer-socials { display: flex; gap: var(--s3); }
.footer-socials a { color: rgba(255,255,255,.5); transition: color var(--dur) var(--ease); }
.footer-socials a svg { width: 20px; height: 20px; }
.footer-socials a:hover { color: var(--m200); }
.footer-col h4 { font-family: var(--fb); font-size: .75rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: var(--s3); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--s2); }
.footer-col a { font-size: .9375rem; color: rgba(255,255,255,.6); transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--m200); }
.footer-col address { font-style: normal; display: flex; flex-direction: column; gap: var(--s2); font-size: .9375rem; }
.footer-col p { font-size: .9375rem; color: rgba(255,255,255,.6); line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: var(--s4); text-align: center; font-size: .8125rem; color: rgba(255,255,255,.3); }

/* ================================================================
   SUCCESS PAGE
   ================================================================ */
.success-page { min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: var(--nav) var(--s4) var(--s8); background: var(--b100); }
.success-inner { text-align: center; max-width: 480px; }
.success-icon { width: 72px; height: 72px; margin: 0 auto var(--s5); background: var(--b200); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.success-icon svg { width: 36px; height: 36px; color: var(--ok); }
.success-inner h1 { font-size: 2.5rem; margin-bottom: var(--s3); }
.success-inner p  { color: var(--wg); line-height: 1.7; margin-bottom: var(--s5); }

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeIn  { from{opacity:0}    to{opacity:1} }
@keyframes fadeUp  { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:none} }

[data-ani] { opacity: 0; transform: translateY(32px); transition: opacity .7s var(--eout), transform .7s var(--eout); }
[data-ani="right"] { transform: translateX(-32px); }
[data-ani="left"]  { transform: translateX(32px); }
[data-ani].vis     { opacity: 1; transform: none; }

/* ================================================================
   RESPONSIVE — progressive enhancement (mobile-first, min-width)
   Base styles above target phones; these scale up.
   ================================================================ */

/* --- ≥480px: larger phones --- */
@media(min-width:480px){
  .hero-btns { flex-direction: row; align-items: center; flex-wrap: wrap; }
}

/* --- ≥768px: tablet --- */
@media(min-width:768px){
  :root { --nav: 80px; --sp: 6rem; }

  /* Nav → horizontal bar */
  .nav-burger { display: none; }
  .nav-menu {
    position: static; inset: auto; background: none;
    flex-direction: row; justify-content: flex-end; align-items: center; gap: 4px;
    transform: none; padding: 0;
  }
  .nav-link { font-size: .875rem; padding: .5rem .875rem; }
  .nav-cta  { font-size: .875rem; margin: 0 0 0 var(--s1); }

  /* Hero scroll cue (room to show from tablet up) */
  .hero-scroll { display: flex; }

  /* Spacing */
  .section-header { margin-bottom: var(--s10); }

  /* About → two columns */
  .about-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); }

  /* Grids → two columns */
  .classes-grid  { grid-template-columns: repeat(2,1fr); }
  .gallery-grid  { grid-template-columns: repeat(2,1fr); }

  /* Wellness banner → image beside text */
  .class-feature-card { flex-direction: row; align-items: stretch; min-height: 300px; }
  .class-feature-img  { flex: 0 0 44%; aspect-ratio: auto; }
  .class-feature-body { flex: 1; justify-content: center; padding: var(--s8); }

  /* Trainers → alternating side-by-side rows (zigzag) */
  .trainers-list { max-width: 1000px; }
  .trainer-row { flex-direction: row; gap: var(--s10); }
  .trainer-row.reverse { flex-direction: row-reverse; }
  .trainer-photo { flex: 0 0 40%; max-width: 40%; }
  .trainer-body { flex: 1; }
  .field-row     { grid-template-columns: 1fr 1fr; }
  .footer-inner  { grid-template-columns: 1fr 1fr; gap: var(--s6); }

  /* Pricing: single column, comfortably centered until desktop */
  .pricing-cards { max-width: 520px; margin-left: auto; margin-right: auto; }

  /* Form */
  .cform { padding: var(--s6); }

  /* Schedule → full single-line row */
  .sched-row { grid-template-columns: 80px 1fr auto auto; gap: var(--s3); }
  .sched-meta, .sched-book { grid-column: auto; justify-self: auto; }
}

/* --- ≥1024px: desktop --- */
@media(min-width:1024px){
  :root { --sp: 8rem; }

  .stats-grid { grid-template-columns: repeat(4,1fr); }
  .stat-item { border-bottom: none; border-right: 1px solid var(--b300); }
  .stat-item:last-child { border-right: none; }

  .about-grid { gap: var(--s12); }
  .about-sec-img { display: block; }

  .classes-grid  { grid-template-columns: repeat(3,1fr); }
  .classes-grid.cols-4 { grid-template-columns: repeat(4,1fr); }
  .gallery-grid  { grid-template-columns: repeat(2,1fr); }
  .trainers-list { max-width: 1080px; gap: var(--s16); }
  .other-grid    { grid-template-columns: repeat(3,1fr); }

  .pricing-cards { grid-template-columns: repeat(3,1fr); max-width: none; }
  /* Subgrid aligns head / body / foot rows across all three cards */
  .pcard { display: grid; grid-template-rows: subgrid; grid-row: span 3; }
  .pcard-featured { transform: translateY(-8px); }
  .pcard-featured:hover { transform: translateY(-12px); }

  .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--s12); }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--s8); }
}
