/* Lily's Crepas — paleta: terracota de las cazuelas + verde menta del mostrador */

:root {
  --terracota: #8a4a2c;
  --terracota-osc: #6b3a20;
  --menta: #bcdccb;
  --menta-osc: #4f8a6c;
  --crema: #faf6ef;
  --crema-2: #efe4d2;
  --tinta: #2b2118;
  --gris: #766e60;
  --vino: #7a2230;
  --blanco: #ffffff;
  --line: #e6dcc9;
  --ok: #1e7a43;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--tinta);
  background: var(--crema);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.contenedor { max-width: 1080px; margin: 0 auto; padding: 0 1.1rem; }

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.2; margin: 0 0 .5rem; }
h2 { font-size: 1.7rem; color: var(--terracota-osc); }
p { margin: 0 0 .8rem; }

.boton {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer; font-size: 1rem;
  background: var(--menta-osc); color: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.boton:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.15); }
.boton-vino { background: var(--vino); }
.boton-borde { background: transparent; border: 2px solid var(--terracota); color: var(--terracota); }

/* ---- Header / hero ---- */
.hero {
  position: relative; color: #fff; min-height: 78vh;
  display: flex; align-items: flex-end;
  background-size: cover; background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,14,8,.35) 0%, rgba(20,14,8,.75) 100%);
}
.hero-contenido { position: relative; z-index: 1; padding: 2.5rem 0 3rem; width: 100%; }
.hero-marca { font-size: 2.4rem; margin-bottom: .3rem; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.hero-sub { font-size: 1.1rem; opacity: .95; margin-bottom: 1.4rem; max-width: 32rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-rating { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.15); backdrop-filter: blur(2px); padding: .3rem .8rem; border-radius: 999px; font-size: .9rem; margin-bottom: .8rem; }

/* ---- WhatsApp flotante ---- */
.wa-flotante {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50;
  background: #25d366; color: #fff; border-radius: 999px;
  width: 58px; height: 58px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.25); text-decoration: none;
}
.wa-flotante svg { width: 30px; height: 30px; }

/* ---- Secciones ---- */
section { padding: 3.2rem 0; }
.seccion-alt { background: var(--crema-2); }
.seccion-cab { text-align: center; max-width: 40rem; margin: 0 auto 2rem; }

/* ---- Sobre ---- */
.sobre-grid { display: grid; gap: 1.8rem; align-items: center; }
.sobre-foto img { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(70,40,20,.18); }
@media (min-width: 760px) {
  .sobre-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Menú ---- */
.menu-categoria { margin-bottom: 2rem; }
.menu-categoria h3 { color: var(--terracota); border-bottom: 2px solid var(--menta); padding-bottom: .35rem; margin-bottom: .9rem; font-size: 1.25rem; }
.menu-item { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); }
.menu-item:last-child { border-bottom: none; }
.menu-item-nombre { font-weight: 700; }
.menu-item-desc { color: var(--gris); font-size: .92rem; margin-top: .15rem; }
.menu-item-precio { font-weight: 700; color: var(--terracota-osc); white-space: nowrap; }
.menu-nota { text-align: center; color: var(--gris); font-size: .92rem; margin-top: 1.5rem; }

/* ---- Galería ---- */
.galeria-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.galeria-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; }
.galeria-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) {
  .galeria-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Reseñas ---- */
.resenas-grid { display: grid; gap: 1.1rem; }
@media (min-width: 760px) { .resenas-grid { grid-template-columns: repeat(3, 1fr); } }
.resena-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem; display: flex; flex-direction: column; gap: .5rem;
}
.resena-estrellas { color: #d99a1c; letter-spacing: .1em; }
.resena-texto { font-style: italic; color: var(--tinta); }
.resena-autor { font-size: .85rem; color: var(--gris); font-weight: 600; }

/* ---- Contacto ---- */
.contacto-grid { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .contacto-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contacto-caja { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.contacto-linea { display: flex; gap: .7rem; margin-bottom: .9rem; align-items: flex-start; }
.contacto-linea svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--terracota); margin-top: 2px; }
.contacto-horario { white-space: pre-line; }

/* ---- Redes sociales ---- */
.redes { display: flex; gap: .7rem; flex-wrap: wrap; }
.redes a {
  width: 40px; height: 40px; border-radius: 999px; background: var(--crema-2);
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  color: var(--terracota-osc);
}
.redes a:hover { background: var(--menta); }
.redes svg { width: 20px; height: 20px; }

/* ---- Footer ---- */
footer { background: var(--terracota-osc); color: #f2e9d8; padding: 2.2rem 0 1.6rem; }
footer .redes a { background: rgba(255,255,255,.12); color: #fff; }
footer .redes a:hover { background: rgba(255,255,255,.24); }
.footer-credito { margin-top: 1.4rem; font-size: .82rem; color: #d9c9ab; border-top: 1px solid rgba(255,255,255,.15); padding-top: 1rem; }
.footer-credito a { color: #f2e9d8; text-decoration: underline; }

/* ---- utilidades ---- */
.centro { text-align: center; }
.mt-0 { margin-top: 0; }
