/* 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;
}

/* ==========================================================================
   albóndigas.com — hoja de estilos principal
   ========================================================================== */

:root {
  --crema: #fbf6ef;
  --crema-2: #f4ebdf;
  --papel: #ffffff;
  --tinta: #2b211c;
  --tinta-2: #5e5049;
  --linea: #e6d9c8;
  --tomate: #b8321f;
  --tomate-osc: #8f2414;
  --oliva: #5f7a1f;
  --oliva-claro: #eef3dc;
  --madera: #8a5a36;
  --radio: 14px;
  --sombra: 0 1px 2px rgba(43, 33, 28, .06), 0 8px 24px rgba(43, 33, 28, .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(--tomate); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--tomate-osc); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--oliva); 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.4rem); }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); margin-top: 2.2em; }
h3 { font-size: 1.3rem; margin-top: 1.8em; }
p { margin: 0 0 1.1em; }

.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(251, 246, 239, .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.35rem; font-weight: 700;
  color: var(--tinta); text-decoration: none; letter-spacing: -.02em;
}
.logo:hover { color: var(--tinta); text-decoration: none; }
.logo-bola {
  width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #d9643f 0, var(--tomate) 45%, var(--tomate-osc) 100%);
  box-shadow: inset -3px -4px 0 rgba(0, 0, 0, .15);
  position: relative;
}
.logo-bola::after {
  content: ""; position: absolute; width: 9px; height: 6px; border-radius: 50% 50% 50% 0;
  background: var(--oliva); top: -2px; right: 2px; transform: rotate(-20deg);
}
.logo small { color: var(--tomate); font-weight: 500; font-size: 1em; margin-left: -10px; }
.pie .logo small { color: #ffcf9e; }

.menu-boton {
  display: none; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--linea); border-radius: 999px;
  padding: 8px 14px; font: inherit; font-size: .95rem; color: var(--tinta); cursor: pointer;
}
.menu-boton svg { width: 18px; height: 18px; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav a {
  display: block; padding: 8px 10px; border-radius: 999px; white-space: nowrap;
  color: var(--tinta-2); text-decoration: none; font-size: .95rem; font-weight: 500;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--crema-2); color: var(--tinta); }
.nav a.active, .nav a[aria-current="page"] { background: var(--tomate); color: #fff; }

/* Submenú «Más recetas» */
.con-sub { position: relative; }
.sub-boton {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 10px; border-radius: 999px; border: 0; background: none; cursor: pointer; white-space: nowrap;
  font: inherit; font-size: .95rem; font-weight: 500; color: var(--tinta-2);
}
.sub-boton:hover { background: var(--crema-2); color: var(--tinta); }
.sub-boton svg { width: 14px; height: 14px; transition: transform .15s; }
.sub-boton.active { background: var(--tomate); color: #fff; }
.nav .sub {
  display: none; position: absolute; top: 100%; left: 0; z-index: 60;
  flex-direction: column; gap: 2px; min-width: 230px;
  margin-top: 6px; padding: 6px;
  background: var(--papel); border: 1px solid var(--linea); border-radius: 14px;
  box-shadow: 0 16px 36px rgba(43, 33, 28, .14);
}
.nav .sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav .sub a { border-radius: 10px; }
.con-sub.abierto .sub, .con-sub:hover .sub, .con-sub:focus-within .sub { display: flex; }
.con-sub.abierto .sub-boton svg, .con-sub:hover .sub-boton svg { transform: rotate(180deg); }

@media (max-width: 1200px) {
  .sub-boton { width: 100%; justify-content: space-between; border-radius: 10px; padding: 12px 14px; font-size: 1rem; }
  .nav .sub {
    position: static; box-shadow: none; border: 0; border-left: 2px solid var(--linea);
    border-radius: 0; margin: 2px 0 6px 14px; padding: 0 0 0 8px; min-width: 0; background: none;
  }
  .con-sub:hover .sub, .con-sub:focus-within .sub { display: none; }
  .con-sub.abierto .sub { display: flex; }
}

@media (max-width: 1200px) {
  .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 12px 24px rgba(43, 33, 28, .08);
    display: none; padding: 8px 16px 16px;
  }
  .nav.abierto { display: block; }
  .nav ul { flex-direction: column; gap: 2px; }
  .nav a { border-radius: 10px; padding: 12px 14px; font-size: 1rem; }
}

/* --------------------------------------------------------------------------
   Portada (index)
   -------------------------------------------------------------------------- */

.portada {
  position: relative; overflow: hidden;
  min-height: clamp(460px, 68vh, 640px);
  display: flex; align-items: center;
  background: #3a2a20;
  color: #fff;
}
.portada img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 70% center;
}
.portada::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(30, 18, 12, .86) 0%, rgba(30, 18, 12, .62) 38%, rgba(30, 18, 12, .08) 72%, rgba(30, 18, 12, 0) 100%);
}
.portada .contenedor { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 56px; }
.portada-texto { max-width: 560px; }
.etiqueta {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #f3d9a9; margin-bottom: 14px;
}
.portada h1 { color: #fff; margin-bottom: .35em; }
.portada h1 em { font-style: italic; color: #ffcf9e; font-weight: 500; }
.portada p { font-size: 1.15rem; color: rgba(255, 255, 255, .9); max-width: 46ch; }

/* Variante con el texto a la derecha (cuando el plato está a la izquierda de la foto) */
.portada.portada-derecha img { object-position: 30% center; }
.portada-derecha .portada-texto { margin-left: auto; }
.portada-derecha::before {
  background: linear-gradient(270deg, rgba(30, 18, 12, .86) 0%, rgba(30, 18, 12, .62) 38%, rgba(30, 18, 12, .08) 72%, rgba(30, 18, 12, 0) 100%);
}

@media (max-width: 720px) {
  .portada.portada-derecha img { object-position: 22% center; }
  .portada-derecha .portada-texto { margin-left: 0; }
  .portada { min-height: 520px; align-items: flex-end; }
  .portada img { object-position: 72% center; }
  .portada::before { background: linear-gradient(0deg, rgba(30, 18, 12, .92) 0%, rgba(30, 18, 12, .7) 45%, rgba(30, 18, 12, .1) 100%); }
}

.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(--tomate); color: #fff; }
.boton-primario:hover { background: var(--tomate-osc); color: #fff; }
.boton-claro { border-color: rgba(255, 255, 255, .6); color: #fff; }
.boton-claro:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.boton-borde { border-color: var(--tomate); color: var(--tomate); background: transparent; }
.boton-borde:hover { background: var(--tomate); color: #fff; }

/* Cabecera interior (resto de páginas) */
.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 .contenedor {
  display: grid; gap: 32px; 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: 20px; box-shadow: var(--sombra);
}
@media (max-width: 820px) {
  .cabecera-receta .contenedor { grid-template-columns: 1fr; }
  .cabecera-receta figure { order: -1; }
}

/* 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(--madera); }
.migas a { color: var(--tinta-2); }
.portada .migas, .portada .migas a { color: rgba(255, 255, 255, .8); }
.portada .migas li + li::before { color: #ffcf9e; }
h2[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(--tomate); flex: none; }
.portada .datos li { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; }
.portada .datos svg { color: #ffcf9e; }

/* --------------------------------------------------------------------------
   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, .ingredientes h3 { margin-top: 0; font-size: 1.35rem; }
.ingredientes h3 { margin-top: 1.4em; font-size: 1.1rem; color: var(--oliva); font-family: var(--sans); font-weight: 700; }

.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(--oliva-claro); border: 2px solid var(--oliva);
}
.lista-check li::after {
  content: ""; position: absolute; left: 6px; top: 17px; width: 6px; height: 9px;
  border: solid var(--oliva); 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(--tomate); 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 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(--tomate); }
.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; }
/* Aviso discreto en fotos generadas o retocadas con IA */
.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, .8); background: rgba(0, 0, 0, .28);
  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; }
@media (max-width: 600px) { .flotante { float: none; width: 100%; margin: 0 0 18px; } }

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

.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; }

/* 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(--oliva); }
.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(43, 33, 28, .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(--tomate); 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 */
.recomendaciones {
  background: var(--crema-2); border-radius: var(--radio); padding: 24px 28px; margin-top: 2.4em;
  font-size: .97rem;
}
.recomendaciones h2 { font-size: 1.25rem; margin-top: 0; }

/* Recomendaciones de la portada */
.recomendaciones-portada { padding-top: 0; }
.reco-banner {
  position: relative; overflow: hidden; border-radius: 22px;
  min-height: 340px; display: flex; align-items: flex-end;
  background: #3a2a20; box-shadow: var(--sombra);
}
.reco-banner img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 60%;
}
.reco-banner::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(30, 18, 12, .85) 0%, rgba(30, 18, 12, .55) 40%, rgba(30, 18, 12, 0) 75%);
}
.reco-banner-texto { position: relative; z-index: 2; padding: 40px; max-width: 540px; color: #fff; }
.reco-banner-texto h2 { color: #fff; margin: 0 0 .4em; }
.reco-banner-texto p { color: rgba(255, 255, 255, .9); margin: 0; }
@media (max-width: 720px) {
  .reco-banner { min-height: 420px; }
  .reco-banner img { object-position: 65% center; }
  .reco-banner::before { background: linear-gradient(0deg, rgba(30, 18, 12, .9) 0%, rgba(30, 18, 12, .6) 50%, rgba(30, 18, 12, .05) 100%); }
  .reco-banner-texto { padding: 24px; }
}

.reco-rejilla {
  display: grid; gap: 20px; margin-top: 24px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 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: #d6c2a8; 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(--tomate);
}
.reco-icono svg { width: 22px; height: 22px; }
.reco a, .recomendaciones a {
  color: inherit; font-weight: 500;
  text-decoration: underline; text-decoration-style: dotted;
  text-decoration-color: rgba(138, 90, 54, .5); text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.reco a:hover, .recomendaciones a:hover { color: var(--tomate); text-decoration-color: currentColor; }

/* Guía de salsas */
.salsa { scroll-margin-top: 90px; padding-top: 8px; }
.salsa + .salsa { border-top: 1px solid var(--linea); margin-top: 48px; padding-top: 48px; }
.salsa h2 { margin-top: 0; }
.salsa .rejilla-receta { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
@media (max-width: 900px) { .salsa .rejilla-receta { grid-template-columns: 1fr; } }
.salsa .ingredientes { position: static; }
.combina { font-size: .95rem; color: var(--tinta-2); margin-top: 8px; }
.combina strong { color: var(--oliva); }

.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 th, .tabla td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--linea); vertical-align: top; }
.tabla th { background: var(--crema-2); font-weight: 600; }
.tabla tr:last-child td { 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(--tomate); 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; }

/* 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(95, 122, 31, .35); border-color: var(--oliva); }
.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; }
.formulario .casilla label { font-weight: 400; margin: 0; }

.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; } }

.lectura { max-width: 780px; }

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

.pie { background: #2b211c; color: #d9cbbb; padding: 56px 0 28px; margin-top: 0; font-size: .95rem; }
.pie a { color: #f3e6d6; text-decoration: none; }
.pie a:hover { color: #fff; text-decoration: underline; }
.pie-rejilla { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 860px) { .pie-rejilla { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pie-rejilla { grid-template-columns: 1fr; } }
.pie h2 { color: #fff; font-size: 1rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; }
.pie ul { list-style: none; padding: 0; margin: 0; }
.pie li { margin-bottom: 8px; }
.pie .logo { color: #fff; margin-bottom: 12px; }
.pie-base {
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .88rem; color: #b5a493;
}

.subir {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--tomate); 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, .recomendaciones, .menu-boton { display: none !important; }
  body { background: #fff; }
  .tarjeta { box-shadow: none; }
}
