/* =========================================================
   URBAN RUSH – Blog styles
   Singular Hub © 2026
   ========================================================= */

/* ── Hero artículo ── */
.article-hero {
  min-height: 420px;
  display: flex; align-items: flex-end;
  padding-top: 68px;
}
.article-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px;
  width: 100%;
}
.back-link {
  color: rgba(255,255,255,.7);
  font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 16px; transition: color .2s;
}
.back-link:hover { color: #fff; }
.article-cat {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: #7AB3FF; margin-bottom: 12px;
}
.article-hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900; color: #fff;
  line-height: 1.1; letter-spacing: -.5px;
  margin-bottom: 16px;
}
.article-meta {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.65); font-size: 13px;
  flex-wrap: wrap;
}

/* ── Wrapper artículo + sidebar ── */
.article-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

/* ── Cuerpo del artículo ── */
.article-body { min-width: 0; }
.article-lead {
  font-size: 18px; line-height: 1.75;
  color: #2a3a5e; margin-bottom: 32px;
  font-weight: 400; border-left: 3px solid var(--blue);
  padding-left: 18px;
}
.article-body h2 {
  font-size: 26px; font-weight: 800;
  color: var(--navy); margin: 40px 0 14px;
  letter-spacing: -.3px;
}
.article-body h3 {
  font-size: 19px; font-weight: 700;
  color: var(--navy); margin: 28px 0 10px;
}
.article-body h4 {
  font-size: 15px; font-weight: 700;
  color: var(--navy); margin: 0 0 6px;
}
.article-body p {
  font-size: 15.5px; line-height: 1.8;
  color: #3a4a5e; margin-bottom: 16px;
}

/* ── Imagen artículo ── */
.article-img {
  margin: 24px 0 32px;
  border-radius: 14px;
  overflow: hidden;
}
.article-img img {
  width: 100%; height: 380px;
  object-fit: cover; display: block;
}
.article-img figcaption {
  background: var(--off);
  padding: 10px 16px;
  font-size: 12px; color: var(--gray);
  font-style: italic;
}

/* ── Lista ── */
.article-list {
  list-style: none;
  padding: 0; margin: 0 0 20px;
  display: flex; flex-direction: column; gap: 10px;
}
.article-list li {
  padding: 10px 14px 10px 36px;
  background: var(--off);
  border-radius: 8px;
  font-size: 14.5px; color: #3a4a5e;
  line-height: 1.6;
  position: relative;
}
.article-list li::before {
  content: '✓';
  position: absolute; left: 12px;
  color: var(--blue); font-weight: 700;
}

/* ── Tip box ── */
.article-tip {
  background: var(--light);
  border: 1px solid rgba(0,68,204,.2);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  padding: 18px 20px;
  font-size: 14.5px; color: #2a3a5e;
  line-height: 1.7;
  margin: 28px 0;
}

/* ── Steps artículo ── */
.steps-article {
  display: flex; flex-direction: column; gap: 20px;
  margin: 28px 0;
}
.step-a {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--off);
  border-radius: 12px; padding: 18px;
}
.step-num-a {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--blue); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff;
}

/* ── Tabla tiempos ── */
.time-table {
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; margin: 20px 0;
}
.time-row {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.time-row:last-child { border-bottom: none; }
.time-row:nth-child(odd) { background: var(--off); }
.time-row strong { color: var(--blue); font-weight: 700; }

/* ── FAQ ── */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px; padding: 18px 20px;
  margin-bottom: 12px;
}
.faq-item h4 { color: var(--navy); margin-bottom: 8px; }
.faq-item p  { font-size: 14px; color: var(--gray); margin: 0; }

/* ── Comparativa ── */
.compare-header {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 16px; align-items: center; text-align: center;
  margin: 28px 0 36px;
  background: var(--off); border-radius: 14px; padding: 24px;
}
.compare-label {
  font-size: 22px; font-weight: 800;
  padding: 8px 20px; border-radius: 8px;
  margin-bottom: 8px; display: inline-block;
}
.compare-label.bavaro   { background: var(--light); color: var(--navy); }
.compare-label.capcana  { background: var(--navy); color: #fff; }
.compare-vs {
  font-size: 24px; font-weight: 900;
  color: var(--gray);
}
.compare-header p { font-size: 13px; color: var(--gray); margin: 0; }

.compare-table { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); margin: 20px 0; }
.ct-head {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  background: var(--navy); color: #fff;
  padding: 12px 16px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
}
.ct-row {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.ct-row:last-child { border-bottom: none; }
.ct-row:nth-child(even) { background: var(--off); }
.ct-row span:first-child { font-weight: 600; color: var(--navy); }
.ct-row span:nth-child(2) { color: var(--gray); }
.ct-row span:nth-child(3) { color: var(--blue); font-weight: 500; }

/* ── CTA artículo ── */
.article-cta {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 20px; padding: 40px; margin: 40px 0 0;
  color: #fff;
}
.article-cta h3 {
  font-size: 24px; font-weight: 800; margin-bottom: 10px;
  color: #fff;
}
.article-cta p { color: rgba(255,255,255,.8); font-size: 15px; margin-bottom: 24px; }
.article-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  background: #fff; color: var(--navy);
  padding: 13px 26px; border-radius: 10px;
  font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }

.btn-wa {
  background: #25D366; color: #fff;
  padding: 13px 22px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all .2s;
}
.btn-wa:hover { background: #1da851; transform: translateY(-2px); }

/* ── Sidebar ── */
.article-sidebar { position: sticky; top: 88px; }
.sidebar-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 14px; padding: 22px; margin-bottom: 16px;
}
.sidebar-card.sidebar-card-blue {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border: none; color: #fff;
}
.sidebar-card.sidebar-card-blue h4 { color: #fff; }
.sidebar-card.sidebar-card-blue p  { color: rgba(255,255,255,.8); font-size: 13.5px; margin-bottom: 14px; }

.sidebar-card h4 {
  font-size: 14px; font-weight: 800; color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.sidebar-price {
  display: flex; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.sidebar-price:last-of-type { border-bottom: none; margin-bottom: 10px; }
.sidebar-price span  { color: var(--gray); }
.sidebar-price strong { color: var(--blue); font-weight: 700; }
.sidebar-link {
  display: block; margin-top: 12px;
  font-size: 13px; font-weight: 700; color: var(--blue);
}
.sidebar-link:hover { text-decoration: underline; }
.sidebar-related {
  display: flex; gap: 8px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 13px; color: var(--dark); transition: color .2s;
}
.sidebar-related:last-child { border-bottom: none; }
.sidebar-related span { color: var(--blue); flex-shrink: 0; }
.sidebar-related:hover { color: var(--blue); }

.sidebar-wa {
  display: flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff;
  padding: 10px 16px; border-radius: 8px;
  font-size: 13px; font-weight: 700;
  transition: background .2s;
}
.sidebar-wa:hover { background: #1da851; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .article-wrap { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
@media (max-width: 600px) {
  .article-hero { min-height: 340px; }
  .article-hero h1 { font-size: 28px; }
  .article-img img { height: 220px; }
  .ct-head, .ct-row { grid-template-columns: 1fr 1fr; }
  .ct-head span:last-child, .ct-row span:last-child { display: none; }
  .compare-header { grid-template-columns: 1fr; }
  .compare-vs { display: none; }
}
