/* Feralli — hoja de estilos del sitio público.
   Paleta tomada del logotipo real: negro, rosa pálido y blanco; el magenta
   viene del letrero de neón del local. Mobile-first. */

:root {
  --negro:      #14100F;
  --negro-2:    #1F1918;
  --rosa:       #F7DFE6;
  --rosa-suave: #FDF4F7;
  --magenta:    #D6376F;
  --magenta-d:  #B3215C;
  --crema:      #FBF7F5;
  --tinta:      #2A2422;
  --gris:       #6E6360;
  --linea:      #EADFE2;
  --verde-wa:   #128C4B;
  --radio:      16px;
  --sombra:     0 6px 24px rgba(20, 16, 15, .10);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--crema);
  overflow-x: hidden;
}

h1, h2, h3, .marca-txt {
  font-family: Quicksand, Inter, system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}

h1 { font-size: 2rem; letter-spacing: .02em; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.1rem; }

p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta-d); }

.envoltura { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1.15rem; }
.centrado { text-align: center; }

.saltar {
  position: absolute; left: -9999px; top: 0; background: var(--negro); color: #fff;
  padding: .7rem 1rem; z-index: 100; border-radius: 0 0 8px 0;
}
.saltar:focus { left: 0; }

/* ── Cabecera ──────────────────────────────────────────────────────────── */
.cabecera { background: var(--negro); color: var(--crema); position: sticky; top: 0; z-index: 40; }
.cabecera-fila { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }

.marca { display: flex; align-items: center; gap: .65rem; color: inherit; text-decoration: none; }
.marca img { width: 44px; height: 44px; border-radius: 10px; flex: none; }
.marca-txt { display: flex; flex-direction: column; font-size: 1.22rem; letter-spacing: .12em; line-height: 1.1; }
.marca-txt small {
  font-family: Inter, sans-serif; font-size: .6rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--rosa); font-weight: 500; margin-top: .22em;
}

.nav { display: flex; gap: 1.15rem; }
.nav a { color: var(--crema); text-decoration: none; font-size: .92rem; opacity: .85; white-space: nowrap; }
.nav a:hover { opacity: 1; color: var(--rosa); }

/* ── Botones ───────────────────────────────────────────────────────────── */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.boton:hover { transform: translateY(-1px); }
.boton-wa { background: var(--verde-wa); color: #fff; box-shadow: 0 4px 14px rgba(18, 140, 75, .3); }
.boton-wa:hover { background: #0f7a41; }
.boton-borde { border-color: currentColor; color: var(--magenta-d); background: transparent; }
.boton-borde:hover { background: rgba(214, 55, 111, .07); }
.boton-grande { padding: 1rem 2rem; font-size: 1.08rem; }
.ico { width: 20px; height: 20px; flex: none; }

.botones { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 0; }

/* ── Portada ───────────────────────────────────────────────────────────── */
.portada { background: var(--negro); color: var(--crema); padding: 2.5rem 0 3rem; }
.portada-rejilla { display: grid; gap: 1.8rem; }
.portada h1 { font-size: 2.1rem; color: #fff; }
.portada .entrada { color: #D8CFCC; font-size: 1.05rem; max-width: 34rem; margin-bottom: 0; }

.portada-img img {
  width: 100%; border-radius: var(--radio); aspect-ratio: 1 / 1; object-fit: cover;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}

.estrellas { display: flex; align-items: center; gap: .5rem; margin: 1.5rem 0 0; font-size: .92rem; flex-wrap: wrap; }
.estrellas-num { font-weight: 700; font-size: 1.1rem; color: #fff; }
.estrellas-ico { color: #F2B84B; letter-spacing: .08em; }
.estrellas a { color: #C9BFBC; }

/* ── Franja de aviso ───────────────────────────────────────────────────── */
.aviso-franja { background: var(--rosa); color: var(--tinta); padding: .95rem 0; }
.aviso-franja .envoltura { display: flex; flex-wrap: wrap; gap: .35rem .6rem; align-items: baseline; }
.aviso-franja strong { font-family: Quicksand, sans-serif; font-weight: 700; }
.aviso-franja span { font-size: .95rem; }

/* ── Bloques ───────────────────────────────────────────────────────────── */
.bloque { padding: 3rem 0; }
.bloque h2 { text-align: center; }
.apoyo { color: var(--gris); text-align: center; max-width: 40rem; margin: 0 auto 2rem; }

.bloque-oscuro { background: var(--negro-2); color: var(--crema); }
.bloque-oscuro h2 { color: #fff; }
.bloque-oscuro .apoyo { color: #C5BBB8; }

.bloque-rosa { background: var(--rosa-suave); }

/* ── Tarjetas de postres ───────────────────────────────────────────────── */
.tarjetas { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tarjeta {
  background: #fff; border: 1px solid var(--linea); border-radius: var(--radio);
  overflow: hidden; box-shadow: var(--sombra); display: flex; flex-direction: column;
}
/* Cuadrado: sus fotos son de Instagram y llevan el rótulo arriba;
   un recorte 4:3 se comería el nombre del postre. */
.tarjeta-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--rosa-suave); }
.tarjeta-img img { width: 100%; height: 100%; object-fit: cover; }
.tarjeta-txt { padding: 1rem 1.05rem 1.15rem; }
.tarjeta-txt h3 { margin-bottom: .25em; }
.tarjeta-txt p { margin: 0; color: var(--gris); font-size: .93rem; }
.tarjeta .precio { margin-top: .5em; color: var(--magenta-d); font-weight: 700; font-size: 1rem; }

/* ── Pasos ─────────────────────────────────────────────────────────────── */
.pasos { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.pasos li { text-align: center; padding: 0 .5rem; }
.paso-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; background: var(--rosa);
  color: var(--negro); font-family: Quicksand, sans-serif; font-weight: 700; font-size: 1.3rem;
  margin-bottom: .7rem;
}
.pasos h3 { color: #fff; }
.pasos p { color: #C5BBB8; font-size: .95rem; margin: 0; }

/* ── El lugar ──────────────────────────────────────────────────────────── */
.lugar-rejilla { display: grid; gap: 1.8rem; align-items: center; }
.lugar-img img { width: 100%; border-radius: var(--radio); box-shadow: var(--sombra); max-height: 460px; object-fit: cover; }
.lugar-txt h2 { text-align: left; }
.lugar-txt .apoyo { text-align: left; margin-left: 0; }
/* Sin foto: la sección se centra a todo lo ancho en vez de quedar en media columna. */
.lugar-sola { max-width: 640px; text-align: center; }
.lugar-sola .lugar-txt h2, .lugar-sola .lugar-txt .apoyo { text-align: center; }
.lugar-sola .apoyo { margin-left: auto; margin-right: auto; }
.dato { margin: 0 0 1em; }
.dato strong { font-family: Quicksand, sans-serif; }

/* ── Redes ─────────────────────────────────────────────────────────────── */
.redes { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin: 1.2rem 0 0; }
.red {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; color: inherit;
  border: 1.5px solid currentColor; opacity: .75; transition: opacity .12s ease, transform .12s ease;
}
.red:hover { opacity: 1; transform: translateY(-2px); }
.red svg { width: 21px; height: 21px; }
.redes-grandes .red { width: 48px; height: 48px; color: var(--magenta-d); }
.redes-grandes .red svg { width: 24px; height: 24px; }

/* ── Pie ───────────────────────────────────────────────────────────────── */
.pie { background: var(--negro); color: #B9AFAC; padding: 2.2rem 0 5.5rem; text-align: center; font-size: .88rem; }
.pie-logo { width: 150px; height: auto; border-radius: 12px; margin: 0 auto 1.1rem; }
.pie .redes { margin-bottom: 1.2rem; }
.pie-dir { margin: 0 0 .6em; }
.credito { margin: 0; font-size: .82rem; color: #8E8481; line-height: 1.7; }
.credito a { color: var(--rosa); text-decoration: underline; }

/* ── Botón flotante de WhatsApp ────────────────────────────────────────── */
.wa-flotante {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--verde-wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(18, 140, 75, .45);
}
.wa-flotante svg { width: 30px; height: 30px; }
.wa-flotante:hover { background: #0f7a41; }

/* ── Escritorio ────────────────────────────────────────────────────────── */
@media (min-width: 760px) {
  body { font-size: 18px; }
  h1, .portada h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  .bloque { padding: 4.5rem 0; }
  .portada { padding: 4.5rem 0 5rem; }
  .portada-rejilla { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3rem; }
  .lugar-rejilla { grid-template-columns: .9fr 1.1fr; gap: 3rem; }
  .lugar-sola { grid-template-columns: 1fr; }
  .marca img { width: 52px; height: 52px; }
}

/* En celular la marca y el menú no caben en una sola línea: si se dejan juntos,
   la cabecera se hace más ancha que la pantalla y desborda TODA la página.
   Así que en móvil el menú baja a su propio renglón y la cabecera deja de ser fija. */
@media (max-width: 619px) {
  .cabecera { position: static; }
  .cabecera-fila { min-height: 56px; }
  .marca-txt { font-size: 1.08rem; }
  .marca-txt small { font-size: .55rem; letter-spacing: .13em; }
  .marca img { width: 38px; height: 38px; }

  .cabecera-fila { flex-wrap: wrap; }
  .nav {
    flex: 1 0 100%; justify-content: center; gap: 1.4rem;
    padding: .65rem 0; margin-top: .1rem;
    border-top: 1px solid rgba(255, 255, 255, .09);
  }
  .nav a { font-size: .85rem; }
}

@media (max-width: 420px) {
  .nav { gap: 1rem; }
  .nav a { font-size: .8rem; }
  .botones .boton { width: 100%; }
}

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