@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Fraunces-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Inter-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/Inter-SemiBold.woff2") format("woff2");
}

:root {
  --green-900: #14301f;
  --green-700: #1f5138;
  --green-600: #2c6b49;
  --cream: #f6f1e0;
  --cream-alt: #efe8d2;
  --cream-card: #fffdf6;
  --line: #e3dcc4;
  --ink: #1b2a20;
  --ink-soft: #5a6455;
  --gold: #c69a2e;
  --gold-soft: rgba(198, 154, 46, 0.16);
  --shadow: 0 12px 28px -14px rgba(20, 48, 31, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}

.num {
  font-variant-numeric: tabular-nums;
}

a {
  color: inherit;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--green-900);
  color: var(--cream);
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 24px 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
}

.brand-tag {
  font-size: 0.8rem;
  color: #cfe0d1;
}

.contact-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.contact-links a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-900);
  background: var(--gold);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.contact-links a:hover,
.contact-links a:focus-visible {
  background: #dcb04a;
}

.site-nav {
  display: flex;
  gap: 4px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.site-nav a {
  flex: none;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e3ecdf;
  padding: 7px 13px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(246, 241, 224, 0.14);
  color: #fff;
}

/* ---------- shared section layout ---------- */

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 24px;
}

.eyebrow {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.menu-section {
  scroll-margin-top: 108px;
}

.menu-section h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 6px;
  color: var(--green-900);
}

.section-note {
  margin: 0 0 22px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.menu-section.alt {
  background: var(--cream-alt);
}

/* ---------- promotions ---------- */

.promo-section {
  scroll-margin-top: 108px;
  background: var(--green-900);
  color: var(--cream);
}

.promo-section .eyebrow {
  color: var(--gold);
}

.promo-section h2 {
  color: var(--cream);
  margin-bottom: 24px;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.promo-card {
  background: rgba(246, 241, 224, 0.06);
  border: 1px solid rgba(198, 154, 46, 0.35);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.promo-photo {
  aspect-ratio: 16 / 9;
}

.promo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.promo-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.promo-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-900);
  background: var(--gold);
  padding: 3px 10px;
  border-radius: 999px;
}

.promo-card h3 {
  font-size: 1.2rem;
  color: var(--cream);
}

.promo-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #cfe0d1;
  line-height: 1.5;
}

/* ---------- dish grid (photo cards) ---------- */

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

.dish-card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.dish-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--cream-alt);
}

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

.dish-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.8rem;
  text-align: center;
  padding: 12px;
}

.dish-price {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--green-900);
  color: var(--cream);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 4px 12px;
  border-radius: 999px;
}

.dish-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.dish-body h3 {
  font-size: 1rem;
  color: var(--ink);
}

.dish-body p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- list rows (bocadillos, batidos, raciones, etc.) ---------- */

.strip-photos {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.strip-photos img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.list-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.list-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.list-row:last-child {
  border-bottom: none;
}

.list-row-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.list-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.list-desc {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.list-leader {
  flex: 1;
  border-bottom: 2px dotted var(--line);
  transform: translateY(-4px);
}

.list-price {
  font-weight: 600;
  color: var(--green-700);
  font-size: 0.95rem;
  white-space: nowrap;
}

/* dual-price rows (bocadillos y montados) */

.list-rows-dual .list-row-dual,
.list-rows-dual .list-row-head {
  display: grid;
  grid-template-columns: 1fr 90px 90px;
  gap: 10px;
  align-items: baseline;
}

.list-rows-dual .list-price {
  text-align: right;
}

.list-row-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
  margin-bottom: 2px;
}

.list-row-head .list-price {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---------- feature (para compartir) ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.feature-card {
  background: var(--green-900);
  color: var(--cream);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.feature-photo {
  aspect-ratio: 4 / 3;
}

.feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.feature-card h3 {
  color: var(--cream);
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.87rem;
  color: #cfe0d1;
  line-height: 1.5;
  flex: 1;
}

.feature-price {
  align-self: flex-start;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--gold);
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--green-900);
  color: #cfe0d1;
  text-align: center;
  padding: 32px 24px;
}

.site-footer p {
  margin: 0 0 6px;
  font-size: 0.88rem;
}

.footer-brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem;
  color: var(--cream);
}

.footer-note {
  font-size: 0.78rem;
}

.footer-note a {
  color: #a9c2b0;
  text-decoration: underline;
}

/* ---------- responsive ---------- */

@media (max-width: 560px) {
  .header-inner {
    padding: 14px 18px 10px;
  }

  .site-nav {
    padding: 0 18px 10px;
  }

  .section-inner {
    padding: 36px 18px;
  }

  .list-rows-dual .list-row-dual,
  .list-rows-dual .list-row-head {
    grid-template-columns: 1fr 64px 64px;
  }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
