/* Be+People Blog — Hoja de estilos compartida */
:root {
  --navy: #0a0f1e; --navy2: #0d1528;
  --card: rgba(255,255,255,0.035); --border: rgba(255,255,255,0.09);
  --text: #e2e8f0; --muted: #94a3b8;
  --accent1: #60a5fa; --accent2: #a78bfa; --accent3: #34d399;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background: var(--navy); color: var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
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.04'/%3E%3C/svg%3E"); opacity: 0.5; pointer-events: none; z-index: 0; }
.orb { position: fixed; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }
.orb1 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(96,165,250,0.12), transparent 70%); top: -100px; left: 50%; transform: translateX(-50%); }
.orb2 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(167,139,250,0.1), transparent 70%); top: 400px; left: -100px; }
.grid-lines { position: fixed; inset: 0; pointer-events: none; z-index: 0; background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px); background-size: 80px 80px; }

/* HEADER */
header { position: sticky; top: 0; z-index: 100; background: rgba(10,15,30,0.85); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.header-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 14px 32px; gap: 24px; }
.logo-wrap { display: flex; align-items: center; text-decoration: none; }
.logo-wrap img { height: 48px; width: auto; object-fit: contain; }
.logo-fallback { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
nav { display: flex; gap: 32px; }
nav a { font-size: 0.875rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
nav a:hover, nav a.active { color: #fff; }
.cta-btn { background: #fff; color: var(--navy); border: none; border-radius: 999px; padding: 9px 22px; font-size: 0.8rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: background 0.2s, transform 0.15s; font-family: 'Outfit', sans-serif; white-space: nowrap; }
.cta-btn:hover { background: #e2e8f0; transform: translateY(-1px); }

/* BLOG INDEX */
.blog-header { padding: 64px 32px 40px; max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
.section-tag { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted); margin-bottom: 14px; }
.blog-header h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 4vw, 3rem); color: #fff; line-height: 1.15; margin-bottom: 16px; }
.blog-header h1 em { font-style: italic; color: var(--accent1); }
.blog-header > p { font-size: 1.05rem; color: var(--muted); max-width: 560px; line-height: 1.75; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { border: 1px solid var(--border); background: var(--card); border-radius: 24px; padding: 28px; transition: all 0.3s; text-decoration: none; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); border-color: rgba(96,165,250,0.3); background: rgba(255,255,255,0.05); }
.post-tag { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent1); margin-bottom: 12px; }
.post-card h2 { font-family: 'DM Serif Display', serif; font-size: 1.25rem; color: #fff; line-height: 1.3; margin-bottom: 12px; }
.post-card > p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; flex: 1; }
.post-card-footer { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.post-date { font-size: 0.75rem; color: var(--muted); }
.post-read-more { font-size: 0.8rem; color: var(--accent1); font-weight: 500; }

/* ARTICLE */
.article-wrap { max-width: 780px; margin: 0 auto; padding: 64px 32px 80px; position: relative; z-index: 1; }
.article-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.article-tag { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent1); border: 1px solid rgba(96,165,250,0.25); border-radius: 999px; padding: 4px 12px; }
.article-date { font-size: 0.75rem; color: var(--muted); }
.article-wrap h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 4vw, 2.8rem); color: #fff; line-height: 1.15; margin-bottom: 20px; }
.article-wrap h1 em { font-style: italic; color: var(--accent1); }
.article-intro { font-size: 1.15rem; color: var(--muted); line-height: 1.8; margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.article-body h2 { font-family: 'DM Serif Display', serif; font-size: 1.6rem; color: #fff; margin: 40px 0 16px; line-height: 1.2; }
.article-body h3 { font-size: 1.05rem; font-weight: 600; color: var(--accent1); margin: 28px 0 12px; }
.article-body p { font-size: 1rem; color: var(--muted); line-height: 1.85; margin-bottom: 16px; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body ul, .article-body ol { margin: 12px 0 20px 20px; }
.article-body li { font-size: 0.975rem; color: var(--muted); line-height: 1.8; margin-bottom: 6px; }
.article-body li strong { color: var(--text); }
.stat-block { background: rgba(96,165,250,0.07); border: 1px solid rgba(96,165,250,0.2); border-radius: 16px; padding: 20px 24px; margin: 28px 0; }
.stat-block p { color: var(--text); margin: 0; font-size: 0.95rem; line-height: 1.7; }
.faq-section { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--border); }
.faq-section h2 { font-family: 'DM Serif Display', serif; font-size: 1.6rem; color: #fff; margin-bottom: 28px; }
.faq-item { margin-bottom: 24px; }
.faq-item h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.faq-item p { font-size: 0.9rem; color: var(--muted); line-height: 1.75; margin: 0; }
.cta-box { margin-top: 56px; background: linear-gradient(135deg, rgba(96,165,250,0.08), rgba(167,139,250,0.06)); border: 1px solid rgba(96,165,250,0.2); border-radius: 24px; padding: 40px; text-align: center; }
.cta-box h2 { font-family: 'DM Serif Display', serif; font-size: 1.6rem; color: #fff; margin-bottom: 12px; }
.cta-box p { font-size: 0.95rem; color: var(--muted); line-height: 1.7; max-width: 480px; margin: 0 auto 28px; }
.btn-cta { display: inline-block; background: #fff; color: var(--navy); border-radius: 999px; padding: 13px 32px; font-size: 0.9rem; font-weight: 700; text-decoration: none; transition: all 0.2s; font-family: 'Outfit', sans-serif; }
.btn-cta:hover { background: #e2e8f0; transform: translateY(-2px); }
.btn-cta-sub { display: block; font-size: 0.75rem; color: var(--muted); margin-top: 12px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); text-decoration: none; margin-bottom: 32px; transition: color 0.2s; }
.back-link:hover { color: #fff; }

/* SECTION WRAP */
section { position: relative; z-index: 1; }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 80px 32px; }

/* FOOTER */
footer { border-top: 1px solid var(--border); position: relative; z-index: 1; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 24px 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 0.8rem; color: var(--muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-wrap { padding: 48px 20px 60px; }
  .header-inner { padding: 12px 20px; }
  .blog-header { padding: 48px 20px 32px; }
  .section-inner { padding: 56px 20px; }
}
