/* Self-hostovane fonty: Quicksand a Geist, SIL Open Font License 1.1.
   Variabilni woff2, subsety latin + latin-ext (vcetne ceske diakritiky).
   Zamerne bez Google Fonts - nacteni stranky neposila zadny pozadavek na
   treti domenu, takze web nepredava IP adresy navstevniku nikomu dalsimu. */

@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/fonts/quicksand-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/fonts/quicksand-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('/fonts/geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url('/fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   www.jan-holik.cz — stylesheet
   Implements the "Jan Holík - web" / "Jan Holík - sport" designs
   from the Claude Design handoff (Testuvion design-system tokens,
   reproduced here as a small, dependency-free token set).
   ============================================================ */

/* Fonty se načítají přes <link rel="preconnect"> + <link rel="stylesheet">
   v <head> obou stránek — @import zde by řetězil requesty a zdržoval
   první vykreslení (LCP). */

:root {
  /* brand purple */
  --purple-50:  #F5F4FE;
  --purple-100: #EDEAFD;
  --purple-200: #DDD8FC;
  --purple-600: #7B44E3;
  --purple-900: #4B248E;
  --purple-950: #2E1560;

  /* secondary cyan */
  --cyan-50:  #EEFDFD;
  --cyan-100: #D3FAFA;
  --cyan-200: #ACF3F5;
  --cyan-600: #1693A4;

  /* gradient partner */
  --blue-600: #1073B9;

  /* neutrals */
  --neutral-200: #E5E5E5;
  --slate-50:  #F8FAFC;
  --slate-500: #62748E;
  --white: #FFFFFF;

  /* radius */
  --radius-md:   8px;
  --radius-lg:  10px;
  --radius-xl:  14px;
  --radius-full: 9999px;

  /* shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 24px 64px rgba(46, 21, 96, 0.12), 0 8px 16px rgba(46, 21, 96, 0.06);
  --shadow-primary: 0 16px 40px rgba(123, 68, 227, 0.24);

  /* type */
  --font-display: 'Quicksand', ui-rounded, 'Segoe UI', system-ui, sans-serif;
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

/* Sticky header je 76 px vysoký — bez odsazení by odkazované sekce
   začínaly schované pod ním. */
[id] { scroll-margin-top: 92px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--white);
  font-family: var(--font-display);
  color: var(--purple-950);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--purple-600); text-decoration: none; }
a:hover { color: var(--purple-950); }

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

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

/* Přeskočit na obsah — viditelné jen při ovládání klávesnicí. */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  background: var(--purple-950);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: top 120ms ease-out;
}
.skip-link:focus { top: 16px; color: #fff; }

/* ---- Layout helpers -------------------------------------- */
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; }

/* ---- Header ------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-200);
}
.site-header .wrap {
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--purple-950);
}
.brand strong {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand span {
  font-size: 13px;
  color: var(--slate-500);
  font-weight: 500;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.main-nav a { color: var(--purple-950); }
.main-nav a:hover { color: var(--purple-600); }
.main-nav a.is-active { color: var(--purple-600); font-weight: 600; }

/* ---- Buttons ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-display);
  white-space: nowrap;
  transition: background 120ms ease-out, color 120ms ease-out;
}
.btn--sm { height: 42px; padding: 0 20px; font-size: 15px; }
.btn--primary {
  background: var(--purple-600);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.btn--primary:hover { background: var(--purple-950); color: #fff; }
.btn--secondary {
  background: #fff;
  border: 1px solid var(--neutral-200);
  color: var(--purple-950);
}
.btn--secondary:hover { background: var(--purple-50); color: var(--purple-950); }

.link-more {
  font-size: 15px;
  font-weight: 600;
  color: var(--purple-600);
}
.link-more:hover { color: var(--purple-950); }

.phone-link {
  font-size: 24px;
  font-weight: 700;
  color: var(--purple-950);
}
.phone-link:hover { color: var(--purple-600); }
.email-link { font-size: 18px; font-weight: 600; }

/* ---- Eyebrow / Tag / Card (recreated from the design system) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  color: var(--purple-950);
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
  border: 1px solid var(--neutral-200);
}
.tag--neutral { color: #0f172a; background: var(--slate-50); border-color: var(--neutral-200); }
.tag--purple  { color: var(--purple-600); background: var(--purple-50); border-color: var(--purple-100); }
.tag--cyan    { color: var(--cyan-600); background: var(--cyan-50); border-color: var(--cyan-100); }

.card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

/* ---- Sections ------------------------------------------------ */
.section { padding: 96px 32px; }

.eyebrow-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 2px solid var(--purple-200);
}
.step-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.step--cyan { border-top-color: var(--cyan-200); }
.step--cyan .step-label { color: var(--cyan-600); font-size: 12px; letter-spacing: 0.08em; }

.quote-band {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(120deg, var(--purple-950) 0%, var(--purple-900) 42%, var(--blue-600) 100%);
  padding: 72px 64px;
}
.quote-band__texture {
  position: absolute;
  inset: 0;
  background-image: url(../assets/texture-noise.png);
  opacity: 0.25;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* ---- Footer ------------------------------------------------ */
.site-footer {
  padding: 40px 32px 56px;
  background: var(--purple-50);
  border-top: 1px solid var(--purple-200);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-500);
}
.site-footer .wrap > nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer .wrap > nav a { color: var(--slate-500); }
.site-footer .wrap > nav a:hover { color: var(--purple-600); }

/* ---- Responsive (mirrors the approved mobile pass) --------- */
@media (max-width: 900px) {
  .grid-2, .grid-3, .split { grid-template-columns: 1fr !important; gap: 32px !important; }
  .frame { height: 380px !important; }
  .r-h1 { font-size: 38px !important; line-height: 44px !important; }
  .r-h2 { font-size: 30px !important; line-height: 38px !important; }
  .r-quote { font-size: 24px !important; line-height: 34px !important; }
  .section, .site-header .wrap, .site-footer .wrap { padding-left: 20px !important; padding-right: 20px !important; }
  .quote-band { padding: 40px 28px !important; }
  .main-nav { display: none !important; }
}

/* Below ~520px the brand tagline + CTA no longer fit next to the logo
   on one line (only the nav-hiding breakpoint above is from the
   approved design) — drop the tagline so the header never wraps. */
@media (max-width: 520px) {
  .brand span { display: none; }
  .site-header .wrap { gap: 12px; }
}
