/* ---------- Self-hosted fonts ---------- */

/* Geist (variable 100–900) — used by the ShellBoard subpage UI */
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist/geist-latin-ext-variable-yUJG_9Z.woff2") format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist/geist-latin-variable-fE8Pnk7.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Space Grotesk 400 */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/space-grotesk/space-grotesk-400-latin-ext-NXGsJlG.woff2") format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/space-grotesk/space-grotesk-400-latin-Dr-cltI.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Space Grotesk 500 */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/space-grotesk/space-grotesk-500-latin-ext-NXGsJlG.woff2") format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/space-grotesk/space-grotesk-500-latin-Dr-cltI.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Space Grotesk 600 */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/space-grotesk/space-grotesk-600-latin-ext-NXGsJlG.woff2") format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/space-grotesk/space-grotesk-600-latin-Dr-cltI.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* JetBrains Mono 400 */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jetbrains-mono/jetbrains-mono-400-latin-ext-c8h-btv.woff2") format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jetbrains-mono/jetbrains-mono-400-latin-AcnlIJe.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* JetBrains Mono 500 */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono/jetbrains-mono-500-latin-ext-c8h-btv.woff2") format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/jetbrains-mono/jetbrains-mono-500-latin-AcnlIJe.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Nunito 400 / 500 / 600 / 700 — used only inside the Jsem OK phone mockups (.jsemok --font-app) */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/nunito/nunito-400-latin-ext-s0W6W1u.woff2") format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/nunito/nunito-400-latin-sGPAjRX.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/nunito/nunito-500-latin-ext-XaC21qM.woff2") format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/nunito/nunito-500-latin-SfB3YVC.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/nunito/nunito-600-latin-ext-F2JvZOe.woff2") format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/nunito/nunito-600-latin-KlN4mwr.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/nunito/nunito-700-latin-ext-b75qWGI.woff2") format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/nunito/nunito-700-latin-9DwS6xD.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Calmbit — finální design „Hlubina" (E)
   Design tokens + plné styly. Připraveno pro převod do Symfony Asset Mapper. */

:root {
  --bg: #0E141D;
  --panel: #141C27;
  --text: #E7EDF4;
  --muted: #8A99A9;
  --dim: #51616F;
  --line: #243140;
  --line-soft: #1B2634;
  --accent: oklch(80% 0.07 200);
  --accent-hover: oklch(85% 0.07 200);
  --accent-ink: #0B1118;
  --font-sans: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-card: 16px;
  --radius-btn: 10px;
  --container: 1272px;
  --pad-x: 84px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--accent);
}

/* ---------- Tlačítka ---------- */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--radius-btn);
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--panel); border-color: #35465A; }

/* ---------- Navigace ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line-soft); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav__logo {
  display: block;
  height: 40px;
  width: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__links a:not(.btn) {
  color: var(--muted);
  font-size: 16px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links a.is-current { color: var(--text); }
.nav__cta { padding: 10px 20px; font-size: 15px; }

.lang-switch {
  display: flex;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px;
}
.lang-switch button {
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.lang-switch button:hover { color: var(--text); }
.lang-switch button.active { background: var(--panel); color: var(--text); }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 116px 0 104px;
}
.hero__glow {
  position: absolute;
  left: 50%;
  top: -180px;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, color-mix(in oklch, var(--accent) 14%, transparent), transparent 65%);
  pointer-events: none;
}
.hero > .container { position: relative; }
.hero__kicker { margin: 0 0 26px; }
.hero h1 {
  font-size: clamp(44px, 6vw, 86px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero__sub {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--muted);
  max-width: 600px;
  margin: 30px auto 0;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
}
.hero__log {
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--dim);
  margin: 90px 0 0;
}

/* ---------- Sekce ---------- */
.section {
  border-top: 1px solid var(--line-soft);
  padding: 90px 0 100px;
}
.section__kicker { margin: 0; }
.section h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 16px 0 0;
  max-width: 700px;
  text-wrap: balance;
}
.section__sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 580px;
  margin: 16px 0 0;
  text-wrap: pretty;
}

/* ---------- Služby ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.service-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover { border-color: #35465A; transform: translateY(-2px); }
.service-card .mono { font-size: 12.5px; }
.service-card h3 { font-size: 24px; font-weight: 600; margin: 0; }
.service-card p { font-size: 16.5px; color: var(--muted); margin: 0; text-wrap: pretty; }

/* ---------- Aplikace ---------- */
/* Stavová pilulka */
.app-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}
.app-pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.app-pill--live { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.app-pill--live .app-pill__dot {
  background: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.app-pill--avail { color: #9DC3E0; border-color: color-mix(in srgb, #7FB2D6 32%, transparent); }
.app-pill--avail .app-pill__dot { background: #7FB2D6; }
.app-pill--soon { color: var(--dim); border-style: dashed; }

/* Mřížka vydaných / dostupných aplikací (sama se zalamuje) */
.app-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 22px;
}
.app-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.app-card:hover { border-color: #35465A; transform: translateY(-3px); }
.app-card__vis {
  position: relative;
  height: 184px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.app-card__vis img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.app-card__pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(6px);
}
.app-card__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  padding: 24px 26px 26px;
}
.app-card__platform {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dim);
  letter-spacing: 0.04em;
}
.app-card__info h3 { font-size: 23px; font-weight: 600; margin: 0; }
.app-card__info p {
  flex: 1;
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
  text-wrap: pretty;
}
.app-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 4px;
}
.app-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent);
  text-decoration: none;
}
.app-link:hover { color: var(--accent-hover); }

/* Placeholder vizuál — TODO nahradit reálným screenshotem ShellBoardu */
.app-term {
  height: 100%;
  padding: 16px 18px;
  background: #0B121B;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: #9FB0C0;
}
.app-term .b { color: var(--accent); }
.app-term .g { color: #86C29A; }
.app-term .d { color: var(--dim); }

/* Placeholder vizuál JsemOK — TODO nahradit reálným mockupem obrazovky */
.app-phone {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 38%, #18232F, #0B121B 72%);
}
.app-phone__btn {
  width: 104px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 600;
  font-size: 28px;
  color: #08130A; /* --ok-ink z JsemOK */
  background: #6FC44E; /* --ok z JsemOK */
  box-shadow:
    0 0 0 10px color-mix(in srgb, #6FC44E 16%, transparent),
    0 0 0 22px color-mix(in srgb, #6FC44E 8%, transparent);
}

/* ---------- O mně ---------- */
.about__inner { max-width: 880px; margin: 0 auto; text-align: center; }
.about__lead {
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.55;
  font-weight: 450;
  margin: 26px 0 0;
  text-wrap: balance;
}
.about__lead strong { color: var(--accent); font-weight: 600; }
.about__more {
  font-size: 17.5px;
  color: var(--muted);
  margin: 20px auto 0;
  max-width: 640px;
}
.about__values {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  justify-content: center;
  flex-wrap: wrap;
}
.about__values span {
  font-family: var(--font-mono);
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 99px;
  border: 1px solid var(--line);
}

/* ---------- Kontakt ---------- */
.contact__head { max-width: 680px; margin: 0 auto; text-align: center; }
.contact__head h2 { margin: 0 auto; }
.contact__head p { font-size: 18px; color: var(--muted); margin: 16px 0 0; }

.contact-form {
  max-width: 680px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  padding: 14px 16px;
  font-size: 16.5px;
  color: var(--text);
  font-family: var(--font-sans);
  resize: none;
  outline: none;
  transition: border-color 0.15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form .btn { align-self: center; margin-top: 10px; }
.contact__alt {
  text-align: center;
  font-size: 16px;
  color: var(--muted);
  margin: 16px 0 0;
}
.contact__alt a { color: var(--accent); text-decoration: none; font-weight: 600; }
.contact__alt a:hover { text-decoration: underline; }

/* ---------- Patička ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: 36px 0 46px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--dim);
  line-height: 1.9;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__top span { color: var(--muted); }
.footer__mark { display: block; height: 28px; width: 28px; opacity: 0.85; }
.footer p { margin: 6px 0 0; }
.footer p:last-child { color: var(--muted); }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 16px;
}
.footer__links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer__links a:hover { color: var(--text); }

/* ---------- Scroll reveal (jen s JS a bez reduced-motion) ---------- */
html.js .reveal {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  html.js .reveal.in {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responzivita ---------- */
@media (max-width: 1100px) {
  :root { --pad-x: 48px; }
}

@media (max-width: 860px) {
  :root { --pad-x: 24px; }

  .nav__burger { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }
  .nav__links.open { display: flex; }
  .nav__links a:not(.btn) { padding: 14px 4px; font-size: 17px; }
  .nav__cta { margin-top: 10px; text-align: center; }
  .lang-switch { align-self: flex-start; margin-top: 14px; }

  .hero { padding: 80px 0 70px; }
  .hero__log { margin-top: 60px; }

  .section { padding: 64px 0 72px; }
  .services__grid { grid-template-columns: 1fr; }

  .contact-form__row { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .app-grid { grid-template-columns: 1fr; }
}

/* ---------- Skip link (přístupnost) ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  background: var(--panel);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
  z-index: 1000;
  padding: 12px 20px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-btn);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
