/* ===== Variables ===== */
:root {
  --bg: #FAF6F0;
  --bg-alt: #F0EBE3;
  --white: #FFFFFF;
  --black: #1A1A1A;
  --orange: #E8943A;
  --orange-dark: #D07A20;
  --orange-light: rgba(232, 148, 58, 0.15);
  --text: #333333;
  --text-muted: #666666;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
  --font: 'Montserrat', sans-serif;
  --font-display: 'Russo One', sans-serif;
  --header-h: 72px;
  --transition: 0.3s ease;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  color: var(--black);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-header { text-align: center; margin-bottom: 48px; }

.lead { font-size: 18px; line-height: 1.7; margin-bottom: 16px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232, 148, 58, 0.4);
}
.btn--primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 148, 58, 0.5);
}
.btn--outline {
  border: 2px solid var(--white);
  color: var(--white);
  backdrop-filter: blur(4px);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--black);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: var(--transition);
}
.header--scrolled {
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  gap: 16px;
}
.header__col {
  display: flex;
  align-items: center;
}
.header__col--left { justify-self: start; gap: 16px; }
.header__col--right { justify-self: end; }
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  grid-column: 2;
}
.logo__img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition);
}
.logo:hover .logo__img { transform: scale(1.05); }
.logo__img--footer {
  height: 88px;
  width: 88px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}
.nav a:hover { color: var(--orange); }

.header__phone {
  font-weight: 600;
  font-size: 14px;
  color: var(--orange);
  white-space: nowrap;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: calc(var(--header-h) + 40px) 20px 80px;
}
.hero__tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.hero__brand {
  margin: 0 auto 20px;
  line-height: 0;
  display: flex;
  justify-content: center;
}
.hero__logo {
  width: clamp(160px, 28vw, 220px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.45));
  animation: heroLogoIn 0.8s ease-out;
}
@keyframes heroLogoIn {
  from { opacity: 0; transform: scale(0.85) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.hero__text {
  font-size: clamp(16px, 3vw, 22px);
  margin-bottom: 36px;
  opacity: 0.9;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ===== About ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about__text p { margin-bottom: 16px; color: var(--text-muted); }
.about__features { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature__icon { font-size: 28px; flex-shrink: 0; }
.feature strong { display: block; margin-bottom: 4px; color: var(--black); }
.feature p { font-size: 14px; margin: 0; }

.about__image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about__image--clickable {
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.about__image--clickable:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 56px rgba(0, 0, 0, 0.16);
}
.about__image--clickable:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
.about__image img { width: 100%; }
.about__image-hint {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.about__image--clickable:hover .about__image-hint,
.about__image--clickable:focus-visible .about__image-hint { opacity: 1; }

/* ===== Menu ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.menu-card:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}
.menu-card__img {
  height: 200px;
  background-color: #2C1810;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.menu-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.menu-card:hover .menu-card__photo,
.menu-card:focus-visible .menu-card__photo {
  transform: scale(1.05);
}
.menu-card__img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.25) 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity var(--transition);
}
.menu-card:hover .menu-card__img::before,
.menu-card:focus-visible .menu-card__img::before { opacity: 1; }
.menu-card__zoom {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition);
}
.menu-card:hover .menu-card__zoom,
.menu-card:focus-visible .menu-card__zoom {
  opacity: 1;
  transform: scale(1);
}
.menu-card__emoji {
  font-size: 64px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
.menu-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.menu-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.menu-card__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--black);
  line-height: 1.3;
}
.menu-card__price {
  flex-shrink: 0;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 15px;
  padding: 4px 12px;
  border-radius: 50px;
  white-space: nowrap;
}
.menu-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  flex: 1;
}
.menu-card__weight {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  opacity: 0.7;
}
.menu-card__hint {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  opacity: 0;
  transition: opacity var(--transition);
}
.menu-card:hover .menu-card__hint,
.menu-card:focus-visible .menu-card__hint { opacity: 1; }

.menu-extras, .menu-drinks { max-width: 600px; margin: 0 auto; }
.menu-drinks { margin-top: 32px; }
.menu-extras__title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--black);
}
.menu-extras__list { display: flex; flex-direction: column; gap: 12px; }
.menu-extra {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-weight: 500;
}
.menu-extra small { color: var(--text-muted); font-weight: 400; }
.menu-extra .price {
  font-weight: 700;
  color: var(--orange-dark);
}

/* ===== Delivery ===== */
.delivery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.delivery__list {
  list-style: none;
  margin: 24px 0;
}
.delivery__list li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  font-size: 16px;
}
.delivery__list strong { color: var(--black); }
.delivery__list span { color: var(--orange-dark); font-weight: 600; }

.delivery__promo {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--orange-light);
  border-left: 4px solid var(--orange);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 20px;
}
.delivery__promo-icon { font-size: 32px; }
.delivery__promo p { margin: 0; font-size: 15px; }
.delivery__note {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.schedule {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.schedule h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--black);
}
.schedule__table { width: 100%; border-collapse: collapse; }
.schedule__table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;
}
.schedule__table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--black);
}
.schedule__closed td { color: var(--text-muted); opacity: 0.6; }
.schedule__closed td:last-child { color: #c0392b; font-weight: 600; opacity: 1; }
.schedule__hint {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Contacts ===== */
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contacts__address {
  font-size: 18px;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 24px;
}
.contacts__phone {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--orange);
  margin-bottom: 24px;
  transition: color var(--transition);
}
.contacts__phone:hover { color: var(--orange-dark); }
.contacts__links { display: flex; gap: 20px; }
.contacts__link {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.contacts__link:hover { color: var(--orange); }
.contacts__map {
  height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ===== Footer ===== */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
  text-align: center;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer__slogan { font-size: 15px; }
.footer__phone {
  font-weight: 700;
  font-size: 18px;
  color: var(--orange);
  margin: 8px 0;
}
.footer__copy { font-size: 13px; opacity: 0.5; margin-top: 8px; }

/* ===== FAB ===== */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(232, 148, 58, 0.5);
  transition: var(--transition);
}
.fab svg { width: 24px; height: 24px; }
.fab:hover {
  background: var(--orange-dark);
  transform: scale(1.08);
}

/* ===== Modal (dish view) ===== */
.modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal--open,
.lightbox--open {
  opacity: 1;
  visibility: visible;
}
.modal__backdrop,
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}
.modal__dialog {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s ease;
}
.modal--open .modal__dialog {
  transform: translateY(0) scale(1);
}
.modal__close,
.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.modal__close:hover,
.lightbox__close:hover {
  background: var(--orange);
  color: var(--white);
}
.modal__image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  background-color: #2C1810;
  border-radius: var(--radius) var(--radius) 0 0;
}
.modal__body { padding: 24px; }
.modal__title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--black);
  margin-bottom: 12px;
  padding-right: 40px;
}
.modal__desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.modal__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.modal__weight {
  font-size: 14px;
  color: var(--text-muted);
}
.modal__price {
  font-size: 24px;
  font-weight: 700;
  color: var(--orange-dark);
}
.modal__order {
  width: 100%;
}

/* ===== Lightbox (full menu) ===== */
.lightbox__close {
  top: 20px;
  right: 20px;
  position: fixed;
}
.lightbox__img {
  position: relative;
  z-index: 1;
  max-width: 95vw;
  max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.lightbox--open .lightbox__img {
  transform: scale(1);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about__grid,
  .delivery__grid,
  .contacts__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__image { order: -1; max-width: 400px; margin: 0 auto; }
  .contacts__map { height: 280px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .header__inner {
    grid-template-columns: 1fr auto 1fr;
  }
  .header__col--left { min-width: 40px; }
  .header__col--right { min-width: 40px; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .header__phone { display: none; }
  .burger { display: flex; }
  .menu-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; }
  .contacts__phone { font-size: 22px; }
}
