/* ===== Tokens ===== */
:root {
  --red: #7a1f1f;
  --red-dark: #5c1616;
  --red-light: #a83232;
  --cream: #faf6f0;
  --cream-dark: #f0e8dc;
  --charcoal: #241c18;
  --brown: #4a3527;
  --text: #2b221c;
  --text-muted: #6b5d52;
  --white: #ffffff;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(36, 28, 24, 0.12);
  --container-w: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--charcoal);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(122, 31, 31, 0.35);
}
.btn-primary:hover { background: var(--red-dark); }

.btn-outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(74, 53, 39, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--charcoal);
}
.brand-text small {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}

.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36,20,16,0.55) 0%, rgba(36,20,16,0.72) 55%, rgba(20,12,10,0.9) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 90px;
  padding-bottom: 90px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: #eecbb0;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: #fff;
  margin-bottom: 18px;
}
.hero-tagline {
  font-size: 1.15rem;
  max-width: 540px;
  color: #f2e9e0;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 28px 0 30px;
}
.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: #f2e9e0;
}
.stars { color: #f0b429; letter-spacing: 2px; }

/* ===== Sections ===== */
.section {
  padding: 96px 0;
}
.section-alt { background: var(--cream-dark); }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 10px;
}
.center { text-align: center; }
.section h2.center, p.section-eyebrow.center { margin-left: auto; margin-right: auto; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.about-text p { color: var(--text-muted); }

.about-highlights {
  list-style: none;
  display: flex;
  gap: 32px;
  padding: 0;
  margin: 28px 0 0;
  flex-wrap: wrap;
}
.about-highlights li {
  display: flex;
  flex-direction: column;
}
.about-highlights strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--red);
}
.about-highlights span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

/* ===== Menu ===== */
.menu-note {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-muted);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.menu-category {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.menu-category.featured {
  background: var(--red);
  color: #fff;
}
.menu-category.featured h3 { color: #fff; }
.menu-category.featured .dish { color: #fdeee8; }
.menu-category.featured .price { color: #f0c9b8; }
.menu-category.featured .menu-items li { border-bottom-color: rgba(255,255,255,0.2); }

.menu-category h3 {
  font-size: 1.15rem;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--cream-dark);
  padding-bottom: 12px;
}

.menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(74,53,39,0.15);
  font-size: 0.92rem;
}
.menu-items li:last-child { border-bottom: none; }
.price { color: var(--text-muted); font-weight: 600; white-space: nowrap; }

.menu-price-range {
  margin-top: 40px;
  color: var(--text-muted);
}

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-note {
  margin-top: 28px;
  color: var(--text-muted);
}
.gallery-note a { color: var(--red); font-weight: 600; }

/* ===== Location ===== */
.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: stretch;
}
.info-block { margin-bottom: 26px; }
.info-block h4 {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--red);
  margin-bottom: 8px;
}
.info-block p { color: var(--text-muted); margin-bottom: 0; }
.info-block a { color: var(--text); font-weight: 600; }

.hours-table { border-collapse: collapse; width: 100%; max-width: 320px; }
.hours-table td {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(74,53,39,0.15);
  color: var(--text-muted);
}
.hours-table tr td:first-child { color: var(--text); font-weight: 600; }
.hours-table tr td:last-child { text-align: right; }

.location-map {
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.location-map iframe { width: 100%; height: 100%; min-height: 360px; }

/* ===== Reservas ===== */
.reservas {
  background: linear-gradient(160deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  text-align: center;
}
.reservas h2 { color: #fff; }
.reservas p { color: #f2ded4; max-width: 480px; margin-left: auto; margin-right: auto; }
.reservas-content { display: flex; flex-direction: column; align-items: center; }
.reservas .btn-primary {
  background: #fff;
  color: var(--red);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.reservas .btn-primary:hover { background: var(--cream); }

.social-links {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
}
.social-links a { text-decoration: underline; text-underline-offset: 3px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--charcoal);
  color: #cfc3ba;
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}
.footer-inner a { color: #f0c9b8; }
.footer-copy { margin-top: 10px; font-size: 0.8rem; color: #8c7f76; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .about-grid, .location-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .location-map { min-height: 300px; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(74,53,39,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.is-open { max-height: 320px; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
  }
  .main-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(74,53,39,0.08);
  }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .gallery-item:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .menu-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .about-highlights { gap: 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
