/* =========================================================
   Coffee Park — specialty kavárna, Plzeň
   Aesthetic: botanická specialty kavárna s „neonovým pulzem".
   Paleta dle zadání: krém / tmavá káva / lesní zelená / neon mint.
   ========================================================= */

:root {
  /* —— Brand paleta (přesně dle zadání) —— */
  --cream:      #FAF9F6;   /* hlavní pozadí */
  --coffee:     #3E2723;   /* nadpisy, hlavní text */
  --green:      #2E7D32;   /* podnadpisy, ikony, detaily */
  --mint:       #69F0AE;   /* akcent — CTA, hover, glow (neon) */

  /* —— Odvozené odstíny —— */
  --coffee-80:  rgba(62, 39, 35, 0.80);
  --coffee-60:  rgba(62, 39, 35, 0.60);
  --coffee-12:  rgba(62, 39, 35, 0.12);
  --coffee-06:  rgba(62, 39, 35, 0.06);
  --green-soft: #e6f0e7;
  --mint-glow:  rgba(105, 240, 174, 0.55);
  --paper:      #ffffff;
  --paper-2:    #f3f1ea;   /* jemně tmavší krém pro střídání sekcí */

  /* —— Typografie —— */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* —— Layout —— */
  --maxw: 1200px;
  --gut: clamp(1.25rem, 5vw, 4rem);
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-pill: 999px;
  --shadow: 0 18px 50px -24px rgba(62, 39, 35, 0.35);
  --shadow-sm: 0 8px 24px -16px rgba(62, 39, 35, 0.4);
}

/* —————————————————————— Reset —————————————————————— */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { min-height: 100%; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* —————————————————————— Base —————————————————————— */
body {
  font-family: var(--body);
  color: var(--coffee);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Jemné zrno přes celý web — atmosféra, hloubka */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* —————————————————————— Typografie —————————————————————— */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--coffee);
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { text-wrap: pretty; }

.display-italic { font-style: italic; font-weight: 500; }

/* Mátový „zvýrazňovač" pod klíčovým slovem — neonový pulz */
.hl {
  position: relative;
  white-space: nowrap;
}
.hl::after {
  content: "";
  position: absolute;
  left: -0.06em; right: -0.06em;
  bottom: 0.08em;
  height: 0.34em;
  background: var(--mint);
  z-index: -1;
  border-radius: 3px;
  transform: skewX(-12deg);
  box-shadow: 0 0 22px var(--mint-glow);
}

/* —————————————————————— Layout utils —————————————————————— */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(4.5rem, 11vw, 9rem); position: relative; }
.section--alt { background: var(--paper-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--green);
  display: inline-block;
}

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--coffee-80); max-width: 56ch; }

/* —————————————————————— Tlačítka —————————————————————— */
.btn {
  --bg: var(--mint);
  --fg: var(--coffee);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  padding: 0.95em 1.6em;
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--fg);
  border: 1.5px solid transparent;
  transition: transform .22s cubic-bezier(.2,.7,.3,1), box-shadow .22s ease, background .2s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -10px var(--mint-glow); }
.btn:active { transform: translateY(-1px); }
.btn .arrow { transition: transform .22s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--coffee);
  border-color: var(--coffee-12);
}
.btn--ghost:hover { background: var(--coffee); color: var(--cream); box-shadow: var(--shadow-sm); }

.btn--coffee { --bg: var(--coffee); --fg: var(--cream); }
.btn--coffee:hover { box-shadow: 0 16px 30px -14px rgba(62,39,35,.6); }

/* —————————————————————— Chips —————————————————————— */
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-size: 0.85rem; font-weight: 600;
  padding: 0.5em 0.95em;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--coffee-12);
  color: var(--coffee-80);
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint-glow); }
.chip .star { color: #f0a500; }

/* —————————————————————— Dekorativní list (park motiv) —————————————————————— */
.leaf {
  position: absolute;
  color: var(--green);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding-block: 1.1rem;
}
.nav.scrolled {
  background: rgba(250, 249, 246, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--coffee-06), var(--shadow-sm);
  padding-block: 0.7rem;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--coffee); letter-spacing: -0.02em; }
.brand__mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--green); color: var(--mint);
  display: grid; place-items: center; flex: none;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.12);
}
.brand__mark svg { width: 20px; height: 20px; }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a { font-weight: 600; font-size: 0.95rem; color: var(--coffee-80); position: relative; transition: color .2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--mint); box-shadow: 0 0 8px var(--mint-glow); transition: width .25s ease;
}
.nav__links a:hover { color: var(--coffee); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 1rem; }

.nav__burger { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; gap: 5px; align-items: center; justify-content: center; border: 1px solid var(--coffee-12); }
.nav__burger span { width: 20px; height: 2px; background: var(--coffee); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav.open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(7rem, 14vw, 10rem); padding-bottom: clamp(3rem, 8vw, 6rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__eyebrow { margin-bottom: 1.4rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { margin-bottom: 2.2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.2rem; }

/* Hero foto + neon glow */
.hero__media { position: relative; }
.hero__photo {
  position: relative; z-index: 2;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__glow {
  position: absolute; z-index: 1;
  width: 78%; height: 78%;
  right: -8%; bottom: -10%;
  background: radial-gradient(circle, var(--mint) 0%, rgba(105,240,174,0) 70%);
  filter: blur(20px);
  opacity: 0.6;
}
.hero__blob {
  position: absolute; z-index: 0; top: -6%; left: -10%;
  width: 60%; aspect-ratio: 1;
  background: var(--green-soft);
  border-radius: 46% 54% 60% 40% / 55% 45% 55% 45%;
}

/* Plovoucí cedulky na hero fotce */
.badge {
  position: absolute; z-index: 3;
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.7rem;
}
.badge--rating { top: 1.2rem; left: -1.4rem; }
.badge--rating .num { font-family: var(--display); font-size: 1.6rem; font-weight: 700; line-height: 1; color: var(--coffee); }
.badge--rating .stars { color: #f0a500; font-size: 0.85rem; letter-spacing: 1px; }
.badge--rating .sub { font-size: 0.72rem; color: var(--coffee-60); }
.badge--open { bottom: 1.2rem; right: -1.2rem; font-weight: 600; font-size: 0.85rem; }
.badge--open .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 var(--mint-glow); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--mint-glow); } 70% { box-shadow: 0 0 0 10px rgba(105,240,174,0); } 100% { box-shadow: 0 0 0 0 rgba(105,240,174,0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   O NÁS
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 6; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media .tag {
  position: absolute; left: 1rem; bottom: 1rem;
  background: var(--mint); color: var(--coffee);
  font-weight: 700; font-size: 0.8rem; letter-spacing: .04em;
  padding: 0.45em 0.9em; border-radius: var(--r-pill);
  box-shadow: 0 8px 20px -8px var(--mint-glow);
}
.about h2 { margin: 1rem 0 1.3rem; }
.about p + p { margin-top: 1rem; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; }
.feature {
  background: var(--paper); border: 1px solid var(--coffee-12);
  border-radius: var(--r-md); padding: 1.4rem 1.2rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: transparent; }
.feature__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 0.9rem; }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.feature p { font-size: 0.92rem; color: var(--coffee-60); line-height: 1.55; }

/* ============================================================
   MENU
   ============================================================ */
.menu__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.8rem; }
.menu__head .lead { margin-top: 1rem; }

.menu__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; }
.dish {
  position: relative; overflow: hidden;
  border-radius: var(--r-md);
  background: var(--paper);
  border: 1px solid var(--coffee-12);
  display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s ease;
}
.dish:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.dish__img { aspect-ratio: 4/3; overflow: hidden; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.dish:hover .dish__img img { transform: scale(1.06); }
.dish__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.dish__top { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.dish h3 { font-size: 1.25rem; }
.dish p { font-size: 0.92rem; color: var(--coffee-60); line-height: 1.55; }
.dish .flag { font-size: 0.7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); background: var(--green-soft); padding: 0.3em 0.7em; border-radius: var(--r-pill); white-space: nowrap; }
.dish .flag--hot { color: var(--coffee); background: var(--mint); box-shadow: 0 0 16px -2px var(--mint-glow); }

/* velký + malé karty (editorial mřížka) */
.dish--feature { grid-column: span 6; }
.dish--feature .dish__img { aspect-ratio: 16/11; }
.dish--feature h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.dish--sm { grid-column: span 3; }
@media (max-width: 900px) {
  .dish--feature { grid-column: span 12; }
  .dish--sm { grid-column: span 6; }
}
@media (max-width: 560px) { .dish--sm { grid-column: span 12; } }

.price-note { margin-top: 1.6rem; font-size: 0.95rem; color: var(--coffee-60); display: inline-flex; align-items: center; gap: 0.6rem; }
.price-note b { color: var(--coffee); font-weight: 700; }

/* —— Brunch band —— */
.brunch {
  margin-top: 3rem;
  background: var(--coffee);
  color: var(--cream);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 5vw, 3.2rem);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.8rem;
  position: relative; overflow: hidden;
}
.brunch h3 { color: var(--cream); font-size: clamp(1.6rem, 3vw, 2.4rem); }
.brunch p { color: rgba(250,249,246,.75); margin-top: 0.5rem; max-width: 44ch; }
.brunch .when { color: var(--mint); font-weight: 700; }
.brunch__deco { position: absolute; right: -40px; top: -40px; color: var(--mint); opacity: .12; }
.brunch__deco svg { width: 220px; height: 220px; }

/* ============================================================
   KOMUNITA / CUPPING
   ============================================================ */
.community__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 0.8rem; aspect-ratio: 1/1; }
.collage figure { overflow: hidden; border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.collage figure:hover img { transform: scale(1.07); }
.collage .c1 { grid-row: span 2; }
.collage .c4 { grid-row: span 2; }
.community h2 { margin: 1rem 0 1.2rem; }

/* ============================================================
   RECENZE
   ============================================================ */
.reviews__top { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem; justify-content: space-between; margin-bottom: 2.6rem; }
.score { display: flex; align-items: center; gap: 1.2rem; }
.score__num { font-family: var(--display); font-size: clamp(3.2rem, 7vw, 4.6rem); font-weight: 700; line-height: 1; color: var(--coffee); }
.score__meta .stars { color: #f0a500; font-size: 1.1rem; letter-spacing: 2px; }
.score__meta .count { color: var(--coffee-60); font-size: 0.95rem; }

.testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.testi__card {
  background: var(--paper); border: 1px solid var(--coffee-12);
  border-radius: var(--r-md); padding: 1.6rem 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform .25s, box-shadow .25s;
}
.testi__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.testi__card .q { font-family: var(--display); font-size: 1.12rem; line-height: 1.45; color: var(--coffee); font-weight: 500; }
.testi__card .stars { color: #f0a500; font-size: 0.85rem; letter-spacing: 1px; }
.testi__who { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; }
.testi__ava { width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--mint); display: grid; place-items: center; font-weight: 700; font-family: var(--display); }
.testi__who b { font-size: 0.92rem; }
.testi__who span { font-size: 0.8rem; color: var(--coffee-60); display: block; }

/* ============================================================
   KLUB / NEWSLETTER
   ============================================================ */
.club {
  background: linear-gradient(135deg, var(--green) 0%, #256528 100%);
  color: var(--cream);
  border-radius: var(--r-lg);
  padding: clamp(2.4rem, 6vw, 4rem);
  position: relative; overflow: hidden;
  text-align: center;
}
.club h2 { color: var(--cream); margin-bottom: 0.9rem; }
.club p { color: rgba(250,249,246,.82); max-width: 48ch; margin: 0 auto 2rem; }
.club__form { display: flex; gap: 0.7rem; max-width: 440px; margin: 0 auto; flex-wrap: wrap; }
.club__form input {
  flex: 1; min-width: 200px;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: var(--r-pill);
  padding: 0.9em 1.3em; color: var(--cream);
  transition: border-color .2s, background .2s;
}
.club__form input::placeholder { color: rgba(250,249,246,.6); }
.club__form input:focus { outline: none; border-color: var(--mint); background: rgba(255,255,255,.18); }
.club__note { font-size: 0.78rem; color: rgba(250,249,246,.6); margin-top: 1rem; }
.club__ok { display: none; font-weight: 600; color: var(--mint); margin-top: 1.2rem; }
.club.sent .club__ok { display: block; }
.club__deco { position: absolute; color: var(--mint); opacity: .14; }
.club__deco--1 { left: -30px; bottom: -40px; }
.club__deco--2 { right: -20px; top: -30px; }
.club__deco svg { width: 180px; height: 180px; }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 3.5rem); }
.info__block + .info__block { margin-top: 1.8rem; }
.info__label { font-size: 0.78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 0.5rem; }
.info__big { font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.info a:hover { color: var(--green); }

.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 0.55rem 0; border-bottom: 1px dashed var(--coffee-12); font-size: 0.95rem; }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.today td { color: var(--green); font-weight: 700; }
.hours tr.closed td:last-child { color: var(--coffee-60); font-weight: 500; }

.socials { display: flex; gap: 0.7rem; margin-top: 1rem; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--coffee-12); transition: transform .2s, background .2s, color .2s; }
.socials a:hover { transform: translateY(-3px); background: var(--coffee); color: var(--mint); }
.socials svg { width: 20px; height: 20px; }

.map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; height: 100%; border: 1px solid var(--coffee-12); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(0.9); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--coffee); color: rgba(250,249,246,.8); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand { color: var(--cream); }
.footer__cols { display: flex; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; }
.footer__col h4 { color: var(--cream); font-family: var(--body); font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 0.9rem; }
.footer__col a { display: block; font-size: 0.92rem; padding: 0.25rem 0; transition: color .2s; }
.footer__col a:hover { color: var(--mint); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: 0.82rem; color: rgba(250,249,246,.55); }
.footer__bottom a:hover { color: var(--mint); }

/* ============================================================
   Animace — reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Hero load animace */
.hero [data-load] { opacity: 0; transform: translateY(24px); animation: heroIn .9s cubic-bezier(.2,.7,.3,1) forwards; }
.hero [data-load="1"] { animation-delay: .1s; }
.hero [data-load="2"] { animation-delay: .22s; }
.hero [data-load="3"] { animation-delay: .34s; }
.hero [data-load="4"] { animation-delay: .46s; }
.hero [data-load="5"] { animation-delay: .58s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero [data-load] { opacity: 1; transform: none; animation: none; } }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero__grid, .about__grid, .community__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin-inline: auto; order: -1; }
  .about__media { max-width: 480px; margin-inline: auto; }
  .features { grid-template-columns: 1fr; }
  .testi { grid-template-columns: 1fr; }
  .map { min-height: 320px; }
}

@media (max-width: 820px) {
  .nav__cta .btn { display: none; }
  .nav__burger { display: flex; }
  .nav__menu {
    position: fixed; inset: 0 0 auto 0; top: 0;
    background: var(--cream);
    padding: 6rem var(--gut) 2.5rem;
    transform: translateY(-100%);
    transition: transform .4s cubic-bezier(.5,.1,.2,1);
    box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 0.4rem;
    z-index: 90;
  }
  .nav.open .nav__menu { transform: translateY(0); }
  /* logo + hamburger/křížek drží nad panelem, ať jde menu zavřít */
  .brand, .nav__cta { position: relative; z-index: 95; }
  /* ztmavené pozadí — kliknutím mimo menu se zavře */
  .nav.open::before {
    content: ""; position: fixed; inset: 0;
    background: rgba(28, 26, 22, 0.34);
    z-index: 80; animation: fadeIn .3s ease;
  }
  .nav__menu .nav__links { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav__menu .nav__links a { font-family: var(--display); font-size: 1.5rem; padding: 0.6rem 0; border-bottom: 1px solid var(--coffee-06); }
  .nav__menu .btn { display: inline-flex; margin-top: 1.4rem; align-self: flex-start; }
}
@media (min-width: 821px) { .nav__menu { display: contents; } .nav__menu > .btn { display: none; } }

@media (max-width: 560px) {
  .badge--rating { left: 0.6rem; }
  .badge--open { right: 0.6rem; }
  .reviews__top { flex-direction: column; align-items: flex-start; }
  .brunch { flex-direction: column; align-items: flex-start; text-align: left; }
}
