/* tecnoguias-info · listicle paginado · CSS system */
:root {
  --primary: #10007a;
  --secondary: #12168c;
  --accent: #1e73be;
  --text: #222222;
  --text-muted: #595959;
  --bg-page: #f7f8f9;
  --border: #e5e5e8;

  --tip-bg: #e8f5ee;
  --tip-border: #2e8b57;
  --tip-label: #145c3a;
  --tip-body: #1c3a2a;

  --warn-bg: #fef8e2;
  --warn-border: #d69e2e;
  --warn-label: #7a5a12;
  --warn-body: #4a3708;

  --crit-bg: #fdecea;
  --crit-border: #cf2e2e;
  --crit-label: #7a1616;
  --crit-body: #4a0e0e;

  --info-bg: #e7f0fa;
  --info-border: #1e73be;
  --info-label: #0c447c;
  --info-body: #093357;

  --calc-bg: #e0f7f4;
  --calc-border: #0e9488;
  --calc-label: #06554d;
  --calc-body: #073d38;

  --gold: #d4af37;
  --silver: #9b9b9b;
  --bronze: #b87333;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-page);
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  font-size: 18px;
}
.site-header nav {
  display: flex;
  gap: 14px;
  font-size: 14px;
}
.site-header nav a {
  color: var(--text-muted);
  text-decoration: none;
}
.site-header nav a[aria-current="page"] {
  color: var(--primary);
  font-weight: 500;
}

/* MAIN */
.listicle-main {
  background: #ffffff;
  padding: 20px 0 40px;
}

/* META TOP */
.listicle__meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.listicle__meta-top .dot { color: #cccccc; }
.listicle__meta-top .reading-time { color: var(--text-muted); text-transform: none; letter-spacing: normal; font-weight: 400; }

.listicle__h1 {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 8px;
}
.listicle__h1-page {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 20px;
}
.listicle__h1-page small { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.listicle__updated { color: var(--text-muted); font-size: 13px; margin: 0 0 20px; }

/* INTRO */
.listicle__intro { margin-bottom: 20px; }
.listicle__hook, .listicle__arc, .listicle__lead {
  font-size: 16.5px;
  line-height: 1.7;
  margin: 0 0 14px;
}

/* AD SLOT */
.ad-slot {
  margin: 20px 0;
  padding: 10px 12px;
  background: #fafafa;
  border-radius: 6px;
}
.ad-slot__label {
  font-size: 10px;
  color: #888;
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.ad-slot--display .adsbygoogle { min-height: 90px; }
.ad-slot--in-feed .adsbygoogle { min-height: 250px; }

/* CALLOUT */
.callout {
  border-radius: 0 10px 10px 0;
  padding: 14px 16px;
  margin: 18px 0;
  border-left-width: 5px;
  border-left-style: solid;
}
.callout__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.callout__ico {
  font-size: 16px;
  line-height: 1;
}
.callout__body {
  font-size: 15px;
  line-height: 1.65;
}
.callout__body p { margin: 0 0 8px; }
.callout__body p:last-child { margin-bottom: 0; }

.callout--tip     { background: var(--tip-bg);  border-left-color: var(--tip-border); }
.callout--tip .callout__label { color: var(--tip-label); }
.callout--tip .callout__body  { color: var(--tip-body); }

.callout--warning { background: var(--warn-bg); border-left-color: var(--warn-border); }
.callout--warning .callout__label { color: var(--warn-label); }
.callout--warning .callout__body  { color: var(--warn-body); }

.callout--critical{ background: var(--crit-bg); border-left-color: var(--crit-border); }
.callout--critical .callout__label { color: var(--crit-label); }
.callout--critical .callout__body  { color: var(--crit-body); }

.callout--info    { background: var(--info-bg); border-left-color: var(--info-border); }
.callout--info .callout__label { color: var(--info-label); }
.callout--info .callout__body  { color: var(--info-body); }

.callout--calc    { background: var(--calc-bg); border-left-color: var(--calc-border); }
.callout--calc .callout__label { color: var(--calc-label); }
.callout--calc .callout__body  { color: var(--calc-body); }

/* PUESTO SECTION */
.puesto-section { margin: 28px 0; }
.puesto-h {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

/* CARD PUESTO */
.puesto-card {
  background: #ffffff;
  border: 1px solid #d3d1c7;
  border-radius: 12px;
  padding: 20px 18px;
  margin-bottom: 16px;
  border-top-width: 5px;
}
.puesto-card--rank-1 { border-top-color: var(--gold); }
.puesto-card--rank-2 { border-top-color: var(--silver); }
.puesto-card--rank-3 { border-top-color: var(--bronze); }
.puesto-card--rank-4 { border-top-color: var(--accent); }
.puesto-card--rank-5 { border-top-color: #888; }

.puesto-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.puesto-card__badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--primary);
}
.puesto-card--rank-1 .puesto-card__badge { background: var(--gold); color: #4a3208; }
.puesto-card--rank-2 .puesto-card__badge { background: var(--silver); }
.puesto-card--rank-3 .puesto-card__badge { background: var(--bronze); }
.puesto-card--rank-4 .puesto-card__badge { background: var(--accent); }
.puesto-card--rank-5 .puesto-card__badge { background: #888; }

.puesto-card__ident { flex: 1; }
.puesto-card__name {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}
.puesto-card__subtitle {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 2px 0 0;
}
.puesto-card__tna {
  text-align: center;
  padding: 14px 0;
  margin-bottom: 14px;
  border-top: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
}
.puesto-card__tna-num {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.5px;
}
.puesto-card__tna-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.puesto-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0 0 14px;
  list-style: none;
}
.puesto-card__pills li {
  background: var(--info-bg);
  color: var(--info-label);
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 12px;
}
.puesto-card__hook {
  font-size: 15.5px;
  font-weight: 500;
  margin: 0 0 14px;
  padding: 10px 12px;
  background: var(--bg-page);
  border-radius: 8px;
  color: var(--text);
  font-style: italic;
}
.puesto-card__body p {
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 10px;
}
.puesto-card__body .ico-check,
.puesto-card__body .ico-x,
.puesto-card__letra-chica .ico-mag {
  display: inline-block;
  margin-right: 2px;
}
.puesto-card__letra-chica {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed #d0d0d0;
}

/* CLIFFHANGER */
.cliffhanger {
  font-size: 16.5px;
  line-height: 1.75;
  margin: 22px 0 16px;
  padding: 14px 16px;
  background: linear-gradient(90deg, var(--tip-bg) 0%, #ffffff 100%);
  border-left: 4px solid var(--tip-border);
  border-radius: 0 8px 8px 0;
  color: var(--text);
}

/* PAGINATION */
.pagination {
  margin: 28px 0 8px;
  text-align: center;
}
.pagination__next {
  display: block;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  padding: 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(16, 0, 122, 0.2);
}
.pagination__next:hover { background: var(--secondary); }
.pagination__prev {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  margin-top: 8px;
}
.pagination__progress {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* CLOSING PAGE */
.closing-h, .recipes-h, .faq__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin: 28px 0 12px;
}
.closing-lead { font-size: 15px; line-height: 1.7; margin: 0 0 16px; }

/* COMPARISON TABLE */
.comparison-wrap { overflow-x: auto; margin: 0 -16px 20px; padding: 0 16px; }
.comparison-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 13px;
}
.comparison-table th, .comparison-table td {
  padding: 10px 8px;
  text-align: left;
  border-bottom: 1px solid #ececec;
  vertical-align: top;
}
.comparison-table thead th {
  background: var(--bg-page);
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.comparison-table tbody tr:nth-child(even) { background: #fafafa; }
.comparison-table .bonus-row { color: var(--text-muted); }
.comparison-table .rank-pill {
  display: inline-block;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 10px;
}
.comparison-table .tna-cell { font-weight: 700; color: var(--primary); }

/* RECIPES */
.recipes { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.recipe {
  background: var(--bg-page);
  border-radius: 10px;
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
}
.recipe__scenario {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.recipe__reco { font-size: 14.5px; line-height: 1.6; }

/* FAQ */
.faq { margin: 20px 0; }
.faq__item {
  border-bottom: 1px solid #ececec;
  padding: 14px 0;
}
.faq__item:last-child { border-bottom: none; }
.faq__q {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  padding-right: 24px;
  position: relative;
}
.faq__q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}
.faq__item[open] .faq__q::after { content: "-"; }
.faq__a { font-size: 14.5px; line-height: 1.7; color: var(--text-muted); margin-top: 10px; }

/* DISCLAIMER */
.disclaimer-box {
  background: var(--bg-page);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 24px 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  border-left: 3px solid #cccccc;
}
.disclaimer-box__title {
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}
.disclaimer-box p { margin: 0; }

/* FOOTER */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 20px 0;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.site-footer .disclaimer { font-size: 12px; margin-top: 6px; }
.site-footer a { color: var(--accent); }

/* RESPONSIVE */
@media (min-width: 720px) {
  .listicle__h1 { font-size: 32px; }
  .listicle__h1-page { font-size: 26px; }
  .puesto-card__tna-num { font-size: 48px; }
}

/* ================================================================ */
/* ENRICHMENT BLOCK v2 (para landing plazos fijos digitales)        */
/* ================================================================ */
.listicle__subh {
  font-size: 17px;
  color: var(--text-muted);
  font-weight: 500;
  margin: 6px 0 12px;
  font-style: italic;
}

.cta-primary, .cta-secondary {
  margin: 24px 0 8px;
  text-align: center;
}
.cta-secondary {
  margin-top: 20px;
}

.enrichment {
  background: #fbfbfd;
  border: 1px solid #ececf0;
  border-radius: 12px;
  padding: 20px 18px;
  margin: 28px 0 8px;
}
.enrichment__h {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin: 20px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #d0d0d0;
}
.enrichment__h:first-child {
  margin-top: 0;
}
.enrichment__body {
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 14px;
  color: var(--text);
}
.enrichment__steps {
  padding-left: 22px;
  margin: 0 0 16px;
}
.enrichment__steps li {
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 8px;
  padding-left: 4px;
}
.enrichment__steps li::marker {
  color: var(--accent);
  font-weight: 700;
}
.enrichment__faq {
  margin-top: 8px;
}
.enrichment__faq .faq__item {
  border-bottom: 1px solid #ececec;
  padding: 12px 0;
}
.enrichment__faq .faq__item:last-child {
  border-bottom: none;
}
.enrichment__faq .faq__q {
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  padding-right: 24px;
  position: relative;
  color: var(--text);
}
.enrichment__faq .faq__q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}
.enrichment__faq .faq__item[open] .faq__q::after { content: "-"; }
.enrichment__faq .faq__a {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-top: 8px;
}

.section-divider {
  border: none;
  border-top: 2px dashed #d0d0d0;
  margin: 40px 0 24px;
}
