/* ============================================================
   MASTER HISPANO — El Taller del Profesional
   Paleta: madera oscura · verde oliva · dorado
   Tipografía: Source Serif 4 (títulos) · Inter (texto)
   ============================================================ */

:root {
    --wood-900: #1d150c;
    --wood-800: #2a1e10;
    --wood-700: #3b2b18;
    --wood-600: #4c3a22;
    --wood-500: #5f4a2e;
    --olive-900: #2b331a;
    --olive-700: #43502c;
    --olive-500: #5c6f3c;
    --gold-600: #a8842c;
    --gold-500: #c9a227;
    --gold-400: #e0c05a;
    --cream-100: #f4ecdc;
    --cream-300: #ddd2b8;
    --cream-500: #b8ab8d;
    --bg: #faf6ec;
    --serif: "Source Serif 4", "DejaVu Serif", Georgia, serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --shadow: 0 12px 32px rgba(29, 21, 12, 0.16);
    --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--wood-800);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; }

a { color: inherit; }
img, svg { display: block; }

.section { padding: 72px 20px; }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; }
.section-head p:not(.eyebrow) { color: var(--wood-600); margin-top: 10px; font-size: 1.05rem; }
.section-head.light { color: var(--cream-100); }
.section-head.light p:not(.eyebrow) { color: var(--cream-300); }

.eyebrow {
    display: inline-block;
    font-family: var(--serif);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--gold-600);
    border: 1px solid rgba(168, 132, 44, 0.5);
    padding: 5px 14px;
    margin-bottom: 18px;
}

/* ---------- Barra superior ---------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px;
    background: var(--wood-900);
    border-bottom: 2px solid var(--gold-500);
    box-shadow: 0 4px 18px rgba(0,0,0,0.35);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream-100); }
.brand-mark {
    font-family: var(--serif);
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--wood-900);
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.brand-text { font-family: var(--serif); font-weight: 900; font-size: 1.15rem; letter-spacing: 0.06em; }
.brand-text span { display: block; font-family: var(--sans); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-400); }

.topnav { display: flex; align-items: center; gap: 22px; }
.topnav a { color: var(--cream-300); text-decoration: none; font-size: 0.88rem; font-weight: 500; }
.topnav a:hover { color: var(--gold-400); }
.nav-cta {
    background: var(--olive-500);
    color: var(--cream-100) !important;
    padding: 9px 16px;
    border-radius: 6px;
    border: 1px solid var(--olive-700);
    font-weight: 600;
}
.nav-cta:hover { background: var(--olive-700); }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    background:
        radial-gradient(1200px 500px at 75% -10%, rgba(92, 111, 60, 0.55), transparent 60%),
        linear-gradient(rgba(20, 14, 7, 0.82), rgba(20, 14, 7, 0.94)),
        repeating-linear-gradient(88deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 9px),
        linear-gradient(135deg, var(--wood-800), var(--wood-900));
    color: var(--cream-100);
    text-align: center;
    padding: 110px 20px 90px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--serif);
    font-weight: 700;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    text-transform: uppercase;
    color: var(--gold-400);
    border: 1px solid var(--gold-500);
    background: rgba(201, 162, 39, 0.08);
    padding: 8px 18px;
    border-radius: 999px;
    margin-bottom: 26px;
}
.status-badge::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--olive-500);
    box-shadow: 0 0 0 4px rgba(92, 111, 60, 0.3);
}

.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 900; max-width: 900px; margin: 0 auto; }
.hero h1 em { color: var(--gold-400); font-style: italic; }
.hero-sub { max-width: 680px; margin: 22px auto 34px; font-size: 1.1rem; color: var(--cream-300); }

.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero-trust { margin-top: 30px; font-size: 0.82rem; color: var(--cream-500); letter-spacing: 0.04em; }

/* ---------- Botones ---------- */
.btn {
    display: inline-block;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.02rem;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 8px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-gold {
    background: linear-gradient(160deg, var(--gold-400), var(--gold-500) 55%, var(--gold-600));
    color: var(--wood-900);
    border: 1px solid var(--gold-600);
    box-shadow: 0 6px 18px rgba(201, 162, 39, 0.35);
}
.btn-gold:hover { box-shadow: 0 8px 24px rgba(201, 162, 39, 0.5); transform: translateY(-1px); }

.btn-ghost {
    color: var(--cream-100);
    border: 1px solid rgba(244, 236, 220, 0.4);
    background: rgba(255,255,255,0.03);
}
.btn-ghost:hover { border-color: var(--gold-400); color: var(--gold-400); }

.btn-full { display: block; width: 100%; text-align: center; }

/* ---------- Catálogo ---------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 26px;
    max-width: 1200px;
    margin: 0 auto;
}
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.card {
    background: #fff;
    border: 1px solid #e7dfc9;
    border-top: 4px solid var(--gold-500);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}
.card::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px dashed rgba(168, 132, 44, 0.28);
    border-radius: 6px;
    pointer-events: none;
}

.card-photo {
    margin: -26px -26px 0;
    border-radius: var(--radius) var(--radius) 0 0;
    overflow: hidden;
    border-bottom: 3px solid var(--gold-500);
}
.card-photo img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.card-tag {
    font-family: var(--serif);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--olive-700);
    background: rgba(92, 111, 60, 0.12);
    border-left: 3px solid var(--olive-500);
    padding: 4px 10px;
    align-self: flex-start;
}

.card h3 { font-size: 1.5rem; font-weight: 900; }
.card-sub { color: var(--wood-600); font-weight: 500; }

.card-price { margin-top: 4px; }
.card-price s { color: var(--cream-500); font-size: 1.05rem; }
.card-price strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 900; color: var(--wood-800); margin-left: 8px; }
.card-price strong::first-letter { color: var(--olive-700); }

.microcopy { margin-top: 10px; font-size: 0.78rem; color: var(--cream-500); text-align: center; }

.card-detail { border-top: 1px dashed #e0d6b8; padding-top: 12px; }
.card-detail summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--olive-700);
    user-select: none;
}
.card-detail summary:hover { color: var(--gold-600); }
.card-detail p { margin-top: 10px; font-size: 0.92rem; color: var(--wood-600); }

.sellos {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #efe8d4;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--olive-700);
}
.sellos li { display: inline-flex; align-items: center; gap: 6px; }
.sellos svg { width: 15px; height: 15px; fill: var(--olive-500); }

/* Pack + garantía */
.pack-box {
    max-width: 820px;
    margin: 40px auto 0;
    text-align: center;
    background: linear-gradient(140deg, var(--olive-900), var(--olive-700));
    color: var(--cream-100);
    border: 1px solid var(--olive-500);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}
.pack-box h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 8px; }
.pack-box p { color: var(--cream-300); margin-bottom: 18px; }

.guarantee-strip {
    max-width: 820px;
    margin: 26px auto 0;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 2px solid var(--olive-500);
    border-radius: var(--radius);
    padding: 14px 20px;
    font-size: 0.95rem;
}
.guarantee-strip svg { width: 28px; height: 28px; fill: var(--olive-500); flex-shrink: 0; }
.guarantee-strip p { color: var(--wood-700); }

/* ---------- Argumentación ---------- */
.porque {
    background:
        radial-gradient(1000px 420px at 15% 0%, rgba(92, 111, 60, 0.35), transparent 60%),
        linear-gradient(150deg, var(--wood-800), var(--wood-900));
    color: var(--cream-100);
}

.two-col {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.two-col h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 14px; color: var(--gold-400); }
.two-col p { color: var(--cream-300); }

.checklist { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.checklist li {
    padding-left: 30px;
    position: relative;
    color: var(--cream-100);
    font-size: 0.95rem;
}
.checklist li::before {
    content: "";
    position: absolute;
    left: 0; top: 4px;
    width: 16px; height: 16px;
    background: var(--gold-500);
    clip-path: polygon(20% 60%, 40% 80%, 85% 20%, 100% 35%, 40% 100%, 5% 70%);
}

.formula {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1.25fr;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201, 162, 39, 0.4);
    border-radius: var(--radius);
    padding: 20px;
    margin: 18px 0;
}
.f-item { text-align: center; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cream-500); }
.f-item strong { display: block; font-family: var(--serif); font-size: 1.05rem; font-weight: 900; color: var(--cream-100); margin-top: 4px; text-transform: none; letter-spacing: 0; }
.f-result strong { color: var(--gold-400); }
.f-plus, .f-eq { font-family: var(--serif); font-weight: 900; font-size: 1.6rem; color: var(--gold-500); }

/* ---------- Testimonios ---------- */
.testimonio {
    background: #fff;
    border: 1px solid #e7dfc9;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.stars { color: var(--gold-500); letter-spacing: 0.15em; }
.testimonio blockquote { font-family: var(--serif); font-size: 1.02rem; font-style: italic; color: var(--wood-700); }
.testimonio figcaption { border-top: 1px solid #efe8d4; padding-top: 12px; display: grid; gap: 2px; }
.testimonio figcaption strong { font-family: var(--serif); font-size: 1.02rem; }
.testimonio figcaption span { font-size: 0.82rem; color: var(--olive-700); font-weight: 600; }
.ilustrativo { font-size: 0.72rem; color: var(--cream-500); font-style: normal; margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
    background: #fff;
    border: 1px solid #e7dfc9;
    border-left: 4px solid var(--olive-500);
    border-radius: var(--radius);
}
.faq-item summary {
    cursor: pointer;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 1.02rem;
    padding: 16px 20px;
    user-select: none;
    list-style-position: inside;
}
.faq-item summary:hover { color: var(--olive-700); }
.faq-item p { padding: 0 20px 18px; color: var(--wood-600); font-size: 0.95rem; }

/* ---------- CTA final ---------- */
.cta-final {
    text-align: center;
    background: var(--olive-900);
    color: var(--cream-100);
    border-top: 3px solid var(--gold-500);
    border-bottom: 3px solid var(--gold-500);
}
.cta-final h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; }
.cta-final p:not(.hero-trust) { max-width: 640px; margin: 14px auto 26px; color: var(--cream-300); }

/* ---------- Footer ---------- */
.footer { background: var(--wood-900); color: var(--cream-500); padding: 44px 20px 90px; }
.footer-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.footer-brand { font-family: var(--serif); font-weight: 900; font-size: 1.2rem; letter-spacing: 0.08em; color: var(--cream-100); }
.footer-brand span { display: block; font-family: var(--sans); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-400); margin-top: 4px; }
.footer-desc { margin: 12px 0 16px; font-size: 0.9rem; }
.footer-disclaimer { font-size: 0.8rem; max-width: 760px; margin: 0 auto 18px; color: var(--cream-300); }
.footer-disclaimer strong { color: var(--gold-400); }
.footer-links { font-size: 0.82rem; }
.footer-links a { color: var(--cream-300); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: transform 0.15s ease;
}
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 22px; height: 22px; fill: #fff; }

/* ---------- Sticky CTA móvil ---------- */
.sticky-mobile {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 55;
    background: var(--wood-900);
    border-top: 2px solid var(--gold-500);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
}
.sticky-mobile a {
    flex: 1;
    display: block;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 10px;
    border-radius: 8px;
}
.sticky-mobile a:first-child { background: var(--olive-500); color: #fff; border: 1px solid var(--olive-700); }
.sticky-mobile a:last-child { background: #25d366; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .two-col { grid-template-columns: 1fr; }
    .topnav { gap: 14px; }
    .topnav a:not(.nav-cta) { display: none; }
}

@media (max-width: 640px) {
    .section { padding: 54px 16px; }
    .hero { padding: 80px 16px 70px; }
    .formula { grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto; }
    .f-eq { display: none; }
    .f-result { grid-column: 1 / -1; }
    .sticky-mobile { display: flex; }
    .wa-float { bottom: 76px; right: 14px; padding: 12px; }
    .wa-float span { display: none; }
    .footer { padding-bottom: 130px; }
}

/* ---------- Landing SEO: curso reparación de celulares ---------- */
.landing-hero { padding: 90px 20px 70px; }
.landing-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }

.modulos {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.modulo {
    background: #fff;
    border: 1px solid #e7dfc9;
    border-left: 4px solid var(--olive-500);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}
.modulo h3 { font-size: 1.1rem; font-weight: 900; margin-bottom: 8px; color: var(--olive-900); }
.modulo p { font-size: 0.92rem; color: var(--wood-600); }

.para-quien .two-col { grid-template-columns: 1fr 1fr; gap: 26px; }
.pq-si, .pq-no { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid #e7dfc9; box-shadow: var(--shadow); }
.pq-si { border-top: 4px solid var(--olive-500); }
.pq-no { border-top: 4px solid var(--gold-600); }
.pq-si h3, .pq-no h3 { font-size: 1.2rem; font-weight: 900; margin-bottom: 14px; }
.pq-no h3 { color: var(--gold-600); }
.checklist-no li::before {
    content: "";
    background: var(--gold-600);
    clip-path: polygon(20% 20%, 80% 20%, 80% 35%, 50% 35%, 50% 45%, 80% 45%, 80% 60%, 50% 60%, 50% 70%, 80% 70%, 80% 85%, 20% 85%);
}

.analisis { background: linear-gradient(150deg, #fff, #f4ecdc); }
.analisis-inner { max-width: 820px; margin: 0 auto; }
.analisis-inner h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 900; margin-bottom: 18px; }
.analisis-inner h3 { font-size: 1.25rem; font-weight: 900; margin: 26px 0 10px; color: var(--olive-900); }
.analisis-inner p { color: var(--wood-700); margin-bottom: 14px; }

.cta-box {
    margin-top: 34px;
    text-align: center;
    background: linear-gradient(140deg, var(--olive-900), var(--olive-700));
    color: var(--cream-100);
    border: 1px solid var(--olive-500);
    border-radius: var(--radius);
    padding: 30px;
}
.cta-box h3 { font-size: 1.4rem; font-weight: 900; color: var(--gold-400); }
.cta-box p:not(.microcopy) { color: var(--cream-300); margin: 10px 0 18px; }
.cta-box .microcopy { color: var(--cream-500); }

.analisis-link {
    display: inline-block;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--olive-700);
    margin-top: 6px;
}
.analisis-link:hover { color: var(--gold-600); }

@media (max-width: 900px) {
    .para-quien .two-col { grid-template-columns: 1fr; }
}

/* ---------- Formulario guía gratis ---------- */
.form-card {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e7dfc9;
    border-top: 4px solid var(--gold-500);
    border-radius: var(--radius);
    padding: 34px;
    box-shadow: var(--shadow);
}
.form-card h2 { font-size: 1.6rem; font-weight: 900; }
.form-intro { color: var(--wood-600); margin: 8px 0 20px; font-size: 0.95rem; }
.form-error {
    background: #fdecea;
    border: 1px solid #e2b4ad;
    color: #8c2f22;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}
.form-label { display: block; font-weight: 600; font-size: 0.85rem; margin: 14px 0 6px; color: var(--wood-800); }
.form-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid #d8cdad;
    border-radius: 8px;
    background: var(--bg);
    color: var(--wood-800);
}
.form-input:focus { outline: 2px solid var(--gold-500); border-color: var(--gold-500); }
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0 18px;
    font-size: 0.82rem;
    color: var(--wood-600);
    cursor: pointer;
}
.form-check input { margin-top: 3px; accent-color: var(--olive-500); }
.form-check a { color: var(--olive-700); text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.guia-pasos { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }

/* ---------- Guía gratis: home y banners ---------- */
.guia-home { padding-top: 20px; }
.guia-box {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: linear-gradient(140deg, var(--olive-900), var(--olive-700));
    color: var(--cream-100);
    border: 1px solid var(--olive-500);
    border-radius: var(--radius);
    padding: 30px 34px;
    box-shadow: var(--shadow);
}
.guia-box h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: 8px; }
.guia-box-text p:not(.eyebrow) { color: var(--cream-300); font-size: 0.98rem; }
.guia-box-cta { flex-shrink: 0; text-align: center; }
.guia-box-cta .microcopy { color: var(--cream-500); }

.guia-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
    background: var(--wood-800);
    color: var(--cream-100);
    border-bottom: 2px solid var(--gold-500);
    padding: 14px 20px;
    font-size: 0.95rem;
}
.guia-banner strong { color: var(--gold-400); }
.guia-banner a {
    background: var(--gold-500);
    color: var(--wood-900);
    font-weight: 700;
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 8px;
    white-space: nowrap;
}
.guia-banner a:hover { background: var(--gold-400); }

@media (max-width: 800px) {
    .guia-box { flex-direction: column; text-align: center; }
}

/* ---------- Blog / guías ---------- */
.articulo h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 900; margin-bottom: 10px; }
.articulo-meta { font-size: 0.82rem; color: var(--cream-500); margin-bottom: 22px; }
.articulo-intro { font-size: 1.08rem; color: var(--wood-700); }
.articulo h3 { font-size: 1.25rem; font-weight: 900; margin: 26px 0 10px; color: var(--olive-900); }
.articulo p { color: var(--wood-700); margin-bottom: 14px; }
.articulo-faq { margin-top: 40px; }
.articulo-faq h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: 16px; }
.articulo-nav {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0d6b8;
}
.articulo-nav a { font-weight: 600; color: var(--olive-700); text-decoration: underline; text-underline-offset: 3px; }

.blog-grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}
.blog-card {
    background: #fff;
    border: 1px solid #e7dfc9;
    border-top: 4px solid var(--olive-500);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.15s ease;
}
.blog-card:hover { transform: translateY(-3px); }
.blog-card-cat {
    align-self: flex-start;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--olive-700);
    background: rgba(92, 111, 60, 0.12);
    border-left: 3px solid var(--olive-500);
    padding: 4px 10px;
}
.blog-card h2 { font-size: 1.2rem; font-weight: 900; color: var(--wood-800); }
.blog-card p { font-size: 0.92rem; color: var(--wood-600); }
.blog-card-link { font-weight: 700; color: var(--gold-600); margin-top: auto; }

/* ---------- Guías relacionadas en landings ---------- */
.blog-mini {
    max-width: 780px;
    margin: 10px auto 0;
    background: #fff;
    border: 1px solid #e7dfc9;
    border-left: 4px solid var(--gold-500);
    border-radius: var(--radius);
    padding: 20px 24px;
}
.blog-mini h3 { font-size: 1.05rem; font-weight: 900; margin-bottom: 10px; color: var(--olive-900); }
.blog-mini-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px dashed #e0d6b8;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--olive-700);
    text-decoration: none;
}
.blog-mini-link:hover { color: var(--gold-600); }
.blog-mini-link:last-child { border-bottom: none; }

/* ---------- Big SEO (estilo Fons): respuesta rápida, TOC, tablas ---------- */
.respuesta-corta {
    background: #fff;
    border: 2px solid var(--olive-500);
    border-left: 6px solid var(--gold-500);
    border-radius: var(--radius);
    padding: 18px 22px;
    margin: 18px 0;
    font-size: 1rem;
    color: var(--wood-700);
}
.respuesta-corta strong { color: var(--olive-900); }

.toc {
    background: #fff;
    border: 1px solid #e7dfc9;
    border-radius: var(--radius);
    padding: 18px 22px;
    margin: 18px 0;
}
.toc h2 { font-size: 1rem; font-weight: 900; margin-bottom: 10px; color: var(--olive-900); }
.toc ol { padding-left: 20px; display: grid; gap: 6px; }
.toc a { color: var(--olive-700); font-weight: 600; text-decoration: none; }
.toc a:hover { color: var(--gold-600); text-decoration: underline; }

.fons-tabla {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 26px;
    background: #fff;
    border: 1px solid #e7dfc9;
    border-radius: var(--radius);
    overflow: hidden;
    font-size: 0.92rem;
}
.fons-tabla caption {
    text-align: left;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--olive-700);
    padding: 10px 14px;
    background: rgba(92, 111, 60, 0.1);
}
.fons-tabla thead th {
    text-align: left;
    background: var(--olive-900);
    color: var(--cream-100);
    font-weight: 700;
    padding: 10px 14px;
}
.fons-tabla tbody td {
    padding: 10px 14px;
    border-top: 1px solid #efe8d4;
    color: var(--wood-700);
    vertical-align: top;
}
.fons-tabla tbody tr:nth-child(even) { background: var(--bg); }

@media (max-width: 640px) {
    .fons-tabla { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ---------- Paginas utilitarias (Fase B) ---------- */
.articulo-bloque { max-width: 860px; margin: 0 auto; }
.articulo-bloque > h2 { font-size: 1.8rem; font-weight: 900; margin-bottom: 16px; }
.articulo-parrafo { max-width: 860px; margin: 0 auto 20px; font-size: 1.02rem; color: var(--wood-600); line-height: 1.7; }
.articulo-lista { max-width: 860px; margin: 0 auto 22px; }
.articulo-lista li { font-size: 0.98rem; }
.tabla-wrap { max-width: 860px; margin: 0 auto 24px; overflow-x: auto; }
.tabla { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.tabla th, .tabla td { text-align: left; padding: 10px 14px; border-bottom: 1px solid #e0d6b8; }
.tabla th { background: var(--olive-800); color: #fff; font-weight: 700; }
.tabla td { color: var(--wood-600); background: #fff; }
.tabla tr:nth-child(even) td { background: #faf6e9; }
.glosario { max-width: 860px; margin: 0 auto 24px; display: grid; gap: 12px; }
.glosario dt { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; color: var(--olive-900); border-left: 3px solid var(--gold-500); padding-left: 10px; }
.glosario dd { margin: 2px 0 0 13px; color: var(--wood-600); font-size: 0.97rem; line-height: 1.6; }
