/* =========================================================
   Děti a cizí jazyky — main stylesheet
   Autor: redesign 2026
   Použité fonty: Fraunces (serif) + Inter (sans-serif) z Google Fonts
   ========================================================= */

/* ---------- 1. RESET & ZÁKLAD ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

:root {
  /* Barevná paleta */
  --color-cream:        #FBF3E4;
  --color-cream-soft:   #FFF9EE;
  --color-peach:        #F5E6DA;
  --color-blush:        #F1DDD3;
  --color-mustard:      #E8B547;
  --color-mustard-dark: #C8941F;
  --color-sun:          #FFD66B;
  --color-ink:          #1F2433;
  --color-ink-soft:     #3A4055;
  --color-text:         #2D3142;
  --color-muted:        #6B7280;
  --color-line:         #EAE0CD;
  --color-green:        #4A7C59;
  --color-green-dark:   #355C42;
  --color-coral:        #E07856;
  --color-white:        #FFFFFF;

  /* Typografie */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rozměry */
  --container: 1200px;
  --container-narrow: 880px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Stíny */
  --shadow-sm: 0 2px 8px rgba(31, 36, 51, 0.06);
  --shadow-md: 0 12px 30px rgba(31, 36, 51, 0.08);
  --shadow-lg: 0 24px 60px rgba(31, 36, 51, 0.12);

  /* Tranzice */
  --t-fast: 0.18s ease;
  --t: 0.28s cubic-bezier(0.4, 0.0, 0.2, 1);
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-ink);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--color-mustard-dark);
}

ul, ol {
  list-style: none;
}

/* ---------- 2. KONTEJNERY & POMOCNÍCI ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section--cream { background: var(--color-cream); }
.section--peach { background: var(--color-peach); }
.section--blush { background: var(--color-blush); }
.section--ink   { background: var(--color-ink); color: var(--color-cream-soft); }
.section--white { background: var(--color-white); }

.section--ink h1,
.section--ink h2,
.section--ink h3,
.section--ink h4 { color: var(--color-cream-soft); }

.text-center { text-align: center; }
.muted { color: var(--color-muted); }

/* Vlnka oddělující sekce */
.divider-wave {
  display: block;
  width: 100%;
  height: 60px;
  background: var(--color-cream);
}

/* ---------- 3. TYPOGRAFIE ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--color-ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1.1em;
}

p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--color-ink-soft);
  max-width: 60ch;
}

.lead-center { margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-mustard-dark);
  margin-bottom: 1rem;
}

.headline-accent {
  position: relative;
  display: inline-block;
}

.headline-accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15em;
  height: 0.45em;
  background: var(--color-sun);
  z-index: -1;
  border-radius: 999px;
  opacity: 0.7;
}

/* ---------- 4. NAVIGACE ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 243, 228, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--color-line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  gap: 1.5rem;
}

.nav__brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-ink);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.nav__logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav__brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-mustard);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-ink);
  font-weight: 700;
  font-family: var(--font-sans);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--color-ink-soft);
  transition: background var(--t-fast), color var(--t-fast);
}

.nav__link:hover,
.nav__link.is-active {
  background: var(--color-sun);
  color: var(--color-ink);
}

.nav__cta {
  background: var(--color-ink);
  color: var(--color-cream-soft);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav__cta:hover {
  background: var(--color-mustard-dark);
  color: var(--color-white);
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-ink);
  margin: 5px 0;
  transition: transform var(--t), opacity var(--t);
}

@media (max-width: 960px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-cream-soft);
    border-bottom: 1px solid var(--color-line);
    padding: 1rem 1.5rem 1.5rem;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--t), opacity var(--t);
    box-shadow: var(--shadow-md);
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link {
    border-radius: 0;
    padding-block: 0.85rem;
    border-bottom: 1px solid var(--color-line);
  }
  .nav__cta {
    margin-top: 1rem;
    text-align: center;
  }
}

/* ---------- 5. TLAČÍTKA ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 0;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--color-ink);
  color: var(--color-cream-soft);
}

.btn--primary:hover {
  background: var(--color-mustard-dark);
  color: var(--color-white);
}

.btn--accent {
  background: var(--color-mustard);
  color: var(--color-ink);
}

.btn--accent:hover {
  background: var(--color-sun);
  color: var(--color-ink);
}

.btn--green {
  background: var(--color-green);
  color: var(--color-white);
}

.btn--green:hover {
  background: var(--color-green-dark);
  color: var(--color-white);
}

.btn--ghost {
  background: transparent;
  color: var(--color-ink);
  border: 2px solid var(--color-ink);
}

.btn--ghost:hover {
  background: var(--color-ink);
  color: var(--color-cream-soft);
}

.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.9rem; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 8vw, 6rem);
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-cream-soft) 100%);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__title {
  margin-bottom: 1.5rem;
}

.hero__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  color: var(--color-ink-soft);
  margin-bottom: 2rem;
  max-width: 50ch;
}

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, var(--color-sun) 0%, transparent 55%),
    radial-gradient(circle at 70% 80%, var(--color-blush) 0%, transparent 55%),
    var(--color-peach);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-2deg);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow var(--t);
}

.hero__visual:hover {
  transform: rotate(-0.5deg) scale(1.02);
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(232,181,71,0.18);
}

.hero__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
}

.hero__author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
  border: 2.5px solid var(--color-sun);
  box-shadow: var(--shadow-sm);
}

.hero__author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-ink);
}

.hero__author-role {
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-top: 0.15rem;
}

.hero__visual-illustration {
  width: 80%;
  height: 80%;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-shape--1 {
  width: 240px;
  height: 240px;
  background: var(--color-sun);
  opacity: 0.35;
  top: -80px;
  right: -60px;
  filter: blur(20px);
}

.hero-shape--2 {
  width: 160px;
  height: 160px;
  background: var(--color-coral);
  opacity: 0.18;
  bottom: -40px;
  left: -50px;
  filter: blur(20px);
}

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 480px; margin-inline: auto; aspect-ratio: 5/4; }
}

/* ---------- 7. KARTY ---------- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card__media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 1.25rem;
  background: var(--color-peach);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__title {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.card__text {
  color: var(--color-ink-soft);
  font-size: 0.97rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.card__link {
  color: var(--color-mustard-dark);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card__link::after {
  content: "→";
  transition: transform var(--t-fast);
}

.card__link:hover::after {
  transform: translateX(4px);
}

.card--accent {
  background: linear-gradient(135deg, var(--color-sun) 0%, var(--color-mustard) 100%);
}

.card--ink {
  background: var(--color-ink);
  color: var(--color-cream-soft);
}

.card--ink .card__title { color: var(--color-white); }
.card--ink .card__text { color: var(--color-cream-soft); opacity: 0.85; }
.card--ink .card__link { color: var(--color-sun); }

.grid-cards {
  display: grid;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 880px) {
  .grid-cards--3 { grid-template-columns: 1fr; }
}

/* ---------- 8. SEZNAMY S ČÍSLY (jak na to) ---------- */
.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step-counter;
}

.step {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-sun);
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step__title {
  margin-bottom: 0.6rem;
}

@media (max-width: 600px) {
  .step { padding: 1.5rem; gap: 1rem; }
  .step__number { width: 44px; height: 44px; font-size: 1.2rem; }
}

/* ---------- 9. SEKCE: TIPS / PRINCIPLES ---------- */
.principle {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border-left: 4px solid var(--color-mustard);
  box-shadow: var(--shadow-sm);
}

.principle__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

/* ---------- 10. RECENZE ---------- */
.testimonial {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial__quote {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--color-ink);
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial__author {
  font-size: 0.92rem;
  color: var(--color-muted);
  font-weight: 500;
}

.testimonial::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 16px;
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-mustard);
  opacity: 0.5;
}

/* ---------- 11. CENÍK / PRODUKT KARTA ---------- */
.product {
  background: var(--color-cream-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-line);
}

.product__badge {
  display: inline-block;
  background: var(--color-sun);
  color: var(--color-ink);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.product__title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 0.85rem;
}

.product__price {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--color-ink);
  margin-block: 1rem 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.product__price-note {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-muted);
  font-weight: 400;
}

.product__features {
  margin-block: 1.5rem;
}

.product__features li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--color-ink-soft);
}

.product__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-green);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- 12. BLOG VÝPIS ---------- */
.post {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}

.post:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.post__media {
  aspect-ratio: 16/9;
  background: var(--color-peach);
  overflow: hidden;
}

.post__media img {
  width: 100%; height: 100%; object-fit: cover;
}

.post__body {
  padding: 1.5rem;
}

.post__meta {
  font-size: 0.8rem;
  color: var(--color-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.post__title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.post__excerpt {
  color: var(--color-ink-soft);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* ---------- 13. ARTICLE / CONTENT (jak na to / blog detail) ---------- */
.prose {
  max-width: 70ch;
  margin-inline: auto;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--color-text);
}

.prose p { margin-bottom: 1.4em; }

.prose h2 {
  margin-top: 2.5em;
  margin-bottom: 0.7em;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.prose h3 {
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

.prose ol,
.prose ul {
  margin-block: 1.4em;
  padding-left: 1.4em;
}

.prose ol li,
.prose ul li {
  margin-bottom: 0.4em;
  list-style: revert;
}

.prose strong { color: var(--color-ink); }

.prose em { color: var(--color-mustard-dark); font-style: italic; }

/* ---------- 14. KONTAKT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}

.form {
  display: grid;
  gap: 1rem;
}

.form label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.35rem;
  display: block;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  background: var(--color-white);
  color: var(--color-ink);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--color-mustard);
  box-shadow: 0 0 0 3px rgba(232, 181, 71, 0.25);
}

.form textarea { resize: vertical; min-height: 130px; }

/* ---------- 15. FOOTER ---------- */
.site-footer {
  background: var(--color-ink);
  color: var(--color-cream-soft);
  padding-block: 4rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-cream-soft);
  margin-bottom: 1rem;
}

.footer-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(251, 243, 228, 0.75);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sun);
  margin-bottom: 1rem;
}

.footer-links li { margin-bottom: 0.55rem; }

.footer-links a {
  color: rgba(251, 243, 228, 0.8);
  font-size: 0.95rem;
}

.footer-links a:hover { color: var(--color-sun); }

.footer-bottom {
  border-top: 1px solid rgba(251, 243, 228, 0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(251, 243, 228, 0.6);
}

.social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(251, 243, 228, 0.08);
  color: var(--color-cream-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), color var(--t-fast);
}

.social a:hover {
  background: var(--color-sun);
  color: var(--color-ink);
}

/* ---------- 16. PAGE HEADER (vnitřní stránky) ---------- */
.page-header {
  background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-cream-soft) 100%);
  padding-block: clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--color-sun);
  opacity: 0.15;
  top: -100px; right: -80px;
  filter: blur(40px);
}

.page-header__title {
  margin-bottom: 1rem;
  position: relative;
}

.page-header__lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--color-ink-soft);
  max-width: 60ch;
  margin-inline: auto;
  position: relative;
}

/* ---------- 17. CTA SEKCE ---------- */
.cta {
  background: linear-gradient(135deg, var(--color-mustard) 0%, var(--color-sun) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
  margin-block: 4rem;
  position: relative;
  overflow: hidden;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta::before {
  width: 200px; height: 200px;
  background: rgba(255,255,255,0.2);
  top: -60px; left: -60px;
}

.cta::after {
  width: 280px; height: 280px;
  background: rgba(31,36,51,0.08);
  bottom: -120px; right: -100px;
}

.cta__inner { position: relative; z-index: 1; }

.cta h2 { color: var(--color-ink); }

.cta p {
  color: var(--color-ink);
  max-width: 55ch;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}

/* ---------- 18. INFO PILL / FEATURE ROW ---------- */
.info-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.info-pill {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.info-pill__icon {
  font-size: 2rem;
  margin-bottom: 0.6rem;
  display: block;
}

.info-pill__num {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  color: var(--color-mustard-dark);
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.info-pill__label {
  font-size: 0.92rem;
  color: var(--color-ink-soft);
}

/* ---------- 19. ANIMACE ---------- */
@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.float { animation: float-slow 6s ease-in-out infinite; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fade-up 0.8s ease-out both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- 20. UTILITY ---------- */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2.5rem; }

.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

.hide-mobile { display: initial; }
@media (max-width: 700px) { .hide-mobile { display: none; } }

/* ---------- 21. BIO / AUTOR ---------- */
.bio {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.bio__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-md);
  position: relative;
}

.bio__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.bio__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.bio__tag {
  background: var(--color-sun);
  color: var(--color-ink);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

@media (max-width: 760px) {
  .bio {
    grid-template-columns: 1fr;
  }
  .bio__photo {
    max-width: 260px;
    aspect-ratio: 1/1;
  }
}

/* ---------- 16. WAVE SEPARATORS ---------- */
.wave-sep {
  display: block;
  width: 100%;
  line-height: 0;
  font-size: 0;
  margin: 0;
  padding: 0;
}
.wave-sep svg {
  display: block;
  width: 100%;
  height: clamp(32px, 4vw, 56px);
}

/* ---------- 17. STEP NUMBER COLORS ---------- */
.steps .step:nth-child(2) .step__number { background: var(--color-green); color: #fff; }
.steps .step:nth-child(3) .step__number { background: var(--color-coral); color: #fff; }
.steps .step:nth-child(4) .step__number { background: var(--color-ink); color: var(--color-sun); }

/* ---------- 18. FLOATING DECORATIVE ELEMENTS ---------- */
@keyframes float-a {
  0%, 100% { transform: translateY(0)    rotate(-12deg); }
  50%       { transform: translateY(-14px) rotate(-8deg);  }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0)    rotate(8deg); }
  50%       { transform: translateY(-10px) rotate(12deg); }
}

/* Wrap section to allow absolute positioning */
.page-header--blog,
.page-header--jak-na-to,
.page-header--index {
  position: relative;
  overflow: hidden;
}

.deco-float {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.deco-float--pencil {
  width: clamp(60px, 8vw, 100px);
  bottom: -10px;
  right: clamp(40px, 8vw, 140px);
  animation: float-a 4s ease-in-out infinite;
  filter: drop-shadow(0 6px 12px rgba(31,36,51,0.13));
}

.deco-float--orange {
  width: clamp(50px, 6vw, 80px);
  top: 18px;
  right: clamp(160px, 18vw, 260px);
  animation: float-b 5.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(31,36,51,0.10));
}

.deco-float--pencil-sm {
  width: clamp(45px, 6vw, 70px);
  top: 24px;
  left: clamp(24px, 5vw, 80px);
  animation: float-b 4.8s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(31,36,51,0.10));
}

.deco-float--orange-sm {
  width: clamp(40px, 5vw, 60px);
  bottom: 0;
  left: clamp(120px, 14vw, 200px);
  animation: float-a 6s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(31,36,51,0.09));
}

@media (max-width: 600px) {
  .deco-float { display: none; }
}

/* post card image link */
.post__media-link {
  display: block;
  text-decoration: none;
}
.post__media-link .post__media {
  transition: transform var(--t);
}
.post__media-link:hover .post__media {
  transform: scale(1.02);
}

/* ---------- 17. CONTACT PHOTO ---------- */
/* Kontakt — foto portrét */
.contact-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  max-width: 260px;
  box-shadow: var(--shadow-md);
  margin-bottom: 1.75rem;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
