/* =========================================================== FITGEN – public site */
:root {
  --purple: #7c3aed;
  --purple-600: #6d28d9;
  --purple-400: #a78bfa;
  --purple-100: #ede9fe;
  --purple-50: #f6f2ff;
  --ink: #0d0a17;
  --ink-2: #16112a;
  --ink-3: #231b3d;
  --text: #1b1530;
  --muted: #5d5873;
  --line: #e7e3f1;
  --bg: #ffffff;
  --bg-soft: #f8f6fc;
  --ok: #16a34a;
  --warn: #d97706;
  --bad: #dc2626;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(32, 16, 70, .08);
  --shadow-lg: 0 24px 60px rgba(32, 16, 70, .16);
  --head: "Outfit", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.accent { color: var(--purple-400); }
.center { text-align: center; }
.ico { flex-shrink: 0; vertical-align: middle; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--purple-400); outline-offset: 2px; border-radius: 6px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.4rem; border-radius: 12px; font-weight: 600; font-size: .98rem; border: 2px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s; font-family: var(--body); min-height: 46px; line-height: 1.1; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 8px 22px rgba(124, 58, 237, .35); }
.btn-primary:hover { background: var(--purple-600); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(124, 58, 237, .45); }
.btn-ghost { color: #fff; background: transparent; padding-inline: .5rem; }
.btn-ghost:hover { color: var(--purple-400); }
.btn-ghost .ico { transition: transform .2s; }
.btn-ghost:hover .ico { transform: translateX(4px); }
.btn-outline { border-color: var(--purple); color: var(--purple); background: #fff; }
.btn-outline:hover { background: var(--purple-50); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5b; }
.btn-sm { padding: .55rem .9rem; min-height: 38px; font-size: .88rem; border-radius: 10px; }
.btn-block { width: 100%; }
.link { color: var(--purple); font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.link:hover { text-decoration: underline; }

/* ---------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(13, 10, 23, .96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.nav { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; font-family: var(--head); font-weight: 800; font-style: italic; font-size: 1.55rem; letter-spacing: .02em; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: .3rem; margin-left: 2rem; list-style: none; padding: 0; margin-block: 0; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button { color: #d9d4ea; font-size: .95rem; font-weight: 500; padding: .55rem .8rem; border-radius: 8px; display: inline-flex; align-items: center; gap: .3rem; background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav-links a:hover, .nav-links button:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, .06); }
.dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); }
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { color: var(--text) !important; display: flex; flex-direction: column; align-items: flex-start; padding: .65rem .8rem; }
.dropdown a:hover { background: var(--purple-50) !important; }
.dropdown small { color: var(--muted); font-size: .78rem; font-weight: 400; }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: .8rem; }
.nav-actions .login { color: #d9d4ea; font-weight: 500; font-size: .95rem; }
.nav-actions .login:hover { color: #fff; }
.burger { display: none; background: none; border: 0; color: #fff; padding: .4rem; cursor: pointer; }
.mobile-nav { position: fixed; inset: 0; z-index: 100; background: var(--ink); color: #fff; padding: 1rem 16px 2rem; transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; visibility: hidden; }
.mobile-nav.open { transform: none; visibility: visible; }
.mobile-nav .top { display: flex; justify-content: space-between; align-items: center; height: 56px; margin-bottom: 1rem; }
.mobile-nav a { display: block; padding: .9rem .2rem; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 1.1rem; font-weight: 500; }
.mobile-nav .sub a { font-size: .95rem; padding-left: 1rem; color: #bdb5d6; }
.mobile-nav .btn { margin-top: 1.2rem; }

/* ---------- flash */
.flashes { position: fixed; top: 84px; right: 16px; z-index: 200; display: grid; gap: .5rem; max-width: min(420px, calc(100% - 32px)); }
.flash { background: #fff; border-left: 4px solid var(--purple); box-shadow: var(--shadow-lg); padding: .9rem 2.4rem .9rem 1rem; border-radius: 10px; font-size: .93rem; position: relative; animation: slidein .4s var(--ease); }
.flash.success { border-color: var(--ok); }
.flash.error { border-color: var(--bad); }
.flash button { position: absolute; top: .5rem; right: .5rem; background: none; border: 0; cursor: pointer; color: var(--muted); }
@keyframes slidein { from { opacity: 0; transform: translateX(20px); } }

/* ---------- hero */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding-bottom: 90px; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { position: absolute; right: 0; top: 0; width: 66%; height: 100%; object-fit: cover; object-position: 30% 20%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 34%, rgba(13, 10, 23, .6) 46%, rgba(13, 10, 23, 0) 62%), linear-gradient(0deg, var(--ink) 0%, transparent 25%); }
.hero-inner { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 4rem; max-width: 600px; }
.eyebrow { display: inline-block; background: rgba(124, 58, 237, .35); border: 1px solid rgba(167, 139, 250, .4); color: #fff; font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding: .45rem .9rem; border-radius: 999px; margin-bottom: 1.4rem; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--purple-400); }
.hero p.lead { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: #d8d3e8; max-width: 460px; margin-bottom: 1.8rem; }
.hero-cta { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.hero-badge { position: absolute; right: 4%; bottom: 120px; background: #fff; color: var(--ink); border-radius: 14px; padding: .8rem 1.1rem; display: flex; align-items: center; gap: .8rem; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-lg); max-width: 220px; }
.hero-badge .ico { color: var(--purple); }

/* search card */
.search-card { position: relative; z-index: 5; margin-top: -64px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 1.1rem; border: 1px solid var(--line); }
.search-grid { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: .8rem; }
.sfield { display: flex; align-items: center; gap: .7rem; border: 1px solid var(--line); border-radius: 12px; padding: .55rem .9rem; min-height: 60px; background: #fff; transition: border-color .2s; }
.sfield:focus-within { border-color: var(--purple); }
.sfield .ico { color: var(--purple); }
.sfield label { display: block; font-weight: 700; font-size: .85rem; color: var(--ink); }
.sfield select, .sfield input { border: 0; outline: 0; background: transparent; font: inherit; font-size: .9rem; color: var(--muted); width: 100%; padding: 0; appearance: none; cursor: pointer; }
.sfield > div { flex: 1; min-width: 0; }
.search-card .hint { text-align: center; margin: .8rem 0 0; font-size: .9rem; color: var(--muted); }
.search-card .hint a { color: var(--purple); font-weight: 600; }

/* ---------- sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-sm { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: .4rem 0 0; color: var(--muted); }
.soft { background: var(--bg-soft); }
.lilac { background: linear-gradient(180deg, #f3edff, #f8f5ff); border-radius: 28px; }

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.cat-card { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/4.2; background: var(--ink-3); display: block; isolation: isolate; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); z-index: -1; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 10, 23, .92) 0%, rgba(13, 10, 23, .1) 55%); z-index: -1; }
.cat-card:hover img { transform: scale(1.07); }
.cat-card .cat-body { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; display: flex; align-items: end; justify-content: space-between; gap: .6rem; color: #fff; }
.cat-card h3 { color: #fff; margin: 0; font-size: 1.35rem; }
.cat-card small { color: #cfc8e6; display: block; font-size: .82rem; margin-top: .25rem; }
.round-arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--purple); color: #fff; display: grid; place-items: center; flex-shrink: 0; transition: transform .25s var(--ease); }
.cat-card:hover .round-arrow { transform: rotate(-45deg); }

/* steps */
.steps-box { padding: clamp(2rem, 4vw, 3rem); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 2rem; position: relative; }
.step { position: relative; }
.step-ico { width: 56px; height: 56px; border-radius: 14px; background: #fff; color: var(--purple); display: grid; place-items: center; box-shadow: var(--shadow); position: relative; margin-bottom: 1rem; }
.step-num { position: absolute; top: -8px; right: -10px; width: 24px; height: 24px; border-radius: 50%; background: var(--purple); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 80px; right: 10px; height: 2px; background: repeating-linear-gradient(90deg, var(--purple-400) 0 6px, transparent 6px 12px); opacity: .5; }
.step h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* trainer cards */
.trainer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; }
.t-card { background: #fff; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.t-photo { aspect-ratio: 16/10; overflow: hidden; background: var(--purple-50); position: relative; }
.t-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .5s var(--ease); }
.t-card:hover .t-photo img { transform: scale(1.05); }
.t-rating { position: absolute; top: .7rem; right: .7rem; background: rgba(255, 255, 255, .95); border-radius: 999px; padding: .2rem .6rem; font-size: .8rem; font-weight: 700; display: flex; gap: .25rem; align-items: center; }
.t-rating .ico { color: #f59e0b; fill: #f59e0b; }
.t-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.t-body h3 { margin: 0; font-size: 1.2rem; }
.pill { display: inline-flex; align-items: center; gap: .3rem; background: var(--purple-100); color: var(--purple-600); font-size: .78rem; font-weight: 600; padding: .22rem .65rem; border-radius: 999px; }
.pill.dark { background: var(--ink); color: #fff; }
.pill.ok { background: #dcfce7; color: #166534; }
.pill.warn { background: #fef3c7; color: #92400e; }
.pill.bad { background: #fee2e2; color: #991b1b; }
.pill.grey { background: #eef0f4; color: #475069; }
.meta { display: flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .86rem; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag { border: 1px solid var(--line); border-radius: 999px; font-size: .76rem; padding: .18rem .6rem; color: var(--text); }
.t-foot { display: flex; justify-content: space-between; align-items: center; font-size: .86rem; border-top: 1px solid var(--line); padding-top: .65rem; margin-top: auto; }
.t-foot strong { color: var(--purple); }

/* cities */
.city-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.city-card { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16/8; display: block; isolation: isolate; background: var(--ink-3); }
.city-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s var(--ease); }
.city-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 10, 23, .85), rgba(13, 10, 23, .05) 70%); z-index: -1; }
.city-card:hover img { transform: scale(1.06); }
.city-card div { position: absolute; left: 1.2rem; bottom: 1rem; color: #fff; }
.city-card h3 { color: #fff; font-size: 1.6rem; margin: 0; }
.city-card span { font-size: .88rem; display: inline-flex; gap: .3rem; align-items: center; color: #e5def8; }

/* packages */
.pk-layout { display: grid; grid-template-columns: 1fr 2.2fr; gap: 2rem; align-items: center; }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.pk-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .7rem; transition: transform .3s var(--ease); }
.pk-card:hover { transform: translateY(-4px); }
.pk-card.featured { background: linear-gradient(180deg, #f1e9ff, #fff); border-color: var(--purple-400); }
.pk-card .ico-box { width: 46px; height: 46px; border-radius: 12px; background: var(--purple-50); color: var(--purple); display: grid; place-items: center; }
.pk-card h3 { margin: 0; }
.pk-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.pk-card .btn { margin-top: auto; }

/* dashboard promo */
.promo { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; padding: clamp(1.5rem, 4vw, 3rem); }
.mock { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); display: grid; grid-template-columns: 150px 1fr; overflow: hidden; font-size: .82rem; border: 1px solid var(--line); }
.mock-side { border-right: 1px solid var(--line); padding: 1rem .7rem; display: grid; gap: .3rem; align-content: start; }
.mock-side span { display: flex; gap: .5rem; align-items: center; padding: .5rem .6rem; border-radius: 8px; color: var(--muted); }
.mock-side span.on { background: var(--purple-50); color: var(--purple); font-weight: 600; }
.mock-main { padding: 1.1rem; display: grid; gap: .8rem; }
.mock-tabs { display: flex; gap: .3rem; background: var(--bg-soft); border-radius: 10px; padding: .25rem; width: max-content; }
.mock-tabs span { padding: .35rem 1rem; border-radius: 8px; }
.mock-tabs .on { background: var(--purple); color: #fff; }
.mock-booking { border: 1px solid var(--line); border-radius: 12px; padding: .8rem; display: grid; gap: .5rem; }
.mock-slots { display: flex; gap: .4rem; flex-wrap: wrap; }
.mock-slots span { border: 1px solid var(--line); border-radius: 8px; padding: .3rem .6rem; }
.mock-slots .on { background: var(--purple); color: #fff; border-color: var(--purple); }
.feature-list { display: grid; gap: 0; }
.feature { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(124, 58, 237, .15); }
.feature:last-child { border-bottom: 0; }
.feature .ico-box { width: 48px; height: 48px; border-radius: 12px; background: #fff; color: var(--purple); display: grid; place-items: center; box-shadow: var(--shadow); flex-shrink: 0; }
.feature h3 { font-size: 1.1rem; margin: 0 0 .2rem; }
.feature p { margin: 0; color: var(--muted); font-size: .92rem; }

/* payments strip */
.pay-strip { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem 2rem; box-shadow: var(--shadow); flex-wrap: wrap; }
.pay-strip h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); margin: 0; }
.pay-strip p { margin: .3rem 0 0; color: var(--muted); }
.pay-logos { display: flex; gap: .7rem; flex-wrap: wrap; }
.pay-logo { display: flex; align-items: center; gap: .6rem; border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1.1rem; font-weight: 700; font-size: .92rem; background: #fff; }
.pay-logo .ico { color: var(--purple); }

/* join banner */
.join { position: relative; border-radius: 24px; overflow: hidden; background: var(--ink); color: #fff; min-height: 300px; display: flex; align-items: center; isolation: isolate; }
.join img { position: absolute; right: 0; top: 0; height: 100%; width: 58%; object-fit: cover; z-index: -2; }
.join::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 40%, rgba(60, 20, 120, .55) 65%, rgba(124, 58, 237, .15)); z-index: -1; }
.join-body { padding: clamp(1.8rem, 4vw, 3rem); max-width: 560px; }
.join h2 { color: #fff; }
.join p { color: #d8d3e8; }
.join small { display: block; color: #b7afd0; margin-top: 1.2rem; font-size: .85rem; }

/* faq */
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2.5rem; align-items: start; }
.faq-list { display: grid; gap: .7rem; }
.faq { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-family: var(--head); font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--purple); transition: transform .25s; }
.faq[open] summary { color: var(--purple); }
.faq[open] summary .ico { transform: rotate(45deg); }
.faq .ans { padding: 0 1.2rem 1.1rem; color: var(--muted); }

/* help banner */
.help { display: grid; grid-template-columns: 180px 1fr auto; gap: 1.5rem; align-items: center; border-radius: 22px; background: linear-gradient(90deg, #f1eaff, #f8f5ff); padding: 0 2rem 0 1rem; overflow: hidden; }
.help img { align-self: end; height: 150px; width: 180px; object-fit: cover; object-position: top; border-radius: 0 0 0 0; }
.help h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); margin-bottom: .3rem; }
.help p { margin: 0; color: var(--muted); }
.help .actions { display: flex; gap: .7rem; flex-wrap: wrap; padding: 1.2rem 0; }

/* ---------- footer */
.site-footer { background: var(--ink); color: #c6c0da; padding: 4rem 0 1.5rem; margin-top: 4rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.foot-grid h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .93rem; }
.foot-grid a:hover { color: #fff; }
.foot-brand p { margin: 1rem 0 1.2rem; }
.socials { display: flex; gap: .6rem; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .07); display: grid; place-items: center; color: #fff; transition: background .2s; }
.socials a:hover { background: var(--purple); }
.foot-contact li { display: flex; gap: .5rem; align-items: center; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding-top: 1.4rem; font-size: .88rem; flex-wrap: wrap; }
.foot-bottom .cities { display: flex; gap: 1rem; }
.to-top { display: inline-flex; gap: .4rem; align-items: center; background: none; border: 0; color: inherit; cursor: pointer; font: inherit; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- inner pages */
.page-hero { background: var(--ink); color: #fff; padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 5.5rem); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -200px; background: radial-gradient(circle, rgba(124, 58, 237, .55), transparent 65%); z-index: -1; }
.page-hero.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .35; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 1.5rem + 2.5vw, 3.4rem); margin-bottom: .4rem; }
.page-hero p { color: #cfc8e6; max-width: 640px; margin: 0; font-size: 1.08rem; }
.crumbs { font-size: .85rem; color: #a59cc4; margin-bottom: 1rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }
.prose { max-width: 780px; font-size: 1.04rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--purple); text-decoration: underline; }
.prose img { border-radius: 14px; margin: 1rem 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--shadow); }
.lift { margin-top: -3rem; position: relative; z-index: 3; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.4rem; border-radius: 16px; background: var(--purple-50); }
.stat b { display: block; font-family: var(--head); font-size: 2.2rem; color: var(--purple); line-height: 1; }
.stat span { color: var(--muted); font-size: .9rem; }

/* forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--ink); }
.field label .req { color: var(--bad); }
.field .help { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
.input, .field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=password], .field input[type=number], .field input[type=date], .field select, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: .78rem .95rem; font: inherit; font-size: .95rem; background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: 0; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(124, 58, 237, .12); }
.field input[type=file] { width: 100%; border: 1.5px dashed var(--purple-400); border-radius: 12px; padding: .9rem; background: var(--purple-50); font-size: .9rem; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .45rem; }
.check { display: flex; gap: .5rem; align-items: center; font-size: .9rem; padding: .5rem .7rem; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; background: #fff; }
.check:has(input:checked) { border-color: var(--purple); background: var(--purple-50); }
.check input { accent-color: var(--purple); width: 16px; height: 16px; }
fieldset { border: 0; padding: 0; margin: 0; }
.fs-title { font-family: var(--head); font-size: 1.2rem; font-weight: 700; margin: 1.6rem 0 .8rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: .5rem; color: var(--ink); }
.fs-title .ico { color: var(--purple); }
.auth-wrap { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--ink); color: #fff; padding: 3rem; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; isolation: isolate; }
.auth-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; z-index: -1; }
.auth-side h2 { color: #fff; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 3rem 16px; }
.auth-form .box { width: min(440px, 100%); }

/* trainers listing */
.listing { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.filters { position: sticky; top: 90px; display: grid; gap: 1rem; }
.filters h3 { display: flex; align-items: center; gap: .5rem; }
.result-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; gap: 1rem; flex-wrap: wrap; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty .ico { color: var(--purple-400); margin: 0 auto 1rem; }
.filter-toggle { display: none; }

/* trainer profile */
.profile { display: grid; grid-template-columns: 1fr 400px; gap: 2rem; align-items: start; }
.profile-top { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: center; }
.profile-top img { width: 220px; height: 220px; border-radius: 20px; object-fit: cover; object-position: center 25%; }
.profile h1 { font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.8rem); margin-bottom: .4rem; }
.facts { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .9rem; }
.fact { display: flex; gap: .5rem; align-items: center; font-size: .9rem; color: var(--muted); }
.fact .ico { color: var(--purple); }
.booking-panel { position: sticky; top: 90px; }
.price-big { font-family: var(--head); font-size: 2rem; font-weight: 800; color: var(--ink); }
.price-big small { font-size: .95rem; color: var(--muted); font-weight: 500; }
.review { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.review:last-child { border: 0; }
.stars { color: #f59e0b; display: inline-flex; gap: 1px; }
.stars .ico.on { fill: #f59e0b; }
.stars .ico.off { color: #d6d3e0; }

/* calendar */
.cal { user-select: none; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.cal-head b { font-family: var(--head); font-size: 1.05rem; }
.cal-head button { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; width: 34px; height: 34px; display: grid; place-items: center; cursor: pointer; }
.cal-head button:disabled { opacity: .35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-grid .dow { font-size: .72rem; color: var(--muted); font-weight: 600; padding: .3rem 0; }
.cal-day { aspect-ratio: 1; border-radius: 10px; border: 1px solid transparent; background: none; font: inherit; font-size: .88rem; cursor: pointer; position: relative; color: var(--text); }
.cal-day.avail { background: var(--purple-50); color: var(--purple-600); font-weight: 600; }
.cal-day.avail::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--purple); }
.cal-day.avail:hover { border-color: var(--purple); }
.cal-day.sel { background: var(--purple); color: #fff; }
.cal-day.sel::after { background: #fff; }
.cal-day:disabled { color: #c9c5d6; cursor: default; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .45rem; margin-top: .8rem; }
.slot { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: .55rem .3rem; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.slot:hover:not(:disabled) { border-color: var(--purple); color: var(--purple); }
.slot.sel { background: var(--purple); border-color: var(--purple); color: #fff; }
.slot:disabled { text-decoration: line-through; color: #bbb; background: #f6f6f8; cursor: not-allowed; }
.legend { display: flex; gap: 1rem; font-size: .78rem; color: var(--muted); margin-top: .6rem; flex-wrap: wrap; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .3rem; vertical-align: middle; }

/* checkout */
.checkout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; font-size: .93rem; }
.summary-row.total { border-top: 2px solid var(--ink); margin-top: .5rem; padding-top: .9rem; font-weight: 800; font-size: 1.15rem; font-family: var(--head); }
.method { display: block; border: 1.5px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; cursor: pointer; transition: border-color .2s, background .2s; }
.method:has(input:checked) { border-color: var(--purple); background: var(--purple-50); }
.method .head { display: flex; gap: .7rem; align-items: center; font-weight: 700; }
.method input { accent-color: var(--purple); }
.method .details { display: none; margin-top: .8rem; font-size: .9rem; background: #fff; border-radius: 10px; padding: .8rem 1rem; border: 1px dashed var(--purple-400); }
.method:has(input:checked) .details { display: block; }
.copy { cursor: pointer; color: var(--purple); font-weight: 600; font-size: .8rem; margin-left: .4rem; background: none; border: 0; }
.notice { background: var(--purple-50); border: 1px solid var(--purple-100); border-radius: 12px; padding: .9rem 1rem; font-size: .9rem; display: flex; gap: .6rem; }
.notice .ico { color: var(--purple); }
.pkg-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; }
.pkg-opt { border: 1.5px solid var(--line); border-radius: 12px; padding: .8rem; cursor: pointer; display: block; }
.pkg-opt:has(input:checked) { border-color: var(--purple); background: var(--purple-50); }
.pkg-opt input { accent-color: var(--purple); }
.pkg-opt b { display: block; font-size: .95rem; }
.pkg-opt small { color: var(--muted); }

/* account */
.acct { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; align-items: start; }
.acct-nav { display: grid; gap: .25rem; position: sticky; top: 90px; }
.acct-nav a { display: flex; gap: .65rem; align-items: center; padding: .75rem .9rem; border-radius: 10px; color: var(--muted); font-weight: 500; }
.acct-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.acct-nav a.on { background: var(--purple-50); color: var(--purple); font-weight: 700; }
.tabs { display: inline-flex; background: var(--bg-soft); border-radius: 12px; padding: .3rem; gap: .2rem; margin-bottom: 1.2rem; }
.tabs a { padding: .5rem 1.2rem; border-radius: 9px; font-weight: 600; font-size: .9rem; color: var(--muted); }
.tabs a.on { background: var(--purple); color: #fff; }
.b-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 1rem; margin-bottom: .8rem; background: #fff; }
.b-item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.b-item h3 { font-size: 1.05rem; margin: 0 0 .2rem; }
.b-item .meta { flex-wrap: wrap; gap: .8rem; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: .75rem .6rem; border-bottom: 1px solid var(--line); }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.table-wrap { overflow-x: auto; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; font-size: .88rem; }
.timeline li { display: flex; gap: .6rem; color: var(--muted); }
.timeline li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--purple); margin-top: .45rem; flex-shrink: 0; }
.success-ico { width: 84px; height: 84px; border-radius: 50%; background: #dcfce7; color: var(--ok); display: grid; place-items: center; margin: 0 auto 1.2rem; }

/* reveal (GSAP) */
.js .reveal { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- responsive */
@media (max-width: 1080px) {
  .nav-links, .nav-actions .login { display: none; }
  .burger { display: block; }
  .nav-actions .btn { padding: .6rem 1rem; min-height: 40px; font-size: .9rem; }
  .profile, .checkout { grid-template-columns: 1fr; }
  .booking-panel { position: static; }
  .pk-layout, .promo, .faq-layout { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .search-grid { grid-template-columns: 1fr 1fr; }
  .search-grid .btn { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .hero-bg img { width: 100%; opacity: .45; }
  .hero-bg::after { background: linear-gradient(90deg, rgba(13, 10, 23, .95) 20%, rgba(13, 10, 23, .55)), linear-gradient(0deg, var(--ink), transparent 40%); }
  .hero-badge { display: none; }
  .listing, .acct { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.open { display: grid; }
  .filter-toggle { display: inline-flex; }
  .acct-nav { position: static; grid-auto-flow: column; overflow-x: auto; grid-auto-columns: max-content; padding-bottom: .3rem; }
  .help { grid-template-columns: 1fr; padding: 1.5rem; text-align: left; }
  .help img { display: none; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
  .grid-3, .stat-row { grid-template-columns: 1fr 1fr; }
  .join img { width: 100%; opacity: .4; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .nav { height: 64px; }
  .brand { font-size: 1.3rem; }
  .brand img { height: 28px; }
  .nav-actions .btn { display: none; }
  .search-grid, .form-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .cat-card h3 { font-size: 1.05rem; }
  .cat-card small { display: none; }
  .cat-card .round-arrow { width: 30px; height: 30px; }
  .mock { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .profile-top { grid-template-columns: 1fr; text-align: left; }
  .profile-top img { width: 100%; height: 280px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .pay-strip { padding: 1.3rem; }
  .b-item { grid-template-columns: 52px 1fr; }
  .b-item img { width: 52px; height: 52px; }
  .b-item > :last-child { grid-column: 1 / -1; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .hero { padding-bottom: 70px; }
  .flashes { top: 72px; }
}
