:root {
  --cream: #FBF5EA;
  --paper: #FFFDF8;
  --ink: #2A1C13;
  --ink-soft: #6B5646;
  --tomato: #C4452B;
  --tomato-dark: #A23721;
  --mustard: #E7A93B;
  --mustard-soft: #F6E3BC;
  --line: #E8DCC8;
  --wa: #1DA851;
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 6px; }

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

h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -.02em; }

h2 {
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.05;
  margin: .5rem 0 .75rem;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tomato);
}

section { padding: 4.5rem 0; }

.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head p { margin: 0; color: var(--ink-soft); font-size: 1.05rem; }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.3rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }

.btn-primary { background: var(--tomato); color: var(--paper); }
.btn-primary:hover { background: var(--tomato-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #178C43; }
.btn-ghost { border-color: rgba(251, 245, 234, .4); color: var(--cream); }
.btn-ghost:hover { background: rgba(251, 245, 234, .1); }

/* Encabezado */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 245, 234, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -.01em;
  text-decoration: none;
}

.brand-badge {
  padding: .2rem .45rem;
  border-radius: 6px;
  background: var(--tomato);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.nav-links { display: none; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.nav-links a { color: var(--ink-soft); font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--ink); }

@media (min-width: 860px) {
  .nav-links { display: flex; }
}

/* Portada */
.hero { padding: 3rem 0 4rem; overflow: hidden; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }

.hero h1 {
  margin: .75rem 0 1.25rem;
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -.025em;
}
.hero h1 em { color: var(--tomato); font-weight: 700; }

.lead { max-width: 34rem; margin: 0 0 2rem; color: var(--ink-soft); font-size: 1.15rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-top: 2rem;
  color: var(--ink-soft);
  font-size: .95rem;
}
.hero-meta a { text-decoration: none; }
.hero-meta a:hover { text-decoration: underline; }

.stars { color: var(--mustard); letter-spacing: .05em; }

.status { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 700; }
.status::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--ink-soft); }
.status.is-open::before { background: var(--wa); box-shadow: 0 0 0 4px rgba(29, 168, 81, .18); }
.status.is-closed::before { background: var(--tomato); }

.hero-art { width: 100%; max-width: 480px; margin-inline: auto; }

@media (min-width: 900px) {
  .hero { padding: 5rem 0 6rem; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
}

/* Lo que ofrecemos */
.highlights { padding: 0 0 4.5rem; }
.highlight-grid { display: grid; gap: 1rem; }

.highlight {
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.highlight h3 { margin: .9rem 0 .35rem; font-size: 1.3rem; }
.highlight p { margin: 0; color: var(--ink-soft); }
.highlight a { color: var(--tomato-dark); font-weight: 700; }

.highlight-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--mustard-soft);
  color: var(--tomato-dark);
}
.highlight-icon svg { width: 22px; height: 22px; }

@media (min-width: 720px) {
  .highlight-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Menú */
.menu { background: var(--paper); border-block: 1px solid var(--line); }

.tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 2rem;
  padding-bottom: .25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.tab {
  flex: none;
  padding: .65rem 1.15rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font: 700 .95rem var(--font-body);
  cursor: pointer;
}
.tab:hover { border-color: var(--ink-soft); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.menu-grid { display: grid; gap: 1.25rem; }
.menu-grid[hidden] { display: none; }

.menu-card { padding: 1.5rem 1.5rem 1.25rem; background: var(--cream); border-radius: var(--radius); }

.menu-card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .25rem 1rem;
  margin: 0 0 .5rem;
  font-size: 1.45rem;
}
.menu-card h3 small { color: var(--ink-soft); font: 500 .85rem var(--font-body); letter-spacing: 0; }
.menu-card .menu-subhead { margin-top: 1.5rem; }

.menu-list { margin: 0; padding: 0; list-style: none; }
.menu-list li { display: flex; align-items: baseline; gap: .5rem; padding: .45rem 0; }
.menu-list li span { flex: 1; display: flex; align-items: baseline; }
.menu-list li span::after {
  content: "";
  flex: 1;
  min-width: 1rem;
  margin: 0 0 .3em .6rem;
  border-bottom: 2px dotted #D9C9AF;
}
.menu-list b { font-variant-numeric: tabular-nums; white-space: nowrap; }

.menu-card--feature { background: var(--tomato); color: var(--paper); }
.menu-card--feature h3 small { color: rgba(255, 253, 248, .8); }
.menu-card--feature .menu-list li span::after { border-color: rgba(255, 253, 248, .4); }

@media (min-width: 720px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-card--feature { grid-column: 1 / -1; }
  .menu-list--cols { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; }
}

/* Opiniones */
#opiniones { padding-bottom: 0; }

.reviews { display: grid; gap: 1.25rem; margin-bottom: 2rem; }

.review {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.review blockquote {
  flex: 1;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
}
.review figcaption { display: flex; align-items: center; gap: .75rem; font-weight: 700; }
.review figcaption small { display: block; color: var(--ink-soft); font-size: .85rem; font-weight: 400; }

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--mustard-soft);
  color: var(--tomato-dark);
}

@media (min-width: 640px) {
  .reviews { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .reviews { grid-template-columns: repeat(3, 1fr); }
}

/* Menú del día */
.today {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: 2.25rem 1.5rem;
  background: var(--ink);
  color: var(--cream);
  border-radius: 28px;
}
.today h2 { margin-bottom: .5rem; }
.today p { max-width: 36rem; margin: 0; color: rgba(251, 245, 234, .75); font-size: 1.05rem; }
.today .eyebrow { color: var(--mustard); }
.today-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

@media (min-width: 860px) {
  .today { grid-template-columns: 1fr auto; padding: 3rem 3.5rem; }
  .today-actions { flex-direction: column; }
}

/* Visítanos */
#visitanos { padding-top: 1rem; }

.visit-grid { display: grid; gap: 1.25rem; }
.visit-info { display: grid; gap: 1.25rem; align-content: start; }

.info-card { padding: 1.75rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.info-card h3 { display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font-size: 1.35rem; }
.info-card h3 svg { width: 22px; height: 22px; color: var(--tomato); }

.address { margin: 0 0 1.25rem; font-size: 1.05rem; }
.info-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .7rem 0; border-bottom: 1px solid var(--line); font-weight: 500; text-align: left; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours td { padding-left: 1rem; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--tomato-dark); font-weight: 700; }
.hours tr.is-today th::after { content: " · hoy"; font-weight: 500; }

.map { min-height: 360px; overflow: hidden; background: var(--mustard-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }

@media (min-width: 900px) {
  .visit-grid { grid-template-columns: .9fr 1.1fr; }
}

/* Preguntas frecuentes */
#preguntas { padding-top: 0; }

.faq { display: grid; gap: .75rem; max-width: 48rem; }
.faq details { padding: 0 1.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--tomato); font: 700 1.5rem/1 var(--font-body); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1.25rem; color: var(--ink-soft); }
.faq details a { color: var(--tomato-dark); font-weight: 700; }

/* Pie de página */
.site-footer { padding: 3.5rem 0 2rem; background: var(--ink); color: rgba(251, 245, 234, .75); }
.footer-grid { display: grid; gap: 2rem; }
.site-footer h4 { margin: 0 0 .75rem; color: var(--cream); font-size: 1.1rem; }
.site-footer p { margin: .75rem 0 0; }
.site-footer h4 + p { margin-top: 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--cream); }
.brand--light { color: var(--cream); }

.social { display: flex; gap: .75rem; }
.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(251, 245, 234, .25);
  border-radius: 50%;
}
.social a:hover { background: rgba(251, 245, 234, .1); }
.social svg { width: 20px; height: 20px; }

.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(251, 245, 234, .15); font-size: .85rem; }

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* WhatsApp flotante */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}
.wa-float svg { width: 30px; height: 30px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
