/* ============================================
   BIENESTARMENTAL.TOP — DESIGN SYSTEM
   Aesthetic: Organic editorial luxury
   Palette: Deep sage, warm cream, terracotta accent
   Fonts: Cormorant Garamond + DM Sans
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── TOKENS ── */
:root {
  --sage:        #4a6741;
  --sage-light:  #6b8f62;
  --sage-pale:   #e8efe6;
  --cream:       #f7f3ec;
  --cream-deep:  #ede8de;
  --terracotta:  #c4714a;
  --terra-light: #e8916e;
  --dark:        #1e2420;
  --dark-mid:    #2e3a2a;
  --muted:       #6b7468;
  --white:       #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  28px;
  --radius-pill: 999px;

  --shadow-soft: 0 4px 24px rgba(30,36,32,.08);
  --shadow-card: 0 8px 40px rgba(30,36,32,.10);
  --shadow-lift: 0 16px 60px rgba(30,36,32,.15);

  --transition: all .3s cubic-bezier(.4,0,.2,1);

  --max-w: 1200px;
  --article-w: 800px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── NOISE TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: .4;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247,243,236,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(74,103,65,.10);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(30,36,32,.08);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--sage);
  letter-spacing: -.01em;
}
.nav-logo .logo-leaf {
  width: 32px;
  height: 32px;
  background: var(--sage);
  border-radius: 60% 40% 60% 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--dark-mid);
  letter-spacing: .02em;
  position: relative;
  transition: var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1.5px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav-links a:hover { color: var(--sage); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--sage) !important;
  color: var(--white) !important;
  padding: .5rem 1.25rem !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--dark-mid) !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 2rem 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 4rem;
}
.hero-content { position: relative; z-index: 1; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--sage-pale);
  color: var(--sage);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--sage);
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 300;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--sage);
  color: var(--white);
  padding: .85rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 2px solid var(--sage);
}
.btn-primary:hover {
  background: var(--dark-mid);
  border-color: var(--dark-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}
.btn-secondary {
  background: transparent;
  color: var(--sage);
  padding: .85rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid var(--sage);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.btn-secondary:hover {
  background: var(--sage-pale);
  transform: translateY(-2px);
}
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-orb {
  width: 480px;
  height: 480px;
  background: radial-gradient(ellipse at 40% 40%, var(--sage-pale) 0%, var(--cream-deep) 50%, transparent 80%);
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  animation: float 8s ease-in-out infinite;
  position: relative;
}
.hero-orb::before {
  content: '';
  position: absolute;
  inset: 20px;
  background: radial-gradient(ellipse at 60% 30%, rgba(196,113,74,.12) 0%, transparent 60%);
  border-radius: inherit;
}
.hero-stat-cards {
  position: absolute;
  width: 100%;
  height: 100%;
}
.stat-card {
  position: absolute;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  font-size: .85rem;
}
.stat-card .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--sage);
  line-height: 1;
}
.stat-card .label {
  color: var(--muted);
  margin-top: .2rem;
}
.stat-card:nth-child(1) { top: 10%; right: 0; }
.stat-card:nth-child(2) { bottom: 15%; left: 0; }
.stat-card:nth-child(3) { top: 45%; right: -10%; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(1deg); }
  66% { transform: translateY(6px) rotate(-1deg); }
}

/* ── SECTIONS ── */
.section { padding: 5rem 2rem; }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--sage); }
.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 300;
}

/* ── CATEGORIES ── */
.categories { background: var(--dark); color: var(--white); }
.categories .section-title { color: var(--white); }
.categories .section-desc { color: rgba(255,255,255,.6); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.cat-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.cat-card:hover {
  background: rgba(74,103,65,.3);
  border-color: var(--sage-light);
  transform: translateY(-4px);
}
.cat-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.cat-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: .5rem;
}
.cat-card p { font-size: .85rem; color: rgba(255,255,255,.5); }

/* ── ARTICLE CARDS ── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
}
.card-img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sage-pale), var(--cream-deep));
  position: relative;
}
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.article-card:hover .card-img-wrap img { transform: scale(1.04); }
.card-cat {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--sage);
  color: var(--white);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: var(--radius-pill);
}
.card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: .75rem;
  transition: color .2s;
}
.article-card:hover .card-title { color: var(--sage); }
.card-excerpt {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
  font-weight: 300;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--cream-deep);
  padding-top: 1rem;
  font-size: .8rem;
  color: var(--muted);
}
.card-read-time { display: flex; align-items: center; gap: .4rem; }
.card-arrow {
  width: 32px; height: 32px;
  background: var(--sage-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  font-size: 1rem;
  transition: var(--transition);
}
.article-card:hover .card-arrow {
  background: var(--sage);
  color: var(--white);
}

/* ── FEATURED STRIP ── */
.featured-strip {
  background: linear-gradient(135deg, var(--sage) 0%, var(--dark-mid) 100%);
  color: var(--white);
  padding: 4rem 2rem;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}
.featured-strip::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(196,113,74,.3) 0%, transparent 60%);
}
.featured-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.featured-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--terra-light);
  margin-bottom: 1rem;
}
.featured-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.featured-desc { color: rgba(255,255,255,.7); font-weight: 300; margin-bottom: 1.5rem; }
.featured-steps { display: flex; flex-direction: column; gap: 1rem; }
.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}
.step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--terra-light);
  line-height: 1;
  min-width: 28px;
}
.step-text { font-size: .9rem; color: rgba(255,255,255,.85); font-weight: 300; }

/* ── WELLNESS TOOLS ── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.tool-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--cream-deep);
  transition: var(--transition);
}
.tool-card:hover {
  border-color: var(--sage-light);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}
.tool-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--sage-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.tool-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: .5rem;
  color: var(--dark);
}
.tool-card p { font-size: .88rem; color: var(--muted); font-weight: 300; }

/* ── BREATHING EXERCISE ── */
.breathing-section { background: var(--cream-deep); }
.breathing-widget {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}
.breath-circle-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 2rem;
}
.breath-ring {
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 3px solid var(--sage-pale);
  position: absolute;
  inset: 0;
}
.breath-circle {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--sage-light), var(--sage));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 4s ease-in-out;
  box-shadow: 0 0 40px rgba(74,103,65,.3);
  user-select: none;
}
.breath-circle.inhale { transform: scale(1.3); }
.breath-circle.hold   { transform: scale(1.3); }
.breath-circle.exhale { transform: scale(.85); }
.breath-count {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--sage);
  line-height: 1;
  margin-bottom: .5rem;
}
.breath-phase { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
.breath-controls { display: flex; gap: 1rem; justify-content: center; }

/* ── QUOTE ── */
.quote-section {
  padding: 5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-pale);
}
.quote-block {
  max-width: 680px;
  text-align: center;
}
.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--sage);
  line-height: .5;
  margin-bottom: 1rem;
  opacity: .4;
}
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 300;
  font-style: italic;
  color: var(--dark);
  line-height: 1.5;
  margin-bottom: 1rem;
}
.quote-author {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* ── NEWSLETTER ── */
.newsletter {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
}
.newsletter .section-title { color: var(--white); }
.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 480px;
  margin: 2rem auto 0;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-input {
  flex: 1;
  min-width: 240px;
  padding: .85rem 1.5rem;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
  font-family: var(--font-body);
}
.newsletter-input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-input:focus { border-color: var(--sage-light); }

/* ── FOOTER ── */
footer {
  background: #131a10;
  color: rgba(255,255,255,.6);
  padding: 4rem 2rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto 3rem;
}
.footer-brand p {
  margin-top: 1rem;
  font-size: .875rem;
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: .02em;
}
.footer-col li + li { margin-top: .75rem; }
.footer-col a {
  font-size: .875rem;
  transition: color .2s;
}
.footer-col a:hover { color: var(--sage-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  font-weight: 400;
}
.social-links { display: flex; gap: .75rem; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--white);
}

/* ── ARTICLE PAGE ── */
.article-page {
  max-width: var(--article-w);
  margin: 0 auto;
  padding: 120px 2rem 5rem;
}
.article-hero-img {
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 3rem;
  box-shadow: var(--shadow-card);
}
.article-header { margin-bottom: 2.5rem; }
.article-category {
  display: inline-block;
  background: var(--sage-pale);
  color: var(--sage);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}
.article-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.article-lead {
  font-size: 1.15rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  border-left: 3px solid var(--sage);
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--muted);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--cream-deep);
  margin-bottom: 2.5rem;
}
.article-meta-item { display: flex; align-items: center; gap: .4rem; }

/* Article content typography */
.article-content { font-size: 1.05rem; color: #2a3326; }
.article-content h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--dark);
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-deep);
}
.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--dark-mid);
  margin: 2rem 0 .75rem;
}
.article-content p { margin-bottom: 1.5rem; line-height: 1.85; font-weight: 300; }
.article-content ul, .article-content ol {
  margin: 1.25rem 0 1.5rem 1.5rem;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: .6rem; line-height: 1.7; font-weight: 300; }
.article-content strong { font-weight: 600; color: var(--dark); }
.article-content em { font-style: italic; color: var(--sage); }
.article-content blockquote {
  background: var(--sage-pale);
  border-left: 4px solid var(--sage);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--dark-mid);
}
.tip-box {
  background: linear-gradient(135deg, var(--sage-pale) 0%, #deecd9 100%);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
  border: 1px solid rgba(74,103,65,.15);
}
.tip-box-title {
  font-weight: 700;
  color: var(--sage);
  margin-bottom: .5rem;
  font-size: .85rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.numbered-steps { counter-reset: step; margin: 2rem 0; }
.numbered-step {
  counter-increment: step;
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border: 1px solid var(--cream-deep);
  transition: var(--transition);
}
.numbered-step:hover { border-color: var(--sage-light); box-shadow: var(--shadow-soft); }
.step-counter {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--sage);
  line-height: 1;
  min-width: 36px;
}
.step-body h4 { font-weight: 600; margin-bottom: .35rem; }
.step-body p { font-size: .92rem; color: var(--muted); margin: 0; }

/* Related articles */
.related-articles { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--cream-deep); }
.related-articles h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 2rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* Table of Contents */
.toc {
  background: var(--cream-deep);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 0 0 2.5rem;
  border: 1px solid rgba(74,103,65,.1);
}
.toc-title {
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.toc ol { list-style: decimal; margin-left: 1.25rem; }
.toc li { margin-bottom: .4rem; }
.toc a { font-size: .92rem; color: var(--sage); font-weight: 500; }
.toc a:hover { text-decoration: underline; }

/* ── PAGE: ARTICULOS ── */
.page-header {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 120px 2rem 5rem;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.page-header p { color: rgba(255,255,255,.6); font-size: 1.1rem; font-weight: 300; }
.filters {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 2.5rem 2rem;
  background: var(--cream-deep);
  position: sticky;
  top: 72px;
  z-index: 100;
  border-bottom: 1px solid var(--cream-deep);
}
.filter-btn {
  padding: .5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-weight: 600;
  border: 2px solid var(--cream-deep);
  background: var(--white);
  color: var(--dark-mid);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}
.articles-page-grid {
  max-width: var(--max-w);
  margin: 3rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

/* ── SOBRE NOSOTROS ── */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px 2rem 5rem;
}
.about-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.about-story { font-size: 1.05rem; color: var(--muted); font-weight: 300; line-height: 1.9; }
.about-img-wrap {
  position: relative;
}
.about-img-frame {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--sage-pale) 0%, var(--cream-deep) 100%);
  border-radius: 50% 50% 40% 60% / 50% 60% 40% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--max-w);
  margin: 4rem auto;
  padding: 0 2rem;
}
.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: .75rem;
}
.value-card p { font-size: .9rem; color: var(--muted); font-weight: 300; }

/* ── COMUNIDAD ── */
.community-hero {
  background: linear-gradient(135deg, var(--sage) 0%, var(--dark-mid) 100%);
  color: var(--white);
  text-align: center;
  padding: 120px 2rem 5rem;
}
.community-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  margin-bottom: 1rem;
}
.forum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 3rem auto;
  padding: 0 2rem;
}
.forum-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--cream-deep);
  transition: var(--transition);
  display: flex;
  gap: 1.25rem;
}
.forum-card:hover {
  border-color: var(--sage-light);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}
.forum-icon {
  font-size: 2rem;
  min-width: 48px;
}
.forum-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: .4rem;
}
.forum-card p { font-size: .875rem; color: var(--muted); font-weight: 300; }

/* ── SITEMAP / SEO ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--sage); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--muted); }

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px; height: 48px;
  background: var(--sage);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  border: none;
  font-size: 1.1rem;
  z-index: 999;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { background: var(--dark-mid); transform: translateY(-3px); }

/* ── ANIMATIONS ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 120px; }
  .hero-visual { display: none; }
  .featured-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .about-img-wrap { display: none; }
  .values-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 72px 0 0 0;
    background: var(--cream);
    padding: 2rem;
    gap: 1.5rem;
    z-index: 999;
  }
  .nav-links.open a { font-size: 1.2rem; }
  .articles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .newsletter-form { flex-direction: column; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .filters { gap: .5rem; }
}
