/* =====================================================
   PAN KRABIČKA – Prezentační landing page (root)
   Design tokeny převzaté z /jidelnicky/styles.css
   ===================================================== */

:root {
  --purple: #5346ec;
  --purple-deep: #4435e0;
  --purple-dark: #2a1fa8;
  --lime: #c5ff4d;
  --lime-dark: #aef03b;
  --green-dark: #0c3b25;
  --green-darker: #082a1b;
  --ink: #0e1a23;
  --ink-soft: #2c3138;
  --muted: #6b7480;
  --light: #f3f5f7;
  --white: #ffffff;
  --pink: #fde2e6;
  --mint: #cdf0e6;
  --border: #e2e6ec;
  --error: #e63946;
  --shadow: 0 18px 40px rgba(20, 22, 60, 0.12);
  --shadow-soft: 0 8px 24px rgba(20, 22, 60, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.55;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 { font-weight: 900; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 12px;
  position: relative;
}
.container--narrow { max-width: 880px; }

.h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}
.h2--white { color: #fff; }
.sec-sub {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 40px;
  font-size: 17px;
}
.sec-sub--white { color: rgba(255,255,255,.8); }

section { padding: 72px 0; }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .2px;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-dark); }
.btn--purple { background: var(--purple); color: #fff; }
.btn--purple:hover { background: var(--purple-deep); }
.btn--ghost { border: 2px solid rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--ghost-dark { border: 2px solid var(--ink); color: var(--ink); }

/* ============== PLACEHOLDER (fotky dodá Vojta) ============== */
.ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  background: repeating-linear-gradient(45deg, #eef0f4, #eef0f4 12px, #e4e7ee 12px, #e4e7ee 24px);
  border: 2px dashed #b9c0cc;
  border-radius: var(--radius-sm);
  color: #5b6470;
  font-size: 13px;
  font-weight: 500;
  padding: 18px;
  min-height: 180px;
}
.ph::before { content: "📷 FOTKA — dodá Vojta"; font-weight: 900; font-size: 12px; letter-spacing: .5px; color: var(--purple); }
.ph--wide { min-height: 240px; }
.ph--logo { min-height: 70px; padding: 10px; font-size: 11px; }
.ph--logo::before { content: "🖼 LOGO"; }

/* ============== REÁLNÉ FOTKY (nahrazují .ph placeholdery) ============== */
.photo { width: 100%; object-fit: cover; border-radius: var(--radius-sm); display: block; }
.about__media .photo { aspect-ratio: 16 / 10; }
.about__media .photo--tall { aspect-ratio: 4 / 5; }
.olivovna__photos .photo { aspect-ratio: 4 / 3; }
.olivovna__photos .photo--span { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.tmcard img.photo { width: 150px; aspect-ratio: 1 / 1; margin: 30px auto 6px; border-radius: var(--radius-sm); object-fit: cover; object-position: center; }

/* ============== NAV ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: 1180px; margin: 0 auto; padding: 14px 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav__logo { font-weight: 900; font-size: 26px; color: var(--purple); }
.nav__logo span { color: var(--purple); }
.nav__links { display: flex; gap: 22px; font-weight: 500; font-size: 14px; }
.nav__links a:hover { color: var(--purple); }
.nav__cta { font-weight: 500; }
.nav__burger { display: none; font-size: 26px; line-height: 1; }

/* ============== HERO ============== */
.hero {
  background: linear-gradient(160deg, var(--purple) 0%, var(--purple-deep) 55%, var(--purple-dark) 100%);
  color: #fff;
  padding: 80px 0 90px;
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.hero__eyebrow {
  display: inline-block; background: var(--lime); color: var(--ink);
  font-weight: 900; font-size: 13px; padding: 6px 14px; border-radius: 100px;
  margin-bottom: 18px; letter-spacing: .4px;
}
.hero__title { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; letter-spacing: -1px; margin-bottom: 18px; }
.hero__title em { font-style: normal; color: var(--lime); }
.hero__sub { font-size: 18px; color: rgba(255,255,255,.85); max-width: 520px; margin-bottom: 28px; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__img img { width: 100%; max-width: 700px; margin: 0 auto; filter: drop-shadow(0 18px 40px rgba(0,0,0,.28)); }
.hero__badges { display: flex; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.hero__badge { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.9); }
.hero__badge b { color: var(--lime); }

/* ============== PILÍŘE ============== */
.pillars { background: var(--light); }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  background: #fff; border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-soft); text-align: center;
  border-top: 6px solid var(--purple);
  transition: transform .2s;
}
.pillar:hover { transform: translateY(-4px); }
.pillar--food { border-top-color: var(--lime-dark); background: var(--green-dark); color: #fff; }
.pillar.pillar--food p { color: #fff; }
.pillar__icon { font-size: 42px; margin-bottom: 14px; }
.pillar h3 { font-size: 22px; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 15px; }
.pillar__tag {
  display: inline-block; margin-top: 14px; background: var(--lime); color: var(--ink);
  font-size: 12px; font-weight: 900; padding: 4px 12px; border-radius: 100px;
}

/* ============== O PROJEKTU ============== */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.about__text h2 { text-align: left; }
.about__text .sec-sub { text-align: left; margin-left: 0; }
.about__points { display: grid; gap: 16px; margin-top: 10px; }
.about__point { display: flex; gap: 14px; align-items: flex-start; }
.about__point .num {
  flex: 0 0 38px; height: 38px; border-radius: 50%;
  background: var(--purple); color: #fff; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.about__point p { font-size: 15px; color: var(--ink-soft); }
.about__point strong { font-weight: 900; }
.about__media { display: grid; gap: 16px; }

/* ============== KDO ZA TÍM STOJÍ ============== */
.team { background: var(--light); }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tmcard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.tmcard .ph { border-radius: 0; min-height: 220px; border: 0; border-bottom: 2px dashed #b9c0cc; }
.tmcard__body { padding: 8px 24px 28px; text-align: center; }
.tmcard h3 { font-size: 18px; margin-bottom: 4px; }
.tmcard small { color: var(--purple); font-weight: 500; display: block; margin-bottom: 8px; }
.tmcard p { font-size: 14px; color: var(--muted); }
.tmcard__avatar { width: 150px; aspect-ratio: 1 / 1; margin: 30px auto 6px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--purple), var(--purple-dark)); }
.tmcard__avatar--alt { background: linear-gradient(135deg, var(--green-dark), var(--green-darker)); }
.tmcard__avatar--lime { background: linear-gradient(135deg, var(--lime), var(--lime-dark)); }
.tmcard__avatar--lime span { color: var(--ink); }
.tmcard__avatar span { font-size: 60px; font-weight: 900; color: #fff; letter-spacing: 1px; }

/* ============== REKLAMNÍ PROSTOR ============== */
.ad { padding: 40px 0; }
.ad__inner {
  background: linear-gradient(120deg, var(--green-dark), var(--green-darker));
  border-radius: var(--radius); color: #fff;
  padding: 34px 38px; display: flex; align-items: center; gap: 28px; justify-content: space-between;
  box-shadow: var(--shadow);
}
.ad__inner--purple { background: linear-gradient(120deg, var(--purple), var(--purple-dark)); }
.ad__inner--lime { background: var(--lime); color: var(--ink); }
.ad__label {
  position: absolute; top: -10px; left: 40px;
  background: #fff; border: 1px solid var(--border); color: var(--muted);
  font-size: 10px; font-weight: 900; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 100px; text-transform: uppercase;
}
.ad__text h3 { font-size: 22px; margin-bottom: 6px; }
.ad__text p { font-size: 14px; opacity: .85; }

/* ============== ROZCESTNÍK ============== */
.dirs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dcard {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-soft);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.dcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--purple); }
.dcard__icon { font-size: 34px; }
.dcard h3 { font-size: 19px; }
.dcard p { font-size: 14px; color: var(--muted); flex: 1; }
.dcard__link { font-weight: 900; color: var(--purple); font-size: 14px; }
.dcard--hl { background: var(--purple); color: #fff; border: 0; }
.dcard--hl p { color: rgba(255,255,255,.82); }
.dcard--hl .dcard__link { color: var(--lime); }
.dcard__badge {
  align-self: flex-start; background: var(--mint); color: var(--green-dark);
  font-size: 11px; font-weight: 900; padding: 3px 10px; border-radius: 100px;
}
.dcard--hl .dcard__badge { background: var(--lime); color: var(--ink); }
.dcard--soon { cursor: default; }
.dcard--soon:hover { transform: none; box-shadow: var(--shadow-soft); border-color: var(--border); }

/* ============== OLIVOVNA ============== */
.olivovna { background: var(--green-dark); color: #fff; }
.olivovna__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.olivovna h2 { text-align: left; }
.olivovna__text p { color: rgba(255,255,255,.85); margin-bottom: 16px; font-size: 16px; }
.olivovna__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.olivovna .ph { background: repeating-linear-gradient(45deg, rgba(255,255,255,.08), rgba(255,255,255,.08) 12px, rgba(255,255,255,.14) 12px, rgba(255,255,255,.14) 24px); border-color: rgba(255,255,255,.4); color: rgba(255,255,255,.75); }
.olivovna .ph::before { color: var(--lime); }

/* ============== KOMUNITA ============== */
.community { background: var(--light); }
.community__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 880px; margin: 0 auto; }
.comcard { background: #fff; border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 12px; }
.comcard--paid { background: var(--purple); color: #fff; }
.comcard--paid p, .comcard--paid li { color: rgba(255,255,255,.85); }
.comcard h3 { font-size: 22px; }
.comcard .price-tag { font-weight: 900; font-size: 15px; color: var(--purple); }
.comcard--paid .price-tag { color: var(--lime); }
.comcard ul { display: grid; gap: 8px; font-size: 14px; color: var(--ink-soft); flex: 1; }
.comcard li::before { content: "✓ "; font-weight: 900; color: var(--lime-dark); }
.comcard .btn { align-self: flex-start; }
.community__note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 22px; }

/* ============== PARTNEŘI ============== */
.partners__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pcard {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; text-align: center; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 12px; align-items: center;
}
.pcard h3 { font-size: 17px; }
.pcard p { font-size: 13px; color: var(--muted); flex: 1; }
.pcard__code {
  background: var(--light); border: 2px dashed var(--purple);
  border-radius: var(--radius-sm); padding: 8px 16px;
  font-weight: 900; letter-spacing: 1px; color: var(--purple); font-size: 14px;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.pcard__code:hover { background: var(--purple); color: #fff; }
.pcard__code.copied { background: var(--lime-dark); border-color: var(--lime-dark); color: var(--ink); }
.pcard__logo { transition: transform .15s; }
.pcard__logo:hover { transform: scale(1.04); }
.pcard__web { font-size: 13px; font-weight: 900; color: var(--purple); margin-top: 2px; }
.pcard__web:hover { text-decoration: underline; }
.pcard__logo { height: 72px; display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.pcard__logo img { max-height: 58px; max-width: 100%; width: auto; object-fit: contain; }

/* ============== BLOG ============== */
.blog { background: var(--light); }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bcard { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; transition: transform .2s; }
.bcard:hover { transform: translateY(-4px); }
.bcard .ph { border-radius: 0; border: 0; border-bottom: 2px dashed #b9c0cc; min-height: 170px; }
.bcard__body { padding: 20px 22px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bcard small { color: var(--muted); font-size: 12px; font-weight: 500; }
.bcard h3 { font-size: 17px; line-height: 1.3; }
.bcard p { font-size: 14px; color: var(--muted); flex: 1; }
.blog__more { text-align: center; margin-top: 32px; }

/* ============== PODCASTY & MÉDIA ============== */
.media__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(205px, 1fr)); gap: 18px; }
.media__note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 20px; }

/* ============== SPOLUPRÁCE ============== */
.coop { background: linear-gradient(160deg, var(--purple) 0%, var(--purple-dark) 100%); color: #fff; }
.coop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 36px; }
.vcard { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); padding: 26px 24px; }
.vcard h3 { font-size: 18px; margin-bottom: 8px; color: var(--lime); }
.vcard p { font-size: 14px; color: rgba(255,255,255,.85); }
.coop__cta { text-align: center; }
.coop__cta-title { font-size: clamp(24px, 3vw, 34px); font-weight: 900; color: #fff; margin-bottom: 10px; }
.btn--big { padding: 18px 38px; font-size: 17px; }

/* ============== FAQ ============== */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 16px; }
.faq__item {
  background: #fff; border: 0; border-radius: var(--radius);
  padding: 24px 30px; box-shadow: var(--shadow-soft);
}
.faq__item summary { font-weight: 900; text-transform: uppercase; letter-spacing: .5px; font-size: 15px; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::after { content: "+"; color: var(--purple); font-size: 26px; font-weight: 900; line-height: 1; }
.faq__item[open] summary { color: var(--purple); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin-top: 14px; color: var(--muted); font-size: 15px; }

/* ============== NEWSLETTER ============== */
.newsletter { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); }
.newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.newsletter__text h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.newsletter__text p { color: rgba(255,255,255,.85); font-size: 16px; max-width: 460px; }
.newsletter__form { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; min-width: 280px; justify-content: flex-end; }
.newsletter__form input { flex: 1; min-width: 240px; max-width: 340px; padding: 15px 20px; border: 2px solid transparent; border-radius: 100px; font: inherit; font-size: 15px; background: #fff; color: var(--ink); }
.newsletter__form input:focus { outline: none; border-color: var(--lime); }
.newsletter__msg { color: #fff; font-weight: 500; margin-top: 18px; display: none; }
.newsletter__msg.show { display: block; }

/* ============== KONTAKT ============== */
.contact { background: var(--light); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact__card { background: #fff; border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow); }
.contact__card h3 { font-size: 22px; margin-bottom: 6px; }
.contact__card > p { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 6px; }
.form-field .req { color: var(--purple); font-weight: 900; }
.form-field input, .form-field textarea {
  width: 100%; padding: 13px 16px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font: inherit; font-size: 15px;
  transition: border-color .15s; background: #fff;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--purple); }
.form-field input.invalid, .form-field textarea.invalid { border-color: var(--error); }
.form-field textarea { min-height: 120px; resize: vertical; }
.age-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.age-chip { position: relative; }
.age-chip input { position: absolute; opacity: 0; }
.age-chip span {
  display: inline-block; padding: 9px 18px; border: 2px solid var(--border);
  border-radius: 100px; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all .15s;
}
.age-chip input:checked + span { background: var(--purple); border-color: var(--purple); color: #fff; }
.age-chip input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 2px; }
.form-submit {
  width: 100%; background: var(--lime); color: var(--ink);
  font-weight: 900; font-size: 16px; padding: 15px; border-radius: 100px;
  transition: transform .15s, background .15s;
}
.form-submit:hover { transform: translateY(-2px); background: var(--lime-dark); }
.form-submit:disabled { opacity: .6; transform: none; cursor: wait; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; font-size: 13px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.form-consent input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--purple); flex-shrink: 0; cursor: pointer; }
.form-consent.invalid span { color: var(--error); }
.form-error, .form-success { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; display: none; }
.form-error { background: #fdecee; color: var(--error); }
.form-success { background: var(--mint); color: var(--green-dark); }

.contact__info { display: grid; gap: 22px; }
.infocard { background: #fff; border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-soft); }
.infocard h4 { font-size: 16px; margin-bottom: 12px; color: var(--purple); }
.infocard p, .infocard a { font-size: 14px; color: var(--ink-soft); line-height: 1.8; display: block; }
.infocard a:hover { color: var(--purple); }
.todo { color: var(--error); font-weight: 900; font-size: 12px; }

/* ============== FOOTER ============== */
.footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 56px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand .nav__logo { color: #fff; }
.footer__brand .nav__logo span { color: #fff; }
.footer__brand p { font-size: 14px; margin: 12px 0; }
.footer__brand small { font-size: 12px; color: rgba(255,255,255,.5); }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer__col a { display: block; font-size: 14px; padding: 4px 0; color: rgba(255,255,255,.7); }
.footer__col a:hover { color: var(--lime); }

/* ============== RESPONSIVE ============== */
@media (max-width: 960px) {
  .hero__grid, .about__grid, .olivovna__grid, .contact__grid { grid-template-columns: 1fr; }
  .pillars__grid, .team__grid, .dirs__grid, .blog__grid, .coop__grid { grid-template-columns: 1fr 1fr; }
  .partners__grid, .media__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__img { order: -1; }
  .hero__img img { max-width: 300px; }
  .ad__inner { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  section { padding: 52px 0; }
  .pillars__grid, .team__grid, .dirs__grid, .blog__grid, .coop__grid,
  .community__grid, .partners__grid, .media__grid, .olivovna__photos { grid-template-columns: 1fr; }
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 18px 24px; gap: 14px;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
  .nav__links.open { display: flex; }
  .nav__burger { display: block; }
  .footer__grid { grid-template-columns: 1fr; }
}
