/* SATTVA — sitio público. Mobile-first. Paleta derivada del logo (ver DECISIONES.md). */

:root {
  --verde: #7FA189;
  --verde-oscuro: #5C7A65;
  --negro: #232323;
  --crema: #F8F4EC;
  --crema-2: #E9E2D2;
  --blanco: #FFFFFF;
  --dorado: #C9A24B;
  --gris: #6b6459;
  --sombra: 0 4px 18px rgba(35, 32, 24, .09);
  --radio: 16px;
  --maxw: 1100px;
}

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

h1, h2, h3 {
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--negro);
  margin: 0 0 .5em;
}
h2 { font-size: 1.7rem; }
h2.centro { text-align: center; }
.kicker {
  display: block;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  color: var(--verde-oscuro);
  font-weight: 700;
  margin-bottom: .5rem;
}

.seccion { padding: 3.2rem 0; }
.seccion-alt { background: var(--blanco); }

/* ---- Barra superior ---- */
.barra {
  position: sticky; top: 0; z-index: 40;
  background: rgba(248,244,236,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--crema-2);
}
.barra .envoltorio { display: flex; align-items: center; justify-content: space-between; padding-top: .55rem; padding-bottom: .55rem; }
.barra-marca { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.barra-marca img { width: 34px; height: 34px; border-radius: 50%; }
.barra-marca span { font-family: Georgia, serif; font-weight: 700; letter-spacing: .05em; font-size: 1.05rem; }
.btn-wa {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--verde-oscuro); color: #fff; text-decoration: none;
  padding: .55rem 1rem; border-radius: 999px; font-weight: 600; font-size: .92rem;
  box-shadow: var(--sombra);
  transition: background .15s ease, transform .15s ease;
}
.btn-wa:hover { background: var(--negro); transform: translateY(-1px); }
.btn-wa svg { width: 18px; height: 18px; flex: none; }

/* ---- Hero ---- */
.hero { position: relative; padding: 0; }
.hero-media { position: relative; height: 62vh; min-height: 380px; max-height: 640px; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.55) 100%);
}
.hero-texto {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2rem 1.1rem 2.2rem;
  color: #fff; text-align: center;
}
.hero-texto .envoltorio { max-width: 720px; }
.hero-texto h1 { color: #fff; font-size: 2.4rem; margin-bottom: .25rem; }
.hero-texto .subtitulo { font-size: 1.05rem; color: #f1efe6; margin-bottom: .8rem; }
.hero-texto p.desc { color: #e9e5d8; max-width: 520px; margin: 0 auto 1.2rem; }
.hero-ctas { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }
.btn-outline {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 1.5px solid #fff; color: #fff; text-decoration: none;
  padding: .55rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .92rem;
}

/* ---- Sobre ---- */
.sobre-grid { display: grid; gap: 2rem; align-items: center; }
.sobre-grid img { border-radius: var(--radio); box-shadow: var(--sombra); }
.sobre-texto p { color: #4a4438; white-space: pre-line; }

@media (min-width: 860px) {
  .sobre-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

/* ---- Especialidades ---- */
.grid-especialidades {
  display: grid; gap: 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.tarjeta-plato {
  background: var(--blanco); border-radius: var(--radio); overflow: hidden;
  box-shadow: var(--sombra); display: flex; flex-direction: column;
}
.tarjeta-plato img { aspect-ratio: 4/3; object-fit: cover; }
.tarjeta-plato .cuerpo { padding: 1rem 1.1rem 1.2rem; }
.tarjeta-plato h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.tarjeta-plato p { font-size: .92rem; color: #57503f; margin: 0; }

/* ---- Reseñas ---- */
.grid-resenas {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.tarjeta-resena {
  background: var(--crema); border: 1px solid var(--crema-2); border-radius: var(--radio);
  padding: 1.2rem 1.3rem;
}
.tarjeta-resena .estrellas { color: var(--dorado); letter-spacing: .1em; margin-bottom: .5rem; font-size: .95rem; }
.tarjeta-resena p.texto { font-style: italic; color: #423d31; margin: 0 0 .8rem; }
.tarjeta-resena .autor { font-weight: 700; font-size: .88rem; color: var(--verde-oscuro); }

/* ---- Eventos ---- */
.eventos-grid { display: grid; gap: 2rem; align-items: center; }
.eventos-grid img { border-radius: var(--radio); box-shadow: var(--sombra); }
@media (min-width: 860px) {
  .eventos-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .eventos-grid.invertir .col-imagen { order: 2; }
}

/* ---- Horario / ubicación ---- */
.info-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.info-card {
  background: var(--blanco); border-radius: var(--radio); box-shadow: var(--sombra);
  padding: 1.4rem 1.5rem;
}
.info-card h3 { font-size: 1.05rem; margin-bottom: .6rem; color: var(--verde-oscuro); }
.info-card .horario-linea { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px dashed var(--crema-2); font-size: .94rem; }
.info-card .horario-linea:last-child { border-bottom: none; }
.info-card a.mapa-link { display: inline-block; margin-top: .8rem; color: var(--verde-oscuro); font-weight: 600; text-decoration: none; }
.info-card a.mapa-link:hover { text-decoration: underline; }

/* ---- Contacto / redes ---- */
.contacto-caja { text-align: center; max-width: 560px; margin: 0 auto; }
.redes-fila { display: flex; justify-content: center; gap: .9rem; margin-top: 1.4rem; flex-wrap: wrap; }
.red-icono {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blanco); border: 1px solid var(--crema-2);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sombra); transition: transform .15s ease, background .15s ease;
}
.red-icono:hover { transform: translateY(-2px); background: var(--verde); }
.red-icono svg { width: 22px; height: 22px; fill: var(--verde-oscuro); }
.red-icono:hover svg { fill: #fff; }

/* ---- Footer ---- */
footer.pie {
  background: var(--negro); color: #cfc9ba; padding: 2.2rem 0 1.6rem; margin-top: 2rem;
}
footer.pie .redes-fila { margin-top: 1rem; }
footer.pie .red-icono { background: #2f2c26; border-color: #3a362d; }
footer.pie .red-icono svg { fill: #cfc9ba; }
footer.pie .red-icono:hover { background: var(--verde); }
footer.pie .red-icono:hover svg { fill: #fff; }
.pie-credito { text-align: center; font-size: .82rem; color: #a49d8c; margin-top: 1.6rem; line-height: 1.8; }
.pie-credito a { color: #cfc9ba; text-decoration: underline; }

/* ---- Botón flotante de WhatsApp ---- */
.wa-flotante {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 50;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; box-shadow: 0 6px 20px rgba(0,0,0,.28);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.wa-flotante svg { width: 30px; height: 30px; fill: #fff; }

/* ---- Utilidades ---- */
.vacio-discreto { color: var(--gris); font-size: .9rem; text-align: center; }
