/* Život v praxi — web. Barvy a tón převzaté z aplikace. */
:root {
  --navy: #1b2a4a;
  --navy-soft: #5a6b8c;
  --green: #4cb963;
  --green-dark: #379750;
  --yellow: #f5c518;
  --bg: #eef2fb;
  --lavender: #dfe6f7;
  --white: #ffffff;
  --line: #dbe2f0;
  --radius: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--navy);
  line-height: 1.65;
}

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

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

/* ——— Header ——— */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(238, 242, 251, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 8px; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.05rem; color: var(--navy); text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.nav-links { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.nav-links a {
  text-decoration: none; color: var(--navy-soft); font-weight: 800; font-size: 0.86rem;
  padding: 8px 13px; border-radius: 999px; transition: 0.15s;
}
.nav-links a:hover { background: var(--lavender); color: var(--navy); }
.nav-links a.active { background: var(--navy); color: #fff; }
.nav-links a.cta { background: var(--green); color: #fff; }
.nav-links a.cta:hover { background: var(--green-dark); }

/* ——— Hero ——— */
.hero { padding: 64px 0 46px; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 36px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-weight: 900; line-height: 1.15; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero p.lead { margin-top: 18px; font-size: 1.12rem; color: var(--navy-soft); max-width: 34em; }
.hero-img { text-align: center; }
.hero-img img { max-height: 320px; margin: 0 auto; filter: drop-shadow(0 14px 24px rgba(27, 42, 74, 0.18)); }
.hero-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 900; font-size: 0.95rem;
  padding: 14px 26px; border-radius: 999px; transition: 0.15s;
}
.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 18px rgba(76, 185, 99, 0.35); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--navy); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--navy); }

/* ——— Sekce ——— */
section { padding: 46px 0; }
.section-label {
  display: inline-block; font-size: 0.74rem; font-weight: 900; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green-dark); background: rgba(76, 185, 99, 0.13);
  padding: 5px 13px; border-radius: 999px; margin-bottom: 14px;
}
h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); font-weight: 900; line-height: 1.25; margin-bottom: 14px; }
.section-intro { color: var(--navy-soft); max-width: 44em; font-size: 1.03rem; }

.cards { display: grid; gap: 16px; margin-top: 28px; }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border-radius: var(--radius); padding: 24px;
  box-shadow: 0 6px 20px rgba(27, 42, 74, 0.06);
}
.card .emoji { font-size: 1.7rem; }
.card h3 { font-size: 1.04rem; font-weight: 900; margin: 10px 0 6px; }
.card p { font-size: 0.93rem; color: var(--navy-soft); }

/* citát */
.quote {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 40px clamp(24px, 5vw, 56px); text-align: center; position: relative; overflow: hidden;
}
.quote p { font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 800; line-height: 1.5; max-width: 30em; margin: 0 auto; }
.quote .who { margin-top: 12px; font-size: 0.85rem; font-weight: 700; color: rgba(255, 255, 255, 0.65); }

/* dvousloupec s maskotem */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.split .shine { text-align: center; }
.split .shine img { max-height: 260px; margin: 0 auto; }

/* seznam bloků roku */
.blocks { display: grid; gap: 10px; margin-top: 24px; }
.block-row {
  display: flex; align-items: center; gap: 16px; background: #fff;
  border-radius: 16px; padding: 15px 20px; box-shadow: 0 4px 14px rgba(27, 42, 74, 0.05);
}
.block-key {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 13px; background: var(--navy);
  color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.block-row.accent .block-key { background: var(--green); }
.block-row b { font-size: 0.98rem; }
.block-row span { font-size: 0.85rem; color: var(--navy-soft); }

/* kroky lekce */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.step { background: #fff; border-radius: 18px; padding: 20px; text-align: center; box-shadow: 0 4px 14px rgba(27, 42, 74, 0.05); }
.step .num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff;
  font-weight: 900; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px;
}
.step b { display: block; font-size: 0.95rem; }
.step span { font-size: 0.83rem; color: var(--navy-soft); }

/* checklist (pro rodiče) */
.checklist { margin-top: 22px; display: grid; gap: 12px; }
.check {
  display: flex; gap: 14px; background: #fff; border-radius: 16px; padding: 16px 20px;
  box-shadow: 0 4px 14px rgba(27, 42, 74, 0.05); align-items: flex-start;
}
.check .ic { font-size: 1.25rem; line-height: 1.5; }
.check b { display: block; font-size: 0.97rem; }
.check span { font-size: 0.89rem; color: var(--navy-soft); }

/* FAQ */
details {
  background: #fff; border-radius: 16px; padding: 16px 20px; margin-top: 10px;
  box-shadow: 0 4px 14px rgba(27, 42, 74, 0.05);
}
details summary { font-weight: 900; cursor: pointer; font-size: 0.97rem; list-style: none; display: flex; }
details summary::after { content: "+"; margin-left: auto; font-size: 1.2rem; color: var(--green); }
details[open] summary::after { content: "–"; }
details p { margin-top: 10px; font-size: 0.92rem; color: var(--navy-soft); }

/* CTA pás */
.cta-band {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  border-radius: var(--radius); color: #fff; padding: 40px clamp(24px, 5vw, 52px);
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255, 255, 255, 0.9); font-size: 0.98rem; }
.cta-band .btn { background: #fff; color: var(--green-dark); }
.cta-band .btn:hover { transform: translateY(-1px); }

/* ——— Footer ——— */
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 34px 0 44px; }
.foot { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot .logo img { width: 30px; height: 30px; }
.foot-links { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--navy-soft); font-size: 0.86rem; font-weight: 700; text-decoration: none; }
.foot-links a:hover { color: var(--navy); }
.foot-note { width: 100%; font-size: 0.78rem; color: var(--navy-soft); }

/* ——— Mobil ——— */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding: 40px 0 28px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-img img { max-height: 220px; }
  .cards.c2, .cards.c3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; text-align: center; }
  .split .shine img { max-height: 190px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-band .btn { justify-self: center; }
  .nav-links a { padding: 7px 10px; font-size: 0.8rem; }
}

/* ——— Rozcestník cílovek ——— */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.aud-card {
  display: block; text-decoration: none; color: var(--navy); background: #fff;
  border-radius: var(--radius); padding: 26px; box-shadow: 0 6px 20px rgba(27,42,74,0.06);
  border: 2px solid transparent; transition: 0.15s;
}
.aud-card:hover { border-color: var(--green); transform: translateY(-3px); }
.aud-card .emoji { font-size: 2rem; }
.aud-card h3 { font-size: 1.12rem; font-weight: 900; margin: 12px 0 6px; }
.aud-card p { font-size: 0.9rem; color: var(--navy-soft); }
.aud-card .go { display: inline-block; margin-top: 14px; font-weight: 900; color: var(--green-dark); font-size: 0.9rem; }

/* ——— Merch ——— */
.merch-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.merch-card {
  background: #fff; border-radius: var(--radius); padding: 26px;
  box-shadow: 0 6px 20px rgba(27,42,74,0.06); position: relative; overflow: hidden;
}
.merch-card .badge {
  position: absolute; top: 16px; right: -34px; transform: rotate(38deg);
  background: var(--yellow); color: var(--navy); font-size: 0.68rem; font-weight: 900;
  padding: 5px 40px; letter-spacing: 0.06em;
}
.merch-card .emoji { font-size: 2.2rem; }
.merch-card h3 { font-size: 1.08rem; font-weight: 900; margin: 12px 0 6px; }
.merch-card p { font-size: 0.9rem; color: var(--navy-soft); }

/* ——— Podpora — tři cesty ——— */
.support { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.support .card h3 { color: var(--green-dark); }
.support ul { margin: 10px 0 0 18px; font-size: 0.9rem; color: var(--navy-soft); }
.support li { margin-top: 5px; }

/* číselné dlaždice */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.stat { background: #fff; border-radius: 18px; padding: 22px; text-align: center; box-shadow: 0 4px 14px rgba(27,42,74,0.05); }
.stat b { display: block; font-size: 1.7rem; font-weight: 900; color: var(--green-dark); }
.stat span { font-size: 0.83rem; color: var(--navy-soft); font-weight: 700; }

@media (max-width: 820px) {
  .audience, .support { grid-template-columns: 1fr; }
  .merch-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 14px 8px; }
  .stat b { font-size: 1.2rem; }
}

/* mobilní hlavička: logo na vlastním řádku, odkazy se zalamují pod ním */
@media (max-width: 820px) {
  .nav { flex-wrap: wrap; row-gap: 4px; padding: 10px 0; }
  .nav-links { margin-left: 0; width: 100%; }
}

/* ——— Grafické ikony místo emoji ——— */
.card .ic, .check .ic-img { height: 46px; width: auto; }
.check .ic-img { height: 38px; flex-shrink: 0; }
.aud-card .ic { height: 52px; width: auto; }

/* ——— Tým ——— */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.person { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 20px rgba(27,42,74,0.06); }
.person img { width: 100%; height: 340px; object-fit: cover; object-position: center 20%; }
.person .p-body { padding: 22px 24px 26px; }
.person h3 { font-size: 1.15rem; font-weight: 900; }
.person .role { font-size: 0.82rem; font-weight: 800; color: var(--green-dark); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.person p { font-size: 0.92rem; color: var(--navy-soft); }

/* ——— Fotogalerie ——— */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
.gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 18px; box-shadow: 0 6px 18px rgba(27,42,74,0.10); }

/* ——— Ukázky z aplikace (telefonní rámečky) ——— */
.phones { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; margin-top: 28px; align-items: start; }
.phone { background: var(--navy); border-radius: 30px; padding: 10px; box-shadow: 0 16px 34px rgba(27,42,74,0.22); }
.phone img { width: 100%; border-radius: 22px; }
.phone .cap { text-align: center; color: #fff; font-size: 0.78rem; font-weight: 800; padding: 8px 4px 4px; }

/* ——— Recenze ——— */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.video { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 6px 18px rgba(27,42,74,0.10); aspect-ratio: 16/9; background: var(--navy); }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.stickies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.sticky { position: relative; background: #fdf7d8; border-radius: 6px; padding: 26px 22px 20px; box-shadow: 0 8px 18px rgba(27,42,74,0.12); transform: rotate(-1.2deg); }
.sticky:nth-child(2) { background: #e3f5e6; transform: rotate(1.1deg); }
.sticky:nth-child(3) { transform: rotate(0.6deg); }
.sticky .pin { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); height: 34px; width: auto; }
.sticky p { font-size: 0.92rem; color: var(--navy); font-weight: 700; }
.sticky .from { margin-top: 10px; font-size: 0.78rem; color: var(--navy-soft); font-weight: 800; }

@media (max-width: 820px) {
  .team, .gallery, .videos, .stickies { grid-template-columns: 1fr; }
  .phones { grid-template-columns: 1fr; max-width: 300px; margin-left: auto; margin-right: auto; }
  .person img { height: 280px; }
}

/* ——— Cesta ročníkem (bloky jako stezka s milníky) ——— */
.journey { position: relative; margin-top: 38px; padding: 8px 0 4px; }
.journey::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0;
  border-left: 3px dashed rgba(76, 185, 99, 0.55); transform: translateX(-50%);
}
.j-start, .j-end { position: relative; z-index: 2; text-align: center; margin-bottom: 20px; }
.j-end { margin: 6px 0 0; }
.j-start img, .j-end img { height: 92px; margin: 0 auto; filter: drop-shadow(0 8px 14px rgba(27,42,74,0.18)); }
.j-start span, .j-end span {
  display: inline-block; margin-top: 6px; background: var(--navy); color: #fff;
  font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.j-end span { background: var(--green); }
.j-row { position: relative; display: grid; grid-template-columns: 1fr 1fr; column-gap: 74px; margin-bottom: 24px; }
.j-dot {
  position: absolute; left: 50%; top: 14px; transform: translateX(-50%);
  width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff;
  font-weight: 900; font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  border: 5px solid var(--bg); box-shadow: 0 6px 14px rgba(27,42,74,0.2); z-index: 2;
}
.j-row.alt .j-dot { background: var(--green); }
.j-card {
  grid-column: 1; background: #fff; border-radius: 18px; padding: 18px 22px;
  box-shadow: 0 6px 18px rgba(27,42,74,0.07); text-align: right; transition: 0.15s;
}
.j-row.alt .j-card { grid-column: 2; text-align: left; }
.j-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(27,42,74,0.12); }
.j-card b { display: block; font-size: 1.02rem; }
.j-card span { font-size: 0.86rem; color: var(--navy-soft); }
.j-card .oblast {
  display: inline-block; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--green-dark); margin-bottom: 4px;
}
@media (max-width: 820px) {
  .journey::before { left: 24px; transform: none; }
  .j-start, .j-end { text-align: left; padding-left: 62px; }
  .j-start img, .j-end img { margin: 0; height: 76px; }
  .j-row { grid-template-columns: 1fr; margin-bottom: 16px; }
  .j-dot { left: 24px; transform: translateX(-50%); width: 42px; height: 42px; font-size: 1rem; }
  .j-card, .j-row.alt .j-card { grid-column: 1; margin-left: 62px; text-align: left; }
}

/* hero s fotkou lidí místo maskota */
.hero-img img.photo {
  width: 100%; max-height: 380px; object-fit: cover; border-radius: 26px;
  box-shadow: 0 18px 40px rgba(27, 42, 74, 0.22); filter: none;
}

/* ——— Odborný rámec (pás pod týmem) ——— */
.experts {
  margin-top: 20px; background: #fff; border-radius: var(--radius);
  padding: 26px clamp(20px, 4vw, 36px); box-shadow: 0 6px 20px rgba(27,42,74,0.06);
  border-left: 6px solid var(--green);
}
.experts h3 { font-size: 1.12rem; font-weight: 900; margin-bottom: 8px; }
.experts > p { font-size: 0.95rem; color: var(--navy-soft); max-width: 60em; }
.experts .fields { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.experts .field {
  display: flex; align-items: center; gap: 8px; background: var(--bg);
  border-radius: 999px; padding: 8px 16px; font-size: 0.82rem; font-weight: 800; color: var(--navy);
}
.experts .field img { height: 22px; width: auto; }

/* podpisy pod citátem */
.quote .sig {
  font-family: "Caveat", "Segoe Script", cursive; font-size: 1.5rem; font-weight: 600;
  color: #fff; opacity: 0.95; margin-top: 16px; letter-spacing: 0.02em;
}
.quote .sig span { color: var(--green); font-size: 1.1rem; margin: 0 6px; }

/* ——— stránky deníku ——— */
.pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.pages img {
  width: 100%; border-radius: 10px; box-shadow: 0 14px 30px rgba(27,42,74,0.18);
  border: 1px solid var(--line); transform: rotate(-1.2deg); transition: 0.2s;
}
.pages img:nth-child(2) { transform: rotate(1deg); }
.pages img:nth-child(3) { transform: rotate(-0.5deg); }
.pages img:hover { transform: rotate(0deg) scale(1.03); }
@media (max-width: 820px) { .pages { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; } }

/* lightbox pro stránky deníku */
.pages img { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(27, 42, 74, 0.88);
  display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out;
}
.lightbox img { max-width: min(92vw, 700px); max-height: 92vh; width: auto; border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,0.45); }
.lightbox[hidden] { display: none; }

/* ——— teaser Mimo třídu (homepage) ——— */
.beyond { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.beyond-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  text-decoration: none; color: var(--navy); background: #fff; border-radius: var(--radius);
  padding: 26px; box-shadow: 0 6px 20px rgba(27,42,74,0.06); border: 2px solid transparent; transition: 0.15s;
}
.beyond-card:hover { border-color: var(--green); transform: translateY(-3px); }
.beyond-card .phone { max-width: 210px; }
.beyond-card .page-mini {
  max-width: 230px; border-radius: 8px; border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(27,42,74,0.16); transform: rotate(-1deg);
}
.beyond-card b { font-size: 1.1rem; font-weight: 900; margin-top: 10px; }
.beyond-card > span { font-size: 0.9rem; color: var(--navy-soft); max-width: 30em; }
.beyond-card .go { font-weight: 900; color: var(--green-dark); font-size: 0.9rem; margin-top: 4px; }
@media (max-width: 820px) { .beyond { grid-template-columns: 1fr; } }

/* ——— listovací deník ——— */
.book { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 22px); margin-top: 30px; }
.book-page { max-width: min(520px, 72vw); }
.book-page img {
  width: 100%; border-radius: 12px; border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(27,42,74,0.20); cursor: zoom-in; display: block;
}
.book-arrow {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: var(--navy); color: #fff; font-size: 1.6rem; font-weight: 900;
  cursor: pointer; transition: 0.15s; line-height: 1;
}
.book-arrow:hover { background: var(--green); transform: scale(1.08); }
.book-bar { text-align: center; margin-top: 14px; font-size: 0.85rem; font-weight: 800; color: var(--navy-soft); }
.book-bar b { color: var(--navy); }
@media (max-width: 820px) {
  .book-arrow { width: 42px; height: 42px; font-size: 1.3rem; }
  .book-page { max-width: 62vw; }
}
