/* ===== Základ ===== */
:root {
  --yellow: #ffe600;
  --dark: #1c1d21;
  --dark-2: #26272c;
  --grey: #f3f3f1;
  --text: #1c1d21;
  --muted: #5f6066;
  --line: #e2e2de;
  --radius: 14px;
  --max: 1140px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; margin-bottom: 1.2rem; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; margin: .2rem 0 .3rem; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.y { color: var(--yellow); }
.dark { background: var(--dark); color: #fff; }

.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--grey { background: var(--grey); }

.label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
}

.eyebrow { color: var(--yellow); font-weight: 700; margin-bottom: 1rem; }

.tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: .35rem .7rem;
  margin-bottom: 1rem;
}

.intro { max-width: 760px; font-size: 1.1rem; color: var(--muted); margin-bottom: 2.2rem; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 640px; color: #d6d6d9; }
.note { margin-top: 1.5rem; font-size: .9rem; color: var(--muted); }

.btn {
  display: inline-block;
  margin-top: 1rem;
  background: var(--yellow);
  color: var(--dark);
  font-weight: 700;
  text-decoration: none;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255, 230, 0, .35); }

/* ===== Horní lišta ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(28, 29, 33, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 60px; }
.logo { color: #fff; text-decoration: none; font-weight: 700; display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.logo__dot { width: 14px; height: 14px; background: var(--yellow); display: inline-block; }
.nav { display: flex; gap: 1.4rem; overflow-x: auto; }
.nav a { color: #cfcfd3; text-decoration: none; font-size: .92rem; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--yellow); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: clamp(80px, 12vw, 150px) 0 clamp(60px, 8vw, 100px); }
.hero__corner { position: absolute; top: 0; right: 0; width: clamp(80px, 13vw, 160px); height: clamp(50px, 8vw, 100px); background: var(--yellow); }
.hero__inner { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 2rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero__cat { width: 100%; max-width: 340px; justify-self: end; }

/* ===== Karty ===== */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--grey);
  border-top: 5px solid var(--yellow);
  padding: 1.6rem 1.5rem 1.8rem;
  transition: transform .2s ease;
}
.card:hover { transform: translateY(-4px); }
.card h3 { margin-bottom: .6rem; }
.card p:last-child { margin: 0; color: var(--muted); font-size: .95rem; }
.section--grey .card { background: #fff; }

/* ===== Manifest ===== */
.manifesto { padding: clamp(90px, 14vw, 170px) 0; text-align: center; }
.manifesto blockquote { margin: 0 0 2rem; font-size: clamp(2rem, 5.2vw, 3.8rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.manifesto__sub { font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 700; }

/* ===== Rozvržení ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split--top { align-items: start; margin-bottom: 4rem; }

.dash { list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: 1.1rem; }
.dash > li { position: relative; padding-left: 1.3rem; margin-bottom: .6rem; }
.dash > li::before { content: "–"; position: absolute; left: 0; color: var(--text); font-weight: 700; }
#lucy .dash { font-size: 1.4rem; font-weight: 600; }
.sub { margin: .5rem 0 0; padding-left: 1.2rem; font-size: .98rem; color: var(--muted); list-style: circle; }
.sub li { margin-bottom: .25rem; }

.channels { display: inline-block; background: #fff; padding: .7rem 1rem; font-size: .92rem; }

.square { width: 100%; max-width: 420px; justify-self: end; box-shadow: 0 20px 50px rgba(0, 0, 0, .12); }

/* ===== Lucy ===== */
.lucy { margin: 0; justify-self: center; text-align: center; }
.lucy__circle {
  width: clamp(240px, 32vw, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
  margin: 0 auto;
}
.lucy__circle img { width: 62%; }
.lucy figcaption {
  display: inline-block;
  margin-top: -18px;
  position: relative;
  background: var(--dark);
  color: #fff;
  padding: .7rem 1.4rem;
  font-size: .95rem;
}
.lucy figcaption strong { color: var(--yellow); }

/* ===== Hero video ===== */
.h3-big { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-bottom: 1.2rem; }
.video { display: grid; grid-template-columns: 280px 1fr; gap: 3.5rem; align-items: center; }

.phone {
  width: 260px;
  aspect-ratio: 9 / 18.5;
  background: var(--dark);
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .25);
}
.phone__screen {
  height: 100%;
  border-radius: 28px;
  background: var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 2.2rem 1.2rem 1.6rem;
  text-align: center;
}
.phone__screen img { width: 70%; }
.phone__q { font-weight: 800; font-size: 1.15rem; line-height: 1.2; margin: 0; }
.phone__cta { background: var(--dark); color: var(--yellow); font-weight: 700; font-size: .85rem; padding: .5rem .9rem; border-radius: 999px; margin: 0; }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--yellow); }
.timeline li { position: relative; padding: 0 0 2rem 1.8rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--dark);
  border: 3px solid var(--yellow);
}
.timeline p:last-child { color: var(--muted); margin: 0; }

/* ===== Fáze 2 ===== */
.phase { padding: clamp(90px, 13vw, 160px) 0; }
.big { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1.4rem; }

/* ===== Galerie ===== */
.gallery { display: grid; gap: 24px; }
.gallery--2 { grid-template-columns: repeat(2, minmax(0, 420px)); }
.gallery img,
.carousel img,
.stories img {
  width: 100%;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .12);
  transition: transform .25s ease;
}
.gallery img:hover,
.carousel img:hover,
.stories img:hover { transform: translateY(-6px) rotate(-.5deg); }

.carousel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stories img { border-radius: 12px; }

/* ===== Wrapped boxy ===== */
.box { padding: 2rem 2rem 2.2rem; margin-bottom: 4rem; }
.box h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.box ul { margin: 0; padding-left: 1.2rem; font-size: 1.05rem; }
.box li { margin-bottom: .5rem; }
.box--dark { background: var(--dark); color: #fff; }
.box--dark h3 { color: var(--yellow); }
.box--yellow { background: var(--yellow); }

/* ===== Rozpočet ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 2rem; }
.stat { background: #fff; padding: 1.2rem 1.3rem; border-left: 5px solid var(--yellow); display: flex; flex-direction: column; color: var(--muted); font-size: .9rem; }
.stat__n { font-size: 1.8rem; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }

.table-wrap { overflow-x: auto; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .97rem; }
th, td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
thead th { background: var(--dark); color: #fff; font-weight: 600; }
tbody tr:hover { background: #fffbd1; }
tfoot td { background: var(--yellow); font-weight: 800; text-transform: uppercase; border: 0; }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ===== Závěr ===== */
.outro { padding: clamp(80px, 12vw, 140px) 0; }
.outro__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.outro .eyebrow { margin: 0 0 .2rem; }
.qr { width: 220px; background: #fff; padding: 14px; }

.footer { background: #141518; color: #8a8b90; font-size: .85rem; padding: 1.4rem 0; }

/* ===== Responzivita ===== */
@media (max-width: 960px) {
  .carousel, .stories { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .hero__inner, .split, .video, .cards2, .cards3 { grid-template-columns: 1fr; }
  .hero__cat { max-width: 200px; justify-self: start; }
  .square { justify-self: start; }
  .gallery--2 { grid-template-columns: 1fr; }
  .phone { margin: 0 auto; }
  .outro__inner { flex-direction: column; align-items: flex-start; }
  .qr { width: 180px; }
}

@media (max-width: 440px) {
  .carousel, .stories { grid-template-columns: 1fr; }
}
