:root {
  --brand: #e8512f;
  --brand-dark: #c8401f;
  --brand-soft: #f59b85;
  --accent: #ee9a85;
  --cream: #f7efe3;
  --cream-2: #efe2cf;
  --ink: #2c2018;
  --ink-soft: #5a4a3d;
  --white: #fff;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 18px 40px -18px rgba(44, 32, 24, 0.35);
  --shadow-soft: 0 10px 30px -16px rgba(44, 32, 24, 0.28);
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: "Baloo 2", system-ui, sans-serif;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 239, 227, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44, 32, 24, 0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: "Baloo 2", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--brand);
}
.brand-symbol { width: 40px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 30px); }
.nav a {
  text-decoration: none;
  font-weight: 700;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav a:hover { color: var(--brand); }
.nav-cta {
  background: var(--brand);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Baloo 2", sans-serif;
  font-weight: 600;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}
.btn-light {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: var(--shadow-soft);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }
.btn-lg { font-size: 1.15rem; padding: 18px 40px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #ef6038 0%, var(--brand) 45%, var(--brand-dark) 100%);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(48px, 8vw, 90px) clamp(90px, 12vw, 150px);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.float { position: absolute; opacity: 0.12; }
.float-1 { width: 130px; top: 12%; right: 8%; transform: rotate(-12deg); }
.float-2 { width: 150px; bottom: 18%; left: 4%; transform: rotate(14deg); }
.float-3 { width: 360px; bottom: -90px; right: -60px; opacity: 0.08; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.hero-logo { width: min(330px, 70%); height: auto; margin-bottom: 22px; }
.hero-lead {
  font-family: "Baloo 2", sans-serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 14px;
}
.hero-tagline {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 0.85rem;
  opacity: 0.9;
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-photo {
  position: relative;
  justify-self: end;
}
.hero-photo img {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  border: 6px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  object-fit: cover;
}

.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 70px;
  background: var(--cream);
  clip-path: polygon(0 55%, 100% 0, 100% 100%, 0% 100%);
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(60px, 9vw, 110px); }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--brand);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 700;
  margin-bottom: 18px;
}
.hl { color: var(--brand); }
.lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 60ch;
}

/* O pořadu cards */
.section-show { text-align: center; }
.show-lead {
  margin-inline: auto;
  font-size: clamp(1.25rem, 2.6vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  max-width: 26ch;
}
.cards {
  list-style: none;
  margin: 54px auto 0;
  padding: 0;
  max-width: 820px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 26px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(44, 32, 24, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon {
  display: grid;
  place-items: center;
  width: 84px; height: 84px;
  background: var(--brand);
  border-radius: 24px;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px -10px rgba(232, 81, 47, 0.6);
}
.card-icon img { width: 48px; height: 48px; object-fit: contain; }
.card h3 { font-size: 1.5rem; color: var(--brand-dark); }

/* Petra */
.section-petra { background: var(--cream-2); }
.petra-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(34px, 6vw, 70px);
  align-items: center;
}
.petra-media { position: relative; }
.petra-photo-main {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 5;
}
.petra-sticker {
  position: absolute;
  width: 120px;
  right: -22px;
  bottom: -28px;
  filter: drop-shadow(0 10px 18px rgba(44, 32, 24, 0.25));
}
.petra-credentials {
  font-weight: 700;
  color: var(--brand-dark);
  margin: 4px 0 22px;
}
.petra-copy p { color: var(--ink-soft); max-width: 56ch; }

/* Citát */
.section-quote {
  background: var(--brand);
  color: #fff;
  text-align: center;
}
.quote {
  position: relative;
  font-family: "Baloo 2", sans-serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  line-height: 1.3;
  max-width: 22ch;
  margin: 0 auto;
}
.quote-mark {
  display: block;
  font-size: 4rem;
  line-height: 0.4;
  opacity: 0.5;
  margin-bottom: 18px;
}
.quote-author {
  margin-top: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

/* CTA */
.section-cta {
  position: relative;
  background: linear-gradient(160deg, var(--brand-dark), #a8320f);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-inner { position: relative; }
.section-cta .lead {
  color: rgba(255, 255, 255, 0.92);
  margin: 0 auto 34px;
}
.section-cta .section-title { margin-bottom: 18px; }
.float-cta {
  position: absolute;
  width: 420px;
  opacity: 0.07;
  top: -80px;
  left: -70px;
  transform: rotate(-14deg);
}
.cta-note { margin-top: 16px; font-size: 0.9rem; opacity: 0.75; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 46px;
  text-align: center;
}
.footer-logo { width: 220px; margin: 0 auto 14px; }
.footer-tag {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--brand-soft);
}
.footer-copy { margin: 0; font-size: 0.85rem; opacity: 0.6; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-logo { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-photo { justify-self: center; margin-top: 12px; }
  .hero-photo img { transform: none; }
  .cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .petra-grid { grid-template-columns: 1fr; }
  .petra-media { max-width: 420px; margin-inline: auto; }
  .nav a:not(.nav-cta) { display: none; }
}

@media (max-width: 520px) {
  .header-inner { height: 64px; }
  .brand { font-size: 1.15rem; }
  .brand-symbol { width: 34px; }
  .btn { width: 100%; text-align: center; }
  .hero-actions { flex-direction: column; }
}
