/* ===== Cestotéka — landing.css: sdílené styly pro stránky bezplatných průvodců ===== */

/* ===== Skip link ===== */
.lp-skip {
  position: absolute; top: -48px; left: 16px; z-index: 999;
  background: var(--green); color: var(--cream);
  padding: 8px 20px; border-radius: 0 0 10px 10px;
  font-weight: 800; font-size: 15px; text-decoration: none;
  transition: top .15s;
}
.lp-skip:focus { top: 0; }

/* ===== SEKCE CREAM (krémová) ===== */
.section-cream { background: var(--cream); }

/* ===== HERO (sekce 1 — tmavě zelená) ===== */
.lp-hero { padding: clamp(72px, 7.5vw, 112px) 0 clamp(64px, 7vw, 96px); position: relative; overflow: hidden; }
.lp-hero-glow {
  position: absolute; top: -240px; right: -160px;
  width: 900px; height: 900px; border-radius: 999px;
  background: radial-gradient(circle, rgba(224,169,61,.26) 0%, rgba(224,169,61,.08) 42%, rgba(224,169,61,0) 66%);
  pointer-events: none; z-index: 0;
}
.lp-hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 60px); align-items: center;
}
.lp-hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.lp-hero .kicker { margin-bottom: 22px; }
.lp-hero h1 { color: var(--cream); max-width: 620px; }
.lp-claim {
  font-size: clamp(20px, 2.1vw, 29px); font-weight: 900;
  color: var(--mustard); line-height: 1.2; margin: 16px 0 18px;
}
.lp-hero .lead {
  color: rgba(246,239,227,.82); font-size: clamp(16.5px, 1.35vw, 19px);
  line-height: 1.52; max-width: 520px; margin: 0 0 28px;
}
.lp-hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.lp-hero-stats { font-size: 13.5px; font-weight: 700; color: rgba(246,239,227,.52); }

/* Produktová kompozice (polaroidový styl) */
.lp-product { position: relative; z-index: 0; width: calc(100% + 120px); margin-left: -120px; padding: 4px 0 20px; }
.lp-product-inner { position: relative; width: min(515px, 100%); aspect-ratio: 4 / 3; margin: 0 0 0 auto; }
.lp-prod-page {
  position: absolute; width: 70%;
  background: #fff; padding: 6px 6px 14px; border-radius: 4px;
  box-shadow: 0 12px 32px -10px rgba(0,0,0,.44), 0 2px 6px rgba(0,0,0,.1);
}
.lp-prod-page img { display: block; width: 100%; height: auto; border-radius: 2px; }
.lp-prod-page-l { left: 1%; top: 8%; transform: rotate(-6.5deg); z-index: 1; }
.lp-prod-page-r { right: 1%; top: 15%; transform: rotate(5.5deg); z-index: 1; }
.lp-prod-cover {
  position: absolute; left: 50%; transform: translateX(-50%) rotate(-1.5deg);
  top: 0; width: 63%; z-index: 2;
  background: #fff; padding: 6px 6px 14px; border-radius: 4px;
  box-shadow: 0 20px 48px -14px rgba(0,0,0,.52), 0 4px 12px rgba(0,0,0,.12);
}
.lp-prod-cover img { display: block; width: 100%; height: auto; border-radius: 2px; }

/* ===== SEKCE 2: Děti cestují jinak ===== */
.lp-different h2 { margin-bottom: clamp(28px, 3.5vw, 44px); max-width: 680px; }
.lp-different-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
}

/* Pozorování My / Dítě */
.lp-obs-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0 20px; margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.lp-obs-we,
.lp-obs-child {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.lp-obs-we:nth-last-child(2),
.lp-obs-child:last-child { border-bottom: 0; }
.lp-obs-we span,
.lp-obs-child span {
  display: block; font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px;
}
.lp-obs-we span { color: var(--muted); }
.lp-obs-child span { color: var(--green); }
.lp-obs-we p { margin: 0; font-size: 15.5px; line-height: 1.45; color: var(--muted); }
.lp-obs-child p { margin: 0; font-size: 15.5px; line-height: 1.45; font-weight: 800; color: var(--green); }
.lp-origin-lead { font-size: 17px; font-weight: 800; color: var(--green); line-height: 1.4; margin: 0 0 12px; }

/* Benefit (vpravo) */
.lp-benefit { padding-top: 4px; }
.lp-benefit h3 { font-size: clamp(19px, 1.6vw, 22px); margin-bottom: 10px; }
.lp-benefit .lead { font-size: 16px; margin-bottom: 20px; }

/* ===== SEKCE 3: Co vás uvnitř čeká (mátová) ===== */
.lp-inside .kicker { margin-bottom: 18px; }
.lp-inside h2 { margin-bottom: clamp(28px, 3.5vw, 40px); }
.lp-feature-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}
.lp-feature { display: flex; flex-direction: column; gap: 10px; }
.lp-feature-ic {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(31,69,54,.10); display: grid; place-items: center; flex-shrink: 0;
}
.lp-feature-ic svg {
  width: 26px; height: 26px;
  fill: none; stroke: var(--green);
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.lp-feature h3 { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.2; }
.lp-feature p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text-2); }

/* ===== SEKCE 4: Ukázky + stažení (krémová) ===== */
.lp-samples-head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 36px); }
.lp-samples-head h2 { margin-bottom: 10px; }
.lp-samples-head p { margin: 0; color: var(--text-2); font-size: 16.5px; }

.lp-sample-track {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.8vw, 18px); margin-bottom: clamp(24px, 3vw, 36px);
}
.lp-sample-track figure { margin: 0; }
.lp-sample-track img {
  width: 100%; height: auto; display: block; border-radius: 10px;
  box-shadow: 0 8px 22px -8px rgba(31,42,35,.28), 0 2px 4px rgba(31,42,35,.06);
}
.lp-sample-track figcaption {
  font-size: 13px; font-weight: 700; color: var(--text-2);
  margin-top: 7px; text-align: center;
}

/* Stažení (formulář) */
.lp-download { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(36px, 4vw, 52px); border-top: 1.5px solid var(--line-strong); }
.lp-download-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px); align-items: start;
}
.lp-download-copy h2 { margin-bottom: 12px; }
.lp-download-copy > p { color: var(--text-2); font-size: 16px; line-height: 1.6; margin-bottom: 0; }
.lp-download-mini { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.lp-download-mini img {
  width: 88px; height: auto; flex-shrink: 0; border-radius: 4px;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,.35);
}
.lp-download-mini span { font-size: 13.5px; font-weight: 700; color: var(--muted); line-height: 1.5; }

/* Formulář — karta */
.lp-form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-card); box-shadow: var(--shadow-card);
  padding: clamp(22px, 3vw, 36px);
}
.summer-field { display: grid; gap: 6px; margin-bottom: 16px; }
.summer-field label { font-size: 14px; font-weight: 800; color: var(--green); }
.summer-field input[type="email"] {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--line-strong); border-radius: 12px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.summer-field input[type="email"]:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31,69,54,.12);
}
.summer-field span { font-size: 12.5px; color: var(--muted); }
.summer-newsletter {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; margin-bottom: 16px;
  font-size: 14px; line-height: 1.55; color: var(--text-2);
}
.summer-newsletter input { margin-top: 3px; flex-shrink: 0; accent-color: var(--green); }
.summer-honey { opacity: 0; position: absolute; pointer-events: none; height: 0; }
.summer-form-submit { width: 100%; margin-bottom: 10px; }
.summer-form-note {
  font-size: 12.5px; color: var(--muted); margin: 0 0 6px;
  text-align: center; line-height: 1.45;
}
.summer-privacy { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.45; }
.summer-privacy a { color: var(--terra); }
.summer-form-status {
  display: block; font-size: 14px; color: var(--terra);
  margin: 8px 0 0; min-height: 20px; line-height: 1.4;
}
.summer-form-status.is-error { color: #b03020; font-weight: 700; }

/* Stav úspěchu */
.summer-success {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 28px 16px; text-align: center;
}
.summer-success[hidden] { display: none; }
.summer-success-check {
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--green); display: grid; place-items: center; flex-shrink: 0;
}
.summer-success h3 { font-size: 22px; margin: 0; }
.summer-success p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.5; }
.summer-success-note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.summer-direct-download { margin-top: 6px; }

/* ===== SEKCE 5: Závěr (písková) ===== */
.lp-closing-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.lp-closing-about .kicker { margin-bottom: 20px; }
.lp-closing-about h2 { margin-bottom: 20px; }
.lp-closing-about p { color: var(--text-2); font-size: 16.5px; line-height: 1.7; margin-bottom: 14px; }
.lp-closing-about p:last-of-type { margin-bottom: 0; }
.lp-closing-about .btn { margin-top: 24px; }
.lp-cta-box {
  background: var(--green-dark); color: var(--cream);
  border-radius: 24px; padding: clamp(26px, 3vw, 40px);
  display: flex; flex-direction: column; gap: 18px;
}
.lp-cta-box h2 {
  font-size: clamp(22px, 2.6vw, 34px); color: var(--cream);
  line-height: 1.18; margin: 0;
}
.lp-cta-box .btn { align-self: flex-start; }

/* ===== RESPONZIVITA ===== */
@media (max-width: 980px) {
  .lp-hero-grid { grid-template-columns: 1fr; }
  .lp-product { width: 100%; max-width: 460px; margin: 0 auto; padding: 12px 8px 40px; }
  .lp-product-inner { margin: 0 auto; }
  .lp-different-grid { grid-template-columns: 1fr; }
  .lp-download-grid { grid-template-columns: 1fr; }
  .lp-closing-grid { grid-template-columns: 1fr; }
  .lp-download { padding-top: clamp(28px, 3.5vw, 40px); }
  .lp-cta-box { border-radius: 20px; }
}
@media (max-width: 700px) {
  .lp-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-sample-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
  .lp-obs-grid { grid-template-columns: 1fr; }
  .lp-obs-we,
  .lp-obs-child { border-bottom: 1px solid var(--line); }
  .lp-obs-we:last-of-type,
  .lp-obs-child:last-of-type { border-bottom: 0; }
  .lp-feature-grid { grid-template-columns: 1fr 1fr; }
  .lp-product-inner { aspect-ratio: 4 / 4; }
}
@media (max-width: 400px) {
  .lp-feature-grid { grid-template-columns: 1fr; }
  .lp-sample-track { grid-template-columns: 1fr 1fr; }
}
