/* Página «¿D-Log o D-Log 2?» */
.ck-hero { padding: 44px 0 26px; text-align: center; }
.ck-stage { width: min(860px, 100% - 40px); margin: 0 auto; }

.ck-frame { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; cursor: pointer;
  background: var(--code); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, background .2s; }
.ck-frame:hover, .ck-frame.is-over, .ck-frame:focus-within { box-shadow: inset 0 0 0 2px var(--orange); }
.ck-frame input { position: absolute; width: 1px; height: 1px; opacity: 0; }

.ck-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; }
.ck-empty svg { width: 34px; height: 34px; stroke: var(--soft); }
.ck-empty strong { font-weight: 400; font-size: clamp(20px, 3.4vw, 28px); letter-spacing: -.01em; }
.ck-empty span { font-size: 14px; color: var(--soft); }

.ck-frame .ck-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.ck-frame .ck-thumb { object-fit: cover; opacity: 0; transition: opacity .3s; }
.ck-frame .ck-thumb { position: absolute; inset: 0; width: 100%; height: 100%; }
.ck-frame.has-frame .ck-thumb[src] { opacity: 1; }
.ck-shade { background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 45%); opacity: 0; transition: opacity .5s; }
.ck-frame.has-frame .ck-shade { opacity: 1; }

.ck-label { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(14px, 3vw, 26px); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ck-profile { font-weight: 300; font-size: clamp(34px, 7vw, 64px); line-height: 1; letter-spacing: -.02em; }
.ck-cam { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding-bottom: .4em; text-align: right; }
.ck-frame.has-frame .ck-label { color: #fff; }
.ck-frame.is-done .ck-empty { display: none; }
.ck-frame.is-reading .ck-empty strong { color: var(--soft); }

.ck-below { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin: 14px 2px 0; font-size: 15px; color: var(--soft); min-height: 24px; }
.ck-below a { color: var(--ink); }
.ck-below .ck-again { color: var(--soft); }

.ck-cta { text-align: center; padding: 70px 0 60px; }
.ck-cta h2 { margin-bottom: 8px; }
.ck-cta p { color: var(--soft); margin: 0 0 22px; font-size: 18px; }

.ck-faq { border-top: 1px solid var(--line); padding: 40px 0 20px; }
.ck-faq h3 { font-size: 16px; font-weight: 500; margin: 0 0 4px; }
.ck-faq p { margin: 0 0 22px; color: var(--soft); font-size: 15px; }

/* Visor de cámara */
.ck-corner { position: absolute; width: clamp(24px, 4vw, 46px); height: clamp(24px, 4vw, 46px); border: 2px solid var(--orange); z-index: 1; pointer-events: none; }
.ck-corner.tl { top: clamp(12px, 2.5vw, 28px); left: clamp(12px, 2.5vw, 28px); border-right: 0; border-bottom: 0; }
.ck-corner.tr { top: clamp(12px, 2.5vw, 28px); right: clamp(12px, 2.5vw, 28px); border-left: 0; border-bottom: 0; }
.ck-corner.bl { bottom: clamp(12px, 2.5vw, 28px); left: clamp(12px, 2.5vw, 28px); border-right: 0; border-top: 0; }
.ck-corner.br { bottom: clamp(12px, 2.5vw, 28px); right: clamp(12px, 2.5vw, 28px); border-left: 0; border-top: 0; }
.ck-mono { position: absolute; font: 12px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; color: var(--soft); }
.ck-mono b { color: var(--orange); font-weight: 400; }
.ck-rec { top: clamp(22px, 3.6vw, 40px); left: clamp(48px, 8vw, 90px); }
.ck-file { top: clamp(22px, 3.6vw, 40px); right: clamp(48px, 8vw, 90px); }
.ck-safe { bottom: clamp(22px, 3.6vw, 40px); left: 0; right: 0; text-align: center; }
.ck-frame.is-done .ck-mono { display: none; }
.ck-cross { position: relative; width: 22px; height: 22px; margin-bottom: 4px; }
.ck-cross::before, .ck-cross::after { content: ""; position: absolute; background: var(--soft); }
.ck-cross::before { left: 10px; top: 0; width: 1px; height: 22px; }
.ck-cross::after { top: 10px; left: 0; height: 1px; width: 22px; }
.ck-frame .ck-label { padding: clamp(26px, 5vw, 56px); }
@media (max-width: 520px) { .ck-frame { aspect-ratio: 4 / 3; } .ck-file { display: none; } .ck-empty strong { font-size: 20px; } }
.ck-profile { white-space: nowrap; }
@media (max-width: 520px) { .ck-label { flex-direction: column; align-items: flex-start; gap: 8px; } .ck-cam { text-align: left; padding-bottom: 0; } }

/* Tabla de perfiles y pasos de DaVinci */
.ck-info { border-top: 1px solid var(--line); padding: 44px 0 10px; }
.ck-info h2 { font-size: 24px; margin: 0 0 10px; }
.ck-info > p { color: var(--soft); font-size: 15px; margin: 0 0 18px; }
.ck-table { overflow-x: auto; margin: 0 0 40px; }
.ck-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ck-table th { text-align: left; font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); padding: 0 12px 10px 0; border-bottom: 1px solid var(--line); }
.ck-table td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ck-table td:first-child { white-space: nowrap; }
.ck-table td:last-child { color: var(--soft); }
.ck-steps { padding-left: 20px; margin: 0 0 8px; font-size: 15.5px; }
.ck-steps li { margin: 0 0 10px; padding-left: 4px; }
.ck-info .small { margin: 0 0 20px; }
@media (max-width: 520px) {
  .ck-table thead { display: none; }
  .ck-table table, .ck-table tbody, .ck-table tr, .ck-table td { display: block; }
  .ck-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .ck-table td { padding: 2px 0; border: 0; }
}
