/* ===== Fonts (self-hosted: no Google, no cookies) ===== */
/* Archivo — headlines */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* Inter — body text */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* =========================================================
   ACTIVE — Gym Centre
   Colors: red / black / white. Mood: professional, simple, modern.
   Edit the tokens below to change the whole site at once.
   ========================================================= */

:root {
  --red: #e10600;
  --red-dark: #b30500;
  --black: #0b0b0b;
  --ink: #161616;
  --grey-900: #1e1e1e;
  --grey-700: #3a3a3a;
  --grey-500: #7a7a7a;
  --grey-300: #cfcfcf;
  --grey-100: #f3f3f3;
  --white: #ffffff;

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 2px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);      /* smooth "ease-out-quint" */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.9s;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
}
p { margin: 0 0 1em; }
::selection { background: var(--red); color: var(--white); }

/* ---------- Page transition (fade between pages) ---------- */
.page-curtain {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 1000;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.7s var(--ease);
}
body.is-loaded .page-curtain { opacity: 0; }
body.is-leaving .page-curtain { opacity: 1; transition-duration: 0.45s; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--grey { background: var(--grey-100); }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: currentColor;
}
.h-xl { font-size: clamp(48px, 9vw, 128px); }
.h-lg { font-size: clamp(38px, 6vw, 80px); }
.h-md { font-size: clamp(30px, 4vw, 52px); }
.h-sm { font-size: clamp(22px, 2.2vw, 28px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--grey-700); max-width: 640px; }
.section--dark .lead { color: var(--grey-300); }
.text-red { color: var(--red); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head .lead { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 34px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1.5px solid var(--red);
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
  z-index: -1;
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { border-color: var(--black); }
.btn .arrow { transition: transform 0.5s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn--ghost::before { background: var(--white); }
.btn--ghost:hover { color: var(--black); border-color: var(--white); }

.btn--dark { background: var(--black); border-color: var(--black); }
.btn--dark::before { background: var(--red); }
.btn--dark:hover { border-color: var(--red); }

.section--dark .btn:hover::before,
.hero .btn:not(.btn--ghost):hover::before { background: var(--white); }
.section--dark .btn:not(.btn--ghost):hover,
.hero .btn:not(.btn--ghost):hover { color: var(--black); border-color: var(--white); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 6px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1.5px no-repeat;
  transition: background-size 0.6s var(--ease), color 0.4s var(--ease);
}
.link-arrow:hover { background-size: 0 1.5px; background-position: right bottom; color: var(--red); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: background-color 0.6s var(--ease), height 0.6s var(--ease),
              transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(11, 11, 11, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 68px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--font-head);
  font-weight: 900;
  font-stretch: 125%;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.logo span { color: var(--red); }

.main-nav ul { display: flex; gap: clamp(17px, 2.4vw, 38px); }
.main-nav a {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-sizing: border-box;
  padding: 12px 0;
  opacity: 0.85;
  transition: opacity 0.4s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.55s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { opacity: 1; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header-cta { padding: 13px 24px; font-size: 12px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  position: relative;
  z-index: 120;
}
.menu-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--white);
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease), top 0.5s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 26px; }
body.menu-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-in-out);
  visibility: hidden;
}
body.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu li {
  overflow: hidden;
}
.mobile-menu a {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-stretch: 112%;
  text-transform: uppercase;
  font-size: clamp(34px, 9vw, 54px);
  line-height: 1.15;
  transform: translateY(100%);
  transition: transform 0.7s var(--ease), color 0.3s;
}
.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: var(--red); }
body.menu-open .mobile-menu a { transform: translateY(0); }
body.menu-open .mobile-menu li:nth-child(2) a { transition-delay: 0.06s; }
body.menu-open .mobile-menu li:nth-child(3) a { transition-delay: 0.12s; }
body.menu-open .mobile-menu li:nth-child(4) a { transition-delay: 0.18s; }
body.menu-open .mobile-menu li:nth-child(5) a { transition-delay: 0.24s; }
body.menu-open .mobile-menu li:nth-child(6) a { transition-delay: 0.30s; }
.mobile-menu .mobile-meta {
  margin-top: 48px;
  color: var(--grey-500);
  font-size: 15px;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.35s;
}
body.menu-open .mobile-menu .mobile-meta { opacity: 1; }
body.menu-open { overflow: hidden; }

/* Pages with a light top (no hero image) get a dark header from the start */
body.header-solid .site-header { background: var(--black); }

/* ---------- Photo slots (real photos only) ----------
   Each .media box shows a labelled placeholder until you put a
   photo with the matching file name into the /images folder. */
.media {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 14px, transparent 14px 28px),
    var(--grey-900);
}
.media::after {
  content: "PHOTO — " attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  pointer-events: none;
}
.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 1.4s var(--ease), opacity 0.8s var(--ease);
}
.media img.is-missing { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--black);
  overflow: hidden;
}
.hero .media {
  position: absolute;
  inset: 0;
}
.hero .media img {
  transform: scale(1.12);
  transition: transform 2.6s var(--ease);
}
body.is-loaded .hero .media img { transform: scale(1); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 30%),
    linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.1) 100%);
}
.hero .container {
  position: relative;
  z-index: 3;
  padding-bottom: clamp(56px, 9vh, 110px);
  padding-top: calc(var(--header-h) + 40px);
}
.hero .h-xl { max-width: 11ch; }
.hero .lead { color: rgba(255,255,255,0.82); margin: 28px 0 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(56px, 9vh, 110px);
  z-index: 3;
  writing-mode: vertical-rl;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-scroll::after {
  content: "";
  width: 1.5px;
  height: 64px;
  background: linear-gradient(var(--white), transparent);
  animation: scrollLine 2.4s var(--ease-in-out) infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* Smaller hero for inner pages */
.page-hero { min-height: 72vh; min-height: 72svh; }
.page-hero .h-xl { font-size: clamp(44px, 8vw, 110px); max-width: 14ch; }

/* Hero entrance (line-by-line rise) */
.rise { display: block; overflow: hidden; }
.rise > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.2s var(--ease);
}
body.is-loaded .rise > span { transform: translateY(0); }
body.is-loaded .rise:nth-child(2) > span { transition-delay: 0.1s; }
body.is-loaded .rise:nth-child(3) > span { transition-delay: 0.2s; }
.hero-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.1s var(--ease) 0.45s, transform 1.1s var(--ease) 0.45s;
}
body.is-loaded .hero-fade { opacity: 1; transform: none; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-img { clip-path: inset(12% 0 0 0); transition: clip-path 1.4s var(--ease); }
.reveal-img img { transform: scale(1.15); transition: transform 1.8s var(--ease); }
.reveal-img.is-visible { clip-path: inset(0 0 0 0); }
.reveal-img.is-visible img { transform: scale(1); }

/* ---------- Intro statement ---------- */
.statement {
  font-family: var(--font-head);
  font-weight: 700;
  font-stretch: 105%;
  text-transform: none;
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  max-width: 22ch;
}
.statement em { font-style: normal; color: var(--red); }
.split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: end;
}

/* ---------- Offer cards (tall photo tiles) ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
}
.tile {
  position: relative;
  display: block;
  color: var(--white);
  overflow: hidden;
  aspect-ratio: 2 / 3;
}
.tile .media { position: absolute; inset: 0; }
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 60%);
  transition: background-color 0.8s var(--ease);
}
.tile-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: clamp(22px, 2.6vw, 36px);
}
.tile-body h3 { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 12px; }
.tile-body p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.8s var(--ease), opacity 0.6s var(--ease), margin 0.8s var(--ease);
  margin: 0;
}
.tile-body .link-arrow { margin-top: 14px; }
.tile:hover .media img { transform: scale(1.06); }
.tile:hover::before { background-color: rgba(225, 6, 0, 0.18); }
.tile:hover .tile-body p { max-height: 120px; opacity: 1; margin-bottom: 4px; }
.tile-num {
  position: absolute;
  top: 24px; left: clamp(22px, 2.6vw, 36px);
  z-index: 3;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.75);
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.stat {
  padding: 40px 24px 0 0;
}
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,0.14); }
.stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1;
  color: var(--white);
}
.stat-num .text-red { font-size: 0.6em; vertical-align: top; }
.stat-label {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-500);
}

/* ---------- Feature row (image + text) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.feature--reverse .feature-media { order: 2; }
.feature-media { aspect-ratio: 4 / 5; }
.feature-text .h-md { margin-bottom: 26px; }
.check-list { margin: 28px 0 36px; }
.check-list li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--grey-300);
}
.section--dark .check-list li { border-color: rgba(255,255,255,0.14); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 16px; height: 2px;
  background: var(--red);
}

/* ---------- Pricing ---------- */
.billing-toggle {
  display: inline-flex;
  position: relative;
  padding: 5px;
  border: 1px solid var(--grey-300);
  border-radius: 999px;
  background: var(--white);
}
.billing-toggle button {
  position: relative;
  z-index: 1;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: none;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  transition: color 0.5s var(--ease);
}
.billing-toggle button.is-active { color: var(--white); }
.billing-toggle .pill {
  position: absolute;
  top: 5px; bottom: 5px; left: 5px;
  border-radius: 999px;
  background: var(--black);
  transition: transform 0.6s var(--ease), width 0.6s var(--ease);
}
.save-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 10px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  letter-spacing: 0.08em;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
  margin-top: 48px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3vw, 44px);
  background: var(--white);
  border: 1px solid var(--grey-300);
  transition: transform 0.7s var(--ease), box-shadow 0.7s var(--ease), border-color 0.7s var(--ease);
}
.plan:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.35);
  border-color: var(--black);
}
.plan--featured { background: var(--black); color: var(--white); border-color: var(--black); }
.plan--featured:hover { border-color: var(--red); }
.plan-tag {
  position: absolute;
  top: 0; right: clamp(30px, 3vw, 44px);
  transform: translateY(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
}
.plan h3 { font-size: 26px; margin-bottom: 10px; }
.plan-desc { font-size: 15px; color: var(--grey-500); min-height: 3.2em; }
.plan--featured .plan-desc { color: var(--grey-300); }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 18px 0 6px;
  font-family: var(--font-head);
  font-weight: 800;
  font-stretch: 112%;
}
.plan-price .amount {
  font-size: clamp(52px, 5vw, 68px);
  line-height: 1;
  display: inline-block;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.plan-price .amount.is-switching { opacity: 0; transform: translateY(-10px); }
.plan-price .currency { font-size: 26px; }
.plan-price .period { font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--grey-500); }
.plan-note { font-size: 13px; color: var(--grey-500); min-height: 1.6em; }
.plan .check-list { flex: 1; margin: 24px 0 32px; }
.plan .check-list li { font-size: 15px; padding: 11px 0 11px 30px; }
.plan--featured .check-list li { border-color: rgba(255,255,255,0.14); }
.plan .btn { justify-content: center; }

/* Comparison table */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
}
.compare th, .compare td {
  padding: 18px 16px;
  text-align: center;
  border-bottom: 1px solid var(--grey-300);
}
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th {
  font-family: var(--font-head);
  font-stretch: 112%;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--black);
}
.compare tbody tr { transition: background-color 0.4s var(--ease); }
.compare tbody tr:hover { background: var(--grey-100); }
.yes { color: var(--red); font-weight: 700; }
.no { color: var(--grey-300); }

/* ---------- Steps (how to join) ---------- */
.steps { counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: clamp(20px, 4vw, 60px);
  padding: clamp(36px, 4vw, 56px) 0;
  border-top: 1px solid var(--grey-300);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--grey-300); }
.step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(56px, 6vw, 88px);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--black);
  transition: color 0.8s var(--ease), -webkit-text-stroke-color 0.8s var(--ease);
}
.step:hover .step-num { color: var(--red); -webkit-text-stroke-color: var(--red); }
.step h3 { font-size: clamp(24px, 2.4vw, 32px); }
.step p { color: var(--grey-700); margin: 0; }
.step .step-detail { font-size: 15px; }
.step .step-detail li {
  padding: 6px 0 6px 22px;
  position: relative;
}
.step .step-detail li::before {
  content: "";
  position: absolute;
  left: 0; top: 17px;
  width: 10px; height: 2px;
  background: var(--red);
}

/* Bring-with-you cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}
.info-card {
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid rgba(255,255,255,0.14);
  transition: border-color 0.6s var(--ease), background-color 0.6s var(--ease);
}
.info-card:hover { border-color: var(--red); background: rgba(225,6,0,0.06); }
.info-card .icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1.5px solid var(--red);
  color: var(--red);
  margin-bottom: 24px;
}
.info-card h3 { font-size: 21px; margin-bottom: 12px; }
.info-card p { color: var(--grey-300); font-size: 15px; margin: 0; }
.section:not(.section--dark) .info-card { border-color: var(--grey-300); }
.section:not(.section--dark) .info-card p { color: var(--grey-700); }

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--grey-300); }
.section--dark .faq, .section--dark .faq-item { border-color: rgba(255,255,255,0.14); }
.faq-item { border-bottom: 1px solid var(--grey-300); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-stretch: 105%;
  font-size: clamp(18px, 1.8vw, 23px);
  transition: color 0.4s var(--ease);
}
.faq-q:hover { color: var(--red); }
.faq-icon {
  position: relative;
  flex: 0 0 22px;
  width: 22px; height: 22px;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  background: currentColor;
  transition: transform 0.6s var(--ease);
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon::after { transform: rotate(0deg); }
.faq-item.is-open .faq-q { color: var(--red); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.7s var(--ease);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding-bottom: 28px;
  max-width: 760px;
  color: var(--grey-700);
  margin: 0;
}
.section--dark .faq-a p { color: var(--grey-300); }

/* ---------- Classes / schedule ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
  padding: 11px 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--grey-300);
  background: transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.filter-btn:hover { border-color: var(--black); }
.filter-btn.is-active { background: var(--black); color: var(--white); border-color: var(--black); }

.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}
.class-card {
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.class-card.is-hidden { display: none; }
.class-card.is-fading { opacity: 0; transform: scale(0.97); }
.class-card .media { aspect-ratio: 4 / 3; margin-bottom: 22px; }
.class-card:hover .media img { transform: scale(1.05); }
.class-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.class-meta span + span { color: var(--grey-500); }
.class-card h3 { font-size: 24px; margin-bottom: 10px; }
.class-card p { color: var(--grey-700); font-size: 15px; }

.schedule-tabs { display: flex; gap: 4px; overflow-x: auto; margin-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.schedule-tabs button {
  position: relative;
  padding: 16px 22px;
  background: none;
  border: 0;
  color: var(--grey-500);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.4s var(--ease);
}
.schedule-tabs button::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease);
}
.schedule-tabs button.is-active { color: var(--white); }
.schedule-tabs button.is-active::after { transform: scaleX(1); }
.schedule-panel { display: none; }
.schedule-panel.is-active { display: block; animation: panelIn 0.7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.schedule-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr 120px;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: center;
  transition: background-color 0.4s var(--ease), padding 0.4s var(--ease);
}
.schedule-row:hover { background: rgba(255,255,255,0.03); padding-left: 12px; }
.schedule-row .time { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.schedule-row .cls { font-weight: 600; }
.schedule-row .coach { color: var(--grey-500); }
.schedule-row .level { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); text-align: right; }

/* ---------- Testimonial ---------- */
.quote {
  font-family: var(--font-head);
  font-weight: 700;
  font-stretch: 105%;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.2;
  max-width: 24ch;
  margin: 0 0 32px;
}
.quote-author { font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-500); }
.quote-author strong { color: var(--white); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--red);
  color: var(--white);
  overflow: hidden;
}
.cta-band .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band .btn { background: var(--black); border-color: var(--black); }
.cta-band .btn::before { background: var(--white); }
.cta-band .btn:hover { color: var(--black); border-color: var(--white); }
.cta-band::after {
  content: "ACTIVE";
  position: absolute;
  right: -2vw;
  bottom: -0.22em;
  font-family: var(--font-head);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(120px, 22vw, 320px);
  line-height: 1;
  color: rgba(0,0,0,0.08);
  pointer-events: none;
}
.cta-band > .container { position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 7vw, 110px);
}
.contact-block { padding: 26px 0; border-top: 1px solid var(--grey-300); }
.contact-block:last-child { border-bottom: 1px solid var(--grey-300); }
.contact-block h3 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 10px;
}
.contact-block p, .contact-block a { font-size: 19px; margin: 0; }
.contact-block a { transition: color 0.4s var(--ease); }
.contact-block a:hover { color: var(--red); }
.hours { width: 100%; font-size: 16px; border-collapse: collapse; }
.hours td { padding: 5px 0; }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.is-today td { color: var(--red); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { position: relative; margin-bottom: 28px; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 26px 0 10px;
  border: 0;
  border-bottom: 1.5px solid var(--grey-300);
  background: transparent;
  outline: none;
  font-size: 17px;
  border-radius: 0;
  transition: border-color 0.5s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select { cursor: pointer; }
.field textarea { resize: vertical; min-height: 130px; }
.field label {
  position: absolute;
  left: 0; top: 26px;
  font-size: 17px;
  color: var(--grey-500);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.5s var(--ease), color 0.5s var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select + label {
  transform: translateY(-24px) scale(0.72);
  color: var(--red);
}
.field::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.field:focus-within::after { transform: scaleX(1); }
.field textarea { margin-bottom: -6px; }
.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--grey-700);
  margin-bottom: 32px;
  cursor: pointer;
}
.checkbox input { margin-top: 4px; accent-color: var(--red); width: 16px; height: 16px; }
.form-status {
  margin-top: 20px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.form-status.is-shown { opacity: 1; transform: none; }

.map-wrap {
  position: relative;
  aspect-ratio: 21 / 9;
  background: var(--grey-900);
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.8s var(--ease);
}
.map-wrap:hover { filter: grayscale(0); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: var(--grey-300);
  padding: clamp(70px, 9vw, 120px) 0 36px;
  font-size: 15px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-top .logo { color: var(--white); margin-bottom: 18px; }
.footer-top h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-top li { margin-bottom: 10px; }
.footer-top a { transition: color 0.4s var(--ease); }
.footer-top a:hover { color: var(--red); }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.2);
  transition: background-color 0.5s var(--ease), border-color 0.5s var(--ease);
}
.socials a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-size: 13px;
  color: var(--grey-500);
}
.footer-credit { white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .step { grid-template-columns: 100px 1fr; }
  .step > :last-child { grid-column: 2; }
}
@media (max-width: 860px) {
  .split, .feature, .contact-grid { grid-template-columns: 1fr; }
  .feature--reverse .feature-media { order: 0; }
  .tiles, .class-grid, .cards-3 { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 4 / 5; }
  .tile-body p { max-height: 120px; opacity: 1; margin-bottom: 4px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 32px; }
  .schedule-row { grid-template-columns: 90px 1fr; gap: 4px 16px; }
  .schedule-row .coach { grid-column: 2; }
  .schedule-row .level { grid-column: 2; text-align: left; }
  .hero-scroll { display: none; }
  .map-wrap { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .step > :last-child { grid-column: 1; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  html { scroll-behavior: auto; }
}

/* =========================================================
   v2 additions: language switch, app page, store buttons,
   open/closed status
   ========================================================= */

/* ---------- Header right side + language switch ---------- */
.header-right { display: flex; align-items: center; gap: 22px; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.lang-switch span { opacity: 0.35; }
.lang-switch a {
  opacity: 0.55;
  padding: 4px 2px;
  transition: opacity 0.4s var(--ease), color 0.4s var(--ease);
}
.lang-switch a:hover { opacity: 1; }
.lang-switch a.is-active { opacity: 1; color: var(--red); }
.lang-switch--big { font-size: 18px; gap: 10px; margin-bottom: 18px; color: var(--white); }
@media (max-width: 1080px) {
  .site-header .lang-switch:not(.lang-switch--big) { display: inline-flex; }
}

/* ---------- Store buttons ---------- */
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px;}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 182px;
  padding: 11px 22px 11px 18px;
  background: var(--black);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.22);
  border-radius: 10px;
  line-height: 1.1;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
.feature-text .store-buttons {margin-top: 40px;}
.feature-text .store-btn {
  min-width: 220px;            /* button width */
  padding: 16px 28px 16px 22px;  /* space inside: top right bottom left */
  font-size: 23px;             /* "App Store" / "Google Play" */
  gap: 14px;                   /* space between icon and text */
  border-radius: 12px;
}
.feature-text .store-btn small {
  font-size: 12.5px;           /* "Stiahnuť v" / "Získať na" */
}
.feature-text .store-btn svg {
  width: 28px;                 /* icon size */
  height: 28px;
}

.store-btn small {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.8;
  margin-bottom: 2px;
}
.store-btn:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: 0 18px 40px -18px rgba(225,6,0,0.6);
}
.section--grey .store-btn, .section:not(.section--dark) .store-btn { border-color: var(--black); }
.cta-band .store-btn { border-color: var(--black); }
.cta-band .store-btn:hover { border-color: var(--white); box-shadow: 0 18px 40px -18px rgba(0,0,0,0.6); }

/* ---------- App hero with phone mockups ---------- */
.app-hero { align-items: center; }
.app-hero::before {
  background:
    radial-gradient(ellipse 60% 70% at 78% 55%, rgba(225,6,0,0.28), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,0.4), transparent 30%);
}
.app-hero .container { padding-bottom: clamp(56px, 9vh, 100px); }
.app-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.app-hero .h-xl { font-size: clamp(40px, 5.2vw, 80px); max-width: none; }
.app-hero .lead { margin: 28px 0 36px; }

.phones {
  position: relative;
  height: clamp(460px, 58vw, 640px);
}
.phone {
  position: absolute;
  width: clamp(200px, 21vw, 290px);
  aspect-ratio: 9 / 19.5;
  padding: 10px;
  border-radius: 42px;
  background: #1b1b1b;
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,0.14),
    0 40px 80px -30px rgba(0,0,0,0.9);
}
.phone::before {               /* camera notch */
  content: "";
  position: absolute;
  top: 18px; left: 50%;
  width: 30%; height: 22px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: #050505;
  z-index: 3;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 33px;
  overflow: hidden;
}
.phone-screen.media::after { font-size: 9px; }
.phone--front {
  left: 8%;
  top: 4%;
  z-index: 2;
  animation: float 7s var(--ease-in-out) infinite;
}
.phone--back {
  right: 4%;
  top: 14%;
  transform: rotate(6deg);
  opacity: 0.85;
  animation: float2 8s var(--ease-in-out) infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes float2 { 0%,100% { transform: rotate(6deg) translateY(0); } 50% { transform: rotate(6deg) translateY(12px); } }

/* Six feature cards on the app page */
.cards-3--wrap { row-gap: clamp(14px, 1.6vw, 24px); }

/* Entry steps */
.entry-steps {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  counter-reset: entry;
}
.entry-steps li {
  counter-increment: entry;
  position: relative;
  padding: 22px 0 22px 72px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.entry-steps li:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }
.entry-steps li::before {
  content: "0" counter(entry);
  position: absolute;
  left: 0; top: 18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-stretch: 112%;
  font-size: 34px;
  line-height: 1;
  color: var(--red);
}
.entry-steps strong {
  display: block;
  font-family: var(--font-head);
  font-stretch: 105%;
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.entry-steps span { color: var(--grey-300); font-size: 15px; }

/* ---------- Open / closed status ---------- */
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 6px;
}
.open-status:empty { display: none; }
.open-status::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grey-500);
}
.open-status.is-open { color: #1fa855; }
.open-status.is-open::before { background: #1fa855; animation: pulse 2s ease-out infinite; }
.open-status.is-closed { color: var(--grey-500); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31,168,85,0.55); }
  100% { box-shadow: 0 0 0 9px rgba(31,168,85,0); }
}

.notice {
  margin-top: 24px;
  padding: 16px 20px;
  border-left: 3px solid var(--red);
  background: var(--grey-100);
  font-size: 15px;
}

@media (max-width: 860px) {
  .app-hero-grid { grid-template-columns: 1fr; }
  .phones { height: 480px; max-width: 420px; }
  .phone { width: 210px; }
}
@media (max-width: 560px) {
  .header-right { gap: 12px; }
  .store-btn { min-width: 0; flex: 1 1 160px; }
  .entry-steps li { padding-left: 58px; }
}

/* Home hero: logo on the right half, text on the left (logo is never cropped) */
.hero--split { align-items: center; }
.hero--split::before { display: none; }          /* no dark layer over the logo */
.hero--split .media {
  left: auto; right: 0; width: 50%;              /* right half of the screen */
background: none;}
.hero--split .media::after { display: none; }    /* removes the "PHOTO" label */
.hero--split .media img {
  object-fit: contain;                           /* shows the WHOLE logo, no cropping */
  padding: calc(var(--header-h) + 40px) var(--gutter) 50px;  /* space around the logo */
}
.hero--split .container > * { max-width: min(520px, 40vw); }  /* text stays on the left */
.hero--split .h-xl { font-size: clamp(44px, 6vw, 96px); }
.hero--split .hero-scroll { display: none; }

/* Phones: logo on top, text below */
@media (max-width: 860px) {
  .hero--split { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero--split .media { position: relative; width: 100%; height: 45vh; }
  .hero--split .media img { padding: calc(var(--header-h) + 10px) var(--gutter) 10px; }
  .hero--split .container { padding-top: 24px; }
  .hero--split .container > * { max-width: none; }
}

/* Hero buttons next to each other */
.hero--split .container > .hero-actions { max-width: none; flex-wrap: nowrap; }
.hero--split .hero-actions .btn { padding: 16px 22px; white-space: nowrap; }

/* Medium screens (small laptops, tablets sideways): slightly smaller buttons */
@media (min-width: 861px) and (max-width: 1100px) {
  .hero--split .media { width: 44%; }
  .hero--split .hero-actions { gap: 10px; }
  .hero--split .hero-actions .btn { padding: 14px 16px; font-size: 12px; }
}

/* Phones: buttons stay one under the other (too narrow side by side) */
@media (max-width: 560px) {
  .hero--split .container > .hero-actions { flex-wrap: wrap; }
}

/* ===== White first screen on the home page (for a dark logo) ===== */

/* 1. White background, dark text */
.hero--split { background: var(--white); color: var(--black); }
.hero--split .lead { color: var(--grey-700); }

/* 3. Buttons that work on white */
.hero--split .btn--ghost { color: var(--black); border-color: var(--black); }
.hero--split .btn--ghost::before { background: var(--black); }
.hero--split .btn--ghost:hover { color: var(--white); border-color: var(--black); }
.hero--split .btn:not(.btn--ghost):hover::before { background: var(--black); }
.hero--split .btn:not(.btn--ghost):hover { color: var(--white); border-color: var(--black); }

/* 4. Dark menu text while the header sits on the white area
      (turns black with white text again once you scroll down) */
.home-light .site-header:not(.is-scrolled) { color: var(--black); }
.home-light .site-header:not(.is-scrolled) .menu-toggle span { background: var(--black); }
.home-light.menu-open .site-header .menu-toggle span { background: var(--white); }
.home-light.menu-open .site-header { color: var(--white); }

/* Fix: keep the menu's close (X) button visible when the phone menu is open */
.mobile-menu { z-index: 90; }

/* Inner pages: keep the striped background, hide the "PHOTO — ..." text */
.page-hero .media::after { display: none; }

  /* ===== App page: 4 feature cards ===== */
  .app-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(12px, 1.4vw, 20px);
  }
  .app-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(26px, 2.4vw, 36px);
    min-height: 320px;
    background: var(--white);
    border: 1px solid var(--grey-300);
    overflow: hidden;
    transition: transform .7s var(--ease), border-color .7s var(--ease), box-shadow .7s var(--ease);
  }
  .app-feature::before {
    content: "";
    position: absolute; left: 0; top: 0; right: 0; height: 3px;
    background: var(--red);
    transform: scaleX(0); transform-origin: left;
    transition: transform .7s var(--ease);
  }
  .app-feature:hover {
    transform: translateY(-6px);
    border-color: var(--black);
    box-shadow: 0 30px 60px -35px rgba(0,0,0,.35);
  }
  .app-feature:hover::before { transform: scaleX(1); }
  .app-feature-num {
    position: absolute; top: clamp(22px, 2vw, 30px); right: clamp(22px, 2vw, 30px);
    font-family: var(--font-head); font-weight: 800; font-stretch: 112%;
    font-size: 15px; letter-spacing: .08em; color: var(--grey-300);
  }
  .app-feature-icon {
    width: 52px; height: 52px;
    display: grid; place-items: center;
    background: rgba(225, 6, 0, .08);
    color: var(--red);
    margin-bottom: auto;
    transition: background-color .6s var(--ease), color .6s var(--ease);
  }
  .app-feature:hover .app-feature-icon { background: var(--red); color: var(--white); }
  .app-feature h3 {
    font-size: clamp(19px, 1.5vw, 22px);
    line-height: 1.15;
    margin: 48px 0 12px;
  }
  .app-feature p { font-size: 15px; color: var(--grey-700); margin: 0; }

  .app-feature--dark { background: var(--black); color: var(--white); border-color: var(--black); }
  .app-feature--dark p { color: var(--grey-300); }
  .app-feature--dark .app-feature-num { color: var(--grey-700); }
  .app-feature--dark .app-feature-icon { background: var(--red); color: var(--white); }
  .app-feature--dark:hover { border-color: var(--red); }

  @media (max-width: 1080px) { .app-features { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) {
    .app-features { grid-template-columns: 1fr; }
    .app-feature { min-height: 0; }
    .app-feature h3 { margin-top: 28px; }
  }
  /* Upozornenie na kamerový systém pod pravidlami */
  .notice--camera {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 32px;
    font-weight: 500;
  }
  .notice--camera svg { flex: 0 0 auto; color: var(--red); }
  /* ===== Kontakt (only this page) ===== */
  .ct-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 20px); }
  .ct-action {
    position: relative; display: flex; flex-direction: column;
    min-height: 300px; padding: clamp(28px, 2.6vw, 40px);
    background: var(--white); border: 1px solid var(--grey-300); color: var(--ink);
    overflow: hidden;
    transition: transform .7s var(--ease), border-color .7s var(--ease), box-shadow .7s var(--ease), background-color .7s var(--ease);
  }
  .ct-action:hover { transform: translateY(-6px); border-color: var(--black); box-shadow: 0 30px 60px -35px rgba(0,0,0,.35); }
  .ct-icon {
    width: 56px; height: 56px; display: grid; place-items: center;
    background: rgba(225,6,0,.08); color: var(--red); margin-bottom: auto;
    transition: background-color .6s var(--ease), color .6s var(--ease);
  }
  .ct-action:hover .ct-icon { background: var(--red); color: var(--white); }
  .ct-go {
    position: absolute; top: clamp(28px, 2.6vw, 40px); right: clamp(28px, 2.6vw, 40px);
    width: 44px; height: 44px; display: grid; place-items: center;
    border: 1px solid var(--grey-300); border-radius: 50%;
    transform: rotate(-45deg);
    transition: transform .6s var(--ease), border-color .6s var(--ease), background-color .6s var(--ease), color .6s var(--ease);
  }
  .ct-action:hover .ct-go { transform: rotate(0deg); background: var(--black); border-color: var(--black); color: var(--white); }
  .ct-label {
    margin: 48px 0 10px; font-size: 12px; font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase; color: var(--grey-500);
  }
  .ct-value {
    font-family: var(--font-head); font-weight: 800; font-stretch: 112%;
    font-size: clamp(22px, 2vw, 28px); line-height: 1.1; overflow-wrap: anywhere;
  }
  .ct-text { margin-top: 12px; font-size: 15px; color: var(--grey-700); }

  .ct-action--wa { background: var(--red); border-color: var(--red); color: var(--white); }
  .ct-action--wa:hover { background: var(--red-dark); border-color: var(--red-dark); }
  .ct-action--wa .ct-icon, .ct-action--wa:hover .ct-icon { background: var(--white); color: var(--red); }
  .ct-action--wa .ct-label, .ct-action--wa .ct-text { color: rgba(255,255,255,.82); }
  .ct-action--wa .ct-go { border-color: rgba(255,255,255,.5); }
  .ct-action--wa:hover .ct-go { background: var(--white); border-color: var(--white); color: var(--red); }


  /* Telefón a e-mail: bez odkazu, bez efektu pri prejdení myšou */
  .ct-action--static:hover { transform: none; border-color: var(--grey-300); box-shadow: none; }
  .ct-action--static:hover .ct-icon { background: rgba(225,6,0,.08); color: var(--red); }
  /* E-mail vždy v jednom riadku: veľkosť písma sa prispôsobí šírke karty */
  .ct-action { container-type: inline-size; }
  .ct-value--email {
    font-family: var(--font-body); font-weight: 600; font-stretch: normal;
    font-size: min(24px, 6.2cqi);
    white-space: nowrap; overflow-wrap: normal; letter-spacing: -0.01em;
  }

  .ct-place-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(12px, 1.4vw, 20px); align-items: stretch; }
  .ct-card { background: var(--white); border: 1px solid var(--grey-300); padding: clamp(30px, 3.6vw, 56px); }
  .ct-logo { display: block; height: 56px; width: auto; max-width: 220px; object-fit: contain; margin-bottom: 36px; }
  .ct-address {
    font-family: var(--font-head); font-weight: 800; font-stretch: 112%;
    text-transform: uppercase; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.02; margin: 0 0 28px;
  }
  .ct-place .notice { margin: 0 0 36px; }
  .ct-place-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }

  .ct-hours { background: var(--black); color: var(--white); padding: clamp(30px, 3.6vw, 56px); }
  .ct-hours h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 22px; margin-bottom: 24px; }
  .ct-hours .open-status { margin-left: 0; font-family: var(--font-body); }
  .ct-hours .hours td { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .ct-hours .hours tr:last-child td { border-bottom: 0; }
  .ct-hours .hours td:first-child { color: var(--grey-300); }
  .ct-hours .hours tr.is-today td { color: var(--red); }
  .ct-tip { margin: 28px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); font-size: 15px; color: var(--grey-300); line-height: 1.7; }
  .ct-tip strong { color: var(--white); font-weight: 600; }
  .ct-tip .link-arrow { margin-top: 14px; color: var(--white); }

  @media (max-width: 1080px) { .ct-actions { grid-template-columns: 1fr 1fr; } .ct-action--wa { grid-column: 1 / -1; } }
  @media (max-width: 860px) { .ct-place-grid { grid-template-columns: 1fr; } }
  @media (max-width: 560px) {
    .ct-actions { grid-template-columns: 1fr; }
    .ct-action { min-height: 0; }
    .ct-label { margin-top: 32px; }
  }
  /* ===== Occupancy section (only on this page) ===== */
  .occ-low  { --c: #f3a6a3; }
  .occ-mid  { --c: #ea5f59; }
  .occ-high { --c: #b80500; }
  .occ-panel {
    background: #fff;
    border: 1px solid var(--grey-300);
    padding: clamp(22px, 3vw, 40px);
  }
  .occ-top {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
    gap: 12px 24px; margin-bottom: 28px;
  }
  .occ-now {
    display: inline-flex; align-items: center; gap: 10px; margin: 0;
    font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  }
  .occ-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grey-500); }
  .occ-now.is-low .occ-dot  { background: #f3a6a3; box-shadow: 0 0 0 4px rgba(243,166,163,.35); }
  .occ-now.is-mid .occ-dot  { background: #ea5f59; box-shadow: 0 0 0 4px rgba(234,95,89,.25); }
  .occ-now.is-high .occ-dot { background: #b80500; box-shadow: 0 0 0 4px rgba(184,5,0,.2); }
  .occ-readout { margin: 0; font-size: 15px; color: var(--grey-700); min-height: 1.6em; }

  .occ-chart {
    display: grid; grid-template-columns: repeat(16, 1fr); gap: 2px;
    align-items: end; height: clamp(180px, 24vw, 280px);
    border-bottom: 1px solid var(--grey-300);
  }
  .occ-bar {
    position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
    background: var(--c); border-radius: 4px 4px 0 0;
    transform: scaleY(0); transform-origin: bottom;
    transition: transform 1s var(--ease) calc(var(--i) * 40ms), filter .3s, box-shadow .3s;
  }
  .occ-bar.occ-low  { height: 32%; }
  .occ-bar.occ-mid  { height: 64%; }
  .occ-bar.occ-high { height: 100%; }
  .occ-panel.is-visible .occ-bar { transform: scaleY(1); }
  .occ-bar:hover, .occ-bar:focus-visible { filter: brightness(.88); outline: none; }
  .occ-bar.is-now { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--black); }
  .occ-bar.is-now::before {
    content: attr(data-hour) ":00";
    position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%);
    font-size: 11px; font-weight: 700; color: var(--black); white-space: nowrap;
  }
  html[lang="sk"] .occ-bar.is-now::before { content: "Teraz"; }
  html[lang="en"] .occ-bar.is-now::before { content: "Now"; }

  .occ-hours {
    display: grid; grid-template-columns: repeat(16, 1fr); gap: 2px;
    margin-top: 8px; font-size: 12px; color: var(--grey-500); text-align: center;
  }
  .occ-legend {
    display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px;
    font-size: 14px; color: var(--grey-700);
  }
  .occ-legend li, .occ-tag { display: inline-flex; align-items: center; gap: 8px; }
  .sw { width: 14px; height: 14px; border-radius: 3px; background: var(--c); display: inline-block; }

  .occ-cards {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(14px, 1.6vw, 24px);
  }
  .occ-card {
    background: #fff; border: 1px solid var(--grey-300);
    padding: clamp(24px, 2.6vw, 36px);
    transition: border-color .6s var(--ease), transform .6s var(--ease);
  }
  .occ-card:hover { border-color: var(--black); transform: translateY(-4px); }
  .occ-card--low { background: var(--black); color: #fff; border-color: var(--black); }
  .occ-card--low:hover { border-color: var(--red); }
  .occ-tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-500); }
  .occ-card--low .occ-tag { color: var(--grey-300); }
  .occ-time {
    font-family: var(--font-head); font-weight: 800; font-stretch: 112%;
    font-size: clamp(24px, 2.6vw, 28px); line-height: 1.1; margin: 18px 0 18px;
  }
  .occ-card h3 { font-size: 20px; margin-bottom: 10px; }
  .occ-card p:last-child { font-size: 15px; color: var(--grey-700); margin: 0; }
  .occ-card--low p:last-child { color: var(--grey-300); }
  .occ-note { margin-top: 20px; font-size: 13px; color: var(--grey-500); }

  @media (max-width: 860px) { .occ-cards { grid-template-columns: 1fr; } }
  @media (max-width: 560px) {
    .occ-hours .odd { visibility: hidden; }
    .occ-chart, .occ-hours { gap: 1px; }
  }
  @media (prefers-reduced-motion: reduce) { .occ-bar { transform: none; } }

  /* Pulzujúca bodka pri "Práve teraz" (rovnako ako pri "Teraz otvorené") */
  .occ-now.is-low  .occ-dot { --pulse: 243, 166, 163; }
  .occ-now.is-mid  .occ-dot { --pulse: 234, 95, 89; }
  .occ-now.is-high .occ-dot { --pulse: 184, 5, 0; }
  .occ-now.is-low .occ-dot,
  .occ-now.is-mid .occ-dot,
  .occ-now.is-high .occ-dot {
    box-shadow: 0 0 0 0 rgba(var(--pulse), 0.6);
    animation: occPulse 1.5s ease-out infinite;
  }
  @keyframes occPulse {
    0%   { box-shadow: 0 0 0 0 rgba(var(--pulse), 0.6); }
    100% { box-shadow: 0 0 0 10px rgba(var(--pulse), 0); }
  }
  @media (prefers-reduced-motion: reduce) {
    .occ-now .occ-dot { animation: none; }
  }
  /* ===== Galéria fotiek (Vybavenie, Zakladateľ) ===== */
  .gallery {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--grey-900);
    outline: none;
  }
  .gallery:focus-visible { box-shadow: 0 0 0 3px var(--red); }
  .gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.9s var(--ease), transform 1.4s var(--ease);
  }
  .gallery-slide.is-active { opacity: 1; transform: scale(1); z-index: 1; }

  /* dark fade at the bottom so the controls stay readable on any photo */
  .gallery::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
    background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent);
    z-index: 2; pointer-events: none;
  }
  .gallery-ui {
    position: absolute; left: 0; right: 0; bottom: 0;
    z-index: 3;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: clamp(16px, 2vw, 24px);
    color: var(--white);
  }
  .gallery-count {
    font-family: var(--font-head); font-weight: 800; font-stretch: 112%;
    font-size: 15px; letter-spacing: 0.06em;
  }
  .gallery-count span:last-child { opacity: 0.55; }
  .gallery-dots { display: flex; gap: 6px; flex: 1; max-width: 180px; }
  .gallery-dot {
    flex: 1; height: 3px; padding: 0; border: 0; cursor: pointer;
    background: rgba(255,255,255,0.35);
    transition: background-color 0.4s var(--ease);
  }
  .gallery-dot:hover { background: rgba(255,255,255,0.7); }
  .gallery-dot.is-active { background: var(--red); }
  .gallery-arrows { display: flex; gap: 8px; }
  .gallery-btn {
    width: 46px; height: 46px; display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,0.5); border-radius: 50%;
    background: rgba(0,0,0,0.25); color: var(--white); cursor: pointer;
    transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
  }
  .gallery-btn:hover { background: var(--red); border-color: var(--red); }
  .gallery-btn:active { transform: scale(0.94); }
  .gallery-btn--prev svg { transform: rotate(180deg); }

  /* founder section: gallery on the left, quote on the right */
  .founder .feature { align-items: center; }
  .founder .quote { max-width: 18ch; }

  @media (max-width: 560px) {
    .gallery-dots { max-width: 110px; }
    .gallery-btn { width: 40px; height: 40px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .gallery-slide { transition: none; }
  }
  /* ===== Športová výživa (stránka Členstvo) ===== */
  .nutri-list {
    list-style: none;
    margin: 36px 0 0;
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,0.14);
  }
  .nutri-list li {
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.14);
    font-family: var(--font-head);
    font-weight: 700;
    font-stretch: 112%;
    font-size: clamp(18px, 1.6vw, 22px);
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
  .nutri-text {
    margin: 24px 0 0;
    font-size: 16px;
    color: var(--grey-300);
  }
  /* ===== Firemné údaje (Kontakt) ===== */
  .company {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    border-top: 1px solid var(--grey-300);
  }
  .company div { padding: 20px 24px 20px 0; border-bottom: 1px solid var(--grey-300); }
  .company dt {
    margin-bottom: 6px;
    font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    color: var(--grey-500);
  }
  .company dd { margin: 0; font-size: 16px; }
  @media (max-width: 860px) { .company { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 560px) { .company { grid-template-columns: 1fr; } }

  /* ===== Právne stránky (Ochrana osobných údajov, Obchodné podmienky) ===== */
  .legal-hero { min-height: 52vh; min-height: 52svh; }
  .legal-hero .h-xl { font-size: clamp(40px, 6vw, 88px); max-width: none; }
  .legal-hero .media::after { display: none; }
  .legal-wrap { max-width: 860px; }
  .legal-meta {
    font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--red); margin: 0 0 16px;
  }
  .legal-draft {
    padding: 14px 18px; margin: 0 0 32px;
    border: 1px dashed var(--red); color: var(--red-dark); font-size: 14px;
  }
  .legal-intro { font-size: clamp(17px, 1.4vw, 19px); color: var(--grey-700); margin-bottom: 8px; }
  .legal-section { padding: 40px 0 8px; border-top: 1px solid var(--grey-300); margin-top: 40px; }
  .legal-section h2 { font-size: clamp(22px, 2.2vw, 28px); margin-bottom: 18px; }
  .legal-section p { color: var(--grey-700); }
  .legal-section strong { color: var(--ink); font-weight: 600; }

  .legal-facts, .legal-block dl { margin: 0 0 20px; }
  .legal-facts div, .legal-block dl div {
    display: grid; grid-template-columns: 190px 1fr; gap: 16px;
    padding: 12px 0; border-bottom: 1px solid var(--grey-300);
  }
  .legal-facts dt, .legal-block dt {
    font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    color: var(--grey-500); padding-top: 3px;
  }
  .legal-facts dd, .legal-block dd { margin: 0; color: var(--ink); }

  .legal-block { margin: 28px 0 0; padding: 26px 28px 10px; background: var(--grey-100); }
  .legal-block h3 { font-size: 18px; margin-bottom: 8px; }
  .legal-block dl div { border-color: rgba(0,0,0,.08); }
  .legal-block dl div:last-child { border-bottom: 0; }

  .legal-list { list-style: none; padding: 0; margin: 0 0 20px; }
  .legal-list li { position: relative; padding: 8px 0 8px 26px; color: var(--grey-700); }
  .legal-list li::before {
    content: ""; position: absolute; left: 0; top: 20px; width: 12px; height: 2px; background: var(--red);
  }
  .legal-nowrap { white-space: nowrap; }
  .legal-back { margin-top: 48px; }

  @media (max-width: 560px) {
    .legal-facts div, .legal-block dl div { grid-template-columns: 1fr; gap: 2px; }
    .legal-block { padding: 22px 18px 6px; }
  }
  /* ===== Pätička: autor webu ===== */
  .footer-credit {
    display: inline-block;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
  }
  .footer-credit strong {
    color: var(--grey-300);
    font-weight: 600;
    letter-spacing: 0.02em;
  }
  @media (max-width: 560px) {
    .footer-credit {
      display: block;
      margin: 8px 0 0;
      padding-left: 0;
      border-left: 0;
    }
  }
