/* ══════════════════════════════════════════════
   BLOG — hereda variables de landing-v2.css
   Misma personalidad que el home: oscuro, dorado, Fraunces
   ══════════════════════════════════════════════ */

.pagina-main { padding-top: 72px; min-height: 60vh; }

.container-blog {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* ── Cabecera cinematográfica (blog index y hubs) ── */
.blog-hero {
    position: relative;
    padding: 90px 24px 70px;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(200,150,90,0.14) 0%, transparent 55%),
        var(--bg-2);
    border-bottom: 0.5px solid var(--line-2);
    overflow: hidden;
}
.blog-hero::after {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    opacity: 0.04; mix-blend-mode: overlay; pointer-events: none;
}
.blog-hero .pre {
    font-family: var(--f-mono); font-size: 11px;
    letter-spacing: 0.32em; text-transform: uppercase;
    color: var(--gold);
    display: inline-flex; align-items: center; gap: 18px;
    margin-bottom: 24px;
}
.blog-hero .pre::before, .blog-hero .pre::after {
    content: ''; display: inline-block; width: 32px; height: 1px;
    background: var(--gold); opacity: 0.6;
}
.blog-hero h1 {
    font-family: var(--f-display); font-weight: 300;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.05; letter-spacing: -0.02em;
    margin: 0 auto 16px; max-width: 22ch;
}
.blog-hero h1 em { color: var(--gold); font-style: italic; }
.blog-hero .sub {
    font-family: var(--f-display); font-style: italic; font-weight: 300;
    font-size: clamp(15px, 1.6vw, 18px); color: var(--ink-2);
    max-width: 52ch; margin: 0 auto;
}

/* Migas */
.migas {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin: 40px 0 32px;
}
.migas a { color: var(--ink-2); }
.migas a:hover { color: var(--gold); }
.migas span { color: var(--gold); }

/* ── Cabecera de artículo ── */
.articulo-head { margin-top: 8px; }
.articulo-head .cat-pre {
    font-family: var(--f-mono); font-size: 11px;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--gold);
    display: inline-flex; align-items: center; gap: 14px;
    margin-bottom: 18px;
}
.articulo-head .cat-pre::before {
    content: ''; display: inline-block; width: 28px; height: 1px;
    background: var(--gold); opacity: 0.6;
}
.articulo-head h1 {
    font-family: var(--f-display);
    font-weight: 300;
    font-size: clamp(2rem, 4.6vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}
.articulo-meta {
    font-family: var(--f-mono);
    font-size: 12px;
    color: var(--ink-3);
    margin-bottom: 36px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--gold-deep);
}
.articulo-meta a { color: var(--gold); }
.actualizado { color: var(--gold-light); }

/* ── Respuesta directa (bloque AEO) ── */
.respuesta-directa {
    position: relative;
    background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
    border: 0.5px solid var(--line-2);
    padding: 30px 30px 26px;
    margin: 0 0 40px;
}
.respuesta-directa::before {
    content: 'La respuesta corta';
    display: block;
    font-family: var(--f-mono); font-size: 10px;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}
.respuesta-directa p {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.6;
    color: var(--ink);
    margin: 0;
}

/* ── TOC ── */
.toc {
    border-top: 1px solid var(--gold);
    border-bottom: 0.5px solid var(--line);
    padding: 24px 0;
    margin-bottom: 44px;
}
.toc-titulo {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li {
    counter-increment: toc;
    margin-bottom: 8px; font-size: 14.5px;
    display: flex; gap: 14px; align-items: baseline;
}
.toc li::before {
    content: counter(toc, decimal-leading-zero);
    font-family: var(--f-mono); font-size: 11px; color: var(--gold-deep);
}
.toc a { color: var(--ink-2); transition: color .2s; }
.toc a:hover { color: var(--gold); }

/* ── Cuerpo ── */
.articulo-cuerpo { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.articulo-cuerpo h2 {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: clamp(1.35rem, 2.8vw, 1.75rem);
    line-height: 1.2;
    color: var(--ink);
    margin: 52px 0 16px;
    padding-top: 26px;
    border-top: 0.5px solid var(--line);
    scroll-margin-top: 100px;
}
.articulo-cuerpo h2:first-of-type { border-top: 0; padding-top: 0; }
.articulo-cuerpo h3 {
    font-family: var(--f-sans);
    font-weight: 600;
    font-size: 17px;
    color: var(--ink);
    margin: 32px 0 12px;
}
.articulo-cuerpo p { margin-bottom: 18px; }
.articulo-cuerpo strong { color: var(--ink); }
.articulo-cuerpo em { color: var(--gold-light); }
.articulo-cuerpo a { color: var(--gold); border-bottom: 1px solid var(--gold-deep); transition: color .2s; }
.articulo-cuerpo a:hover { color: var(--gold-light); }
.articulo-cuerpo ul, .articulo-cuerpo ol { margin: 0 0 18px 22px; }
.articulo-cuerpo li { margin-bottom: 8px; }
.articulo-cuerpo li::marker { color: var(--gold); }
.articulo-cuerpo blockquote {
    font-family: var(--f-display); font-style: italic; font-weight: 300;
    font-size: 18px; color: var(--ink);
    padding: 20px 26px; margin: 24px 0;
    background: var(--bg-2); border: 0.5px solid var(--line);
}

/* ── Tablas ── */
.tabla-wrap { overflow-x: auto; margin: 28px 0; border: 0.5px solid var(--line-2); }
.tabla-precios, .articulo-cuerpo table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.articulo-cuerpo table { border: 0.5px solid var(--line-2); margin: 28px 0; }
.tabla-precios caption, .articulo-cuerpo table caption {
    font-family: var(--f-mono);
    font-size: 10.5px;
    letter-spacing: 0.06em;
    color: var(--ink-3);
    text-align: left;
    padding: 12px 16px;
    background: var(--bg-2);
    border-bottom: 0.5px solid var(--line);
    caption-side: top;
}
.tabla-precios th, .articulo-cuerpo table th {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid var(--gold-deep);
    background: var(--bg-2);
}
.tabla-precios td, .articulo-cuerpo table td {
    padding: 14px 16px;
    border-bottom: 0.5px solid var(--line);
    color: var(--ink-2);
}
.tabla-precios td:first-child { color: var(--ink); font-weight: 500; }
.tabla-precios td.incentivo { color: var(--gold-light); font-weight: 600; font-family: var(--f-mono); font-size: 13.5px; }
.tabla-precios tbody tr:hover td { background: var(--bg-2); }

/* ── FAQs ── */
.articulo-faqs { margin-top: 52px; border-top: 1px solid var(--gold); padding-top: 28px; }
.articulo-faqs h2 {
    font-family: var(--f-display);
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--ink);
    margin-bottom: 20px;
}
.faq-item {
    border-bottom: 0.5px solid var(--line);
}
.faq-item summary {
    cursor: pointer;
    padding: 18px 34px 18px 0;
    font-weight: 600;
    font-size: 15px;
    color: var(--ink);
    list-style: none;
    position: relative;
    transition: color .2s;
}
.faq-item summary:hover { color: var(--gold-light); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute; right: 4px; top: 14px;
    font-family: var(--f-display);
    color: var(--gold); font-size: 22px; font-weight: 300;
    transition: transform .25s ease-out;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 20px; color: var(--ink-2); font-size: 15px; line-height: 1.65; }

/* ── CTA WhatsApp ── */
.cta-wa {
    margin: 56px 0;
    position: relative;
    border: 0.5px solid var(--gold-deep);
    background:
        radial-gradient(ellipse at 50% 0%, rgba(200,150,90,0.10) 0%, transparent 60%),
        linear-gradient(135deg, var(--bg-2), var(--bg-3));
    text-align: center;
    padding: 46px 28px;
}
.cta-wa-lead {
    font-family: var(--f-display);
    font-weight: 300;
    font-style: italic;
    font-size: 20px;
    line-height: 1.45;
    color: var(--ink);
    margin-bottom: 24px;
    max-width: 40ch;
    margin-left: auto; margin-right: auto;
}
.btn-wa {
    display: inline-block;
    background: linear-gradient(100deg, var(--gold-2), var(--gold) 45%, var(--gold-light));
    color: var(--bg);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    padding: 15px 34px;
    transition: filter 0.2s, transform 0.15s ease-out;
}
.btn-wa:hover { filter: brightness(1.12); transform: translateY(-1px); }
.cta-wa-sub {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--ink-3);
    margin-top: 16px;
}

/* ── Autor ── */
.autor-box {
    display: flex; gap: 20px; align-items: center;
    border: 0.5px solid var(--line-2);
    background: var(--bg-2);
    padding: 24px 26px;
    margin-top: 44px;
}
.autor-foto {
    width: 76px; height: 76px; border-radius: 50%; object-fit: cover;
    border: 1.5px solid var(--gold);
    padding: 3px;
}
.autor-nombre { font-family: var(--f-display); font-weight: 400; font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.autor-bio { font-size: 13.5px; color: var(--ink-3); line-height: 1.55; margin-bottom: 10px; }
.autor-links a {
    font-family: var(--f-mono); font-size: 11.5px;
    letter-spacing: 0.06em;
    color: var(--gold); margin-right: 18px;
}
.autor-links a:hover { color: var(--gold-light); }

/* ── Relacionados ── */
.relacionados { margin-top: 48px; }
.relacionados h2 {
    font-family: var(--f-mono); font-size: 11px;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 18px;
}
.relacionados ul { list-style: none; margin: 0; padding: 0; }
.relacionados li { border-bottom: 0.5px solid var(--line); }
.relacionados a {
    display: block; padding: 14px 0;
    font-family: var(--f-display); font-size: 17px; color: var(--ink);
    transition: color .2s, padding-left .25s ease-out;
}
.relacionados a:hover { color: var(--gold); padding-left: 10px; }

/* ── Índice del blog ── */
.blog-cats { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 36px 0 8px; }
.blog-cats a {
    font-family: var(--f-mono); font-size: 11px;
    letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--ink-2);
    border: 0.5px solid var(--line-2);
    padding: 9px 18px;
    transition: all 0.2s;
}
.blog-cats a:hover { color: var(--gold); border-color: var(--gold); }

.blog-lista { display: flex; flex-direction: column; margin-top: 28px; }
.blog-card {
    display: block;
    border-bottom: 0.5px solid var(--line);
    padding: 34px 0;
    position: relative;
    transition: padding-left 0.25s ease-out;
}
.blog-card:first-child { border-top: 1px solid var(--gold); }
.blog-card:hover { padding-left: 12px; }
.blog-card:hover h2 { color: var(--gold); }
.blog-card-cat {
    font-family: var(--f-mono); font-size: 10px;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--gold);
}
.blog-card h2 {
    font-family: var(--f-display); font-weight: 400;
    font-size: clamp(1.3rem, 2.6vw, 1.7rem);
    line-height: 1.15;
    color: var(--ink);
    margin: 10px 0; transition: color 0.2s;
}
.blog-card p { font-size: 14.5px; color: var(--ink-3); line-height: 1.6; margin-bottom: 10px; max-width: 62ch; }
.blog-card-fecha { font-family: var(--f-mono); font-size: 11px; color: var(--ink-4); }
.blog-card .leer {
    font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em;
    color: var(--gold);
    margin-left: 14px;
    opacity: 0; transition: opacity 0.2s;
}
.blog-card:hover .leer { opacity: 1; }

/* ── Footer legal ── */
.foot-legal {
    font-family: var(--f-mono); font-size: 10px;
    color: var(--ink-4); padding-top: 14px; padding-bottom: 20px;
    text-align: center;
}

/* ── Nota legal ── */
.nota-legal {
    margin-top: 36px;
    padding-top: 18px;
    border-top: 0.5px solid var(--line);
}
.nota-legal p {
    font-family: var(--f-mono);
    font-size: 10px;
    line-height: 1.7;
    color: var(--ink-4);
    letter-spacing: 0.02em;
}
.nota-legal strong { color: var(--ink-3); font-weight: 500; }
