/* Estilos heredados del sitio v1 para las secciones conservadas de APM.
   Extraidos automaticamente desde public/index.html — no editar a mano:
   regenerar con el extractor si v1 cambia. Sin colisiones con site.css. */

.section-label {
  font-family: var(--fm);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cyan);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--cyan);
  opacity: 0.5;
}
.section-title {
  font-family: var(--fd);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--text-0);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-sub {
  font-family: var(--fm);
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  max-width: 600px;
}
.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  animation: pd 2s ease-in-out infinite;
}
/* ═══ SECTION 02: PROBLEMA ═══ */
.problema { background: var(--bg-1); }
.dolor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  margin-bottom: 48px;
}
.dolor-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}
.dolor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,188,255,.5), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.dolor-card:hover::before { opacity: 1; }
.dolor-card:hover { border-color: var(--border-hi); }
.dolor-num {
  font-family: var(--fd);
  font-size: 36px;
  font-weight: 800;
  color: var(--bg-4);
  margin-bottom: 16px;
  line-height: 1;
}
.dolor-title {
  font-family: var(--fd);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-0);
  margin-bottom: 12px;
}
.dolor-body {
  font-size: 13px;
  color: var(--text-1);
  line-height: 1.65;
}
.pullquote {
  border-left: 2px solid var(--cyan);
  padding: 20px 28px;
  margin-top: 20px;
  background: var(--bg-2);
  border-radius: 0 4px 4px 0;
}
.pullquote p {
  font-family: var(--fb);
  font-size: 15px;
  color: var(--text-0);
  line-height: 1.7;
  font-style: italic;
}
/* ═══ SECTION 03: SOLUCIÓN ═══ */

.capas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
  margin-bottom: 56px;
  border-radius: 4px;
  overflow: hidden;
}
.capa {
  background: var(--bg-2);
  padding: 32px 28px;
  position: relative;
}
.capa:hover { background: var(--bg-3); }
.capa-num {
  font-family: var(--fm);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 14px;
}
.capa-title {
  font-family: var(--fd);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 8px;
}
.capa-question {
  font-family: var(--fm);
  font-size: 11px;
  color: var(--cyan);
  margin-bottom: 16px;
  opacity: 0.8;
}
.capa-body {
  font-size: 13px;
  color: var(--text-1);
  line-height: 1.65;
}
/* Sistema vivo */
.sistema-vivo {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 36px 32px;
  margin-bottom: 56px;
}
.sistema-vivo-title {
  font-family: var(--fd);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-0);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sistema-vivo p {
  font-size: 14px;
  color: var(--text-1);
  line-height: 1.7;
  max-width: 680px;
}
/* Tabla antes/después */
.ba-table {
  width: 100%;
  border-collapse: collapse;
}
.ba-table th {
  font-family: var(--fm);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-2);
  text-align: left;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}
.ba-table td {
  padding: 18px;
  font-size: 13px;
  border-bottom: 1px solid rgba(0,188,255,0.04);
  vertical-align: top;
  line-height: 1.6;
}
.ba-table tr:last-child td { border-bottom: none; }
.ba-table tr:hover td { background: var(--cyan-glow); }
.ba-table .col-sin { color: var(--text-2); width: 50%; }
.ba-table .col-con { color: var(--text-0); width: 50%; }
/* ═══ SECTION 04: ARQUITECTURA ═══ */
.arquitectura { background: var(--bg-1); }
.arq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  margin-bottom: 48px;
}
.arq-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  transition: border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.arq-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,188,255,.5), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.arq-card:hover::before { opacity: 1; }
.arq-card:hover { border-color: var(--border-hi); }
.arq-icon {
  font-size: 20px;
  margin-bottom: 14px;
}
.arq-card-title {
  font-family: var(--fd);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-0);
  margin-bottom: 8px;
}
.arq-card-body {
  font-size: 13px;
  color: var(--text-1);
  line-height: 1.6;
}
/* ═══ SECTION 05: EQUIPO + CTA FINAL ═══ */

/* (soporte-text styles are defined in the soporte section below) */

/* AI-native block */
.ai-native {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 2px solid var(--cyan);
  border-radius: 0 4px 4px 0;
  padding: 32px 32px;
  margin-bottom: 40px;
}
.ai-native-label {
  font-family: var(--fm);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cyan);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-native-label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  animation: pd 2s ease-in-out infinite;
}
.ai-native-title {
  font-family: var(--fd);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 16px;
  line-height: 1.35;
}
.ai-native-body {
  font-size: 14px;
  color: var(--text-1);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 8px;
}
.ai-native-body:last-child { margin-bottom: 0; }
/* ═══ SOPORTE SECTION ═══ */
.soporte-section {
  position: relative;
  overflow: hidden;
}
.soporte-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.soporte-bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.soporte-text {
  font-size: 15px;
  color: var(--text-1);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 48px;
}
/* Trust signals */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}
.trust-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px 20px;
  text-align: center;
}
.trust-value {
  font-family: var(--fd);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 6px;
}
.trust-label {
  font-family: var(--fm);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
}
/* ═══ SEPARATOR ═══ */
.sep-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}
/* Stagger delays */
.fade-in.d1 { transition-delay: 0.1s; }
.fade-in.d2 { transition-delay: 0.2s; }
.fade-in.d3 { transition-delay: 0.3s; }
.fade-in.d4 { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   Compatibilidad estructural con v1.
   .container y .section se realinean a la grilla de v2 para que el contenido
   herededado calce con el header y el footer nuevos (v1 usaba 1080px).
   .fade-in depende del observador de scroll en site.js; sin el, todo quedaria
   en opacity:0. El fallback de prefers-reduced-motion lo deja visible siempre.
   -------------------------------------------------------------------------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.section   { padding: 88px 0; position: relative; }

.fade-in { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }
.fade-in.d1 { transition-delay: .1s; }
.fade-in.d2 { transition-delay: .2s; }
.fade-in.d3 { transition-delay: .3s; }
.fade-in.d4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1 !important; transform: none !important; transition: none !important; }
}
@media (max-width: 760px) {
  .section { padding: 60px 0; }
}
