/* ==========================================================================
   Landing «AI-DLC» (/servicio/ai/ai-dlc/). Se carga después de openai/landing.css y kiro/landing.css
   (base .lo-* y .kl-*): aquí solo lo propio de esta página.
   ========================================================================== */

/* Hero: las tres fases en cadena, con la aprobación del equipo entre una y otra */
.ad-flow { padding: 22px 24px 20px; border-radius: 12px; background: #0b0b12; color: #e8e8f0; box-shadow: 0 30px 80px -30px rgba(80, 30, 160, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.ad-flow__h { margin: 0 0 18px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.ad-flow__list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ad-flow__ph { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; background: rgba(255, 255, 255, .03); animation: ad-ph 9s calc(var(--d) * 3s) infinite both; }
.ad-flow__n { grid-row: 1 / 3; font-family: "Space Grotesk", sans-serif; font-size: 30px; line-height: 1; font-weight: 500; color: #c7a6ff; }
.ad-flow__ph b { font-family: var(--f-body); font-size: 17px; font-weight: 600; color: #fff; }
.ad-flow__ph em { font-family: var(--f-body); font-size: 13.5px; font-style: normal; color: rgba(255, 255, 255, .6); }
.ad-flow__gate { position: relative; display: flex; align-items: center; gap: 10px; margin: 0 0 0 36px; padding: 10px 0 10px 24px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: #2aeac3; }
.ad-flow__gate::before { content: ""; position: absolute; left: 3px; top: 0; bottom: 0; border-left: 2px dashed rgba(255, 255, 255, .22); }
.ad-flow__gate span { position: absolute; left: -4px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #2aeac3; box-shadow: 0 0 0 4px rgba(42, 234, 195, .18); animation: ad-gate 9s calc(var(--d) * 3s - 1s) infinite both; }
.ad-flow__gate span::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 8px; border: solid #0b0b12; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ad-flow__foot { margin: 18px 0 0; padding: 12px 14px; border-radius: 8px; background: rgba(134, 56, 235, .16); font-family: var(--f-body); font-size: 13px; color: #e6d9ff; }
.ad-flow__foot b { display: block; margin-bottom: 2px; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #c7a6ff; }
/* Ciclo de 9 s: cada fase se enciende 3 s; el punto de aprobación destella al pasar a la siguiente. Sin movimiento: todo encendido. */
@keyframes ad-ph { 0%, 4% { border-color: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); } 8%, 30% { border-color: #8638eb; background: rgba(134, 56, 235, .18); } 36%, 100% { border-color: rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); } }
@keyframes ad-gate { 0%, 30% { transform: scale(.8); opacity: .5; } 34%, 40% { transform: scale(1.15); opacity: 1; } 46%, 100% { transform: scale(1); opacity: .85; } }
@media (prefers-reduced-motion: reduce) {
  .ad-flow__ph { animation: none; border-color: #8638eb; background: rgba(134, 56, 235, .14); }
  .ad-flow__gate span { animation: none; }
}

/* Cómo se instala: el archivo de steering con las reglas del método */
.ad-steer__body { padding: 18px 20px; }
.ad-steer__h { margin: 0 0 14px; font-family: var(--f-mono); font-size: 14px; color: #c7a6ff; }
.ad-steer__rules { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-family: var(--f-body); font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .78); }
.ad-steer__rules li { position: relative; padding-left: 22px; opacity: 0; animation: ad-rule .5s calc(var(--d) * .25s + .2s) forwards; }
.ad-steer__rules li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 2px; background: var(--grad); }
.ad-steer__rules b { color: #fff; font-weight: 600; }
@keyframes ad-rule { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ad-steer__rules li { animation: none; opacity: 1; } }

/* Frase institucional: franja con el degradado de marca */
.ad-band__q { max-width: 900px; margin: 0; }
.ad-band__q blockquote { margin: 0 0 14px; font-family: var(--f-body); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.3; font-weight: 500; }
.ad-band__q figcaption { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }

@media (max-width: 1100px) { .ad-flow { width: 100%; max-width: 560px; } }
@media (max-width: 767px) {
  .ad-flow { padding: 18px 16px 16px; }
  .ad-flow__ph { padding: 12px 14px; }
  .ad-flow__n { font-size: 24px; }
}
