/* =========================================================
   Natálie Jiroutková — Fyzioterapie & Pilates
   Brand: warm, grounded, confident. Committed plum (OKLCH).
   Type: Bricolage Grotesque (display) + Hanken Grotesk (body)
   ========================================================= */

:root {
  /* Plum ramp — committed brand color, hue ~305 */
  --plum-950: oklch(0.20 0.085 305);
  --plum-900: oklch(0.26 0.115 305);
  --plum-800: oklch(0.34 0.150 305);   /* logo */
  --plum-700: oklch(0.42 0.168 305);
  --plum-600: oklch(0.52 0.175 305);
  --plum-500: oklch(0.62 0.165 305);
  --plum-400: oklch(0.72 0.130 305);
  --plum-300: oklch(0.82 0.085 305);
  --plum-100: oklch(0.93 0.035 305);
  --plum-50:  oklch(0.965 0.018 305);

  /* Clay accent — warm, hue ~42 */
  --clay-700: oklch(0.54 0.125 40);
  --clay-600: oklch(0.62 0.140 41);
  --clay-500: oklch(0.70 0.145 44);
  --clay-400: oklch(0.78 0.115 48);
  --clay-100: oklch(0.93 0.042 52);

  /* Warm neutrals (tinted) */
  --cream:  oklch(0.975 0.013 75);
  --paper:  oklch(0.992 0.006 75);
  --sand:   oklch(0.945 0.018 72);
  --ink:    oklch(0.225 0.035 305);
  --body:   oklch(0.405 0.028 305);
  --muted:  oklch(0.555 0.022 305);
  --line:   oklch(0.905 0.014 305);
  --line-2: oklch(0.86 0.018 305);

  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --radius-xl: 44px;

  --shadow-sm: 0 2px 14px oklch(0.34 0.15 305 / 0.07);
  --shadow:    0 18px 50px oklch(0.30 0.15 305 / 0.13);
  --shadow-lg: 0 40px 90px oklch(0.26 0.15 305 / 0.22);

  --maxw: 1280px;
  --gutter: clamp(1.15rem, 4.5vw, 3rem);

  --e-out: cubic-bezier(0.16, 1, 0.3, 1);          /* ease-out-expo-ish */
  --e-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--cream);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
  text-wrap: balance;
}

::selection { background: var(--clay-400); color: var(--plum-950); }
:focus-visible { outline: 3px solid var(--clay-500); outline-offset: 3px; border-radius: 6px; }

/* hide native cursor only when custom cursor is active (set on body via JS) */
body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9999;
  pointer-events: none; border-radius: 50%;
  translate: -50% -50%;
  opacity: 0;
  mix-blend-mode: normal;
}
.cursor-dot { width: 7px; height: 7px; background: var(--clay-600); transition: opacity .3s, scale .25s var(--e-out); }
.cursor-ring {
  width: 42px; height: 42px;
  border: 1.5px solid var(--plum-600);
  transition: opacity .3s, scale .3s var(--e-out), background .3s, border-color .3s;
}
body.cursor-ready .cursor-dot, body.cursor-ready .cursor-ring { opacity: 1; }
body.cursor-hover .cursor-ring { scale: 1.7; background: oklch(0.62 0.175 305 / 0.12); border-color: var(--plum-500); }
body.cursor-hover .cursor-dot { scale: 0; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Film grain + scroll progress ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 9998; pointer-events: none;
  opacity: 0.4; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: var(--clay-500); transform: scaleX(0); transform-origin: 0 50%;
  z-index: 9997;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 920px; }
.section { padding-block: clamp(4rem, 9vw, 8.5rem); position: relative; }
.section--sm { padding-block: clamp(2.5rem, 5vw, 4rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--clay-600);
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--plain::before { display: none; }

.h-xl { font-size: clamp(2.6rem, 7vw, 6rem); }
.h-lg { font-size: clamp(2rem, 4.8vw, 3.6rem); }
.h-md { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: var(--body); max-width: 60ch; }
.section-head { max-width: 64ch; margin-bottom: clamp(2.2rem, 4vw, 3.5rem); }
.section-head .h-lg { margin-block: .8rem .6rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--plum-800); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1em 1.7em; background: var(--bg); color: var(--fg);
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .98rem; line-height: 1; letter-spacing: .005em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--e-out), border-color .35s, background .35s;
  will-change: transform;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--clay-500);
  transform: translateY(101%); transition: transform .5s var(--e-out); border-radius: inherit;
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { color: var(--paper); }
.btn svg { width: 1.05em; height: 1.05em; }

.btn--accent { --bg: var(--clay-500); --fg: var(--paper); }
.btn--accent::after { background: var(--plum-800); }
.btn--ghost { --bg: transparent; --fg: var(--plum-800); border-color: var(--plum-300); }
.btn--ghost::after { background: var(--plum-800); }
.btn--ghost:hover { border-color: var(--plum-800); }
.btn--on-dark { --bg: var(--paper); --fg: var(--plum-900); }
.btn--on-dark::after { background: var(--clay-500); }
.btn--on-dark:hover { color: var(--paper); }
.btn--outline-dark { --bg: transparent; --fg: var(--paper); border-color: oklch(1 0 0 / 0.4); }
.btn--outline-dark::after { background: var(--paper); }
.btn--outline-dark:hover { color: var(--plum-900); }
.btn--lg { padding: 1.15em 2.1em; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* animated text link */
.tlink {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--plum-700);
  position: relative;
}
.tlink::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 2px; width: 100%;
  background: var(--clay-500); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .4s var(--e-out);
}
.tlink:hover::after { transform: scaleX(1); }
.tlink svg { width: 1.05em; height: 1.05em; transition: transform .4s var(--e-out); }
.tlink:hover svg { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; padding-block: 1rem;
  transition: background .4s, box-shadow .4s, padding .4s;
}
.site-header.scrolled {
  background: oklch(0.975 0.013 75 / 0.82);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 12px 40px oklch(0.3 0.15 305 / 0.06);
  padding-block: .6rem;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { height: 52px; width: auto; }
.main-nav ul { display: flex; align-items: center; gap: .15rem; flex-wrap: nowrap; }
.main-nav a {
  display: inline-block; padding: .5rem .8rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; color: var(--ink); white-space: nowrap;
  transition: background .25s, color .25s; position: relative;
}
.main-nav a:hover { background: var(--plum-100); color: var(--plum-800); }
.main-nav a.active { color: var(--plum-700); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 50%; bottom: .26rem; width: 5px; height: 5px;
  border-radius: 50%; background: var(--clay-500); translate: -50% 0;
}
.header-cta { display: flex; align-items: center; gap: .8rem; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--plum-800); white-space: nowrap; }
.header-phone svg { width: 1.05em; height: 1.05em; color: var(--clay-500); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1.5px solid var(--line-2);
  background: var(--paper); border-radius: 14px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px;
  background: var(--plum-800); border-radius: 2px; translate: -50% -50%;
  transition: transform .35s var(--e-out), opacity .2s;
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(7px); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: rotate(-45deg); }
.nav-backdrop { position: fixed; inset: 0; background: oklch(0.2 0.085 305 / 0.45); opacity: 0; visibility: hidden; transition: opacity .35s; z-index: 80; }
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(5.5rem, 8vw, 7.5rem); padding-bottom: clamp(2rem, 5vw, 4rem); overflow: clip; }
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 55vw; height: 55vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle at 35% 35%, var(--plum-300), transparent 62%);
  opacity: .55; filter: blur(10px); border-radius: 50%;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: auto auto -25% -15%; width: 45vw; height: 45vw; max-width: 560px; max-height: 560px;
  background: radial-gradient(circle at 50% 50%, var(--clay-100), transparent 60%);
  opacity: .8; border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: end; }
.hero-kicker { margin-bottom: 1.4rem; }
.hero h1 { font-size: clamp(2.9rem, 8.5vw, 7rem); font-weight: 600; letter-spacing: -0.035em; line-height: 0.92; }
.hero h1 .rotator { display: inline-block; color: var(--clay-600); font-style: italic; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; }
.hero-lead { margin-top: 1.6rem; font-size: clamp(1.1rem, 1.7vw, 1.32rem); max-width: 44ch; color: var(--body); }
.hero-actions { margin-top: 2.2rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2.2rem; }
.hero-tags li {
  font-size: .85rem; font-weight: 600; color: var(--plum-800);
  padding: .45rem .95rem; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--paper);
}
.hero-tags li::before { content: "✦"; color: var(--clay-500); margin-right: .45rem; }

.hero-figure { position: relative; align-self: stretch; }
.hero-photo {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 80px;
  box-shadow: var(--shadow-lg);
}
.hero-chip {
  position: absolute; left: -1.4rem; bottom: 2rem; background: var(--paper); border-radius: var(--radius);
  padding: .9rem 1.1rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .8rem; max-width: 230px;
}
.hero-chip img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.hero-chip .stars { color: var(--clay-500); letter-spacing: 2px; font-size: .82rem; }
.hero-chip strong { display: block; font-size: .92rem; color: var(--ink); }
.hero-chip span { font-size: .8rem; color: var(--muted); }
.hero-scroll {
  display: inline-flex; align-items: center; gap: .6rem; margin-top: 2.4rem; color: var(--muted);
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
}
.hero-scroll .mouse { width: 22px; height: 34px; border: 2px solid var(--muted); border-radius: 12px; position: relative; }
.hero-scroll .mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; background: var(--clay-500); border-radius: 2px; translate: -50% 0; animation: wheel 1.6s var(--e-out) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 35% { opacity: 1; } 70%,100% { opacity: 0; transform: translateY(10px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1.5px solid var(--ink); background: var(--ink); color: var(--cream); overflow: hidden; padding-block: .9rem; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.2rem, 2.4vw, 2rem); font-weight: 500; padding-inline: 1.6rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 1.6rem; }
.marquee span::after { content: "✦"; color: var(--clay-500); font-size: .7em; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Service switcher ---------- */
.services { background: linear-gradient(175deg, var(--plum-900), var(--plum-950)); color: oklch(0.92 0.03 305); }
.services .eyebrow { color: var(--clay-400); }
.services h2, .services h3 { color: var(--paper); }
.svc-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.svc-list { display: flex; flex-direction: column; }
.svc-item {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.1rem;
  width: 100%; text-align: left; background: none; border: none;
  padding: 1.5rem 0; border-top: 1.5px solid oklch(1 0 0 / 0.14); color: oklch(0.86 0.04 305);
  transition: color .3s, padding .4s var(--e-out);
}
.svc-item:last-child { border-bottom: 1.5px solid oklch(1 0 0 / 0.14); }
.svc-item .svc-num { font-family: var(--font-display); font-size: .9rem; color: var(--clay-400); font-weight: 600; }
.svc-item .svc-name { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1; transition: color .3s; color: oklch(0.82 0.05 305); }
.svc-item .svc-plus { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid oklch(1 0 0 / 0.3); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .4s var(--e-out); flex: none; }
.svc-item .svc-plus svg { width: 16px; height: 16px; }
.svc-item:hover .svc-name, .svc-item[aria-selected="true"] .svc-name { color: var(--paper); }
.svc-item[aria-selected="true"] { padding-left: 1.2rem; }
.svc-item[aria-selected="true"] .svc-plus { background: var(--clay-500); border-color: var(--clay-500); transform: rotate(45deg); }
.svc-item[aria-selected="true"] .svc-num { color: var(--clay-400); }

.svc-panel { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; background: var(--plum-800); box-shadow: var(--shadow-lg); }
.svc-pane { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; opacity: 0; visibility: hidden; transition: opacity .5s var(--e-out); }
.svc-pane.active { opacity: 1; visibility: visible; position: relative; }
.svc-pane .svc-photo { position: relative; min-height: 230px; }
.svc-pane .svc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-pane .svc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--plum-900) 2%, transparent 55%); }
.svc-pane .svc-price-badge { position: absolute; top: 1rem; right: 1rem; background: var(--paper); color: var(--plum-900); font-weight: 700; padding: .5rem 1rem; border-radius: 999px; font-size: .92rem; z-index: 2; }
.svc-pane .svc-body { padding: clamp(1.4rem, 3vw, 2.2rem); }
.svc-pane .svc-body p { color: oklch(0.88 0.03 305); margin-bottom: 1.1rem; }
.svc-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.svc-chips li { font-size: .82rem; font-weight: 600; color: var(--plum-100); padding: .4rem .85rem; background: oklch(1 0 0 / 0.1); border-radius: 999px; }
.svc-pane .svc-cta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--reverse .split-text { order: 2; }
.about-figure { position: relative; }
.about-figure .portrait { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow); }
.about-figure .ring { position: absolute; inset: -14px; border: 1.5px solid var(--plum-300); border-radius: calc(var(--radius-xl) + 14px); z-index: -1; }
.about-figure .badge {
  position: absolute; right: -1rem; top: 1.4rem; background: var(--clay-500); color: var(--paper);
  font-family: var(--font-display); font-weight: 600; border-radius: 50%; width: 104px; height: 104px;
  display: grid; place-content: center; text-align: center; line-height: 1.05; padding: .5rem; box-shadow: var(--shadow);
  font-size: .82rem;
}
.about-figure .badge b { font-size: 1.7rem; display: block; }
.role { color: var(--clay-600); font-weight: 700; margin-block: .6rem 1.2rem; }
.pullquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; color: var(--plum-800); letter-spacing: -0.015em; margin-block: 1.5rem; position: relative; }
.pullquote::before { content: "\201C"; font-size: 2.4em; line-height: 0; color: var(--plum-300); vertical-align: -0.35em; margin-right: .05em; }
.about-figure .signature { margin-top: 1.4rem; height: 64px; width: auto; }

/* timeline */
.timeline { margin-top: 1.6rem; }
.timeline li { display: grid; grid-template-columns: 78px 1fr; gap: 1.1rem; padding: .95rem 0; border-top: 1.5px solid var(--line); align-items: center; }
.timeline li:last-child { border-bottom: 1.5px solid var(--line); }
.timeline .yr { font-family: var(--font-display); font-weight: 600; color: var(--clay-600); font-size: 1.3rem; }
.timeline .what { color: var(--ink); font-weight: 500; }

/* feature list with check */
.checks { display: grid; gap: .8rem; margin-block: 1.4rem; }
.checks.cols-2 { grid-template-columns: 1fr 1fr; gap: .8rem 1.6rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checks li svg { flex: none; width: 22px; height: 22px; margin-top: .15rem; color: var(--clay-500); }
.on-dark .checks li { color: oklch(0.9 0.03 305); }
.on-dark .checks li svg { color: var(--clay-400); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.2rem, 3vw, 2rem); align-items: stretch; }
.price-feature {
  background: linear-gradient(160deg, var(--plum-800), var(--plum-950)); color: oklch(0.92 0.03 305);
  border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.8rem); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.price-feature::before { content: ""; position: absolute; width: 300px; height: 300px; right: -90px; top: -90px; background: radial-gradient(circle, var(--clay-500), transparent 70%); opacity: .35; }
.price-feature h3 { color: var(--paper); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.price-feature .big { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 600; color: var(--paper); line-height: 1; margin-block: .6rem .2rem; }
.price-feature .per { color: var(--plum-300); font-weight: 600; }
.price-feature p { color: oklch(0.85 0.03 305); margin-block: 1.2rem; position: relative; }
.price-feature .btn { margin-top: auto; }
.price-rest { display: flex; flex-direction: column; gap: 0; }
.price-row {
  display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: baseline;
  padding: 1.15rem .2rem; border-top: 1.5px solid var(--line);
}
.price-rest .price-row:last-of-type { border-bottom: 1.5px solid var(--line); }
.price-row .nm { font-weight: 600; color: var(--ink); }
.price-row .nm small { display: block; font-weight: 500; color: var(--muted); font-size: .85rem; }
.price-row .amt { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: var(--plum-700); white-space: nowrap; }
.price-note { margin-top: 1.3rem; color: var(--muted); font-size: .92rem; }

/* ---------- Gallery ---------- */
.gallery { columns: 3; column-gap: 16px; }
.gallery-item { break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; position: relative; display: block; cursor: pointer; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; transition: transform .7s var(--e-out); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem 1rem .9rem; color: var(--paper); font-weight: 600; font-size: .9rem;
  background: linear-gradient(to top, oklch(0.2 0.085 305 / 0.85), transparent);
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--e-out), transform .4s var(--e-out);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover figcaption { opacity: 1; transform: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: oklch(0.18 0.06 305 / 0.92); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 4vw; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox button { position: absolute; background: oklch(1 0 0 / 0.14); color: var(--paper); border: none; border-radius: 50%; width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.5rem; transition: background .25s; }
.lightbox button:hover { background: oklch(1 0 0 / 0.3); }
.lightbox .lb-close { top: 4vw; right: 4vw; }
.lightbox .lb-prev { left: 3vw; top: 50%; translate: 0 -50%; }
.lightbox .lb-next { right: 3vw; top: 50%; translate: 0 -50%; }

/* ---------- Testimonials slider ---------- */
.tst { background: var(--plum-50); }
.tst-stage { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.tst-thumbs { display: flex; flex-direction: column; gap: .9rem; }
.tst-thumb { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 2.5px solid transparent; opacity: .5; transition: opacity .3s, border-color .3s, transform .3s var(--e-out); background: none; padding: 0; }
.tst-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tst-thumb[aria-selected="true"] { opacity: 1; border-color: var(--clay-500); transform: scale(1.06); }
.tst-quotes { position: relative; min-height: 220px; }
.tst-quote { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .5s var(--e-out), transform .5s var(--e-out); }
.tst-quote.active { opacity: 1; visibility: visible; transform: none; position: relative; }
.tst-quote .stars { color: var(--clay-500); letter-spacing: 3px; margin-bottom: 1rem; }
.tst-quote blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.22; color: var(--ink); letter-spacing: -0.02em; }
.tst-quote .who { margin-top: 1.4rem; font-weight: 700; color: var(--plum-800); }
.tst-quote .who span { color: var(--muted); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; max-width: 880px; }
.faq-item { border-top: 1.5px solid var(--line); }
.faq:last-child { border-bottom: 1.5px solid var(--line); }
.faq-item:last-child { border-bottom: 1.5px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; width: 100%; background: none; border: none; padding: 1.5rem .2rem; text-align: left; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--ink); letter-spacing: -0.015em; }
.faq-icon { width: 32px; height: 32px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .4s var(--e-out); }
.faq-icon svg { width: 15px; height: 15px; color: var(--plum-700); transition: color .3s; }
.faq-item.open .faq-icon { background: var(--clay-500); border-color: var(--clay-500); transform: rotate(45deg); }
.faq-item.open .faq-icon svg { color: var(--paper); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--e-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 .2rem 1.6rem; color: var(--body); max-width: 68ch; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(2.6rem, 6vw, 5rem); background: linear-gradient(150deg, var(--plum-700), var(--plum-950)); color: var(--paper); }
.cta::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -150px; background: radial-gradient(circle, var(--clay-500), transparent 70%); opacity: .4; }
.cta::after { content: ""; position: absolute; width: 360px; height: 360px; left: -120px; bottom: -160px; background: radial-gradient(circle, var(--plum-500), transparent 70%); opacity: .5; }
.cta h2 { color: var(--paper); font-size: clamp(2rem, 5vw, 3.4rem); position: relative; max-width: 18ch; }
.cta p { color: oklch(0.88 0.03 305); max-width: 52ch; margin-block: 1.1rem 2rem; position: relative; }
.cta .btn-row { position: relative; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { padding-top: clamp(8.5rem, 15vw, 12rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: clip; }
.page-hero::before { content: ""; position: absolute; z-index: -1; inset: -25% -10% auto auto; width: 50vw; height: 50vw; max-width: 620px; max-height: 620px; background: radial-gradient(circle at 40% 40%, var(--plum-200, var(--plum-300)), transparent 62%); opacity: .4; border-radius: 50%; }
.breadcrumb { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .9rem; color: var(--muted); margin-bottom: 1.1rem; }
.breadcrumb a:hover { color: var(--clay-600); }
.breadcrumb span { color: var(--plum-700); font-weight: 600; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: 1rem; letter-spacing: -0.03em; }
.page-hero p { font-size: clamp(1.08rem, 1.8vw, 1.25rem); max-width: 62ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-list { display: grid; gap: 1.3rem; margin-block: 1.8rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .ic { width: 50px; height: 50px; border-radius: 16px; flex: none; background: var(--plum-100); color: var(--plum-700); display: grid; place-items: center; }
.info-list .ic svg { width: 24px; height: 24px; }
.info-list .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }
.info-list a, .info-list .val { color: var(--ink); font-weight: 600; font-size: 1.08rem; }
.info-list a:hover { color: var(--clay-600); }
.socials { display: flex; gap: .7rem; margin-top: 1.4rem; }
.socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1.5px solid var(--line-2); color: var(--plum-700); transition: background .3s, color .3s, transform .3s var(--e-out), border-color .3s; }
.socials a:hover { background: var(--plum-800); color: var(--paper); border-color: transparent; transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.form-card { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 4vw, 2.8rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: .45rem; }
.field input, .field textarea { width: 100%; padding: .9rem 1.05rem; border: 1.5px solid var(--line-2); border-radius: 14px; font: inherit; color: var(--ink); background: var(--cream); transition: border-color .25s, box-shadow .25s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--plum-500); box-shadow: 0 0 0 4px var(--plum-100); }
.field textarea { resize: vertical; min-height: 140px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 1rem; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status.ok { color: oklch(0.5 0.13 150); }
.form-status.err { color: oklch(0.55 0.2 28); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum-950); color: oklch(0.78 0.05 305); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer-strip { display: flex; gap: 10px; overflow: hidden; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.footer-strip img { width: 16.66%; aspect-ratio: 1; object-fit: cover; filter: grayscale(0.3); transition: filter .4s, transform .5s var(--e-out); }
.footer-strip img:hover { filter: none; transform: scale(1.04); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(1.8rem, 4vw, 3rem); padding-bottom: 3rem; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 1.1rem; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { color: oklch(0.68 0.05 305); max-width: 34ch; }
.site-footer h4 { color: var(--paper); font-family: var(--font-sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1rem; }
.footer-links li { margin-bottom: .6rem; }
.footer-links a, .footer-contact a { transition: color .25s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--paper); }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .8rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--clay-400); flex: none; margin-top: .2rem; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; background: oklch(1 0 0 / 0.08); display: grid; place-items: center; color: oklch(0.85 0.04 305); transition: background .3s, transform .3s var(--e-out); }
.footer-social a:hover { background: var(--clay-500); color: var(--paper); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom { border-top: 1.5px solid oklch(1 0 0 / 0.1); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; align-items: center; font-size: .88rem; color: oklch(0.62 0.05 305); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--e-out), transform .9s var(--e-out); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .09s; }
.reveal.d2 { transition-delay: .18s; }
.reveal.d3 { transition-delay: .27s; }
.reveal.d4 { transition-delay: .36s; }
.clip-reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--e-out); }
.clip-reveal.in { clip-path: inset(0 0 0 0); }

/* hero line reveal */
@keyframes heroLineUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
.hero h1 .line > span { animation: heroLineUp 1s var(--e-out) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .09s; }
@keyframes wordSwap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero h1 .rotator { display: inline-block; }
.hero h1 .rotator.swap { animation: wordSwap .55s var(--e-out) both; }
/* hero photo: always visible (opacity stays 1), only a subtle scale settle so it can never get stuck hidden */
@keyframes heroPhotoReveal { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-photo { animation: heroPhotoReveal 1.2s var(--e-out) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .clip-reveal { opacity: 1; transform: none; clip-path: none; }
  .hero h1 .line > span { transform: none; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(84vw, 380px); background: var(--cream); box-shadow: var(--shadow-lg); padding: 6rem 1.6rem 2rem; transform: translateX(100%); transition: transform .45s var(--e-out); z-index: 90; overflow-y: auto; }
  body.nav-open .main-nav { transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .main-nav a { padding: .9rem 1rem; border-radius: 14px; font-size: 1.08rem; }
  .main-nav a.active::after { display: none; }
  .header-phone span { display: none; }
}

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-figure { max-width: 460px; margin-top: 1rem; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-panel { display: none; }                 /* mobile uses accordion */
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-text { order: 0; }
  .about-figure { max-width: 460px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .tst-stage { grid-template-columns: 1fr; }
  .tst-thumbs { flex-direction: row; }
  .gallery { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .header-cta .btn { display: none; }
  .gallery { columns: 1; }
  .checks.cols-2 { grid-template-columns: 1fr; }
  .form-2col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-strip { flex-wrap: wrap; }
  .footer-strip img { width: calc(33.33% - 7px); }
  .hero-chip { left: 0; }
  .about-figure .badge { width: 88px; height: 88px; }
}

/* ---------- Mobile accordion variant of service switcher ---------- */
.svc-acc { display: none; }
@media (max-width: 940px) {
  .svc-acc { display: block; }
  .svc-list { display: none; }
  .svc-acc-item { border-top: 1.5px solid oklch(1 0 0 / 0.14); }
  .svc-acc-item:last-child { border-bottom: 1.5px solid oklch(1 0 0 / 0.14); }
  .svc-acc-q { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; background: none; border: none; padding: 1.3rem 0; color: var(--paper); font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; text-align: left; }
  .svc-acc-q .svc-plus { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid oklch(1 0 0 / 0.3); display: grid; place-items: center; flex: none; transition: transform .4s var(--e-out), background .3s; }
  .svc-acc-q .svc-plus svg { width: 15px; height: 15px; }
  .svc-acc-item.open .svc-plus { background: var(--clay-500); border-color: var(--clay-500); transform: rotate(45deg); }
  .svc-acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--e-out); }
  .svc-acc-item.open .svc-acc-body { grid-template-rows: 1fr; }
  .svc-acc-body > div { overflow: hidden; }
  .svc-acc-inner { padding-bottom: 1.6rem; }
  .svc-acc-inner img { width: 100%; border-radius: var(--radius); margin-bottom: 1.1rem; aspect-ratio: 16/10; object-fit: cover; }
  .svc-acc-inner p { color: oklch(0.88 0.03 305); margin-bottom: 1.1rem; }
}

/* =========================================================
   Compatibility layer — detail sub-pages (fyzio/pilates/
   seminare/cenik/kontakt) mapped onto the new design system
   ========================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 920px; }

.section--lilac { background: var(--plum-50); }
.section--cream { background: var(--sand); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--plum { background: linear-gradient(175deg, var(--plum-900), var(--plum-950)); color: oklch(0.9 0.03 305); }
.section--plum h2, .section--plum h3, .section--plum .section-title { color: var(--paper); }
.section--plum .section-lead { color: oklch(0.85 0.03 305); }
.section--plum .eyebrow { color: var(--clay-400); }

.section-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.04; font-size: clamp(1.9rem, 4.4vw, 3.2rem); color: var(--ink); }
.section-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--body); max-width: 62ch; }
.section-head .eyebrow { margin-bottom: .8rem; }
.section-head .section-title { margin-block: .2rem .6rem; }
.section-head--center { text-align: center; max-width: none; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head--center .eyebrow { gap: 0; }
.section-head--center .eyebrow::before { display: none; }

.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split-media--portrait img { aspect-ratio: 3/4; }
.split-quote { font-family: var(--font-display); font-weight: 500; font-style: normal; font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 1.25; color: var(--plum-800); letter-spacing: -0.015em; margin-block: 1.4rem; }
.split-quote::before { content: "\201C"; color: var(--plum-300); font-size: 2em; line-height: 0; vertical-align: -0.32em; margin-right: .04em; }
.section--plum .split-quote { color: var(--paper); }
.section--plum .split-quote::before { color: var(--clay-400); }

.check-list { display: grid; gap: .8rem; margin-block: 1.4rem; }
.check-list.cols-2 { grid-template-columns: 1fr 1fr; gap: .8rem 1.6rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.check-list li svg { flex: none; width: 22px; height: 22px; margin-top: .15rem; color: var(--clay-500); }
.section--plum .check-list li { color: oklch(0.9 0.03 305); }
.section--plum .check-list li svg { color: var(--clay-400); }

.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.4rem, 4vw, 3rem); }
.partners img { height: 44px; width: auto; filter: grayscale(1); opacity: .55; transition: filter .3s, opacity .3s, transform .3s var(--e-out); }
.partners img:hover { filter: none; opacity: 1; transform: scale(1.05); }

.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: clamp(2.6rem, 6vw, 5rem); background: linear-gradient(150deg, var(--plum-700), var(--plum-950)); color: var(--paper); text-align: center; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -150px; background: radial-gradient(circle, var(--clay-500), transparent 70%); opacity: .4; }
.cta-band::after { content: ""; position: absolute; width: 360px; height: 360px; left: -120px; bottom: -160px; background: radial-gradient(circle, var(--plum-500), transparent 70%); opacity: .5; }
.cta-band h2 { color: var(--paper); font-size: clamp(1.9rem, 4.5vw, 3rem); position: relative; margin-bottom: 1rem; }
.cta-band p { color: oklch(0.88 0.03 305); max-width: 52ch; margin: 0 auto 2rem; position: relative; }
.cta-band .btn-row { justify-content: center; position: relative; }

/* pricing cards (cenik) */
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.2rem, 3vw, 1.8rem); align-items: stretch; }
.price-card { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.8rem, 3vw, 2.2rem); display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .4s var(--e-out), box-shadow .4s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured { background: linear-gradient(160deg, var(--plum-800), var(--plum-950)); color: oklch(0.92 0.03 305); border-color: transparent; }
.price-card.featured h3 { color: var(--paper); }
.price-head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.3rem; }
.price-head .ic { width: 50px; height: 50px; border-radius: 16px; flex: none; background: var(--plum-100); color: var(--plum-700); display: grid; place-items: center; }
.price-card.featured .price-head .ic { background: oklch(1 0 0 / 0.14); color: var(--paper); }
.price-head .ic svg { width: 26px; height: 26px; }
.price-card h3 { font-size: 1.35rem; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; border-bottom: 1.5px dashed var(--line); }
.price-card.featured .price-list li { border-color: oklch(1 0 0 / 0.18); }
.price-list li:last-child { border-bottom: none; }
.price-list .name { font-weight: 500; }
.price-list .amt { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--plum-700); white-space: nowrap; }
.price-card.featured .price-list .amt { color: var(--paper); }
.price-note { font-size: .9rem; color: var(--muted); margin-top: 1.1rem; }
.price-card.featured .price-note { color: oklch(0.78 0.05 305); }

.btn--light { --bg: var(--paper); --fg: var(--plum-900); }
.btn--light::after { background: var(--clay-500); }
.btn--light:hover { color: var(--paper); }
.btn--on-dark-ghost { --bg: transparent; --fg: var(--paper); border-color: oklch(1 0 0 / 0.4); }
.btn--on-dark-ghost::after { background: var(--paper); }
.btn--on-dark-ghost:hover { color: var(--plum-900); }

/* contact (kontakt) old names */
.contact-info-list { display: grid; gap: 1.3rem; margin-block: 1.8rem; }
.contact-info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-list .ic { width: 50px; height: 50px; border-radius: 16px; flex: none; background: var(--plum-100); color: var(--plum-700); display: grid; place-items: center; }
.contact-info-list .ic svg { width: 24px; height: 24px; }
.contact-info-list .lbl { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }
.contact-info-list a, .contact-info-list .val { color: var(--ink); font-weight: 600; font-size: 1.08rem; }
.contact-info-list a:hover { color: var(--clay-600); }
.social-row { display: flex; gap: .7rem; margin-top: 1.4rem; }
.social-row a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1.5px solid var(--line-2); color: var(--plum-700); transition: background .3s, color .3s, transform .3s var(--e-out), border-color .3s; }
.social-row a:hover { background: var(--plum-800); color: var(--paper); border-color: transparent; transform: translateY(-3px); }
.social-row svg { width: 20px; height: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

/* sub-page active nav state */
.main-nav a[aria-current="page"] { color: var(--plum-700); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: .26rem; width: 5px; height: 5px; border-radius: 50%; background: var(--clay-500); translate: -50% 0; }

@media (max-width: 940px) {
  .split-media { max-width: 520px; margin-inline: auto; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .main-nav a[aria-current="page"]::after { display: none; }
}
@media (max-width: 560px) { .check-list.cols-2 { grid-template-columns: 1fr; } }

/* =========================================================
   Body map — "Kde to bolí?"
   ========================================================= */
.bodymap { background: var(--plum-50); }
.bm-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.bm-figure { position: relative; width: 100%; max-width: 300px; margin-inline: auto; aspect-ratio: 260 / 480; }
.bm-svg { width: 100%; height: 100%; overflow: visible; }
.bm-svg .bm-body { fill: var(--plum-100); stroke: var(--plum-300); stroke-width: 2; }
.bm-dot {
  position: absolute; width: 26px; height: 26px; border-radius: 50%; border: none; padding: 0;
  background: var(--clay-500); transform: translate(-50%, -50%); cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 0 0 4px oklch(0.70 0.145 44 / 0.22);
  transition: background .3s, box-shadow .3s, scale .3s var(--e-out); z-index: 2;
}
.bm-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); }
.bm-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--clay-500); animation: bmping 2.4s var(--e-out) infinite; }
.bm-dot:hover { scale: 1.12; }
.bm-dot[aria-selected="true"] { background: var(--plum-700); box-shadow: 0 0 0 5px oklch(0.42 0.168 305 / 0.25); scale: 1.15; }
.bm-dot[aria-selected="true"]::after { border-color: var(--plum-700); }
@keyframes bmping { 0% { transform: scale(1); opacity: .65; } 70%, 100% { transform: scale(2.4); opacity: 0; } }

.bm-panel { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3.5vw, 2.6rem); box-shadow: var(--shadow); min-height: 320px; }
.bm-tag { display: inline-block; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-600); margin-bottom: .9rem; }
.bm-title { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: .8rem; }
.bm-copy { color: var(--body); max-width: 52ch; }
.bm-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.3rem 0 1.6rem; }
.bm-chips li { font-size: .82rem; font-weight: 600; color: var(--plum-800); padding: .42rem .9rem; background: var(--plum-100); border-radius: 999px; }
.bm-cta { display: flex; flex-wrap: wrap; gap: .9rem 1.2rem; align-items: center; }

@media (max-width: 940px) {
  .bm-grid { grid-template-columns: 1fr; }
  .bm-figure { max-width: 240px; }
}
@media (prefers-reduced-motion: reduce) { .bm-dot::after { animation: none; } }

/* ---------- Consent checkbox + legal prose ---------- */
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-bottom: 1.1rem; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--clay-500); flex: none; }
.consent a { color: var(--clay-600); font-weight: 700; text-decoration: underline; }
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 2.4rem 0 .8rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--body); margin-bottom: .8rem; max-width: 72ch; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.1rem; }
.legal a { color: var(--clay-600); font-weight: 600; text-decoration: underline; }
.legal strong { color: var(--ink); }
.footer-bottom a { text-decoration: underline; }
