/* ============================================================
   Parábolas Vivientes — Chispas de Fe
   Editorial / candlelight aesthetic
   ============================================================ */

:root {
  --cream: #f8f0e2;
  --cream-2: #f1e3ca;
  --cream-3: #ece0c9;
  --paper-edge: #e6d5ac;
  --ink: #2b2016;
  --ink-soft: #55483a;
  --ink-faint: #8a7a68;
  --terracotta: #c14a26;
  --terracotta-dark: #8f3319;
  --terracotta-ink: #7a2c17;
  --gold: #b8863f;
  --gold-soft: #d9b876;
  --line: rgba(43, 32, 22, 0.14);
  --line-soft: rgba(43, 32, 22, 0.08);
  --shadow-color: 24 16 8;

  --font-display: "Fraunces", "Iowan Old Style", ui-serif, Georgia, serif;
  --font-body: "Lora", "Iowan Old Style", ui-serif, Georgia, serif;

  --container: 1120px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle paper grain, sits fixed behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.15 0 0 0 0 0.11 0 0 0 0 0.07 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

/* ---------- Typography helpers ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  font-weight: 600;
}
.eyebrow .spark { width: 14px; height: 14px; }

em.accent {
  font-style: italic;
  font-weight: 500;
  color: var(--terracotta);
}

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 54ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16.5px;
  padding: 16px 30px;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  color: var(--cream);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 10px 24px -8px rgba(140, 50, 22, 0.55);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.22) inset, 0 16px 30px -8px rgba(140, 50, 22, 0.65);
}
.btn-primary:active { transform: translateY(0px); }
.btn-primary .arrow { transition: transform 0.25s ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }

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

.btn-block { width: 100%; justify-content: center; }

.cta-note {
  font-size: 13.5px;
  color: var(--ink-faint);
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cta-note .dot { opacity: 0.5; }

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 240, 226, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
}
.brand .spark-mark { width: 22px; height: 22px; flex: none; }
.brand-name { line-height: 1.1; }
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn { padding: 11px 22px; font-size: 14.5px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 90px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193,74,38,0.22) 0%, rgba(193,74,38,0) 70%);
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.06;
  margin-bottom: 22px;
}
.hero .lede { margin-bottom: 34px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; }

.hero-proof {
  display: flex;
  gap: 26px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.proof-item { display: flex; flex-direction: column; }
.proof-num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--terracotta-dark);
}
.proof-label {
  font-size: 12.5px;
  color: var(--ink-faint);
  letter-spacing: 0.03em;
}

/* ---------- Book mockup ---------- */
.hero-visual { position: relative; display: flex; justify-content: center; z-index: 1; min-width: 0; }
.book {
  position: relative;
  width: 300px;
  aspect-ratio: 3 / 4.3;
  border-radius: 6px 10px 10px 6px;
  transform: rotate(-6deg);
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  box-shadow:
    0 2px 0 1px rgba(0,0,0,0.05),
    18px 30px 50px -16px rgba(var(--shadow-color), 0.55);
}
.hero-visual:hover .book { transform: rotate(-1deg) translateY(-6px); }
.book-cover {
  position: absolute;
  inset: 0;
  border-radius: 6px 10px 10px 6px;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(255,255,255,0.10), transparent 55%),
    linear-gradient(155deg, #d1602f 0%, #b8461f 42%, #7c2a15 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 26px;
  color: var(--cream);
  overflow: hidden;
}
.book-cover::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(248, 240, 226, 0.35);
  border-radius: 3px 7px 7px 3px;
  pointer-events: none;
}
.book-spark {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--gold-soft);
}
.book-kicker {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 14px;
}
.book-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.05;
  margin-bottom: 16px;
}
.book-sub {
  font-size: 13.5px;
  opacity: 0.88;
  line-height: 1.5;
  max-width: 22ch;
}
.book-foot {
  position: absolute;
  bottom: 22px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}
.book-pages {
  position: absolute;
  top: 3%;
  bottom: 3%;
  right: -7px;
  width: 10px;
  background: repeating-linear-gradient(180deg, var(--cream) 0, var(--cream) 2px, var(--paper-edge) 2px, var(--paper-edge) 4px);
  border-radius: 0 4px 4px 0;
  box-shadow: 2px 0 4px rgba(0,0,0,0.15) inset;
}
.book-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px 10px 10px 6px;
  display: block;
}

/* ---------- Sections generic ---------- */
section { position: relative; z-index: 1; }
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-cream2 { background: var(--cream-2); }
.section-header { max-width: 640px; margin-bottom: 52px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header .eyebrow { margin-bottom: 16px; }
.section-header h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
  margin-bottom: 18px;
}
.section-header p { color: var(--ink-soft); font-size: 17.5px; }

.divider-spark {
  display: flex;
  justify-content: center;
  margin: 0 auto 20px;
  width: 26px;
  height: 26px;
  color: var(--gold);
}

/* ---------- Problem / agitate ---------- */
.agitate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.agitate-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.agitate-card .mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  color: var(--terracotta);
  margin-bottom: 14px;
  display: block;
}
.agitate-card h3 {
  font-size: 18.5px;
  margin-bottom: 10px;
  font-weight: 600;
}
.agitate-card p { color: var(--ink-soft); font-size: 15.5px; margin: 0; }

/* ---------- Sample entry card ---------- */
.sample-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.sample-side { min-width: 0; }
.sample-side .section-header { margin-bottom: 26px; }
.format-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.format-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-soft);
}
.format-list .tag {
  flex: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  color: var(--terracotta-dark);
  background: rgba(193,74,38,0.1);
  border-radius: 6px;
  padding: 4px 9px;
  letter-spacing: 0.02em;
  margin-top: 1px;
}

.entry-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 38px;
  box-shadow: 0 30px 60px -30px rgba(var(--shadow-color), 0.35);
  position: relative;
  min-width: 0;
}
.entry-card::before {
  content: "01";
  position: absolute;
  top: -22px;
  left: 34px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  background: var(--terracotta);
  color: var(--cream);
  border-radius: 100px;
  padding: 6px 16px;
  box-shadow: 0 8px 16px -6px rgba(140,50,22,0.5);
}
.entry-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-top: 6px;
}
.entry-block { margin-bottom: 18px; }
.entry-block:last-child { margin-bottom: 0; }
.entry-label {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}
.entry-block p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.entry-block.reflexion p { color: var(--ink); }

/* ---------- Benefits ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 34px;
}
.benefit {
  display: flex;
  gap: 16px;
}
.benefit .icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
}
.benefit .icon svg { width: 20px; height: 20px; }
.benefit h3 { font-size: 16.5px; margin-bottom: 6px; font-weight: 600; }
.benefit p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- For whom ---------- */
.forwhom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.forwhom-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--cream), var(--cream-2));
}
.forwhom-card h3 { font-size: 17px; margin-bottom: 8px; }
.forwhom-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Delivery strip ---------- */
.delivery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.delivery-item {
  text-align: center;
  padding: 26px 16px;
}
.delivery-item .icon {
  width: 44px; height: 44px;
  margin: 0 auto 14px;
  color: var(--terracotta-dark);
}
.delivery-item h4 { font-size: 15px; margin-bottom: 6px; }
.delivery-item p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* ---------- Guarantee ---------- */
.guarantee {
  background: linear-gradient(155deg, #2b2016 0%, #3a2b1c 100%);
  border-radius: 28px;
  padding: 64px;
  color: var(--cream);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.guarantee::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(216,164,84,0.18), transparent 70%);
  top: -140px; left: -100px;
}
.guarantee-badge {
  width: 132px; height: 132px;
  border-radius: 50%;
  border: 1.5px dashed rgba(248,240,226,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  flex: none;
  position: relative;
  z-index: 1;
}
.guarantee-badge .num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--gold-soft);
  line-height: 1;
}
.guarantee-badge .label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.85;
}
.guarantee-body { position: relative; z-index: 1; min-width: 0; }
.guarantee-body h2 {
  color: var(--cream);
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 14px;
}
.guarantee-body p {
  color: rgba(248,240,226,0.78);
  font-size: 16px;
  max-width: 56ch;
  margin: 0 0 22px;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item .plus::before, .faq-item .plus::after {
  content: "";
  position: absolute;
  background: var(--terracotta-dark);
}
.faq-item .plus::before { width: 10px; height: 1.5px; }
.faq-item .plus::after { width: 1.5px; height: 10px; transition: opacity 0.2s ease; }
.faq-item[open] .plus { transform: rotate(180deg); background: var(--terracotta); }
.faq-item[open] .plus::before, .faq-item[open] .plus::after { background: var(--cream); }
.faq-item[open] .plus::after { opacity: 0; }
.faq-item p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  max-width: 70ch;
}

/* ---------- Final CTA ---------- */
.final-cta { text-align: center; padding: 100px 0 110px; }
.final-cta h2 {
  font-size: clamp(30px, 4.4vw, 46px);
  margin: 0 auto 20px;
  max-width: 18ch;
}
.final-cta .lede { margin: 0 auto 36px; text-align: center; }
.final-cta .hero-actions { align-items: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(248,240,226,0.72);
  padding: 56px 0 30px;
  font-size: 13.5px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(248,240,226,0.14);
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--cream); font-family: var(--font-display); font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.footer-brand svg { width: 20px; height: 20px; color: var(--gold-soft); }
.footer-col h5 {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 14px;
  opacity: 0.85;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; color: rgba(248,240,226,0.72); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-legal {
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-legal p { margin: 0; line-height: 1.6; color: rgba(248,240,226,0.55); }
.footer-disclaimer { max-width: 78ch; }
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  color: rgba(248,240,226,0.45);
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--cream);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.45);
  z-index: 100;
  transform: translateY(140%);
  transition: transform 0.5s cubic-bezier(.2,.8,.2,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner p { margin: 0; font-size: 13px; line-height: 1.5; color: rgba(248,240,226,0.82); }
.cookie-banner a { color: var(--gold-soft); text-decoration: underline; }
.cookie-banner button {
  flex: none;
  background: var(--terracotta);
  color: var(--cream);
  border: none;
  padding: 10px 18px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
}

/* ---------- Legal pages ---------- */
.legal-page { padding: 60px 0 100px; }
.legal-page .container { max-width: 800px; }
.legal-page h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 8px; }
.legal-updated { color: var(--ink-faint); font-size: 14px; margin-bottom: 44px; }
.legal-page h2 {
  font-size: 21px;
  margin-top: 42px;
  margin-bottom: 14px;
}
.legal-page p, .legal-page li { color: var(--ink-soft); font-size: 15.5px; line-height: 1.75; }
.legal-page ul, .legal-page ol { padding-left: 22px; }
.legal-page li { margin-bottom: 8px; }
.legal-page strong { color: var(--ink); }
.legal-box {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 24px 0;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--terracotta-dark);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 36px;
}
.back-link:hover { text-decoration: underline; }

/* ---------- Site nav menu (blog) ---------- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--terracotta-dark); }
.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ============================================================
   Blog
   ============================================================ */

/* ---------- Blog hero ---------- */
.blog-hero { padding: 56px 0 20px; }
.blog-hero h1 { font-size: clamp(32px, 4.6vw, 48px); line-height: 1.1; margin-bottom: 16px; }
.blog-hero .lede { max-width: 62ch; }

/* ---------- Category filter ---------- */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}
.category-filter button {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.category-filter button:hover { border-color: var(--gold); }
.category-filter button.active {
  background: var(--terracotta-dark);
  color: var(--cream);
  border-color: var(--terracotta-dark);
}
.post-card.is-hidden { display: none; }

/* ---------- Post grid & cards ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.post-grid.featured-grid { grid-template-columns: 1.3fr 1fr; align-items: stretch; margin-bottom: 8px; }
.post-grid.featured-grid.solo { grid-template-columns: 1fr; }
.post-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s ease;
  min-width: 0;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px -22px rgba(var(--shadow-color), 0.35);
}
.post-card-media {
  position: relative;
  aspect-ratio: 1200 / 630;
  background: linear-gradient(155deg, var(--cream-3), var(--cream-2));
  overflow: hidden;
}
.post-card.featured .post-card-media { aspect-ratio: 1200 / 630; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-cat {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(43,32,22,0.82);
  color: var(--cream);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
}
.post-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex-grow: 1; }
.post-card-meta {
  font-size: 12px;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.post-card h3, .post-card h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18.5px;
  line-height: 1.28;
  margin: 0 0 10px;
  color: var(--ink);
}
.post-card.featured h2, .post-card.featured h3 { font-size: 26px; }
.post-card p.excerpt {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 14px;
  flex-grow: 1;
}
.post-card-more {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--terracotta-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 56px;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  border: 1px solid transparent;
}
.pagination a:hover { border-color: var(--line); color: var(--ink); }
.pagination .current { background: var(--terracotta); color: var(--cream); }
.pagination .disabled { opacity: 0.35; pointer-events: none; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.breadcrumbs a { color: var(--ink-faint); text-decoration: none; }
.breadcrumbs a:hover { color: var(--terracotta-dark); }

/* ---------- Article ---------- */
.article-page { padding: 44px 0 90px; }
.article-header { max-width: 760px; margin: 0 auto 34px; }
.article-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  background: rgba(193,74,38,0.1);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.article-header h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.14;
  margin: 0 0 18px;
}
.article-dek { font-size: 18px; color: var(--ink-soft); line-height: 1.6; margin: 0 0 24px; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--ink-faint);
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}
.article-meta .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--terracotta), var(--terracotta-dark));
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  flex: none;
}
.article-meta strong { color: var(--ink); }
.article-cover {
  max-width: 920px;
  margin: 0 auto 40px;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/8;
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.article-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-soft);
}
.article-body h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  color: var(--ink);
  margin: 46px 0 18px;
  line-height: 1.25;
}
.article-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  color: var(--ink);
  margin: 34px 0 14px;
}
.article-body p { margin: 0 0 22px; }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 24px; }
.article-body li { margin-bottom: 10px; }
.article-body strong { color: var(--ink); }
.article-body a { color: var(--terracotta-dark); text-decoration-color: rgba(193,74,38,0.4); }
.article-body img { border-radius: 14px; margin: 8px 0 30px; border: 1px solid var(--line-soft); }
.article-body blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink);
}
.article-footer {
  max-width: 720px;
  margin: 40px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.article-tag {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--cream-2);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 100px;
  text-decoration: none;
}
.article-tag:hover { border-color: var(--terracotta); color: var(--terracotta-dark); }

/* ---------- Ebook promo box ---------- */
.ebook-promo {
  max-width: 720px;
  margin: 44px auto;
  background: linear-gradient(155deg, #2b2016 0%, #3a2b1c 100%);
  border-radius: 22px;
  padding: 34px;
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--cream);
}
.ebook-promo-cover { flex: none; width: 84px; border-radius: 6px 9px 9px 6px; overflow: hidden; box-shadow: 8px 14px 24px -10px rgba(0,0,0,0.5); }
.ebook-promo-cover img { width: 100%; height: auto; display: block; }
.ebook-promo-body { min-width: 0; }
.ebook-promo-kicker { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 8px; font-weight: 600; }
.ebook-promo h4 { font-family: var(--font-display); font-weight: 600; font-size: 19px; margin: 0 0 8px; color: var(--cream); }
.ebook-promo p { font-size: 14.5px; color: rgba(248,240,226,0.78); margin: 0 0 16px; line-height: 1.55; }
.ebook-promo .btn { padding: 11px 22px; font-size: 14px; }

/* ---------- Related posts ---------- */
.related-posts { max-width: 1120px; margin: 70px auto 0; padding: 0 28px; }
.related-posts h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 24px; text-align: center; }

/* ---------- Sobre / Contacto ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-hero-media { border-radius: 22px; overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(155deg, var(--cream-3), var(--cream-2)); display: flex; align-items: center; justify-content: center; }
.about-hero-media svg { width: 96px; height: 96px; color: var(--terracotta); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 20px; }
.value-card { padding: 28px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--cream); }
.value-card .icon { width: 40px; height: 40px; color: var(--terracotta); margin-bottom: 16px; }
.value-card h3 { font-size: 17px; margin-bottom: 8px; }
.value-card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-card { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.contact-card h3 { font-size: 16px; margin: 0 0 6px; }
.contact-card p { margin: 0 0 4px; color: var(--ink-soft); font-size: 15px; }
.contact-card a { color: var(--terracotta-dark); font-weight: 600; text-decoration: none; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-row:last-child { margin-bottom: 0; }
.contact-row .icon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--terracotta); }
.contact-row .icon svg { width: 19px; height: 19px; }

/* ---------- Libros (books showcase) ---------- */
.book-showcase {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--line-soft);
}
.book-showcase:last-child { border-bottom: none; }
.book-showcase-cover { border-radius: 6px 10px 10px 6px; overflow: hidden; box-shadow: 14px 22px 40px -16px rgba(var(--shadow-color), 0.4); transform: rotate(-3deg); }
.book-showcase-cover img { width: 100%; height: auto; display: block; }
.book-showcase-eyebrow { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 10px; }
.book-showcase h2 { font-family: var(--font-display); font-size: 26px; margin: 0 0 12px; }
.book-showcase p { color: var(--ink-soft); font-size: 15.5px; margin: 0 0 20px; max-width: 56ch; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 120px 0; }
.error-page .code { font-family: var(--font-display); font-weight: 600; font-size: 96px; color: var(--terracotta); line-height: 1; margin-bottom: 10px; }
.error-page h1 { font-size: 26px; margin-bottom: 14px; }
.error-page p { color: var(--ink-soft); margin-bottom: 30px; }

/* ---------- Ad slot placeholder ---------- */
.ad-slot {
  max-width: 720px;
  margin: 36px auto;
  min-height: 100px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- Blog responsive ---------- */
@media (max-width: 980px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-grid.featured-grid { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .book-showcase { grid-template-columns: 160px 1fr; gap: 26px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgba(var(--shadow-color), 0.3); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 16px 28px; border-top: 1px solid var(--line-soft); }
  .nav-toggle { display: flex; }
}
@media (max-width: 620px) {
  .post-grid { grid-template-columns: 1fr; }
  .ebook-promo { flex-direction: column; text-align: center; }
  .value-grid { grid-template-columns: 1fr; }
  .book-showcase { grid-template-columns: 1fr; text-align: center; }
  .book-showcase-cover { width: 160px; margin: 0 auto; }
  .article-meta { flex-wrap: wrap; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 12px; }
  .book { width: 240px; }
  .agitate-grid, .benefits-grid, .forwhom-grid { grid-template-columns: 1fr 1fr; }
  .delivery-strip { grid-template-columns: 1fr 1fr; }
  .sample-wrap { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; text-align: center; padding: 48px 32px; }
  .guarantee-badge { margin: 0 auto; }
  .guarantee-body p { margin-left: auto; margin-right: auto; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 620px) {
  .agitate-grid, .benefits-grid, .forwhom-grid, .delivery-strip { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .entry-card { padding: 30px 24px; }
  .nav-cta .btn { padding: 9px 14px; font-size: 12.5px; }
  .brand-name { font-size: 15px; }
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; left: 14px; right: 14px; bottom: 14px; }
  .cookie-banner button { width: 100%; }
  .btn { padding: 14px 20px; font-size: 14.5px; }
}
