/* IDMA Security · componente "Modelo de referencia" (Como operamos).
   Replica el componente de NEXAKON (seguridad.html: .seq-wrap, .dd, .seq-video) con los tokens de IDMA.
   Color de acento: el azul de IDMA queda en el eyebrow y el segmento resaltado del titular (reglas globales, .eb y em);
   el naranja de los botones se usa solo en los estados interactivos: borde del selector abierto, opcion activa y etiqueta del video. */

.modelo .h2 { max-width: 26ch; }
.modelo .h2 em { font-style: normal; color: var(--idma-guardia-claro); }

.modelo .vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.seq-wrap { display: grid; grid-template-columns: 30% 1fr; gap: 40px; align-items: stretch; }
.seq-photo { position: relative; border-radius: 14px; overflow: hidden; background: var(--idma-acero); min-height: 100%; }
.seq-photo picture { display: block; }
.seq-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.seq-photo img.is-missing { display: none; }
.seq-panel { min-width: 0; }

.dd { position: relative; margin-bottom: 20px; }
.dd-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--idma-acero); color: var(--idma-blanco); border: 1px solid rgba(239, 140, 34, .35); border-radius: 10px; padding: 16px 20px; font-family: var(--font-display); font-weight: 600; font-size: 20px; cursor: pointer; text-align: left; transition: border-color .25s ease; }
.dd-btn:hover, .dd.open .dd-btn { border-color: var(--idma-naranja); }
.dd-arrow { color: var(--idma-naranja); font-size: 14px; transition: transform .25s ease; }
.dd.open .dd-arrow { transform: rotate(180deg); }
.dd-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 10; margin: 0; padding: 0; background: var(--idma-acero); border: 1px solid rgba(239, 140, 34, .35); border-radius: 10px; overflow: hidden; display: none; list-style: none; }
.dd.open .dd-list { display: block; }
.dd-opt { padding: 14px 20px; color: var(--text-soft); font-family: var(--font-display); font-size: 17px; cursor: pointer; }
.dd-opt:hover, .dd-opt:focus { background: var(--idma-noche); color: var(--idma-blanco); outline: none; }
.dd-opt:focus-visible { outline: 2px solid var(--idma-naranja); outline-offset: -2px; }
.dd-opt[aria-selected="true"] { color: var(--idma-naranja); }

.seq-desc { font-size: 16.5px; color: var(--text-soft); line-height: 1.6; margin-bottom: 22px; min-height: 80px; max-width: 640px; }
.seq-video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--idma-acero); }
.seq-item { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; }
.seq-item.active { opacity: 1; }
.seq-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.seq-cap { position: absolute; bottom: 14px; left: 14px; background: rgba(239, 140, 34, .9); color: var(--idma-noche); font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; padding: 4px 10px; border-radius: 4px; z-index: 2; }
.seq-close { margin-top: 30px; font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--text-soft); }
.seq-close em { color: var(--idma-naranja); font-style: normal; font-weight: 600; }

@media (max-width: 800px) {
  .seq-wrap { grid-template-columns: 1fr; }
  .seq-photo { min-height: 0; aspect-ratio: 9 / 16; max-height: 70vh; }
}
@media (prefers-reduced-motion: reduce) {
  .dd-btn, .dd-arrow, .seq-item { transition: none; }
}
