:root {
  --cream: #faf6f0;
  --sand: #f0e8dc;
  --cedar: #1e4d2b;
  --cedar-light: #2d6a3e;
  --cedar-dark: #143d22;
  --lemon: #e8c547;
  --lemon-light: #f5dfa0;
  --terracotta: #b85c38;
  --wine: #722f37;
  --text: #2a241c;
  --text-muted: #6b5f52;
  --white: #fffcf7;
  --shadow: 0 8px 32px rgba(30, 77, 43, 0.1);
  --shadow-lg: 0 20px 50px rgba(30, 77, 43, 0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: "Amiri", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.bg-pattern {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(232, 197, 71, 0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 80%, rgba(30, 77, 43, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--white) 0%, var(--sand) 100%);
  z-index: -2;
}

.mosaic {
  display: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(30, 77, 43, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
  padding: 4px 0;
}

.logo-img {
  height: 72px;
  width: auto;
  max-width: 200px;
  display: block;
}

.logo-img-footer {
  height: 88px;
  margin: 0 auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--cedar); }

.nav-cta {
  padding: 9px 18px;
  background: var(--cedar);
  color: var(--white) !important;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--cedar-dark);
  color: var(--white) !important;
}

.nav-whatsapp {
  background: #25d366 !important;
}

.nav-whatsapp:hover {
  background: #1da851 !important;
}

/* Hero background carousel */
.hero-banner {
  position: relative;
  overflow: hidden;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.carousel-track {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide.is-entering {
  z-index: 2;
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-slide.fit-blur {
  background: #1a3322;
}

.carousel-slide.fit-blur img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.carousel-slide.fit-blur .slide-bg {
  object-fit: cover;
  object-position: center;
  transform: scale(1.15);
  filter: blur(26px) brightness(0.85);
}

.carousel-slide.fit-blur .slide-fg {
  object-fit: contain;
  object-position: var(--img-pos, center);
}

.hero-carousel-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(20, 61, 34, 0.5) 0%,
    rgba(20, 61, 34, 0.3) 40%,
    rgba(250, 246, 240, 0.72) 78%,
    rgba(250, 246, 240, 0.85) 100%
  );
  pointer-events: none;
}

.hero-over-image,
.features-over-image {
  position: relative;
  z-index: 2;
}

.hero-over-image .hero-tag {
  color: var(--lemon-light);
}

.hero-over-image h1,
.hero-over-image h1 em {
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-over-image .hero-sub {
  color: rgba(255, 252, 247, 0.92);
}

.hero-over-image .highlight-pill {
  background: rgba(255, 252, 247, 0.18);
  border-color: rgba(255, 252, 247, 0.35);
  color: var(--white);
  backdrop-filter: blur(4px);
}

.btn-ghost-light {
  background: rgba(255, 252, 247, 0.15);
  border: 1px solid rgba(255, 252, 247, 0.45);
  color: var(--white) !important;
  backdrop-filter: blur(4px);
}

.btn-ghost-light:hover {
  background: rgba(255, 252, 247, 0.28);
  color: var(--white) !important;
}

.features-over-image .feature-card {
  background: rgba(255, 252, 247, 0.95);
  backdrop-filter: blur(8px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: #25d366;
  color: var(--white) !important;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-whatsapp:hover {
  background: #1da851;
  color: var(--white) !important;
}

/* Hero */
.hero {
  position: relative;
  padding: 90px 0 70px;
  text-align: center;
}

.hero-frame {
  position: absolute;
  inset: 20px 40px auto;
  height: 280px;
  border: 2px solid rgba(232, 197, 71, 0.35);
  border-radius: var(--radius);
  pointer-events: none;
}

.hero-tag {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
  font-weight: 600;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 18px;
  color: var(--cedar-dark);
}

.hero h1 em {
  font-style: italic;
  color: var(--cedar);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  font-weight: 300;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.highlight-pill {
  padding: 7px 14px;
  background: rgba(30, 77, 43, 0.08);
  border: 1px solid rgba(30, 77, 43, 0.15);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--cedar);
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cedar) 0%, var(--cedar-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(30, 77, 43, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(30, 77, 43, 0.32);
}

.btn-ghost {
  background: transparent;
  color: var(--cedar);
  border: 2px solid rgba(30, 77, 43, 0.25);
}

.btn-ghost:hover {
  border-color: var(--cedar);
  background: rgba(30, 77, 43, 0.05);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lemon);
  background: var(--cedar);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 14px;
  font-weight: 600;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--cedar-dark);
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 16px;
}

.menu-link-btn {
  margin-top: 8px;
}

/* Features */
.features-section {
  padding: 20px 0 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 77, 43, 0.1);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cedar), var(--lemon));
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--cedar-dark);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-note {
  margin-top: 16px;
  align-self: stretch;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(184, 92, 56, 0.08);
  border: 1px solid rgba(184, 92, 56, 0.22);
}

.feature-note-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.feature-note-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--terracotta);
  border-radius: 50%;
  color: var(--terracotta);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  line-height: 1;
}

.feature-note-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--terracotta);
}

.feature-note-text {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Menu */
.menu-section {
  padding: 70px 0;
  background: rgba(255, 252, 247, 0.6);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.menu-category {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(30, 77, 43, 0.1);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.menu-category-header {
  background: linear-gradient(135deg, var(--cedar) 0%, var(--cedar-light) 100%);
  color: var(--white);
  padding: 16px 22px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.menu-items { padding: 8px 0; }

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(30, 77, 43, 0.06);
}

.menu-item:last-child { border-bottom: none; }

.menu-item-info h4 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.menu-item-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.menu-item-price {
  font-weight: 600;
  color: var(--terracotta);
  white-space: nowrap;
  font-size: 0.9rem;
}

/* Reviews */
.reviews-section {
  padding: 70px 0;
  background: var(--sand);
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 20px;
  background: var(--white);
  border-radius: 999px;
  border: 1px solid rgba(30, 77, 43, 0.12);
}

.rating-badge .stars {
  color: var(--lemon);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.rating-badge span:last-child {
  font-weight: 500;
  color: var(--cedar);
  font-size: 0.9rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.review-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(30, 77, 43, 0.08);
  box-shadow: var(--shadow);
  position: relative;
}

.review-card::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--lemon);
  opacity: 0.4;
  position: absolute;
  top: 0;
  left: 16px;
  line-height: 1;
}

.review-card p {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 14px;
  padding-top: 20px;
  font-style: italic;
}

.review-source {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.reviews-cta { text-align: center; }

/* Location */
.location-section {
  padding: 70px 0 90px;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.location-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cedar-dark);
  margin-bottom: 14px;
}

.location-info > p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-list {
  list-style: none;
  margin-bottom: 28px;
}

.contact-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(30, 77, 43, 0.08);
  font-size: 0.95rem;
}

.contact-list a {
  color: var(--cedar);
  text-decoration: none;
  word-break: break-word;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-list a:hover { text-decoration: underline; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(232, 197, 71, 0.4);
  min-height: 320px;
}

.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  background: var(--cedar-dark);
  color: rgba(255, 252, 247, 0.85);
  text-align: center;
}

.footer-inner p { font-size: 0.9rem; margin-bottom: 8px; }

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-copy { opacity: 0.7; font-size: 0.85rem !important; }

/* Utilities */

/* Compact homepage sections */
.hero-compact {
  padding: 72px 0 48px;
}

.hero-compact .hero-frame { display: none; }

.features-compact {
  padding: 16px 0 48px;
}

.section-header-compact {
  margin-bottom: 28px;
}

.reviews-compact {
  padding: 50px 0;
}

/* Language toggle */
.header-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 1;
  min-width: 0;
}

.lang-toggle {
  display: flex;
  border: 1px solid rgba(30, 77, 43, 0.25);
  border-radius: 999px;
  overflow: hidden;
}

.lang-btn {
  padding: 6px 12px;
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
}

.lang-btn.active {
  background: var(--cedar);
  color: var(--white);
}

/* Menu preview (homepage) */
.menu-preview-section {
  padding: 50px 0;
  background: rgba(255, 252, 247, 0.6);
}

.menu-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.menu-preview-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(30, 77, 43, 0.1);
  box-shadow: var(--shadow);
}

.preview-img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.preview-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sand);
  font-size: 2rem;
}

.menu-preview-info {
  padding: 12px;
}

.menu-preview-info h4 {
  font-size: 0.9rem;
  margin-bottom: 6px;
  line-height: 1.3;
}

.menu-preview-cta {
  text-align: center;
}

/* Full menu page */
.menu-page-main {
  padding: 40px 0 80px;
  min-height: 60vh;
}

.menu-tabs-wrap {
  position: sticky;
  top: 76px;
  z-index: 50;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(30, 77, 43, 0.1);
}

.menu-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.menu-tab {
  flex-shrink: 0;
  padding: 10px 18px;
  border: 1px solid rgba(30, 77, 43, 0.2);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-muted);
  white-space: nowrap;
}

.menu-tab.active {
  background: var(--cedar);
  color: var(--white);
  border-color: var(--cedar);
}

.menu-panel {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(30, 77, 43, 0.1);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.menu-item-row {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(30, 77, 43, 0.08);
  align-items: flex-start;
}

.menu-item-row:last-child {
  border-bottom: none;
}

.menu-item-img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.menu-item-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sand);
  font-size: 1.5rem;
}

.menu-item-body {
  flex: 1;
  min-width: 0;
}

.menu-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.menu-item-top h4 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.menu-item-alt {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-family: var(--font-display);
}

.item-badge {
  display: inline-block;
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  vertical-align: middle;
  margin-inline-start: 4px;
}

.item-badge.popular {
  background: rgba(232, 197, 71, 0.35);
  color: var(--cedar-dark);
}

.item-badge.new {
  background: rgba(30, 77, 43, 0.12);
  color: var(--cedar);
}

/* Mobile bottom nav */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  border-top: 1px solid rgba(30, 77, 43, 0.12);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  justify-content: space-around;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

.mobile-bottom-nav a {
  text-decoration: none;
  color: var(--cedar);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
}

/* RTL */
[dir="rtl"] body {
  font-family: var(--font-body);
}

[dir="rtl"] .hero h1,
[dir="rtl"] .section-header h2,
[dir="rtl"] .feature-card h3 {
  font-family: var(--font-display);
}

[dir="rtl"] .header-inner {
  flex-direction: row-reverse;
}

[dir="rtl"] .header-nav {
  flex-direction: row-reverse;
}

[dir="rtl"] .menu-item-top {
  flex-direction: row-reverse;
  text-align: start;
}

[dir="rtl"] .menu-item-row {
  flex-direction: row-reverse;
}

[dir="rtl"] .location-grid {
  direction: rtl;
}

[dir="rtl"] .contact-list {
  text-align: start;
}

@media (max-width: 768px) {
  .hero-banner { background: var(--cream); }
  .hero-carousel { height: 55vh; bottom: auto; }
  .hero.hero-compact { padding: 0; }
  .hero-content { padding: 0; }
  .hero-lead {
    min-height: 55vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
  }
  .hero-rest { padding: 26px 20px 4px; }
  .hero-rest .hero-sub { color: var(--text-muted); }
  .hero-rest .btn-ghost-light {
    background: rgba(30, 77, 43, 0.06);
    border-color: rgba(30, 77, 43, 0.25);
    color: var(--cedar) !important;
  }
  .hero-rest .highlight-pill {
    background: rgba(30, 77, 43, 0.08);
    border-color: rgba(30, 77, 43, 0.15);
    color: var(--cedar);
  }
  .logo-img { height: 56px; max-width: 160px; }
  .header-inner { height: 80px; }
  .location-grid { grid-template-columns: 1fr; }
  .location-actions { flex-direction: column; }
  .location-actions .btn { width: 100%; text-align: center; }
  .header-nav .nav-link:not(.nav-cta) { display: none; }
  .header-nav { gap: 10px; }
  .nav-cta { padding: 8px 14px; font-size: 0.85rem; }
  .mobile-bottom-nav { display: flex; }
  .mobile-bottom-nav .mobile-whatsapp { color: #25d366; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .menu-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-item-img { width: 56px; height: 56px; }
  .container { padding: 0 16px; }
  .feature-card { padding: 24px 20px; }
}

@media (min-width: 769px) {
  .header-nav .nav-link { display: inline; }
}
