:root {
  --ink: #2b2117;
  --ink-soft: #7c6a58;
  --ink-inverse: #fbf3e6;
  --ground: #faf5ee;
  --ground-alt: #f1e6d5;
  --card: #ffffff;
  --ember: #c9407e;
  --ember-dark: #9e2f61;
  --gold: #b8791a;
  --line: #e8dcc8;
  --radius: 3px;
  --max-width: 1120px;
  --font-display: "Bitter", Georgia, serif;
  --font-body: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ground);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 .4em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 .75em; color: var(--ink-soft); max-width: 62ch; }
em { font-style: normal; color: var(--ember); }
a { color: var(--ember); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .5rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 4.5rem 0; }
.section-alt { background: var(--ground-alt); }
.section-sub { max-width: 46ch; }

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ground);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.btn-call {
  text-decoration: none;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

/* Hero: foto full-bleed del local con degradé oscuro para legibilidad */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: 6rem 0 4rem;
  overflow: hidden;
  text-align: center;
  background: var(--ground);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero .photo-slot.hero-bg {
  border: none;
  border-radius: 0;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(17,13,10,.25) 0%, rgba(17,13,10,.45) 45%, rgba(17,13,10,.95) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  color: var(--ink-inverse);
}
.hero h1 em {
  font-style: italic;
  color: var(--ember);
  text-shadow: 0 2px 14px rgba(0,0,0,.6), 0 1px 3px rgba(0,0,0,.7);
}
.hero-sub { font-size: 1.05rem; max-width: 44ch; margin-left: auto; margin-right: auto; color: var(--ink-inverse); opacity: .9; }
.hero-cta { display: flex; gap: .9rem; flex-wrap: wrap; justify-content: center; margin-top: 1.75rem; }

/* Categorías: fotos circulares que anclan al menú */
.categories { padding: 3rem 0 3.5rem; }
.categories-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  width: 110px;
}
.category img, .category .photo-slot {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid var(--line);
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.category:hover img {
  transform: scale(1.08);
  box-shadow: 0 12px 24px -8px rgba(0,0,0,.35);
  border-color: var(--ember);
}
.category .photo-slot { font-size: .7rem; text-align: center; padding: .5rem; }
.category span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
}

/* Conocé a la dueña: foto + insignia de años + bio + credenciales */
.founder { padding: 5rem 0; }
.founder-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 720px) {
  .founder-grid { grid-template-columns: .85fr 1fr; gap: 3.5rem; }
}
.founder-photo { position: relative; }
.founder-photo img, .founder-photo .photo-slot {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  cursor: pointer;
  transition: transform .4s ease;
}
.founder-photo:hover img { transform: scale(1.06); }
.founder-badge {
  position: absolute;
  right: -.75rem;
  bottom: -1rem;
  background: var(--ember);
  color: var(--ink-inverse);
  padding: .8rem 1.3rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 12px 24px -8px rgba(0,0,0,.35);
}
.founder-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.1;
}
.founder-badge span {
  display: block;
  color: var(--ink-inverse);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .85;
}
.founder-badge .stars {
  margin-top: .35rem;
  font-size: .95rem;
  letter-spacing: .15em;
  text-transform: none;
  color: var(--gold);
  opacity: 1;
}
.founder-content .eyebrow { color: var(--gold); }

/* Galería: tabs + grilla pareja de cuadrados */
.gallery-tabs {
  display: flex;
  gap: 1.75rem;
  margin: 1.5rem 0 2rem;
  border-bottom: 1px solid var(--line);
}
.gallery-tab {
  background: none;
  border: none;
  padding: 0 0 .8rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .03em;
  color: var(--ink-soft);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.gallery-tab.active { color: var(--ink); border-bottom-color: var(--ember); }
.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 150px;
  gap: .6rem;
}
@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; }
}
.gallery-grid img, .gallery-grid .photo-slot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.35);
  position: relative;
  z-index: 2;
}
.gallery-grid .featured {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-grid [hidden] { display: none; }

/* Botones */
.btn {
  display: inline-block;
  padding: .8rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .02em;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--ember); color: var(--ink-inverse); }
.btn-primary:hover { background: var(--ember-dark); }
.btn-outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-whatsapp { background: #25d366; color: #fff; border-color: #25d366; }
.btn-whatsapp:hover { background: #1fb958; border-color: #1fb958; }

.photo-slot {
  border: 2px dashed var(--line);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: .85rem;
}

/* Grillas genéricas */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

/* Menú */
.menu-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  margin: 2rem 0 1rem;
}
@media (min-width: 720px) {
  .menu-groups { grid-template-columns: 1fr 1fr; }
}
.menu-group h3 {
  font-size: 1rem;
  color: var(--ember);
  border-bottom: 1px solid var(--gold);
  padding-bottom: .5rem;
  margin-bottom: .6rem;
}
.menu-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .4rem 0;
  font-size: .92rem;
  border-bottom: 1px dotted var(--line);
}
.menu-row span:first-child { color: var(--ink); }
.menu-row span:last-child {
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}

/* Franja de estadísticas: el golpe de color fuerte */
.band { background: var(--ember); padding: 3rem 0; }
.band-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}
@media (min-width: 720px) {
  .band-grid { grid-template-columns: repeat(3, 1fr); text-align: left; }
}
.band-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--ground);
  line-height: 1;
  margin-bottom: .4rem;
}
.band-stat span {
  color: var(--ink-inverse);
  opacity: .85;
  font-size: .88rem;
  max-width: 24ch;
  display: inline-block;
}

/* Reseñas: cita editorial */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}
@media (min-width: 720px) {
  .quote-grid { grid-template-columns: repeat(3, 1fr); }
}
/* Reseñas como globo de chat (estilo WhatsApp) para que se despeguen del fondo */
.review {
  margin: 0;
  background: var(--card);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  padding: 1.2rem 1.35rem;
  box-shadow: 0 8px 20px -10px rgba(0,0,0,.25);
}
.review p {
  font-family: var(--font-body);
  font-style: normal;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 .7rem;
}
.review cite {
  font-style: normal;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--ember);
}
.reviews-link { margin-top: 2rem; }
.reviews-link a { font-weight: 600; text-decoration: none; }

/* Pedido de mesa por WhatsApp (plan Básico, sin TidyCal) */
.turno-whatsapp {
  max-width: 420px;
  margin-top: 1.5rem;
}
.turno-fields {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  margin-bottom: 1rem;
}
.turno-fields label {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  font-size: .85rem;
  color: var(--ink-soft);
}
.turno-fields input, .turno-fields select {
  padding: .7rem .8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--card);
  color: var(--ink);
}

/* Reserva: abre en pestaña aparte, en vez de embeber el iframe de TidyCal */
.booking-cta {
  margin-top: 1.5rem;
  padding: 2.5rem;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.booking-cta p { max-width: 40ch; margin-left: auto; margin-right: auto; }
.booking-cta .btn { margin-top: .5rem; }

/* Iframes */
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: 1.5rem;
}
.map-frame iframe { display: block; border: 0; }

.info-block p { margin-bottom: .6rem; }

/* Formulario */
.lead-form {
  max-width: 480px;
  margin: 1.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.lead-form input, .lead-form textarea {
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--card);
  color: var(--ink);
  resize: vertical;
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: var(--ink-soft); }
.lead-form button { margin-top: .25rem; align-self: flex-start; }
.form-status { font-size: .9rem; min-height: 1.2em; }
.form-status.ok { color: var(--gold); }
.form-status.error { color: #e0776a; }
.form-alt { font-size: .9rem; margin-top: 1rem; }
.form-alt a { font-weight: 600; }

/* Footer */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}
.footer p { margin: 0 0 .25rem; }
.footer-small { font-size: .8rem; }

/* WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,.5);
  z-index: 30;
}
.whatsapp-float svg { width: 26px; height: 26px; }
