:root {
  --bg: #f6efe7;
  --surface: rgba(255, 250, 245, 0.9);
  --surface-strong: #fffaf5;
  --terracotta: #a86339;
  --terracotta-deep: #8a4f2d;
  --brown: #6e472f;
  --brown-deep: #432819;
  --sage: #71856d;
  --gold: #e4aa56;
  --line: rgba(86, 55, 34, 0.12);
  --shadow: 0 20px 50px rgba(67, 40, 25, 0.12);
  --shadow-soft: 0 12px 30px rgba(67, 40, 25, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--brown-deep);
  background:
    radial-gradient(circle at 0% 0%, rgba(228, 170, 86, 0.18), transparent 24%),
    radial-gradient(circle at 100% 10%, rgba(113, 133, 109, 0.15), transparent 20%),
    linear-gradient(180deg, #f8f2eb 0%, #f4ece3 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(110, 71, 47, 0.05) 0.7px, transparent 0.7px);
  background-size: 16px 16px;
  opacity: 0.35;
  z-index: -1;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 2.25rem 0;
  scroll-margin-top: 6rem;
}

.section-heading {
  max-width: 100%;
  margin-bottom: 1.5rem;
}

.section-heading-compact {
  margin-bottom: 1rem;
}

.section-heading-compact .eyebrow {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(168, 99, 57, 0.2);
  background: rgba(255, 250, 245, 0.7);
  color: var(--terracotta-deep);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(228, 170, 86, 0.14);
}

h1,
h2 {
  margin: 0 0 0.9rem;
  font-family: "Kalam", "Segoe Print", "Bradley Hand", cursive;
  font-weight: 700;
  line-height: 1.08;
  color: var(--brown-deep);
  letter-spacing: 0.01em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 16ch;
}

h3 {
  margin: 0 0 0.7rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brown-deep);
}

p {
  margin: 0;
  color: rgba(67, 40, 25, 0.84);
}

.muted {
  color: rgba(67, 40, 25, 0.68);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.8rem 0;
  background: rgba(248, 242, 235, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(67, 40, 25, 0.08);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  padding: 0.25rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 238, 229, 0.9));
  box-shadow: inset 0 0 0 1px rgba(67, 40, 25, 0.08);
}

.brand-copy {
  min-width: 0;
}

.brand-copy strong {
  display: block;
  font-size: 1rem;
  line-height: 1.2;
}

.brand-copy span {
  display: block;
  font-size: 0.88rem;
  color: rgba(67, 40, 25, 0.62);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav a {
  position: relative;
  font-size: 0.96rem;
  font-weight: 700;
  color: rgba(67, 40, 25, 0.76);
  transition: color 160ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--brown-deep);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 250, 245, 0.96);
  border: 1px solid rgba(67, 40, 25, 0.1);
  box-shadow: var(--shadow-soft);
}

.lang-btn {
  border: 0;
  padding: 0.58rem 0.85rem;
  border-radius: var(--radius-pill);
  background: transparent;
  color: rgba(67, 40, 25, 0.74);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 160ms ease;
}

.lang-btn.active {
  background: var(--terracotta);
  color: white;
  box-shadow: 0 10px 18px rgba(168, 99, 57, 0.24);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.88rem 1.2rem;
  border-radius: var(--radius-pill);
  border: 0;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--terracotta);
  color: white;
  box-shadow: 0 16px 26px rgba(168, 99, 57, 0.2);
}

.btn-secondary {
  background: rgba(255, 250, 245, 0.96);
  color: var(--brown-deep);
  border: 1px solid rgba(67, 40, 25, 0.1);
  box-shadow: var(--shadow-soft);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(67, 40, 25, 0.1);
  border-radius: 16px;
  background: rgba(255, 250, 245, 0.96);
  color: var(--brown-deep);
  box-shadow: var(--shadow-soft);
  font-size: 1.15rem;
}

.hero {
  padding: 2rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy p {
  max-width: 60ch;
  font-size: 1.03rem;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #e7d8cb;
  box-shadow: var(--shadow);
  border: 1px solid rgba(67, 40, 25, 0.08);
}

.hero-card img {
  width: 100%;
  height: auto;
  display: block;
}

.panel,
.menu-shell,
.detail-card,
.form-card,
.location-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: stretch;
}

.about-photo,
.about-panel {
  min-height: 520px;
}

.about-photo {
  position: relative;
  min-height: 520px;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(111, 71, 44, 0.1);
  background: #f3e8d8;
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.about-copy,
.about-panel {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-panel {
  padding: 2rem;
  height: 100%;
}

.about-panel h2,
.section-heading h2 {
  max-width: none;
  text-wrap: balance;
}

.about-panel p + p {
  margin-top: 1rem;
}

#about .section-heading-compact {
  margin-bottom: 1.25rem;
}

.menu-shell {
  padding: 1.1rem;
}

.menu-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.filter-btn {
  border: 1px solid rgba(67, 40, 25, 0.1);
  background: rgba(255, 250, 245, 0.9);
  color: rgba(67, 40, 25, 0.76);
  border-radius: var(--radius-pill);
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  font-weight: 800;
  transition: all 160ms ease;
}

.filter-btn.active {
  background: var(--brown-deep);
  color: white;
  border-color: transparent;
  box-shadow: 0 14px 24px rgba(67, 40, 25, 0.22);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.menu-card {
  padding: 1.2rem;
  background: rgba(255, 250, 245, 0.78);
  border-radius: 22px;
  border: 1px solid rgba(67, 40, 25, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.menu-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.menu-head strong {
  font-size: 1.05rem;
  line-height: 1.3;
}

.price {
  font-weight: 800;
  color: var(--terracotta-deep);
  white-space: nowrap;
}

.meta-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.meta-pill,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(228, 170, 86, 0.12);
  color: var(--brown-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

.tag {
  background: rgba(113, 133, 109, 0.11);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  min-height: 260px;
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #dac7b6;
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 15, 10, 0.04), rgba(20, 15, 10, 0.3));
  transition: opacity 220ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 0.72;
}

.gallery-grid > *:nth-child(1) {
  grid-column: span 5;
  min-height: 390px;
}

.gallery-grid > *:nth-child(2) {
  grid-column: span 4;
  min-height: 390px;
}

.gallery-grid > *:nth-child(3) {
  grid-column: span 3;
  min-height: 390px;
}

.gallery-grid > *:nth-child(4) {
  grid-column: span 4;
  min-height: 320px;
}

.gallery-grid > *:nth-child(5) {
  grid-column: span 3;
  min-height: 320px;
}

.gallery-grid > *:nth-child(6) {
  grid-column: span 5;
  min-height: 320px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
}

.detail-card,
.form-card {
  padding: 1.5rem;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.95rem;
}

.detail-item {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 250, 245, 0.8);
  border: 1px solid rgba(67, 40, 25, 0.08);
}

.detail-label {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--terracotta-deep);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
  margin-top: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.92rem;
  font-weight: 800;
  color: rgba(67, 40, 25, 0.8);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(67, 40, 25, 0.12);
  background: rgba(255, 250, 245, 0.9);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  color: var(--brown-deep);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
textarea:focus {
  border-color: rgba(168, 99, 57, 0.45);
  box-shadow: 0 0 0 4px rgba(168, 99, 57, 0.12);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.helper {
  max-width: 44ch;
  color: rgba(67, 40, 25, 0.68);
  font-size: 0.92rem;
}

.map-embed-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(67, 40, 25, 0.1);
}

.footer {
  padding: 1.5rem 0 2.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(67, 40, 25, 0.1);
  color: rgba(67, 40, 25, 0.68);
  font-size: 0.95rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(20, 15, 10, 0.76);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms ease;
  z-index: 100;
}

.modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-inner {
  position: relative;
  width: min(980px, 100%);
  border-radius: 26px;
  overflow: hidden;
  background: #120f0d;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

.modal-inner img {
  width: 100%;
  max-height: 82vh;
  object-fit: cover;
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brown-deep);
  font-size: 1.3rem;
  font-weight: 800;
  z-index: 1;
}

@media (max-width: 1080px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-photo,
  .about-panel {
    min-height: auto;
  }

  .about-photo {
    height: auto;
  }

  .about-photo img {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

  h1,
  h2 {
    max-width: none;
  }
}

@media (max-width: 860px) {
  .header-bar {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 3;
  }

  .nav {
    display: none;
    width: 100%;
    order: 5;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 250, 245, 0.97);
    border: 1px solid rgba(67, 40, 25, 0.08);
    box-shadow: var(--shadow-soft);
  }

  .nav.open {
    display: flex;
  }

  .header-actions {
    order: 4;
    width: 100%;
    justify-content: space-between;
  }

  .desktop-cta {
    flex: 1 1 auto;
  }

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

@media (max-width: 720px) {
  .section {
    padding: 1.75rem 0;
  }

  .hero {
    padding: 1.4rem 0 2.4rem;
  }

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

  .gallery-grid > * {
    grid-column: auto !important;
    min-height: 240px !important;
  }

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

  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lang-switch {
    justify-content: center;
  }

  .footer-inner,
  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    width: 60px;
    height: 60px;
  }
}

.res-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 15, 10, 0.55);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.res-popup.open {
  display: flex;
}

.res-popup-inner {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.res-popup-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.res-popup-icon.success {
  background: rgba(100, 160, 100, 0.15);
  color: #4a8c4a;
  border: 2px solid rgba(100, 160, 100, 0.3);
}

.res-popup-icon.error {
  background: rgba(190, 80, 60, 0.12);
  color: #b84030;
  border: 2px solid rgba(190, 80, 60, 0.25);
}

.res-popup-inner p {
  font-size: 1rem;
  color: var(--brown-deep);
  max-width: 32ch;
  line-height: 1.55;
}
