/* =========================================================
   Fami Bistro – hlavní styl
   Paleta: světle zelená (logo), tmavě zelená, zlatá, krémová
   ========================================================= */
:root {
  --green-50: #f4f8ec;
  --green-100: #e6efd6;
  --green-200: #cfe0b4;   /* pozadí loga */
  --green-300: #b4cf92;
  --green-500: #5f9b45;
  --green-700: #2f6b2a;   /* text loga */
  --green-900: #1c3f1a;
  --gold: #c9a24b;
  --gold-dark: #a8832f;
  --cream: #fbf8ec;
  --red: #d9433a;
  --text: #2b3326;
  --muted: #5d6a55;
  --white: #fff;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-script: "Dancing Script", cursive;
  --font-sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --shadow-sm: 0 4px 14px rgba(28, 63, 26, .08);
  --shadow: 0 14px 40px rgba(28, 63, 26, .14);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-dark); }
h1, h2, h3 { font-family: var(--font-serif); color: var(--green-900); line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.script { font-family: var(--font-script); color: var(--green-500); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; letter-spacing: .02em; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--green-700); color: var(--white); box-shadow: 0 8px 20px rgba(47,107,42,.3); }
.btn--primary:hover { background: var(--green-900); color: var(--white); }
.btn--outline { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn--outline:hover { background: var(--green-700); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--white); box-shadow: 0 8px 20px rgba(201,162,75,.35); }
.btn--gold:hover { background: var(--gold-dark); color: var(--white); }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 700;
  color: var(--gold-dark); margin-bottom: .8rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--gold); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .3s, box-shadow .3s, height .3s;
}
.header.scrolled {
  background: rgba(251, 248, 236, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(28,63,26,.08);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__logo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-sm); border: 2px solid var(--white); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-script); font-size: 1.9rem; color: var(--green-700); }
.brand__sub { font-size: .7rem; letter-spacing: .4em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; padding-left: 2px; }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__list { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: block; padding: .5rem .85rem; font-weight: 600; color: var(--green-900);
}
.nav__link::after {
  content: ""; position: absolute; left: 50%; bottom: .2rem; width: 0; height: 2px;
  background: var(--gold); transition: width .3s var(--ease), left .3s var(--ease);
}
.nav__link:hover::after, .nav__link.active::after { width: calc(100% - 1.7rem); left: .85rem; }
.nav__link.active { color: var(--green-700); }
.nav__cta { padding: .6rem 1.3rem; }

.burger {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--green-700); position: relative; z-index: 110;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s, top .3s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 29px; }
.burger.open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; padding: calc(var(--header-h) + 2rem) 0 4rem;
  background: var(--green-200); overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(circle at 80% 30%, rgba(255,255,255,.55), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(95,155,69,.25), transparent 40%),
    linear-gradient(160deg, var(--green-100) 0%, var(--green-200) 60%, var(--green-300) 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image: radial-gradient(rgba(47,107,42,.18) 1px, transparent 1px);
  background-size: 22px 22px;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 700; margin-bottom: 1.2rem; }
.hero__title .script { font-size: 1.05em; display: inline-block; margin-top: .1em; }
.hero__text { font-size: 1.1rem; color: var(--muted); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2.5rem; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; gap: 2.5rem; }
.hero__badges li { display: flex; flex-direction: column; }
.hero__badges strong { font-family: var(--font-serif); font-size: 2.2rem; color: var(--green-700); line-height: 1; }
.hero__badges span { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }

.hero__visual { display: flex; justify-content: center; }
.hero__logo-wrap {
  position: relative; width: min(460px, 100%); aspect-ratio: 1; border-radius: 50%;
  padding: 14px; background: linear-gradient(145deg, var(--white), var(--green-100));
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(201,162,75,.4);
  animation: float 6s ease-in-out infinite;
}
.hero__logo-wrap::before {
  content: ""; position: absolute; inset: -18px; border-radius: 50%;
  border: 2px dashed rgba(201,162,75,.55); animation: spin 60s linear infinite;
}
.hero__logo { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.hero__scroll {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  width: 28px; height: 46px; border: 2px solid var(--green-700); border-radius: 20px;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--green-700); border-radius: 2px; animation: scrollDot 1.8s infinite;
}

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scrollDot { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section__head .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section__title { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
.section__title--light { color: var(--white); }
.section__title--light .script { color: var(--green-300); }
.section__lead { color: var(--muted); font-size: 1.05rem; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about__media { position: relative; min-height: 520px; }
.about__img { background: var(--green-300) center/cover no-repeat; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__img--main { position: absolute; inset: 0 18% 14% 0; }
.about__img--small { position: absolute; width: 50%; aspect-ratio: 1; right: 0; bottom: 0; border: 8px solid var(--cream); }
.about__stamp {
  position: absolute; top: 1.5rem; right: 4%; width: 110px; height: 110px; border-radius: 50%;
  background: var(--gold); color: var(--white); display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow); line-height: 1; transform: rotate(-8deg);
}
.about__stamp .script { color: var(--white); font-size: 1.4rem; }
.about__stamp strong { font-family: var(--font-serif); font-size: 2rem; }
.about__content p { color: var(--muted); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2rem; }
.feature { display: flex; gap: .9rem; align-items: flex-start; }
.feature__icon {
  flex: 0 0 48px; height: 48px; border-radius: 14px; background: var(--green-100);
  display: grid; place-items: center; font-size: 1.4rem;
}
.feature h3 { font-family: var(--font-sans); font-size: 1rem; margin: 0 0 .2rem; }
.feature p { font-size: .9rem; margin: 0; }

/* ---------- Cuisines ---------- */
.cuisines { background: var(--green-700); padding: 4rem 0; position: relative; }
.cuisines::before {
  content: ""; position: absolute; inset: 0; opacity: .08;
  background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 18px 18px;
}
.cuisines__grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cuisine {
  text-align: center; padding: 2.2rem 1.6rem; border-radius: var(--radius);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: var(--green-100);
  transition: transform .35s var(--ease), background .35s;
}
.cuisine:hover { transform: translateY(-6px); background: rgba(255,255,255,.12); }
.cuisine__icon { font-size: 2.6rem; margin-bottom: .6rem; }
.cuisine h3 { color: var(--gold); font-size: 1.8rem; }
.cuisine p { margin: 0; font-size: .95rem; }

/* ---------- Menu ---------- */
.menu { background: var(--green-50); position: relative; }
.tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 2.5rem;
}
.tab {
  padding: .75rem 1.5rem; border-radius: 999px; border: 2px solid var(--green-200);
  background: var(--white); color: var(--green-900); font-weight: 700; cursor: pointer;
  transition: all .25s var(--ease);
}
.tab:hover { border-color: var(--green-500); }
.tab.active { background: var(--green-700); border-color: var(--green-700); color: var(--white); box-shadow: 0 8px 20px rgba(47,107,42,.25); }

.menu__panel { animation: fadeUp .5s var(--ease); }
.menu__panel[hidden] { display: none; }
.menu__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem 2.5rem; }
.dish {
  position: relative; padding: 1.3rem 1.4rem; border-radius: 14px; background: var(--white);
  box-shadow: var(--shadow-sm); border-left: 4px solid transparent;
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.dish:hover { border-left-color: var(--gold); transform: translateX(4px); box-shadow: var(--shadow); }
.dish__head { display: flex; align-items: baseline; gap: .6rem; }
.dish__head h3 { font-size: 1.35rem; margin: 0; }
.dish__dots { flex: 1; border-bottom: 2px dotted var(--green-300); transform: translateY(-4px); min-width: 20px; }
.dish__price { font-weight: 700; color: var(--green-700); white-space: nowrap; }
.dish p { color: var(--muted); font-size: .93rem; margin: .4rem 0 0; }
.tag {
  display: inline-block; margin-top: .6rem; padding: .15rem .7rem; border-radius: 999px;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
}
.tag--hit { background: #fbf0d6; color: var(--gold-dark); }
.tag--hot { background: #fde4e2; color: var(--red); }
.tag--veg { background: var(--green-100); color: var(--green-700); }
.menu__note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 2.5rem; }

/* Menu – rozšíření */
.menu__pdf { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
@media (max-width: 680px) { .menu__pdf .btn { flex: 1 1 100%; } }
.menu__cat { display: flex; align-items: baseline; gap: .8rem; margin-bottom: 1.2rem; border-bottom: 2px solid var(--green-200); padding-bottom: .5rem; }
.menu__cat h3 { font-size: 2rem; margin: 0; }
.menu__cat span { font-family: var(--font-script); font-size: 1.4rem; color: var(--gold-dark); }
.menu__intro {
  background: var(--white); border-left: 4px solid var(--green-500); border-radius: 12px;
  padding: 1rem 1.3rem; color: var(--muted); font-size: .95rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm);
}
.menu__intro strong { color: var(--green-900); }
.dish { display: flex; flex-direction: column; }
.dish__head h3 { min-width: 0; }
.dish__code {
  flex: 0 0 auto; align-self: center; min-width: 2.1rem; height: 2.1rem; padding: 0 .45rem; border-radius: 999px;
  display: inline-grid; place-items: center; background: var(--green-100); color: var(--green-700);
  font-size: .78rem; font-weight: 700;
}
.dish__qty { font-family: var(--font-sans); font-size: .75rem; font-weight: 700; color: var(--gold-dark); white-space: nowrap; letter-spacing: .03em; }
.dish .dish__desc { color: var(--text); opacity: .85; }
.dish .dish__en { font-style: italic; font-size: .85rem; margin-top: .15rem; color: var(--muted); }
.variants { list-style: none; padding: 0; margin: .7rem 0 0; display: grid; gap: .3rem; }
.variants li { display: flex; align-items: baseline; gap: .5rem; font-size: .92rem; }
.variants__name { color: var(--green-900); font-weight: 600; }
.variants__alg { color: var(--muted); font-weight: 400; font-size: .75rem; cursor: help; }
.variants__dots { flex: 1; border-bottom: 1px dotted var(--green-300); min-width: 12px; transform: translateY(-3px); }
.variants__price { font-weight: 700; color: var(--green-700); white-space: nowrap; }
.chips { list-style: none; padding: 0; margin: .7rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { padding: .2rem .75rem; border-radius: 999px; background: var(--green-50); border: 1px solid var(--green-200); font-size: .82rem; color: var(--green-900); }
.dish__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: auto; padding-top: .7rem; }
.dish__meta .tag { margin: 0; }
.dish__allergens { font-size: .75rem; color: var(--muted); cursor: help; border-bottom: 1px dashed var(--green-300); }
.menu__legend { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.menu__legend .tag { margin: 0; }
.allergens {
  max-width: 760px; margin: 1.5rem auto 0; background: var(--white); border-radius: 14px;
  box-shadow: var(--shadow-sm); padding: .9rem 1.3rem;
}
.allergens summary { cursor: pointer; font-weight: 700; color: var(--green-900); }
.allergens__list { columns: 2; column-gap: 2rem; margin: 1rem 0 .5rem; padding-left: 1.6rem; color: var(--muted); font-size: .92rem; }
.allergens__list li::marker { color: var(--green-700); font-weight: 700; }
.allergens__note { font-size: .85rem; color: var(--muted); margin: 0; }
@media (max-width: 680px) {
  .allergens__list { columns: 1; }
  .menu__cat h3 { font-size: 1.6rem; }
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Gallery ---------- */
.gallery__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 1rem;
}
.gallery__item {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--green-300) center/cover no-repeat; box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease);
}
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,63,26,.75), transparent 55%); opacity: .7; transition: opacity .3s;
}
.gallery__item:hover { transform: scale(1.02); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item figcaption {
  position: absolute; left: 1.2rem; bottom: 1rem; z-index: 1; color: var(--white);
  font-family: var(--font-script); font-size: 1.6rem;
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ---------- Reservation ---------- */
.reservation {
  background:
    linear-gradient(rgba(28,63,26,.9), rgba(28,63,26,.9)),
    url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1600&q=60") center/cover fixed;
  color: var(--green-100);
}
.reservation__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hours {
  margin-top: 2rem; padding: 1.6rem; border-radius: var(--radius);
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.15);
}
.hours h3 { color: var(--gold); font-size: 1.5rem; }
.hours ul { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px dashed rgba(255,255,255,.2); }
.hours li:last-child { border-bottom: 0; }
.hours__status { margin: 1rem 0 0; font-weight: 700; }
.hours__status.open { color: #9be37f; }
.hours__status.closed { color: #ffb4ae; }

.form {
  background: var(--cream); color: var(--text); padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--radius); box-shadow: 0 25px 60px rgba(0,0,0,.25);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__row--3 { grid-template-columns: repeat(3, 1fr); }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field span { font-size: .85rem; font-weight: 700; color: var(--green-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border-radius: 12px; border: 2px solid var(--green-200);
  background: var(--white); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(95,155,69,.15);
}
.field input.invalid, .field select.invalid { border-color: var(--red); }
.form__msg { margin: 1rem 0 0; text-align: center; font-weight: 700; min-height: 1.5em; }
.form__msg.success { color: var(--green-700); }
.form__msg.error { color: var(--red); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: stretch; }
.contact__cards { display: flex; flex-direction: column; gap: 1rem; }
.contact__card {
  display: flex; gap: 1rem; align-items: center; padding: 1.2rem 1.4rem; border-radius: 14px;
  background: var(--white); box-shadow: var(--shadow-sm);
}
.contact__icon {
  flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--green-100);
  display: grid; place-items: center; font-size: 1.4rem;
}
.contact__card h3 { font-family: var(--font-sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; color: var(--gold-dark); margin: 0 0 .15rem; }
.contact__card p { margin: 0; font-weight: 600; }
.socials { display: flex; gap: .7rem; margin-top: .5rem; }
.social {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-700); color: var(--white); transition: background .25s, transform .25s;
}
.social:hover { background: var(--gold); color: var(--white); transform: translateY(-3px); }
.contact__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; background: var(--green-100); }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--green-900); color: var(--green-200); padding-top: 3.5rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.5rem; }
.footer__brand { display: flex; align-items: center; gap: 1.2rem; }
.footer__logo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }
.footer__brand p { margin: 0; font-size: .95rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer__nav a { color: var(--green-200); font-weight: 600; }
.footer__nav a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 1.2rem; font-size: .85rem; }
.footer__bottom p { margin: 0; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold); color: var(--white); font-size: 1.3rem; font-weight: 700;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-700); color: var(--white); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet na šířku / malý notebook */
@media (max-width: 1100px) {
  .nav { gap: .8rem; }
  .nav__link { padding: .5rem .6rem; }
  .nav__link:hover::after, .nav__link.active::after { width: calc(100% - 1.2rem); left: .6rem; }
}

/* Tablet (iPad) */
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 85vw); z-index: 105;
    flex-direction: column; align-items: stretch; justify-content: center; gap: 2rem; padding: 2rem;
    background: var(--cream); box-shadow: -10px 0 40px rgba(0,0,0,.15);
    transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .nav.open { transform: none; }
  .nav__list { flex-direction: column; gap: .3rem; }
  .nav__link { font-size: 1.25rem; font-family: var(--font-serif); font-weight: 700; padding: .7rem 1rem; border-radius: 12px; }
  .nav__link::after { display: none; }
  .nav__link.active, .nav__link:hover { background: var(--green-100); }
  /* backdrop-filter by vytvořil nový containing block pro fixed menu */
  .header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  body.nav-open { overflow: hidden; }
  body.nav-open::before {
    content: ""; position: fixed; inset: 0; background: rgba(28,63,26,.4); z-index: 99;
  }

  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero__visual { order: -1; }
  .hero__logo-wrap { width: min(320px, 75vw); }
  .hero__text { margin-inline: auto; }
  .hero__actions, .hero__badges { justify-content: center; }
  .hero .eyebrow::before { display: none; }
  .hero__scroll { display: none; }

  .about__grid { grid-template-columns: 1fr; }
  .about__media { min-height: 440px; max-width: 620px; width: 100%; margin-inline: auto; }

  .cuisines__grid { grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
  .cuisine { padding: 1.6rem 1rem; }

  .menu__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }

  .reservation { background-attachment: scroll; }
  .reservation__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}

/* Telefon */
@media (max-width: 680px) {
  .container { width: min(100% - 2rem, 1200px); }
  .brand__logo { width: 44px; height: 44px; }
  .brand__name { font-size: 1.6rem; }

  .hero { padding-top: calc(var(--header-h) + 1.5rem); }
  .hero__badges { gap: 1.5rem; }
  .hero__badges strong { font-size: 1.8rem; }
  .hero__actions .btn { flex: 1 1 100%; }

  .about__media { min-height: 360px; }
  .about__stamp { width: 86px; height: 86px; }
  .about__stamp strong { font-size: 1.5rem; }
  .features { grid-template-columns: 1fr; }

  .cuisines__grid { grid-template-columns: 1fr; }

  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: .5rem; margin-inline: -1rem; padding-inline: 1rem; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: 0 0 auto; padding: .65rem 1.2rem; }
  .menu__grid { grid-template-columns: 1fr; }
  .dish__head h3 { font-size: 1.2rem; }

  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: .7rem; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item figcaption { font-size: 1.25rem; left: .8rem; bottom: .6rem; }

  .form__row, .form__row--3 { grid-template-columns: 1fr; gap: 0; }

  .contact__map, .contact__map iframe { min-height: 320px; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__brand { flex-direction: column; }
  .footer__nav { justify-content: center; }
}

/* Omezení animací */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
