 :root {
    --orange: #FF5500;
    --orange-light: #FF7733;
    --navy: #071425;
    --navy-mid: #0e2240;
    --navy-card: #0d1e35;
    --white: #F8F5F0;
    --white-dim: rgba(248,245,240,0.65);
    --white-faint: rgba(248,245,240,0.10);
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'DM Mono', monospace;
    --max-w: 1060px;       /* global content cap */
    --section-pad: 96px 0; /* vertical only; horizontal handled by .wrap */
  }
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--navy); color: var(--white);
    font-family: var(--font-body); font-weight: 300;
    line-height: 1.7; overflow-x: hidden;
  }
  body::before {
    content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.033;
  }
  ::-webkit-scrollbar { width: 5px; }
  ::-webkit-scrollbar-track { background: var(--navy); }
  ::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 2px; }

  /* ─── CONTAINER / WRAP ───────────────────────────────── */
  /* Every section uses .wrap to cap & centre content */
  .wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
  }

  /* ─── NAV ────────────────────────────────────────────── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 40px;
    background: linear-gradient(to bottom, rgba(7,20,37,0.97) 60%, transparent);
  }
  .nav-logo {
    font-family: var(--font-display); font-size: 1.9rem;
    letter-spacing: 0.04em; text-decoration: none; z-index: 201;
  }
  .nav-logo .run { color: var(--orange); }
  .nav-logo .io  { color: var(--white); }
  .nav-logo .acad { color: var(--white-dim); font-size: 0.8rem; letter-spacing: 0.18em; vertical-align: middle; margin-left: 5px; }
  nav ul { list-style: none; display: flex; gap: 32px; }
  nav ul a {
    color: var(--white-dim); text-decoration: none; font-size: 0.8rem;
    letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
    transition: color 0.2s;
  }
  nav ul a:hover { color: var(--orange); }

  .nav-hamburger {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; background: none; border: none; padding: 4px; z-index: 201;
  }
  .nav-hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }
  .nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-hamburger.open span:nth-child(2) { opacity: 0; }
  .nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-mobile-menu {
    display: none; position: fixed; inset: 0;
    background: rgba(7,20,37,0.97); z-index: 199;
    flex-direction: column; align-items: center; justify-content: center; gap: 40px;
  }
  .nav-mobile-menu.open { display: flex; }
  .nav-mobile-menu a {
    color: var(--white); text-decoration: none;
    font-family: var(--font-display); font-size: 3rem;
    letter-spacing: 0.05em; transition: color 0.2s;
  }
  .nav-mobile-menu a:hover { color: var(--orange); }

  /* ─── HERO ───────────────────────────────────────────── */
  /* Hero is FULL-WIDTH — no max-width, it's intentionally cinematic */
  #hero {
    min-height: 100vh; display: grid;
    grid-template-columns: 55% 45%;
    position: relative; overflow: hidden;
  }
  .hero-left {
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 120px 60px 80px 60px;
    position: relative; z-index: 2;
  }
  .hero-left::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: repeating-linear-gradient(
      90deg, transparent, transparent 118px,
      rgba(255,85,0,0.04) 118px, rgba(255,85,0,0.04) 120px
    );
  }
  .hero-orb {
    position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
  }
  .hero-orb-1 {
    width: 540px; height: 540px; top: -120px; left: -120px;
    background: radial-gradient(circle, rgba(255,85,0,0.17), transparent 70%);
    animation: pulse 8s ease-in-out infinite alternate;
  }
  .hero-orb-2 {
    width: 360px; height: 360px; bottom: -60px; left: 60px;
    background: radial-gradient(circle, rgba(18,99,190,0.24), transparent 70%);
    animation: pulse 11s ease-in-out infinite alternate-reverse;
  }
  @keyframes pulse {
    from { transform: scale(1); opacity: 0.8; }
    to   { transform: scale(1.15); opacity: 1; }
  }

  .hero-right { position: relative; overflow: hidden; }
  .hero-right::before {
    content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(
      to right,
      var(--navy) 0%, rgba(7,20,37,0.48) 25%,
      rgba(7,20,37,0.05) 62%, transparent 100%
    );
  }
  .hero-right::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 220px; z-index: 2; pointer-events: none;
    background: linear-gradient(to top, var(--navy) 0%, transparent 100%);
  }
  .hero-video-vignette {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      radial-gradient(ellipse at 100% 0%, rgba(7,20,37,0.45) 0%, transparent 50%),
      radial-gradient(ellipse at 100% 100%, rgba(7,20,37,0.35) 0%, transparent 50%);
  }
  .hero-video-fallback {
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(155deg, #0a2a50 0%, #0d3870 50%, #091e38 100%);
  }
  .hero-video-fallback::after {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(
      -45deg, transparent, transparent 40px,
      rgba(255,85,0,0.03) 40px, rgba(255,85,0,0.03) 42px
    );
  }
  /*
    VIDEO: Stáhněte video z Pixabay a uložte ho jako "hero.mp4" vedle tohoto souboru.
    Pak změňte src na: src="hero.mp4"
  */
  .hero-video {
    position: absolute; inset: 0; z-index: 1;
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    opacity: 0; transition: opacity 1.4s ease;
  }
  .hero-video.loaded { opacity: 1; }

  .hero-tag {
    font-family: var(--font-mono); font-size: 0.7rem;
    letter-spacing: 0.22em; color: var(--orange); text-transform: uppercase;
    margin-bottom: 20px; position: relative; z-index: 2;
    opacity: 0; animation: fadeUp 0.8s 0.2s forwards;
  }
  .hero-heading {
    font-family: var(--font-display); font-size: clamp(4.5rem, 7.5vw, 9.5rem);
    line-height: 0.93; letter-spacing: 0.01em;
    position: relative; z-index: 2;
    opacity: 0; animation: fadeUp 0.9s 0.4s forwards;
  }
  .hero-heading .accent { color: var(--orange); }
  .hero-sub {
    margin-top: 28px; font-size: 1rem; font-weight: 300;
    color: var(--white-dim); max-width: 420px; line-height: 1.75;
    position: relative; z-index: 2;
    opacity: 0; animation: fadeUp 0.9s 0.65s forwards;
  }
  .hero-cta {
    margin-top: 40px; display: flex; gap: 18px; align-items: center;
    position: relative; z-index: 2;
    opacity: 0; animation: fadeUp 0.9s 0.85s forwards;
  }
  .hero-stat-row {
    display: flex; gap: 36px; margin-top: 40px;
    position: relative; z-index: 2;
    opacity: 0; animation: fadeUp 0.9s 1.05s forwards;
  }
  .hero-stat-num { font-family: var(--font-display); font-size: 2.1rem; color: var(--orange); line-height: 1; }
  .hero-stat-label { font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--white-dim); margin-top: 3px; }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .btn-primary {
    background: var(--orange); color: var(--white);
    padding: 13px 32px; border-radius: 2px; text-decoration: none;
    font-weight: 500; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase;
    transition: background 0.2s, transform 0.2s; display: inline-block;
  }
  .btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); }
  .btn-ghost {
    color: var(--white-dim); text-decoration: none; font-size: 0.85rem;
    letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
    border-bottom: 1px solid rgba(248,245,240,0.25); padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
  }
  .btn-ghost:hover { color: var(--white); border-color: var(--white); }

  /* ─── SHARED SECTION SHELL ───────────────────────────── */
  /* Each section is full-width background; .wrap caps the content */
  .section-shell { padding: var(--section-pad); }
  .section-shell.bg-mid { background: var(--navy-mid); }
  .section-shell.bg-navy { background: var(--navy); }

  .section-tag {
    font-family: var(--font-mono); font-size: 0.7rem;
    letter-spacing: 0.22em; color: var(--orange);
    text-transform: uppercase; margin-bottom: 14px;
  }
  .section-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 4vw, 4rem);
    line-height: 1; letter-spacing: 0.02em; margin-bottom: 36px;
  }

  /* full-width divider line */
  .divider {
    height: 1px; opacity: 0.28;
    background: linear-gradient(to right, transparent 0%, var(--orange) 15%, transparent 100%);
  }

  /* ─── PŘEDSTAVENÍ ────────────────────────────────────── */
  .predstaveni-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 72px; align-items: center;
  }
  .intro-visual { position: relative; height: 430px; }
  .intro-card {
    position: absolute; border-radius: 4px; padding: 28px 30px;
    background: var(--navy-card); border: 1px solid rgba(255,85,0,0.12);
  }
  .intro-card-main {
    inset: 0;
    background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-card) 100%);
    display: flex; flex-direction: column; justify-content: center;
    font-size: 1rem; font-weight: 300; color: var(--white-dim); line-height: 1.8;
  }
  .intro-card-main strong { color: var(--white); font-weight: 500; }
  .intro-card-badge {
    bottom: -24px; right: -24px; width: 170px;
    background: var(--orange); color: var(--white); text-align: center;
  }
  .intro-card-badge .big { font-family: var(--font-display); font-size: 3rem; line-height: 1; display: block; }
  .intro-card-badge small { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; }
  .intro-text p { color: var(--white-dim); margin-bottom: 18px; font-size: 1rem; }
  .intro-text p em { color: var(--white); font-style: normal; font-weight: 500; }

  /* ─── KURZ ───────────────────────────────────────────── */
  .kurz-lead { max-width: 620px; color: var(--white-dim); font-size: 1rem; margin-bottom: 36px; }
  .topics-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
  }
  .topic-item {
    background: var(--navy-card); padding: 24px 22px;
    position: relative; transition: background 0.25s; overflow: hidden;
  }
  .topic-item::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
    background: var(--orange); transform: scaleY(0); transform-origin: bottom; transition: transform 0.3s;
  }
  .topic-item:hover { background: #112240; }
  .topic-item:hover::before { transform: scaleY(1); }
  .topic-num {
    font-family: var(--font-display); font-size: 3rem;
    color: rgba(255,85,0,0.12); line-height: 1; margin-bottom: 8px; transition: color 0.3s;
  }
  .topic-item:hover .topic-num { color: rgba(255,85,0,0.3); }
  .topic-title { font-weight: 500; font-size: 0.92rem; color: var(--white); line-height: 1.4; }

  /* ─── PARTNEŘI ───────────────────────────────────────── */
  .benefits-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 16px; }
  .benefit-group-label {
    font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--orange); margin-bottom: 20px;
    padding-bottom: 12px; border-bottom: 1px solid rgba(255,85,0,0.2);
  }
  .benefit-list { list-style: none; }
  .benefit-list li {
    display: flex; gap: 14px; padding: 12px 0;
    border-bottom: 1px solid var(--white-faint);
    font-size: 0.92rem; color: var(--white-dim); transition: color 0.2s;
  }
  .benefit-list li:hover { color: var(--white); }
  .benefit-list li span.num {
    font-family: var(--font-display); font-size: 1.05rem;
    color: var(--orange); min-width: 24px; line-height: 1.5;
  }
  .highlight-box {
    margin-top: 44px;
    background: linear-gradient(135deg, rgba(255,85,0,0.11), rgba(18,99,190,0.09));
    border: 1px solid rgba(255,85,0,0.24); border-radius: 4px;
    padding: 26px 32px; font-size: 0.97rem; color: var(--white); line-height: 1.7;
  }
  .highlight-box strong { color: var(--orange); font-weight: 700; }

  /* ─── CÍLOVÁ SKUPINA ─────────────────────────────────── */
  .expect-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
  .expect-card {
    background: var(--navy-card); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 4px; padding: 26px 28px;
    display: flex; gap: 20px; align-items: flex-start;
    transition: border-color 0.25s, transform 0.25s;
  }
  .expect-card:hover { border-color: rgba(255,85,0,0.3); transform: translateY(-3px); }
  .expect-icon {
    width: 44px; height: 44px; min-width: 44px; border-radius: 50%;
    background: rgba(29, 74, 8, 0.15);
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
    filter: brightness(0) invert(1); 
  }
  .expect-card h4 { font-weight: 500; font-size: 0.97rem; margin-bottom: 6px; }
  .expect-card p { font-size: 0.86rem; color: var(--white-dim); line-height: 1.6; }

  /* ─── KONTAKT ────────────────────────────────────────── */
  .contact-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 72px; align-items: start; }
  .contact-heading {
    font-family: var(--font-display); font-size: clamp(2.8rem, 4.5vw, 4.8rem);
    line-height: 1; margin-bottom: 24px;
  }
  .contact-heading .accent { color: var(--orange); }
  .contact-desc { color: var(--white-dim); font-size: 0.97rem; line-height: 1.75; margin-bottom: 36px; }
  .contact-info { display: flex; flex-direction: column; gap: 22px; margin-top: 18px; }
  .contact-row { display: flex; gap: 16px; align-items: center; }
  .contact-row-icon {
    width: 42px; height: 42px; border: 1px solid rgba(255,85,0,0.3);
    border-radius: 2px; display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem; color: var(--orange); flex-shrink: 0;
    filter: brightness(0) invert(1); 
  }
  .contact-row-text { font-size: 0.93rem; }
  .contact-row-text a { color: var(--white); text-decoration: none; transition: color 0.2s; }
  .contact-row-text a:hover { color: var(--orange); }
  .contact-row-text small {
    display: block; font-size: 0.68rem; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--white-dim); margin-bottom: 2px;
  }

  /* ─── FOOTER ─────────────────────────────────────────── */
  footer {
    padding: 26px 40px; border-top: 1px solid var(--white-faint);
    display: flex; justify-content: space-between; align-items: center;
  }
  .footer-logo { font-family: var(--font-display); font-size: 1.35rem; }
  .footer-logo .run { color: var(--orange); }
  footer small { font-size: 0.73rem; color: var(--white-dim); letter-spacing: 0.08em; }

  /* ─── REVEAL ─────────────────────────────────────────── */
  .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }

  /* ═══════════════════════════════════════════════════════
     RESPONSIVE
  ═══════════════════════════════════════════════════════ */
  @media (max-width: 1200px) {
    #hero { grid-template-columns: 60% 40%; }
    .hero-heading { font-size: clamp(4rem, 7vw, 8rem); }
    .topics-grid { grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 1024px) {
    nav { padding: 18px 28px; }
    nav ul { gap: 22px; }
    #hero { grid-template-columns: 1fr; }
    .hero-right { display: none; }
    .hero-left { min-height: 100vh; padding: 0 40px 70px; }
  }
  @media (max-width: 768px) {
    nav { padding: 15px 18px; }
    nav ul { display: none; }
    .nav-hamburger { display: flex; }
    :root { --section-pad: 64px 0; }
    .wrap { padding: 0 20px; }
    .hero-left { padding: 0 20px 60px; }
    .hero-heading { font-size: clamp(3.4rem, 12vw, 6rem); }
    .hero-stat-row { gap: 22px; }
    .hero-stat-num { font-size: 1.7rem; }
    .predstaveni-grid { grid-template-columns: 1fr; gap: 0; }
    .intro-visual { display: none; }
    .topics-grid { grid-template-columns: 1fr 1fr; }
    .benefits-cols { grid-template-columns: 1fr; gap: 32px; }
    .expect-grid { grid-template-columns: 1fr; }
    .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
    footer { flex-direction: column; gap: 10px; text-align: center; padding: 20px; }
  }
  @media (max-width: 480px) {
    .hero-heading { font-size: clamp(2.8rem, 13vw, 4.8rem); }
    .hero-sub { font-size: 0.88rem; }
    .hero-cta { flex-direction: column; align-items: flex-start; gap: 12px; }
    .hero-stat-row { flex-wrap: wrap; gap: 16px; }
    .topics-grid { grid-template-columns: 1fr; }
    .section-title { font-size: clamp(2rem, 9vw, 3.2rem); }
    .contact-heading { font-size: clamp(2.2rem, 10vw, 3.8rem); }
    .expect-card { padding: 18px 16px; }
    .highlight-box { padding: 18px; }
  }