/* ---------- Design tokens ---------- */
:root {
  --bg: #fbf6ee;
  --bg-alt: #efe6d6;
  --ink: #1a140f;
  --ink-soft: #5a4a3e;
  --muted: #8a7a6c;
  --line: #e4d8c4;
  --brand: #b8451f;        /* terracotta intensa */
  --brand-deep: #7a2a10;
  --accent: #e8a838;        /* mostaza cálida */
  --accent-2: #2f5d4a;      /* verde olivo profundo */
  --cream: #f8ecd4;
  --card: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(31,26,23,.06), 0 6px 16px rgba(31,26,23,.05);
  --shadow-md: 0 14px 36px -14px rgba(31,26,23,.28);
  --shadow-lg: 0 30px 60px -20px rgba(122,42,16,.25);
  --maxw: 1160px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --gradient-warm: linear-gradient(135deg, #fbf6ee 0%, #f8ecd4 60%, #efe6d6 100%);
}
body { background: var(--gradient-warm); background-attachment: fixed; }

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: 12px; font-weight: 600; color: var(--brand);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-deep); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--bg-alt); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__mark { font-family: 'Fraunces', serif; font-size: 24px; font-weight: 700; }
.brand__sub { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.nav__links a:hover { color: var(--brand); }
@media (max-width: 640px) { .nav__links { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 60px 0 80px; }
.hero__grid {
  display: grid; grid-template-columns: 1.35fr .65fr;
  gap: 48px; align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--brand); }
.lead { font-size: 18px; color: var(--ink-soft); max-width: 52ch; margin-bottom: 28px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__meta { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.hero__meta strong { color: var(--ink); margin-right: 4px; }

.hero__media { position: relative; max-width: 360px; justify-self: end; width: 100%; }
.hero__media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.hero__badge {
  position: absolute; bottom: 14px; left: 14px;
  background: var(--card); padding: 8px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600; box-shadow: var(--shadow-sm);
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero { padding: 28px 0 44px; }
  .hero__media { max-width: 280px; justify-self: center; }
  .hero__cta { justify-content: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero__meta { align-items: center; }
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(28px, 3.5vw, 40px); }
.section__cta { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Menu cards ---------- */
.menu-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 860px) { .menu-grid { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border-radius: var(--radius-lg);
  padding: 20px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__img {
  aspect-ratio: 4/3; border-radius: var(--radius); margin-bottom: 18px;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card__img--1 { background-image: linear-gradient(135deg, #c0532b, #f4c25b); }
.card__img--2 { background-image: linear-gradient(135deg, #8f3b1c, #c0532b); }
.card__img--3 { background-image: linear-gradient(135deg, #f4c25b, #e9a23e); }
.card h3 { font-size: 22px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; margin-bottom: 14px; }
.price { display: inline-block; font-weight: 600; color: var(--brand-deep); font-size: 14px; }

/* ---------- Carousel ---------- */
.carousel { position: relative; max-width: 880px; margin: 0 auto; padding: 0 64px; }
.carousel__viewport { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.carousel__track {
  display: flex; transition: transform .5s var(--ease);
  will-change: transform;
}
.review {
  flex: 0 0 100%; padding: 44px clamp(24px, 5vw, 56px);
  background: var(--card); text-align: center;
  border-top: 3px solid var(--accent);
}
.stars { color: var(--accent); font-size: 20px; letter-spacing: 4px; margin-bottom: 16px; }
.review p {
  font-family: 'Fraunces', serif; font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45; color: var(--ink); margin-bottom: 18px;
}
.review footer { font-size: 13px; color: var(--muted); }
.review footer strong { color: var(--ink); }

.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--card); box-shadow: var(--shadow-md);
  font-size: 24px; line-height: 1; color: var(--ink);
  display: grid; place-items: center; z-index: 3;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.carousel__btn:hover { background: var(--brand); color: #fff; }
.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }
@media (max-width: 640px) {
  .carousel { padding: 0; }
  .carousel__btn { width: 38px; height: 38px; font-size: 20px; top: auto; bottom: -56px; transform: none; }
  .carousel__btn--prev { left: calc(50% - 52px); }
  .carousel__btn--next { right: calc(50% - 52px); }
  .carousel__dots { margin-top: 68px !important; }
}

.carousel__dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.carousel__dots button {
  width: 8px; height: 8px; border-radius: 999px; background: var(--line);
  transition: background .2s var(--ease), width .2s var(--ease);
}
.carousel__dots button.is-active { background: var(--brand); width: 24px; }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }
.visit h2 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 24px; }
.visit__info { display: grid; gap: 18px; margin-bottom: 28px; }
.visit__info li { font-size: 15px; color: var(--ink-soft); }
.visit__info strong { color: var(--ink); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.visit__info a { color: var(--brand); }
.visit__info a:hover { text-decoration: underline; }
.visit__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.visit__map {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--shadow-md);
}
.visit__map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #cfc6bd; padding: 32px 0; }
.footer__inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.footer__small { color: var(--muted); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
