/* Fuentes alojadas en la propia web (Fraunces e Inter, licencia SIL OFL) */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/fraunces-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/fraunces-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/fraunces-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/fraunces-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/fraunces-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/fraunces-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/fraunces-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/fraunces-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   cremadecalabacin.org — hoja de estilos principal
   ========================================================================== */

:root {
  --crema: #f7f8f0;
  --crema-2: #ecefdd;
  --papel: #ffffff;
  --tinta: #1f2a1b;
  --tinta-2: #4e5948;
  --linea: #dce2c6;
  --verde: #3b6d19;
  --verde-osc: #2a5010;
  --verde-claro: #e6f0d3;
  --ocre: #94590a;
  --ocre-claro: #fbf1dd;
  --radio: 14px;
  --sombra: 0 1px 2px rgba(31, 42, 27, .06), 0 8px 24px rgba(31, 42, 27, .08);
  --ancho: 1160px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--crema);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--verde); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--verde-osc); text-decoration-thickness: 2px; }

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--tinta);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); margin-top: 2.2em; }
h3 { font-size: 1.3rem; margin-top: 1.8em; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--verde); }
p { margin: 0 0 1.1em; }
small { font-size: .8em; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.saltar {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--tinta); color: #fff; padding: 10px 16px; border-radius: 8px;
  text-decoration: none; transition: top .2s;
}
.saltar:focus { top: 12px; color: #fff; }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .contenedor { padding: 0 32px; } }

/* --------------------------------------------------------------------------
   Cabecera y navegación
   -------------------------------------------------------------------------- */

.cabecera {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 240, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--linea);
}
.cabecera .contenedor {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 68px;
}

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700;
  color: var(--tinta); text-decoration: none; letter-spacing: -.02em; white-space: nowrap;
}
.logo:hover { color: var(--tinta); text-decoration: none; }
.logo svg { width: 32px; height: 32px; flex: none; }
.logo small { color: var(--verde); font-weight: 500; font-size: 1em; margin-left: -8px; }
.pie .logo small { color: #c9e3a1; }

/* Iconos de línea (sprite img/iconos.svg) */
.ico {
  width: 1em; height: 1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.cabecera .contenedor { position: relative; }

/* Botón de menú móvil con hamburguesa animada */
.menu-boton {
  display: none; align-items: center; gap: 10px;
  background: var(--papel); border: 1px solid var(--linea); border-radius: 999px;
  padding: 9px 16px; font: inherit; font-size: .95rem; font-weight: 600; color: var(--tinta); cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}
.menu-boton:hover { border-color: #c4cfa6; box-shadow: 0 4px 14px rgba(31, 42, 27, .08); }
.hamburguesa { position: relative; width: 18px; height: 14px; }
.hamburguesa span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .35s cubic-bezier(.68, -.4, .3, 1.4), opacity .2s, top .35s;
}
.hamburguesa span:nth-child(1) { top: 0; }
.hamburguesa span:nth-child(2) { top: 6px; }
.hamburguesa span:nth-child(3) { top: 12px; }
.menu-boton[aria-expanded="true"] .hamburguesa span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-boton[aria-expanded="true"] .hamburguesa span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-boton[aria-expanded="true"] .hamburguesa span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Barra principal */
.nav-lista { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-boton, .nav-enlace {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 9px 14px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font: inherit; font-size: .95rem; font-weight: 500; color: var(--tinta-2); text-decoration: none;
  transition: background .2s, color .2s, box-shadow .2s;
}
.nav-boton .ico, .nav-enlace .ico { width: 18px; height: 18px; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), color .2s; }
.nav-boton:hover, .nav-enlace:hover, .nav-grupo.abierto > .nav-boton { background: var(--crema-2); color: var(--tinta); }
.nav-boton:hover > .ico:first-child, .nav-enlace:hover .ico, .nav-grupo.abierto > .nav-boton > .ico:first-child { transform: rotate(-14deg) scale(1.18); color: var(--verde); }
.nav-boton .nav-chevron { width: 14px; height: 14px; margin-left: -2px; transition: transform .3s ease; }
.nav-grupo.abierto > .nav-boton .nav-chevron { transform: rotate(180deg); }
.nav-boton.es-activo, .nav-enlace[aria-current="page"] { background: var(--verde); color: #fff; box-shadow: 0 6px 16px rgba(59, 109, 25, .25); }
.nav-boton.es-activo > .ico:first-child, .nav-enlace[aria-current="page"] .ico { color: #fff !important; }
.nav-grupo.abierto > .nav-boton.es-activo, .nav-boton.es-activo:hover { background: var(--verde-osc); color: #fff; }

/* Paneles desplegables (megamenú) */
.mm-panel {
  position: absolute; z-index: 60; top: calc(100% - 4px); left: 32px; right: 32px;
  background: var(--papel); border: 1px solid var(--linea); border-radius: 22px;
  box-shadow: 0 32px 70px rgba(31, 42, 27, .18), 0 2px 6px rgba(31, 42, 27, .06);
  padding: 24px 26px 14px; overflow: hidden;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(14px) scale(.985); transform-origin: top center;
  transition: opacity .22s ease, transform .4s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .3s;
}
.nav-grupo:not(.nav-grupo-ancho) .mm-panel { left: auto; width: min(660px, calc(100% - 64px)); }
.mm-panel::before { /* brillo decorativo */
  content: ""; position: absolute; z-index: -1; top: -120px; right: -80px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 193, 82, .16), transparent 70%);
}
.nav-grupo.abierto > .mm-panel {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s;
}
@media (hover: hover) and (min-width: 1181px) {
  .nav-grupo:hover > .mm-panel, .nav-grupo:focus-within > .mm-panel {
    opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s;
  }
  .nav-grupo:hover > .nav-boton { background: var(--crema-2); color: var(--tinta); }
  .nav-grupo:hover > .nav-boton.es-activo { background: var(--verde-osc); color: #fff; }
  .nav-grupo:hover > .nav-boton .nav-chevron { transform: rotate(180deg); }
  .nav-grupo:hover > .nav-boton > .ico:first-child { transform: rotate(-14deg) scale(1.18); color: var(--verde); }
  /* puente para que no se cierre al bajar el ratón */
  .nav-grupo { position: static; }
  .nav-grupo > .nav-boton { position: relative; }
  .nav-grupo > .nav-boton::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; }
}

.mm-rejilla { display: grid; gap: 8px 26px; }
.nav-grupo-ancho .mm-rejilla { grid-template-columns: 1.15fr 1.75fr 1.1fr .85fr; }
#panel-cremas .mm-rejilla { grid-template-columns: 1.25fr 1fr 1fr 1.15fr .95fr; gap: 8px 18px; }
#panel-guias .mm-rejilla { grid-template-columns: 2.3fr 1fr; }
.nav-grupo-ancho .mm-panel { left: 16px; right: 16px; }
.mm-titulo {
  margin: 0 0 10px; padding-left: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ocre);
}
.mm-columna ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mm-dos ul, .nav-grupo:not(.nav-grupo-ancho) .mm-columna ul { grid-template-columns: 1fr 1fr; column-gap: 8px; }

.mm-item {
  display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 14px;
  color: var(--tinta); text-decoration: none; transition: background .2s, transform .25s ease;
}
.mm-item:hover, .mm-item:focus-visible { background: var(--crema); transform: translateX(4px); color: var(--tinta); }
.mm-ico {
  position: relative; display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px;
  color: var(--verde); background: linear-gradient(145deg, var(--verde-claro), #f4f7ea);
  box-shadow: inset 0 0 0 1px rgba(59, 109, 25, .12);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), background .25s, color .25s, box-shadow .25s;
}
.mm-ico .ico { width: 21px; height: 21px; }
.mm-item:hover .mm-ico, .mm-item:focus-visible .mm-ico {
  transform: rotate(-8deg) scale(1.1); color: #fff;
  background: linear-gradient(145deg, #4f8a24, var(--verde-osc));
  box-shadow: 0 8px 18px rgba(59, 109, 25, .32);
}
.mm-compacto { padding: 6px 10px; gap: 10px; }
.mm-compacto .mm-ico { width: 32px; height: 32px; border-radius: 10px; }
.mm-compacto .mm-ico .ico { width: 17px; height: 17px; }
.mm-texto strong { display: block; font-size: .94rem; font-weight: 600; line-height: 1.25; }
.mm-texto small { display: block; font-size: .8rem; line-height: 1.3; color: var(--tinta-2); }
.mm-item[aria-current="page"] { background: var(--verde-claro); }
.mm-item[aria-current="page"] strong { color: var(--verde-osc); }

/* Entrada escalonada de los elementos */
.mm-panel li, .mm-destacado {
  opacity: 0; transform: translateY(10px);
  transition: opacity .3s ease, transform .4s cubic-bezier(.2, .8, .2, 1);
}
.nav-grupo.abierto .mm-panel li, .nav-grupo.abierto .mm-destacado {
  opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 22ms + 60ms);
}
@media (hover: hover) and (min-width: 1181px) {
  .nav-grupo:hover .mm-panel li, .nav-grupo:hover .mm-destacado,
  .nav-grupo:focus-within .mm-panel li, .nav-grupo:focus-within .mm-destacado {
    opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 22ms + 60ms);
  }
}

/* Tarjeta destacada */
.mm-destacado {
  position: relative; display: flex; align-items: flex-end; min-height: 250px; border-radius: 18px; overflow: hidden;
  color: #fff; text-decoration: none; isolation: isolate;
}
.mm-destacado img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.mm-destacado::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20, 32, 16, 0) 30%, rgba(20, 32, 16, .85) 100%);
}
.mm-destacado:hover img { transform: scale(1.07); }
.mm-destacado-texto { display: flex; flex-direction: column; gap: 4px; padding: 18px; }
.mm-destacado-texto strong { font-family: var(--serif); font-size: 1.2rem; line-height: 1.2; }
.mm-etiqueta { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #e9c46a; }
.mm-ver { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: #d8ecb8; }
.mm-ver .ico { width: 16px; height: 16px; transition: transform .25s; }
.mm-destacado:hover .mm-ver .ico { transform: translateX(5px); }
.mm-destacado:hover { color: #fff; }

/* Enlace inferior del panel */
.mm-todas {
  display: flex; align-items: center; gap: 10px; margin: 16px -26px -14px; padding: 14px 26px;
  border-top: 1px solid var(--linea); background: linear-gradient(90deg, var(--crema), var(--papel));
  color: var(--verde-osc); font-weight: 600; font-size: .94rem; text-decoration: none;
}
.mm-todas .ico { width: 18px; height: 18px; }
.mm-todas .mm-flecha { margin-left: auto; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.mm-todas:hover { color: var(--verde); }
.mm-todas:hover .mm-flecha { transform: translateX(6px); }

/* Menú en móvil y tableta */
@media (max-width: 1180px) {
  .menu-boton { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--crema); border-bottom: 1px solid var(--linea);
    box-shadow: 0 18px 30px rgba(31, 42, 27, .12);
    padding: 10px 16px 22px; max-height: calc(100vh - 68px); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s ease, transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .35s;
  }
  .nav.abierto { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-lista { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-lista > li { opacity: 0; transform: translateX(-12px); transition: opacity .3s, transform .4s cubic-bezier(.2, .8, .2, 1); }
  .nav.abierto .nav-lista > li { opacity: 1; transform: none; }
  .nav.abierto .nav-lista > li:nth-child(2) { transition-delay: .05s; }
  .nav.abierto .nav-lista > li:nth-child(3) { transition-delay: .1s; }
  .nav.abierto .nav-lista > li:nth-child(4) { transition-delay: .15s; }
  .nav.abierto .nav-lista > li:nth-child(5) { transition-delay: .2s; }
  .nav-boton, .nav-enlace { width: 100%; padding: 14px 16px; border-radius: 14px; font-size: 1.02rem; background: var(--papel); box-shadow: inset 0 0 0 1px var(--linea); }
  .nav-boton .nav-chevron { margin-left: auto; }
  .nav-boton.es-activo, .nav-enlace[aria-current="page"] { background: var(--verde); box-shadow: none; }
  .mm-panel {
    position: static; width: auto !important; opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    border: 0; border-radius: 0; box-shadow: none; background: none; padding: 0 0 0 6px;
    max-height: 0; overflow: hidden; transition: max-height .45s cubic-bezier(.2, .8, .2, 1);
  }
  .mm-panel::before { display: none; }
  .nav-grupo.abierto > .mm-panel { max-height: 1800px; }
  .mm-rejilla, .nav-grupo-ancho .mm-rejilla { display: block; padding: 12px 0 4px; }
  .mm-columna { margin-bottom: 12px; }
  .mm-columna ul, .mm-dos ul, .nav-grupo:not(.nav-grupo-ancho) .mm-columna ul { grid-template-columns: 1fr; }
  .mm-texto small { display: none; }
  .mm-item { padding: 7px 10px; }
  .mm-ico { width: 34px; height: 34px; border-radius: 10px; }
  .mm-ico .ico { width: 18px; height: 18px; }
  .mm-destacado { display: none; }
  .mm-todas { margin: 0 0 8px; padding: 12px 14px; border: 1px solid var(--linea); border-radius: 12px; }
}
@media (min-width: 600px) and (max-width: 1180px) {
  .mm-columna ul, .mm-dos ul, .nav-grupo:not(.nav-grupo-ancho) .mm-columna ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1280px) and (min-width: 1181px) {
  .nav-boton, .nav-enlace { padding: 9px 11px; }
}

/* Cabecera a ancho completo con foto de fondo */
.cabecera-receta.portada {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; min-height: clamp(440px, 64vh, 600px);
  padding: 56px 0; background: #22301b; color: #fff;
}
.cabecera-receta.portada .contenedor { display: block; position: static; }
.cabecera-receta.portada .contenedor > div { position: relative; z-index: 2; max-width: 600px; }
.portada-foto { position: absolute !important; inset: 0; z-index: 0; margin: 0; }
.portada-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cabecera-receta.portada::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(16, 26, 12, .88) 0%, rgba(16, 26, 12, .66) 40%, rgba(16, 26, 12, .12) 75%, rgba(16, 26, 12, 0) 100%);
}
.cabecera-receta.portada h1 { color: #fff; }
.cabecera-receta.portada h1 em { color: #c9e89a; }
.cabecera-receta.portada .entradilla { color: rgba(255, 255, 255, .9); }
.cabecera-receta.portada .etiqueta { color: #f0cf7e; }
.cabecera-receta.portada .migas, .portada .migas a { color: rgba(255, 255, 255, .8); }
.cabecera-receta.portada .migas li + li::before { color: #f0cf7e; }
.cabecera-receta.portada .datos li { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.cabecera-receta.portada .datos svg { color: #c9e89a; }
.cabecera-receta.portada .boton-borde { border-color: rgba(255, 255, 255, .6); color: #fff; }
.cabecera-receta.portada .boton-borde:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.cabecera-receta.portada .boton-primario { background: #8cc152; color: #10190b; }
.cabecera-receta.portada .boton-primario:hover { background: #a3d46a; color: #10190b; }
/* Variante más luminosa (portada de inicio): oscurece solo la franja del texto */
.cabecera-receta.portada.portada-clara::before {
  background: linear-gradient(90deg, rgba(16, 26, 12, .8) 0%, rgba(16, 26, 12, .64) 30%, rgba(16, 26, 12, .22) 50%, rgba(16, 26, 12, 0) 66%);
}
.cabecera-receta.portada.portada-clara h1, .cabecera-receta.portada.portada-clara .entradilla, .cabecera-receta.portada.portada-clara .migas { text-shadow: 0 1px 3px rgba(0, 0, 0, .5), 0 2px 14px rgba(0, 0, 0, .45); }
.cabecera-receta.portada.portada-clara .contenedor > div { max-width: 470px; }
@media (max-width: 720px) {
  .cabecera-receta.portada.portada-clara::before { background: linear-gradient(0deg, rgba(16, 26, 12, .88) 0%, rgba(16, 26, 12, .6) 50%, rgba(16, 26, 12, .05) 100%); }
}
/* Aviso discreto de imagen generada con IA */
.portada-foto .rv, .rv-discreto {
  position: absolute; z-index: 3; right: 10px; bottom: 8px; top: auto;
  font-size: .62rem; line-height: 1.4; letter-spacing: .03em;
  color: rgba(255, 255, 255, .92); background: rgba(0, 0, 0, .5);
  padding: 1px 6px; border-radius: 4px; pointer-events: none;
}
@media (max-width: 720px) {
  .cabecera-receta.portada { min-height: 560px; align-items: flex-end; padding: 32px 0; }
  .cabecera-receta.portada::before { background: linear-gradient(0deg, rgba(16, 26, 12, .94) 0%, rgba(16, 26, 12, .72) 50%, rgba(16, 26, 12, .15) 100%); }
  .portada-foto .rv { top: 8px; bottom: auto; }
  .portada-foto img { object-position: 78% center; }
}

/* Hueco de foto pendiente (cabeceras) */
.foto-pendiente {
  position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate;
  border-radius: 22px; box-shadow: var(--sombra);
  background: radial-gradient(circle at 25% 20%, #f3f8e6 0, transparent 55%), linear-gradient(150deg, #dfeac4 0%, #bcd393 100%);
}
.foto-pendiente::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(42, 80, 16, .14) 1.2px, transparent 1.4px); background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(circle at center, transparent 20%, #000 75%);
  mask-image: radial-gradient(circle at center, transparent 20%, #000 75%);
}
.fp-icono {
  display: grid; place-items: center; width: 44%; aspect-ratio: 1; border-radius: 50%;
  background: rgba(255, 255, 255, .55); color: var(--verde);
  box-shadow: 0 20px 50px rgba(42, 80, 16, .22), inset 0 0 0 1px rgba(255, 255, 255, .7);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: fp-flota 6s ease-in-out infinite alternate;
}
.fp-icono .ico { width: 48%; height: 48%; stroke-width: 1.4; }
.fp-burbuja { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); animation: fp-deriva 12s ease-in-out infinite alternate; }
.fp-1 { width: 38%; aspect-ratio: 1; left: -8%; bottom: -10%; background: rgba(59, 109, 25, .22); }
.fp-2 { width: 22%; aspect-ratio: 1; right: 8%; top: 8%; background: rgba(233, 185, 73, .35); animation-delay: -4s; }
.fp-3 { width: 12%; aspect-ratio: 1; right: 22%; bottom: 14%; background: rgba(255, 255, 255, .6); animation-delay: -8s; }
@keyframes fp-flota { from { transform: translateY(-6px) rotate(-3deg); } to { transform: translateY(6px) rotate(3deg); } }
@keyframes fp-deriva { from { transform: translate(0, 0); } to { transform: translate(14px, -12px); } }

/* Tarjetas sin foto */
.tarjeta-ilustracion {
  display: grid; place-items: center; aspect-ratio: 4 / 3; color: var(--verde);
  background: radial-gradient(circle at 30% 25%, #f3f8e6 0, transparent 60%), linear-gradient(150deg, #e3edcb, #c6da9f);
}
.tarjeta-ilustracion .ico { width: 64px; height: 64px; stroke-width: 1.3; transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.receta-tarjeta:hover .tarjeta-ilustracion .ico { transform: rotate(-10deg) scale(1.15); }

.enlace-flecha { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.enlace-flecha .ico { width: 18px; height: 18px; transition: transform .3s; }
.enlace-flecha:hover .ico { transform: translateX(5px); }

@media (prefers-reduced-motion: reduce) {
  .fp-icono, .fp-burbuja { animation: none; }
}

.mapa a { display: inline-flex; align-items: center; gap: 10px; }
.mapa .ico { width: 18px; height: 18px; color: var(--verde); }

/* --------------------------------------------------------------------------
   Cabeceras de página
   -------------------------------------------------------------------------- */

.cabecera-pagina {
  background: var(--crema-2);
  border-bottom: 1px solid var(--linea);
  padding: 40px 0 36px;
}
.cabecera-pagina h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: .3em; }
.cabecera-pagina p.entradilla { font-size: 1.15rem; color: var(--tinta-2); max-width: 62ch; margin: 0; }

.cabecera-receta { padding: 44px 0 48px; }
.cabecera-receta .contenedor {
  display: grid; gap: 40px; align-items: center;
  grid-template-columns: 1.1fr .9fr;
}
.cabecera-receta figure { margin: 0; }
.cabecera-receta figure img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 22px; box-shadow: var(--sombra);
}
.cabecera-receta .entradilla { font-size: 1.15rem; color: var(--tinta-2); max-width: 54ch; }
.portada-inicio { background: linear-gradient(180deg, var(--crema-2) 0%, var(--crema) 100%); }
.portada-inicio h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
@media (max-width: 820px) {
  .cabecera-receta { padding-top: 24px; }
  .cabecera-receta .contenedor { grid-template-columns: 1fr; gap: 24px; }
  .cabecera-receta figure { order: -1; }
}

.etiqueta {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ocre); margin-bottom: 12px;
}

.botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.boton {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s;
  font-family: var(--sans); cursor: pointer;
}
.boton:hover { transform: translateY(-1px); text-decoration: none; }
.boton-primario { background: var(--verde); color: #fff; }
.boton-primario:hover { background: var(--verde-osc); color: #fff; }
.boton-borde { border-color: var(--verde); color: var(--verde); background: transparent; }
.boton-borde:hover { background: var(--verde); color: #fff; }

/* Migas de pan */
.migas { font-size: .9rem; color: var(--tinta-2); margin-bottom: 14px; }
.migas ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.migas li + li::before { content: "›"; margin-right: 6px; color: var(--ocre); }
.migas a { color: var(--tinta-2); }
h2[id], h3[id], section[id] { scroll-margin-top: 90px; }

/* Datos de receta */
.datos { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.datos li {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--papel); border: 1px solid var(--linea); border-radius: 999px;
  padding: 8px 16px; font-size: .95rem; font-weight: 500;
}
.datos svg { width: 18px; height: 18px; color: var(--verde); flex: none; }

/* --------------------------------------------------------------------------
   Maquetación de contenido
   -------------------------------------------------------------------------- */

.seccion { padding: 56px 0; }
.seccion-alt { background: var(--papel); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }

.rejilla-receta {
  display: grid; gap: 40px;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 900px) { .rejilla-receta { grid-template-columns: 1fr; } }

.tarjeta {
  background: var(--papel); border: 1px solid var(--linea); border-radius: var(--radio);
  padding: 26px; box-shadow: var(--sombra);
}
.ingredientes { position: sticky; top: 92px; }
@media (max-width: 900px) { .ingredientes { position: static; } }
.ingredientes h2 { margin-top: 0; font-size: 1.35rem; }
.ingredientes h3 { margin-top: 1.4em; font-size: 1.05rem; color: var(--verde); font-family: var(--sans); font-weight: 700; }
.ingredientes p { font-size: .95rem; margin: 14px 0 0; }

.lista-check { list-style: none; padding: 0; margin: 0; }
.lista-check li {
  position: relative; padding: 8px 0 8px 32px; border-bottom: 1px dashed var(--linea);
}
.lista-check li:last-child { border-bottom: 0; }
.lista-check li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--verde-claro); border: 2px solid var(--verde);
}
.lista-check li::after {
  content: ""; position: absolute; left: 6px; top: 17px; width: 6px; height: 9px;
  border: solid var(--verde); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

.pasos { list-style: none; counter-reset: paso; padding: 0; margin: 0; }
.pasos > li {
  counter-increment: paso; position: relative;
  padding: 0 0 28px 64px; margin: 0;
}
.pasos > li::before {
  content: counter(paso); position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--verde); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.2rem;
}
.pasos > li::after {
  content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; background: var(--linea);
}
.pasos > li:last-child::after { display: none; }
.pasos h3 { margin: 6px 0 .4em; font-size: 1.2rem; }
.pasos h3 small { font-family: var(--sans); font-weight: 500; color: var(--tinta-2); font-size: .8rem; }
.pasos figure { margin: 14px 0 0; max-width: 340px; }

.prosa ul:not([class]), .prosa ol:not([class]) { padding-left: 1.3em; margin: 0 0 1.2em; }
.prosa li { margin-bottom: .55em; }
.prosa li::marker { color: var(--verde); }
.prosa h2:first-child { margin-top: 0; }
.prosa hr { border: 0; border-top: 1px solid var(--linea); margin: 2.4em 0; }

figure { margin: 0; position: relative; }
.rv {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  font-size: .62rem; line-height: 1.4; letter-spacing: .03em;
  color: rgba(255, 255, 255, .92); background: rgba(0, 0, 0, .5);
  padding: 1px 6px; border-radius: 4px; pointer-events: none;
}
figcaption { font-size: .88rem; color: var(--tinta-2); margin-top: 8px; font-style: italic; }
.foto { border-radius: 12px; box-shadow: var(--sombra); }
.flotante {
  float: right; width: min(42%, 320px); margin: 6px 0 18px 28px;
}
.flotante img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.flotante.vertical { width: min(34%, 250px); }
.flotante.vertical img { aspect-ratio: 2 / 3; }
@media (max-width: 600px) { .flotante, .flotante.vertical { float: none; width: 100%; margin: 0 0 18px; } .flotante.vertical img { aspect-ratio: 4 / 3; } }
.limpiar { clear: both; }

.aviso {
  background: var(--verde-claro); border-left: 4px solid var(--verde);
  padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 1.6em 0;
}
.aviso p:last-child { margin: 0; }
.aviso-ocre { background: var(--ocre-claro); border-left-color: var(--ocre); }

.indice {
  background: var(--papel); border: 1px solid var(--linea); border-radius: var(--radio);
  padding: 20px 24px; margin-bottom: 36px;
}
.indice h2 { font-size: 1rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 10px; color: var(--tinta-2); }
.indice ol { margin: 0; padding-left: 1.2em; columns: 2 240px; column-gap: 32px; }
.indice li { margin-bottom: 4px; break-inside: avoid; }

.lectura { max-width: 780px; }
.centrado { margin-left: auto; margin-right: auto; }

/* Menús propuestos */
.menus { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin: 1.4em 0 2em; }
.menu {
  background: var(--papel); border: 1px solid var(--linea); border-radius: var(--radio); padding: 22px 24px;
}
.menu h3 { margin: 0 0 .2em; font-size: 1.15rem; }
.menu .subtitulo { color: var(--tinta-2); font-size: .92rem; margin-bottom: 12px; }
.menu dl { margin: 0 0 14px; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .96rem; }
.menu dt { font-weight: 600; color: var(--ocre); }
.menu dd { margin: 0; }
.menu p { font-size: .96rem; color: var(--tinta-2); margin: 0; }

/* Tarjetas de recetas */
.recetas { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.receta-tarjeta {
  position: relative; display: flex; flex-direction: column; background: var(--papel);
  border: 1px solid var(--linea); border-radius: var(--radio); overflow: hidden;
  text-decoration: none; color: var(--tinta); box-shadow: var(--sombra);
  transition: transform .2s, box-shadow .2s;
}
.receta-tarjeta:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(31, 42, 27, .14); color: var(--tinta); text-decoration: none; }
.receta-tarjeta img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.receta-tarjeta div { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.receta-tarjeta h3 { margin: 0; font-size: 1.2rem; }
.receta-tarjeta p { margin: 0; font-size: .95rem; color: var(--tinta-2); }
.receta-tarjeta span { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--verde); font-size: .95rem; }

.encabezado-seccion { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.encabezado-seccion h2 { margin: 0; }
.encabezado-seccion p { margin: 0; color: var(--tinta-2); }

/* Recomendaciones / enlaces externos */
.reco-rejilla {
  display: grid; gap: 20px; margin-top: 8px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.reco {
  background: var(--papel); border: 1px solid var(--linea); border-radius: var(--radio);
  padding: 24px; font-size: .95rem; color: var(--tinta-2);
  transition: border-color .2s, transform .2s;
}
.reco:hover { border-color: #bfcb98; transform: translateY(-2px); }
.reco h3 { margin: 14px 0 .5em; font-size: 1.15rem; }
.reco p:last-child { margin-bottom: 0; }
.reco-icono {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--crema-2); color: var(--verde);
}
.reco-icono svg { width: 22px; height: 22px; }
.reco a {
  color: inherit; font-weight: 500;
  text-decoration: underline; text-decoration-style: dotted;
  text-decoration-color: rgba(59, 109, 25, .55); text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.reco a:hover { color: var(--verde); text-decoration-color: currentColor; }

/* Tablas */
.tabla-envoltorio { overflow-x: auto; margin: 1.4em 0 2em; border: 1px solid var(--linea); border-radius: var(--radio); background: var(--papel); }
.tabla { width: 100%; border-collapse: collapse; font-size: .96rem; }
.tabla caption { caption-side: top; text-align: left; padding: 12px 16px; font-weight: 600; }
.tabla th, .tabla td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--linea); vertical-align: top; }
.tabla thead th, .tabla tbody th { background: var(--crema-2); font-weight: 600; }
.tabla tr:last-child td, .tabla tr:last-child th { border-bottom: 0; }

/* Preguntas frecuentes */
.faq details {
  background: var(--papel); border: 1px solid var(--linea); border-radius: 12px;
  margin-bottom: 12px; padding: 0 22px;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative;
  font-family: var(--serif); font-weight: 600; font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.5rem; color: var(--verde); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 18px; color: var(--tinta-2); }
.faq details > div p:last-child { margin-bottom: 0; }
.faq h2 { font-size: 1.4rem; }

/* Mapa web */
.mapa { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mapa ul { list-style: none; padding: 0; margin: 0; }
.mapa li { padding: 7px 0; border-bottom: 1px dashed var(--linea); }
.mapa h2 { font-size: 1.2rem; margin-top: 0; }

/* Formulario */
.formulario { display: grid; gap: 18px; }
.formulario label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .96rem; }
.formulario input, .formulario textarea {
  width: 100%; font: inherit; color: var(--tinta);
  background: var(--crema); border: 1px solid var(--linea); border-radius: 10px; padding: 12px 14px;
}
.formulario input:focus, .formulario textarea:focus { outline: 3px solid rgba(59, 109, 25, .35); border-color: var(--verde); }
.formulario .casilla { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--tinta-2); }
.formulario .casilla input { width: auto; margin-top: 5px; accent-color: var(--verde); }
.formulario .casilla label { font-weight: 400; margin: 0; }
.formulario .boton { justify-self: start; border: 0; }

.contacto-email { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 600; word-break: break-word; }
.contacto-email a { text-decoration: none; }
.dos-columnas { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .dos-columnas { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Portada del portal
   -------------------------------------------------------------------------- */

/* Franja de cifras */
.cifras { background: var(--verde-osc); color: #fff; }
.cifras-lista {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.cifras-lista a {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 22px 12px;
  color: #e3eed2; text-decoration: none; text-align: center; transition: background .2s;
}
.cifras-lista li + li a { border-left: 1px solid rgba(255, 255, 255, .14); }
.cifras-lista a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.cifras-lista strong { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; color: #c9e89a; }
.cifras-lista span { font-size: .92rem; }
@media (max-width: 640px) {
  .cifras-lista { grid-template-columns: 1fr 1fr; }
  .cifras-lista li:nth-child(3) a { border-left: 0; }
  .cifras-lista li:nth-child(n+3) a { border-top: 1px solid rgba(255, 255, 255, .14); }
}

/* Receta destacada */
.destacada { display: grid; gap: 40px; align-items: center; grid-template-columns: 1.05fr 1fr; }
.destacada-foto { position: relative; display: block; border-radius: 22px; overflow: hidden; box-shadow: var(--sombra); }
.destacada-foto img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.destacada-foto:hover img { transform: scale(1.04); }
.destacada-foto .rv { top: auto; bottom: 8px; color: rgba(255, 255, 255, .92); background: rgba(0, 0, 0, .5); }
@media (max-width: 820px) { .destacada { grid-template-columns: 1fr; gap: 24px; } }

/* ¿Qué buscas hoy? */
.antojos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.antojos a {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: var(--radio); background: var(--papel); border: 1px solid var(--linea);
  color: var(--tinta); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.antojos .mm-ico { grid-row: span 2; }
.antojos strong { font-size: 1rem; line-height: 1.25; }
.antojos small { color: var(--tinta-2); font-size: .85rem; line-height: 1.3; }
.antojos a:hover, .antojos a:focus-visible { transform: translateY(-3px); border-color: #c4d3a2; box-shadow: var(--sombra); color: var(--tinta); }
.antojos a:hover .mm-ico, .antojos a:focus-visible .mm-ico {
  transform: rotate(-8deg) scale(1.1); color: #fff; background: linear-gradient(145deg, #4f8a24, var(--verde-osc));
  box-shadow: 0 8px 18px rgba(59, 109, 25, .32);
}

/* Recomendaciones discretas (portada) */
.reco-discreta {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, var(--crema-2), #f3f5e9);
  border: 1px solid var(--linea); border-radius: 24px;
  padding: clamp(24px, 4vw, 44px);
}
.reco-discreta::before {
  content: ""; position: absolute; z-index: -1; right: -90px; top: -90px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(140, 193, 82, .18), transparent 70%);
}
.reco-discreta-cabecera { max-width: 60ch; margin-bottom: 28px; }
.reco-discreta-cabecera h2 { margin: 0 0 .3em; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.reco-discreta-cabecera p { margin: 0; color: var(--tinta-2); font-size: .98rem; }
.reco-columnas { display: grid; gap: 26px 36px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.reco-columnas > div { padding-top: 16px; border-top: 1px solid rgba(59, 109, 25, .18); }
.reco-columnas h3 {
  display: flex; align-items: center; gap: 8px; margin: 0 0 10px;
  font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ocre);
}
.reco-columnas h3 .ico { width: 16px; height: 16px; color: var(--verde); }
.reco-columnas p { margin: 0 0 .75em; font-size: .9rem; line-height: 1.65; color: var(--tinta-2); }
.reco-columnas a {
  color: inherit; text-decoration: underline; text-decoration-style: dotted;
  text-decoration-color: rgba(78, 89, 72, .35); text-decoration-thickness: 1px; text-underline-offset: 3px;
  transition: color .2s, text-decoration-color .2s;
}
.reco-columnas a:hover, .reco-columnas a:focus-visible { color: var(--verde); text-decoration-color: currentColor; }

/* --------------------------------------------------------------------------
   Pie de página
   -------------------------------------------------------------------------- */

.pie {
  --pie-fondo: #142010;
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--pie-fondo);
  color: #c9d3ba; font-size: .95rem;
  padding: calc(clamp(40px, 6vw, 90px) + 40px) 0 28px;
}
/* Ola de transición desde la página */
.pie-ola {
  position: absolute; top: -1px; left: 0; z-index: 1;
  width: 100%; height: clamp(40px, 6vw, 90px);
  color: var(--crema); transform: scaleY(-1);
}
/* Luces de fondo que se desplazan muy despacio */
.pie::before {
  content: ""; position: absolute; inset: -30%; z-index: -2;
  background:
    radial-gradient(38% 42% at 18% 30%, rgba(95, 160, 45, .32), transparent 70%),
    radial-gradient(30% 36% at 85% 20%, rgba(233, 185, 73, .16), transparent 70%),
    radial-gradient(40% 40% at 70% 95%, rgba(59, 109, 25, .38), transparent 70%);
  animation: pie-deriva 26s ease-in-out infinite alternate;
}
/* Trama de puntos que se desvanece hacia abajo */
.pie::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 75%);
}
@keyframes pie-deriva {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  100% { transform: translate3d(4%, -3%, 0) rotate(6deg); }
}
.pie-marca-agua {
  position: absolute; z-index: -1; right: -60px; bottom: -40px;
  width: min(46vw, 520px); height: auto; color: #b9de86; opacity: .09;
  animation: pie-flota 14s ease-in-out infinite alternate;
}
@keyframes pie-flota {
  from { transform: rotate(-4deg) translateY(0); }
  to { transform: rotate(3deg) translateY(-18px); }
}

.pie a { color: #eef3e2; text-decoration: none; }
.pie a:hover { color: #fff; }
.pie .logo { color: #fff; margin-bottom: 14px; font-size: 1.4rem; }

/* Llamada a la acción con borde degradado y efecto cristal */
.pie-cta {
  position: relative; display: grid; gap: 24px 40px; align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(24px, 4vw, 40px); margin-bottom: 56px; border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02));
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.pie-cta::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(120deg, rgba(185, 222, 134, .7), rgba(255, 255, 255, .06) 35%, rgba(255, 255, 255, .06) 65%, rgba(233, 185, 73, .65));
  background-size: 220% 220%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: pie-brillo 9s linear infinite;
}
@keyframes pie-brillo { to { background-position: 220% 0; } }
.pie-cta-etiqueta {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: #e9c46a; margin: 0 0 8px;
}
.pie .pie-cta-titulo {
  font-family: var(--serif); text-transform: none; letter-spacing: -.01em;
  font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.2; margin: 0 0 10px; color: #fff;
}
.pie .pie-cta-titulo::after { display: none; }
.pie-cta p:last-child { margin: 0; max-width: 56ch; }
.pie-cta-botones { display: flex; flex-wrap: wrap; gap: 12px; }
.pie .boton-primario { background: #8cc152; color: #10190b; box-shadow: 0 8px 24px rgba(140, 193, 82, .3); }
.pie .boton-primario:hover { background: #a3d46a; color: #10190b; box-shadow: 0 12px 30px rgba(140, 193, 82, .45); }
.pie .boton-primario span { transition: transform .2s; }
.pie .boton-primario:hover span { transform: translateX(4px); }
.boton-claro { border-color: rgba(255, 255, 255, .35); color: #fff; }
.pie .boton-claro:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); color: #fff; }
@media (max-width: 760px) { .pie-cta { grid-template-columns: 1fr; } }

/* Columnas */
.pie-rejilla { display: grid; gap: 40px 32px; grid-template-columns: 1.5fr 1fr 1fr 1fr; }
@media (max-width: 960px) { .pie-rejilla { grid-template-columns: 1fr 1fr 1fr; } .pie-marca { grid-column: 1 / -1; } }
@media (max-width: 600px) { .pie-rejilla { grid-template-columns: 1fr 1fr; } }
@media (max-width: 340px) { .pie-rejilla { grid-template-columns: 1fr; } }
.pie h2 {
  position: relative; color: #fff; font-size: .82rem; font-family: var(--sans); font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em; margin: 6px 0 20px; padding-bottom: 12px;
}
.pie h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, #8cc152, #e9c46a); transition: width .35s ease;
}
.pie-rejilla > div:hover h2::after { width: 56px; }
.pie ul { list-style: none; padding: 0; margin: 0; }
.pie li { margin-bottom: 10px; }
.pie-rejilla ul:not(.pie-sellos) a {
  position: relative; display: inline-block; padding-left: 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: padding-left .25s ease, background-size .3s ease, color .2s;
}
.pie-rejilla ul:not(.pie-sellos) a::before {
  content: "›"; position: absolute; left: -2px; top: -1px; opacity: 0; color: #e9c46a;
  transition: opacity .25s, left .25s;
}
.pie-rejilla ul:not(.pie-sellos) a:hover, .pie-rejilla ul:not(.pie-sellos) a:focus-visible {
  padding-left: 14px; background-size: 100% 1px; color: #fff;
}
.pie-rejilla ul:not(.pie-sellos) a:hover::before, .pie-rejilla ul:not(.pie-sellos) a:focus-visible::before { opacity: 1; left: 0; }

.pie-marca p { max-width: 42ch; }
.pie-sellos { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px !important; }
.pie-sellos li {
  display: inline-flex; align-items: center; gap: 6px; margin: 0;
  padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 500; color: #e6eed9;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.pie-sellos svg { width: 14px; height: 14px; color: #8cc152; }
.pie-nota { font-size: .82rem; color: #95a386; line-height: 1.6; }

/* Línea inferior */
.pie-base {
  position: relative; margin-top: 48px; padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: .86rem; color: #95a386;
}
.pie-base::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 222, 134, .45), rgba(233, 185, 73, .35), transparent);
}
.pie-base a { color: #dfe8d0; }
.pie-base a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.pie-arriba {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16); transition: background .2s, border-color .2s;
}
.pie .pie-arriba:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .35); text-decoration: none; }
.pie-arriba svg { width: 14px; height: 14px; transition: transform .25s; }
.pie-arriba:hover svg { transform: translateY(-3px); }

/* Aparición escalonada al llegar al pie (solo si hay JavaScript) */
.anim-pie .pie-cta, .anim-pie .pie-rejilla > div, .anim-pie .pie-base {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.anim-pie .pie.visible .pie-cta, .anim-pie .pie.visible .pie-rejilla > div, .anim-pie .pie.visible .pie-base { opacity: 1; transform: none; }
.anim-pie .pie.visible .pie-rejilla > div:nth-child(2) { transition-delay: .08s; }
.anim-pie .pie.visible .pie-rejilla > div:nth-child(3) { transition-delay: .16s; }
.anim-pie .pie.visible .pie-rejilla > div:nth-child(4) { transition-delay: .24s; }
.anim-pie .pie.visible .pie-base { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .pie::before, .pie-marca-agua, .pie-cta::before { animation: none; }
}

.subir {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--verde); color: #fff; box-shadow: var(--sombra); cursor: pointer;
  display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .2s;
}
.subir.visible { opacity: 1; pointer-events: auto; }
.subir svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .cabecera, .pie, .subir, .recetas, .reco-rejilla, .menu-boton, .botones, .saltar { display: none !important; }
  body { background: #fff; }
  .tarjeta { box-shadow: none; }
  .ingredientes { position: static; }
}
