/* ---------- Fonty (self-hosted) ---------- */
@font-face { font-family: "Jost"; font-weight: 100 900; font-display: swap;
  src: url("../assets/fonts/jost-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-weight: 100 900; font-display: swap;
  src: url("../assets/fonts/jost-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Allura"; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/allura-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Allura"; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/allura-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokeny ---------- */
:root {
  --bg: #fdf5f9;
  --bg-alt: #f4ecf7;
  --pink: #f6d0e1;
  --white: #fff;
  --ink: #3f1d38;
  --ink-soft: #6a5064;
  --accent: #a8467f;
  --accent-hover: #8e3869;
  --line: #ebdce8;
  --on-dark: #f6e9f2;
  --on-dark-soft: #cdb3c6;
  --pink-on-dark: #f2b8d5;

  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Allura", "Brush Script MT", cursive;

  --container: 75rem;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 4.4rem;
  --wave-h: 16px;
  --radius: 1.1rem;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 16' preserveAspectRatio='none'%3E%3Cpath d='M0 16V8Q20 -4 40 8T80 8V16Z'/%3E%3C/svg%3E");
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); font-size: clamp(16px, 11.1px + .34vw, 24px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-body); font-size: 1rem; font-weight: 300; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; position: relative; z-index: 1; }
.ico { width: 1.1em; height: 1.1em; flex: none; }

.script-title { font-family: var(--font-script); font-weight: 400; font-size: clamp(3.4rem, 7vw, 5.4rem); line-height: 1.05; letter-spacing: 0; }

/* Pruhy s vlnitým horním okrajem */
.band { position: relative; }
.band::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 2px); height: calc(var(--wave-h) + 1px); z-index: 2;
  background: inherit; -webkit-mask: var(--wave) repeat-x bottom / 80px var(--wave-h); mask: var(--wave) repeat-x bottom / 80px var(--wave-h);
  pointer-events: none;
}

/* Dekorativní outline ikony */
.deco { position: absolute; z-index: 0; pointer-events: none; height: auto; }
.ornament { display: block; margin: 0 auto .6rem; height: auto; }
.ornament.on-dark, .on-dark-img { filter: brightness(0) invert(1); opacity: .9; }

/* ---------- Tlačítka a odkazy ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: 1em 2.2em; border: 0; border-radius: 999px;
  font: 500 .72rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--white); cursor: pointer;
  transition: background-color .2s, transform .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-light { background: var(--white); color: var(--accent); }
.btn-light:hover { background: var(--ink); color: var(--white); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em; color: var(--accent);
  font-size: .85rem; font-weight: 500; letter-spacing: .04em; padding-bottom: 3px; border-bottom: 1px solid currentColor;
}
.link-arrow .ico { transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Hlavička ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: var(--white);
  border-bottom: 1px solid var(--line); transition: box-shadow .25s;
}
.site-header.is-stuck { box-shadow: 0 10px 28px -22px rgb(63 29 56 / .5); }
.header-inner {
  width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto;
  min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand { display: inline-flex; align-items: center; gap: .8rem; }
.brand img { width: 2.7rem; height: 2.7rem; }
.brand-text { font-size: .95rem; font-weight: 400; line-height: 1.1; letter-spacing: .02em; }
.brand-text small { display: block; font-family: var(--font-script); font-size: 1.6rem; line-height: .9; color: var(--accent); margin-bottom: .1rem; letter-spacing: 0; }

.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.8vw, 2.8rem); font-size: .78rem; font-weight: 400; letter-spacing: .05em; }
.nav a:not(.btn) { position: relative; padding: .5rem 0; white-space: nowrap; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--accent); }
.nav-cta { display: none; padding: .95em 1.8em; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow-x: clip; background: #f7e3ec; }
.hero-inner { position: relative; width: min(100%, 1920px); margin-inline: auto; min-height: calc(clamp(34rem, min(80vh, 52vw), 56rem) + var(--header-h)); padding: calc(var(--header-h) + clamp(2rem, 6vh, 4rem)) var(--gutter) calc(var(--wave-h) + 6rem); display: grid; align-content: center; justify-items: start; }
.hero-bg { position: absolute; top: var(--header-h); right: 0; width: min(78%, 62rem); height: calc(100% - var(--header-h)); object-fit: cover; object-position: 55% 70%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%); mask-image: linear-gradient(90deg, transparent, #000 38%); }
.hero-copy { position: relative; z-index: 1; text-align: left; width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.hero-copy > * { max-width: 30rem; }
.h1-brand { display: flex; align-items: center; gap: .8rem; font-size: .72rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.1rem; line-height: 1.6; }
.h1-brand::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; }
.hero h1 { font-weight: 500; font-size: clamp(3rem, 5.8vw, 5.6rem); line-height: 1.02; letter-spacing: -.01em; color: var(--ink); }
.hero-lead { font-size: 1.02rem; color: var(--ink-soft); margin: 1.5rem 0 2rem; max-width: 26rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-white { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.btn-white:hover { background: var(--ink); color: var(--white); }

.perks { position: absolute; z-index: 5; left: 50%; bottom: -2.7rem; transform: translateX(-50%); width: min(100% - 2 * var(--gutter), var(--container)); display: grid; grid-template-columns: repeat(4, 1fr); background: rgb(255 255 255 / .86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: var(--radius); box-shadow: 0 18px 40px -22px rgb(63 29 56 / .45); padding: 1.1rem 0; }
.perks li { display: flex; align-items: center; gap: .9rem; padding: .2rem 1.4rem; }
.perks li + li { border-left: 1px solid var(--line); }
.perks img { width: 2.5rem; height: 2.5rem; flex: none; object-fit: contain; }
.perks span { font-size: .8rem; line-height: 1.35; color: var(--ink-soft); }
.perks strong { display: block; font-size: .92rem; font-weight: 500; color: var(--ink); }

@media (max-width: 960px) {
  .hero-inner { min-height: 0; padding: calc(var(--header-h) + 2.5rem) var(--gutter) calc(var(--wave-h) + 21rem); justify-items: center; }
  .hero-copy { text-align: center; }
  .hero-copy > * { margin-inline: auto; }
  .h1-brand { justify-content: center; }
  .h1-brand::before { display: none; }
  .hero-actions { justify-content: center; }
  .hero-bg { top: calc(var(--header-h) + 22rem); width: 100%; height: calc(100% - var(--header-h) - 22rem); object-position: 62% 60%; -webkit-mask-image: linear-gradient(transparent, #000 4rem); mask-image: linear-gradient(transparent, #000 4rem); }
  .perks { position: absolute; left: 50%; bottom: -3.2rem; grid-template-columns: 1fr 1fr; gap: 1rem 0; padding: 1rem 0; }
  .perks li + li { border-left: 0; }
  .perks li:nth-child(even) { border-left: 1px solid var(--line); }
  .perks li { padding: .2rem 1rem; gap: .7rem; }
}
}
@media (max-width: 560px) {
  .perks img { width: 2rem; height: 2rem; }
  .perks span { font-size: .72rem; }
  .perks strong { font-size: .82rem; }
}

.script { font-family: var(--font-script); line-height: 1.1; }

/* ---------- Hlavičky sekcí ---------- */
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head p { color: var(--ink-soft); font-size: .95rem; margin-top: .4rem; }
.gallery-band .section-head p { color: var(--on-dark-soft); }

/* ---------- Nabídka (medailonky) ---------- */
.menu { background: var(--white); padding: calc(clamp(3.5rem, 7vw, 6rem) + 2.5rem) 0 clamp(5rem, 8vw, 7rem); }
.medals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2.5rem); }
.medal { display: flex; flex-direction: column; align-items: center; text-align: center; }
.medal-photo { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 30px -18px rgb(63 29 56 / .35); }
.medal-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.medal:hover .medal-photo img { transform: scale(1.07); }
.medal-icon { width: 2.1rem; height: 2.1rem; object-fit: contain; margin: 1.3rem 0 .3rem; }
.medal h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: .02em; line-height: 1.25; }
.medal p { font-size: .85rem; color: var(--ink-soft); margin-top: .3rem; max-width: 14rem; }

.d-croissant { width: 7.5rem; left: clamp(-1rem, 2vw, 3rem); top: 6rem; transform: rotate(-14deg); opacity: .9; }
.d-donut { width: 5rem; left: clamp(.5rem, 3vw, 4rem); bottom: .8rem; transform: rotate(10deg); }
.d-macarons { width: 6.5rem; right: clamp(-1rem, 3vw, 5rem); top: 7rem; transform: rotate(12deg); }
.d-pie { width: 5rem; right: clamp(.5rem, 3vw, 4rem); bottom: .8rem; transform: rotate(-8deg); }

/* ---------- Galerie (tmavý pruh) ---------- */
.gallery-band { background: var(--ink); color: var(--on-dark); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.6rem, 1.2vw, 1rem); }
.g-item { display: block; padding: 0; border: 0; background: rgb(255 255 255 / .06); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; cursor: zoom-in; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .4s; }
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.06); filter: brightness(1.05); }
.g-big { grid-column: span 2; grid-row: span 2; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; overflow: hidden; }
.lightbox::backdrop { background: rgb(30 12 27 / .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 70rem); max-height: 88vh; width: auto; height: auto; border-radius: var(--radius); box-shadow: 0 30px 80px rgb(0 0 0 / .5); }
.lb-btn { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border: 0; border-radius: 50%; background: rgb(255 255 255 / .14); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background-color .2s; }
.lb-btn:hover { background: rgb(255 255 255 / .28); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }

/* ---------- O nás ---------- */
.about { background: var(--bg-alt); padding: clamp(3.5rem, 7vw, 6.5rem) 0; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-text { max-width: 28rem; justify-self: end; }
.about-text .ornament { margin: 0 0 .6rem; }
.about-text .script-title { margin-bottom: 1.2rem; }
.kicker { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: .9rem; }
.about-text p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 1rem; }
.about-text .link-arrow { margin-top: .6rem; }
.about-art { width: 100%; max-width: 36rem; height: auto; }

/* ---------- Dort na objednávku ---------- */
.order { background: var(--bg); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.order-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.order-photo { position: relative; max-width: 27.5rem; }
.order-photo > img:not(.order-icon) { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.order-icon { position: absolute; right: -2rem; bottom: -2rem; width: 7.5rem; height: 7.5rem; padding: 1.4rem; background: var(--white); border-radius: var(--radius); box-shadow: 0 10px 30px -14px rgb(63 29 56 / .4); object-fit: contain; }
.order-body > p { color: var(--ink-soft); font-size: .95rem; max-width: 34rem; margin-top: 1rem; }
.order-body .script-title { font-size: clamp(3rem, 6vw, 4.6rem); }
.d-cupcake { width: 5rem; right: clamp(1rem, 5vw, 6rem); top: 2.5rem; transform: rotate(10deg); }
.d-sweet { width: 6.2rem; left: clamp(.5rem, 3vw, 4rem); bottom: 2rem; transform: rotate(-10deg); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.8rem 0 0; max-width: 40rem; counter-reset: none; }
.steps li { display: flex; flex-direction: column; gap: .7rem; }
.step-n { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--accent); color: #fff; font-size: .9rem; font-weight: 500; }
.steps strong { display: block; font-size: .95rem; font-weight: 500; color: var(--ink); margin-bottom: .2rem; }
.steps div { font-size: .82rem; line-height: 1.5; color: var(--ink-soft); }

/* Kontaktní karty */
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.8rem; max-width: 38rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 1.2rem 1.3rem; box-shadow: 0 0 0 1px var(--line), 0 18px 34px -24px rgb(63 29 56 / .4); }
.cc-ico { width: 1.9rem; height: 1.9rem; flex: none; color: var(--accent); margin-top: .15rem; }
.contact-card span { display: block; font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .3rem; }
.contact-card a { display: block; font-size: 1.02rem; font-weight: 400; color: var(--ink); line-height: 1.6; overflow-wrap: anywhere; transition: color .2s; }
.contact-card a:hover { color: var(--accent); }
.order-note { margin-top: 1.2rem; font-size: .82rem; color: var(--ink-soft); }

/* ---------- Navštivte nás (růžový pruh) ---------- */
.visit { background: var(--pink); padding: clamp(3.5rem, 7vw, 6rem) 0; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.visit-text .script-title { font-size: clamp(3rem, 5.6vw, 4.8rem); margin-bottom: 1rem; }
.visit-text p { max-width: 27rem; margin-bottom: 1.8rem; font-size: .98rem; }
.visit-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.visit-card { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; background: rgb(255 255 255 / .82); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 24px 44px -28px rgb(63 29 56 / .45); }
.visit-block h3 { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .7rem; }
.visit-block address { font-style: normal; font-size: 1.05rem; line-height: 1.5; margin-bottom: .8rem; }
.visit-block p { font-size: .92rem; line-height: 1.7; }
.visit-block a { overflow-wrap: anywhere; transition: color .2s; }
.visit-block a:hover { color: var(--accent); }
.hours-light div { display: grid; grid-template-columns: 4.2rem auto; font-size: .95rem; line-height: 1.9; white-space: nowrap; }
.hours-light dt, .hours-light dd { margin: 0; }
.d-visit-1 { width: 6.5rem; left: clamp(.5rem, 3vw, 4rem); bottom: 1.5rem; transform: rotate(-10deg); }
.d-visit-2 { width: 5.5rem; right: clamp(.5rem, 3vw, 4rem); top: 2.5rem; transform: rotate(10deg); }
.d-visit-1 { animation-delay: -2s; } .d-visit-2 { animation-delay: -4s; }
.footer-logo-link { display: inline-block; }

/* ---------- Patička (tmavá, kompaktní) ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); padding: clamp(2rem, 4vw, 3rem) 0 1.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr 1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
.footer-brand img { width: clamp(4.5rem, 6vw, 5.5rem); height: auto; }
.footer-col { font-size: .88rem; color: var(--on-dark-soft); font-style: normal; line-height: 1.7; }
.footer-col h4 { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark); margin: 0 0 .8rem; }
.footer-col address { font-style: normal; margin-bottom: .5rem; }
.footer-col p { margin-bottom: .5rem; }
.footer-col a:not(.link-arrow):hover { color: var(--pink-on-dark); }
.footer-col .link-arrow { color: var(--pink-on-dark); }
.hours div { display: grid; grid-template-columns: 4.2rem auto; white-space: nowrap; }
.hours dt, .hours dd { margin: 0; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social a { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: rgb(255 255 255 / .1); color: var(--on-dark); transition: background-color .2s, color .2s; }
.footer-social a:hover { background: var(--pink-on-dark); color: var(--ink); }
.footer-social svg { width: 1.1rem; height: 1.1rem; }
.footer-legal { margin-top: 1.8rem; padding-top: 1.1rem; border-top: 1px solid rgb(255 255 255 / .14); text-align: center; font-size: .75rem; color: var(--on-dark-soft); }
.legal { line-height: 1.7; }
.credits { margin-top: .3rem; opacity: .7; }
.credits a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Animace ---------- */
@keyframes rise { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes photo-in { from { opacity: 0; translate: 48px 0; scale: 1.05; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes wiggle { 0%, 100% { rotate: 0deg; } 25% { rotate: -10deg; } 75% { rotate: 10deg; } }

/* hero – nájezd při načtení */
.hero-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(1) { animation-delay: .1s; }
.hero-copy > :nth-child(2) { animation-delay: .25s; }
.hero-copy > :nth-child(3) { animation-delay: .45s; }
.hero-copy > :nth-child(4) { animation-delay: .6s; }
.hero-bg { animation: fade-in 1.2s ease both; }
.perks { animation: rise .9s cubic-bezier(.2, .7, .2, 1) .8s both; }

/* odkrývání při scrollu (jen s JS) */
html.js [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), translate .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
html.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* plavající dekorace */
.deco { animation: float 7s ease-in-out infinite; }
.d-macarons { animation-delay: -2s; animation-duration: 8s; }
.d-donut { animation-delay: -4s; animation-duration: 9s; }
.d-pie { animation-delay: -1s; animation-duration: 7.5s; }
.d-cupcake { animation-delay: -3s; }
.d-sweet { animation-delay: -5s; animation-duration: 8.5s; }
.order-icon { animation: bob 4.5s ease-in-out infinite; }
.medal:hover .medal-icon { animation: wiggle .6s ease; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal] { opacity: 1; translate: none; }
}

/* ---------- Responzivita ---------- */
@media (max-width: 1100px) {
}
@media (max-width: 860px) {
  .medals { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.5rem; }
}

@media (max-width: 960px) {
  :root { --header-h: 4.2rem; }
  .brand img { width: 2.5rem; height: 2.5rem; }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 24px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
  .nav-toggle span { position: relative; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span::before { top: -7px; }
  .nav-toggle span::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.5rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: .9rem 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { display: inline-flex; margin-top: 1.2rem; }

  .about-grid, .order-grid, .visit-grid { grid-template-columns: 1fr; }
  .about-text { justify-self: start; max-width: 34rem; }
  .about-art { max-width: 30rem; }
  .order-photo { max-width: 22rem; }
  .order-icon { right: -1rem; bottom: -1.5rem; width: 6.2rem; height: 6.2rem; padding: 1.1rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .medals { gap: 1.8rem .8rem; }
  .medal p { font-size: .8rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { flex-direction: row; align-items: flex-start; }
  .visit-card { grid-template-columns: 1fr; }
  .d-visit-1, .d-visit-2 { display: none; }
  .d-croissant, .d-macarons { width: 4.2rem; }
  .d-donut, .d-pie, .d-sweet { display: none; }
  .d-croissant { left: -.5rem; top: 5.2rem; }
  .d-macarons { right: -.5rem; top: 5.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
