/*
================================================================
  BLOG DBR CONSTRUCCIONES — blog-dbr.css
  Diseño editorial moderno. Pegar en: css/blog-dbr.css
  Incluir en cada artículo del blog:
  <link rel="stylesheet" href="css/blog-dbr.css">
================================================================
*/

/* ============================================================
   1. VARIABLES Y RESET
============================================================ */
:root {
  --blog-green:       #1DA78B;
  --blog-green-dark:  #0f6e56;
  --blog-green-light: #e1f5ee;
  --blog-green-mid:   #9FE1CB;
  --blog-amber:       #e2b13c;
  --blog-amber-light: #faeeda;
  --blog-text:        #242424;
  --blog-text-mid:    #555555;
  --blog-text-soft:   #888888;
  --blog-border:      #e5e5e5;
  --blog-bg:          #f7f8f6;
  --blog-white:       #ffffff;
  --blog-red:         #e74c3c;
  --blog-radius:      8px;
  --blog-radius-lg:   12px;
  --blog-shadow:      0 2px 12px rgba(0,0,0,.08);
  --blog-shadow-hover:0 6px 24px rgba(0,0,0,.13);
  --font-body:        'Montserrat', 'Segoe UI', sans-serif;
}

/* ============================================================
   2. HERO DEL ARTÍCULO
============================================================ */
.blog-hero {
  position: relative;
  background: linear-gradient(135deg, #0a4a38 0%, #1DA78B 60%, #2ec9a7 100%);
  padding: 70px 0 60px;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/banner-canales.jpg') center/cover no-repeat;
  opacity: .18;
}
.blog-hero .auto-container { position: relative; z-index: 2; }

.blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.75);
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.blog-breadcrumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.blog-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.blog-breadcrumb .sep { opacity: .5; }

.blog-category-pill {
  display: inline-block;
  background: var(--blog-amber);
  color: #3d2400;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.blog-hero h1 {
  color: #fff;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  max-width: 820px;
}

.blog-hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.blog-hero-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,.8);
}
.blog-hero-meta .meta-item .fa { font-size: 14px; color: var(--blog-amber); }

.blog-hero-excerpt {
  margin-top: 18px;
  font-size: 16px;
  color: rgba(255,255,255,.88);
  line-height: 1.6;
  max-width: 720px;
  border-left: 3px solid var(--blog-amber);
  padding-left: 16px;
}

/* ============================================================
   3. LAYOUT PRINCIPAL — 2 columnas
============================================================ */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  padding: 48px 0 64px;
  align-items: start;
}

/* ============================================================
   4. CONTENIDO DEL ARTÍCULO
============================================================ */
.blog-content {
  background: var(--blog-white);
  border-radius: var(--blog-radius-lg);
  box-shadow: var(--blog-shadow);
  padding: 40px 44px;
}

/* Tipografía editorial */
.blog-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--blog-text-mid);
  margin-bottom: 20px;
  font-family: var(--font-body);
}
.blog-content p strong { color: var(--blog-text); font-weight: 600; }

.blog-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--blog-text);
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blog-green-light);
  position: relative;
}
.blog-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 48px;
  height: 2px;
  background: var(--blog-green);
}

.blog-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--blog-green-dark);
  margin: 28px 0 10px;
}

.blog-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--blog-text);
  margin: 20px 0 8px;
}

/* Listas editoriales */
.blog-content ul.blog-list,
.blog-content ol.blog-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 20px;
}
.blog-content ul.blog-list li {
  padding: 7px 0 7px 28px;
  position: relative;
  font-size: 15px;
  color: var(--blog-text-mid);
  line-height: 1.6;
  border-bottom: 1px solid var(--blog-border);
}
.blog-content ul.blog-list li:last-child { border-bottom: none; }
.blog-content ul.blog-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blog-green);
}
.blog-content ol.blog-list { counter-reset: ol-counter; }
.blog-content ol.blog-list li {
  padding: 8px 0 8px 36px;
  position: relative;
  font-size: 15px;
  color: var(--blog-text-mid);
  line-height: 1.6;
  border-bottom: 1px solid var(--blog-border);
  counter-increment: ol-counter;
}
.blog-content ol.blog-list li:last-child { border-bottom: none; }
.blog-content ol.blog-list li::before {
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 7px;
  width: 24px;
  height: 24px;
  background: var(--blog-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 24px;
  text-align: center;
}

/* ============================================================
   5. COMPONENTES DEL ARTÍCULO
============================================================ */

/* — Tabla de datos — */
.blog-table-wrap { overflow-x: auto; margin: 24px 0; }
.blog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border-radius: var(--blog-radius);
  overflow: hidden;
  box-shadow: var(--blog-shadow);
}
.blog-table thead tr { background: var(--blog-green); color: #fff; }
.blog-table th {
  padding: 13px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .3px;
}
.blog-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--blog-border);
  vertical-align: middle;
  line-height: 1.5;
  color: var(--blog-text-mid);
}
.blog-table td strong { color: var(--blog-text); }
.blog-table tbody tr:nth-child(even) { background: var(--blog-green-light); }
.blog-table tbody tr:hover { background: #c8ede3; transition: background .2s; }
.blog-table .precio { font-weight: 700; color: var(--blog-green-dark); white-space: nowrap; }
.blog-table .tag-freq {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.freq-alta  { background: #FCEBEB; color: #791F1F; }
.freq-media { background: var(--blog-amber-light); color: #633806; }
.freq-baja  { background: var(--blog-green-light); color: #085041; }

/* — Alerta / aviso — */
.blog-alerta {
  display: flex;
  gap: 14px;
  background: #fff8e1;
  border-left: 4px solid var(--blog-amber);
  border-radius: 0 var(--blog-radius) var(--blog-radius) 0;
  padding: 16px 18px;
  margin: 24px 0;
}
.blog-alerta.verde {
  background: var(--blog-green-light);
  border-color: var(--blog-green);
}
.blog-alerta.roja {
  background: #FCEBEB;
  border-color: var(--blog-red);
}
.blog-alerta-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.blog-alerta-icon.ambar { color: var(--blog-amber); }
.blog-alerta-icon.verde { color: var(--blog-green); }
.blog-alerta-icon.rojo  { color: var(--blog-red); }
.blog-alerta h5 { font-size: 14px; font-weight: 700; margin-bottom: 5px; color: var(--blog-text); }
.blog-alerta p  { font-size: 13px; line-height: 1.6; margin: 0; color: var(--blog-text-mid); }

/* — Checklist visual — */
.blog-checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.blog-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--blog-border);
  font-size: 14px;
  color: var(--blog-text-mid);
  line-height: 1.5;
}
.blog-checklist li:last-child { border-bottom: none; }
.blog-checklist .ck-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
}
.ck-si   { background: var(--blog-green); color: #fff; }
.ck-no   { background: #FCEBEB; color: #A32D2D; }
.ck-warn { background: var(--blog-amber-light); color: #633806; }

/* — Tarjetas de consecuencias — */
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.blog-card {
  border-radius: var(--blog-radius);
  padding: 18px 16px;
  border: 1px solid var(--blog-border);
  transition: box-shadow .2s;
}
.blog-card:hover { box-shadow: var(--blog-shadow-hover); }
.blog-card-icon { font-size: 28px; margin-bottom: 10px; display: block; }
.blog-card h4 { font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--blog-text); }
.blog-card p  { font-size: 12px; color: var(--blog-text-mid); line-height: 1.5; margin: 0; }
.blog-card.rojo  { border-top: 3px solid var(--blog-red);  background: #fdf5f5; }
.blog-card.ambar { border-top: 3px solid var(--blog-amber); background: #fdf9f0; }
.blog-card.verde { border-top: 3px solid var(--blog-green); background: var(--blog-green-light); }

/* — Separador decorativo — */
.blog-divider {
  height: 3px;
  background: linear-gradient(90deg, var(--blog-green) 0%, var(--blog-green-mid) 50%, transparent 100%);
  border: none;
  border-radius: 2px;
  margin: 36px 0;
}

/* — Pull quote — */
.blog-pullquote {
  border-left: 4px solid var(--blog-green);
  background: var(--blog-green-light);
  border-radius: 0 var(--blog-radius) var(--blog-radius) 0;
  padding: 18px 22px;
  margin: 28px 0;
}
.blog-pullquote p {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: var(--blog-green-dark) !important;
  font-style: italic;
  margin: 0 !important;
  line-height: 1.5 !important;
}

/* — CTA inline dentro del artículo — */
.blog-cta-inline {
  background: linear-gradient(135deg, var(--blog-green-dark) 0%, var(--blog-green) 100%);
  border-radius: var(--blog-radius-lg);
  padding: 26px 28px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.blog-cta-inline .cta-text { flex: 1; min-width: 220px; }
.blog-cta-inline h4 { color: #fff; font-size: 17px; font-weight: 700; margin-bottom: 5px; }
.blog-cta-inline p  { color: rgba(255,255,255,.88); font-size: 13px; margin: 0; line-height: 1.5; }
.blog-cta-inline .cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.blog-btn-white { background: #fff; color: var(--blog-green-dark); }
.blog-btn-white:hover { background: #f0fdf8; color: var(--blog-green-dark); }
.blog-btn-wa    { background: #25D366; color: #fff; }
.blog-btn-wa:hover { background: #1da851; color: #fff; }
.blog-btn-green { background: var(--blog-green); color: #fff; }
.blog-btn-green:hover { background: var(--blog-green-dark); color: #fff; }

/* — FAQ acordeón — */
.blog-faq { margin: 8px 0; }
.blog-faq-item { border-bottom: 1px solid var(--blog-border); }
.blog-faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 15px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--blog-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
}
.blog-faq-q .fa {
  color: var(--blog-green);
  font-size: 13px;
  flex-shrink: 0;
  transition: transform .25s;
}
.blog-faq-q.open .fa { transform: rotate(180deg); }
.blog-faq-a {
  display: none;
  padding: 0 0 16px 0;
  font-size: 14px;
  color: var(--blog-text-mid);
  line-height: 1.7;
}
.blog-faq-a.open { display: block; }

/* — Author box — */
.blog-author {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--blog-bg);
  border-radius: var(--blog-radius-lg);
  padding: 20px;
  margin: 36px 0 0;
  border: 1px solid var(--blog-border);
}
.blog-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blog-green);
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-body);
}
.blog-author-info h5 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.blog-author-info .role { font-size: 12px; color: var(--blog-green); font-weight: 600; margin-bottom: 4px; }
.blog-author-info p { font-size: 12px; color: var(--blog-text-mid); margin: 0; line-height: 1.5; }

/* — Tags del artículo — */
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 24px 0 0;
}
.blog-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blog-green-light);
  color: var(--blog-green-dark);
  border: 1px solid var(--blog-green-mid);
  text-decoration: none;
  transition: background .15s;
}
.blog-tag:hover { background: #b2e8d8; color: var(--blog-green-dark); }

/* ============================================================
   6. SIDEBAR
============================================================ */
.blog-sidebar { position: sticky; top: 24px; }

/* Tabla de contenido */
.blog-toc {
  background: var(--blog-white);
  border-radius: var(--blog-radius-lg);
  box-shadow: var(--blog-shadow);
  padding: 22px;
  margin-bottom: 24px;
  border-top: 4px solid var(--blog-green);
}
.blog-toc h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--blog-text-soft);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.blog-toc h4 .fa { color: var(--blog-green); }
.blog-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc;
}
.blog-toc ol li {
  counter-increment: toc;
  padding: 6px 0;
  border-bottom: 1px solid var(--blog-border);
  font-size: 13px;
}
.blog-toc ol li:last-child { border-bottom: none; }
.blog-toc ol li a {
  color: var(--blog-text-mid);
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  transition: color .15s;
  line-height: 1.4;
}
.blog-toc ol li a::before {
  content: counter(toc);
  min-width: 20px;
  height: 20px;
  background: var(--blog-green-light);
  color: var(--blog-green-dark);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.blog-toc ol li a:hover { color: var(--blog-green); }

/* Widget CTA sidebar */
.blog-sidebar-cta {
  background: linear-gradient(135deg, var(--blog-green-dark), var(--blog-green));
  border-radius: var(--blog-radius-lg);
  padding: 24px 20px;
  color: #fff;
  margin-bottom: 24px;
  text-align: center;
}
.blog-sidebar-cta .fa-large { font-size: 36px; color: rgba(255,255,255,.5); margin-bottom: 10px; display: block; }
.blog-sidebar-cta h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.blog-sidebar-cta p  { font-size: 12px; opacity: .88; margin-bottom: 14px; line-height: 1.5; }
.blog-sidebar-cta .precio-desde { font-size: 20px; font-weight: 700; color: var(--blog-amber); margin-bottom: 14px; display: block; }
.blog-sidebar-cta a {
  display: block;
  text-align: center;
  padding: 11px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 8px;
  transition: background .2s;
}
.blog-sidebar-cta .sb-tel { background: #fff; color: var(--blog-green-dark); }
.blog-sidebar-cta .sb-tel:hover { background: #f0fdf8; }
.blog-sidebar-cta .sb-wa  { background: #25D366; color: #fff; }
.blog-sidebar-cta .sb-wa:hover { background: #1da851; }
.blog-sidebar-cta hr { border-color: rgba(255,255,255,.25); margin: 12px 0; }
.blog-sidebar-cta ul { list-style: none; padding: 0; margin: 0; text-align: left; }
.blog-sidebar-cta ul li { font-size: 12px; padding: 4px 0; }
.blog-sidebar-cta ul li .fa { margin-right: 5px; color: var(--blog-amber); }

/* Artículos relacionados sidebar */
.blog-related-widget {
  background: var(--blog-white);
  border-radius: var(--blog-radius-lg);
  box-shadow: var(--blog-shadow);
  padding: 20px;
  margin-bottom: 24px;
}
.blog-related-widget h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--blog-text-soft);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blog-green-light);
}
.blog-related-widget ul { list-style: none; padding: 0; margin: 0; }
.blog-related-widget ul li { padding: 8px 0; border-bottom: 1px solid var(--blog-border); }
.blog-related-widget ul li:last-child { border-bottom: none; }
.blog-related-widget ul li a {
  font-size: 13px;
  color: var(--blog-text-mid);
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.4;
  transition: color .15s;
}
.blog-related-widget ul li a .fa { color: var(--blog-green); font-size: 12px; flex-shrink: 0; margin-top: 3px; }
.blog-related-widget ul li a:hover { color: var(--blog-green); }

/* ============================================================
   7. COMPARTIR EN REDES
============================================================ */
.blog-share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--blog-border);
  margin-top: 32px;
}
.blog-share span { font-size: 13px; font-weight: 600; color: var(--blog-text-soft); }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s;
}
.share-btn:hover { opacity: .85; }
.share-wa  { background: #25D366; color: #fff; }
.share-fb  { background: #1877f2; color: #fff; }
.share-tw  { background: #1da1f2; color: #fff; }

/* ============================================================
   8. NAVEGACIÓN ENTRE ARTÍCULOS (prev/next)
============================================================ */
.blog-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 2px solid var(--blog-border);
}
.blog-nav-item {
  background: var(--blog-white);
  border: 1px solid var(--blog-border);
  border-radius: var(--blog-radius);
  padding: 14px 16px;
  text-decoration: none;
  transition: box-shadow .2s, border-color .2s;
  display: block;
}
.blog-nav-item:hover { box-shadow: var(--blog-shadow-hover); border-color: var(--blog-green-mid); }
.blog-nav-item .nav-label { font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--blog-text-soft); margin-bottom: 5px; display: flex; align-items: center; gap: 5px; }
.blog-nav-item .nav-label .fa { color: var(--blog-green); }
.blog-nav-item .nav-title { font-size: 13px; font-weight: 600; color: var(--blog-text); line-height: 1.4; }
.blog-nav-item.next { text-align: right; }

/* ============================================================
   9. RESPONSIVE — cobertura completa todos los componentes
   Breakpoints:
     1199px  →  tablet landscape (layout cambia a 1 col)
      991px  →  tablet portrait
      767px  →  móvil grande (≥ iPhone Plus)
      575px  →  móvil medio
      400px  →  móvil pequeño (SE, Galaxy A)
============================================================ */

/* ── 1199px: tablet landscape ── */
@media (max-width: 1199px) {
  /* Layout: sidebar pasa a ancho reducido */
  .blog-layout {
    grid-template-columns: 1fr 260px;
    gap: 24px;
  }
  /* Contenido con menos padding */
  .blog-content { padding: 32px 28px; }

  /* Tipografía hero */
  .blog-hero h1 { font-size: 32px; }

  /* Tabla: font un poco más pequeña */
  .blog-table th,
  .blog-table td { font-size: 13px; padding: 10px 12px; }
}

/* ── 991px: tablet portrait — sidebar baja al fondo ── */
@media (max-width: 991px) {
  /* Layout: 1 columna, sidebar debajo del artículo */
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .blog-sidebar {
    position: static; /* quitar sticky */
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 widgets lado a lado en tablet */
    gap: 16px;
    align-items: start;
  }
  /* TOC visible en tablet como widget horizontal */
  .blog-toc {
    display: block;
    grid-column: 1 / -1; /* ocupa todo el ancho */
  }
  /* TOC en horizontal: lista en 2 columnas */
  .blog-toc ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  /* Sidebar CTA ocupa 1 columna */
  .blog-sidebar-cta { grid-column: span 1; }
  .blog-related-widget { grid-column: span 1; }

  /* Hero */
  .blog-hero { padding: 56px 0 44px; }
  .blog-hero h1 { font-size: 28px; }
  .blog-hero-excerpt { font-size: 15px; }
}

/* ── 767px: móvil grande ── */
@media (max-width: 767px) {
  /* Contenido */
  .blog-content { padding: 22px 16px; }

  /* Hero */
  .blog-hero { padding: 44px 0 34px; }
  .blog-hero h1 { font-size: 22px; line-height: 1.3; }
  .blog-hero-excerpt { font-size: 14px; padding-left: 12px; }
  .blog-hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }
  .blog-hero-meta .meta-item { font-size: 12px; }

  /* Breadcrumb */
  .blog-breadcrumb { font-size: 11px; gap: 4px; }

  /* Sidebar: 1 columna en móvil */
  .blog-sidebar {
    grid-template-columns: 1fr;
  }
  .blog-toc { display: none; } /* ocultar TOC en móvil — ocupa demasiado espacio */
  .blog-sidebar-cta { grid-column: span 1; }
  .blog-related-widget { grid-column: span 1; }

  /* Tipografía del artículo */
  .blog-content p  { font-size: 15px; line-height: 1.75; }
  .blog-content h2 { font-size: 19px; margin: 28px 0 12px; }
  .blog-content h3 { font-size: 16px; }
  .blog-content h4 { font-size: 14px; }
  .blog-content ul.blog-list li,
  .blog-content ol.blog-list li { font-size: 14px; }

  /* Tablas: scroll horizontal */
  .blog-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .blog-table { min-width: 520px; } /* fuerza scroll antes de que se rompa */
  .blog-table th,
  .blog-table td { font-size: 12px; padding: 8px 10px; }

  /* Cards de consecuencias: 1 columna */
  .blog-cards-grid { grid-template-columns: 1fr; gap: 10px; }

  /* CTA inline: apilado */
  .blog-cta-inline {
    flex-direction: column;
    padding: 18px 16px;
    gap: 14px;
  }
  .blog-cta-inline h4 { font-size: 15px; }
  .blog-cta-inline .cta-btns { width: 100%; }
  .blog-cta-inline .cta-btns .blog-btn { flex: 1; justify-content: center; }

  /* Alerta */
  .blog-alerta { flex-direction: column; gap: 8px; padding: 14px 14px; }
  .blog-alerta-icon { font-size: 18px; }

  /* Checklist */
  .blog-checklist li { font-size: 13px; gap: 8px; }

  /* Pull quote */
  .blog-pullquote { padding: 14px 16px; }
  .blog-pullquote p { font-size: 15px !important; }

  /* FAQ */
  .blog-faq-q { font-size: 14px; padding: 13px 0; }
  .blog-faq-a { font-size: 13px; }

  /* Author */
  .blog-author { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px; }
  .blog-author-avatar { width: 52px; height: 52px; font-size: 22px; }

  /* Share */
  .blog-share { gap: 8px; }
  .share-btn { font-size: 12px; padding: 7px 12px; }

  /* Nav prev/next: 1 columna */
  .blog-nav { grid-template-columns: 1fr; gap: 10px; }
  .blog-nav-item.next { text-align: left; }
  .blog-nav-item .nav-title { font-size: 12px; }

  /* Divider */
  .blog-divider { margin: 24px 0; }

  /* Tags */
  .blog-tags { gap: 5px; }
  .blog-tag { font-size: 11px; padding: 3px 10px; }

  /* Sidebar CTA */
  .blog-sidebar-cta h4 { font-size: 14px; }
  .blog-sidebar-cta .precio-desde { font-size: 18px; }

  /* Related widget */
  .blog-related-widget ul li a { font-size: 12px; }
}

/* ── 575px: móvil medio ── */
@media (max-width: 575px) {
  /* Hero meta: 1 columna */
  .blog-hero-meta {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .blog-hero h1 { font-size: 20px; }
  .blog-category-pill { font-size: 10px; padding: 3px 10px; }

  /* CTA botones: columna */
  .blog-cta-inline .cta-btns { flex-direction: column; }
  .blog-cta-inline .cta-btns .blog-btn { width: 100%; text-align: center; justify-content: center; }

  /* Sidebar CTA botones */
  .blog-sidebar-cta a.sb-tel,
  .blog-sidebar-cta a.sb-wa { font-size: 13px; padding: 11px; }

  /* Tabla: font mínimo legible */
  .blog-table th,
  .blog-table td { font-size: 11px; padding: 7px 8px; }

  /* Checklist icon */
  .ck-icon { width: 20px; height: 20px; font-size: 10px; }

  /* Blog alerta */
  .blog-alerta h5 { font-size: 13px; }
  .blog-alerta p  { font-size: 12px; }

  /* Author */
  .blog-author-info h5   { font-size: 13px; }
  .blog-author-info .role{ font-size: 11px; }
  .blog-author-info p    { font-size: 11px; }
}

/* ── 400px: móvil pequeño (SE, Galaxy A) ── */
@media (max-width: 400px) {
  .blog-content { padding: 16px 12px; }
  .blog-hero    { padding: 36px 0 28px; }
  .blog-hero h1 { font-size: 18px; }

  /* Tabla: texto muy compacto con scroll */
  .blog-table { min-width: 460px; }
  .blog-table th,
  .blog-table td { font-size: 10px; padding: 6px 7px; }

  .blog-cta-inline { padding: 14px 12px; }
  .blog-cta-inline h4 { font-size: 14px; }

  /* Nav */
  .blog-nav-item { padding: 12px 12px; }
  .blog-nav-item .nav-title { font-size: 11px; }

  /* TOC si se muestra en algún contexto */
  .blog-toc ol { grid-template-columns: 1fr; }
}

/* ============================================================
   10. RESPONSIVE — componentes específicos de artículos
       (urgencia-grid, no-diy, precio-rango, tipo-badge)
============================================================ */

/* ── Semáforo de urgencia (blog plomero) ── */
@media (max-width: 991px) {
  .urgencia-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .urgencia-grid { grid-template-columns: 1fr; gap: 10px; }
  .urgencia-card { padding: 14px 14px; }
  .urgencia-card h5 { font-size: 13px; }
  .urgencia-card ul { font-size: 12px; line-height: 1.7; }
  .urgencia-dot { width: 12px; height: 12px; margin-top: 5px; }
}

/* ── Aviso "no lo hagas tú" ── */
@media (max-width: 767px) {
  .no-diy { flex-direction: column; gap: 8px; padding: 14px 14px; }
  .no-diy h5 { font-size: 13px; }
  .no-diy p  { font-size: 12px; }
}

/* ── Rango de precio discreto ── */
@media (max-width: 575px) {
  .precio-rango { font-size: 11px; padding: 3px 8px; }
  .precio-nota  { font-size: 10px; }
}

/* ── Badges de tipo de trabajo en tabla ── */
@media (max-width: 575px) {
  .tipo-badge { font-size: 9px; padding: 2px 6px; }
}

/* ── Ensure tablas con clase blog-table siempre scrollean ──
   (refuerzo para cualquier breakpoint donde el ancho sea ajustado) */
@media (max-width: 991px) {
  .blog-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Semáforo urgencia */
.urgencia-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:22px 0}
.urgencia-card{border-radius:8px;padding:18px 16px;display:flex;gap:12px;align-items:flex-start}
.urgencia-card.roja {background:#fdf5f5;border:1px solid #f7c1c1;border-left:5px solid #e24b4a}
.urgencia-card.ambar{background:#fdf9f0;border:1px solid #fac775;border-left:5px solid #ef9f27}
.urgencia-card.verde{background:#f1fbf6;border:1px solid #9fe1cb;border-left:5px solid #1da78b}
.urgencia-dot{width:14px;height:14px;border-radius:50%;flex-shrink:0;margin-top:4px}
.dot-r{background:#e24b4a}.dot-a{background:#ef9f27}.dot-v{background:#1da78b}
.urgencia-card h5{font-size:13px;font-weight:700;margin-bottom:4px}
.urgencia-card.roja  h5{color:#791f1f}
.urgencia-card.ambar h5{color:#633806}
.urgencia-card.verde h5{color:#085041}
.urgencia-card p{font-size:12px;line-height:1.5;margin:0;color:#555}
.urgencia-card ul{font-size:12px;line-height:1.8;margin:6px 0 0;padding-left:14px;color:#555}

/* Tabla de tipos de trabajo */
.tipo-badge{display:inline-block;font-size:10px;font-weight:700;padding:2px 8px;border-radius:999px;white-space:nowrap}
.tb-urgente {background:#fcebeb;color:#791f1f}
.tb-programar{background:#faeeda;color:#633806}
.tb-proyecto{background:#e1f5ee;color:#085041}

/* Tip box "no lo hagas tú" */
.no-diy{background:#fff8e1;border:1px solid #fac775;border-radius:8px;padding:16px 18px;margin:22px 0;display:flex;gap:12px;align-items:flex-start}
.no-diy .fa{font-size:22px;color:#e2b13c;flex-shrink:0;margin-top:2px}
.no-diy h5{font-size:14px;font-weight:700;color:#633806;margin-bottom:4px}
.no-diy p{font-size:13px;color:#5a4000;line-height:1.6;margin:0}

/* Rango de precio discreto */
.precio-rango{display:inline-flex;align-items:center;gap:6px;background:#e1f5ee;border:1px solid #9fe1cb;border-radius:6px;padding:4px 10px;font-size:12px;font-weight:600;color:#085041;white-space:nowrap}
.precio-rango .fa{color:#1da78b;font-size:11px}
.precio-nota{font-size:11px;color:#888;font-style:italic;margin-left:6px}


/* ── Tipos de tejado: grid visual ── */
.tejado-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 22px 0;
}
.tejado-card {
  background: var(--blog-white, #fff);
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 18px 16px;
  border-top: 4px solid #1DA78B;
  transition: box-shadow .2s;
}
.tejado-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.10); }
.tejado-card .tejado-icon {
  font-size: 26px;
  margin-bottom: 8px;
  display: block;
}
.tejado-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: #085041;
  margin-bottom: 5px;
}
.tejado-card p {
  font-size: 12px;
  color: #555;
  line-height: 1.55;
  margin: 0;
}
.tejado-card .vida-util {
  display: inline-block;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  background: #e1f5ee;
  color: #085041;
  padding: 2px 8px;
  border-radius: 999px;
}

/* ── Señales de daño: lista visual con severidad ── */
.senales-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}
.senales-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}
.senales-list li:last-child { border-bottom: none; }
.sev-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  flex-shrink: 0;
  margin-top: 1px;
}
.sev-critica  { background: #fcebeb; color: #791f1f; }
.sev-urgente  { background: #faeeda; color: #633806; }
.sev-preventivo { background: #e1f5ee; color: #085041; }

/* ── Red flags: cómo NO contratar ── */
.red-flags {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}
.red-flags li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e5e5e5;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}
.red-flags li:last-child { border-bottom: none; }
.red-flags .rf-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fcebeb;
  color: #a32d2d;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.green-flags li .rf-icon {
  background: #e1f5ee;
  color: #085041;
}

/* ── Proceso paso a paso: timeline ── */
.proceso-timeline {
  position: relative;
  margin: 22px 0;
  padding-left: 32px;
}
.proceso-timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #1DA78B, #9FE1CB);
  border-radius: 2px;
}
.proceso-step {
  position: relative;
  margin-bottom: 20px;
}
.proceso-step:last-child { margin-bottom: 0; }
.proceso-step::before {
  content: attr(data-n);
  position: absolute;
  left: -32px;
  top: 0;
  width: 22px;
  height: 22px;
  background: #1DA78B;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 22px;
  text-align: center;
}
.proceso-step h4 {
  font-size: 14px;
  font-weight: 700;
  color: #085041;
  margin-bottom: 4px;
}
.proceso-step p {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* ── Responsive extras ── */
@media (max-width: 767px) {
  .tejado-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tejado-card { padding: 14px 12px; }
  .senales-list li { font-size: 13px; gap: 8px; }
  .sev-badge { font-size: 9px; min-width: 60px; padding: 2px 6px; }
  .red-flags li { font-size: 13px; }
  .proceso-timeline { padding-left: 26px; }
  .proceso-step::before { left: -26px; width: 20px; height: 20px; font-size: 10px; }
}
@media (max-width: 480px) {
  .tejado-grid { grid-template-columns: 1fr; }
  .senales-list li { flex-direction: column; gap: 5px; }
  .sev-badge { align-self: flex-start; }
}
   /* Reset mínimo para que el artículo funcione standalone */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: 'Montserrat', 'Segoe UI', sans-serif; background: #f7f8f6; color: #242424; }
    .auto-container { max-width: 1220px; margin: 0 auto; padding: 0 20px; }

    /* ── Imagen de tipo de humedad ── */

 .humedad-tipo-img {
      width: 100%;
      height: 200px;
      border-radius: 8px;
      object-fit: cover;
      margin-bottom: 12px;
      display: block;
    }

    /* ── Cards de tipos de humedad ── */
    .humedad-tipos-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 20px;
      margin: 28px 0;
    }
    .humedad-tipo-card {
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid #e5e5e5;
      box-shadow: 0 2px 12px rgba(0,0,0,.07);
      transition: box-shadow .2s;
      background: #fff;
    }
    .humedad-tipo-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.13); }
    .humedad-tipo-card-header {
      padding: 14px 18px 10px;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .humedad-tipo-card-header .tipo-icon {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      flex-shrink: 0;
    }
    .humedad-tipo-card-header h4 {
      font-size: 14px;
      font-weight: 700;
      margin: 0;
    }
    .humedad-tipo-card-body { padding: 0 18px 18px; }
    .humedad-tipo-card-body p {
      font-size: 13px !important;
      line-height: 1.6 !important;
      margin-bottom: 10px !important;
      color: #555 !important;
    }
    .humedad-tipo-card.capilar .humedad-tipo-card-header { background: #fff8f0; border-bottom: 3px solid #ef9f27; }
    .humedad-tipo-card.capilar .tipo-icon { background: #faeeda; color: #ef9f27; }
    .humedad-tipo-card.capilar .humedad-tipo-card-header h4 { color: #633806; }
    .humedad-tipo-card.filtracion .humedad-tipo-card-header { background: #f0f6ff; border-bottom: 3px solid #1877f2; }
    .humedad-tipo-card.filtracion .tipo-icon { background: #dde9fc; color: #1877f2; }
    .humedad-tipo-card.filtracion .humedad-tipo-card-header h4 { color: #0a3875; }
    .humedad-tipo-card.condensacion .humedad-tipo-card-header { background: #f1fbf6; border-bottom: 3px solid #1da78b; }
    .humedad-tipo-card.condensacion .tipo-icon { background: #e1f5ee; color: #1da78b; }
    .humedad-tipo-card.condensacion .humedad-tipo-card-header h4 { color: #085041; }

    /* ── Imagen placeholder con texto ── */
    .img-placeholder {
      width: 100%;
      height: 200px;
      border-radius: 8px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 600;
      color: #888;
      border: 2px dashed #ddd;
      background: #f9f9f9;
      margin-bottom: 12px;
    }
    .img-placeholder .fa { font-size: 28px; color: #ccc; }

    /* ── Señales visuales ── */
    .senales-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 12px;
      margin: 20px 0;
    }
    .senal-item {
      background: #fff;
      border: 1px solid #e5e5e5;
      border-radius: 8px;
      padding: 14px 12px;
      text-align: center;
      font-size: 12px;
      color: #555;
      line-height: 1.5;
    }
    .senal-item .fa { font-size: 22px; display: block; margin-bottom: 8px; }
    .senal-item strong { display: block; font-size: 13px; color: #242424; margin-bottom: 4px; }

    /* ── Proceso paso a paso ── */
    .proceso-steps {
      counter-reset: step;
      margin: 24px 0;
    }
    .proceso-step {
      display: flex;
      gap: 16px;
      align-items: flex-start;
      padding: 16px 0;
      border-bottom: 1px solid #e5e5e5;
      counter-increment: step;
    }
    .proceso-step:last-child { border-bottom: none; }
    .step-num {
      min-width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #1da78b;
      color: #fff;
      font-size: 14px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .step-content h5 { font-size: 14px; font-weight: 700; color: #242424; margin-bottom: 5px; }
    .step-content p { font-size: 13px; color: #555; line-height: 1.6; margin: 0; }

    /* ── Comparativo impermeabilización ── */
    .impermeabilizacion-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 16px;
      margin: 24px 0;
    }
    .impermeabilizacion-card {
      border-radius: 10px;
      padding: 20px 18px;
      border: 1px solid #e5e5e5;
      background: #fff;
    }
    .impermeabilizacion-card .ic-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 12px;
      padding-bottom: 10px;
      border-bottom: 2px solid #e5e5e5;
    }
    .impermeabilizacion-card .ic-icon {
      width: 40px;
      height: 40px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }
    .impermeabilizacion-card h4 { font-size: 14px; font-weight: 700; color: #242424; margin: 0; }
    .impermeabilizacion-card p { font-size: 13px; color: #555; line-height: 1.6; margin-bottom: 10px; }
    .impermeabilizacion-card.ic-capilar .ic-icon { background: #faeeda; color: #ef9f27; }
    .impermeabilizacion-card.ic-capilar { border-top: 4px solid #ef9f27; }
    .impermeabilizacion-card.ic-filtracion .ic-icon { background: #dde9fc; color: #1877f2; }
    .impermeabilizacion-card.ic-filtracion { border-top: 4px solid #1877f2; }
    .impermeabilizacion-card.ic-condensacion .ic-icon { background: #e1f5ee; color: #1da78b; }
    .impermeabilizacion-card.ic-condensacion { border-top: 4px solid #1da78b; }

    /* ── Diagnóstico rápido visual ── */
    .diagnostico-flow {
      background: linear-gradient(135deg, #0a4a38 0%, #1da78b 100%);
      border-radius: 12px;
      padding: 28px;
      margin: 28px 0;
      color: #fff;
    }
    .diagnostico-flow h3 { color: #fff !important; font-size: 17px; margin-bottom: 20px; }
    .diagnostico-pregunta {
      background: rgba(255,255,255,.12);
      border-radius: 8px;
      padding: 14px 16px;
      margin-bottom: 12px;
    }
    .diagnostico-pregunta .dpq { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.95); margin-bottom: 10px; }
    .diagnostico-opciones { display: flex; gap: 10px; flex-wrap: wrap; }
    .diagnostico-opcion {
      background: rgba(255,255,255,.15);
      border: 1px solid rgba(255,255,255,.3);
      border-radius: 6px;
      padding: 7px 14px;
      font-size: 12px;
      color: #fff;
      font-weight: 600;
    }
    .diagnostico-opcion .fa { margin-right: 5px; color: #e2b13c; }

    @media (max-width: 767px) {
      .humedad-tipos-grid { grid-template-columns: 1fr; }
      .senales-grid { grid-template-columns: 1fr 1fr; }
      .impermeabilizacion-grid { grid-template-columns: 1fr; }
      .diagnostico-flow { padding: 18px 14px; }
    }
    @media (max-width: 480px) {
      .senales-grid { grid-template-columns: 1fr; }
    }

.img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3; /* puedes cambiarlo */
  overflow: hidden;
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
 *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: 'Montserrat', 'Segoe UI', sans-serif; background: #f7f8f6; color: #242424; }
    .auto-container { max-width: 1220px; margin: 0 auto; padding: 0 20px; }

    /* ══ CTA DE EMERGENCIA — elemento estrella de esta página ══ */
    .cta-emergencia {
      background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
      border-radius: 14px;
      padding: 32px 28px;
      margin: 32px 0;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .cta-emergencia::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at 80% 50%, rgba(255,255,255,.08) 0%, transparent 60%);
    }
    .cta-emergencia .pulse-dot {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: rgba(255,255,255,.15);
      border: 1px solid rgba(255,255,255,.3);
      border-radius: 999px;
      padding: 4px 14px;
      font-size: 11px;
      font-weight: 700;
      color: #fff;
      text-transform: uppercase;
      letter-spacing: .6px;
      margin-bottom: 14px;
    }
    .cta-emergencia .pulse-dot::before {
      content: '';
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #7dff9e;
      box-shadow: 0 0 0 0 rgba(125,255,158,.5);
      animation: pulse-green 1.4s infinite;
      flex-shrink: 0;
    }
    @keyframes pulse-green {
      0%   { box-shadow: 0 0 0 0 rgba(125,255,158,.6); }
      70%  { box-shadow: 0 0 0 8px rgba(125,255,158,0); }
      100% { box-shadow: 0 0 0 0 rgba(125,255,158,0); }
    }
    .cta-emergencia h3 {
      color: #fff !important;
      font-size: 22px;
      font-weight: 800;
      margin-bottom: 6px;
    }
    .cta-emergencia p {
      color: rgba(255,255,255,.88) !important;
      font-size: 14px !important;
      margin-bottom: 22px !important;
      line-height: 1.5 !important;
    }
    .cta-emergencia .tel-grande {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: #fff;
      color: #c0392b;
      font-size: 26px;
      font-weight: 800;
      padding: 14px 28px;
      border-radius: 8px;
      text-decoration: none;
      margin-bottom: 14px;
      transition: transform .15s, box-shadow .15s;
      letter-spacing: .5px;
      display: block;
      width: fit-content;
      margin: 0 auto 14px;
    }
    .cta-emergencia .tel-grande:hover {
      transform: scale(1.02);
      box-shadow: 0 8px 24px rgba(0,0,0,.2);
    }
    .cta-emergencia .tel-grande .fa { font-size: 22px; }
    .cta-emergencia .cta-btns-row {
      display: flex;
      gap: 10px;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 14px;
    }
    .btn-wa-grande {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #25D366;
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      padding: 13px 24px;
      border-radius: 8px;
      text-decoration: none;
      transition: background .2s, transform .15s;
    }
    .btn-wa-grande:hover { background: #1da851; transform: scale(1.02); color: #fff; }
    .btn-wa-grande .fa { font-size: 20px; }
    .cta-emergencia .horario-note {
      font-size: 11px;
      color: rgba(255,255,255,.7);
      margin-top: 14px;
    }

    /* CTA emergencia — versión compacta para sidebar */
    .sidebar-emergencia {
      background: linear-gradient(160deg, #b71c1c, #e53935);
      border-radius: 12px;
      padding: 22px 18px;
      text-align: center;
      margin-bottom: 24px;
      color: #fff;
    }
    .sidebar-emergencia .se-icon { font-size: 34px; color: rgba(255,255,255,.5); margin-bottom: 8px; display: block; }
    .sidebar-emergencia h4 { color: #fff; font-size: 15px; font-weight: 800; margin-bottom: 6px; }
    .sidebar-emergencia p  { font-size: 12px; color: rgba(255,255,255,.85); margin-bottom: 16px; line-height: 1.5; }
    .sidebar-emergencia .se-tel {
      display: block;
      background: #fff;
      color: #b71c1c;
      font-size: 18px;
      font-weight: 800;
      padding: 11px;
      border-radius: 7px;
      text-decoration: none;
      margin-bottom: 8px;
      transition: transform .15s;
    }
    .sidebar-emergencia .se-tel:hover { transform: scale(1.02); }
    .sidebar-emergencia .se-wa {
      display: block;
      background: #25D366;
      color: #fff;
      font-size: 13px;
      font-weight: 700;
      padding: 11px;
      border-radius: 7px;
      text-decoration: none;
      transition: background .2s;
    }
    .sidebar-emergencia .se-wa:hover { background: #1da851; }
    .sidebar-emergencia hr { border-color: rgba(255,255,255,.2); margin: 12px 0; }
    .sidebar-emergencia .se-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: rgba(255,255,255,.15);
      border-radius: 999px;
      padding: 4px 12px;
      font-size: 11px;
      font-weight: 700;
      color: #fff;
      margin-top: 8px;
    }
    .sidebar-emergencia .se-badge::before {
      content: '';
      width: 7px; height: 7px;
      border-radius: 50%;
      background: #7dff9e;
      animation: pulse-green 1.4s infinite;
      flex-shrink: 0;
    }

    /* ══ Grid de señales visuales ══ */
    .senales-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 14px;
      margin: 24px 0;
    }
    .senal-card {
      background: #fff;
      border: 1px solid #e5e5e5;
      border-radius: 10px;
      padding: 18px 14px;
      text-align: center;
      transition: box-shadow .2s;
    }
    .senal-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,.1); }
    .senal-card .sc-icon {
      width: 48px; height: 48px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      margin: 0 auto 12px;
    }
    .senal-card h5 { font-size: 13px; font-weight: 700; color: #242424; margin-bottom: 6px; }
    .senal-card p  { font-size: 12px; color: #666; line-height: 1.5; margin: 0; }
    .senal-card.nivel-leve  .sc-icon { background: #e1f5ee; color: #1da78b; }
    .senal-card.nivel-medio .sc-icon { background: #faeeda; color: #ef9f27; }
    .senal-card.nivel-grave .sc-icon { background: #fcebeb; color: #e74c3c; }
    .senal-card.nivel-leve  { border-top: 3px solid #1da78b; }
    .senal-card.nivel-medio { border-top: 3px solid #ef9f27; }
    .senal-card.nivel-grave { border-top: 3px solid #e74c3c; }

    /* ══ Tabla de causas por zona ══ */
    /* usa blog-table del CSS base */

    /* ══ Timeline de qué hacer ══ */
    .accion-timeline {
      margin: 24px 0;
      position: relative;
      padding-left: 28px;
    }
    .accion-timeline::before {
      content: '';
      position: absolute;
      left: 11px;
      top: 8px;
      bottom: 8px;
      width: 2px;
      background: linear-gradient(180deg, #1da78b, #e74c3c);
      border-radius: 2px;
    }
    .accion-step {
      position: relative;
      padding: 0 0 24px 20px;
    }
    .accion-step:last-child { padding-bottom: 0; }
    .accion-step::before {
      content: '';
      position: absolute;
      left: -17px;
      top: 4px;
      width: 14px; height: 14px;
      border-radius: 50%;
      border: 2px solid #fff;
      box-shadow: 0 0 0 2px #1da78b;
      background: #1da78b;
    }
    .accion-step.urgente::before { background: #e74c3c; box-shadow: 0 0 0 2px #e74c3c; }
    .accion-step h5 {
      font-size: 14px;
      font-weight: 700;
      color: #242424;
      margin-bottom: 5px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .accion-step h5 .step-tag {
      font-size: 10px;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 999px;
      text-transform: uppercase;
      letter-spacing: .4px;
    }
    .tag-inmediato { background: #fcebeb; color: #b71c1c; }
    .tag-mientras  { background: #faeeda; color: #633806; }
    .tag-cuando    { background: #e1f5ee; color: #085041; }
    .accion-step p { font-size: 13px; color: #555; line-height: 1.6; margin: 0; }

    /* ══ Banner "llama ahora" inline (dentro de contenido) ══ */
    .llama-ahora-inline {
      background: #fff;
      border: 2px solid #e74c3c;
      border-radius: 10px;
      padding: 18px 20px;
      margin: 24px 0;
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
    }
    .llama-ahora-inline .lai-icon {
      font-size: 32px;
      color: #e74c3c;
      flex-shrink: 0;
    }
    .llama-ahora-inline .lai-text { flex: 1; min-width: 180px; }
    .llama-ahora-inline .lai-text strong { font-size: 14px; color: #242424; display: block; margin-bottom: 3px; }
    .llama-ahora-inline .lai-text span  { font-size: 12px; color: #666; }
    .llama-ahora-inline .lai-tel {
      font-size: 20px;
      font-weight: 800;
      color: #b71c1c;
      text-decoration: none;
      white-space: nowrap;
      display: flex;
      align-items: center;
      gap: 7px;
    }
    .llama-ahora-inline .lai-tel:hover { color: #e74c3c; }

    /* ══ Mitos vs realidad ══ */
    .mitos-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin: 24px 0;
    }
    .mito-card {
      border-radius: 8px;
      padding: 16px 14px;
      border: 1px solid #e5e5e5;
    }
    .mito-card.es-mito { background: #fdf5f5; border-top: 3px solid #e74c3c; }
    .mito-card.es-real  { background: #f1fbf6; border-top: 3px solid #1da78b; }
    .mito-card .mc-label {
      font-size: 10px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .5px;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 5px;
    }
    .mito-card.es-mito .mc-label { color: #b71c1c; }
    .mito-card.es-real .mc-label  { color: #085041; }
    .mito-card p { font-size: 13px; color: #444; line-height: 1.5; margin: 0; }

    /* ══ Responsive ══ */
    @media (max-width: 767px) {
      .senales-grid  { grid-template-columns: 1fr 1fr; }
      .mitos-grid    { grid-template-columns: 1fr; }
      .cta-emergencia h3 { font-size: 18px; }
      .cta-emergencia .tel-grande { font-size: 20px; padding: 12px 20px; }
      .llama-ahora-inline { flex-direction: column; gap: 10px; align-items: flex-start; }
      .accion-timeline { padding-left: 20px; }
    }
    @media (max-width: 480px) {
      .senales-grid { grid-template-columns: 1fr; }
      .cta-emergencia { padding: 22px 16px; }
      .cta-emergencia .tel-grande { font-size: 18px; width: 100%; text-align: center; }
      .btn-wa-grande { width: 100%; justify-content: center; }
    }


 *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: 'Montserrat', 'Segoe UI', sans-serif; background: #f7f8f6; color: #242424; }
    .auto-container { max-width: 1220px; margin: 0 auto; padding: 0 20px; }

    /* ══════════════════════════════════════
       HERO — editorial con acento arquitectónico
    ══════════════════════════════════════ */
    .blog-hero {
      background: linear-gradient(135deg, #0d2137 0%, #1a3a52 55%, #1da78b 100%);
      padding: 72px 0 64px;
      position: relative;
      overflow: hidden;
    }
    .blog-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: url('../img/blog/ampliacion-casa-hero.jpg') center/cover no-repeat;
      opacity: .15;
    }
    /* grid arquitectónico decorativo */
    .blog-hero::after {
      content: '';
      position: absolute;
      right: -40px;
      top: -40px;
      width: 420px;
      height: 420px;
      border: 1px solid rgba(255,255,255,.06);
      border-radius: 50%;
      box-shadow: 0 0 0 60px rgba(255,255,255,.03), 0 0 0 120px rgba(255,255,255,.02);
    }
    .blog-hero .auto-container { position: relative; z-index: 2; }

    /* Pill de categoría con tono constructivo */
    .blog-category-pill {
      background: #e2b13c;
      color: #3d2400;
    }

    .blog-hero h1 {
      font-family: 'Playfair Display', Georgia, serif;
      font-size: clamp(26px, 3.8vw, 44px);
      font-weight: 800;
      color: #fff;
      line-height: 1.2;
      max-width: 820px;
      margin-bottom: 16px;
    }

    /* ══════════════════════════════════════
       BADGE DE NORMATIVA
    ══════════════════════════════════════ */
    .norma-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      background: rgba(255,255,255,.12);
      border: 1px solid rgba(255,255,255,.25);
      border-radius: 6px;
      padding: 5px 12px;
      font-size: 11px;
      font-weight: 700;
      color: rgba(255,255,255,.9);
      text-transform: uppercase;
      letter-spacing: .5px;
      margin: 0 5px 10px 0;
      display: inline-flex;
    }
    .norma-badge .fa { color: #e2b13c; font-size: 12px; }
    .norma-badges-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; }

    /* ══════════════════════════════════════
       TIPOS DE AMPLIACIÓN — cards visuales
    ══════════════════════════════════════ */
    .tipo-ampliacion-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 16px;
      margin: 28px 0;
    }
    .tipo-card {
      background: #fff;
      border-radius: 12px;
      border: 1px solid #e5e5e5;
      overflow: hidden;
      transition: box-shadow .2s, transform .2s;
    }
    .tipo-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.12); transform: translateY(-2px); }
    .tipo-card-header {
      padding: 20px 18px 14px;
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }
    .tipo-card-icon {
      width: 44px; height: 44px;
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 20px;
      flex-shrink: 0;
    }
    .tipo-card h4 { font-size: 14px; font-weight: 700; color: #242424; margin-bottom: 4px; line-height: 1.3; }
    .tipo-card .tipo-tag {
      font-size: 10px; font-weight: 700;
      padding: 2px 8px; border-radius: 999px;
      text-transform: uppercase; letter-spacing: .4px;
    }
    .tipo-card-body { padding: 0 18px 18px; }
    .tipo-card-body p { font-size: 13px; color: #666; line-height: 1.6; margin-bottom: 10px; }
    .tipo-card-body .tipo-meta {
      display: flex; gap: 10px; flex-wrap: wrap;
      font-size: 11px; color: #888; margin-top: 8px;
    }
    .tipo-card-body .tipo-meta span {
      display: flex; align-items: center; gap: 4px;
      background: #f7f8f6; border-radius: 5px; padding: 3px 8px;
    }
    .tipo-card-body .tipo-meta .fa { color: #1da78b; font-size: 10px; }
    /* colores por tipo */
    .tc-horizontal .tipo-card-icon { background: #e1f5ee; color: #1da78b; }
    .tc-horizontal { border-top: 3px solid #1da78b; }
    .tc-horizontal .tipo-tag { background: #e1f5ee; color: #085041; }
    .tc-vertical .tipo-card-icon { background: #dde9fc; color: #1877f2; }
    .tc-vertical { border-top: 3px solid #1877f2; }
    .tc-vertical .tipo-tag { background: #dde9fc; color: #0a3875; }
    .tc-cubierta .tipo-card-icon { background: #faeeda; color: #ef9f27; }
    .tc-cubierta { border-top: 3px solid #ef9f27; }
    .tc-cubierta .tipo-tag { background: #faeeda; color: #633806; }
    .tc-sotano .tipo-card-icon { background: #f0e8fc; color: #7c3aed; }
    .tc-sotano { border-top: 3px solid #7c3aed; }
    .tc-sotano .tipo-tag { background: #f0e8fc; color: #4c1d95; }

    /* ══════════════════════════════════════
       PROCESO DE LICENCIA — stepper visual
    ══════════════════════════════════════ */
    .licencia-stepper {
      margin: 28px 0;
      counter-reset: lic-step;
    }
    .lic-step {
      display: grid;
      grid-template-columns: 52px 1fr;
      gap: 16px;
      padding-bottom: 28px;
      position: relative;
      counter-increment: lic-step;
    }
    .lic-step:not(:last-child)::after {
      content: '';
      position: absolute;
      left: 25px;
      top: 52px;
      bottom: 0;
      width: 2px;
      background: linear-gradient(180deg, #1da78b 0%, #e5e5e5 100%);
    }
    .lic-step-num {
      width: 52px; height: 52px;
      border-radius: 50%;
      background: #1da78b;
      color: #fff;
      font-size: 18px; font-weight: 800;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      font-family: 'Playfair Display', serif;
      box-shadow: 0 4px 14px rgba(29,167,139,.3);
      position: relative;
      z-index: 1;
    }
    .lic-step-num.pendiente { background: #e5e5e5; color: #888; box-shadow: none; }
    .lic-step-content {
      background: #fff;
      border-radius: 10px;
      border: 1px solid #e5e5e5;
      padding: 16px 18px;
      margin-top: 4px;
    }
    .lic-step-content .lic-header {
      display: flex; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap;
    }
    .lic-step-content h4 { font-size: 14px; font-weight: 700; color: #242424; }
    .lic-step-content .lic-tiempo {
      font-size: 11px; font-weight: 700;
      background: #e1f5ee; color: #085041;
      padding: 2px 10px; border-radius: 999px;
      white-space: nowrap;
    }
    .lic-step-content .lic-tiempo.largo { background: #faeeda; color: #633806; }
    .lic-step-content .lic-tiempo.variable { background: #f0e8fc; color: #4c1d95; }
    .lic-step-content p { font-size: 13px; color: #555; line-height: 1.6; margin-bottom: 8px; }
    .lic-step-content p:last-child { margin-bottom: 0; }
    .lic-step-content .lic-docs {
      background: #f7f8f6; border-radius: 6px; padding: 10px 12px;
      margin-top: 8px; font-size: 12px; color: #555;
    }
    .lic-step-content .lic-docs strong { color: #242424; display: block; margin-bottom: 5px; font-size: 12px; }
    .lic-step-content .lic-docs ul { padding-left: 16px; }
    .lic-step-content .lic-docs ul li { padding: 2px 0; }

    /* ══════════════════════════════════════
       NORMAS Y RESTRICCIONES — tabla técnica
    ══════════════════════════════════════ */
    /* usa blog-table del CSS base */

    /* ══════════════════════════════════════
       COSTOS — comparativo visual
    ══════════════════════════════════════ */
    .costos-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 14px;
      margin: 24px 0;
    }
    .costo-card {
      background: #fff;
      border-radius: 10px;
      border: 1px solid #e5e5e5;
      padding: 20px 16px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .costo-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 4px;
    }
    .costo-card.cc-green::before  { background: #1da78b; }
    .costo-card.cc-blue::before   { background: #1877f2; }
    .costo-card.cc-amber::before  { background: #ef9f27; }
    .costo-card.cc-purple::before { background: #7c3aed; }
    .costo-card .cc-label {
      font-size: 11px; font-weight: 700;
      text-transform: uppercase; letter-spacing: .5px;
      color: #888; margin-bottom: 8px;
    }
    .costo-card .cc-valor {
      font-size: 22px; font-weight: 800;
      color: #0d2137; line-height: 1.1;
      margin-bottom: 4px;
      font-family: 'Playfair Display', serif;
    }
    .costo-card .cc-unidad { font-size: 12px; color: #888; margin-bottom: 10px; }
    .costo-card .cc-desc   { font-size: 12px; color: #555; line-height: 1.5; }
    .costo-card .cc-nota   { font-size: 10px; color: #aaa; margin-top: 8px; font-style: italic; }

    /* ══════════════════════════════════════
       NSR-10 EXPLICADO — acordeón visual
    ══════════════════════════════════════ */
    .nsr-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 14px;
      margin: 24px 0;
    }
    .nsr-card {
      background: #fff;
      border-radius: 10px;
      border: 1px solid #e5e5e5;
      padding: 18px 16px;
    }
    .nsr-card .nsr-icon {
      width: 40px; height: 40px;
      border-radius: 8px;
      background: #0d2137;
      color: #1da78b;
      font-size: 18px;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 12px;
    }
    .nsr-card h4 { font-size: 13px; font-weight: 700; color: #0d2137; margin-bottom: 6px; }
    .nsr-card p  { font-size: 12px; color: #555; line-height: 1.6; margin: 0; }

    /* ══════════════════════════════════════
       CURADURÍAS BOGOTÁ — mapa de zonas
    ══════════════════════════════════════ */
    .curaduria-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 12px;
      margin: 20px 0;
    }
    .curaduria-card {
      background: #fff;
      border-radius: 8px;
      border: 1px solid #e5e5e5;
      padding: 14px 14px;
      border-left: 4px solid #1da78b;
    }
    .curaduria-card .cc-num {
      font-size: 28px; font-weight: 800;
      color: #1da78b; line-height: 1;
      font-family: 'Playfair Display', serif;
      margin-bottom: 4px;
    }
    .curaduria-card h5 { font-size: 12px; font-weight: 700; color: #242424; margin-bottom: 4px; }
    .curaduria-card p  { font-size: 11px; color: #666; line-height: 1.5; margin: 0; }

    /* ══════════════════════════════════════
       CTA PRINCIPAL — elegante, no urgente
    ══════════════════════════════════════ */
    .cta-experto {
      background: linear-gradient(135deg, #0d2137 0%, #1a3a52 60%, #1da78b 100%);
      border-radius: 14px;
      padding: 36px 32px;
      margin: 36px 0;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 24px;
      align-items: center;
      position: relative;
      overflow: hidden;
    }
    .cta-experto::before {
      content: '';
      position: absolute;
      right: -60px; top: -60px;
      width: 240px; height: 240px;
      border-radius: 50%;
      background: rgba(255,255,255,.04);
    }
    .cta-experto::after {
      content: '';
      position: absolute;
      right: 20px; bottom: -30px;
      width: 160px; height: 160px;
      border-radius: 50%;
      background: rgba(29,167,139,.12);
    }
    .cta-experto .cta-text { position: relative; z-index: 1; }
    .cta-experto .cta-text .cta-eyebrow {
      font-size: 11px; font-weight: 700;
      text-transform: uppercase; letter-spacing: .6px;
      color: #1da78b; margin-bottom: 8px;
    }
    .cta-experto .cta-text h3 {
      color: #fff !important;
      font-size: 22px;
      font-family: 'Playfair Display', serif;
      margin-bottom: 8px;
      line-height: 1.3;
    }
    .cta-experto .cta-text p {
      color: rgba(255,255,255,.8) !important;
      font-size: 13px !important;
      margin: 0 !important;
      line-height: 1.6 !important;
    }
    .cta-experto .cta-actions {
      display: flex; flex-direction: column;
      gap: 10px; position: relative; z-index: 1;
      flex-shrink: 0;
    }
    .cta-btn-tel {
      display: flex; align-items: center; gap: 10px;
      background: #fff;
      color: #0d2137;
      text-decoration: none;
      padding: 13px 20px;
      border-radius: 8px;
      font-weight: 700; font-size: 14px;
      white-space: nowrap;
      transition: transform .15s, box-shadow .15s;
    }
    .cta-btn-tel:hover { transform: scale(1.02); box-shadow: 0 6px 20px rgba(0,0,0,.2); color: #0d2137; }
    .cta-btn-tel .fa { color: #1da78b; font-size: 16px; }
    .cta-btn-wa {
      display: flex; align-items: center; gap: 8px;
      background: #25D366;
      color: #fff;
      text-decoration: none;
      padding: 13px 20px;
      border-radius: 8px;
      font-weight: 700; font-size: 13px;
      white-space: nowrap;
      transition: background .2s, transform .15s;
    }
    .cta-btn-wa:hover { background: #1da851; color: #fff; transform: scale(1.02); }
    .cta-btn-wa .fa { font-size: 17px; }

    /* ══════════════════════════════════════
       SIDEBAR EXPERTO
    ══════════════════════════════════════ */
    .sidebar-experto {
      background: linear-gradient(160deg, #0d2137, #1a3a52);
      border-radius: 12px;
      padding: 22px 18px;
      margin-bottom: 24px;
      color: #fff;
      text-align: center;
    }
    .sidebar-experto .se-icon { font-size: 32px; color: #1da78b; margin-bottom: 10px; display: block; }
    .sidebar-experto h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 6px; font-family: 'Playfair Display', serif; }
    .sidebar-experto p  { font-size: 12px; color: rgba(255,255,255,.75); margin-bottom: 16px; line-height: 1.5; }
    .sidebar-experto .se-tel {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      background: #fff;
      color: #0d2137;
      font-size: 15px; font-weight: 800;
      padding: 11px;
      border-radius: 7px;
      text-decoration: none;
      margin-bottom: 8px;
      transition: transform .15s;
    }
    .sidebar-experto .se-tel:hover { transform: scale(1.02); }
    .sidebar-experto .se-tel .fa { color: #1da78b; }
    .sidebar-experto .se-wa {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      background: #25D366;
      color: #fff;
      font-size: 13px; font-weight: 700;
      padding: 11px;
      border-radius: 7px;
      text-decoration: none;
      transition: background .2s;
    }
    .sidebar-experto .se-wa:hover { background: #1da851; }
    .sidebar-experto hr { border-color: rgba(255,255,255,.15); margin: 14px 0; }
    .sidebar-experto ul { list-style: none; padding: 0; text-align: left; }
    .sidebar-experto ul li { font-size: 12px; padding: 4px 0; color: rgba(255,255,255,.8); display: flex; align-items: flex-start; gap: 6px; }
    .sidebar-experto ul li .fa { color: #1da78b; font-size: 11px; margin-top: 3px; flex-shrink: 0; }

    /* ══════════════════════════════════════
       PROCESO TIMELINE
    ══════════════════════════════════════ */
    .proceso-steps {
      margin: 24px 0;
    }
    .proceso-step {
      display: flex;
      gap: 16px;
      align-items: flex-start;
      padding: 16px 0;
      border-bottom: 1px solid #e5e5e5;
    }
    .proceso-step:last-child { border-bottom: none; }
    .step-num {
      min-width: 36px; height: 36px;
      border-radius: 50%;
      background: #1da78b;
      color: #fff;
      font-size: 14px; font-weight: 700;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .step-content h5 { font-size: 14px; font-weight: 700; color: #242424; margin-bottom: 5px; }
    .step-content p  { font-size: 13px; color: #555; line-height: 1.6; margin: 0; }

    /* ══════════════════════════════════════
       CHECKLIST TÉCNICA
    ══════════════════════════════════════ */
    /* usa blog-checklist del CSS base */

    /* ══════════════════════════════════════
       RESPONSIVE
    ══════════════════════════════════════ */
    @media (max-width: 991px) {
      .tipo-ampliacion-grid { grid-template-columns: 1fr 1fr; }
      .costos-grid           { grid-template-columns: 1fr 1fr; }
      .cta-experto           { grid-template-columns: 1fr; }
      .cta-experto .cta-actions { flex-direction: row; flex-wrap: wrap; }
    }
    @media (max-width: 767px) {
      .tipo-ampliacion-grid  { grid-template-columns: 1fr; }
      .costos-grid           { grid-template-columns: 1fr 1fr; }
      .nsr-grid              { grid-template-columns: 1fr; }
      .curaduria-grid        { grid-template-columns: 1fr 1fr; }
      .lic-step              { grid-template-columns: 40px 1fr; gap: 12px; }
      .lic-step-num          { width: 40px; height: 40px; font-size: 15px; }
      .lic-step:not(:last-child)::after { left: 19px; top: 40px; }
      .cta-experto           { padding: 22px 18px; }
      .cta-experto .cta-actions { flex-direction: column; }
      .cta-btn-tel, .cta-btn-wa { justify-content: center; }
    }
    @media (max-width: 480px) {
      .costos-grid    { grid-template-columns: 1fr; }
      .curaduria-grid { grid-template-columns: 1fr; }
      .nsr-grid       { grid-template-columns: 1fr; }
    }

 *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: 'Montserrat', 'Segoe UI', sans-serif; background: #f7f8f6; color: #242424; }
    .auto-container { max-width: 1220px; margin: 0 auto; padding: 0 20px; }

    /* ══ HERO — tono oscuro, técnico, lluvia bogotana ══ */
    .blog-hero {
      background: linear-gradient(150deg, #1a2c1e 0%, #2d4a32 50%, #1da78b 100%);
      padding: 72px 0 60px;
      position: relative;
      overflow: hidden;
    }
    .blog-hero::before {
      content: '';
      position: absolute; inset: 0;
      background: url('../img/blog/impermeabilizacion-techo-hero.jpg') center/cover no-repeat;
      opacity: .13;
    }
    /* patrón de lluvia decorativo */
    .blog-hero::after {
      content: '';
      position: absolute;
      right: 0; top: 0; bottom: 0;
      width: 340px;
      background: repeating-linear-gradient(
        105deg,
        transparent 0px,
        transparent 18px,
        rgba(255,255,255,.03) 18px,
        rgba(255,255,255,.03) 20px
      );
    }
    .blog-hero .auto-container { position: relative; z-index: 2; }
    .blog-hero h1 {
      font-family: 'DM Serif Display', Georgia, serif;
      font-size: clamp(24px, 3.6vw, 42px);
      color: #fff;
      line-height: 1.22;
      max-width: 800px;
      margin-bottom: 16px;
    }
    .blog-category-pill { background: #1da78b; color: #fff; }

    /* ══ SISTEMA COMPARATIVO — cards hero de cada sistema ══ */
    .sistemas-hero-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
      border-radius: 14px;
      overflow: hidden;
      box-shadow: 0 4px 24px rgba(0,0,0,.12);
      margin: 32px 0;
      border: 1px solid #e5e5e5;
    }
    .sistema-hero-card {
      background: #fff;
      padding: 24px 20px;
      border-right: 1px solid #e5e5e5;
      transition: box-shadow .2s;
      position: relative;
    }
    .sistema-hero-card:last-child { border-right: none; }
    .sistema-hero-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 5px;
    }
    .shc-asfalto::before   { background: linear-gradient(90deg, #374151, #6b7280); }
    .shc-poliurea::before  { background: linear-gradient(90deg, #1877f2, #60a5fa); }
    .shc-acrilico::before  { background: linear-gradient(90deg, #1da78b, #34d399); }
    .sistema-hero-card .shc-icon {
      width: 48px; height: 48px;
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      font-size: 22px;
      margin-bottom: 12px;
    }
    .shc-asfalto  .shc-icon { background: #f1f3f4; color: #374151; }
    .shc-poliurea .shc-icon { background: #dde9fc; color: #1877f2; }
    .shc-acrilico .shc-icon { background: #e1f5ee; color: #1da78b; }
    .sistema-hero-card h3 {
      font-size: 15px; font-weight: 800;
      color: #0d1f14; margin-bottom: 6px;
    }
    .sistema-hero-card .shc-subtitulo {
      font-size: 11px; font-weight: 600;
      text-transform: uppercase; letter-spacing: .5px;
      margin-bottom: 14px;
    }
    .shc-asfalto  .shc-subtitulo { color: #6b7280; }
    .shc-poliurea .shc-subtitulo { color: #1877f2; }
    .shc-acrilico .shc-subtitulo { color: #1da78b; }
    .shc-stat {
      display: flex; flex-direction: column;
      margin-bottom: 8px;
      padding-bottom: 8px;
      border-bottom: 1px solid #f0f0f0;
    }
    .shc-stat:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
    .shc-stat .stat-label { font-size: 10px; color: #aaa; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 2px; }
    .shc-stat .stat-val   { font-size: 13px; font-weight: 700; color: #242424; }

    /* ══ SEMÁFORO DE IDONEIDAD ══ */
    .idoneidad-table-wrap { overflow-x: auto; margin: 28px 0; }
    /* usa blog-table del CSS base con clases adicionales */
    .dot-si   { color: #1da78b; font-size: 16px; }
    .dot-no   { color: #e74c3c; font-size: 16px; }
    .dot-cond { color: #ef9f27; font-size: 14px; font-weight: 700; }

    /* ══ TARJETA DE SISTEMA DETALLADO ══ */
    .sistema-detalle {
      background: #fff;
      border-radius: 14px;
      border: 1px solid #e5e5e5;
      overflow: hidden;
      margin: 32px 0;
      box-shadow: 0 2px 16px rgba(0,0,0,.06);
    }
    .sistema-detalle-header {
      display: flex; align-items: center; gap: 16px;
      padding: 22px 24px;
      border-bottom: 1px solid #f0f0f0;
    }
    .sd-icon {
      width: 54px; height: 54px;
      border-radius: 12px;
      display: flex; align-items: center; justify-content: center;
      font-size: 24px; flex-shrink: 0;
    }
    .sistema-detalle-header .sd-meta { flex: 1; }
    .sistema-detalle-header h3 {
      font-size: 18px; font-weight: 800;
      color: #0d1f14; margin-bottom: 4px;
    }
    .sistema-detalle-header p {
      font-size: 12px; color: #888; margin: 0;
    }
    .sd-vida-badge {
      display: inline-flex; align-items: center; gap: 6px;
      border-radius: 999px;
      padding: 5px 14px;
      font-size: 12px; font-weight: 700;
      white-space: nowrap;
    }
    /* colores de cada sistema */
    .sd-asfalto  .sd-icon { background: #f1f3f4; color: #374151; }
    .sd-asfalto  .sd-vida-badge { background: #f1f3f4; color: #374151; }
    .sd-asfalto  .sistema-detalle-header { border-top: 5px solid #6b7280; }
    .sd-poliurea .sd-icon { background: #dde9fc; color: #1877f2; }
    .sd-poliurea .sd-vida-badge { background: #dde9fc; color: #0a3875; }
    .sd-poliurea .sistema-detalle-header { border-top: 5px solid #1877f2; }
    .sd-acrilico .sd-icon { background: #e1f5ee; color: #1da78b; }
    .sd-acrilico .sd-vida-badge { background: #e1f5ee; color: #085041; }
    .sd-acrilico .sistema-detalle-header { border-top: 5px solid #1da78b; }
    .sistema-detalle-body { padding: 24px; }
    .sistema-detalle-body > p { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 20px; }
    .sistema-detalle-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 20px;
    }
    .sd-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: #aaa; margin-bottom: 10px; }
    .sd-col ul { list-style: none; padding: 0; }
    .sd-col ul li {
      display: flex; align-items: flex-start; gap: 8px;
      font-size: 13px; color: #555; line-height: 1.5;
      padding: 5px 0; border-bottom: 1px solid #f5f5f5;
    }
    .sd-col ul li:last-child { border-bottom: none; }
    .sd-col ul li .fa { font-size: 12px; flex-shrink: 0; margin-top: 3px; }
    .sd-pro .fa  { color: #1da78b; }
    .sd-contra .fa { color: #e74c3c; }
    .sistema-detalle-footer {
      background: #f9fafb;
      border-top: 1px solid #f0f0f0;
      padding: 16px 24px;
      display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    }
    .sd-costo {
      display: flex; flex-direction: column;
    }
    .sd-costo .sc-label { font-size: 10px; color: #aaa; text-transform: uppercase; letter-spacing: .4px; }
    .sd-costo .sc-val   { font-size: 18px; font-weight: 800; color: #0d1f14; }
    .sd-costo .sc-unit  { font-size: 11px; color: #888; }
    .sd-cuando {
      flex: 1; min-width: 200px;
      background: #fff;
      border-radius: 8px;
      padding: 10px 14px;
      border: 1px solid #e5e5e5;
      font-size: 12px; color: #555; line-height: 1.6;
    }
    .sd-cuando strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: #aaa; margin-bottom: 4px; }

    /* ══ DECISOR VISUAL ══ */
    .decisor-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 14px;
      margin: 28px 0;
    }
    .decisor-card {
      background: #fff;
      border-radius: 10px;
      border: 1px solid #e5e5e5;
      padding: 18px 16px;
    }
    .decisor-card .dc-pregunta {
      font-size: 13px; font-weight: 700;
      color: #242424; margin-bottom: 12px;
      padding-bottom: 10px;
      border-bottom: 2px solid #f0f0f0;
      line-height: 1.4;
    }
    .decisor-card .dc-opciones { display: flex; flex-direction: column; gap: 6px; }
    .decisor-opcion {
      display: flex; align-items: center; gap: 8px;
      font-size: 12px; color: #555;
      background: #f9fafb;
      border-radius: 6px;
      padding: 7px 10px;
    }
    .decisor-opcion .do-dot {
      width: 8px; height: 8px;
      border-radius: 50%;
      flex-shrink: 0;
    }
    .do-asfalto  { background: #6b7280; }
    .do-poliurea { background: #1877f2; }
    .do-acrilico { background: #1da78b; }
    .do-combo    { background: #7c3aed; }

    /* ══ FALLA TÍPICA — tarjetas de advertencia ══ */
    .falla-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 14px;
      margin: 24px 0;
    }
    .falla-card {
      background: #fff;
      border-radius: 10px;
      border: 1px solid #e5e5e5;
      border-left: 4px solid #e74c3c;
      padding: 16px 14px;
    }
    .falla-card .fc-label {
      font-size: 10px; font-weight: 700; text-transform: uppercase;
      letter-spacing: .5px; color: #e74c3c; margin-bottom: 8px;
      display: flex; align-items: center; gap: 5px;
    }
    .falla-card h5 { font-size: 13px; font-weight: 700; color: #242424; margin-bottom: 6px; }
    .falla-card p  { font-size: 12px; color: #666; line-height: 1.5; margin: 0; }

    /* ══ CTA ESPECIALISTA ══ */
    .cta-especialista {
      background: linear-gradient(135deg, #1a2c1e 0%, #2d4a32 60%, #1da78b 100%);
      border-radius: 14px;
      padding: 34px 30px;
      margin: 36px 0;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 24px;
      align-items: center;
      position: relative;
      overflow: hidden;
    }
    .cta-especialista::before {
      content: '';
      position: absolute; right: -40px; bottom: -40px;
      width: 200px; height: 200px;
      border-radius: 50%;
      background: rgba(29,167,139,.15);
    }
    .cta-especialista .cta-text { position: relative; z-index: 1; }
    .cta-especialista .cta-text .eyebrow {
      font-size: 11px; font-weight: 700; text-transform: uppercase;
      letter-spacing: .6px; color: #1da78b; margin-bottom: 8px;
    }
    .cta-especialista .cta-text h3 {
      color: #fff !important;
      font-family: 'DM Serif Display', serif;
      font-size: 22px; line-height: 1.3; margin-bottom: 8px;
    }
    .cta-especialista .cta-text p {
      color: rgba(255,255,255,.8) !important;
      font-size: 13px !important; margin: 0 !important; line-height: 1.6 !important;
    }
    .cta-especialista .cta-btns {
      display: flex; flex-direction: column; gap: 10px;
      position: relative; z-index: 1; flex-shrink: 0;
    }
    .cta-btn-tel {
      display: flex; align-items: center; gap: 10px;
      background: #fff; color: #1a2c1e;
      text-decoration: none; padding: 13px 20px;
      border-radius: 8px; font-weight: 700; font-size: 14px;
      white-space: nowrap; transition: transform .15s, box-shadow .15s;
    }
    .cta-btn-tel:hover { transform: scale(1.02); box-shadow: 0 6px 20px rgba(0,0,0,.2); color: #1a2c1e; }
    .cta-btn-tel .fa { color: #1da78b; }
    .cta-btn-wa {
      display: flex; align-items: center; gap: 8px;
      background: #25D366; color: #fff;
      text-decoration: none; padding: 13px 20px;
      border-radius: 8px; font-weight: 700; font-size: 13px;
      white-space: nowrap; transition: background .2s, transform .15s;
    }
    .cta-btn-wa:hover { background: #1da851; color: #fff; transform: scale(1.02); }

    /* ══ SIDEBAR ESPECIALISTA ══ */
    .sidebar-verde {
      background: linear-gradient(160deg, #1a2c1e, #2d4a32);
      border-radius: 12px; padding: 22px 18px;
      margin-bottom: 24px; color: #fff; text-align: center;
    }
    .sidebar-verde .sv-icon { font-size: 32px; color: #1da78b; margin-bottom: 10px; display: block; }
    .sidebar-verde h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 6px; font-family: 'DM Serif Display', serif; font-size: 16px; }
    .sidebar-verde p  { font-size: 12px; color: rgba(255,255,255,.75); margin-bottom: 16px; line-height: 1.5; }
    .sidebar-verde .sv-tel {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      background: #fff; color: #1a2c1e;
      font-size: 15px; font-weight: 800; padding: 11px;
      border-radius: 7px; text-decoration: none; margin-bottom: 8px;
      transition: transform .15s;
    }
    .sidebar-verde .sv-tel:hover { transform: scale(1.02); }
    .sidebar-verde .sv-tel .fa { color: #1da78b; }
    .sidebar-verde .sv-wa {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      background: #25D366; color: #fff;
      font-size: 13px; font-weight: 700; padding: 11px;
      border-radius: 7px; text-decoration: none; transition: background .2s;
    }
    .sidebar-verde .sv-wa:hover { background: #1da851; }
    .sidebar-verde hr { border-color: rgba(255,255,255,.15); margin: 14px 0; }
    .sidebar-verde ul { list-style: none; padding: 0; text-align: left; }
    .sidebar-verde ul li { font-size: 12px; padding: 4px 0; color: rgba(255,255,255,.8); display: flex; align-items: flex-start; gap: 6px; }
    .sidebar-verde ul li .fa { color: #1da78b; font-size: 11px; margin-top: 3px; flex-shrink: 0; }

    /* ══ RESPONSIVE ══ */
    @media (max-width: 991px) {
      .sistemas-hero-grid     { grid-template-columns: 1fr; }
      .sistema-hero-card      { border-right: none; border-bottom: 1px solid #e5e5e5; }
      .sistema-hero-card:last-child { border-bottom: none; }
      .sistemas-hero-grid .sistema-hero-card { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; align-items: start; }
      .sistemas-hero-grid .sistema-hero-card .shc-icon { margin-bottom: 0; }
      .cta-especialista { grid-template-columns: 1fr; }
      .cta-especialista .cta-btns { flex-direction: row; flex-wrap: wrap; }
    }
    @media (max-width: 767px) {
      .sistema-detalle-grid   { grid-template-columns: 1fr; }
      .sistemas-hero-grid .sistema-hero-card { grid-template-columns: 1fr; }
      .cta-especialista       { padding: 22px 16px; }
      .cta-especialista .cta-btns { flex-direction: column; }
      .cta-btn-tel, .cta-btn-wa { justify-content: center; }
      .decisor-grid           { grid-template-columns: 1fr; }
      .falla-grid             { grid-template-columns: 1fr; }
      .sistema-detalle-footer { flex-direction: column; align-items: flex-start; }
    }
    @media (max-width: 480px) {
      .sistemas-hero-grid { border-radius: 10px; }
    }

 *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: 'Montserrat', 'Segoe UI', sans-serif; background: #f7f8f6; color: #242424; }
    .auto-container { max-width: 1220px; margin: 0 auto; padding: 0 20px; }

    /* ══ HERO DEL BLOG ══ */
    .blog-index-hero {
      background: linear-gradient(140deg, #0d1f14 0%, #1a3520 50%, #1da78b 100%);
      padding: 72px 0 64px;
      position: relative;
      overflow: hidden;
    }
    .blog-index-hero::before {
      content: '';
      position: absolute; inset: 0;
      background:
        radial-gradient(ellipse at 80% 50%, rgba(29,167,139,.15) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(255,255,255,.04) 0%, transparent 50%);
    }
    /* Grid diagonal decorativo */
    .blog-index-hero::after {
      content: '';
      position: absolute; inset: 0;
      background: repeating-linear-gradient(
        -45deg,
        transparent 0px, transparent 40px,
        rgba(255,255,255,.015) 40px, rgba(255,255,255,.015) 41px
      );
    }
    .blog-index-hero .auto-container { position: relative; z-index: 2; }
    .blog-index-hero .hero-eyebrow {
      display: inline-flex; align-items: center; gap: 7px;
      background: rgba(29,167,139,.2);
      border: 1px solid rgba(29,167,139,.4);
      border-radius: 999px;
      padding: 5px 14px;
      font-size: 11px; font-weight: 700;
      text-transform: uppercase; letter-spacing: .6px;
      color: #1da78b; margin-bottom: 18px;
    }
    .blog-index-hero h1 {
      font-family: 'DM Serif Display', Georgia, serif;
      font-size: clamp(30px, 4vw, 52px);
      color: #fff; line-height: 1.18;
      max-width: 700px; margin-bottom: 18px;
    }
    .blog-index-hero h1 em {
      font-style: italic; color: #1da78b;
    }
    .blog-index-hero p {
      font-size: 16px; color: rgba(255,255,255,.78);
      max-width: 580px; line-height: 1.7; margin-bottom: 28px;
    }
    .hero-stats {
      display: flex; gap: 28px; flex-wrap: wrap;
    }
    .hero-stat {
      display: flex; align-items: center; gap: 10px;
    }
    .hero-stat .hs-num {
      font-family: 'DM Serif Display', serif;
      font-size: 28px; font-weight: 700;
      color: #fff; line-height: 1;
    }
    .hero-stat .hs-label {
      font-size: 11px; color: rgba(255,255,255,.6);
      line-height: 1.4; max-width: 80px;
    }
    .hero-stat-divider {
      width: 1px; height: 36px;
      background: rgba(255,255,255,.15);
    }

    /* ══ FILTROS DE CATEGORÍA ══ */
    .blog-filters {
      background: #fff;
      border-bottom: 1px solid #e5e5e5;
      position: sticky; top: 0; z-index: 100;
      box-shadow: 0 2px 12px rgba(0,0,0,.06);
    }
    .blog-filters-inner {
      display: flex; align-items: center; gap: 8px;
      padding: 14px 0; overflow-x: auto;
      scrollbar-width: none;
    }
    .blog-filters-inner::-webkit-scrollbar { display: none; }
    .filter-btn {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 7px 16px; border-radius: 999px;
      font-size: 12px; font-weight: 600;
      border: 1.5px solid #e5e5e5;
      background: #fff; color: #555;
      cursor: pointer; white-space: nowrap;
      transition: all .18s;
      text-decoration: none;
    }
    .filter-btn:hover { border-color: #1da78b; color: #1da78b; background: #f1fbf6; }
    .filter-btn.active {
      background: #1da78b; border-color: #1da78b;
      color: #fff; box-shadow: 0 2px 10px rgba(29,167,139,.25);
    }
    .filter-btn .fb-count {
      background: rgba(0,0,0,.08);
      border-radius: 999px; padding: 1px 7px;
      font-size: 10px; font-weight: 700;
    }
    .filter-btn.active .fb-count { background: rgba(255,255,255,.25); }

    /* ══ ARTÍCULO DESTACADO ══ */
    .blog-featured {
      padding: 52px 0 8px;
    }
    .featured-label {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 11px; font-weight: 700;
      text-transform: uppercase; letter-spacing: .5px;
      color: #e2b13c; margin-bottom: 18px;
    }
    .featured-label .fa { font-size: 12px; }
    .featured-card {
      display: grid;
      grid-template-columns: 1fr 1fr;
      border-radius: 16px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 4px 28px rgba(0,0,0,.09);
      border: 1px solid #e5e5e5;
      transition: box-shadow .2s;
    }
    .featured-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,.14); }
    .featured-card-image {
      background: linear-gradient(135deg, #1a3520 0%, #2d4a32 60%, #1da78b 100%);
      min-height: 300px;
      position: relative;
      display: flex; align-items: flex-end;
      padding: 24px;
    }
    .featured-card-image img {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover; opacity: .35;
    }
    .featured-card-image .fci-overlay {
      position: relative; z-index: 1;
    }
    .featured-card-image .fci-cat {
      display: inline-flex; align-items: center; gap: 5px;
      background: rgba(29,167,139,.9);
      border-radius: 999px;
      padding: 4px 12px;
      font-size: 10px; font-weight: 700;
      text-transform: uppercase; letter-spacing: .5px;
      color: #fff; margin-bottom: 10px;
    }
    .featured-card-image h2 {
      font-family: 'DM Serif Display', serif;
      font-size: 22px; color: #fff;
      line-height: 1.3; max-width: 340px;
    }
    .featured-card-body {
      padding: 32px 32px 28px;
      display: flex; flex-direction: column;
    }
    .featured-card-body .fc-meta {
      display: flex; align-items: center; gap: 14px;
      font-size: 12px; color: #aaa; margin-bottom: 14px; flex-wrap: wrap;
    }
    .featured-card-body .fc-meta span { display: flex; align-items: center; gap: 5px; }
    .featured-card-body .fc-meta .fa { color: #1da78b; }
    .featured-card-body p {
      font-size: 14px; color: #555; line-height: 1.75;
      margin-bottom: 20px; flex: 1;
    }
    .featured-card-body .fc-tags {
      display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 22px;
    }
    .fc-tag {
      font-size: 11px; background: #f0fdf8;
      border: 1px solid #9fe1cb; color: #085041;
      border-radius: 999px; padding: 3px 10px;
    }
    .btn-leer {
      display: inline-flex; align-items: center; gap: 8px;
      background: #1da78b; color: #fff;
      font-size: 13px; font-weight: 700;
      padding: 12px 22px; border-radius: 8px;
      text-decoration: none; transition: background .2s, transform .15s;
      align-self: flex-start;
    }
    .btn-leer:hover { background: #0f6e56; color: #fff; transform: translateX(2px); }
    .btn-leer .fa { font-size: 11px; }

    /* ══ GRID DE ARTÍCULOS ══ */
    .blog-grid-section { padding: 48px 0 64px; }
    .bg-section-header {
      display: flex; align-items: baseline;
      justify-content: space-between;
      margin-bottom: 28px; flex-wrap: wrap; gap: 10px;
    }
    .bg-section-header h2 {
      font-family: 'DM Serif Display', serif;
      font-size: 22px; color: #0d1f14;
    }
    .bg-section-header .ver-todos {
      font-size: 12px; font-weight: 600; color: #1da78b;
      text-decoration: none; display: flex; align-items: center; gap: 5px;
    }
    .bg-section-header .ver-todos:hover { color: #0f6e56; }

    .blog-cards-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;
    }
    .blog-card-item {
      background: #fff;
      border-radius: 12px;
      border: 1px solid #e5e5e5;
      overflow: hidden;
      display: flex; flex-direction: column;
      transition: box-shadow .2s, transform .2s;
      text-decoration: none;
      color: inherit;
    }
    .blog-card-item:hover {
      box-shadow: 0 8px 28px rgba(0,0,0,.11);
      transform: translateY(-3px);
    }
    .bci-image {
      height: 178px;
      position: relative;
      overflow: hidden;
    }
    .bci-image img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform .35s;
    }
    .blog-card-item:hover .bci-image img { transform: scale(1.04); }
    .bci-image .bci-img-placeholder {
      width: 100%; height: 100%;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      gap: 8px;
      font-size: 13px; font-weight: 600; color: #fff;
    }
    .bci-image .bci-img-placeholder .fa { font-size: 32px; opacity: .7; }
    .bci-cat-pill {
      position: absolute; top: 12px; left: 12px;
      display: inline-flex; align-items: center; gap: 5px;
      border-radius: 999px; padding: 4px 11px;
      font-size: 10px; font-weight: 700;
      text-transform: uppercase; letter-spacing: .4px;
      backdrop-filter: blur(6px);
    }
    .bci-body {
      padding: 18px 18px 20px;
      flex: 1; display: flex; flex-direction: column;
    }
    .bci-meta {
      display: flex; align-items: center; gap: 12px;
      font-size: 11px; color: #aaa; margin-bottom: 10px;
    }
    .bci-meta span { display: flex; align-items: center; gap: 4px; }
    .bci-meta .fa { font-size: 10px; color: #1da78b; }
    .bci-body h3 {
      font-size: 15px; font-weight: 700; color: #0d1f14;
      line-height: 1.4; margin-bottom: 10px;
    }
    .bci-body p {
      font-size: 13px; color: #666; line-height: 1.65;
      margin-bottom: 16px; flex: 1;
    }
    .bci-footer {
      display: flex; align-items: center;
      justify-content: space-between;
      border-top: 1px solid #f0f0f0;
      padding-top: 12px; margin-top: auto;
    }
    .bci-footer .bci-tags { display: flex; gap: 4px; flex-wrap: wrap; }
    .bci-tag {
      font-size: 10px; background: #f7f8f6;
      border: 1px solid #e5e5e5; color: #888;
      border-radius: 999px; padding: 2px 8px;
    }
    .bci-leer {
      font-size: 11px; font-weight: 700;
      color: #1da78b; display: flex; align-items: center; gap: 4px;
      white-space: nowrap; flex-shrink: 0;
    }
    .bci-leer .fa { font-size: 10px; }

    /* Colores por categoría */
    .cat-impermeabilizacion .bci-image { background: linear-gradient(135deg, #1a3520, #1da78b); }
    .cat-impermeabilizacion .bci-cat-pill { background: rgba(29,167,139,.85); color: #fff; }
    .cat-plomeria .bci-image { background: linear-gradient(135deg, #0a3875, #1877f2); }
    .cat-plomeria .bci-cat-pill { background: rgba(24,119,242,.85); color: #fff; }
    .cat-construccion .bci-image { background: linear-gradient(135deg, #3d2400, #e2b13c); }
    .cat-construccion .bci-cat-pill { background: rgba(226,177,60,.9); color: #3d2400; }
    .cat-techistas .bci-image { background: linear-gradient(135deg, #1a1a2e, #374151); }
    .cat-techistas .bci-cat-pill { background: rgba(55,65,81,.9); color: #fff; }

    /* ══ NEWSLETTER / CTA MEDIO ══ */
    .blog-cta-mid {
      background: linear-gradient(135deg, #0d1f14 0%, #1a3520 60%, #1da78b 100%);
      border-radius: 16px;
      padding: 44px 40px;
      margin: 8px 0 52px;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 28px; align-items: center;
      position: relative; overflow: hidden;
    }
    .blog-cta-mid::before {
      content: '';
      position: absolute; right: -60px; top: -60px;
      width: 260px; height: 260px;
      border-radius: 50%; background: rgba(29,167,139,.1);
    }
    .blog-cta-mid::after {
      content: '';
      position: absolute; right: 80px; bottom: -40px;
      width: 160px; height: 160px;
      border-radius: 50%; background: rgba(255,255,255,.04);
    }
    .blog-cta-mid .cta-text { position: relative; z-index: 1; }
    .blog-cta-mid .cta-text .cta-eyebrow {
      font-size: 11px; font-weight: 700; text-transform: uppercase;
      letter-spacing: .6px; color: #1da78b; margin-bottom: 8px;
    }
    .blog-cta-mid .cta-text h3 {
      font-family: 'DM Serif Display', serif;
      color: #fff; font-size: 24px;
      line-height: 1.3; margin-bottom: 8px;
    }
    .blog-cta-mid .cta-text p {
      color: rgba(255,255,255,.75); font-size: 14px;
      line-height: 1.6; margin: 0;
    }
    .blog-cta-mid .cta-actions {
      display: flex; flex-direction: column;
      gap: 10px; position: relative; z-index: 1; flex-shrink: 0;
    }
    .cta-btn-primary {
      display: flex; align-items: center; gap: 8px;
      background: #fff; color: #0d1f14;
      font-size: 14px; font-weight: 700;
      padding: 13px 22px; border-radius: 8px;
      text-decoration: none; white-space: nowrap;
      transition: transform .15s, box-shadow .15s;
    }
    .cta-btn-primary:hover { transform: scale(1.02); box-shadow: 0 6px 20px rgba(0,0,0,.2); color: #0d1f14; }
    .cta-btn-primary .fa { color: #1da78b; }
    .cta-btn-wa {
      display: flex; align-items: center; gap: 8px;
      background: #25D366; color: #fff;
      font-size: 13px; font-weight: 700;
      padding: 13px 22px; border-radius: 8px;
      text-decoration: none; white-space: nowrap;
      transition: background .2s, transform .15s;
    }
    .cta-btn-wa:hover { background: #1da851; color: #fff; transform: scale(1.02); }

    /* ══ SIDEBAR DEL BLOG ══ */
    .blog-index-layout {
      display: grid;
      grid-template-columns: 1fr 300px;
      gap: 36px;
      padding-bottom: 64px;
      align-items: start;
    }
    .blog-index-sidebar { position: sticky; top: 80px; }

    /* Widget de categorías */
    .sidebar-categorias {
      background: #fff; border-radius: 12px;
      box-shadow: 0 2px 12px rgba(0,0,0,.07);
      padding: 22px; margin-bottom: 24px;
      border-top: 4px solid #1da78b;
    }
    .sidebar-categorias h4 {
      font-size: 12px; font-weight: 700;
      text-transform: uppercase; letter-spacing: .5px;
      color: #aaa; margin-bottom: 14px;
      display: flex; align-items: center; gap: 7px;
    }
    .sidebar-categorias h4 .fa { color: #1da78b; }
    .cat-list { list-style: none; padding: 0; }
    .cat-list li {
      border-bottom: 1px solid #f0f0f0;
    }
    .cat-list li:last-child { border-bottom: none; }
    .cat-list a {
      display: flex; align-items: center; justify-content: space-between;
      padding: 10px 0; font-size: 13px; color: #555;
      text-decoration: none; transition: color .15s;
    }
    .cat-list a:hover { color: #1da78b; }
    .cat-list a .cat-info { display: flex; align-items: center; gap: 8px; }
    .cat-list a .cat-icon {
      width: 28px; height: 28px; border-radius: 6px;
      display: flex; align-items: center; justify-content: center;
      font-size: 12px;
    }
    .cat-list a .cat-count {
      font-size: 11px; font-weight: 700;
      background: #f0fdf8; color: #1da78b;
      border-radius: 999px; padding: 1px 8px;
    }

    /* Widget de contacto sidebar */
    .sidebar-contacto {
      background: linear-gradient(160deg, #0d1f14, #1a3520);
      border-radius: 12px; padding: 22px 18px;
      margin-bottom: 24px; color: #fff; text-align: center;
    }
    .sidebar-contacto .sc-icon { font-size: 30px; color: #1da78b; margin-bottom: 10px; display: block; }
    .sidebar-contacto h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 6px; font-family: 'DM Serif Display', serif; font-size: 16px; }
    .sidebar-contacto p  { font-size: 12px; color: rgba(255,255,255,.7); margin-bottom: 16px; line-height: 1.5; }
    .sidebar-contacto .sc-tel {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      background: #fff; color: #0d1f14;
      font-size: 15px; font-weight: 800;
      padding: 11px; border-radius: 7px;
      text-decoration: none; margin-bottom: 8px;
      transition: transform .15s;
    }
    .sidebar-contacto .sc-tel:hover { transform: scale(1.02); }
    .sidebar-contacto .sc-tel .fa { color: #1da78b; }
    .sidebar-contacto .sc-wa {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      background: #25D366; color: #fff;
      font-size: 13px; font-weight: 700;
      padding: 11px; border-radius: 7px;
      text-decoration: none; transition: background .2s;
    }
    .sidebar-contacto .sc-wa:hover { background: #1da851; }

    /* Widget artículos más leídos */
    .sidebar-populares {
      background: #fff; border-radius: 12px;
      box-shadow: 0 2px 12px rgba(0,0,0,.07);
      padding: 22px; margin-bottom: 24px;
    }
    .sidebar-populares h4 {
      font-size: 12px; font-weight: 700;
      text-transform: uppercase; letter-spacing: .5px;
      color: #aaa; margin-bottom: 14px;
      display: flex; align-items: center; gap: 7px;
    }
    .sidebar-populares h4 .fa { color: #1da78b; }
    .popular-item {
      display: flex; gap: 12px; align-items: flex-start;
      padding: 10px 0; border-bottom: 1px solid #f0f0f0;
      text-decoration: none;
    }
    .popular-item:last-child { border-bottom: none; padding-bottom: 0; }
    .popular-num {
      font-family: 'DM Serif Display', serif;
      font-size: 22px; font-weight: 700;
      color: #e5e5e5; line-height: 1; flex-shrink: 0;
      width: 28px; text-align: center;
    }
    .popular-item:hover .popular-num { color: #1da78b; }
    .popular-info h5 { font-size: 12px; font-weight: 700; color: #242424; line-height: 1.4; margin-bottom: 3px; }
    .popular-item:hover .popular-info h5 { color: #1da78b; }
    .popular-info span { font-size: 11px; color: #aaa; }

    /* ══ FOOTER SIMPLE DEL BLOG ══ */
    .blog-index-footer {
      background: #0d1f14;
      padding: 32px 0;
      text-align: center;
    }
    .blog-index-footer p { font-size: 13px; color: rgba(255,255,255,.5); }
    .blog-index-footer a { color: #1da78b; text-decoration: none; }

    /* ══ RESPONSIVE ══ */
    @media (max-width: 991px) {
      .blog-index-layout { grid-template-columns: 1fr; }
      .blog-index-sidebar { position: static; }
      .featured-card { grid-template-columns: 1fr; }
      .featured-card-image { min-height: 220px; }
      .blog-cta-mid { grid-template-columns: 1fr; }
      .blog-cta-mid .cta-actions { flex-direction: row; flex-wrap: wrap; }
      .blog-cards-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 767px) {
      .blog-index-hero { padding: 52px 0 44px; }
      .hero-stats { gap: 16px; }
      .hero-stat .hs-num { font-size: 22px; }
      .blog-cards-grid { grid-template-columns: 1fr; }
      .blog-cta-mid { padding: 28px 20px; }
      .blog-cta-mid .cta-actions { flex-direction: column; }
      .cta-btn-primary, .cta-btn-wa { justify-content: center; }
      .featured-card-body { padding: 20px; }
    }
    @media (max-width: 480px) {
      .hero-stats { flex-direction: column; gap: 10px; }
      .hero-stat-divider { display: none; }
      .blog-filters-inner { gap: 6px; }
    }