/* armon.ia — estilos compartidos de páginas de contenido (cluster SEO),
   barra de compartir y CTA fijo móvil. Usado por la home y las páginas
   /automatizacion-ia/, /agentes-ia/ y /software-medida/. */

/* ---------- Contenido de artículos ---------- */
.content-section { padding: 4rem 1.5rem; }
@media (min-width: 768px) { .content-section { padding: 6rem 1.5rem; } }
.content-wrap { max-width: 48rem; margin: 0 auto; }
.content-wrap h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.9rem;
  line-height: 1.25;
  margin: 3.5rem 0 1rem;
  color: #18181b;
}
@media (min-width: 768px) { .content-wrap h2 { font-size: 2.4rem; } }
.content-wrap h3 { font-size: 1.25rem; font-weight: 600; margin: 2rem 0 .75rem; color: #18181b; }
.content-wrap p { font-weight: 300; color: #52525b; line-height: 1.75; margin-bottom: 1.25rem; }
.content-wrap ul { margin: 0 0 1.25rem 1.25rem; list-style: disc; }
.content-wrap li { font-weight: 300; color: #52525b; line-height: 1.7; margin-bottom: .5rem; }
.content-wrap strong { font-weight: 600; color: #18181b; }
.content-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: .95rem;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(24, 24, 27, .06);
}
.content-table th {
  text-align: left;
  background: #fff4ef;
  color: #B33A0B;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .9rem 1rem;
}
.content-table td { padding: .9rem 1rem; border-top: 1px solid #f2f2f4; font-weight: 300; color: #3f3f46; }

/* ---------- Breadcrumb ---------- */
.breadcrumb-nav { font-size: .8rem; color: #71717a; margin-bottom: 1.75rem; }
.breadcrumb-nav a { color: #B33A0B; }
.breadcrumb-nav a:hover { text-decoration: underline; }

/* ---------- Tarjeta TL;DR ---------- */
.tldr-card {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(24, 24, 27, .07);
  padding: 1.75rem;
  text-align: left;
  margin: 0 auto 2.5rem;
  max-width: 42rem;
}
.tldr-card h2 {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #B33A0B;
  margin-bottom: 1rem;
  font-family: inherit;
}
.tldr-card ol { margin-left: 1.25rem; list-style: decimal; }
.tldr-card li { font-weight: 300; color: #3f3f46; line-height: 1.65; margin-bottom: .45rem; }

/* ---------- Barra de compartir (desktop) ---------- */
.share-bar {
  position: fixed;
  left: 22px;
  bottom: 30px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.share-btn {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #B33A0B;
  box-shadow: 0 10px 26px rgba(24, 24, 27, .12);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.share-btn:hover { transform: translateY(-3px); background: #fff; }
.share-btn:focus-visible { outline: 3px solid rgba(179, 58, 11, .4); outline-offset: 3px; }
.share-btn .material-symbols-outlined { font-size: 22px; }
@media (max-width: 1023px) { .share-bar { display: none; } }

/* ---------- CTA fijo móvil ---------- */
.mobile-cta-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 998;
  display: none;
  gap: 10px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: 0 18px 44px rgba(24, 24, 27, .18);
}
.mobile-cta-bar .cta-call {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #B33A0B;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: 12px 10px;
  border-radius: 14px;
  transition: background .2s ease;
}
.mobile-cta-bar .cta-call:hover { background: #9A3412; }
.mobile-cta-bar .cta-share {
  width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(179, 58, 11, .25);
  background: #fff4ef;
  color: #B33A0B;
  cursor: pointer;
}
.mobile-cta-bar .cta-share:focus-visible,
.mobile-cta-bar .cta-call:focus-visible { outline: 3px solid rgba(179, 58, 11, .4); outline-offset: 2px; }
@media (max-width: 767px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 84px; }
  .chatbot-toggler { bottom: 88px; }
}
@media (max-width: 767px) {
  body.chatbot-scroll-locked { padding-bottom: 0; }
}
