/* ============================================================
  styles-blog.css — PRONK Printed Designs (ARTÍCULOS /blog/*.html)
  ✅ Mismo universo visual: neón verdoso/cian + glass
  ✅ Tipos y tamaños consistentes
  ✅ Portada hero con imagen 16:9 (sin marcos duros)
  ✅ Tabla de contenido (TOC) sticky en desktop
  ✅ Bloques bonitos: tips, warning, checklist, pasos
  ✅ CTA final a WhatsApp + tarjetas relacionadas
  ✅ Compatibilidad con tu header/footer de styles-base.css
============================================================ */

/* =========================
  0) VARIABLES EXTRA
========================= */
:root{
  --blog-max: 1200px;

  --glass: rgba(0,0,0,.16);
  --glass-2: rgba(255,255,255,.10);
  --stroke: rgba(255,255,255,.12);
  --stroke-2: rgba(255,255,255,.16);

  --neon-a: rgba(11, 207, 241, .95);
  --neon-b: rgba(35, 255, 120, .92);
  --neon-c: rgba(250, 255, 18, .90);

  --shadow-1: 0 18px 44px rgba(0,0,0,.32);
  --shadow-2: 0 24px 60px rgba(0,0,0,.38);

  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;

  --ease: cubic-bezier(.2,.8,.2,1);
}

*{ box-sizing: border-box; }

/* =========================
  1) LAYOUT GENERAL ARTÍCULO
========================= */
main.article{
  position: relative;
  z-index: 1;
  padding-bottom: clamp(50px, 6vw, 90px);
}

/* Wrap general */
.article__wrap{
  width: min(var(--blog-max), calc(100% - 36px));
  margin: clamp(18px, 3vw, 34px) auto 0;
}

/* Dos columnas: contenido + TOC */
.article__layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(16px, 2.4vw, 26px);
  align-items: start;
}

@media (max-width: 980px){
  .article__layout{
    grid-template-columns: 1fr;
  }
}

/* =========================
  2) HERO DEL ARTÍCULO
========================= */
.articleHero{
  border-radius: var(--radius-xl);
  padding: clamp(18px, 2.8vw, 28px);
  background: var(--glass);
  border: 1px solid var(--stroke);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  position: relative;
}

.articleHero::after{
  content:"";
  position:absolute;
  inset:-30px;
  background:
    radial-gradient(circle at 22% 10%, rgba(11,207,241,.24), transparent 55%),
    radial-gradient(circle at 80% 35%, rgba(35,255,120,.20), transparent 55%),
    radial-gradient(circle at 62% 92%, rgba(250,255,18,.14), transparent 55%);
  filter: blur(14px);
  pointer-events:none;
}

/* Meta top */
.articleHero__top{
  position: relative;
  z-index: 1;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.articlePill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .45px;
  text-transform: uppercase;
  font-size: 12px;

  color:#000;
  background: linear-gradient(90deg, var(--neon-a), var(--neon-b), var(--neon-c));
  border: 1px solid rgba(0,0,0,.14);

  box-shadow:
    0 14px 26px rgba(0,0,0,.25),
    0 0 16px rgba(11,207,241,.22);
}

/* Fecha / lectura */
.articleMeta{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  opacity: .95;
  font-weight: 800;
}

.articleMeta span{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

/* Título */
.articleTitle{
  margin: 14px 0 10px;
  position: relative;
  z-index: 1;

  font-family: "League Spartan", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 3vw, 52px);
  letter-spacing: .2px;
  line-height: 1.05;

  text-shadow: var(--shadow-text);
}

/* Bajada */
.articleIntro{
  margin: 0;
  position: relative;
  z-index: 1;

  max-width: 980px;
  line-height: 1.7;
  opacity: .96;
  font-weight: 650;
  font-size: clamp(15px, 1.1vw, 18px);
}

/* Imagen hero */
.articleCover{
  position: relative;
  z-index: 1;
  margin-top: 18px;

  border-radius: 22px;
  overflow: hidden;
  background: rgba(0,0,0,.14);
  border: 1px solid rgba(255,255,255,.10);

  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

.articleCover img{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* =========================
  3) CUERPO DEL ARTÍCULO
========================= */
.articleBody{
  margin-top: 16px;
  border-radius: var(--radius-xl);
  padding: clamp(18px, 2.8vw, 28px);

  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-1);
}

/* Tipografía del contenido */
.prose{
  line-height: 1.85;
  font-size: 16px;
  opacity: .98;
}

.prose p{ margin: 0 0 14px; }
.prose strong{ font-weight: 900; }

.prose h2,
.prose h3{
  margin: 22px 0 10px;
  font-family: "League Spartan", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: .2px;
  line-height: 1.1;

  text-shadow:
    0 2px 10px rgba(0,0,0,.60),
    0 0 14px rgba(11,207,241,.10);
}

.prose h2{ font-size: clamp(22px, 2vw, 30px); }
.prose h3{ font-size: clamp(18px, 1.6vw, 24px); }

.prose a{
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid rgba(11,207,241,.45);
  transition: filter .18s var(--ease), border-color .18s var(--ease);
}

.prose a:hover{
  filter: brightness(1.08);
  border-color: rgba(35,255,120,.55);
}

/* Listas */
.prose ul,
.prose ol{
  margin: 10px 0 16px 18px;
  padding: 0;
}

.prose li{ margin: 8px 0; }

/* Separador suave */
.hrGlow{
  height: 1px;
  border: 0;
  margin: 18px 0;
  background: linear-gradient(90deg, transparent, rgba(11,207,241,.40), rgba(35,255,120,.30), transparent);
  box-shadow: 0 0 18px rgba(11,207,241,.10);
}

/* =========================
  4) BLOQUES “BONITOS”
========================= */
.note{
  border-radius: 22px;
  padding: 16px 16px;
  margin: 16px 0;

  background: rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 28px rgba(0,0,0,.26);

  position: relative;
  overflow: hidden;
}

.note::after{
  content:"";
  position:absolute;
  inset:-25px;
  background:
    radial-gradient(circle at 20% 30%, rgba(11,207,241,.20), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(35,255,120,.16), transparent 55%);
  filter: blur(14px);
  pointer-events:none;
}

.note > *{ position: relative; z-index: 1; }

.note__title{
  margin: 0 0 8px;
  font-family: "League Spartan", system-ui, sans-serif;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .2px;
}

/* Variantes */
.note--tip{ border-color: rgba(35,255,120,.22); }
.note--warn{ border-color: rgba(250,255,18,.22); }
.note--check{ border-color: rgba(11,207,241,.22); }

.checklist{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 10px;
}

.checklist li{
  display:flex;
  align-items:flex-start;
  gap: 10px;

  padding: 12px 12px;
  border-radius: 16px;

  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

/* Pasos */
.steps{
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 12px;
}

.steps li{
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;

  padding: 14px 14px;
  border-radius: 18px;

  background: rgba(0,0,0,.14);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 22px rgba(0,0,0,.22);
}

.steps li::before{
  content: counter(step);
  display:grid;
  place-items:center;

  width: 44px;
  height: 44px;
  border-radius: 14px;

  font-weight: 900;
  color:#000;

  background: linear-gradient(90deg, var(--neon-a), var(--neon-b), var(--neon-c));
  border: 1px solid rgba(0,0,0,.14);
  box-shadow: 0 12px 20px rgba(0,0,0,.22);
}

/* Tabla “simple” */
.tableWrap{
  margin: 16px 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.10);
  box-shadow: 0 14px 26px rgba(0,0,0,.25);
}

table.blogTable{
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.blogTable th,
.blogTable td{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.blogTable th{
  text-align: left;
  font-weight: 900;
  background: rgba(255,255,255,.06);
}

.blogTable tr:last-child td{ border-bottom: 0; }

/* =========================
  5) SIDEBAR / TOC (DESKTOP)
========================= */
.articleSide{
  position: sticky;
  top: calc(92px + 14px); /* header sticky */
  align-self: start;
}

@media (max-width: 980px){
  .articleSide{ position: static; }
}

.toc{
  border-radius: var(--radius-xl);
  padding: 18px 16px;
  background: rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-1);
}

.toc__title{
  margin: 0 0 10px;
  font-family: "League Spartan", system-ui, sans-serif;
  font-weight: 900;
  font-size: 20px;
  text-shadow: var(--shadow-text);
}

.toc__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.toc__list a{
  display: inline-flex;
  width: 100%;
  align-items: center;
  gap: 10px;

  padding: 12px 12px;
  border-radius: 16px;

  text-decoration: none;
  color: #fff;
  font-weight: 900;

  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);

  transition: transform .18s var(--ease), filter .18s var(--ease), box-shadow .18s var(--ease);
}

.toc__list a:hover{
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 12px 20px rgba(0,0,0,.22);
}

.tocDot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--neon-a), var(--neon-b), var(--neon-c));
  box-shadow: 0 0 16px rgba(11,207,241,.22);
}

/* =========================
  6) CTA FINAL (WhatsApp / Cotizar)
========================= */
.articleCTA{
  margin-top: 18px;
  border-radius: var(--radius-xl);
  padding: 18px 16px;
  background: rgba(0,0,0,.16);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-1);
  overflow:hidden;
  position: relative;
}

.articleCTA::after{
  content:"";
  position:absolute;
  inset:-30px;
  background:
    radial-gradient(circle at 18% 20%, rgba(11,207,241,.22), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(35,255,120,.18), transparent 55%);
  filter: blur(14px);
  pointer-events:none;
}

.articleCTA > *{ position: relative; z-index: 1; }

.articleCTA__title{
  margin: 0 0 8px;
  font-family: "League Spartan", system-ui, sans-serif;
  font-weight: 900;
  font-size: 22px;
  text-shadow: var(--shadow-text);
}

.articleCTA__text{
  margin: 0 0 14px;
  line-height: 1.65;
  opacity: .95;
  font-weight: 700;
}

.btnNeon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;

  padding: 14px 18px;
  border-radius: 999px;
  text-decoration:none;

  font-weight: 900;
  letter-spacing: .35px;
  color:#000;

  background: linear-gradient(90deg, var(--neon-a), var(--neon-b), var(--neon-c));
  border: 1px solid rgba(0,0,0,.14);

  box-shadow:
    0 16px 28px rgba(0,0,0,.35),
    0 0 16px rgba(11,207,241,.22);

  transition: transform .18s var(--ease), filter .18s var(--ease), box-shadow .18s var(--ease);
  will-change: transform;
}

.btnNeon:hover{
  transform: translateY(-3px) scale(1.01);
  filter: brightness(1.06);
  box-shadow:
    0 18px 34px rgba(0,0,0,.42),
    0 0 18px rgba(11,207,241,.34),
    0 0 14px rgba(35,255,120,.22);
  animation: btnBounce .42s ease;
}

.btnNeon:active{ transform: translateY(-1px) scale(.98); }

@keyframes btnBounce{
  0%{ transform: translateY(0) scale(1); }
  60%{ transform: translateY(-3px) scale(1.01); }
  100%{ transform: translateY(-3px) scale(1.01); }
}

/* =========================
  7) ARTÍCULOS RELACIONADOS
========================= */
.related{
  margin-top: 18px;
  border-radius: var(--radius-xl);
  padding: 18px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow-1);
}

.related__title{
  margin: 0 0 12px;
  font-family: "League Spartan", system-ui, sans-serif;
  font-weight: 900;
  font-size: 22px;
  text-shadow: var(--shadow-text);
}

.related__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 620px){
  .related__grid{ grid-template-columns: 1fr; }
}

.relCard{
  border-radius: 20px;
  overflow:hidden;
  background: rgba(0,0,0,.14);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 26px rgba(0,0,0,.25);
  text-decoration:none;
  color:#fff;
  display:flex;
  flex-direction:column;
  transition: transform .18s var(--ease), filter .18s var(--ease);
}

.relCard:hover{
  transform: translateY(-4px);
  filter: brightness(1.05);
}

.relCard__media{
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,.10);
}

.relCard__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

.relCard__body{
  padding: 14px 14px 16px;
  display:flex;
  flex-direction:column;
  gap: 8px;
}

.relCard__tag{
  display:inline-flex;
  align-self:flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .35px;

  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
}

.relCard__title{
  margin: 0;
  font-family: "League Spartan", system-ui, sans-serif;
  font-weight: 900;
  font-size: 18px;
  line-height: 1.12;
  text-shadow: var(--shadow-text);
}

/* =========================
  8) BOTONES DE NAVEGACIÓN (prev/next)
========================= */
.articleNav{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

.articleNav a{
  flex: 1 1 260px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 14px 16px;
  border-radius: 999px;

  font-weight: 900;
  letter-spacing: .35px;

  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color:#fff;

  box-shadow: 0 14px 26px rgba(0,0,0,.22);
  transition: transform .18s var(--ease), filter .18s var(--ease), box-shadow .18s var(--ease);
}

.articleNav a:hover{
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow:
    0 18px 32px rgba(0,0,0,.30),
    0 0 16px rgba(11,207,241,.18);
}

/* =========================
  9) MINI AJUSTES MÓVIL
========================= */
@media (max-width: 620px){
  .article__wrap{
    width: min(var(--blog-max), calc(100% - 26px));
  }

  .prose{ font-size: 15px; }
  .articleMeta span{ font-size: 12px; }
}


