/* Kairys — individualios futbolo treniruotės
   Layout: trenerio lenta. Šviesus „planšetės“ pagrindas, taktinės lentos kaip pasikartojantis vaizdas,
   siauras marškinėlių šriftas antraštėms, laikrodžio skaitmenys minutėms ir kainoms. */

:root {
  --bg: #f3f5f0;
  --surface: #ffffff;
  --surface-2: #e7ece4;
  --ink: #0f1e16;
  --muted: #55665c;
  --line: #d2d9ce;
  --accent: #ff5a1f;
  --accent-ink: #1c0b03;
  --accent-soft: #ffe4d8;
  --accent-text: #c23c0b;
  --band: #12301f;
  --band-ink: #eef3ee;
  --band-muted: #a9bdb0;
  --grass: #1f5e3d;
  --grass-2: #22683f;
  --chalk: rgba(255, 255, 255, 0.86);
  --chalk-soft: rgba(255, 255, 255, 0.5);
  --cone: #ffc23d;
  --keeper: #5cc2ff;
  --dribble: #ffd84d;
  --opp: #0d1a13;
  --ok: #1f8a4c;
  --err: #c8321c;
  --shadow: 0 1px 2px rgba(15, 30, 22, 0.06), 0 8px 24px -12px rgba(15, 30, 22, 0.18);

  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --r: 10px;
  --r-lg: 16px;
  --wrap: 1180px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --top-h: 68px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1510;
    --surface: #12211a;
    --surface-2: #182b21;
    --ink: #e7eee9;
    --muted: #9cafa3;
    --line: #253a2e;
    --accent: #ff6b35;
    --accent-ink: #1c0b03;
    --accent-soft: #3a1d10;
    --accent-text: #ff8f63;
    --band: #0f2a1c;
    --band-ink: #eef3ee;
    --band-muted: #a9bdb0;
    --grass: #184b31;
    --grass-2: #1b5437;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px -14px rgba(0, 0, 0, 0.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1510;
  --surface: #12211a;
  --surface-2: #182b21;
  --ink: #e7eee9;
  --muted: #9cafa3;
  --line: #253a2e;
  --accent: #ff6b35;
  --accent-ink: #1c0b03;
  --accent-soft: #3a1d10;
  --accent-text: #ff8f63;
  --band: #0f2a1c;
  --band-ink: #eef3ee;
  --band-muted: #a9bdb0;
  --grass: #184b31;
  --grass-2: #1b5437;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px -14px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

/* ---------- Pagrindas */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--surface);
}
img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.45rem; line-height: 1.05; }
h1 em { font-style: italic; color: var(--accent-text); }
code { font-family: var(--mono); font-size: 0.88em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 64px);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 14px;
  border-radius: var(--r);
  font-weight: 700;
}
.skip:focus { top: calc(8px + env(safe-area-inset-top, 0px)); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-text);
  margin-bottom: 12px;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.sub { font-family: var(--mono); font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.fine { font-size: 0.86rem; color: var(--muted); margin-top: 14px; }
.notice {
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--ink);
  border-radius: var(--r);
  padding: 12px 16px;
  font-size: 0.92rem;
  margin-top: 18px;
  max-width: 72ch;
}
.notice a { font-weight: 700; }

/* ---------- Mygtukai */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 0.95rem/1.1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 88%, #fff); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--bg); }
.btn-ghost-light { border-color: var(--band-muted); color: var(--band-ink); background: transparent; }
.btn-ghost-light:hover { border-color: var(--band-ink); }
.btn-lg { min-height: 52px; padding: 12px 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  width: fit-content;
}
.link-arrow::after { content: "→"; transition: transform 0.15s; }
.link-arrow:hover::after { transform: translateX(3px); }

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--bg);
}
.tag-soft { background: var(--surface-2); color: var(--muted); }

/* ---------- Demo juosta */
.demo-bar { background: var(--accent-soft); color: var(--ink); font-size: 0.82rem; }
.demo-bar .wrap { padding-block: 7px; }

/* ---------- Viršutinė juosta */
.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 24px; min-height: var(--top-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--grass);
  color: #fff;
  font: italic 800 1.25rem/1 var(--display);
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}
.logo-txt { display: flex; flex-direction: column; line-height: 1.1; }
.logo-txt b { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.15rem; letter-spacing: 0.02em; }
.logo-txt small { font-size: 0.72rem; color: var(--muted); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.top-cta { min-height: 40px; padding: 8px 18px; }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  position: relative;
}
.menu-btn span:not(.sr) { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform 0.2s; }
.menu-btn span:nth-child(1) { top: 16px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

@media (max-width: 1020px) {
  .menu-btn { display: block; }
  .top-cta { display: none; }
  .nav {
    position: fixed;
    inset: calc(var(--top-h) + env(safe-area-inset-top, 0px)) 0 0;
    flex-direction: column;
    gap: 0;
    background: var(--surface);
    padding: 12px var(--gutter-r) calc(24px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
    margin: 0;
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    overflow-y: auto;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.8rem; color: var(--ink); padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--accent-text); }
}

/* ---------- Sekcijos */
.sec { padding-block: clamp(56px, 8vw, 96px); }
.sec-tight { padding-block: clamp(28px, 4vw, 48px) clamp(56px, 8vw, 88px); }
.sec-alt { background: var(--surface-2); }
.sec-head { display: grid; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 68ch; }
.sec-head .eyebrow { margin-bottom: 0; }
.sec-head p:not(.eyebrow) { color: var(--muted); }
.sec-head-row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.sec-head-row .eyebrow { margin-bottom: 10px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.two-col > div { min-width: 0; display: grid; gap: 14px; justify-items: start; }
.two-col h2 { margin-bottom: 6px; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

.page-head { padding-block: clamp(40px, 6vw, 72px) clamp(24px, 3vw, 36px); }
.page-head h1 { margin-bottom: 18px; max-width: 18ch; }
.page-head-tight h1 { max-width: none; }

/* ---------- Hero */
.hero { padding-block: clamp(36px, 6vw, 72px) clamp(40px, 6vw, 72px); }
.hero-in, .prog-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-copy, .prog-copy { min-width: 0; }
.hero h1 { margin-bottom: 20px; }
.prog-copy h1 { margin: 14px 0 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 32px 0 0;
  border-top: 2px solid var(--ink);
}
.facts div { padding: 12px 12px 0 0; border-right: 1px solid var(--line); padding-left: 12px; }
.facts div:first-child { padding-left: 0; }
.facts div:last-child { border-right: 0; }
.facts dt { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--display); font-weight: 800; font-size: 1.4rem; line-height: 1.1; text-transform: uppercase; }
@media (max-width: 560px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts div { padding: 12px 0 12px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .facts div:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
}
.hero-board { margin: 0; display: grid; gap: 12px; min-width: 0; }
.hero-board .board { border-radius: var(--r-lg); box-shadow: var(--shadow); transform: rotate(-1deg); }
.hero-board figcaption { font-size: 0.9rem; color: var(--muted); max-width: 52ch; }
.hero-board figcaption .tag { margin-right: 4px; vertical-align: 1px; }
@media (max-width: 880px) {
  .hero-in, .prog-head { grid-template-columns: 1fr; }
  .hero-board .board { transform: none; }
}

/* ---------- Taktinė lenta */
.board { display: block; width: 100%; height: auto; aspect-ratio: 100 / 70; background: var(--grass); }
.b-grass { fill: var(--grass); }
.b-stripe { fill: var(--grass-2); }
.b-lines rect, .b-lines path { fill: none; stroke: var(--chalk-soft); stroke-width: 0.45; }
.b-lines .b-spot { fill: var(--chalk-soft); stroke: none; }
.b-lines .b-goal { stroke: var(--chalk); stroke-width: 0.6; fill: rgba(255, 255, 255, 0.08); }
.d-pass, .d-shot, .d-run, .d-dribble { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.d-pass { stroke: var(--chalk); stroke-width: 0.6; }
.d-shot { stroke: var(--accent); stroke-width: 0.95; }
.d-run { stroke: var(--chalk); stroke-width: 0.55; stroke-dasharray: 1.4 1.2; }
.d-dribble { stroke: var(--dribble); stroke-width: 0.55; }
.mk-pass path, .mk-run path { fill: var(--chalk); }
.mk-shot path { fill: var(--accent); }
.mk-dribble path { fill: var(--dribble); }
.d-zone { fill: rgba(255, 255, 255, 0.1); stroke: var(--chalk); stroke-width: 0.4; stroke-dasharray: 1 1; }
.d-scan { fill: none; stroke: var(--dribble); stroke-width: 0.5; stroke-linecap: round; }
.d-cone { fill: var(--cone); stroke: rgba(0, 0, 0, 0.25); stroke-width: 0.2; }
.d-player circle { fill: var(--accent); stroke: #fff; stroke-width: 0.5; }
.d-keeper circle { fill: var(--keeper); stroke: #fff; stroke-width: 0.5; }
.d-opp circle { fill: var(--opp); stroke: var(--chalk); stroke-width: 0.5; }
.d-coach rect { fill: #f4f4ef; stroke: rgba(0, 0, 0, 0.3); stroke-width: 0.25; }
.board text { font: 800 3.2px/1 var(--display); text-anchor: middle; fill: #10140f; }
.d-coach text { font-size: 3px; }

.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.82rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.lg-ic { width: 28px; height: 14px; background: var(--grass); border-radius: 3px; }
.lg-ic.lg-sq { width: 14px; }

/* ---------- Laisvi laikai */
.slots-strip { border-block: 1px solid var(--line); background: var(--surface); }
.slots-in { display: flex; align-items: center; gap: 12px 24px; padding-block: 16px; flex-wrap: wrap; }
.slots-h { font-size: 1.1rem; flex-shrink: 0; }
.slots-next { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; flex: 1 1 320px; min-width: 0; }
.slots-next a {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  line-height: 1.2;
  background: var(--bg);
}
.slots-next a:hover { border-color: var(--accent); }
.slots-next .s-day { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.slots-next .s-time { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.slots-loading { color: var(--muted); font-size: 0.9rem; }

/* ---------- Treniruočių kortelės */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pgrid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .pgrid, .pgrid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pgrid, .pgrid-3 { grid-template-columns: 1fr; } }
.pcard {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
  min-width: 0;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.pcard-board .board { border-radius: 0; }
.pcard-body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.pcard-body .tag { align-self: start; }
.pcard-body h3 { margin-top: 4px; }
.pcard-body p { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.pcard-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 14px; margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--line); }
.pcard-meta dt { font-family: var(--mono); font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.pcard-meta dd { margin: 0; font-weight: 700; font-size: 0.9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Žingsniai */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.step { padding: 20px 22px 4px 0; border-top: 2px solid var(--ink); position: relative; display: grid; gap: 8px; align-content: start; }
.step + .step { padding-left: 22px; border-left: 1px solid var(--line); }
.step-n { font: 800 3rem/0.9 var(--display); color: var(--accent-text); font-variant-numeric: tabular-nums; }
.step p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .step + .step { padding-left: 0; border-left: 0; }
}

/* ---------- Treneris */
.coach { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.coach-copy { min-width: 0; display: grid; gap: 16px; justify-items: start; }
.coach-copy .eyebrow { margin-bottom: 0; }
.coach-card {
  aspect-ratio: 4 / 5;
  max-width: 420px;
  width: 100%;
  border-radius: var(--r-lg);
  background:
    repeating-linear-gradient(0deg, var(--grass) 0 40px, var(--grass-2) 40px 80px);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.coach-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 2px solid var(--chalk-soft);
  border-radius: 4px;
}
.coach-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -60px;
  width: 140px;
  height: 140px;
  transform: translateX(-50%);
  border: 2px solid var(--chalk-soft);
  border-radius: 50%;
}
.jersey {
  position: relative;
  z-index: 1;
  width: 62%;
  aspect-ratio: 1 / 1.05;
  background: var(--accent);
  clip-path: polygon(30% 0, 70% 0, 100% 16%, 90% 38%, 80% 32%, 80% 100%, 20% 100%, 20% 32%, 10% 38%, 0 16%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 22%;
  color: var(--accent-ink);
}
.jersey-name { font: 800 clamp(1rem, 2.2vw, 1.4rem)/1 var(--display); letter-spacing: 0.14em; }
.jersey-num { font: 800 clamp(5rem, 11vw, 8rem)/0.9 var(--display); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; width: 100%; border-top: 2px solid var(--ink); margin-top: 6px; }
.stat { display: grid; gap: 2px; padding: 12px 12px 0; border-left: 1px solid var(--line); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat-v { font: 800 2rem/1 var(--display); text-transform: uppercase; font-variant-numeric: tabular-nums; }
.stat-l { font-size: 0.8rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 820px) {
  .coach { grid-template-columns: 1fr; }
  .coach-card { max-width: 320px; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(even) { padding-left: 12px; border-left: 1px solid var(--line); }
}

/* ---------- Atsiliepimai */
.rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
@media (max-width: 900px) { .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .rgrid { grid-template-columns: 1fr; } }
.review {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  display: grid;
  gap: 14px;
  min-width: 0;
}
.review-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.review blockquote { margin: 0; }
.review blockquote p { font-size: 0.98rem; line-height: 1.6; }
.review blockquote p::before { content: "„"; }
.review blockquote p::after { content: "“"; }
.review figcaption { font-size: 0.88rem; color: var(--muted); }
.review figcaption b { color: var(--ink); }
.stars { display: inline-flex; gap: 1px; font-size: 1rem; letter-spacing: 0; line-height: 1; }
.stars .on { color: var(--accent); }
.stars .off { color: var(--line); }

.rev-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.score { display: grid; justify-items: start; gap: 4px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.score-v { font: 800 3.6rem/0.9 var(--display); font-variant-numeric: tabular-nums; }
.score .stars { font-size: 1.25rem; }
.score-n { font-size: 0.85rem; color: var(--muted); }

/* ---------- Filtrai */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.sec-tight .chips { margin: 0 0 22px; }
.chip {
  font: 600 0.88rem/1 var(--body);
  padding: 10px 16px;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Kainos */
.prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
@media (max-width: 1000px) { .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .prices { grid-template-columns: 1fr; } }
.price {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.price h3 { font-size: 1.3rem; margin-bottom: 10px; }
.price--featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.price-flag {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 600 0.68rem/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 8px;
  border-radius: 4px;
}
.price-num { display: flex; align-items: flex-start; gap: 4px; }
.price-num .num { font: 800 3.6rem/0.9 var(--display); font-variant-numeric: tabular-nums; }
.price-num .cur { font: 800 1.6rem/1 var(--display); margin-top: 4px; }
.price-unit { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); }
.price-per { font-size: 0.85rem; font-weight: 700; color: var(--accent-text); }
.price-note { font-size: 0.9rem; color: var(--muted); margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); }
.price-unit + .price-note { margin-top: auto; }

.table-wrap { overflow-x: auto; width: 100%; }
.table { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 500; }
.table tbody th { font-weight: 700; }
.table .tnum { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: calc(0.32em + 4px);
  width: 5px;
  height: 9px;
  border: solid var(--accent-text);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- DUK */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-wrap .sec-head { justify-items: start; }
@media (max-width: 820px) { .faq-wrap { grid-template-columns: 1fr; } }
.faq-page { max-width: 820px; }
.faq { display: grid; border-top: 2px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 2px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.04rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa-ic { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--line); position: relative; }
.qa-ic::before, .qa-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform 0.2s; }
.qa-ic::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa-ic { border-color: var(--accent); }
.qa[open] .qa-ic::after { transform: translate(-50%, -50%) rotate(0); }
.qa-a { padding: 0 40px 20px 2px; color: var(--muted); max-width: 70ch; }

/* ---------- CTA juosta */
.band-cta { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.band-cta::before {
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  width: 360px;
  height: 360px;
  transform: translateY(-50%);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}
.band-cta::after { content: ""; position: absolute; right: 60px; top: 0; bottom: 0; width: 2px; background: rgba(255, 255, 255, 0.12); }
.cta-in { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; padding-block: clamp(44px, 6vw, 72px); }
.cta-in > div:first-child { max-width: 60ch; display: grid; gap: 12px; min-width: 0; }
.cta-in p { color: var(--band-muted); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Programos puslapis */
.page-head-prog { padding-bottom: clamp(40px, 6vw, 72px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.82rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.plan { display: grid; gap: 8px; }
.plan-bar { list-style: none; margin: 0; padding: 0; display: flex; gap: 3px; border-radius: var(--r); overflow: hidden; min-height: 132px; }
.plan-seg { flex-grow: 0; flex-shrink: 1; min-width: 0; padding: 14px; display: flex; flex-direction: column; gap: 6px; color: #fff; }
.plan-seg-0 { background: var(--grass); }
.plan-seg-1 { background: color-mix(in srgb, var(--grass) 80%, #000); }
.plan-seg-2 { background: var(--accent); color: var(--accent-ink); }
.plan-seg-3 { background: color-mix(in srgb, var(--grass) 60%, #888); }
.plan-min { font-family: var(--mono); font-size: 0.82rem; font-variant-numeric: tabular-nums; opacity: 0.9; }
.plan-part { font-weight: 700; font-size: 0.95rem; line-height: 1.3; overflow-wrap: anywhere; }
.plan-ticks { position: relative; height: 18px; font-family: var(--mono); font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.plan-ticks span { position: absolute; transform: translateX(-50%); }
.plan-ticks span:first-child { transform: none; }
.plan-ticks span:last-child { transform: translateX(-100%); }
@media (max-width: 680px) {
  .plan-bar { flex-direction: column; min-height: 0; }
  .plan-seg { flex-basis: auto !important; flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; }
  .plan-min { order: 2; flex-shrink: 0; }
  .plan-ticks { display: none; }
}

/* ---------- Apie */
.prose { display: grid; gap: 16px; max-width: 66ch; }
.prose p { color: var(--ink); }
.prose-doc { max-width: 760px; }
.prose-doc h2 { font-size: 1.6rem; margin-top: 18px; }
.prose-doc p { color: var(--muted); }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.principles li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 8px; align-content: start; }
.principles p { color: var(--muted); }
@media (max-width: 680px) { .principles { grid-template-columns: 1fr; } }
.timeline { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; width: 100%; }
.timeline li { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tl-year { font-family: var(--mono); font-size: 0.85rem; font-variant-numeric: tabular-nums; color: var(--accent-text); padding-top: 2px; }

/* ---------- Kontaktai */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; border-top: 2px solid var(--ink); }
.cfield { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cfield-l { grid-column: 1 / -1; font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.cfield-v { font-size: 1.15rem; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; user-select: all; }
span.cfield-v { user-select: text; }
.copy { font: 600 0.8rem/1 var(--body); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; min-height: 34px; }
.copy:hover { border-color: var(--ink); }
.copy.done { border-color: var(--ok); color: var(--ok); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 28px); }
.form { display: grid; gap: 16px; }
.form h2 { font-size: 1.7rem; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 0.9rem; }
.opt-l { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  font: 400 1rem/1.4 var(--body);
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  min-height: 46px;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--err); }
.form-error { color: var(--err); font-weight: 600; font-size: 0.92rem; }
.form-ok { color: var(--ok); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.locs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 680px) { .locs { grid-template-columns: 1fr; } }
.loc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 8px; justify-items: start; }
.loc p { color: var(--muted); }
.loc .loc-addr { color: var(--ink); font-weight: 700; }
.loc-surface { font-family: var(--mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Registracija */
.booking { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 960px) { .booking { grid-template-columns: 1fr; } }
.bk-form { display: grid; gap: 22px; min-width: 0; }
.bk-step { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-lg); padding: clamp(16px, 2.6vw, 24px); margin: 0; min-width: 0; display: grid; gap: 14px; }
.bk-step legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font: 800 1.4rem/1 var(--display); text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.bk-step legend + * { clear: both; }
.bk-n { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--bg); font: 500 0.85rem/1 var(--mono); }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .opts, .opts-2 { grid-template-columns: 1fr; } }
.opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
  background: var(--bg);
  min-width: 0;
  transition: border-color 0.15s, background-color 0.15s;
}
.opt:hover { border-color: color-mix(in srgb, var(--ink) 40%, var(--line)); }
.opt input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex-shrink: 0; }
.opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.opt:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.opt-body { display: grid; min-width: 0; flex: 1; }
.opt-title { font-weight: 700; line-height: 1.25; }
.opt-meta { font-size: 0.8rem; color: var(--muted); }
.opt-price { font-family: var(--mono); font-size: 0.9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

.days-nav { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.icon-btn { width: 40px; height: 64px; border-radius: var(--r); border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 1.4rem; cursor: pointer; }
.icon-btn:disabled { opacity: 0.35; cursor: default; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 520px) { .days { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.day {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 8px 2px;
  border-radius: var(--r);
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  min-width: 0;
}
.day .d-wd { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.day .d-num { font: 800 1.5rem/1 var(--display); font-variant-numeric: tabular-nums; }
.day .d-free { font-size: 0.68rem; color: var(--ok); white-space: nowrap; }
.day[aria-disabled="true"] { opacity: 0.45; cursor: default; }
.day[aria-disabled="true"] .d-free { color: var(--muted); }
.day[aria-selected="true"] { border-color: var(--accent); background: var(--accent-soft); }
.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.time {
  font: 500 0.95rem/1 var(--mono);
  font-variant-numeric: tabular-nums;
  padding: 12px 6px;
  border-radius: var(--r);
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
}
.time:hover:not(:disabled) { border-color: var(--ink); }
.time:disabled { text-decoration: line-through; color: var(--muted); opacity: 0.55; cursor: default; }
.time[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }

.bk-summary { position: sticky; top: calc(var(--top-h) + 20px + env(safe-area-inset-top, 0px)); min-width: 0; }
.bk-card { display: grid; gap: 14px; }
.bk-card h2 { font-size: 1.5rem; }
.sum { margin: 0; display: grid; }
.sum > div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sum dt { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding-top: 3px; }
.sum dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.sum-total dd { font: 800 1.6rem/1 var(--display); font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .bk-summary { position: static; } }
.bk-done { grid-column: 1 / -1; max-width: 640px; display: grid; gap: 14px; justify-items: start; }
.done-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 1.6rem; font-weight: 700; }
.bk-done .sum { width: 100%; }

/* ---------- 404 */
.notfound { padding-block: clamp(72px, 12vw, 140px); }

/* ---------- Poraštė */
.foot { background: var(--band); color: var(--band-ink); padding-top: clamp(48px, 6vw, 72px); }
.foot .logo-txt small, .foot p, .foot-list { color: var(--band-muted); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand { display: grid; gap: 16px; justify-items: start; max-width: 40ch; }
.foot-h { font-size: 1.1rem; margin-bottom: 12px; color: var(--band-ink); }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.92rem; }
.foot-list a { text-decoration: none; }
.foot-list a:hover { color: var(--band-ink); text-decoration: underline; }
.foot-locs li { display: grid; }
.foot-locs strong { color: var(--band-ink); font-weight: 600; }
.foot-social { display: flex; gap: 14px; }
.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 18px calc(18px + env(safe-area-inset-bottom, 0px));
  font-size: 0.8rem;
  color: var(--band-muted);
}
.foot-base a { color: var(--band-muted); }

/* ---------- Mobilus registracijos mygtukas */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    min-height: 52px;
    padding: 14px var(--gutter-r) calc(14px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 800;
    text-decoration: none;
    font-family: var(--display);
    text-transform: uppercase;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    transform: translateY(110%);
    transition: transform 0.25s ease;
  }
  .sticky-cta.show { transform: none; }
  .foot-base { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- Judesys */
@media (prefers-reduced-motion: no-preference) {
  .hero-board .board .d-shot, .hero-board .board .d-dribble, .hero-board .board .d-pass {
    stroke-dasharray: 120;
    stroke-dashoffset: 0;
    animation: draw 1.2s ease-out both;
  }
  .hero-board .board .d-pass { animation-delay: 0.2s; }
  .hero-board .board .d-dribble { animation-delay: 0.7s; }
  .hero-board .board .d-shot { animation-delay: 1.2s; }
  @keyframes draw { from { stroke-dashoffset: 120; } to { stroke-dashoffset: 0; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Trenerio nuotrauka (jei įkelta per CMS) */
.coach-card--photo { background: var(--surface-2); }
.coach-card--photo::before, .coach-card--photo::after { display: none; }
.coach-card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
