/* =========================================================
   CELISTVOST — styles
   Teplá, přírodní, waldorfsky laděná paleta
   ========================================================= */

:root {
  /* barvy — teplé, zlatavé, hravější */
  --cream:      #FFFCF5;
  --cream-2:    #FDF6E7;
  --sand:       #FBEDD1;
  --sand-deep:  #F5DFB0;
  --clay:       #C86F45;
  --clay-dark:  #A5522C;
  --sage:       #93A177;
  --sage-dark:  #62744D;
  --ochre:      #E3A21F;
  --gold:       #F0B93F;
  --honey:      #FBDC96;
  --blush:      #F3CBA9;
  --ink:        #3B352C;
  --ink-soft:   #6B6355;
  --forest:     #33402F;
  --line:       #F2E1C2;

  /* typografie */
  --font-head: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* rozměry */
  --container: 1160px;
  --radius:    22px;
  --radius-lg: 34px;
  --shadow-sm: 0 4px 18px rgba(60,55,47,.06);
  --shadow:    0 18px 44px rgba(60,55,47,.10);
  --shadow-lg: 0 30px 70px rgba(60,55,47,.16);

  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 18'%3E%3Cpath d='M4 9c11-4 22-4 33 0s22 4 33 0 22-4 33 0 22 4 33 0' fill='none' stroke='%23C4704F' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

/* ---------- typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 em, .hero__title em { font-style: italic; color: var(--clay); font-weight: 500; }
p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 700; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2.4rem); }
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); }
section[id] { scroll-margin-top: 88px; }
.section--alt { background: var(--sand); }
.section--alt + .section--alt { padding-top: 0; }

.eyebrow {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--clay-dark);
  margin-bottom: 1.1rem;
}
.eyebrow svg { width: 1.15rem; height: 1.15rem; color: var(--ochre); }

.section__head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__title {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.15rem);
  position: relative;
  display: inline-block;
}
.section__title .squiggle {
  display: block;
  width: clamp(90px, 30%, 150px);
  height: 12px;
  margin-top: .9rem;
  background: var(--squiggle) no-repeat left center / contain;
}
.section__intro { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.22rem); margin-top: 1.3rem; }
.section__intro--tight { margin-top: 1rem; font-weight: 600; color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; transition: transform .25s ease; }
.btn--primary { background: var(--clay); color: #fff; box-shadow: 0 12px 24px rgba(196,112,79,.28); }
.btn--primary:hover { background: var(--clay-dark); transform: translateY(-3px); box-shadow: 0 18px 32px rgba(196,112,79,.34); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-3px); }
.btn--block { width: 100%; margin-top: .5rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; color: var(--clay); margin-top: .4rem;
}
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform .25s ease; }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,246,238,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.site-header.scrolled { background: rgba(251,246,238,.94); box-shadow: 0 6px 24px rgba(60,55,47,.08); }
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand__mark { width: 2rem; height: 2rem; color: var(--sage-dark); }
.brand__name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; }
.brand--light .brand__name { color: var(--cream); }
.brand--light .brand__mark { color: var(--ochre); }

.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); }
.nav__links a { font-weight: 600; font-size: .98rem; position: relative; padding: .3rem 0; color: var(--ink); }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--clay); transition: width .28s ease; border-radius: 2px;
}
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  background: var(--clay); color: #fff !important; padding: .6rem 1.25rem !important;
  border-radius: 999px; box-shadow: 0 8px 18px rgba(196,112,79,.28);
  transition: transform .25s ease, background-color .25s ease;
}
.nav__cta:hover { background: var(--clay-dark); transform: translateY(-2px); }

.nav__toggle { display: none; width: 44px; height: 44px; position: relative; z-index: 110; }
.nav__toggle span {
  display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px;
  margin: 5px auto; transition: transform .3s ease, opacity .3s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(2rem, 5vw, 4rem); padding-bottom: clamp(5rem, 9vw, 8rem);
  background:
    radial-gradient(38% 46% at 3% 74%, rgba(147,161,119,.16), transparent 72%),
    radial-gradient(46% 54% at 99% 2%, rgba(240,185,63,.34), transparent 70%),
    radial-gradient(130% 120% at 80% -10%, #FBE3B4 0%, var(--cream-2) 46%, var(--cream) 100%);
  overflow: hidden;
}
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  position: relative; z-index: 2;
}
.hero__title { font-size: clamp(2.7rem, 1.6rem + 4.6vw, 4.7rem); margin-bottom: 1.4rem; }
.hero__lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.32rem); max-width: 34ch; margin-bottom: 2rem; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__art { position: relative; }
.hero-scene { width: 100%; max-width: 460px; margin-inline: auto; filter: drop-shadow(0 24px 40px rgba(60,55,47,.12)); }

/* blobs odstraněny – nahrazeny měkkými radiálními přechody v pozadí (netvoří tvrdé ořezané hrany) */

/* doodles */
.doodle { position: absolute; z-index: 0; pointer-events: none; }
.section .container { position: relative; z-index: 1; }
.doodle--sun-hero { width: 64px; height: 64px; color: var(--ochre); top: 8%; left: 46%; opacity: .8; }
.doodle--bird-hero { width: 56px; height: 56px; color: var(--ink); top: 20%; left: 6%; opacity: .5; }
.doodle--spiral-hero { width: 46px; height: 46px; color: var(--clay); bottom: 12%; left: 40%; opacity: .4; }
.doodle--corner-tl { width: 70px; height: 70px; color: var(--sage); top: 40px; right: 6%; opacity: .35; transform: rotate(20deg); }
.doodle--waves-bg { width: 120px; height: 120px; color: var(--sage); top: 30px; right: 4%; opacity: .18; }
.doodle--star-1 { width: 40px; height: 40px; color: var(--ochre); top: 12%; right: 8%; opacity: .6; }
.doodle--star-2 { width: 52px; height: 52px; color: var(--sage); bottom: 8%; left: 5%; opacity: .4; }

/* floating anim */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: float 9s ease-in-out infinite; }

/* wave divider */
.divider { position: absolute; left: 0; bottom: -1px; width: 100%; height: 40px; z-index: 2; }

/* ---------- KDO JSEM ---------- */
.about { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about__aside { position: sticky; top: 100px; }
.portrait { margin: 0; }
.portrait__frame {
  border-radius: 46% 54% 52% 48% / 54% 46% 56% 44%;
  overflow: hidden; box-shadow: var(--shadow); background: var(--sand);
  border: 6px solid var(--cream);
}
.portrait__frame img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 4 / 5; object-fit: cover;
  /* zdroj je na šířku, výřez posuneme na Barboru */
  object-position: 56% 50%;
}

.about__facts { margin-top: 1.8rem; display: grid; gap: .85rem; }
.about__facts p { display: flex; align-items: center; gap: .7rem; font-weight: 600; color: var(--ink); font-size: .98rem; }
.about__facts svg { width: 1.5rem; height: 1.5rem; color: var(--clay); flex: none; }

.about__text > p { margin-top: 1.1rem; }
.about__text .section__title { margin-bottom: 1.2rem; }

.pullquote {
  position: relative; margin: 2rem 0; padding: 1.8rem 1.8rem 1.8rem 3.4rem;
  background: var(--sand); border-radius: var(--radius);
  font-family: var(--font-head); font-style: italic; font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
  color: var(--ink); line-height: 1.35;
  border-left: 5px solid var(--clay);
}
.pullquote__mark { position: absolute; top: 1.1rem; left: 1rem; width: 1.7rem; height: 1.7rem; color: var(--ochre); }

/* ---------- FILOZOFIE (pilíře) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.pillar {
  position: relative; background: var(--cream); border-radius: var(--radius); padding: 2.4rem 1.8rem 2rem;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar__num {
  position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--font-head);
  font-size: 2.2rem; color: var(--sand-deep); font-weight: 600;
}
.pillar__icon { width: 3.4rem; height: 3.4rem; color: var(--clay); margin-bottom: 1.1rem; }
.pillar__title { font-size: 1.32rem; margin-bottom: .7rem; }
.pillar p { font-size: .99rem; }

/* ---------- JAK PRACUJI (metody) ---------- */
.methods { display: grid; gap: clamp(1.2rem, 2.5vw, 1.8rem); margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.method {
  display: grid; grid-template-columns: 270px 1fr; align-items: center; gap: clamp(1.5rem, 3vw, 2.6rem);
  background: var(--cream); border-radius: var(--radius-lg); padding: clamp(1.4rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.method:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.method--reverse { grid-template-columns: 1fr 270px; }
.method--reverse .method__media { order: 2; }
.method__media {
  aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  position: relative; background: var(--sand);
}
.method__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.method:hover .method__media img { transform: scale(1.04); }
.method__body h3 { font-size: clamp(1.3rem, 1.1rem + .7vw, 1.65rem); margin-bottom: .7rem; }

/* pro jaké děti */
.fit {
  background: linear-gradient(135deg, var(--forest), #2A342C);
  color: var(--cream); border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.2rem); position: relative; overflow: hidden;
}
.fit__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.8rem; }
.fit__head svg { width: 2.4rem; height: 2.4rem; color: var(--ochre); flex: none; }
.fit__head h3 { color: var(--cream); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.fit__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.fit__item { display: flex; gap: .8rem; }
.fit__item p { color: rgba(251,246,238,.86); font-size: .98rem; }
.fit__item strong { color: #fff; }
.fit__dot { flex: none; width: 12px; height: 12px; margin-top: .55rem; border-radius: 50%; background: var(--ochre); box-shadow: 0 0 0 5px rgba(217,162,74,.2); }

/* ---------- CO NABÍZÍM (služby) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-flow: row dense; gap: clamp(1.2rem, 2.5vw, 1.8rem); align-items: start; }
.service {
  position: relative; background: var(--cream); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service--wide { grid-column: 1 / -1; }
.service--feature { grid-column: 1 / -1; background: linear-gradient(140deg, var(--clay), var(--clay-dark)); border: none; color: #fff; }
.service--feature h3, .service--feature .service__label { color: #fff; }
.service--feature p { color: rgba(255,255,255,.9); }
.service--feature strong { color: #fff; }
.service--feature .service__icon { color: rgba(255,255,255,.92); }

.service__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.service__icon { width: 3rem; height: 3rem; color: var(--clay); flex: none; }
.service__title { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); margin-bottom: .9rem; }
.service__sub { display: block; font-size: .95rem; font-style: italic; color: inherit; opacity: .8; font-family: var(--font-body); font-weight: 400; margin-top: .2rem; }
.service p + p { margin-top: .8rem; }
.service__label { font-weight: 700; color: var(--ink); margin: 1.1rem 0 .6rem; }
.service__list { display: grid; gap: .7rem; margin-top: .3rem; }
.service__list li { position: relative; padding-left: 1.6rem; font-size: .98rem; color: var(--ink-soft); }
.service__list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%;
  background: var(--clay);
}
.service--feature .service__list li::before { background: var(--ochre); }
.service--feature .service__list li { color: rgba(255,255,255,.92); }

.price-badge {
  background: var(--sand); color: var(--clay-dark); font-family: var(--font-head); font-weight: 600;
  font-size: 1.3rem; padding: .5rem 1rem; border-radius: 14px; white-space: nowrap;
}
.price-badge small { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .02em; }
.price-badge--light { background: rgba(255,255,255,.16); color: #fff; }
.price-badge--light small { color: rgba(255,255,255,.85); }
.price-badge--soft { background: var(--sage); color: #fff; font-size: 1rem; }

.service__ribbon {
  display: inline-block; align-self: flex-start;
  background: var(--ochre); color: var(--ink); font-size: .74rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: .42rem 1.05rem; border-radius: 999px;
  margin-bottom: 1.1rem; box-shadow: 0 8px 16px rgba(60,55,47,.18);
}
.service--feature .link-arrow, .service--wide .link-arrow { color: var(--clay); }

/* ---------- KONTAKT ---------- */
#kontakt { background: radial-gradient(46% 56% at 94% 2%, rgba(240,185,63,.22), transparent 70%); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; position: relative; z-index: 2; }
.contact__text { margin: 1.2rem 0 2rem; font-size: 1.1rem; }
.contact__list { display: grid; gap: 1.1rem; }
.contact__list li { display: flex; align-items: center; gap: 1rem; }
.contact__list svg { width: 2.6rem; height: 2.6rem; color: var(--clay); background: var(--sand); padding: .55rem; border-radius: 14px; flex: none; }
.contact__list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-soft); }
.contact__list a, .contact__list span > :last-child { font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.contact__list span { display: flex; flex-direction: column; }
.contact__hint { margin-top: 1.4rem; font-size: .85rem; font-style: italic; color: var(--ink-soft); }

.contact__form { background: var(--cream); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .45rem; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 14px; border: 2px solid var(--line);
  background: var(--cream-2); font: inherit; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #A79F90; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 4px rgba(196,112,79,.12); }
.form__status { margin-top: .9rem; font-weight: 600; font-size: .95rem; color: var(--sage-dark); min-height: 1.2em; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--forest); color: var(--cream); padding-top: clamp(3rem, 6vw, 4.5rem); margin-top: 0; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; padding-bottom: 2.4rem; }
.footer__brand p { color: rgba(251,246,238,.72); max-width: 42ch; margin-top: 1rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.2rem; align-content: start; }
.footer__nav a { color: rgba(251,246,238,.82); font-weight: 600; transition: color .2s ease; }
.footer__nav a:hover { color: var(--ochre); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.4rem; border-top: 1px solid rgba(251,246,238,.14);
}
.footer__bottom p { color: rgba(251,246,238,.6); font-size: .9rem; }
.footer__made { display: inline-flex; align-items: center; gap: .4rem; }
.footer__heart { width: 1.1rem; height: 1.1rem; color: var(--clay); }

/* ---------- reveal animace (jen když běží JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .about { grid-template-columns: 1fr; }
  .about__aside { position: static; max-width: 420px; margin-inline: auto; }
  .pillars { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .fit__list { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__toggle { display: block; }
  /* Bez blur filtru – jinak by vytvářel containing block a fixed menu by se vázalo na hlavičku, ne na viewport */
  .site-header, .site-header.scrolled {
    backdrop-filter: none; -webkit-backdrop-filter: none;
    background: rgba(251,246,238,.98);
  }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem;
    background: var(--cream); padding: 2rem; box-shadow: -20px 0 60px rgba(60,55,47,.18);
    transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); z-index: 105;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 1.25rem; }
  .nav__cta { font-size: 1.05rem !important; }

  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { order: 2; }
  .hero__art { order: 1; max-width: 340px; margin-inline: auto; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .eyebrow { justify-content: center; }
  .section__head { margin-inline: auto; }

  .method, .method--reverse { grid-template-columns: 1fr; text-align: center; }
  .method--reverse .method__media { order: 0; }
  .method__media { max-width: 300px; margin-inline: auto; }

  .service-grid { grid-template-columns: 1fr; }
  .service__top { justify-content: space-between; }
}

@media (max-width: 420px) {
  .price-badge { font-size: 1.1rem; }
  .btn { width: 100%; }
  .hero__actions { flex-direction: column; }
}

/* body scroll lock když je menu otevřené */
body.nav-open { overflow: hidden; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .float, .float-slow { animation: none; }
}

/* =========================================================
   SEKCE OTÁZEK, CTA PRVKY, SOUHLAS, MOBILNÍ CTA
   ========================================================= */

.section--tight { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .section__title .squiggle { margin-inline: auto; background-position: center; }
.section__kicker {
  font-family: var(--font-body); font-size: .95rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); margin-top: .9rem;
}
.doodle--q-star { width: 44px; height: 44px; color: var(--gold); top: 8%; right: 7%; opacity: .55; }

/* ---------- karty s otázkami ---------- */
.qcards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1rem, 2.4vw, 1.7rem);
  margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}
.qcard {
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.qcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--sand-deep); }
.qcard__icon {
  width: 2.9rem; height: 2.9rem; color: var(--clay);
  background: var(--honey); padding: .6rem; border-radius: 16px; margin-bottom: 1rem;
}
.qcard h3 { font-size: 1.24rem; margin-bottom: .6rem; line-height: 1.2; }
.qcard p { font-size: .97rem; }

/* ---------- CTA pás ---------- */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(1.2rem, 3vw, 2.5rem);
  flex-wrap: wrap;
  background: linear-gradient(135deg, var(--honey), var(--sand-deep));
  border-radius: var(--radius-lg); padding: clamp(1.6rem, 3.2vw, 2.6rem);
  box-shadow: var(--shadow-sm);
}
.cta-band--soft { background: linear-gradient(135deg, #EFF0E2, var(--sand)); }
.cta-band__text { flex: 1 1 320px; }
.cta-band__text h3 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem); margin-bottom: .45rem; }
.cta-band__text p { color: #6A5B3C; }
.cta-band--soft .cta-band__text p { color: var(--ink-soft); }
.cta-band__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- doplňkové varianty tlačítek ---------- */
.btn--soft {
  background: var(--sand); color: var(--clay-dark);
  box-shadow: inset 0 0 0 2px var(--sand-deep);
}
.btn--soft:hover { background: var(--sand-deep); transform: translateY(-3px); }
.btn--soft:hover svg { transform: translateX(4px); }
.btn--light { background: #fff; color: var(--clay-dark); }
.btn--light:hover { background: var(--honey); transform: translateY(-3px); }
.btn--light:hover svg { transform: translateX(4px); }

.service__cta { margin-top: auto; align-self: flex-start; }
.service--wide .service__cta, .service--feature .service__cta { margin-top: 1.5rem; }

/* ---------- past na spamovací roboty (musí zůstat skryté, ne display:none) ---------- */
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- zaškrtávací souhlas (GDPR) ---------- */
.field--check { display: flex; align-items: flex-start; gap: .7rem; margin-top: 1.2rem; }
.field--check input {
  flex: none; width: 1.25rem; height: 1.25rem; margin-top: .15rem;
  accent-color: var(--clay); cursor: pointer;
}
.field--check label {
  font-weight: 400; font-size: .88rem; line-height: 1.55; color: var(--ink-soft); margin: 0; cursor: pointer;
}
.field--check a { color: var(--clay-dark); font-weight: 700; text-decoration: underline; }

/* ---------- plovoucí CTA na mobilu ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: .6rem; padding: .7rem clamp(.8rem, 3vw, 1.2rem);
  background: rgba(255,252,245,.94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  padding-bottom: max(.7rem, env(safe-area-inset-bottom));
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta a {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .85rem 1rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
}
.mobile-cta svg { width: 1.1em; height: 1.1em; }
.mobile-cta__call { background: var(--sand); color: var(--clay-dark); flex: 0 0 38%; }
.mobile-cta__write { background: var(--clay); color: #fff; box-shadow: 0 8px 18px rgba(200,111,69,.3); }

/* =========================================================
   FOTOPÁS, GALERIE, ZVĚTŠENINA
   ========================================================= */

/* ---------- fotka v textu „Kdo jsem“ ---------- */
.about__photo { margin: 2rem 0; }
.about__photo img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.about__photo figcaption {
  margin-top: .8rem; font-family: var(--font-head); font-style: italic;
  font-size: 1.02rem; color: var(--ink-soft); text-align: center;
}

/* ---------- fotka v kontaktu ---------- */
/* Zdrojová fotka je na výšku (853x1066 = 4:5). Rámeček musí mít stejný
   poměr, jinak cover ukrojí hlavu. */
.contact__photo { margin: 1.8rem 0 0; max-width: 300px; }
.contact__photo img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}

/* ---------- nejbližší workshopy (plní se ze správy) ---------- */
.workshops { display: grid; gap: .8rem; margin: 1.3rem 0 .3rem; }
.workshop {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--cream-2); border: 1px solid var(--line);
  border-radius: 16px; padding: 1rem 1.1rem;
}
.workshop__date {
  flex: none; min-width: 62px; text-align: center;
  background: var(--honey); border-radius: 12px; padding: .45rem .5rem;
  font-family: var(--font-head); line-height: 1.1; color: #6A4A12;
}
.workshop__day { display: block; font-size: 1.45rem; font-weight: 600; }
.workshop__month { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.workshop__date--tbd { background: var(--sand-deep); font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; padding: .6rem .45rem; color: #6A5B3C;
  width: 62px; line-height: 1.25; }
.workshop__body h4 { font-size: 1.1rem; margin-bottom: .25rem; }
.workshop__meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: .87rem; color: var(--ink-soft); font-weight: 600; }
.workshop__desc { font-size: .95rem; margin-top: .4rem; }

/* ---------- galerie ---------- */
.gallery { columns: 3; column-gap: clamp(.7rem, 1.6vw, 1.1rem); }
.gallery__item {
  display: block; width: 100%; padding: 0; border: none; background: none;
  margin: 0 0 clamp(.7rem, 1.6vw, 1.1rem); break-inside: avoid;
  border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
  box-shadow: var(--shadow-sm); position: relative; line-height: 0;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery__item img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery__item:hover img { transform: scale(1.05); }

/* ---------- zvětšenina (lightbox) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: rgba(38,33,26,.92);
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; transition: opacity .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__img {
  max-width: min(1100px, 92vw); max-height: 86vh; width: auto; height: auto;
  object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox__close, .lightbox__nav {
  position: absolute; color: #fff; background: rgba(255,255,255,.14);
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.9rem; line-height: 1;
  display: grid; place-items: center; transition: background-color .2s ease, transform .2s ease;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.3); transform: scale(1.08); }
.lightbox__close { top: clamp(.8rem, 3vw, 1.6rem); right: clamp(.8rem, 3vw, 1.6rem); font-size: 2.1rem; }
.lightbox__nav--prev { left: clamp(.5rem, 2.5vw, 1.6rem); }
.lightbox__nav--next { right: clamp(.5rem, 2.5vw, 1.6rem); }
body.lightbox-open { overflow: hidden; }

/* ---------- responsive pro nové prvky ---------- */
@media (max-width: 900px) { .gallery { columns: 2; } }
@media (max-width: 520px) {
  .gallery { columns: 1; }
  .lightbox__nav { width: 42px; height: 42px; font-size: 1.6rem; }
}
@media (max-width: 960px) {
  .qcards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}
@media (max-width: 760px) {
  .cta-band { flex-direction: column; align-items: stretch; text-align: center; }
  .cta-band__actions { justify-content: center; }
  .cta-band__actions .btn { width: 100%; }
  .service__cta { align-self: stretch; }
  .mobile-cta { display: flex; }
  /* aby plovoucí lišta nezakrývala konec stránky */
  .site-footer { padding-bottom: 5rem; }
}
