/* ============================================================
   MOLE DE LA ABUELA — Hoja de estilos
   Paleta «Amate antojable»: fondo marfil cálido; el rojo se
   reserva para los botones de pedir, ámbar para precios y detalles
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --bg:          #F8F3EB;
  --bg-2:        #F2EADF;
  --surface:     #FFFCF7;
  --surface-2:   #F4ECE1;
  --line:        #E3D6C4;
  --line-soft:   #EDE3D5;

  --text:        #2B1E17;
  --text-dim:    #5A4A3F;
  --text-mute:   #75645A;

  --rojo:        #9E3220;   /* solo botones de pedir */
  --rojo-alto:   #B23B27;
  --oro:         #8E5F1C;   /* ámbar tostado: precios, enlaces, detalles */
  --oro-suave:   #A8732A;
  --cacao:       #4A2C1F;   /* Mole Negro, franja */
  --ladrillo:    #A8442A;   /* Mole Coloradito */
  --verde:       #5F7346;
  --wa:          #25D366;

  --display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --cuerpo:  "Karla", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --contenedor: 1200px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --seccion: clamp(4.5rem, 10vw, 8rem);

  --radio: 4px;
  --radio-alto: 14px;

  --sombra: 0 22px 50px -30px rgba(60,40,25,.35);
  --trans: .35s cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--cuerpo);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grano de comal sobre toda la página */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  opacity: .025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
button, input, textarea { font: inherit; color: inherit; }

a { color: var(--oro); text-decoration: none; }
a:hover { color: var(--oro-suave); }

::selection { background: var(--oro); color: #fff; }

:focus-visible {
  outline: 2px solid var(--oro);
  outline-offset: 3px;
  border-radius: 2px;
}

.saltar {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--oro); color: #fff;
  padding: .75rem 1.25rem; font-weight: 700;
}
.saltar:focus { left: .75rem; top: .75rem; }

/* ---------- 3. Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.7rem); }
h2 { font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); }

h1 em, h2 em, .it {
  font-style: italic;
  font-weight: 400;
  color: var(--oro);
}

p { text-wrap: pretty; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-family: var(--cuerpo);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 1.35rem;
}
.eyebrow::before {
  content: "";
  width: clamp(28px, 6vw, 56px);
  height: 1px;
  background: var(--oro);
  flex: none;
}

.lead {
  font-size: clamp(1.05rem, 1rem + .4vw, 1.2rem);
  color: var(--text-dim);
  max-width: 58ch;
}

/* ---------- 4. Estructura ---------- */
.envoltorio {
  width: min(100% - var(--gutter) * 2, var(--contenedor));
  margin-inline: auto;
}

.seccion { padding-block: var(--seccion); position: relative; }
.seccion--alterna { background: var(--bg-2); }
.seccion--borde { border-top: 1px solid var(--line-soft); }

.encabezado-seccion { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* Filete decorativo de diamantes */
.filete {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--oro);
  opacity: .5;
  margin-block: clamp(2rem, 5vw, 3.5rem);
}
.filete::before, .filete::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.filete span {
  width: 6px; height: 6px;
  background: currentColor;
  transform: rotate(45deg);
}

/* ---------- 5. Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  font-family: var(--cuerpo);
  font-size: .93rem;
  font-weight: 700;
  letter-spacing: .01em;
  border: 1px solid transparent;
  border-radius: var(--radio);
  cursor: pointer;
  transition: transform var(--trans), background var(--trans),
              border-color var(--trans), color var(--trans), box-shadow var(--trans);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--rojo { background: var(--rojo); color: #fff; box-shadow: 0 14px 30px -12px rgba(158,50,32,.7); }
.btn--rojo:hover { background: var(--rojo-alto); color: #fff; }

.btn--linea { background: transparent; color: var(--text); border-color: var(--line); }
.btn--linea:hover { border-color: var(--oro); color: var(--oro); }

.btn--oro { background: var(--oro); color: #fff; }
.btn--oro:hover { background: var(--oro-suave); color: #fff; }

.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- 6. Cabecera ---------- */
.cabecera {
  position: sticky;
  top: 0;
  z-index: 800;
  background: rgba(248,243,235,.88);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color var(--trans), background var(--trans);
}
.cabecera.fija { border-bottom-color: var(--line-soft); }

.cabecera__int {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.6rem;
}

.marca { display: flex; align-items: center; gap: .75rem; color: var(--text); }
.marca:hover { color: var(--text); }
.marca img { width: 44px; height: 44px; flex: none; }
.marca__txt { display: flex; flex-direction: column; line-height: 1; }
.marca__nombre {
  font-family: var(--display);
  font-size: 1.14rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.marca__lugar {
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: .3rem;
}

.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav a {
  position: relative;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--text-dim);
  padding-block: .4rem;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--oro);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--trans);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.cabecera .btn { padding: .7rem 1.15rem; font-size: .84rem; }

/* Menú móvil */
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radio);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.menu-btn span {
  display: block; width: 18px; height: 1.5px;
  background: var(--text);
  transition: transform var(--trans), opacity var(--trans);
}
.menu-btn span + span { margin-top: 0; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(4rem, 9vw, 7.5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%; right: -20%;
  width: 60vw; height: 60vw;
  max-width: 780px; max-height: 780px;
  background: radial-gradient(circle, rgba(142,95,28,.14), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -40%; left: -25%;
  width: 55vw; height: 55vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(142,95,28,.12), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.hero__int {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 { margin-bottom: 1.5rem; }
.hero .lead { margin-bottom: 2.2rem; }

.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 3rem; }

.datos {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-top: 1.9rem;
  border-top: 1px solid var(--line);
}
.dato b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem);
  font-weight: 700;
  color: var(--oro);
  line-height: 1;
}
.dato span {
  display: block;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: .5rem;
}

/* Portada: foto en arco + etiqueta de la marca */
.portada { position: relative; justify-self: center; width: min(100%, 440px); }
.portada__foto {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px var(--radio-alto) var(--radio-alto);
  box-shadow: var(--sombra);
}
.portada .etiqueta {
  position: absolute;
  left: -14%; bottom: -8%;
  width: 52%;
  transform: rotate(-8deg);
  filter: drop-shadow(0 14px 22px rgba(60,40,25,.28));
}

/* Etiqueta (recreación vectorial de la etiqueta impresa) */
.etiqueta__script { font-family: "Kaushan Script", var(--display); fill: #3B2A22; }
.etiqueta__arco { font-family: var(--cuerpo); font-size: 15px; font-weight: 600; fill: #3B2A22; }
.etiqueta__arco--abajo { font-size: 12px; letter-spacing: .06em; }
.etiqueta__sub { font-family: var(--cuerpo); font-size: 17px; font-weight: 500; fill: #3B2A22; }
.etiqueta__chile { fill: #3B2A22; stroke: #3B2A22; }
.etiqueta__rama { fill: none; stroke: #3B2A22; stroke-width: 1.6; stroke-linejoin: round; }

.chiles { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.chiles svg { position: absolute; opacity: .5; }


/* ---------- 8. Franja ---------- */
.franja {
  background: var(--cacao);
  color: #fff;
  padding-block: 1.15rem;
  overflow: hidden;
}
.franja__pista {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: deslizar 38s linear infinite;
}
.franja__pista span {
  display: flex; align-items: center; gap: 3rem;
  font-family: var(--display);
  font-size: clamp(1rem, .9rem + .5vw, 1.3rem);
  font-style: italic;
  font-weight: 500;
  white-space: nowrap;
}
.franja__pista span::after {
  content: "◆";
  font-style: normal;
  font-size: .55em;
  color: var(--oro-suave);
}
@keyframes deslizar { to { transform: translateX(-50%); } }

/* ---------- 9. Historia ---------- */
.historia__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.cita {
  border-left: 2px solid var(--oro);
  padding: .4rem 0 .4rem clamp(1.25rem, 3vw, 2rem);
  font-family: var(--display);
  font-size: clamp(1.3rem, 1rem + 1.4vw, 1.95rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--text);
}
.cita cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--cuerpo);
  font-size: .74rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--oro);
}

.historia__texto p + p { margin-top: 1.15rem; }
.historia__texto p { color: var(--text-dim); }

.firmas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
.firma {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-dim);
}
.firma::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--verde);
  border-radius: 50%;
}

/* ---------- 10. Catálogo ---------- */
.catalogo__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.tarjeta {
  --acento: var(--oro);
  --pad: clamp(1.6rem, 3vw, 2.25rem);
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radio-alto);
  padding: var(--pad);
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
  overflow: hidden;
}
.tarjeta:hover {
  transform: translateY(-5px);
  border-color: var(--acento);
  box-shadow: var(--sombra);
}
.tarjeta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--acento);
}
/* Un color por mole: anticipa el sabor */
.tarjeta[data-mole="negro"]      { --acento: var(--cacao); }
.tarjeta[data-mole="coloradito"] { --acento: var(--ladrillo); }
.tarjeta[data-mole="chocolate"]  { --acento: var(--cacao); }
.tarjeta[data-mole] .tarjeta__sub { color: var(--acento); }
.tarjeta__foto {
  width: calc(100% + 2 * var(--pad));
  max-width: none;
  margin: calc(-1 * var(--pad)) calc(-1 * var(--pad)) 1.6rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.tarjeta--destacado { background: linear-gradient(160deg, var(--surface-2), var(--surface)); }

.tarjeta__marca {
  position: absolute;
  top: 1.1rem; right: 1.3rem;
  font-size: .6rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--oro);
  padding: .3rem .6rem;
  border-radius: 999px;
}
.tarjeta h3 { margin-bottom: .3rem; }
.tarjeta__sub {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: 1.1rem;
}
.tarjeta__desc { color: var(--text-dim); font-size: .95rem; margin-bottom: 1.6rem; }

.presentaciones { list-style: none; padding: 0; margin-top: auto; }
.presentaciones li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .78rem 0;
  border-top: 1px dashed var(--line);
}
.presentaciones li:last-child { border-bottom: 1px dashed var(--line); }
.pes { font-weight: 700; font-size: .98rem; }
.pes small {
  display: block;
  font-weight: 400;
  font-size: .74rem;
  color: var(--text-mute);
  margin-top: .15rem;
}
.precio {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--oro);
  white-space: nowrap;
}
.precio.pendiente { color: var(--text-mute); font-size: 1.15rem; text-decoration: line-through; }
.precio--consulta { font-family: var(--cuerpo); font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); }

.tarjeta .btn { margin-top: 1.5rem; justify-content: center; }

.envios {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radio-alto);
  overflow: hidden;
}
.envio { background: var(--bg); padding: 1.4rem 1.5rem; }
.envio b {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: .3rem;
}
.envio span { font-size: .87rem; color: var(--text-mute); }

/* ---------- 11. Proceso ---------- */
.proceso { display: grid; gap: 0; }
.paso {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-soft);
  position: relative;
}
.paso:last-child { border-bottom: 1px solid var(--line-soft); }
.paso--foto { grid-template-columns: auto minmax(0, 1fr) clamp(140px, 22vw, 240px); align-items: center; }
.paso__foto {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radio-alto);
}

/* Lo que lleva */
.lleva { margin-top: clamp(3.5rem, 7vw, 5.5rem); }
.lleva__titulo { font-family: var(--display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.15; }
.lleva__titulo em { color: var(--oro); }
.ingredientes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}
.ingrediente { position: relative; overflow: hidden; border-radius: var(--radio-alto); }
.ingrediente img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .8s cubic-bezier(.22,.61,.36,1); }
.ingrediente:hover img { transform: scale(1.05); }
.ingrediente figcaption {
  position: absolute; inset: auto 0 0;
  padding: 2.2rem 1rem .85rem;
  background: linear-gradient(transparent, rgba(43,30,23,.82));
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
}
.alergenos { margin-top: 1.1rem; font-size: .85rem; color: var(--text-mute); }

.paso__num {
  font-family: var(--display);
  font-size: clamp(3rem, 2rem + 5vw, 5.5rem);
  font-weight: 800;
  line-height: .85;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--oro);
  opacity: .55;
  transition: opacity var(--trans), color var(--trans);
  min-width: 2ch;
}
.paso:hover .paso__num { color: var(--oro); opacity: 1; -webkit-text-stroke: 1.5px transparent; }

.paso__cuerpo { display: flex; gap: clamp(1rem, 3vw, 2rem); align-items: flex-start; }
.paso__icono {
  flex: none;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}
.paso__icono svg { width: 30px; height: 30px; stroke: var(--oro); }
.paso__texto h3 { margin-bottom: .55rem; }
.paso__texto p { color: var(--text-dim); max-width: 62ch; }

/* ---------- 12. Recetas ---------- */
.recetas__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.receta {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radio-alto);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  transition: border-color var(--trans), transform var(--trans);
}
.receta:hover { border-color: var(--oro); transform: translateY(-4px); }
.receta--foto { overflow: hidden; }
.receta__foto {
  position: relative;
  margin: calc(-1 * clamp(1.4rem, 3vw, 1.9rem)) calc(-1 * clamp(1.4rem, 3vw, 1.9rem)) 1.2rem;
}
.receta__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.receta__foto figcaption {
  position: absolute; right: .6rem; bottom: .6rem;
  padding: .2rem .55rem;
  border-radius: 999px;
  background: rgba(43,30,23,.6);
  color: #fff;
  font-size: .62rem;
  letter-spacing: .04em;
}
.receta__n {
  font-family: var(--display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--oro);
  display: block;
  margin-bottom: .8rem;
}
.receta h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.receta p { font-size: .93rem; color: var(--text-dim); }

.conservar {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: linear-gradient(140deg, rgba(142,95,28,.08), var(--surface-2));
  border: 1px solid var(--line);
  border-radius: var(--radio-alto);
}
.conservar dt {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--oro);
  margin-bottom: .5rem;
}
.conservar dd { margin: 0; font-size: .93rem; color: var(--text-dim); }

/* ---------- 13. Contacto ---------- */
.contacto__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.lista-datos { list-style: none; padding: 0; margin: 0 0 2.2rem; }
.lista-datos li {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: flex-start;
}
.lista-datos li:first-child { border-top: 1px solid var(--line-soft); }
.lista-datos svg { width: 20px; height: 20px; flex: none; stroke: var(--oro); margin-top: .2rem; }
.lista-datos b {
  display: block;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: .3rem;
  font-weight: 700;
}
.lista-datos span, .lista-datos a { color: var(--text); font-size: 1rem; }
.lista-datos a:hover { color: var(--oro); }
.lista-datos .horario {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: .96rem;
}
.lista-datos .horario + .horario { margin-top: .3rem; }
.lista-datos .horario i { font-style: normal; color: var(--text-mute); }

.redes { display: flex; flex-wrap: wrap; gap: .75rem; }
.red {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dim);
  transition: border-color var(--trans), color var(--trans), transform var(--trans);
}
.red:hover { border-color: var(--oro); color: var(--oro); transform: translateY(-2px); }
.red svg { width: 16px; height: 16px; }

.mapa {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radio-alto);
  overflow: hidden;
  background: var(--surface);
  min-height: 340px;
}
.mapa iframe {
  width: 100%; height: 100%; min-height: 340px;
  border: 0; display: block;
  filter: grayscale(.35) sepia(.2) contrast(.95);
}
.mapa__nota {
  position: absolute;
  left: .9rem; top: .9rem;
  background: rgba(255,252,247,.94);
  border: 1px solid var(--line);
  border-radius: var(--radio);
  padding: .5rem .8rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--oro);
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.cta-final {
  margin-top: clamp(3rem, 6vw, 5rem);
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 50% 0%, rgba(142,95,28,.12), transparent 65%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radio-alto);
}
.cta-final h2 { margin-bottom: 1rem; }
.cta-final p { color: var(--text-dim); max-width: 52ch; margin-inline: auto; margin-bottom: 2rem; }

/* ---------- 14. Pie ---------- */
.pie {
  border-top: 1px solid var(--line-soft);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--bg-2);
}
.pie__int {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}
.pie p { font-size: .85rem; color: var(--text-mute); }
.pie__links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.pie__links a { font-size: .85rem; color: var(--text-dim); }
.pie__links a:hover { color: var(--oro); }

/* ---------- 15. WhatsApp flotante ---------- */
.wa-fijo {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 850;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .85rem 1.25rem .85rem .95rem;
  background: var(--wa);
  color: #062e17;
  font-weight: 800;
  font-size: .9rem;
  border-radius: 999px;
  box-shadow: 0 16px 34px -14px rgba(37,211,102,.75);
  transition: transform var(--trans), box-shadow var(--trans), opacity .3s ease;
}
.wa-fijo--fuera {
  opacity: 0;
  transform: translateY(140%) scale(.92);
  pointer-events: none;
}
.wa-fijo--fuera::before { animation-play-state: paused; }
.wa-fijo:hover { transform: translateY(-3px) scale(1.02); color: #062e17; box-shadow: 0 22px 42px -14px rgba(37,211,102,.85); }
.wa-fijo svg { width: 22px; height: 22px; }
.wa-fijo::before {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 999px;
  border: 2px solid rgba(37,211,102,.5);
  animation: latido 2.6s ease-out infinite;
}
@keyframes latido {
  0%   { transform: scale(.98); opacity: .8; }
  70%  { transform: scale(1.12); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- 16. Animaciones de entrada ----------
   Solo se ocultan si hay JS activo (.js), así que sin JavaScript
   el contenido siempre es visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
}
.js .reveal.visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .1s; }
.js .reveal[data-delay="2"] { transition-delay: .2s; }
.js .reveal[data-delay="3"] { transition-delay: .3s; }
.js .reveal[data-delay="4"] { transition-delay: .4s; }

/* ---------- 17. Responsive ---------- */
@media (min-width: 1180px) {
  .recetas__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hero__int,
  .historia__grid,
  .contacto__grid { grid-template-columns: 1fr; }

  .portada { order: -1; width: min(72%, 340px); margin: 0 0 2.5rem 12%; justify-self: start; }

  .menu-btn { display: flex; }

  .nav {
    position: fixed;
    inset: 4.6rem 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(248,243,235,.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.5rem;
    transform: translateY(-130%);
    transition: transform .4s cubic-bezier(.22,.61,.36,1);
    max-height: calc(100vh - 4.6rem);
    overflow-y: auto;
  }
  .nav.abierta { transform: translateY(0); }
  .nav a {
    padding: 1rem 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav a::after { display: none; }
  .cabecera .btn--wa-nav { display: none; }
}

@media (max-width: 620px) {
  .paso { grid-template-columns: 1fr; gap: .75rem; }
  .paso--foto { grid-template-columns: 1fr; }
  .recetas__grid { grid-template-columns: 1fr; }
  .ingredientes { grid-template-columns: 1fr 1fr; }
  .paso__num { font-size: 2.6rem; }
  .paso__cuerpo { flex-direction: column; }
  .datos { gap: 1.4rem 2rem; }
  .dato b { font-size: 1.7rem; }
  .wa-fijo span { display: none; }
  .wa-fijo { padding: .95rem; }
  .pie__int { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .marca__lugar { display: none; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}

/* ---------- 18. Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
}
