:root {
  --black: #080705;
  --ink: #16120c;
  --cream: #f8efd9;
  --soft-cream: #fff9eb;
  --gold: #c99d45;
  --deep-gold: #9b742d;
  --muted: #786b58;
  --line: rgba(201, 157, 69, 0.28);
  --shadow: 0 24px 70px rgba(8, 7, 5, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 72px;
  color: var(--ink);
  background: var(--soft-cream);
  font-family: "Noto Naskh Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  line-height: 1.8;
}

body.nav-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(8, 7, 5, 0.78);
  border-bottom: 1px solid rgba(201, 157, 69, 0.22);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1180px, calc(100% - 28px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--cream);
}

.brand {
  display: grid;
  line-height: 1.1;
}

.brand span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  letter-spacing: 0;
}

.brand small {
  color: rgba(248, 239, 217, 0.78);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.96rem;
}

.nav-links a {
  color: rgba(248, 239, 217, 0.86);
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--gold);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 124px 16px 72px;
  color: var(--cream);
  isolation: isolate;
}

.hero-bg,
.hero-overlay,
.pattern-hero {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -3;
  background:
    url("assets/images/hero-pastilla.webp") center/cover no-repeat;
  transform: scale(1.04);
  animation: heroBreath 18s ease-in-out infinite alternate;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 7, 5, 0.92), rgba(8, 7, 5, 0.58) 52%, rgba(8, 7, 5, 0.24)),
    linear-gradient(0deg, rgba(8, 7, 5, 0.88), transparent 36%);
}

.pattern {
  background-image:
    linear-gradient(45deg, rgba(201, 157, 69, 0.16) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(201, 157, 69, 0.16) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(201, 157, 69, 0.16) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(201, 157, 69, 0.16) 75%);
  background-size: 34px 34px;
  background-position: 0 0, 0 17px, 17px -17px, -17px 0;
}

.pattern-hero {
  z-index: -1;
  opacity: 0.22;
  mask-image: linear-gradient(90deg, #000, transparent 62%);
}

.hero-content {
  width: min(760px, 100%);
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.hero h2,
.section h2 {
  margin: 0;
  line-height: 1.22;
}

.hero h1 {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.8rem);
  font-weight: 700;
}

.hero h2 {
  margin-top: 10px;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
}

.hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px auto 0;
  color: rgba(248, 239, 217, 0.88);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn,
.dish-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover,
.dish-link:hover {
  transform: translateY(-2px);
}

.btn-primary,
.dish-link {
  color: var(--black);
  background: linear-gradient(135deg, #f1d184, var(--gold) 48%, #ac7e2d);
  box-shadow: 0 16px 36px rgba(201, 157, 69, 0.26);
}

.btn-secondary {
  color: var(--cream);
  border-color: rgba(248, 239, 217, 0.42);
  background: rgba(248, 239, 217, 0.08);
}

.section {
  position: relative;
  padding: 86px 0;
}

.section-heading {
  max-width: 660px;
  margin: 0 auto 42px;
  text-align: center;
}

.section h2 {
  color: var(--black);
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading p:not(.eyebrow),
.section-copy p:not(.eyebrow),
.contact-inner p {
  color: var(--muted);
  font-size: 1.06rem;
}

.two-column {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about {
  background: var(--cream);
}

.about-panel {
  position: relative;
  min-height: 340px;
  display: grid;
  place-content: center;
  gap: 16px;
  overflow: hidden;
  color: var(--cream);
  background: var(--black);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-panel .pattern {
  position: absolute;
  inset: 0;
  opacity: 0.38;
}

.about-panel span {
  position: relative;
  width: 220px;
  padding: 14px 18px;
  border: 1px solid rgba(201, 157, 69, 0.42);
  background: rgba(248, 239, 217, 0.06);
  color: var(--gold);
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
}

.menu {
  background:
    linear-gradient(rgba(255, 249, 235, 0.96), rgba(255, 249, 235, 0.96)),
    radial-gradient(circle at 20% 20%, rgba(201, 157, 69, 0.2), transparent 30%);
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.dish-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: #fffdf5;
  border: 1px solid rgba(201, 157, 69, 0.32);
  box-shadow: 0 18px 44px rgba(8, 7, 5, 0.1);
}

.dish-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.dish-card div {
  display: grid;
  align-content: start;
  padding: 22px;
}

.dish-card h3 {
  margin: 0 0 10px;
  color: var(--black);
  font-size: 1.32rem;
}

.dish-card p {
  margin: 0 0 20px;
  color: var(--muted);
}

.dish-link {
  width: 100%;
  margin-top: auto;
}

.services,
.testimonials {
  color: var(--cream);
  background: var(--black);
}

.services .section h2,
.services h2,
.testimonials h2 {
  color: var(--cream);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.service-item {
  min-height: 106px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid rgba(201, 157, 69, 0.36);
  background: rgba(248, 239, 217, 0.05);
  color: var(--gold);
  text-align: center;
  font-size: 1.12rem;
  font-weight: 800;
}

.gallery {
  background: var(--cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--black);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

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

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 14px 14px;
  padding: 8px 14px;
  color: var(--cream);
  background: rgba(8, 7, 5, 0.72);
  border: 1px solid rgba(201, 157, 69, 0.36);
  font-weight: 800;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.testimonial {
  margin: 0;
  padding: 28px;
  border: 1px solid rgba(201, 157, 69, 0.34);
  background: rgba(248, 239, 217, 0.06);
}

.testimonial p {
  margin: 0 0 18px;
  color: rgba(248, 239, 217, 0.84);
}

.testimonial cite {
  color: var(--gold);
  font-style: normal;
  font-weight: 800;
}

.contact {
  background:
    linear-gradient(rgba(8, 7, 5, 0.84), rgba(8, 7, 5, 0.84)),
    url("assets/images/contact-lamb-prunes.webp") center/cover no-repeat;
  color: var(--cream);
}

.contact-inner {
  max-width: 760px;
  text-align: center;
}

.contact h2 {
  color: var(--cream);
}

.contact-inner p {
  color: rgba(248, 239, 217, 0.86);
}

.footer {
  padding: 28px 0;
  color: rgba(248, 239, 217, 0.78);
  background: #050403;
  border-top: 1px solid rgba(201, 157, 69, 0.22);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer strong {
  display: block;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.footer span,
.footer p,
.footer a {
  margin: 0;
  font-size: 0.94rem;
}

.footer a {
  color: var(--cream);
}

.floating-whatsapp {
  position: fixed;
  z-index: 999;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 52px;
  padding: 12px 18px;
  color: #062f18;
  background: #28d46d;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(8, 7, 5, 0.28);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes heroBreath {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

@media (max-width: 1180px) {
  .dish-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 74px 0 auto;
    display: grid;
    gap: 0;
    padding: 14px 18px 22px;
    background: rgba(8, 7, 5, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(201, 157, 69, 0.14);
  }

  body.nav-open .nav-links {
    transform: translateY(0);
  }

  .hero {
    min-height: 88vh;
    align-items: end;
    padding-bottom: 56px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(8, 7, 5, 0.94), rgba(8, 7, 5, 0.42) 72%),
      linear-gradient(90deg, rgba(8, 7, 5, 0.86), rgba(8, 7, 5, 0.18));
  }

  .section {
    padding: 66px 0;
  }

  .two-column,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 560px) {
  body {
    padding-bottom: 96px;
  }

  .container {
    width: min(100% - 24px, 1120px);
  }

  .nav {
    width: min(100% - 20px, 1180px);
    min-height: 68px;
  }

  .nav-links {
    inset-block-start: 68px;
  }

  .brand span {
    font-size: 1.18rem;
  }

  .hero {
    min-height: 86vh;
    padding-top: 104px;
  }

  .hero-actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .menu .section-heading {
    margin-bottom: 30px;
  }

  .menu .section-heading h2 {
    font-size: 1.85rem;
    line-height: 1.35;
  }

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

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 20px;
    min-width: auto;
    min-height: 0;
    padding: 12px 18px;
    border-radius: 50px;
    z-index: 999;
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
