/* ============================================================
   Cura da Floresta — landing page „Říjnová výprava"
   Styl: zemitý expediční deník (zelená / krémová / oranžová)
   ============================================================ */

:root {
  --green-deep: #1C3325;
  --green-dark: #14241A;
  --green-mid:  #3A5A40;
  --cream:      #F5EFE2;
  --cream-soft: #FDFBF6;
  --orange:     #E8743B;
  --orange-hot: #D45F28;
  --orange-soft:#E8A06B;
  --ink:        #22301F;
  --ink-soft:   #5A6B5E;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --maxw: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
section { scroll-margin-top: 64px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.06; }
h1 { font-weight: 900; font-size: clamp(2.3rem, 6vw, 4.2rem); letter-spacing: -0.01em; }
h2 { font-weight: 900; font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: .5em; }
h1 em, h2 em { font-style: italic; font-weight: 600; color: var(--orange-soft); }

.kicker {
  font-size: .72rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--orange-hot); margin-bottom: 14px;
}
.kicker--ondark { color: var(--orange-soft); text-shadow: 0 1px 12px rgba(0,0,0,.6); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
section { position: relative; }
.section-pad { padding: clamp(64px, 9vw, 110px) 0; }

/* — kené předěl: jemný geometrický zigzag inspirovaný tkaním Huni Kuin — */
.kene {
  height: 10px;
  background:
    repeating-linear-gradient(135deg, var(--orange) 0 7px, transparent 7px 14px),
    repeating-linear-gradient(45deg, var(--orange) 0 7px, transparent 7px 14px);
  background-size: 20px 5px;
  background-position: 0 0, 0 5px;
  opacity: .85;
}

/* — zrnitá textura papíru přes světlé sekce — */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ============ Tlačítka ============ */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  font-family: var(--font-body);
}
.btn:active { transform: scale(.97); }
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 6px 24px rgba(232, 116, 59, .35); }
.btn--orange:hover { background: var(--orange-hot); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(245, 239, 226, .5); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(245, 239, 226, .08); }
.btn--small { padding: 9px 20px; font-size: .85rem; }

/* ============ Sticky CTA ============ */
#sticky-cta {
  position: fixed; z-index: 50; left: 0; right: 0; top: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 20px;
  background: rgba(20, 36, 26, .92); backdrop-filter: blur(8px);
  color: var(--cream);
  transform: translateY(-110%); transition: transform .3s ease;
}
#sticky-cta.visible { transform: translateY(0); }
.sticky-cta__label { font-size: .85rem; font-weight: 600; letter-spacing: .04em; }

/* ============ HERO ============ */
#hero {
  position: relative; min-height: 92svh;
  display: flex; flex-direction: column; justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(12, 22, 16, .42) 0%, rgba(12, 22, 16, .18) 40%, rgba(12, 22, 16, .82) 100%),
    url("../img/moudrost-huni.jpg") center 35% / cover no-repeat;
  color: var(--cream);
  overflow: hidden;
}
.hero__topbar {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 26px;
}
.hero__logo { width: 64px; height: auto; filter: drop-shadow(0 2px 10px rgba(0,0,0,.4)); }
.hero__site {
  font-size: .8rem; letter-spacing: .08em; text-decoration: none;
  opacity: .8; font-weight: 600;
}
.hero__site:hover { opacity: 1; }
.hero__content {
  position: relative; z-index: 2;
  max-width: 820px;
  padding: 0 26px clamp(48px, 8vw, 90px);
}
.hero__content h1 { margin-bottom: 18px; text-shadow: 0 2px 30px rgba(0,0,0,.45); }
.hero__sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem); max-width: 34em;
  opacity: .92; margin-bottom: 30px; text-shadow: 0 1px 16px rgba(0,0,0,.5);
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* nástupní animace */
.reveal { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
.reveal:nth-child(2) { animation-delay: .12s; }
.reveal:nth-child(3) { animation-delay: .24s; }
.reveal:nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============ PRUH FAKTŮ ============ */
#fakta { background: var(--cream-soft); border-bottom: 1px solid #E8E2D4; }
.facts {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.facts__item {
  padding: 26px 18px; text-align: center;
  border-left: 1px solid #E8E2D4;
  display: flex; flex-direction: column; gap: 2px;
}
.facts__item:first-child { border-left: none; }
.facts__item strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--green-deep); }
.facts__item span { font-size: .8rem; color: var(--ink-soft); letter-spacing: .02em; }

@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts__item { border-left: none; border-top: 1px solid #E8E2D4; }
  .facts__item:nth-child(-n+2) { border-top: none; }
  .facts__item:nth-child(even) { border-left: 1px solid #E8E2D4; }
}

/* ============ Sekce obecně ============ */
.section--dark { background: var(--green-deep); color: var(--cream); }
.section--dark .kicker { color: var(--orange-soft); }
.section-lead {
  max-width: 44em; font-size: clamp(1rem, 2vw, 1.12rem);
  opacity: .88; margin-bottom: 48px;
}

/* ============ Co tě čeká ============ */
.expect { display: grid; grid-template-columns: 5fr 7fr; gap: 28px; align-items: stretch; }
.expect__photo { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; }
.expect__photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.expect__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ecard {
  background: rgba(245, 239, 226, .05);
  border: 1px solid rgba(245, 239, 226, .14);
  border-radius: var(--radius); padding: 24px 22px;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.ecard:hover { border-color: var(--orange-soft); transform: translateY(-3px); background: rgba(245, 239, 226, .08); }
.ecard__num {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  color: var(--orange); font-size: .95rem; display: block; margin-bottom: 10px;
}
.ecard h3 { font-size: 1.18rem; font-weight: 600; margin-bottom: 8px; }
.ecard p { font-size: .92rem; opacity: .82; line-height: 1.55; }

@media (max-width: 900px) {
  .expect { grid-template-columns: 1fr; }
  .expect__photo { min-height: 240px; }
}
@media (max-width: 560px) {
  .expect__cards { grid-template-columns: 1fr; }
}

/* ============ Příběh & mise ============ */
.story { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.story__photo { position: relative; }
.story__photo img {
  border-radius: var(--radius);
  box-shadow: 14px 14px 0 0 var(--orange);
}
.story__photo figcaption {
  margin-top: 22px; font-size: .8rem; color: var(--ink-soft); font-style: italic;
}
.story__text p { margin-bottom: 1em; max-width: 38em; }
.story__text h2 { color: var(--green-deep); }
.story__text h2 em { color: var(--orange-hot); }
.story__em { font-family: var(--font-display); font-size: 1.1em; color: var(--green-mid); }
.textlink {
  font-weight: 700; color: var(--orange-hot); text-decoration: none;
  border-bottom: 2px solid transparent; transition: border-color .2s ease;
}
.textlink:hover { border-bottom-color: var(--orange-hot); }

@media (max-width: 820px) {
  .story { grid-template-columns: 1fr; }
  .story__photo { max-width: 420px; }
}

/* ============ Program (akordeon) ============ */
.steps { max-width: 760px; }
.step {
  border-bottom: 1px solid rgba(245, 239, 226, .18);
}
.step summary {
  list-style: none; cursor: pointer; display: flex; align-items: baseline; gap: 16px;
  padding: 22px 4px; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  transition: color .2s ease;
}
.step summary::-webkit-details-marker { display: none; }
.step summary:hover { color: var(--orange-soft); }
.step__num {
  font-style: italic; color: var(--orange); font-size: .8em; min-width: 2em;
}
.step__chev { margin-left: auto; font-size: .8em; opacity: .5; transition: transform .25s ease; }
.step[open] .step__chev { transform: rotate(180deg); }
.step p {
  padding: 0 4px 24px calc(2em + 16px); max-width: 36em;
  opacity: .85; font-size: .98rem;
}
.steps__note { margin-top: 22px; font-size: .85rem; opacity: .6; font-style: italic; }

/* ============ Praktické info ============ */
.h2--green { color: var(--green-deep); }
.h2--green em { color: var(--orange-hot); }
.info-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.info-col {
  border-radius: var(--radius); padding: 30px 28px;
}
.info-col--in { background: var(--green-deep); color: var(--cream); }
.info-col--out { background: var(--cream-soft); border: 1px solid #E8E2D4; }
.info-col h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 16px; }
.info-col--in h3 { color: var(--orange-soft); }
.info-col--out h3 { color: var(--orange-hot); }
.info-col ul { list-style: none; }
.info-col li {
  padding: 9px 0 9px 22px; position: relative; font-size: .95rem;
  border-top: 1px solid rgba(128, 128, 128, .14);
}
.info-col li::before {
  content: "—"; position: absolute; left: 0; color: var(--orange); font-weight: 700;
}
.info-col li:first-child { border-top: none; }

.goodtoknow {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px;
}
.goodtoknow span {
  font-size: .82rem; padding: 8px 16px; border-radius: 999px;
  background: var(--cream-soft); border: 1px solid #E8E2D4; color: var(--ink-soft);
}

.pricebox {
  margin-top: 44px; border-radius: var(--radius);
  border: 2px dashed var(--orange);
  padding: 28px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  background: rgba(232, 116, 59, .06);
}
.pricebox p { max-width: 36em; }
.pricebox strong { font-family: var(--font-display); font-size: 1.15em; color: var(--green-deep); }

@media (max-width: 720px) {
  .info-cols { grid-template-columns: 1fr; }
}

/* ============ Recenze ============ */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review {
  background: rgba(245, 239, 226, .05); border: 1px solid rgba(245, 239, 226, .14);
  border-radius: var(--radius); padding: 26px 24px;
}
.review p { font-family: var(--font-display); font-size: 1.05rem; font-style: italic; margin-bottom: 14px; }
.review cite { font-size: .85rem; opacity: .7; font-style: normal; }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }

/* ============ FAQ ============ */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
.faq-aside { color: var(--ink-soft); font-size: .95rem; max-width: 26em; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid #DDD5C3; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 18px 26px 18px 2px;
  font-weight: 600; font-size: 1.02rem; position: relative;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 1.3rem; color: var(--orange-hot);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item summary:hover { color: var(--orange-hot); }
.faq-item p { padding: 0 2px 20px; color: var(--ink-soft); font-size: .95rem; max-width: 36em; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } }

/* ============ Přihláška ============ */
#prihlaska { background: var(--green-dark); }
.apply { max-width: 640px; }
.apply__intro p:not(.kicker) { opacity: .88; margin-bottom: 36px; max-width: 36em; }
#apply-form { display: flex; flex-direction: column; gap: 18px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; letter-spacing: .03em; opacity: .85; }
.field input, .field textarea {
  background: rgba(245, 239, 226, .07);
  border: 1px solid rgba(245, 239, 226, .22);
  border-radius: 10px; padding: 13px 16px;
  color: var(--cream); font-family: var(--font-body); font-size: 1rem;
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); background: rgba(245, 239, 226, .1);
}
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; opacity: .85; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--orange); }
.consent a { color: var(--orange-soft); }
#apply-form .btn { align-self: flex-start; margin-top: 6px; }
.apply__note { font-size: .82rem; opacity: .6; }
.apply__error { color: #F2B8A0; font-size: .9rem; }
.apply__error a { color: var(--orange-soft); }
.apply__alt h3 { font-size: 1.5rem; margin-bottom: 8px; }
.apply__alt p { opacity: .88; margin-bottom: 22px; max-width: 34em; }
.apply__alt-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ Footer ============ */
#paticka { background: var(--green-dark); color: var(--cream); border-top: 1px solid rgba(245, 239, 226, .12); }
.footer {
  display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding-top: 54px; padding-bottom: 36px;
}
.footer__brand img { margin-bottom: 14px; }
.footer__brand p { font-size: .9rem; opacity: .7; font-style: italic; font-family: var(--font-display); }
.footer__links { display: flex; flex-direction: column; gap: 9px; }
.footer__links a {
  text-decoration: none; font-size: .92rem; opacity: .8; transition: opacity .2s ease, color .2s ease;
}
.footer__links a:hover { opacity: 1; color: var(--orange-soft); }
.footer__bottom {
  text-align: center; font-size: .75rem; opacity: .45;
  padding: 18px 22px 26px; letter-spacing: .04em;
}
