:root {
  --bg: #111;
  --bg2: #181818;
  --card: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f3f3f3;
  --muted: #a8a8a8;
  --accent: #c3d82b;
  --red: #e30613;
  --nav-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 "Manrope", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "locl" 0; /* standard Cyrillic forms */
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: "Oswald", sans-serif; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.05; }
button { font: inherit; color: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eyebrow { color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; }
.center { text-align: center; margin-top: 40px; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 800; font-size: 15px; cursor: pointer; transition: transform 0.15s, background 0.15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #111; }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.35); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-white { background: #fff; color: #111; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-center { justify-content: center; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 20; transition: background 0.2s, border-color 0.2s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(17, 17, 17, 0.92); backdrop-filter: blur(10px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 36px; height: var(--nav-h); }
.nav-logo { display: block; width: 62px; height: auto; }
.nav-links { display: flex; gap: 30px; font-weight: 700; font-size: 15px; }
.nav-links a { opacity: 0.85; cursor: pointer; }
.nav-links a:hover { opacity: 1; color: var(--accent); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-call { padding: 10px 20px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: rgba(0, 0, 0, 0.4); }
.lang button { border: 0; background: none; padding: 8px 12px; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; cursor: pointer; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--accent); color: #111; }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.4); place-items: center; cursor: pointer; }

/* Hero */
.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.96) 0%, rgba(17, 17, 17, 0.75) 45%, rgba(17, 17, 17, 0.2) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 30%),
    url("../img/hero.webp") right 20% / cover no-repeat;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-top: 60px; }
.hero h1 { font-size: 76px; margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 19px; color: #d6d6d6; max-width: 540px; margin: 0 0 32px; }
.rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; padding: 10px 18px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); border: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.stars { color: #fbbc04; letter-spacing: 2px; }
.hero-logo { width: 100%; max-width: 470px; height: auto; justify-self: center; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6)); }

/* Sections */
.section { padding: 96px 0; }
.section-tight { padding-top: 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2 { font-size: 46px; margin-top: 10px; }
.section-head p { max-width: 420px; color: var(--muted); margin: 0; }

.highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hl { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 30px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
a.hl { cursor: pointer; transition: border-color 0.2s; }
a.hl:hover { border-color: rgba(195, 216, 43, 0.5); }
.hl img { position: absolute; top: -10px; right: -30px; width: 230px; height: auto; }
.hl-icon { position: absolute; top: 30px; right: 30px; width: 90px; height: 90px; border-radius: 50%; display: grid; place-items: center; background: rgba(227, 6, 19, 0.14); color: #ff5a3c; }
.hl-icon svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hl h3 { position: relative; font-size: 28px; margin-bottom: 8px; }
.hl p { position: relative; margin: 0; color: var(--muted); font-size: 15px; }

.dishes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dish { display: block; text-align: center; padding: 24px 18px 26px; border-radius: 22px; background: var(--bg2); border: 1px solid var(--line); cursor: pointer; transition: border-color 0.2s, transform 0.2s; }
.dish:hover { border-color: rgba(195, 216, 43, 0.5); transform: translateY(-3px); }
.dish img { width: 170px; height: 170px; object-fit: contain; }
.dish h3 { font-family: "Manrope", sans-serif; text-transform: none; font-size: 17px; font-weight: 800; margin-top: 14px; }
.dish small { color: var(--muted); }

.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat { display: grid; justify-items: center; gap: 10px; padding: 18px 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-weight: 800; cursor: pointer; transition: border-color 0.2s; }
.cat:hover { border-color: rgba(195, 216, 43, 0.5); color: var(--accent); }
.cat img { width: 90px; height: 90px; object-fit: contain; }

.reviews { text-align: center; padding: 70px 24px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.reviews h2 { font-size: 44px; margin: 12px 0; }
.reviews p { color: var(--muted); margin: 0 auto 30px; max-width: 520px; }
.big-rating { font-family: "Oswald", sans-serif; font-size: 64px; line-height: 1; }
.big-rating .stars { font-size: 30px; vertical-align: middle; }

.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; }
.info { padding: 40px; border-radius: 22px; background: var(--bg2); border: 1px solid var(--line); }
.info h2 { font-size: 44px; margin: 10px 0 28px; }
.info-row { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.info-row svg { color: var(--accent); margin-top: 3px; }
.info-row b { display: block; }
.info-row span, .info-row a { color: var(--muted); }
.info-row a:hover { color: var(--accent); }
.map { position: relative; min-height: 420px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: #1c211a; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05); }
.map-btn { position: absolute; left: 24px; bottom: 24px; }

.footer { margin-top: 96px; border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; align-items: center; gap: 24px; }
.footer img { width: 48px; height: auto; }
.social { margin-left: auto; display: flex; gap: 12px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--text); }
.social a:hover { border-color: var(--accent); color: var(--accent); }

/* Tablet */
@media (max-width: 1000px) {
  .hero h1 { font-size: 60px; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .nav-links { gap: 20px; }
}

/* Mobile */
@media (max-width: 760px) {
  :root { --nav-h: 68px; }
  .wrap { padding: 0 18px; }
  .nav .wrap { gap: 12px; }
  .nav-logo { width: 48px; }
  .nav-call { display: none; }
  .burger { display: grid; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    display: none; flex-direction: column; gap: 0;
    padding: 8px 18px 16px;
    background: rgba(17, 17, 17, 0.97);
    border-bottom: 1px solid var(--line);
  }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav.open { background: rgba(17, 17, 17, 0.97); }
  .nav.open .nav-links { display: flex; }

  .hero {
    min-height: 0;
    padding: 90px 0 50px;
    background:
      linear-gradient(0deg, var(--bg) 0%, rgba(17, 17, 17, 0.55) 50%, rgba(17, 17, 17, 0.35) 100%),
      url("../img/hero.webp") center 20% / cover no-repeat;
  }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 0; text-align: center; }
  .hero-logo { order: -1; max-width: 230px; }
  .hero h1 { font-size: 44px; margin: 12px 0 14px; }
  .hero p { font-size: 16px; margin: 0 auto 24px; }
  .hero .cta { justify-content: center; }
  .hero .cta .btn { flex: 1 1 100%; }
  .rating { margin-top: 22px; }

  .section { padding: 60px 0; }
  .section-tight { padding-top: 0; }
  .section-head { display: block; margin-bottom: 24px; }
  .section-head h2 { font-size: 34px; margin-bottom: 10px; }
  .highlights, .visit { grid-template-columns: 1fr; }
  .hl { min-height: 250px; padding: 24px; }
  .hl img { width: 150px; top: -6px; right: -18px; }
  .hl h3 { font-size: 24px; max-width: 85%; }
  .dishes { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dish { padding: 16px 10px 18px; }
  .dish img { width: 120px; height: 120px; }
  .cats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat img { width: 70px; height: 70px; }
  .reviews { padding: 44px 18px; }
  .reviews h2, .info h2 { font-size: 34px; }
  .reviews .btn { flex: 1 1 100%; }
  .info { padding: 28px 22px; }
  .map { min-height: 320px; }
  .footer { margin-top: 60px; }
  .footer .wrap { flex-wrap: wrap; }
}

/* ---------- Motion ---------- */
.hero { overflow: hidden; }
.hero .wrap { position: relative; z-index: 1; }

/* Hero entrance */
.js .hero-text > * { opacity: 0; animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.js .hero-text > :nth-child(1) { animation-delay: 0.1s; }
.js .hero-text > :nth-child(2) { animation-delay: 0.22s; }
.js .hero-text > :nth-child(3) { animation-delay: 0.36s; }
.js .hero-text > :nth-child(4) { animation-delay: 0.5s; }
.js .hero-text > :nth-child(5) { animation-delay: 0.64s; }
.js .hero-logo { opacity: 0; animation: bull-in 1s 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.25) forwards, float 5s 1.4s ease-in-out infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bull-in { from { opacity: 0; transform: translateY(-40px) rotate(-8deg) scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(1.5deg); } }

.hero h1 em { background: linear-gradient(90deg, var(--accent), #eaff5c, var(--accent)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }

/* Scroll reveal */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Hover life */
.btn svg { transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { box-shadow: 0 0 0 0 rgba(195, 216, 43, 0.5); }
.btn-primary:hover { box-shadow: 0 8px 24px -6px rgba(195, 216, 43, 0.55); }
.hl img, .dish img, .cat img { transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); }
a.hl:hover img { transform: rotate(-8deg) scale(1.08); }
a.hl:hover .hl-icon { transform: scale(1.1); }
.hl-icon { transition: transform 0.4s; }
.hl-icon svg { animation: flicker 2.2s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(0); } 30% { transform: scale(1.06, 0.96) rotate(-2deg); } 60% { transform: scale(0.97, 1.05) rotate(2deg); } }
.dish:hover img { transform: rotate(12deg) scale(1.06); }
.cat:hover img { transform: translateY(-6px) scale(1.08); }
.stars { display: inline-block; }
.reviews.in .stars { animation: pop 0.6s 0.4s both; }
@keyframes pop { 0% { transform: scale(0.4); opacity: 0; } 70% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }
.social a { transition: transform 0.2s, border-color 0.2s, color 0.2s; }
.social a:hover { transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .hero-text > *, .js .hero-logo { opacity: 1; transform: none; }
}
