/* ============================================================
   RIT Enterprise — Páginas interiores
   (Qué Hacemos · Nosotros · Industrias · Casos · Recursos · Contacto)
   Inspiración de layout: kio.tech · Estilo base: mockup V1
   Colores: manual de marca RIT
   ============================================================ */

/* ------------------------------------------------------------
   Hero de página interior
   ------------------------------------------------------------ */
.page-hero {
  position: relative;
  margin: -62px auto 0;
  max-width: 1400px;
  padding: 120px 56px 88px;
  border-radius: 0 0 44px 44px;
  overflow: hidden;
  background: var(--grad-hero);
}
.page-hero-dots {
  position: absolute;
  inset: -10%;
  opacity: 0.4;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.5) 1px, transparent 1.4px);
  background-size: 46px 46px;
  animation: drift 26s linear infinite alternate;
}
.page-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 80% 30%, rgba(0, 105, 180, 0.42), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(227, 6, 19, 0.16), transparent 70%);
}
.page-hero-inner { position: relative; max-width: var(--container); margin: 0 auto; }
.page-hero h1 { margin-top: 22px; max-width: 24ch; text-wrap: balance; }
.page-hero-lead {
  margin-top: 20px;
  max-width: 58ch;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(232, 241, 248, 0.78);
}

/* ------------------------------------------------------------
   CTA band (cierre de todas las páginas — inspiración kio)
   ------------------------------------------------------------ */
.cta-band {
  position: relative;
  background: var(--navy-800);
  padding: 96px 48px;
  overflow: hidden;
}
.cta-band-glow {
  position: absolute;
  right: -6%;
  top: -40%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 6, 19, 0.16), transparent 70%);
}
.cta-band-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-band-inner h2 { max-width: 22ch; }
.cta-band-inner p {
  margin: 16px auto 30px;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(232, 241, 248, 0.75);
}

/* ------------------------------------------------------------
   Líneas de servicio — Qué Hacemos
   ------------------------------------------------------------ */
.lines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 52px;
}
.line-card {
  position: relative;
  background: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-20);
  padding: 34px 32px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.line-card:hover {
  border-color: rgba(227, 6, 19, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}
.line-num {
  position: absolute;
  top: -10px;
  right: 18px;
  font-size: 92px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.3;
  background: var(--grad-num);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.line-icon { position: relative; width: 52px; height: 52px; color: var(--red); }
.line-tag {
  position: relative;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(232, 241, 248, 0.65);
}
.line-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--red);
  flex: none;
}
.line-card h3 {
  position: relative;
  margin: 10px 0 10px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #fff;
}
.line-card .line-body {
  position: relative;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}
.line-points {
  position: relative;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.line-points li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(232, 241, 248, 0.85);
}
.line-points li::before {
  content: "✓";
  color: var(--red);
  font-weight: 700;
  flex: none;
}
.line-card .btn {
  position: relative;
  margin-top: 24px;
  padding: 11px 22px;
  font-size: 14px;
}

/* ------------------------------------------------------------
   Nosotros — historia, misión, equipo, valores, por qué
   ------------------------------------------------------------ */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 48px;
  align-items: start;
}
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 52px;
}
.mv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-16);
  box-shadow: var(--sh-card);
  padding: 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--sh-card-h); }
.mv-card .k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.mv-card p { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--gray); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 52px;
}
.team-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-16);
  padding: 26px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.team-card:hover { border-color: rgba(227, 6, 19, 0.5); transform: translateY(-4px); }
.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--grad-btn);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.team-card .role {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #fff;
}
.team-card .bio { margin-top: 8px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.7); }

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 52px;
}
.reason-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-16);
  padding: 26px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.reason-card:hover { border-color: rgba(227, 6, 19, 0.55); box-shadow: 0 0 36px rgba(227, 6, 19, 0.14); }
.reason-card h3 { font-size: 17px; font-weight: 900; color: #fff; }
.reason-card p { margin-top: 8px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, 0.7); }

/* ------------------------------------------------------------
   Industrias
   ------------------------------------------------------------ */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 4fr));
  gap: 24px;
  margin-top: 52px;
}
.industry-card {
  position: relative;
  background: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-20);
  padding: 34px 32px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.industry-card:hover { border-color: rgba(227, 6, 19, 0.5); transform: translateY(-4px); }
.industry-num {
  position: absolute;
  top: -10px;
  right: 18px;
  font-size: 92px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.3;
  background: var(--grad-num);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.industry-icon { position: relative; width: 52px; height: 52px; color: var(--red); }
.industry-card h3 {
  position: relative;
  margin: 18px 0 6px;
  font-size: 25px;
  font-weight: 700;
  color: #fff;
}
.industry-tag {
  position: relative;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blue-light);
}
.industry-card .line-body {
  position: relative;
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}
.industry-points {
  position: relative;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.industry-points li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(232, 241, 248, 0.85);
}
.industry-points li::before {
  content: "✓";
  color: var(--red);
  font-weight: 700;
  flex: none;
}

/* ------------------------------------------------------------
   Casos — página (lista grande estilo kio /nuestro-trabajo)
   ------------------------------------------------------------ */
.case-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.case-row:first-of-type { border-top: 1px solid var(--line); }
.case-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-20);
  background: var(--grad-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.case-media::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.9) 1px, transparent 1.4px);
  background-size: 26px 26px;
}
.case-media .ph {
  position: relative;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.75);
}
.case-row h3 {
  margin: 10px 0;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--navy-800);
  text-transform: uppercase;
}
.case-row p { font-size: 16px; line-height: 1.65; color: var(--gray); }
.case-metric {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 2px solid var(--red);
  display: inline-block;
}
.case-metric .k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gray);
}
.case-metric .v {
  margin-top: 6px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--red);
}

/* ------------------------------------------------------------
   Recursos — tabs (radio) + tarjetas de artículo
   ------------------------------------------------------------ */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}
.tabs label {
  cursor: pointer;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  transition: all 0.25s ease;
}
.tabs label:hover { border-color: var(--blue); color: var(--navy-800); }
#cat-todos:checked ~ .tabs label[for="cat-todos"],
#cat-ciberseguridad:checked ~ .tabs label[for="cat-ciberseguridad"],
#cat-cloud:checked ~ .tabs label[for="cat-cloud"],
#cat-infraestructura:checked ~ .tabs label[for="cat-infraestructura"],
#cat-servicios:checked ~ .tabs label[for="cat-servicios"],
#cat-comunicaciones:checked ~ .tabs label[for="cat-comunicaciones"] {
  background: var(--grad-btn);
  background-size: 200% 100%;
  color: #fff;
  border-color: transparent;
}

.articles {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-20);
  box-shadow: var(--sh-card);
  padding: 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--sh-card-h); border-color: var(--blue); }
.article-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.article-meta .cat { color: var(--red); }
.article-meta .date { color: var(--gray); }
.article-card h3 {
  margin: 14px 0 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--navy-800);
}
.article-card p { font-size: 14px; line-height: 1.6; color: var(--gray); }
.article-card .btn {
  margin-top: auto;
  align-self: flex-start;
  margin-top: 22px;
  padding: 10px 20px;
  font-size: 13px;
}

/* Filtro por categoría (radio hack) */
.cat-radio { position: absolute; opacity: 0; pointer-events: none; }
#cat-todos:checked ~ .articles .article-card { display: flex; }
#cat-ciberseguridad:checked ~ .articles .article-card { display: none; }
#cat-ciberseguridad:checked ~ .articles .article-card[data-cat="Ciberseguridad"] { display: flex; }
#cat-cloud:checked ~ .articles .article-card { display: none; }
#cat-cloud:checked ~ .articles .article-card[data-cat="Cloud"] { display: flex; }
#cat-infraestructura:checked ~ .articles .article-card { display: none; }
#cat-infraestructura:checked ~ .articles .article-card[data-cat="Infraestructura"] { display: flex; }
#cat-servicios:checked ~ .articles .article-card { display: none; }
#cat-servicios:checked ~ .articles .article-card[data-cat="Servicios"] { display: flex; }
#cat-comunicaciones:checked ~ .articles .article-card { display: none; }
#cat-comunicaciones:checked ~ .articles .article-card[data-cat="Comunicaciones"] { display: flex; }

/* Destacados: carousel radio (patrón de la home) */
.feat-view { margin-top: 44px; overflow: hidden; }
.feat-rail {
  display: flex;
  gap: 24px;
  transition: transform 0.6s var(--ease);
}
.feat-card {
  flex: none;
  width: 520px;
  max-width: 84vw;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-20);
  box-shadow: var(--sh-card);
  padding: 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-card-h); border-color: var(--blue); }
.feat-card h3 {
  margin: 14px 0 10px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy-800);
}
.feat-card p { font-size: 14px; line-height: 1.6; color: var(--gray); }
.feat-pager { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.feat-index {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-800);
  display: flex;
  align-items: center;
  gap: 6px;
}
.feat-index .slash { display: inline-block; transform: rotate(30deg); color: var(--gray); }
.feat-arrows { display: flex; gap: 10px; }
.feat-arrows .ar { display: none; }
#f-1:checked ~ .feat-head .ar-1n,
#f-2:checked ~ .feat-head .ar-2p,
#f-2:checked ~ .feat-head .ar-2n,
#f-3:checked ~ .feat-head .ar-3p { display: inline-flex; }
.feat-head .idx { display: none; }
#f-1:checked ~ .feat-head .idx-1,
#f-2:checked ~ .feat-head .idx-2,
#f-3:checked ~ .feat-head .idx-3 { display: inline; }
#f-1:checked ~ .feat-view .feat-rail { transform: translateX(0); }
#f-2:checked ~ .feat-view .feat-rail { transform: translateX(calc(-100% - 24px)); }
#f-3:checked ~ .feat-view .feat-rail { transform: translateX(calc(-200% - 48px)); }

/* ------------------------------------------------------------
   FAQ (details/summary nativo)
   ------------------------------------------------------------ */
.faq-list { margin-top: 44px; display: flex; flex-direction: column; gap: 14px; }
.faq {
  background: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-16);
  transition: border-color 0.25s ease;
}
.faq[open] { border-color: rgba(227, 6, 19, 0.45); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--red);
  transition: transform 0.25s var(--ease);
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 24px 22px; font-size: 15px; line-height: 1.65; color: rgba(232, 241, 248, 0.78); }

/* ------------------------------------------------------------
   Mapa (iframe embed — HTML puro, sin JS)
   ------------------------------------------------------------ */
.map-wrap {
  margin-top: 48px;
  border-radius: var(--r-20);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
.map-wrap iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(0.3) contrast(1.05); }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .page-hero { padding: 110px 40px 70px; }
  .cta-band { padding: 80px 32px; }
}

@media (max-width: 768px) {
  .page-hero {
    margin: -46px auto 0;
    border-radius: 0 0 28px 28px;
    padding: 104px 22px 56px;
  }
  .page-hero-lead { font-size: 16px; }
  .cta-band { padding: 72px 22px; }
  .case-row { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .feat-card { width: 100%; max-width: 100%; }
  .feat-rail {
    display: grid;
    grid-template-columns: 1fr;
    transform: none !important;
  }
  .feat-head .feat-pager { display: none; }
}

/* ============================================================
   Pagina Nosotros (interior)
   ============================================================ */

/* Hero interior: MISMA forma que el hero del Home (marco de tarjeta +
   radio arriba + cortes angulares abajo via clip-path). Contenido simple,
   sin carrusel. */
.hero--interior {
  min-height: auto;
  padding: 150px 56px 84px;
}
.hero--interior .hero-interior {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.hero--interior h1 { margin-top: 22px; }
.hero--interior .hero-lead {
  margin-top: 20px;
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(232, 241, 248, 0.8);
}
.hero--interior .hero-ctas {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Numeros (maqueta estatica; el contador animado lo cablea Wendy) */
.stat-value {
  font-size: clamp(44px, 4.6vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--red);
}

/* Valores: tarjetas claras (linea grafica) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 52px;
}
.value-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-16);
  box-shadow: var(--sh-card);
  padding: 30px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.value-item:hover { transform: translateY(-4px); box-shadow: var(--sh-card-h); }
.value-item h3 { font-size: 24px; font-weight: 700; color: var(--navy-800); }
.value-item p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--gray); }

/* ============================================================
   Paginas de Soluciones (bloques reutilizables)
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 48px;
}
.item-badge {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.sec-lead {
  margin-top: 18px;
  max-width: 70ch;
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray);
}
.sec-lead--dark { color: rgba(232, 241, 248, 0.85); margin-left: auto; margin-right: auto; }

/* Checklist (2 columnas) */
.checklist {
  list-style: none;
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
}
.checklist li {
  position: relative;
  padding-left: 34px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--navy-800);
}
.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: -2px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grad-btn);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* Acordeon (details/summary, sin JS) */
.acc { margin-top: 44px; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after { content: "\25B8"; color: var(--red); transition: transform 0.25s var(--ease); }
.acc-item[open] summary { color: var(--red); }
.acc-item[open] summary::after { transform: rotate(90deg); }
.acc-body {
  padding: 0 4px 22px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray);
  max-width: 80ch;
}

@media (max-width: 768px) {
  .checklist { grid-template-columns: 1fr; }
}

/* Destacado con bullets (dark) */
.hl-bullets {
  list-style: none;
  margin: 26px auto 0;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.hl-bullets li {
  display: none;
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(232, 241, 248, 0.9);
}
.hl-bullets li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

/* Credenciales (badges) */
.badges-grid { list-style: none; margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; }
.badge-pill {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-800);
}

/* Aliados */
.allies { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.ally {
  padding: 22px 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-16);
  background: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--navy-800);
}

/* Checklist adaptativo (2-3 columnas segun ancho) */
.checklist { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
@media (max-width: 768px) { .checklist { grid-template-columns: 1fr; } }

/* Timeline (pasos) */
.timeline { list-style: none; margin-top: 48px; position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}
.tl-step { position: relative; padding-bottom: 30px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -34px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--grad-btn);
  box-shadow: 0 0 0 4px #fff;
}
.tl-body h3 { font-size: 22px; font-weight: 700; color: var(--navy-800); }
.tl-body p { margin-top: 8px; font-size: 16px; line-height: 1.6; color: var(--gray); max-width: 80ch; }

/* Split con bullets */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.split-items { display: flex; flex-direction: column; gap: 24px; }
.split-item h3 { font-size: 18px; font-weight: 700; color: var(--navy-800); }
.split-item h3::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--red);
}
.split-item p { margin-top: 6px; padding-left: 22px; font-size: 15px; line-height: 1.6; color: var(--gray); }
.split-note { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--gray); }

/* Cita */
.quote {
  margin-top: 26px;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy-800);
  text-wrap: pretty;
}

@media (max-width: 768px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* Tabs (sin JS, radio-hack) */
.rtabs { margin-top: 44px; position: relative; }
.rtab-radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rtab-labels { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); }
.rtab-label {
  cursor: pointer;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  color: var(--gray);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.rtab-label:hover { color: var(--navy-800); }
.rtab-panels { margin-top: 34px; }
.rtab-panel { display: none; }
.rtab-panel h3 { font-size: 22px; font-weight: 700; color: var(--navy-800); }
.rtab-panel p { margin-top: 12px; font-size: 17px; line-height: 1.65; color: var(--gray); max-width: 70ch; }

.rtab-radio:nth-of-type(1):checked ~ .rtab-labels > .rtab-label:nth-of-type(1),
.rtab-radio:nth-of-type(2):checked ~ .rtab-labels > .rtab-label:nth-of-type(2),
.rtab-radio:nth-of-type(3):checked ~ .rtab-labels > .rtab-label:nth-of-type(3),
.rtab-radio:nth-of-type(4):checked ~ .rtab-labels > .rtab-label:nth-of-type(4),
.rtab-radio:nth-of-type(5):checked ~ .rtab-labels > .rtab-label:nth-of-type(5),
.rtab-radio:nth-of-type(6):checked ~ .rtab-labels > .rtab-label:nth-of-type(6) {
  color: var(--navy-800);
  border-bottom-color: var(--red);
}
.rtab-radio:nth-of-type(1):checked ~ .rtab-panels > .rtab-panel:nth-of-type(1),
.rtab-radio:nth-of-type(2):checked ~ .rtab-panels > .rtab-panel:nth-of-type(2),
.rtab-radio:nth-of-type(3):checked ~ .rtab-panels > .rtab-panel:nth-of-type(3),
.rtab-radio:nth-of-type(4):checked ~ .rtab-panels > .rtab-panel:nth-of-type(4),
.rtab-radio:nth-of-type(5):checked ~ .rtab-panels > .rtab-panel:nth-of-type(5),
.rtab-radio:nth-of-type(6):checked ~ .rtab-panels > .rtab-panel:nth-of-type(6) {
  display: block;
}
.rtab-radio:focus-visible ~ .rtab-labels { outline: 2px solid var(--red); outline-offset: 4px; }

/* Bullets dentro de una tarjeta (cards) */
.card-bullets { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.card-bullets li { display: none; position: relative; padding-left: 20px; font-size: 15px; line-height: 1.5; color: var(--gray); }
.card-bullets li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}

/* Prose (páginas legales / políticas) */
.prose { max-width: 78ch; }
.prose h2 {
  margin-top: 44px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--navy-800);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 30px; font-size: 19px; font-weight: 800; color: var(--navy-800); }
.prose p { margin-top: 16px; font-size: 16px; line-height: 1.75; color: var(--gray); }
.prose ul,
.prose ol { margin-top: 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.prose li { font-size: 16px; line-height: 1.7; color: var(--gray); }
.prose strong { color: var(--navy-800); }
.prose a { color: var(--steel); text-decoration: underline; }
.prose-note {
  max-width: 78ch;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--gray);
}
.prose-note a { color: var(--steel); }
