*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --verde: #1D9E75; --verde-oscuro: #0F6E56; --verde-claro: #E1F5EE; --verde-medio: #9FE1CB;
  --bg: #f5f5f2; --card: #fff; --border: rgba(0,0,0,0.08);
  --text: #1a1a1a; --muted: #6b6b6b; --radius: 14px;
}
body { font-family: -apple-system, 'Helvetica Neue', Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; }
nav { background: #fff; padding: 0 1.5rem; height: 60px; display: flex; align-items: center; justify-content: space-between; border-bottom: 0.5px solid var(--border); position: sticky; top: 0; z-index: 10; }
.nav-logo { font-size: 18px; font-weight: 700; color: var(--verde-oscuro); text-decoration: none; letter-spacing: -0.3px; }
.nav-logo span { color: var(--verde); }
.nav-logo small { font-size: 12px; color: var(--muted); font-weight: 400; }
.nav-cta { font-size: 13px; font-weight: 600; color: var(--verde-oscuro); background: var(--verde-medio); padding: 8px 16px; border-radius: 20px; text-decoration: none; }
.container { max-width: 720px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 1.25rem; }
.crumbs a { color: var(--verde); text-decoration: none; }
h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 10px; }
.fecha { font-size: 13px; color: var(--muted); margin-bottom: 1.25rem; }
.article-cover { width: 100%; border-radius: var(--radius); margin: 0 0 1.75rem; display: block; }
article p { font-size: 16px; color: #2a2a2a; margin-bottom: 1.1rem; }
article h2 { font-size: 1.3rem; font-weight: 700; color: var(--verde-oscuro); margin: 2rem 0 0.75rem; }
article ul, article ol { margin: 0 0 1.1rem 1.4rem; }
article li { font-size: 16px; margin-bottom: 6px; }
article strong { color: var(--text); }
article a { color: var(--verde); }
.cta-box { background: var(--verde-oscuro); border-radius: var(--radius); padding: 1.75rem; text-align: center; margin: 2.5rem 0 1rem; }
.cta-box h3 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; }
.cta-box p { color: rgba(255,255,255,0.8); font-size: 14px; margin-bottom: 1.1rem; }
.cta-btn { display: inline-block; background: var(--verde-medio); color: var(--verde-oscuro); font-weight: 800; font-size: 15px; padding: 13px 30px; border-radius: 50px; text-decoration: none; }
/* Índice del blog */
.blog-head { text-align: center; margin-bottom: 2.5rem; }
.blog-head h1 { margin-bottom: 8px; }
.blog-head p { color: var(--muted); font-size: 16px; }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.post-card { background: var(--card); border: 0.5px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; box-shadow: 0 1px 4px rgba(0,0,0,0.06); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(15,110,86,0.15); }
.post-img { height: 170px; overflow: hidden; background: var(--verde-claro); }
.post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.post-card:hover .post-img img { transform: scale(1.05); }
.post-body { padding: 1.05rem 1.25rem 1.35rem; }
.post-body h2 { font-size: 1.05rem; color: var(--verde-oscuro); margin-bottom: 6px; line-height: 1.3; }
.post-body p { font-size: 13.5px; color: var(--muted); }
footer { background: var(--verde-oscuro); padding: 2rem 1.5rem; text-align: center; }
footer .logo { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 6px; }
footer .logo span { color: var(--verde-medio); }
footer .info { font-size: 12px; color: rgba(255,255,255,0.5); }
footer .info a { color: var(--verde-medio); text-decoration: none; }
/* Autor + fecha */
.autor-byline { display: flex; align-items: center; gap: 10px; margin-bottom: 1.5rem; }
.autor-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--verde-claro); color: var(--verde-oscuro); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.autor-nombre { font-size: 13px; font-weight: 600; color: var(--text); }
.autor-fecha { font-size: 12px; color: var(--muted); }
/* Tabla comparativa */
.tabla-wrap { overflow-x: auto; margin: 0 0 1.75rem; border-radius: var(--radius); border: 0.5px solid var(--border); }
.tabla-comparativa { width: 100%; border-collapse: collapse; font-size: 13.5px; background: var(--card); min-width: 560px; }
.tabla-comparativa th, .tabla-comparativa td { padding: 10px 14px; text-align: left; border-bottom: 0.5px solid var(--border); }
.tabla-comparativa th { background: var(--verde-claro); color: var(--verde-oscuro); font-weight: 700; font-size: 12.5px; }
.tabla-comparativa td.tabla-destacada, .tabla-comparativa th.tabla-destacada { background: rgba(29,158,117,0.07); font-weight: 600; }
.tabla-comparativa tr:last-child td { border-bottom: none; }
/* FAQ del artículo (details/summary, sin JS) */
.faq-articulo { margin: 1.5rem 0 1rem; }
.faq-articulo details { background: var(--card); border: 0.5px solid var(--border); border-radius: 12px; padding: 14px 18px; margin: 10px 0; }
.faq-articulo summary { cursor: pointer; font-weight: 700; color: var(--verde-oscuro); list-style: none; font-size: 15px; }
.faq-articulo summary::-webkit-details-marker { display: none; }
.faq-articulo p { margin-top: 10px; color: #455; font-size: 14.5px; }
