/* =========================================================================
   ONEX — базові токени та стилі, спільні для index.html та club.html
   ========================================================================= */

  @font-face{
    font-family:"Satoshi";
    src:url("fonts/Satoshi-Regular.woff2") format("woff2"),
        url("fonts/Satoshi-Regular.otf") format("opentype");
  font-weight:400 800;
  font-style:normal;
  font-display:swap;
}
  @font-face{
    font-family:"Proxima Nova";
    src:url("fonts/ProximaNova-Light.woff2") format("woff2"),
        url("fonts/ProximaNova-Light.otf") format("opentype");
  font-weight:300;
  font-style:normal;
  font-display:swap;
}
  @font-face{
    font-family:"Proxima Nova";
    src:url("fonts/ProximaNova-Semibold.woff2") format("woff2"),
        url("fonts/ProximaNova-Semibold.otf") format("opentype");
  font-weight:600;
  font-style:normal;
  font-display:swap;
}
  @font-face{
    font-family:"Proxima Nova";
    src:url("fonts/ProximaNova-Bold.woff2") format("woff2"),
        url("fonts/ProximaNova-Bold.otf") format("opentype");
  font-weight:700;
  font-style:normal;
  font-display:swap;
}
  @font-face{
    font-family:"Probert Digits";
    src:url("fonts/Probert-Regular.woff2") format("woff2"),
        url("fonts/Probert-Regular.otf") format("opentype");
  font-weight:400;
  font-style:normal;
  font-display:swap;
  unicode-range:U+0030-0039,U+0025,U+002B,U+002D,U+2212,U+20B4,U+002F;
}
  @font-face{
    font-family:"Probert Digits";
    src:url("fonts/Probert-Bold.woff2") format("woff2"),
        url("fonts/Probert-Bold.otf") format("opentype");
  font-weight:700 900;
  font-style:normal;
  font-display:swap;
  unicode-range:U+0030-0039,U+0025,U+002B,U+002D,U+2212,U+20B4,U+002F;
}

:root{
  --bg: #050505;
  --bg-soft: #0b0b0d;
  --surface: #0b0b0d;
  --surface-2: #111114;
  --border: rgba(255,255,255,.12);
  --text: #f5f2f7;
  --text-muted: #b7b0bc;
  --accent: #bd18f0;
  --accent-dim: #8f12b8;
  --accent-ink: #050505;
  --status-open: #bd18f0;
  --status-soon: #bd18f0;
  --status-closed: #8B8B92;
  --radius-lg: 8px;
  --radius-md: 8px;
  --radius-sm: 8px;
  --container: 1180px;
  --shadow: 0 24px 70px rgba(0,0,0,.46);
  --accent-line: rgba(189,24,240,.45);
  --glow: 0 0 22px rgba(189,24,240,.34),0 0 56px rgba(189,24,240,.18);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:auto; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Proxima Nova",Arial,sans-serif;
  font-weight:300;
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 84% 10%,rgba(189,24,240,.18),transparent 24%),
    linear-gradient(180deg,rgba(255,255,255,.035),transparent 35%);
  z-index:-2;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-family:"Satoshi","Proxima Nova",Arial,sans-serif; letter-spacing:0; font-weight:700; line-height:1.07; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }

.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:"Proxima Nova",Arial,sans-serif; font-size:13px; letter-spacing:0;
  text-transform:uppercase; color:var(--accent);
}
.eyebrow::before{ content:""; width:18px; height:1px; background:var(--accent); }

section{ padding:67px 0; }
@media (max-width:760px){ section{ padding:45px 0; } }

.h-xl{ font-size:clamp(40px,7vw,84px); }
.h-lg{ font-size:clamp(32px,5vw,56px); }
.h-md{ font-size:clamp(24px,3.4vw,34px); }
.muted{ color:var(--text-muted); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:46px; max-width:100%; padding:13px 22px;
  border-radius:999px; border:1px solid rgba(255,255,255,.22);
  color:var(--text); background:rgba(255,255,255,.03);
  font-family:"Proxima Nova",Arial,sans-serif;
  font-weight:700; font-size:14px; cursor:pointer; white-space:nowrap;
  transition:transform .2s ease, border-color .2s ease, background .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.btn:hover{ transform:translateY(-1px); border-color:rgba(255,255,255,.42); }
.btn:active{ transform:scale(.97); }
.btn-primary{ background:var(--accent); color:#050505; border-color:var(--accent); box-shadow:var(--glow); }
.btn-primary:hover{ background:#cb34f4; box-shadow:0 0 26px rgba(189,24,240,.48),0 0 70px rgba(189,24,240,.24); }
.btn-outline{ border-color:var(--accent-line); color:var(--text); background:#050505; }
.btn-outline:hover{ border-color:var(--accent); color:var(--text); box-shadow:0 0 18px rgba(189,24,240,.2); }
.btn-dark{ background:#050505; border-color:var(--accent-line); color:var(--text); }
.btn-dark:hover{ border-color:var(--accent); color:var(--text); box-shadow:0 0 18px rgba(189,24,240,.2); }
.btn-ghost{ color:var(--text-muted); }
.btn-ghost:hover{ color:var(--text); }
.btn-block{ width:100%; }
.btn[disabled], .btn.is-disabled{
  opacity:.45; pointer-events:none;
}
.btn-sm{ padding:10px 18px; font-size:13px; }

/* ---------- header ---------- */
.topbar{
  position:sticky; top:0; z-index:50;
  background:rgba(5,5,5,.88); backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
}
.topbar__row{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding:16px 0; }
.logo{ display:flex; align-items:center; gap:10px; }
.logo img{ width:142px; height:auto; filter:drop-shadow(0 0 18px rgba(189,24,240,.24)); }
.logo__mark{ display:none; }
.nav{ display:flex; gap:28px; }
.nav a{ font-size:14px; color:var(--text-muted); transition:color .15s; }
.nav a:hover{ color:var(--text); }
.topbar__actions{ display:flex; align-items:center; gap:14px; }
.icon-btn{
  width:42px; height:42px; border-radius:50%; border:1px solid var(--accent-line);
  display:flex; align-items:center; justify-content:center; color:#fff;
  background:rgba(189,24,240,.08);
  box-shadow:0 0 18px rgba(189,24,240,.16);
  transition:.2s;
}
.icon-btn:hover{ color:#fff; border-color:var(--accent); box-shadow:var(--glow); transform:translateY(-1px); }
.nav-toggle{ display:none; }
@media (max-width:900px){
  .nav{ display:none; }
  .nav-toggle{ display:flex; }
}

/* ---------- status badge ---------- */
.status{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 16px; border-radius:999px; font-size:13px; font-weight:600;
  border:1px solid var(--border); background:var(--surface);
}
.status::before{ content:""; width:8px; height:8px; border-radius:50%; }
.status--open::before{ background:var(--status-open); box-shadow:0 0 10px var(--status-open); }
.status--open{ color:var(--status-open); border-color:var(--accent-line); }
.status--soon::before{ background:var(--status-soon); box-shadow:0 0 10px var(--status-soon); }
.status--soon{ color:var(--status-soon); border-color:var(--accent-line); }
.status--closed::before{ background:var(--status-closed); }
.status--closed{ color:var(--status-closed); border-color:rgba(139,139,146,.35); }

/* ---------- cards ---------- */
.card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:32px;
}

/* ---------- footer ---------- */
.footer{ border-top:1px solid var(--border); padding:64px 0 32px; background:var(--bg-soft); }
.footer__grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; }
.footer__col h5{ font-family:"Proxima Nova",Arial,sans-serif; font-size:13px; letter-spacing:0; text-transform:uppercase; color:var(--text-muted); margin-bottom:16px; font-weight:700; }
.footer__col p, .footer__col a{ color:var(--text-muted); font-size:14px; display:block; margin-bottom:10px; }
.footer__col a:hover{ color:var(--accent); }
.footer__bottom{ margin-top:48px; padding-top:24px; border-top:1px solid var(--border); display:flex; justify-content:space-between; color:var(--text-muted); font-size:13px; flex-wrap:wrap; gap:12px; }
@media (max-width:760px){ .footer__grid{ grid-template-columns:1fr 1fr; } }

/* ---------- forms ---------- */
.field{
  width:100%; padding:15px 18px; border-radius:12px; border:1px solid var(--border);
  background:var(--surface-2); color:var(--text); font-size:15px; font-family:inherit;
}
.field:focus{ outline:none; border-color:var(--accent); }
.field::placeholder{ color:var(--text-muted); }

/* ---------- misc utilities ---------- */
.flex{ display:flex; }
.gap-sm{ gap:12px; }
.gap-md{ gap:20px; }
.wrap{ flex-wrap:wrap; }
.center{ align-items:center; }
.between{ justify-content:space-between; }
.section-head{ max-width:640px; margin-bottom:48px; }
.section-head h2{ margin-top:14px; }

.store-badges{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:28px;
}
.store-badge{
  min-width:226px;
  min-height:62px;
  padding:19px 28px;
  border-width:1.5px;
  border-color:rgba(189,24,240,.72);
  background:linear-gradient(180deg,rgba(189,24,240,.2),rgba(189,24,240,.08));
  box-shadow:0 0 0 1px rgba(189,24,240,.12) inset, 0 0 30px rgba(189,24,240,.22);
  font-size:19px;
  font-weight:700;
  letter-spacing:0;
}
.store-badge i{
  font-size:22px;
  color:var(--accent);
  filter:drop-shadow(0 0 10px rgba(189,24,240,.5));
}
.store-badge:hover{
  border-color:var(--accent);
  background:linear-gradient(180deg,rgba(189,24,240,.28),rgba(189,24,240,.12));
  box-shadow:0 0 30px rgba(189,24,240,.34), 0 0 62px rgba(189,24,240,.16);
  transform:translateY(-1px);
}

/* visible keyboard focus */
a:focus-visible, button:focus-visible, .btn:focus-visible{
  outline:2px solid var(--accent); outline-offset:3px;
}

/* ---------- pricing cards (shared: index + club pages) ---------- */
.pricing-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.price-card{
  position:relative; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:36px; display:flex; flex-direction:column; gap:18px;
}
.price-card--popular{ border-color:var(--accent); background:linear-gradient(160deg,var(--surface),var(--surface-2)); box-shadow:0 0 36px rgba(189,24,240,.13); }
.price-card__tag{
  position:absolute; top:-13px; left:36px; background:var(--accent); color:var(--accent-ink);
  font-size:12px; font-weight:800; padding:5px 14px; border-radius:999px; letter-spacing:.03em;
}
.price-card h3{ font-size:32px; }
.price-card__cost{ display:flex; align-items:baseline; gap:10px; }
.price-card__old{
  position:relative;
  display:inline-block;
  color:rgba(255,255,255,.9);
  text-decoration:none;
  font-family:"Proxima Nova",Arial,sans-serif;
  font-size:22px;
  font-weight:600;
}
.price-card__old::after{
  content:"";
  position:absolute;
  left:-4%;
  right:-4%;
  top:50%;
  height:2px;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  transform:rotate(-12deg);
  transform-origin:center;
  opacity:.86;
}
.price-card__now{ font-size:34px; font-weight:900; font-family:"Probert Digits","Proxima Nova",Arial,sans-serif; color:var(--accent); text-shadow:0 0 20px rgba(189,24,240,.4); }
.price-card__period{ color:var(--text-muted); font-size:13px; }
.price-card ul{ display:flex; flex-direction:column; gap:10px; }
.price-card li{ display:flex; gap:10px; font-size:14px; color:var(--text-muted); }
.price-card li::before{ content:"✓"; color:var(--accent); font-weight:700; }
.price-card__actions{
  display:grid;
  gap:12px;
  margin-top:auto;
}
.price-card__actions .btn{
  width:100%;
  justify-content:center;
}
.btn-app-download{
  background:#050505;
  color:var(--text);
  border:1px solid rgba(189,24,240,.62);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.02),0 0 16px rgba(189,24,240,.12);
}
.btn-app-download:hover{
  background:rgba(189,24,240,.12);
  border-color:var(--accent);
  box-shadow:0 0 22px rgba(189,24,240,.24);
}
@media (max-width:760px){ .pricing-grid{ grid-template-columns:1fr; } }

/* ---------- location-picker modal (used from the pricing block on the homepage) ---------- */
.modal-overlay{
  position:fixed; inset:0; background:rgba(6,6,7,.72); backdrop-filter:blur(4px);
  display:flex; align-items:center; justify-content:center; padding:24px; z-index:200;
  opacity:0; pointer-events:none; transition:opacity .2s ease;
}
.modal-overlay.is-open{ opacity:1; pointer-events:auto; }
.modal{
  width:100%; max-width:440px; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:32px; transform:translateY(12px); transition:transform .2s ease;
}
.modal-overlay.is-open .modal{ transform:translateY(0); }
.modal__head{ display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:22px; gap:12px;}
.modal__close{ background:none; border:none; color:var(--text-muted); font-size:22px; line-height:1; }
.modal__close:hover{ color:var(--text); }
.modal-club{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:16px 18px; border:1px solid var(--border); border-radius:var(--radius-md); margin-bottom:12px;
  transition:border-color .15s;
}
.modal-club:hover{ border-color:var(--accent); }
.modal-club__name{ font-weight:700; }
.modal-club__meta{ font-size:12px; color:var(--text-muted); margin-top:4px; }

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; }
}
/* ---------- opening form block from the landing page ---------- */
.boyarka{
  background:
    radial-gradient(circle at 82% 20%,rgba(189,24,240,.24),transparent 34%),
    linear-gradient(180deg,#050505,#0b0b0d);
  border-top:1px solid var(--accent-line);
  border-bottom:1px solid var(--border);
}
.boyarka-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);gap:42px;align-items:start;}
.boyarka-grid--copy-only{grid-template-columns:1fr;}
.boyarka-grid > *{min-width:0;}
.boyarka h2{font-size:clamp(34px,4.8vw,58px);}
.discount{display:inline-flex;align-items:flex-end;gap:14px;margin:22px 0 16px;}
.discount .value{
  font-size:72px;
  line-height:.9;
  color:var(--accent);
  font-family:"Probert Digits","Proxima Nova",Arial,sans-serif;
  font-weight:900;
  text-shadow:var(--glow);
}
.discount .label{max-width:150px;color:var(--text-muted);font-weight:600;line-height:1.28;}
.boyarka .lead{color:var(--text-muted);max-width:610px;font-size:17px;}
.route-panel{
  margin-top:24px;
  border:1px solid var(--accent-line);
  border-radius:8px;
  padding:20px;
  background:rgba(189,24,240,.08);
  box-shadow:0 0 34px rgba(189,24,240,.12);
}
.route-panel h3{font-size:22px;margin-bottom:10px;}
.route-panel p{margin:0 0 18px;color:var(--text-muted);}
.route-actions{display:flex;gap:10px;flex-wrap:wrap;}
.lead-form-panel{
  border:1px solid var(--border);
  border-radius:8px;
  padding:26px;
  background:rgba(5,5,5,.78);
  box-shadow:0 24px 70px rgba(0,0,0,.46);
  max-width:100%;
}
.lead-form-panel h3{font-size:25px;margin-bottom:8px;}
.lead-form-panel .sub{margin:0 0 18px;color:var(--text-muted);}
.field-group{margin-bottom:14px;}
.field-group label{display:block;color:var(--text-muted);font-size:13px;font-weight:700;margin-bottom:7px;text-transform:uppercase;}
.field-group input{
  width:100%;
  min-height:48px;
  border-radius:8px;
  border:1px solid var(--border);
  background:#0d0d10;
  color:var(--text);
  padding:12px 14px;
  outline:none;
}
.field-group input:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(189,24,240,.14);}
.form-note{color:var(--text-muted);font-size:12px;margin:12px 0 0;}
.form-success{display:none;text-align:center;padding:24px 0;}
.form-success.show{display:block;}
.ok-icon{font-size:42px;color:var(--accent);text-shadow:var(--glow);}

.manager-social{width:42px;height:42px;flex:0 0 42px;}
.trainer-services{
  display:grid;
  gap:8px;
  margin:16px 0 18px;
  padding:0;
  list-style:none;
}
.trainer-services li{
  display:flex;
  align-items:flex-start;
  gap:9px;
  color:var(--text-muted);
  font-size:14px;
  line-height:1.35;
}
.trainer-services i{
  color:var(--accent);
  margin-top:2px;
  filter:drop-shadow(0 0 8px rgba(189,24,240,.55));
}
#gallery,
.gallery-wrap,
.gallery-viewport{
  max-width:100%;
  overflow:hidden;
}

@media(max-width:900px){
  .boyarka-grid{grid-template-columns:1fr;}
}
@media(max-width:640px){
  html,body{width:100%;max-width:100%;overflow-x:hidden;}
  .container{padding:0 14px;}
  .boyarka,
  .boyarka-grid,
  .boyarka-grid > *,
  .lead-form-panel,
  .route-panel{width:100%;max-width:100%;overflow:hidden;}
  .boyarka-grid{gap:24px;}
  .boyarka h2{font-size:clamp(22.5px,6.85vw,30.5px);line-height:1.12;}
  .boyarka .lead,
  .route-panel p,
  .lead-form-panel .sub{font-size:clamp(14px,3.9vw,15.5px);line-height:1.5;}
  .discount{width:100%;align-items:center;gap:12px;flex-wrap:wrap;}
  .discount .value{font-size:clamp(48px,16vw,62px);}
  .discount .label{font-size:clamp(15px,4vw,16px);max-width:13ch;}
  .route-panel,
  .lead-form-panel{padding:20px;}
  .route-actions{display:grid;}
  .btn{width:100%;min-width:0;white-space:normal;text-align:center;line-height:1.15;padding-inline:14px;}
  .store-badges{display:grid;gap:12px;}
  .store-badge{min-width:0;min-height:58px;padding:17px 18px;font-size:17px;}
}
