:root {
  --cream: #FFFFFF;
  --cream-alt: #FBF7EF;
  --card: #FFFFFF;
  --terracotta: #BD5D38;
  --terracotta-dark: #9C4A2C;
  --green: #4A7A52;
  --ink: #4A3F35;
  --ink-soft: #7A6E5E;
  --border: #EDE3CE;
  --max: 1120px;
}

* { box-sizing: border-box; }

/* picture no usa display:contents: con width/height en el <img>
   eso estiraba la tapa del libro a la altura de toda la oferta. */
picture { display: block; line-height: 0; }
.hero-photo picture,
.feature-photo picture,
.recipe-photo picture,
.about-photo picture,
.recipe-full-photo picture,
.blog-card-photo picture {
  width: 100%;
  height: 100%;
}
.hero-author picture { display: inline-block; line-height: 0; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3, .display {
  font-family: 'Baloo 2', sans-serif;
  color: var(--ink);
  margin: 0;
  line-height: 1.1;
}

a { color: inherit; }

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max);
  margin: 0 auto;
}

.logo {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.5px;
  color: var(--terracotta);
}
.logo span { color: var(--ink); }

.nav-links {
  display: flex;
  gap: 26px;
  font-weight: 500;
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  opacity: 0.8;
}
.nav-links a:hover { opacity: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: 'Work Sans', sans-serif;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(189, 93, 56, 0.6);
}
.btn-primary:hover { background: var(--terracotta-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta); }

.btn-sm { padding: 10px 20px; font-size: 14px; }

.nav-right { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.lang-switch:hover { border-color: var(--terracotta); color: var(--terracotta); }
a.lang-switch { text-decoration: none; color: inherit; }

/* ---------- Decorative flourishes ---------- */
.decor {
  position: absolute;
  pointer-events: none;
  color: #C9A574;
  opacity: 0.55;
  z-index: 0;
}
section, header { position: relative; }
section > .wrap, header .nav { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -160px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189,93,56,0.10) 0%, rgba(189,93,56,0) 70%);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -160px;
  left: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,122,82,0.08) 0%, rgba(74,122,82,0) 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--terracotta);
}

.hero p.lead {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-trust {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-trust .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.hero-trust .chip svg { color: var(--green); flex-shrink: 0; }
.hero-trust strong { color: var(--ink); font-family: 'Baloo 2', sans-serif; font-size: 15px; }

.hero-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.hero-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--card);
  box-shadow: 0 2px 8px rgba(74,63,53,0.2);
}

.hero-photo-wrap { position: relative; }
.hero-photo-wrap::before {
  content: "";
  position: absolute;
  top: -16px;
  right: -16px;
  width: 92%;
  height: 92%;
  background: var(--terracotta);
  border-radius: 28px;
  z-index: 0;
  opacity: 0.85;
}
.hero-photo {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px -25px rgba(74, 63, 53, 0.35);
  border: 6px solid var(--card);
}
.hero-photo img { width: 100%; height: 420px; object-fit: cover; }

.hero-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(255, 251, 242, 0.95);
  padding: 12px 18px;
  border-radius: 16px;
  display: flex;
  gap: 14px;
  box-shadow: 0 12px 24px -12px rgba(0,0,0,0.25);
}
.hero-badge .num { font-family: 'Baloo 2', sans-serif; font-weight: 800; color: var(--terracotta); font-size: 20px; line-height: 1; }
.hero-badge .label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink-soft); }

/* ---------- Features ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--cream-alt); }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.section-head .kicker {
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  display: block;
}
.section-head h2 { font-size: 36px; margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 130px;
}

#incluye::before {
  content: "";
  position: absolute;
  top: -100px;
  right: 8%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189,93,56,0.08) 0%, rgba(189,93,56,0) 70%);
  z-index: 0;
  pointer-events: none;
}
#incluye::after {
  content: "";
  position: absolute;
  bottom: -120px;
  left: 6%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,122,82,0.07) 0%, rgba(74,122,82,0) 70%);
  z-index: 0;
  pointer-events: none;
}

.feature-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 14px 30px -20px rgba(74, 63, 53, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -18px rgba(74, 63, 53, 0.3);
}
.feature-photo {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 34px -14px rgba(74, 63, 53, 0.4);
  opacity: 0;
  transform: translateY(-10px) scale(0.97);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
  z-index: 5;
}
.feature-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-card:hover .feature-photo { opacity: 1; transform: translateY(0) scale(1); }
.feature-card .num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--terracotta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; }
.feature-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---------- Recipes ---------- */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

#recetas::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 10%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,122,82,0.07) 0%, rgba(74,122,82,0) 70%);
  z-index: 0;
  pointer-events: none;
}
#recetas::after {
  content: "";
  position: absolute;
  bottom: -140px;
  right: 5%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189,93,56,0.07) 0%, rgba(189,93,56,0) 70%);
  z-index: 0;
  pointer-events: none;
}

.recipe-card {
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 30px -20px rgba(74, 63, 53, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.recipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -18px rgba(74, 63, 53, 0.32);
}

.recipe-photo { position: relative; height: 160px; overflow: hidden; }
.recipe-photo img { width: 100%; height: 100%; object-fit: cover; }

.recipe-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(74, 63, 53, 0.75);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 999px;
}

.lock-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(74,63,53,0.05) 0%, rgba(74,63,53,0.55) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 10px;
}
.lock-pill {
  background: rgba(255,251,242,0.95);
  color: var(--terracotta);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.recipe-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.recipe-body h3 { font-size: 18px; margin-bottom: 10px; }

.macros {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.macro {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--cream-alt);
  padding: 4px 9px;
  border-radius: 8px;
}

.recipe-cta {
  margin-top: auto;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--terracotta);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ---------- Recipe modal ---------- */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(74, 63, 53, 0.55);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.open { display: flex; }

.modal {
  background: var(--cream);
  max-width: 680px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  border-radius: 24px;
  padding: 0;
  position: relative;
}
.modal-photo { height: 220px; }
.modal-photo img { width: 100%; height: 100%; object-fit: cover; }
.modal-content { padding: 28px 32px 36px; }
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--ink);
}
.modal-tag { color: var(--terracotta); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.modal h3 { font-size: 28px; margin: 8px 0 16px; }
.modal-stats { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.modal-stats .macro { background: var(--card); border: 1px solid var(--border); }
.modal-cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; }
.modal h4 { font-family: 'Baloo 2', sans-serif; font-size: 15px; color: var(--terracotta); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.03em; }
.modal ul, .modal ol { padding-left: 18px; margin: 0; font-size: 14.5px; }
.modal li { margin-bottom: 7px; }

/* ---------- Why / trust ---------- */
#por-que::before {
  content: "";
  position: absolute;
  top: -110px;
  left: 12%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,122,82,0.08) 0%, rgba(74,122,82,0) 70%);
  z-index: 0;
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: 20px;
  background: var(--card);
  box-shadow: 0 14px 30px -22px rgba(74, 63, 53, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -18px rgba(74, 63, 53, 0.3);
}
.why-icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--cream-alt);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--terracotta);
}
.why-card h3 { font-size: 17px; margin-bottom: 8px; }
.why-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- About the author ---------- */
#autor::before {
  content: "";
  position: absolute;
  bottom: -130px;
  right: 8%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189,93,56,0.08) 0%, rgba(189,93,56,0) 70%);
  z-index: 0;
  pointer-events: none;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.about-photo-wrap { position: relative; }
.about-photo-wrap::before {
  content: "";
  position: absolute;
  top: -16px;
  right: -16px;
  width: 92%;
  height: 92%;
  background: var(--terracotta);
  border-radius: 24px;
  z-index: 0;
  opacity: 0.85;
}
.about-photo {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  border: 6px solid var(--card);
  box-shadow: 0 24px 48px -20px rgba(74, 63, 53, 0.3);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-grid h2 { font-size: 30px; margin: 10px 0 18px; }
.about-grid p { font-size: 15.5px; color: var(--ink-soft); margin: 0 0 14px; }
.about-grid p:last-child { margin-bottom: 0; }

/* ---------- Pricing / CTA ---------- */
.offer {
  background: var(--ink);
  border-radius: 32px;
  padding: 56px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  color: var(--cream);
}
.offer-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.offer-photo picture {
  width: 100%;
  max-width: 300px;
}
.offer-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 1436;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
.offer h2 { color: #fff; font-size: 32px; margin-bottom: 14px; }
.offer p.lead { color: rgba(247,239,224,0.75); font-size: 16.5px; margin-bottom: 24px; }
.offer-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.offer-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(247,239,224,0.9); }
.offer-list svg { flex-shrink: 0; color: var(--terracotta); }

.price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.price-badge {
  display: inline-flex;
  align-items: center;
  font-family: 'Work Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cream);
  background: rgba(247, 239, 224, 0.1);
  border: 1px solid rgba(247, 239, 224, 0.25);
  padding: 8px 16px;
  border-radius: 999px;
}

.offer-form { display: flex; gap: 10px; max-width: 420px; }
.offer-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 999px;
  border: none;
  font-family: 'Work Sans', sans-serif;
  font-size: 14.5px;
}
.offer-card-hint { font-size: 13px; color: rgba(247,239,224,0.85); margin-top: 10px; }

/* Fondo blanco para el area de pago -- PayPal disena su formulario de tarjeta
   (Card Fields) asumiendo que va sobre fondo claro; sobre el marron oscuro de
   .offer, las etiquetas ("Billing address", checkboxes, texto legal) quedaban
   casi ilegibles porque ese texto es de PayPal y no podemos re-colorearlo. */
.offer-payment-panel {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
}
.paypal-trust-badge { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 12px; }
.offer-note { font-size: 12.5px; color: rgba(247,239,224,0.55); margin-top: 6px; }

/* ---------- FAQ ---------- */
#faq::before {
  content: "";
  position: absolute;
  bottom: -110px;
  right: 10%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,122,82,0.07) 0%, rgba(74,122,82,0) 70%);
  z-index: 0;
  pointer-events: none;
}
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 4px 24px;
  box-shadow: 0 10px 24px -20px rgba(74, 63, 53, 0.25);
  transition: box-shadow 0.2s ease;
}
.faq-item:hover { box-shadow: 0 14px 28px -18px rgba(74, 63, 53, 0.3); }
.faq-q {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
}
.faq-q .plus { color: var(--terracotta); font-size: 20px; transition: transform 0.2s ease; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  font-size: 15px;
  color: var(--ink-soft);
}
.faq-item.open .faq-a { padding-bottom: 18px; }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
}
footer::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(189,93,56,0.14) 0%, rgba(189,93,56,0) 70%);
  z-index: 0;
  pointer-events: none;
}
footer .decor { color: rgba(247,239,224,0.18); }
footer .wrap { position: relative; z-index: 1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.footer-brand .logo span { color: rgba(247,239,224,0.85); }
.footer-rights {
  font-size: 13px;
  color: rgba(247,239,224,0.55);
  margin-top: 10px;
}
.footer-col-title {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  color: rgba(247,239,224,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-col a {
  color: rgba(247,239,224,0.85);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-col a[href]:hover { color: var(--terracotta); }
.footer-col a:not([href]) { cursor: text; user-select: text; }
.footer-disclaimer-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  color: rgba(247,239,224,0.65);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.footer-disclaimer-toggle .plus { color: var(--terracotta); font-size: 17px; transition: transform 0.2s ease; }
.footer-disclaimer-toggle[aria-expanded="true"] .plus { transform: rotate(45deg); }
.footer-disclaimer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.footer-disclaimer-inner {
  font-size: 12.5px;
  color: rgba(247,239,224,0.5);
  max-width: 480px;
  line-height: 1.6;
  padding-top: 14px;
}
.footer-disclaimer-inner p { margin: 0 0 8px; }
.footer-disclaimer-inner p:last-child { margin-bottom: 0; }

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
.legal-back {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--terracotta);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.legal-back:hover { text-decoration: underline; }
.legal-content h1 { font-size: 34px; margin-bottom: 6px; }
.legal-updated { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 40px; }
.legal-content h2 { font-size: 19px; margin: 34px 0 10px; color: var(--ink); }
.legal-content p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; margin: 0 0 14px; }
.legal-content li { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; margin-bottom: 6px; }
.legal-content a { color: var(--terracotta); }
.legal-content a.btn { color: #fff; }

/* ---------- Free recipes page ---------- */
.recipes-page-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.recipes-page-head p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.6; margin-top: 10px; }
.recipe-full { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 40px; margin-bottom: 32px; box-shadow: 0 20px 45px -30px rgba(74,63,53,0.25); }
.recipe-full-top { display: grid; grid-template-columns: 300px 1fr; gap: 32px; margin-bottom: 28px; align-items: center; }
.recipe-full-photo { border-radius: 18px; overflow: hidden; height: 230px; }
.recipe-full-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recipe-full .modal-tag { display: block; margin-bottom: 6px; }
.recipe-full h2 { font-size: 28px; margin: 4px 0 14px; }
.recipe-full .modal-stats { margin-bottom: 0; }
.recipe-full-cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; }
.recipe-full h3.recipe-sub { font-family: 'Baloo 2', sans-serif; font-size: 15px; color: var(--terracotta); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.03em; }
.recipe-full ul, .recipe-full ol { padding-left: 18px; margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--ink); }
.recipe-full li { margin-bottom: 7px; }
.recipes-more { text-align: center; margin: 56px 0 8px; }
.recipes-more h2 { font-size: 24px; margin-bottom: 24px; }

/* ---------- What's included page ---------- */
.included-section { max-width: 760px; margin: 0 auto 56px; }
.included-section h2 { font-size: 26px; margin-bottom: 14px; }
.included-section > p { color: var(--ink-soft); font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 20px 0 0; }
.chip-list li { background: var(--cream-alt); border: 1px solid var(--border); border-radius: 999px; padding: 8px 18px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.check-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 12px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; color: var(--ink); line-height: 1.5; }
.check-list svg { flex-shrink: 0; color: var(--terracotta); margin-top: 3px; }
.macro-example { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.macro-example li { background: var(--cream-alt); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; font-size: 14.5px; font-weight: 600; color: var(--ink); }

/* ---------- Blog ---------- */
.blog-meta { color: var(--ink-soft); font-size: 13.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 10px; }
.blog-hero-img { width: 100%; border-radius: 18px; overflow: hidden; margin: 20px 0 28px; }
.blog-hero-img img { width: 100%; height: 320px; object-fit: cover; display: block; }
.related-posts { margin: 48px 0 8px; }
.related-posts h2 { font-size: 22px; margin: 0 0 14px; }
.related-posts-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.related-posts-list a { color: var(--terracotta); font-weight: 600; text-decoration: none; }
.related-posts-list a:hover { text-decoration: underline; }
.not-found .kicker { letter-spacing: 0.12em; }
.not-found .btn { margin-top: 8px; }

.blog-cta { background: var(--ink); border-radius: 20px; padding: 32px; text-align: center; margin: 40px 0; }
.blog-cta p { color: rgba(247,239,224,0.85) !important; margin-bottom: 16px !important; }
.blog-list { max-width: 900px; margin: 0 auto; padding: 56px 24px 96px; display: grid; gap: 24px; }
.blog-card { display: grid; grid-template-columns: 220px 1fr; gap: 24px; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 20px; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -25px rgba(74,63,53,0.3); }
.blog-card-photo { border-radius: 14px; overflow: hidden; height: 140px; }
.blog-card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card h2 { font-size: 20px; color: var(--ink); margin: 4px 0 8px; }
.blog-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; margin: 0; }
@media (max-width: 560px) {
  .blog-card { grid-template-columns: 1fr; }
  .blog-hero-img img { height: 200px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 360px; margin: 0 auto; }
  .hero h1 { font-size: 38px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .offer { grid-template-columns: 1fr; padding: 32px; }
  .offer-photo picture { max-width: 220px; margin: 0 auto; }
  .modal-cols { grid-template-columns: 1fr; }
  .recipe-full-top { grid-template-columns: 1fr; }
  .recipe-full-cols { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 8px; }
}

@media (max-width: 560px) {
  .feature-grid, .recipe-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .offer-form { flex-direction: column; }
  .recipe-full { padding: 24px; }
}

/* ---------- Chat widget (bot de preguntas pre-compra) ---------- */
.chat-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(189, 93, 56, 0.6);
  z-index: 999;
  transition: transform 0.15s ease;
}
.chat-bubble:hover { transform: scale(1.06); }
.chat-panel {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 340px;
  max-width: calc(100vw - 32px);
  height: 460px;
  max-height: calc(100vh - 140px);
  background: var(--cream);
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(74, 63, 53, 0.4);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 999;
  border: 1px solid var(--border);
}
.chat-panel.open { display: flex; }
.chat-panel-header {
  background: var(--ink);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 15px;
}
.chat-panel-close { background: none; border: none; color: #fff; cursor: pointer; font-size: 18px; opacity: 0.8; line-height: 1; padding: 0; }
.chat-panel-close:hover { opacity: 1; }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 14px; line-height: 1.5; }
.chat-msg.bot { background: var(--cream-alt); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--terracotta); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg.loading { display: flex; gap: 4px; align-items: center; padding: 12px 14px; }
.chat-msg.loading span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-soft); animation: chatBounce 1.2s infinite ease-in-out; display: inline-block; }
.chat-msg.loading span:nth-child(2) { animation-delay: 0.15s; }
.chat-msg.loading span:nth-child(3) { animation-delay: 0.3s; }
@keyframes chatBounce { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; } 40% { transform: scale(1); opacity: 1; } }
.chat-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); background: var(--cream); }
.chat-input-row input { flex: 1; min-width: 0; border: 1px solid var(--border); border-radius: 999px; padding: 10px 16px; font-size: 14px; font-family: 'Work Sans', sans-serif; outline: none; }
.chat-input-row input:focus { border-color: var(--terracotta); }
.chat-input-row button { background: var(--terracotta); color: #fff; border: none; border-radius: 999px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.chat-input-row button:disabled { opacity: 0.5; cursor: default; }
@media (max-width: 560px) {
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 88px; }
  .chat-bubble { right: 16px; bottom: 16px; }
}
