:root {
  --bg: #171210;
  --bg-soft: #110d0b;
  --panel: #14100e;
  --cream: #f6f1e8;
  --muted: #b3a39a;
  --border: rgba(176,108,120,.22);
  --accent: #b06c78;
  --accent-dark: #91565f;
  --accent-deep: #7f3a41;
  --serif: 'Playfair Display', serif;
  --sans: 'DM Sans', sans-serif;
  --shadow: 0 20px 50px rgba(0,0,0,.3);
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--serif); line-height: 1.15; }
p { color: var(--muted); }

.wrap {
  width: min(100% - 2.4rem, var(--max));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--accent); font-size: .72rem; font-weight: 700;
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; font-weight: 700;
  padding: 1rem 2rem; min-height: 52px; cursor: pointer; border: none;
  transition: .2s ease; background: var(--accent-dark); color: #fff;
}
.btn:hover { background: var(--accent); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(176,108,120,.3); }

/* NAV — igual a la landing, con el link Blog agregado y marcado activo */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(23,18,16,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 2rem; width: 100%;
}
.nav-brand {
  text-transform: uppercase; letter-spacing: .15em; font-size: .9rem;
  font-weight: 700; color: var(--cream); white-space: nowrap;
}
.nav-links { display: flex; gap: .6rem; align-items: center; }
.nav-links a {
  font-size: .76rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted); padding: .5rem .8rem;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links .cta-link { background: var(--accent-dark); color: #fff; padding: .55rem 1.1rem; }
.nav-links .cta-link:hover { background: var(--accent); color: #fff; }

/* BLOG INDEX */
.blog-header { padding: 6rem 0 3rem; }
.blog-header h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  color: var(--cream); max-width: 700px; margin-bottom: 1rem;
}
.blog-header h1 em { color: var(--accent); font-style: italic; }
.blog-header p { max-width: 560px; font-size: 1.05rem; line-height: 1.8; }

.blog-list { list-style: none; padding-bottom: 6rem; }
.blog-item {
  display: block; padding: 2.4rem 0; border-bottom: 1px solid var(--border);
  transition: opacity .2s;
}
.blog-item:hover .blog-title { color: var(--accent); }
.blog-item:hover { opacity: .92; }
.blog-meta {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted); margin-bottom: .8rem;
}
.blog-title {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--cream); margin-bottom: .8rem; transition: color .2s;
  max-width: 760px;
}
.blog-excerpt { max-width: 700px; font-size: 1rem; line-height: 1.75; }
.blog-empty { padding: 3rem 0; color: var(--muted); }

/* ARTÍCULO INDIVIDUAL */
.post-header { padding: 6rem 0 2.4rem; border-bottom: 1px solid var(--border); }
.post-meta {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted); margin-bottom: 1.2rem;
}
.post-header h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem); color: var(--cream);
  max-width: 780px; margin-bottom: 1rem;
}
.post-header h1 em { color: var(--accent); font-style: italic; }
.post-lead { max-width: 640px; font-size: 1.1rem; line-height: 1.8; }

.post-body { max-width: 720px; margin: 3.6rem auto 0; padding-bottom: 5rem; }
.post-body h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--cream);
  margin: 3rem 0 1.2rem;
}
.post-body h3 {
  font-size: 1.3rem; color: var(--cream); margin: 2.2rem 0 1rem;
}
.post-body p { font-size: 1.05rem; line-height: 1.85; margin-bottom: 1.4rem; }
.post-body strong { color: var(--cream); font-weight: 600; }
.post-body a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.post-body a:hover { color: var(--cream); border-color: var(--cream); }
.post-body ul, .post-body ol { margin: 0 0 1.4rem 1.4rem; color: var(--muted); }
.post-body li { margin-bottom: .5rem; line-height: 1.7; }
.post-body blockquote {
  font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-style: italic; color: var(--cream); line-height: 1.5;
  border-left: 3px solid var(--accent); background: rgba(176,108,120,.05);
  padding: 1.6rem 2rem; margin: 2.4rem 0;
}
.post-footer { max-width: 720px; margin: 0 auto; padding-bottom: 6rem; }
.post-cta {
  border: 1px solid var(--border); border-left: 3px solid var(--accent);
  background: rgba(176,108,120,.06); padding: 2rem 2.2rem;
  display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; justify-content: space-between;
}
.post-cta p { font-family: var(--serif); font-size: 1.2rem; color: var(--cream); max-width: 420px; }

/* FOOTER — igual a la landing */
footer { border-top: 1px solid var(--border); padding: 2.4rem 0; }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
}
.footer-inner p { font-size: .82rem; color: var(--muted); }
.footer-b2b { font-size: .82rem; color: var(--accent); }
.footer-b2b:hover { color: var(--cream); }

@media (max-width: 720px) {
  .nav-links a:not(.cta-link) { display: none; }
}
