/* ==========================================================================
   Személyi edzés – landing oldal
   Mobile-first. Sötét, edzőtermi hangulat, limezöld kiemelés.
   ========================================================================== */

:root {
  --bg: #0d0e0f;
  --bg-alt: #121416;
  --surface: #17191c;
  --surface-2: #1d2024;
  --field: #0f1113;

  --line: rgba(236, 234, 228, 0.09);
  --line-strong: rgba(236, 234, 228, 0.18);
  /* Edzőtermi anyagok: EPDM gumipadló, recézett rúdfogás (knurling), acél recéslemez */
  --tex-rubber: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Crect x='58' y='27' width='1' height='1' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='66' y='10' width='1' height='1' fill='%2523c6f03a' opacity='0.5'/%3E%3Crect x='78' y='13' width='1' height='1' fill='%25233a3e43' opacity='0.3'/%3E%3Crect x='102' y='171' width='1' height='1' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='176' y='8' width='1' height='1' fill='%2523656a70' opacity='0.3'/%3E%3Crect x='21' y='56' width='1' height='1' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='34' y='18' width='1' height='1' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='89' y='96' width='1.5' height='1.5' fill='%2523656a70' opacity='0.6'/%3E%3Crect x='65' y='45' width='1' height='1' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='103' y='95' width='1.5' height='1.5' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='176' y='21' width='2' height='2' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='168' y='76' width='1' height='1' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='158' y='56' width='1.5' height='1.5' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='82' y='151' width='1.5' height='1.5' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='11' y='126' width='2' height='2' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='120' y='4' width='2' height='2' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='89' y='39' width='1.5' height='1.5' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='70' y='157' width='1' height='1' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='50' y='25' width='2' height='2' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='75' y='65' width='2' height='2' fill='%25233a3e43' opacity='0.3'/%3E%3Crect x='32' y='42' width='1' height='1' fill='%2523c6f03a' opacity='0.5'/%3E%3Crect x='150' y='33' width='1.5' height='1.5' fill='%2523c6f03a' opacity='0.5'/%3E%3Crect x='75' y='66' width='1.5' height='1.5' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='93' y='111' width='1' height='1' fill='%2523656a70' opacity='0.6'/%3E%3Crect x='171' y='123' width='2' height='2' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='87' y='72' width='1' height='1' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='29' y='61' width='1' height='1' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='97' y='171' width='1' height='1' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='68' y='114' width='1.5' height='1.5' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='21' y='88' width='2' height='2' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='26' y='135' width='1.5' height='1.5' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='93' y='37' width='1.5' height='1.5' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='5' y='95' width='1' height='1' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='66' y='30' width='1' height='1' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='59' y='40' width='1' height='1' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='133' y='41' width='2' height='2' fill='%2523656a70' opacity='0.3'/%3E%3Crect x='5' y='50' width='1.5' height='1.5' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='62' y='146' width='1.5' height='1.5' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='40' y='41' width='1' height='1' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='177' y='110' width='1' height='1' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='144' y='15' width='1' height='1' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='135' y='86' width='1' height='1' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='16' y='170' width='2' height='2' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='15' y='29' width='1' height='1' fill='%2523c6f03a' opacity='0.5'/%3E%3Crect x='106' y='84' width='1' height='1' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='85' y='169' width='1' height='1' fill='%2523656a70' opacity='0.3'/%3E%3Crect x='3' y='175' width='1' height='1' fill='%2523656a70' opacity='0.6'/%3E%3Crect x='78' y='157' width='1' height='1' fill='%2523c6f03a' opacity='0.5'/%3E%3Crect x='38' y='90' width='1.5' height='1.5' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='24' y='164' width='1.5' height='1.5' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='147' y='93' width='1' height='1' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='3' y='79' width='1' height='1' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='27' y='25' width='1' height='1' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='93' y='100' width='1' height='1' fill='%25233a3e43' opacity='0.3'/%3E%3Crect x='34' y='8' width='1' height='1' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='137' y='164' width='2' height='2' fill='%2523656a70' opacity='0.6'/%3E%3Crect x='109' y='36' width='1.5' height='1.5' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='86' y='169' width='1.5' height='1.5' fill='%25233a3e43' opacity='0.6'/%3E%3Crect x='36' y='81' width='2' height='2' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='13' y='43' width='1' height='1' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='22' y='140' width='1.5' height='1.5' fill='%2523656a70' opacity='0.6'/%3E%3Crect x='174' y='40' width='1' height='1' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='178' y='150' width='1' height='1' fill='%25233a3e43' opacity='0.6'/%3E%3Crect x='73' y='76' width='1.5' height='1.5' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='4' y='100' width='2' height='2' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='93' y='53' width='1' height='1' fill='%2523656a70' opacity='0.6'/%3E%3Crect x='41' y='158' width='1' height='1' fill='%2523656a70' opacity='0.3'/%3E%3Crect x='140' y='49' width='1' height='1' fill='%25233a3e43' opacity='0.6'/%3E%3Crect x='122' y='170' width='2' height='2' fill='%2523656a70' opacity='0.6'/%3E%3Crect x='103' y='126' width='1' height='1' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='33' y='161' width='1.5' height='1.5' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='144' y='15' width='1' height='1' fill='%2523656a70' opacity='0.6'/%3E%3Crect x='82' y='61' width='2' height='2' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='23' y='95' width='1' height='1' fill='%25233a3e43' opacity='0.6'/%3E%3Crect x='47' y='33' width='1.5' height='1.5' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='37' y='80' width='1' height='1' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='179' y='7' width='1' height='1' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='34' y='85' width='2' height='2' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='78' y='89' width='2' height='2' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='39' y='41' width='1' height='1' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='114' y='73' width='1.5' height='1.5' fill='%25233a3e43' opacity='0.6'/%3E%3Crect x='3' y='113' width='1.5' height='1.5' fill='%2523656a70' opacity='0.3'/%3E%3Crect x='120' y='69' width='1.5' height='1.5' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='8' y='33' width='1.5' height='1.5' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='173' y='175' width='1.5' height='1.5' fill='%2523656a70' opacity='0.6'/%3E%3Crect x='56' y='64' width='1' height='1' fill='%2523656a70' opacity='0.3'/%3E%3Crect x='50' y='118' width='1' height='1' fill='%2523656a70' opacity='0.3'/%3E%3Crect x='48' y='16' width='2' height='2' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='54' y='113' width='1' height='1' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='135' y='118' width='2' height='2' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='89' y='51' width='1' height='1' fill='%2523656a70' opacity='0.6'/%3E%3Crect x='161' y='113' width='1' height='1' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='102' y='146' width='1' height='1' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='161' y='123' width='1' height='1' fill='%2523656a70' opacity='0.3'/%3E%3Crect x='115' y='173' width='2' height='2' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='113' y='113' width='1' height='1' fill='%2523656a70' opacity='0.3'/%3E%3Crect x='144' y='135' width='1' height='1' fill='%25233a3e43' opacity='0.3'/%3E%3Crect x='133' y='45' width='1' height='1' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='136' y='42' width='2' height='2' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='86' y='123' width='1' height='1' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='14' y='27' width='1.5' height='1.5' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='112' y='24' width='2' height='2' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='121' y='125' width='2' height='2' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='84' y='84' width='1' height='1' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='56' y='15' width='2' height='2' fill='%2523c6f03a' opacity='0.5'/%3E%3Crect x='83' y='148' width='2' height='2' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='165' y='167' width='1' height='1' fill='%25233a3e43' opacity='0.3'/%3E%3Crect x='94' y='171' width='1' height='1' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='50' y='20' width='1.5' height='1.5' fill='%2523656a70' opacity='0.6'/%3E%3Crect x='88' y='4' width='1' height='1' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='73' y='131' width='2' height='2' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='151' y='0' width='1.5' height='1.5' fill='%25233a3e43' opacity='0.3'/%3E%3Crect x='167' y='128' width='1.5' height='1.5' fill='%2523656a70' opacity='0.3'/%3E%3Crect x='70' y='157' width='1' height='1' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='50' y='9' width='1' height='1' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='114' y='27' width='1.5' height='1.5' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='139' y='141' width='2' height='2' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='114' y='164' width='1' height='1' fill='%25233a3e43' opacity='0.3'/%3E%3Crect x='132' y='81' width='1' height='1' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='9' y='167' width='1' height='1' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='51' y='46' width='1.5' height='1.5' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='87' y='120' width='1' height='1' fill='%2523656a70' opacity='0.3'/%3E%3Crect x='37' y='163' width='2' height='2' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='60' y='137' width='2' height='2' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='16' y='62' width='1' height='1' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='146' y='36' width='1' height='1' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='74' y='94' width='2' height='2' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='90' y='103' width='1.5' height='1.5' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='113' y='155' width='1' height='1' fill='%2523656a70' opacity='0.6'/%3E%3Crect x='69' y='116' width='2' height='2' fill='%25233a3e43' opacity='0.6'/%3E%3Crect x='157' y='4' width='1' height='1' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='145' y='174' width='2' height='2' fill='%2523c6f03a' opacity='0.5'/%3E%3Crect x='70' y='167' width='2' height='2' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='20' y='28' width='1' height='1' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='117' y='138' width='2' height='2' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='0' y='23' width='1' height='1' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='23' y='45' width='2' height='2' fill='%25233a3e43' opacity='0.3'/%3E%3Crect x='13' y='94' width='1' height='1' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='108' y='2' width='1.5' height='1.5' fill='%25233a3e43' opacity='0.4'/%3E%3Crect x='57' y='151' width='1' height='1' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='44' y='173' width='1.5' height='1.5' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='159' y='116' width='1' height='1' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='167' y='41' width='1' height='1' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='65' y='71' width='1' height='1' fill='%25233a3e43' opacity='0.5'/%3E%3Crect x='91' y='37' width='1' height='1' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='42' y='40' width='1.5' height='1.5' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='110' y='161' width='2' height='2' fill='%2523656a70' opacity='0.5'/%3E%3Crect x='171' y='26' width='2' height='2' fill='%2523656a70' opacity='0.3'/%3E%3Crect x='107' y='75' width='1' height='1' fill='%2523656a70' opacity='0.4'/%3E%3Crect x='128' y='57' width='1' height='1' fill='%25233a3e43' opacity='0.6'/%3E%3C/svg%3E");
  --tex-knurl: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Cpath d='M0 0L6 6M6 0L0 6' stroke='%2523c8ccd1' stroke-width='0.9' opacity='0.55'/%3E%3C/svg%3E");
  --tex-plate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cg fill='%2523ffffff' opacity='0.05'%3E%3Crect x='5' y='9' width='14' height='4' rx='2' transform='rotate%28-45 12 11%29'/%3E%3Crect x='27' y='9' width='14' height='4' rx='2' transform='rotate%2845 34 11%29'/%3E%3Crect x='5' y='31' width='14' height='4' rx='2' transform='rotate%2845 12 33%29'/%3E%3Crect x='27' y='31' width='14' height='4' rx='2' transform='rotate%28-45 34 33%29'/%3E%3C/g%3E%3Cg fill='%2523000000' opacity='0.35'%3E%3Crect x='6' y='11' width='14' height='2' rx='1' transform='rotate%28-45 13 12%29'/%3E%3Crect x='28' y='11' width='14' height='2' rx='1' transform='rotate%2845 35 12%29'/%3E%3Crect x='6' y='33' width='14' height='2' rx='1' transform='rotate%2845 13 34%29'/%3E%3Crect x='28' y='33' width='14' height='2' rx='1' transform='rotate%28-45 35 34%29'/%3E%3C/g%3E%3C/svg%3E");
  --spot: rgba(255, 248, 232, 0.07);
  --metal-line: linear-gradient(90deg, transparent, rgba(196, 202, 208, 0.32) 20%, rgba(196, 202, 208, 0.32) 80%, transparent);
  --metal-text: linear-gradient(180deg, #f3f3ef 0%, #b9bdc1 45%, #6f7479 100%);

  --text: #eeece7;
  --muted: #a7a7a0;
  --dim: #7c7d79;

  --lime: #c6f03a;
  --lime-hover: #d5f76b;
  --lime-ink: #0d0e0f;
  --lime-soft: rgba(198, 240, 58, 0.12);

  --error: #ff8f7e;

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;

  --container: 1200px;
  --gutter: clamp(16px, 5vw, 40px);
  --section-y: clamp(72px, 11vw, 136px);
  --header-h: 64px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 960px) {
  :root { --header-h: 76px; }
}

/* ---------- Alapok ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--tex-rubber), var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Finom filmszemcse az egész oldalon */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--lime); color: var(--lime-ink); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--lime);
  color: var(--lime-ink);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Helyőrző jelölés: a JS automatikusan leveszi, ha a szögletes zárójeles szöveget lecserélted */
.ph {
  text-decoration: underline dotted rgba(198, 240, 58, 0.55);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

/* ---------- Tipográfia ---------- */

.display {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}

h1.display { font-size: clamp(2.375rem, 9vw, 5.25rem); }
h2.display { font-size: clamp(2rem, 6.4vw, 3.5rem); }

h3 {
  font-family: var(--font-display);
  font-stretch: 105%;
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--lime);
  border-radius: 2px;
  flex: none;
}

.lead {
  font-size: clamp(1.0625rem, 2.4vw, 1.25rem);
  color: #d4d3cd;
  max-width: 34em;
}

.section-intro {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 36em;
}

.prose p { color: #cfcec8; }

.fine-print {
  font-size: 0.875rem;
  color: var(--dim);
}

/* ---------- Gombok és linkek ---------- */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

/* Éles áttűnés: hoverre / fókuszra egy ferde, éles szélű törtfehér „vágás” söpör végig
   a gombon balról jobbra (puha halványítás helyett). A szöveg végig sötét marad. */
.btn-primary {
  border-width: 0; /* a keret alatt ne látsszon ki a lime a söprés végén */
  background: var(--lime);
  color: var(--lime-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 24px -12px rgba(198, 240, 58, 0.45);
}
.btn-primary::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -12%;
  width: 124%;
  background: var(--text);
  transform: translateX(-102%) skewX(-22deg);
  transition: transform 0.38s cubic-bezier(0.7, 0, 0.2, 1);
}
.btn-primary:hover::before,
.btn-primary:focus-visible::before { transform: translateX(0) skewX(-22deg); }
.btn-primary:hover,
.btn-primary:focus-visible { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 10px 28px -12px rgba(236, 234, 228, 0.45); }
.btn-primary:active { transform: translateY(1px); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn-primary:hover { transform: translateY(-1px); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary::before { transition: none; }
}

.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 0.9375rem; }
.btn-lg { min-height: 56px; padding: 16px 30px; font-size: 1.0625rem; }
.btn-block { width: 100%; }

.btn[disabled] { opacity: 0.7; cursor: progress; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}
.link-arrow .link-text {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 6px;
  transition: text-decoration-color 0.2s var(--ease);
}
.link-arrow:hover .link-text { text-decoration-color: var(--lime); }


/* Körös ikongomb éles, ferde limezöld áttűnéssel (a vélemény-nyilak mintájára).
   Minden nyíl és ikon ezt használja: a befoglaló link/gomb hoverjére vagy fókuszára a lime
   balról jobbra „vágással” kitölti a kört, az ikon sötétre vált. */
.icon-circle {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--lime);
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.icon-circle--sm { width: 30px; height: 30px; font-size: 0.875rem; }
.icon-circle::before,
.dialog-close::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -30%;
  background: var(--lime);
  transform: translateX(-102%) skewX(-22deg);
  transition: transform 0.35s cubic-bezier(0.7, 0, 0.2, 1);
}
a:hover .icon-circle,
a:focus-visible .icon-circle,
.persona:hover .icon-circle { border-color: var(--lime); color: var(--lime-ink); }
a:hover .icon-circle::before,
a:focus-visible .icon-circle::before,
.persona:hover .icon-circle::before,
.dialog-close:hover::before,
.dialog-close:focus-visible::before { transform: translateX(0) skewX(-22deg); }
@media (prefers-reduced-motion: reduce) {
  .icon-circle::before,
  .dialog-close::before { transition: none; }
}

/* ---------- Képek és képhelyek ---------- */

.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 75% 15%, rgba(198, 240, 58, 0.05), transparent 55%),
    linear-gradient(155deg, #1d2024 0%, #121416 55%, #0c0d0e 100%);
}

.media picture { display: block; width: 100%; height: 100%; }
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.08) brightness(0.86);
}
/* Marcell saját fotói: természetesebb színek, csak enyhe egységesítés */
.media--photo img,
.media--aside img { filter: saturate(0.92) contrast(1.04); }

/* Ha a kép hiányzik vagy nem tölthető be: dizájnolt, fémes csíkozású helyőrző */
.media.is-missing img { display: none; }
.media.is-missing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    conic-gradient(from 180deg at 50% -8%, transparent 158deg, rgba(255, 248, 232, 0.06) 172deg, rgba(255, 248, 232, 0.06) 188deg, transparent 202deg),
    radial-gradient(ellipse 55% 22% at 50% 88%, rgba(255, 248, 232, 0.07), transparent 70%),
    linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, 0.35) 62.2%, rgba(0, 0, 0, 0.1)),
    var(--tex-rubber);
}
.media.is-missing::after {
  content: attr(data-label);
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  font-size: 0.8125rem;
  color: var(--dim);
  letter-spacing: 0.02em;
}

.media--portrait { aspect-ratio: 4 / 5; }
.media--wide { aspect-ratio: 16 / 10; }
.media--aside { aspect-ratio: 4 / 5; }
@media (max-width: 959px) {
  .media--aside { aspect-ratio: 4 / 3; }
  .media--aside img { object-position: 50% 30%; }
}

.media-caption {
  margin: 14px 0 0;
  font-size: 0.875rem;
  color: var(--dim);
}

/* ---------- Fejléc ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(13, 14, 15, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(13, 14, 15, 0.9);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  margin-right: auto;
}
.brand-logo {
  display: block;
  flex: none;
  width: auto;
  height: 40px;
  aspect-ratio: 1896 / 2104;
}
.brand-logo--lg { height: 64px; }
@media (min-width: 960px) {
  .site-header .brand-logo { height: 48px; }
}

/* görgetéskövető csík a fejléc alján */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #a9d421, var(--lime) 70%, #e3fb94);
  box-shadow: 0 0 10px rgba(198, 240, 58, 0.55);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  will-change: transform;
}

.nav-desktop { display: none; }
.header-cta { display: none; }

.nav-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle-bars {
  position: relative;
  width: 24px;
  height: 12px;
}
.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.nav-toggle-bars span:first-child { top: 0; }
.nav-toggle-bars span:last-child { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu nav a {
  display: flex;
  align-items: center;
  min-height: 64px;
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: 1.75rem;
  text-decoration: none;
}
.mobile-menu-foot { display: grid; gap: 16px; }
.mobile-menu-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  color: var(--muted);
  text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
  .mobile-menu.is-open { animation: menu-in 0.28s var(--ease); }
  @keyframes menu-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
  }
}

@media (min-width: 960px) {
  .nav-toggle,
  .mobile-menu { display: none !important; }

  .nav-desktop { display: block; }
  .nav-desktop ul {
    display: flex;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .nav-desktop a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #cfcec8;
    text-decoration: none;
    transition: color 0.2s var(--ease);
  }
  .nav-desktop a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 8px;
    height: 2px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
  }
  .nav-desktop a:hover,
  .nav-desktop a[aria-current="true"] { color: var(--text); }
  .nav-desktop a:hover::after,
  .nav-desktop a[aria-current="true"]::after { transform: scaleX(1); }

  .header-cta { display: inline-flex; }
}

/* ---------- Szekciók ---------- */

main > section { scroll-margin-top: var(--header-h); }

.section {
  position: relative;
  padding-block: var(--section-y);
  overflow-x: clip;
  /* felülről világító spotlámpa fényköre */
  background-image: radial-gradient(ellipse 60% 420px at 50% 0, var(--spot), transparent 75%);
}
.section--alt {
  background:
    radial-gradient(ellipse 60% 420px at 50% 0, var(--spot), transparent 75%),
    var(--tex-rubber),
    var(--bg-alt);
}

/* Vékony, fémes elválasztó a szekciók tetején */
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--metal-line);
  opacity: 0.6;
}

/* a vonal közepén egy darab recézett rúdfogás */
.section::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: clamp(96px, 14vw, 168px);
  height: 7px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: var(--tex-knurl), linear-gradient(180deg, #44484d, #1c1e21);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 2px 6px rgba(0, 0, 0, 0.5);
}

.section-head { position: relative; isolation: isolate; margin-bottom: clamp(40px, 6vw, 64px); max-width: 760px; }

/* óriás, körvonalas háttérszó a szekciócím mögött (edzőtermi plakát) */
.ghost-word {
  position: absolute;
  z-index: -1;
  top: -0.42em;
  left: -0.05em;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(4.5rem, 17vw, 12.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 234, 228, 0.08);
  pointer-events: none;
  user-select: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: var(--header-h);
}

.hero-stage {
  --spot-x: 30%;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: max(560px, calc(100svh - var(--header-h)));
  padding-block: 32px clamp(40px, 8vw, 72px);
  overflow: hidden;
}

/* reflektorkúp felülről a logóra */
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    conic-gradient(from 180deg at var(--spot-x) 0, transparent 152deg, rgba(255, 248, 232, 0.07) 166deg, rgba(255, 248, 232, 0.1) 180deg, rgba(255, 248, 232, 0.07) 194deg, transparent 208deg),
    radial-gradient(ellipse 30% 46% at var(--spot-x) 0, rgba(255, 248, 232, 0.12), transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
/* mennyezeti LED-sáv, ebből indul a fénykúp */
.hero-stage::after {
  content: "";
  position: absolute;
  top: 0;
  left: var(--spot-x);
  z-index: -1;
  width: clamp(120px, 16vw, 240px);
  height: 3px;
  transform: translateX(-50%);
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, transparent, #fffaf0 18%, #fffaf0 82%, transparent);
  box-shadow: 0 0 18px 4px rgba(255, 248, 232, 0.35), 0 0 60px 12px rgba(255, 248, 232, 0.12);
  pointer-events: none;
}
@media (min-width: 960px) {
  .hero-stage { --spot-x: 74%; }
}

/* Mobilon a logó a szöveg fölött, asztalon a jobb oldali oszlopban */
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}
.hero-content { max-width: 640px; min-width: 0; }

.hero .eyebrow { color: #d9d8d2; }
.hero .lead { margin-top: 22px; }

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 32px;
}
.hero-actions .link-arrow { justify-content: center; }

.hero-points {
  display: grid;
  gap: 10px;
  margin: 32px 0 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid var(--line-strong);
  font-size: 0.9375rem;
  color: #d4d3cd;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-points li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    var(--lime-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23c6f03a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

@media (min-width: 560px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }
}

@media (min-width: 960px) {
  .hero-stage { align-items: center; padding-bottom: 72px; }
  .hero-inner {
    grid-template-columns: minmax(0, 640px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 80px);
  }
  .hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
  }
}

/* Alacsonyabb laptopképernyőn (pl. 1366×768) a cím a magassághoz igazodik,
   hogy a hero egy képernyőn elférjen */
@media (min-width: 960px) and (max-height: 920px) {
  .hero h1.display { font-size: clamp(2.5rem, min(5.6vw, 7.4svh), 5.25rem); }
  .hero .lead { margin-top: 16px; }
  .hero-actions { margin-top: 24px; }
  .hero-points { margin-top: 24px; padding-top: 18px; }
  .hero-stage { padding-block: 28px; }
}

/* ---------- Hero logó (KOS-I TEAM) ----------
   Egyszeri nyitó animáció, tisztán CSS-ben: a pajzs kontúrja megrajzolódik,
   a szarvbordák a koponyától kifelé limezöldben felizzanak, a kosfej előrefejel
   (lökéshullám + remegés), a betűk becsapódnak, végül limezöld fénycsík söpör
   végig. Csökkentett mozgásnál a kész logó jelenik meg. */

.hero-logo {
  --logo-white: #eeece7;
  --logo-light: #b9bbbe;
  --logo-dark: #7d8084;
  position: relative;
  order: -1;
  width: clamp(116px, 34vw, 168px);
  aspect-ratio: 1896 / 2104;
  max-width: 100%;
  perspective: 1000px;
  transform: translate3d(0, var(--py, 0px), 0);
}
/* finom, statikus fény a logó mögött, alatta a padlón a reflektor foltja */
.hero-logo::before {
  content: "";
  position: absolute;
  inset: -18% -22%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(198, 240, 58, 0.08), rgba(198, 240, 58, 0.025) 55%, transparent 75%);
  pointer-events: none;
}
.hero-logo::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -9%;
  height: 16%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 248, 232, 0.08), rgba(255, 248, 232, 0.03) 55%, transparent);
  pointer-events: none;
}

.kosi-logo {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.55));
}
.kosi-logo path { fill-rule: evenodd; }
.kosi-logo .tw { fill: var(--logo-white); }
.kosi-logo .tl { fill: var(--logo-light); }
.kosi-logo .td { fill: var(--logo-dark); }
.kosi-logo .kl-line {
  fill: none;
  stroke: var(--logo-white);
  stroke-width: 9;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
}
.kosi-logo .kl-wave {
  fill: none;
  stroke: var(--lime);
  stroke-width: 14;
  opacity: 0;
}
.kosi-logo .kl-wave,
.kosi-logo .kl-horns path,
.kosi-logo .kl-face,
.kosi-logo .kl-letter {
  transform-box: fill-box;
  transform-origin: center;
}
.kosi-logo .kl-word .kl-letter { transform-origin: 50% 100%; }

/* alacsony telefonon (pl. iPhone SE) a fő gomb maradjon a hajtás fölött */
@media (max-width: 959px) and (max-height: 720px) {
  .hero-logo { width: 92px; }
  .hero-inner { gap: 18px; }
  .hero-stage { padding-top: 20px; }
}

@media (min-width: 960px) {
  .hero-logo {
    order: 0;
    justify-self: center;
    width: auto;
    height: min(64svh, 600px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .kosi-logo .kl-line { animation: kl-draw 0.8s var(--ease) 0.15s forwards, kl-fade 0.45s ease 0.9s forwards; }
  .kosi-logo .kl-badge { animation: kl-in 0.4s ease 0.7s both; }
  .kosi-logo .kl-horns path { animation: kl-ignite 0.6s var(--ease) calc(0.55s + var(--d) * 0.75s) both; }
  .kosi-logo .kl-face { animation: kl-butt 0.55s cubic-bezier(0.3, 0.7, 0.2, 1.2) 1s both; }
  .kosi-logo .kl-art { animation: kl-shake 0.3s linear 1.32s; }
  .kosi-logo .kl-wave { animation: kl-wave 0.9s cubic-bezier(0.1, 0.6, 0.2, 1) 1.3s forwards; }
  .kosi-logo .kl-word .kl-letter { animation: kl-slam 0.45s cubic-bezier(0.3, 0.7, 0.2, 1.15) calc(1.45s + var(--i) * 0.07s) both; }
  .kosi-logo .kl-team .kl-letter { animation: kl-rise 0.45s var(--ease) calc(1.85s + var(--i) * 0.06s) both; }
  .kosi-logo .kl-sheen-bar { animation: kl-sheen 1.1s cubic-bezier(0.5, 0, 0.3, 1) 2.2s both; }
}

@keyframes kl-draw {
  from { opacity: 1; stroke-dashoffset: 1; }
  to { opacity: 1; stroke-dashoffset: 0; }
}
@keyframes kl-fade {
  from { opacity: 1; stroke-dashoffset: 0; }
  to { opacity: 0; stroke-dashoffset: 0; }
}
@keyframes kl-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* a borda limezölden felizzik, majd a saját árnyalatára hűl */
@keyframes kl-ignite {
  0% { opacity: 0; fill: var(--lime); transform: scale(0.82); }
  35% { opacity: 1; fill: var(--lime); transform: scale(1.04); }
  100% { opacity: 1; transform: none; }
}
@keyframes kl-butt {
  0% { opacity: 0; transform: translateY(-60px) scale(0.8); }
  65% { opacity: 1; transform: translateY(14px) scale(1.06); }
  100% { opacity: 1; transform: none; }
}
@keyframes kl-shake {
  0%, 100% { transform: none; }
  20% { transform: translate(-12px, 6px); }
  40% { transform: translate(10px, -6px); }
  60% { transform: translate(-6px, 3px); }
  80% { transform: translate(4px, -2px); }
}
@keyframes kl-wave {
  0% { opacity: 0.85; transform: scale(0.3); }
  100% { opacity: 0; transform: scale(3.6); }
}
@keyframes kl-slam {
  0% { opacity: 0; transform: translateY(-140px) scaleY(1.3); }
  60% { opacity: 1; transform: translateY(10px) scaleY(0.9); }
  100% { opacity: 1; transform: none; }
}
@keyframes kl-rise {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: none; }
}
@keyframes kl-sheen {
  from { transform: translateX(0) skewX(-18deg); }
  to { transform: translateX(3400px) skewX(-18deg); }
}

/* ---------- Kinek szól ---------- */

/* „Melyik vagy te?” kártyák: a látogató saját szavai, Marcell válasza, kattintásra az űrlap
   a hozzá illő céllal nyílik */
.personas {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.persona {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 45%), var(--surface);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.25s var(--ease);
}
.persona:hover,
.persona:focus-within { border-color: rgba(198, 240, 58, 0.55); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .persona:hover { transform: translateY(-3px); }
}
.persona-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(198, 240, 58, 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}
.persona-quote {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 800;
  font-size: clamp(1.3rem, 2.4vw, 1.625rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.persona p { margin: 0; color: var(--muted); max-width: 34em; }
.persona-link {
  margin-top: auto;
  padding-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

/* az egész kártya kattintható, nagy érintési felület */
.persona-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.persona-link:focus-visible { outline: none; }
.persona:has(.persona-link:focus-visible) { outline: 2px solid var(--lime); outline-offset: 3px; }

.persona-more {
  margin: clamp(28px, 4vw, 40px) 0 0;
  color: var(--muted);
  max-width: 46em;
}
.persona-more .link-arrow { min-height: 44px; }

@media (min-width: 720px) {
  .personas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (min-width: 1100px) {
  .personas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Rólam ---------- */

.about {
  display: grid;
  gap: 48px;
}
.about-media .media { max-width: 520px; }

.credentials {
  margin-top: 40px;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.credentials-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.credentials-list { list-style: none; margin: 0; padding: 0; }
.credentials-list li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.credentials-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.credential-year {
  grid-row: span 2;
  align-self: start;
  padding-top: 2px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}
.credential-name { grid-column: 2; font-weight: 600; }
.credential-meta { grid-column: 2; font-size: 0.9375rem; color: var(--dim); }

@media (min-width: 960px) {
  .about {
    grid-template-columns: 5fr 6fr;
    gap: clamp(48px, 7vw, 104px);
    align-items: start;
  }
  .about-media { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Így működik ---------- */

/* Megpakolt súlyzórúd: egy végigfutó recézett rúd, rajta a lépések súlytárcsái.
   Görgetésre limezöld fény tölti fel a rudat (--fill: 0–1), és amelyik tárcsát eléri, az
   „felkerül” (.is-active). Asztalon vízszintes rúd, mobilon függőleges a tárcsák között.
   JS nélkül és csökkentett mozgásnál minden lépés aktív, a rúd tele. */
.steps-wrap {
  --fill: 1;
  position: relative;
}
.steps-bar {
  position: absolute;
  left: 38px;
  top: var(--bar-start, 42px);
  width: 8px;
  height: var(--bar-len, calc(100% - 84px));
  border-radius: 4px;
  background: var(--tex-knurl), linear-gradient(90deg, #4a4e53, #24272a 55%, #17191b);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.steps-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: calc(var(--fill) * 100%);
  border-radius: inherit;
  background: var(--tex-knurl), linear-gradient(90deg, #e3fb94, var(--lime) 60%, #a9d421);
  box-shadow: 0 0 16px rgba(198, 240, 58, 0.5);
}

.steps {
  position: relative;
  display: grid;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  column-gap: 20px;
  align-items: start;
}
.step h3 { margin-top: 12px; }
.step p { grid-column: 2; color: var(--muted); max-width: 26em; }

.step-num {
  position: relative;
  z-index: 1;
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0;
  color: var(--text);
  background: radial-gradient(circle at 35% 28%, #34383d, #17191c 62%, #0e0f11);
  --rim: var(--lime);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 0 0 3px #101113,
    inset 0 0 0 4.5px var(--rim),
    inset 0 0 0 11px rgba(0, 0, 0, 0.3),
    inset 0 0 0 12px rgba(255, 255, 255, 0.06),
    0 10px 24px rgba(0, 0, 0, 0.55);
  transition: color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

/* élő mód (JS kapcsolja be): a még el nem ért lépések halványak, a tárcsájuk szürke peremű */
.steps-live .step h3,
.steps-live .step p { transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.steps-live .step:not(.is-active) h3,
.steps-live .step:not(.is-active) p { opacity: 0.32; transform: translateY(6px); }
.steps-live .step:not(.is-active) .step-num { --rim: #45494e; color: var(--dim); }
.steps-live .step.is-active .step-num {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 0 0 3px #101113,
    inset 0 0 0 4.5px var(--rim),
    inset 0 0 0 11px rgba(0, 0, 0, 0.3),
    inset 0 0 0 12px rgba(255, 255, 255, 0.06),
    0 0 22px rgba(198, 240, 58, 0.28),
    0 10px 24px rgba(0, 0, 0, 0.55);
}
/* a tárcsa „felkerül” a rúdra: rövid koppanó mozdulat */
.step.is-clank .step-num { animation: plate-clank 0.5s cubic-bezier(0.3, 0.7, 0.2, 1.3); }
@keyframes plate-clank {
  0% { transform: translateY(-16px) scale(1.12) rotate(-8deg); }
  55% { transform: translateY(3px) scale(0.97) rotate(2deg); }
  100% { transform: none; }
}

.steps-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-top: clamp(48px, 7vw, 72px);
}
.steps-cta .fine-print { text-align: center; }
/* ha mindhárom tárcsa a rúdon van, a gomb egyszer finoman felvillan */
.steps-cta.is-ready .btn-primary { animation: cta-ready 1.3s var(--ease); }
@keyframes cta-ready {
  40% { box-shadow: 0 0 0 7px rgba(198, 240, 58, 0.22), 0 10px 30px -10px rgba(198, 240, 58, 0.6); }
}

@media (min-width: 560px) {
  .steps-cta { flex-direction: row; align-items: center; gap: 24px; }
  .steps-cta .fine-print { text-align: left; }
}

@media (min-width: 900px) {
  .steps-bar {
    left: 0;
    right: 0;
    top: 37px;
    width: auto;
    height: 10px;
    border-radius: 5px;
    background: var(--tex-knurl), linear-gradient(180deg, #4a4e53, #24272a 55%, #17191b);
  }
  .steps-fill {
    width: calc(var(--fill) * 100%);
    height: 100%;
    background: var(--tex-knurl), linear-gradient(180deg, #e3fb94, var(--lime) 60%, #a9d421);
  }
  .steps { grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 56px); }
  .step { display: block; }
  .step-num { margin-bottom: 24px; }
  .step h3 { margin-top: 0; }
}

/* ---------- Képsáv ---------- */

/* Önálló, keretezett kijelentés-sáv: éles felső és alsó széllel, saját sötét felülettel,
   hogy fotóval és fotó nélkül is egyértelműen elváljon a szomszéd szekcióktól */
.band {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(300px, 46vh, 500px);
  padding-block: clamp(64px, 9vw, 112px);
  overflow: hidden;
  background: #08090a;
  border-block: 1px solid rgba(236, 234, 228, 0.12);
}
/* a felső élen ugyanaz a recézett rúddarab, mint a többi elválasztón */
.band::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: clamp(96px, 14vw, 168px);
  height: 7px;
  transform: translateX(-50%);
  border-radius: 2px;
  background: var(--tex-knurl), linear-gradient(180deg, #44484d, #1c1e21);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 2px 6px rgba(0, 0, 0, 0.5);
}
.band-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: 0;
}
/* a sávban a teremfotó felső része (arc, vállak) látszik; asztalon a fotó a sáv
   jobb felében áll, a szöveg balra a sötét felületen, így az alak nem kerül a szöveg mögé */
.band-media img { object-position: 50% 22%; }
@media (min-width: 960px) {
  /* asztalon a teljes álló fotó látszik (3:4) a sáv jobb oldalán, a container széléhez
     igazítva; mindkét oldala puhán beleolvad a sötét felületbe */
  .band { min-height: clamp(520px, 74vh, 720px); }
  .band-media {
    left: auto;
    right: max(var(--gutter), (100% - var(--container)) / 2);
    width: auto;
    aspect-ratio: 3 / 4;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%, #000 86%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 28%, #000 86%, transparent 100%);
  }
  .band-media img { object-position: 50% 50%; }
  .band .band-shade {
    background: linear-gradient(180deg, rgba(8, 9, 10, 0.35), transparent 18%, transparent 82%, rgba(8, 9, 10, 0.35));
  }
}.band-media.is-missing::after { top: 24px; bottom: auto; left: var(--gutter); }
/* fotó nélkül: üres falfelület egyetlen ferde reflektorfénnyel (padlóvonal nélkül) */
.band-media.is-missing::before {
  background:
    conic-gradient(from 180deg at 78% -10%, transparent 150deg, rgba(255, 248, 232, 0.05) 168deg, rgba(255, 248, 232, 0.07) 180deg, rgba(255, 248, 232, 0.05) 192deg, transparent 210deg),
    var(--tex-rubber);
}
.band-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* egyenletes sötétítés és szélein erősödő vignetta: nincs átfolyás a szomszéd szekciók színébe */
  background:
    linear-gradient(90deg, rgba(8, 9, 10, 0.88) 0%, rgba(8, 9, 10, 0.55) 55%, rgba(8, 9, 10, 0.35) 100%),
    linear-gradient(180deg, rgba(8, 9, 10, 0.5), transparent 25%, transparent 75%, rgba(8, 9, 10, 0.5));
}
.band-text {
  font-size: clamp(1.875rem, 5.6vw, 3.75rem);
  max-width: 14em;
}
.band-text span { color: var(--lime); }

/* ---------- Mit kapsz (Edzések) ---------- */

/* Pincelámpa: zsinóron lógó izzó a szekció jobb felső sarkában. Lassan leng
   (inga), a fénye időnként megrebben, de soha nem alszik ki teljesen, és
   másodpercenként legfeljebb két rebbenés van (WCAG 2.3.1 alatt). */
#edzesek > .container { position: relative; z-index: 1; }
.lamp {
  --cord: 52px;
  --bulb: 32px;
  position: absolute;
  top: 0;
  right: clamp(20px, 9vw, 150px);
  z-index: 0;
  pointer-events: none;
}
.lamp-swing {
  position: relative;
  transform-origin: 50% 0;
}
.lamp-cord {
  display: block;
  width: 2px;
  height: var(--cord);
  margin-inline: auto;
  background: linear-gradient(90deg, #1a1b1d, #4a4d51, #1a1b1d);
}
.lamp-bulb {
  position: relative;
  z-index: 2;
  display: block;
  width: var(--bulb);
  height: auto;
  margin: -1px auto 0;
  overflow: visible;
}
.lamp-glass { fill: rgba(255, 255, 255, 0.06); stroke: rgba(255, 255, 255, 0.28); stroke-width: 1; }
.lamp-wire { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 0.8; }
.lamp-filament { fill: none; stroke: #fff4c9; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 0 2px #ffcf7a); }
/* meleg fényudvar az izzó körül */
.lamp-glow {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: calc(var(--cord) + var(--bulb) * 1.05);
  width: calc(var(--bulb) * 9);
  height: calc(var(--bulb) * 9);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 214, 140, 0.32), rgba(255, 170, 80, 0.12) 45%, transparent 100%);
}
/* lefelé eső fénykúp: együtt leng az izzóval, és végigsöpör a falon */
.lamp-cone {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: calc(var(--cord) + var(--bulb) * 1.2);
  width: calc(var(--bulb) * 18);
  height: calc(var(--bulb) * 16);
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 100% at 50% 0, rgba(255, 210, 140, 0.13), rgba(255, 180, 90, 0.05) 55%, transparent 80%);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  /* a kúp az izzónál puhán indul, és a padló felé elhalványul */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 55%, transparent 100%);
}

@media (min-width: 900px) {
  .lamp { --cord: 96px; --bulb: 44px; }
}

@media (prefers-reduced-motion: no-preference) {
  .lamp-swing { animation: lamp-swing 5.6s ease-in-out infinite alternate; }
  .lamp-light { animation: lamp-flicker 11s linear infinite; }
  .lamp.is-paused .lamp-swing,
  .lamp.is-paused .lamp-light { animation-play-state: paused; }
}
@keyframes lamp-swing {
  from { transform: rotate(-7deg); }
  to { transform: rotate(7deg); }
}
/* 11 mp-es ciklus: hosszú egyenletes égés, két szabálytalan rebbenés-csomag.
   1% ≈ 110 ms, így két rebbenés között legalább ~0,5 mp telik el. */
@keyframes lamp-flicker {
  0%, 31% { opacity: 1; }
  32% { opacity: 0.45; }
  33.5% { opacity: 0.95; }
  37% { opacity: 1; }
  38% { opacity: 0.6; }
  39.5%, 71% { opacity: 1; }
  72% { opacity: 0.5; }
  74% { opacity: 0.85; }
  78% { opacity: 0.7; }
  80%, 100% { opacity: 1; }
}

/* három „zóna”: mindegyik egy-egy megvilágított edzőtermi falszakasz, recéslemez
   táblafelirattal és nagy, halvány zónabetűvel; asztalon fölé állva „felkapcsol” */
.zones {
  display: grid;
  gap: 16px;
}
.zone {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 90% 60% at 50% 0, rgba(255, 248, 232, 0.06), transparent 70%),
    var(--surface);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
/* nagy, körvonalas zónabetű a jobb alsó sarokban */
.zone::after {
  content: attr(data-zone);
  position: absolute;
  right: -0.06em;
  bottom: -0.24em;
  z-index: -1;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(8rem, 18vw, 12rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 234, 228, 0.07);
  pointer-events: none;
  transition: -webkit-text-stroke-color 0.3s var(--ease);
}
.zone-sign {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 18px clamp(20px, 2.6vw, 28px);
  border-bottom: 1px solid var(--line-strong);
  background: linear-gradient(rgba(15, 16, 18, 0.55), rgba(15, 16, 18, 0.55)), var(--tex-plate), #121416;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  /* a felirat a panel szélességéhez igazodik, hogy a hosszú szó (TÁPLÁLKOZÁS) se lógjon ki */
  font-size: clamp(1.125rem, 2.1vw, 1.875rem);
  font-size: clamp(1.125rem, 7.2cqi, 1.875rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.zone-index {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1.6em;
  height: 1.6em;
  border-radius: 8px;
  font-size: 0.72em;
  font-stretch: 100%;
  color: var(--lime-ink);
  background: var(--lime);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset, 0 0 18px rgba(198, 240, 58, 0.25);
}
.zone-list {
  margin: 0;
  padding: 4px clamp(20px, 2.6vw, 28px) 12px;
  list-style: none;
}
.zone-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.zone-list li:last-child { border-bottom: 0; }
.zone-list h4 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-stretch: 105%;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
}
.zone-list p { margin: 0; color: var(--muted); font-size: 0.975rem; }

@media (hover: hover) {
  .zone:hover {
    border-color: rgba(198, 240, 58, 0.55);
    background:
      radial-gradient(ellipse 90% 60% at 50% 0, rgba(255, 248, 232, 0.1), transparent 70%),
      radial-gradient(ellipse 70% 50% at 100% 100%, rgba(198, 240, 58, 0.06), transparent 70%),
      var(--surface);
  }
  .zone:hover::after { -webkit-text-stroke-color: rgba(198, 240, 58, 0.22); }
}

@media (min-width: 900px) {
  .zones { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

/* „Amit vállalok”: recéslemez panel, a szekció bizalmi záróakkordja */
.promise {
  margin-top: clamp(48px, 7vw, 80px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  /* a recéslemez csak sejlik a szöveg mögött */
  background: linear-gradient(rgba(23, 25, 28, 0.72), rgba(23, 25, 28, 0.72)), var(--tex-plate), var(--surface);
  overflow: hidden;
}
.promise-col { padding: clamp(24px, 4vw, 40px); }
.promise-label {
  margin: 0 0 16px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}
.promise ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.promise li {
  position: relative;
  padding-left: 26px;
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.2;
}
.promise li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--lime);
}

@media (min-width: 900px) {
  .promise ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
}

/* ---------- Eredmények ---------- */

/* Előtte–utána fotók: asztalon rács, mobilon vízszintesen húzható sor (scroll-snap).
   A fotók nem kapnak színszűrőt: egy átalakulásnál a hitelesség a lényeg. */
.results {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 14px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 4px var(--gutter) 18px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(198, 240, 58, 0.5) transparent;
}
.results:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.result { scroll-snap-align: start; min-width: 0; }
.result figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.result img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .result:hover img { transform: scale(1.03); }
}
/* középső választóvonal, mint két egymás mellé tett fotó */
/* cikcakkos „törésvonal” a két fotó között. Az alapvonal halványan látszik, rajta folyamatosan
   fentről lefelé fut végig egy erős, izzó fénycsomag (a maszk mozog, nem a vonal). A kártyák
   eltolva indulnak. Csökkentett mozgásnál a vonal teljes fényerővel, állva látszik. */
.result figure::after,
.ty-seam {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 16px;
  transform: translateX(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='22'%3E%3Cpath d='M8 0L14 5.5L2 16.5L8 22' fill='none' stroke='%23c6f03a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center top / 16px 22px repeat-y;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 7px rgba(198, 240, 58, 0.9));
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .result figure::after,
  .ty-seam {
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.32) 38%, #000 47%, #000 53%, rgba(0, 0, 0, 0.32) 62%, rgba(0, 0, 0, 0.32) 100%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.32) 38%, #000 47%, #000 53%, rgba(0, 0, 0, 0.32) 62%, rgba(0, 0, 0, 0.32) 100%);
    -webkit-mask-size: 100% 300%;
    mask-size: 100% 300%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    animation: seam-run 2.4s linear infinite;
  }
  .result:nth-child(3n+2) figure::after { animation-delay: -0.8s; }
  .result:nth-child(3n) figure::after { animation-delay: -1.6s; }
  @keyframes seam-run {
    from { -webkit-mask-position: 0 100%; mask-position: 0 100%; }
    to { -webkit-mask-position: 0 0; mask-position: 0 0; }
  }
}
.result-tag {
  position: absolute;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.result-tag--before { left: 12px; color: var(--text); background: rgba(13, 14, 15, 0.72); }
.result-tag--after { right: 12px; color: var(--lime-ink); background: var(--lime); }
.result figcaption {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.8125rem;
  background: rgba(13, 14, 15, 0.72);
}
.results-note {
  margin: 18px 0 0;
  max-width: 52em;
  font-size: 0.875rem;
  color: var(--dim);
}

@media (min-width: 720px) {
  .results {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }
}

/* ---------- Vendégvélemények ---------- */

/* Lapozható vélemények: egyszerre egy nagy vélemény, nyilakkal, pöttyökkel,
   billentyűzettel és húzással lapozható. JS nélkül mind egymás alatt látszik. */
.testi {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 70% 60% at 0 0, rgba(198, 240, 58, 0.07), transparent 70%),
    linear-gradient(rgba(23, 25, 28, 0.82), rgba(23, 25, 28, 0.82)), var(--tex-plate), var(--surface);
  overflow: hidden;
}
.testi-stage {
  display: grid;
  gap: 1px;
  touch-action: pan-y;
}
.testi-slide {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: clamp(28px, 5vw, 64px) clamp(24px, 6vw, 80px);
}
/* nagy, körvonalas monogram a háttérben */
.testi-initial {
  position: absolute;
  z-index: -1;
  right: clamp(8px, 4vw, 48px);
  bottom: -0.22em;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  font-size: clamp(9rem, 26vw, 19rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(198, 240, 58, 0.16);
  pointer-events: none;
  user-select: none;
}
.testimonial-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.testimonial-tags span {
  padding: 5px 11px;
  border: 1px solid rgba(198, 240, 58, 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}
.testi-text {
  margin: 0;
  max-width: 24em;
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 800;
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.testi-slide figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--lime-ink);
  background: var(--lime);
}
.testimonial-name { display: block; font-weight: 600; font-size: 1.0625rem; }

.testi-nav { display: none; }

/* élő mód: a diák egymásra kerülnek (a legmagasabb adja a magasságot), csak az aktív látszik */
.testi.is-live .testi-stage { grid-template-areas: "slide"; }
.testi.is-live .testi-slide {
  grid-area: slide;
  opacity: 0;
  visibility: hidden;
  transform: translateX(calc(var(--from, 1) * 32px));
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease), visibility 0s linear 0.55s;
}
.testi.is-live .testi-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease), visibility 0s;
}
.testi.is-live .testi-slide.is-leaving { transform: translateX(calc(var(--to, -1) * 32px)); }

.testi.is-live .testi-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px clamp(16px, 4vw, 40px);
  border-top: 1px solid var(--line);
}
.testi-count {
  margin: 0 auto 0 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
}
.testi-current { color: var(--lime); }
.testi-total { color: var(--dim); }
.testi-dots { display: flex; gap: 2px; }
.testi-dot {
  position: relative;
  width: 32px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.testi-dot::before {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  border-radius: 2px;
  background: rgba(236, 234, 228, 0.18);
  transition: background-color 0.25s var(--ease);
}
.testi-dot:hover::before { background: rgba(236, 234, 228, 0.4); }
.testi-dot.is-active::before { background: var(--lime); }
.testi-arrow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
/* ugyanaz az éles, ferde „vágás”, mint a gomboknál */
.testi-arrow::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -30%;
  background: var(--lime);
  transform: translateX(-102%) skewX(-22deg);
  transition: transform 0.35s cubic-bezier(0.7, 0, 0.2, 1);
}
.testi-arrow:hover,
.testi-arrow:focus-visible { border-color: var(--lime); color: var(--lime-ink); }
.testi-arrow:hover::before,
.testi-arrow:focus-visible::before { transform: translateX(0) skewX(-22deg); }

@media (max-width: 559px) {
  .testi-dots { display: none; }
}

/* ---------- Árak ---------- */

.pricing {
  display: grid;
  gap: 16px;
}
.price {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
@media (hover: hover) {
  .price:hover { border-color: var(--line-strong); }
}
.price-name {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.price-amount {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  line-height: 1.15;
  margin-bottom: 12px;
}
.price-desc { color: var(--muted); font-size: 0.975rem; }
.price-includes {
  display: grid;
  gap: 10px;
  margin: 4px 0 8px;
  padding: 0;
  list-style: none;
}
.price-includes li {
  position: relative;
  padding-left: 24px;
  font-size: 0.975rem;
}
.price-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 3px;
  border-radius: 2px;
  background: var(--lime);
}
/* a versenyzői csomag finom lime kerettel emelkedik ki */
.price--featured {
  border-color: rgba(198, 240, 58, 0.45);
  background: radial-gradient(ellipse 80% 50% at 50% 0, rgba(198, 240, 58, 0.06), transparent 70%), var(--surface);
}

.price-facts {
  margin: auto 0 0;
  padding-top: 20px;
  display: grid;
}
.price-facts div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}
.price-facts dt { color: var(--dim); flex: none; }
.price-facts dd { margin: 0; text-align: right; font-weight: 500; }

.pricing-foot {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  margin-top: 36px;
}
.pricing-foot .fine-print { margin: 0; }

@media (min-width: 900px) {
  .pricing { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 20px; }
  .price { padding: 32px 28px; }
  .pricing-foot { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ---------- Jelentkezés ---------- */

.contact {
  display: grid;
  gap: 48px;
}

.form-panel {
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.lead-form { display: grid; gap: 20px; }

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
}
.optional { font-weight: 400; color: var(--dim); }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem; /* 16px: iOS nem nagyít rá */
  color: var(--text);
  background: var(--field);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23a7a7a0' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  cursor: pointer;
}
.field select option { background: var(--surface); color: var(--text); }

.field input:hover,
.field select:hover { border-color: rgba(236, 234, 228, 0.3); }

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(198, 240, 58, 0.18);
}

/* a „Kinek szól?” kártyáról érkezve a kiválasztott cél egy pillanatra kiemelődik */
@media (prefers-reduced-motion: no-preference) {
  .field.is-preset select { animation: preset-flash 1.6s var(--ease) 0.5s; }
  @keyframes preset-flash {
    0%, 100% { box-shadow: 0 0 0 0 rgba(198, 240, 58, 0); border-color: var(--line-strong); }
    25% { box-shadow: 0 0 0 4px rgba(198, 240, 58, 0.25); border-color: var(--lime); }
  }
}

.field.has-error input,
.field.has-error select { border-color: var(--error); }
.field.has-error input:focus { box-shadow: 0 0 0 3px rgba(255, 143, 126, 0.18); }

.field-error {
  margin: 8px 0 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--error);
}
.field-error:empty { display: none; }
.field-error::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--error);
  color: var(--lime-ink);
  font-size: 0.6875rem;
  font-weight: 800;
  vertical-align: 1px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.consent input {
  -webkit-appearance: none;
  appearance: none;
  flex: none;
  width: 24px;
  height: 24px;
  margin: 1px 0 0;
  border: 1.5px solid rgba(236, 234, 228, 0.4);
  border-radius: 6px;
  background: var(--field);
  cursor: pointer;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.consent input:checked {
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%230d0e0f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
  border-color: var(--lime);
}
.field.has-error .consent input { border-color: var(--error); }
.consent label {
  margin: 0;
  font-weight: 400;
  font-size: 0.9375rem;
  color: #d4d3cd;
  cursor: pointer;
}
.consent label a {
  color: var(--text);
  text-decoration-color: var(--lime);
  text-underline-offset: 3px;
}

.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-alert {
  padding: 14px 16px;
  border: 1px solid rgba(255, 143, 126, 0.4);
  border-radius: var(--radius-sm);
  background: rgba(255, 143, 126, 0.08);
  color: #ffd6cf;
  font-size: 0.9375rem;
}
.form-alert a { color: #fff; }

.btn .spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(13, 14, 15, 0.25);
  border-top-color: var(--lime-ink);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  padding: 12px 4px;
  outline: none;
}
.form-success h3 {
  font-size: clamp(1.375rem, 3.5vw, 1.75rem);
  margin: 20px 0 12px;
}
.form-success p { color: var(--muted); }
.success-mark {
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%230d0e0f' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 30px no-repeat;
}

.contact-aside { display: grid; gap: 28px; align-content: start; }
.contact-facts { margin: 0; display: grid; }
.contact-facts div {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.contact-facts dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.contact-facts dd { margin: 0; font-size: 1.0625rem; }
.contact-facts a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.contact-facts a:hover { border-bottom-color: var(--lime); }

@media (min-width: 640px) {
  .form-panel { padding: 36px 32px; }
}

@media (min-width: 960px) {
  .contact {
    grid-template-columns: 7fr 5fr;
    gap: clamp(48px, 6vw, 88px);
    align-items: start;
  }
  .contact-aside { margin-top: 12px; }
}

/* ---------- Lábléc ---------- */

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 64px 0 32px;
  background: var(--tex-plate), #0a0b0c;
}
.footer-grid,
.footer-bottom { position: relative; z-index: 1; }
/* óriás „KOSI TEAM” a lábléc hátterében: körvonalas, fémes-limés kitöltéssel, ami
   lefelé elhalványul; a teljes szélességet kitölti, a lábléc szövege fölötte marad */
.footer-word {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: -0.17em;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 900;
  /* 12,8vw-nél a teljes „KOSI TEAM” kifér a szélesség ~92%-ára */
  font-size: min(12.8vw, 15.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(198, 240, 58, 0.16) 0%, rgba(236, 234, 228, 0.06) 45%, rgba(236, 234, 228, 0) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(236, 234, 228, 0.1);
  pointer-events: none;
  user-select: none;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--metal-line);
  opacity: 0.6;
}
.footer-grid {
  display: grid;
  gap: 40px;
}
.footer-brand p { margin-top: 12px; color: var(--dim); font-size: 0.9375rem; }
.footer-title {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { color: #cfcec8; font-size: 0.9375rem; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--lime); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--dim);
}
.footer-bottom p { margin: 0; }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  text-decoration: none;
}
.to-top { gap: 10px; }
.to-top:hover { color: var(--text); }

@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
}

/* ---------- Mobilos alsó CTA ---------- */

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(13, 14, 15, 0) 0%, rgba(13, 14, 15, 0.92) 38%);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.mobile-cta.is-visible {
  transform: none;
  visibility: visible;
  transition: transform 0.3s var(--ease), visibility 0s;
}
/* A lábléc alja ne kerüljön soha a gomb alá */
.site-footer { padding-bottom: calc(32px + 76px + env(safe-area-inset-bottom)); }

@media (min-width: 960px) {
  .mobile-cta { display: none; }
  /* a háttérfelirat a lábléc szövege alatt kap helyet */
  .site-footer { padding-bottom: calc(32px + min(8.4vw, 11rem)); }
}

/* ---------- Dialógusok ---------- */

.dialog {
  width: min(680px, calc(100% - 24px));
  max-height: min(86vh, 900px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  overscroll-behavior: contain;
}
.dialog::backdrop {
  background: rgba(5, 6, 7, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.dialog-inner { display: flex; flex-direction: column; max-height: inherit; }
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 18px 24px;
  border-bottom: 1px solid var(--line);
}
.dialog-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 800;
  font-size: 1.25rem;
}
.dialog-close {
  width: 44px;
  height: 44px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.dialog-close {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.dialog-close:hover,
.dialog-close:focus-visible { border-color: var(--lime); color: var(--lime-ink); }
.dialog-body {
  padding: 8px 24px 28px;
  overflow-y: auto;
  font-size: 0.975rem;
}
.dialog-body h3 { font-size: 1rem; margin: 24px 0 6px; }
.dialog-body p { color: var(--muted); }

.imprint { margin: 16px 0 0; }
.imprint div {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.imprint dt { font-size: 0.8125rem; color: var(--dim); }
.imprint dd { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  .dialog[open] { animation: dialog-in 0.25s var(--ease); }
  @keyframes dialog-in {
    from { opacity: 0; transform: translateY(8px) scale(0.99); }
    to { opacity: 1; transform: none; }
  }
}

/* ---------- Megjelenési animációk ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
    transition-delay: var(--reveal-delay, 0s);
  }
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .hero-content > * {
    animation: hero-in 0.8s var(--ease) both;
  }
  .hero-content > :nth-child(2) { animation-delay: 0.06s; }
  .hero-content > :nth-child(3) { animation-delay: 0.12s; }
  .hero-content > :nth-child(4) { animation-delay: 0.18s; }
  .hero-content > :nth-child(5) { animation-delay: 0.24s; }
  @keyframes hero-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Köszönőoldal (koszonjuk.html) ----------
   A háttér két fele: balra Marcell portréja, jobbra egy old school edzőterem; köztük a cikcakkos
   törésvonal futó fénnyel. Középen sötét, üveges kártya. Mobilon a két kép egymás alatt. */
.ty-page { min-height: 100svh; }
.ty {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 32px max(16px, var(--gutter)) calc(32px + env(safe-area-inset-bottom, 0px));
  overflow: hidden;
}
.ty-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  grid-template-rows: 1fr 1fr;
}
.ty-half { display: block; min-height: 0; }
.ty-half img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ty-half--marcell img { object-position: 50% 30%; }
.ty-half--gym img { object-position: 50% 45%; }
/* mobilon a két kép egymás alatt, így a törésvonal vízszintes, és a fény balról jobbra fut */
@media (max-width: 799px) {
  .ty-seam {
    top: 50%;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 16px;
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='16'%3E%3Cpath d='M0 8L5.5 2L16.5 14L22 8' fill='none' stroke='%23c6f03a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left center / 22px 16px repeat-x;
  }
  @media (prefers-reduced-motion: no-preference) {
    .ty-seam {
      -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.32) 38%, #000 47%, #000 53%, rgba(0, 0, 0, 0.32) 62%, rgba(0, 0, 0, 0.32) 100%);
      mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.32) 38%, #000 47%, #000 53%, rgba(0, 0, 0, 0.32) 62%, rgba(0, 0, 0, 0.32) 100%);
      -webkit-mask-size: 300% 100%;
      mask-size: 300% 100%;
      animation-name: seam-run-x;
    }
    @keyframes seam-run-x {
      from { -webkit-mask-position: 100% 0; mask-position: 100% 0; }
      to { -webkit-mask-position: 0 0; mask-position: 0 0; }
    }
  }
}
.ty-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(8, 9, 10, 0.55), transparent 75%),
    linear-gradient(180deg, rgba(8, 9, 10, 0.55), rgba(8, 9, 10, 0.25) 40%, rgba(8, 9, 10, 0.25) 60%, rgba(8, 9, 10, 0.7));
}
.ty-card {
  position: relative;
  width: min(560px, 100%);
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(13, 14, 15, 0.78);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  backdrop-filter: blur(10px) saturate(130%);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  text-align: center;
}
.ty-card .eyebrow { justify-content: center; }
.ty-logo { display: block; width: 64px; height: auto; margin: 0 auto 18px; }
.ty-card h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
.ty-lead { margin: 18px auto 0; max-width: 28em; color: #d4d3cd; font-size: 1.0625rem; }
.ty-note { margin: 10px 0 0; color: var(--dim); font-size: 0.9375rem; }
.ty-note a { color: var(--text); text-decoration-color: var(--lime); text-underline-offset: 3px; }
.ty-actions {
  display: grid;
  gap: 22px;
  justify-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.ty-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
}
.ty-social-label { width: 100%; font-size: 0.875rem; color: var(--dim); }
.ty-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}
.ty-social-link .icon-circle { width: 42px; height: 42px; }

@media (min-width: 800px) {
  .ty-bg { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .ty-shade {
    background:
      radial-gradient(ellipse 45% 60% at 50% 50%, rgba(8, 9, 10, 0.6), transparent 75%),
      linear-gradient(90deg, rgba(8, 9, 10, 0.35), rgba(8, 9, 10, 0.1) 30%, rgba(8, 9, 10, 0.1) 70%, rgba(8, 9, 10, 0.45));
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ty-card { animation: ty-in 0.7s var(--ease) both; }
  @keyframes ty-in {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to { opacity: 1; transform: none; }
  }
}
