/* ==========================================================================
   EXITUS RE:CONNECT — Design System & Experience Stylesheet
   Academic Heritage × Computational Design × Editorial Luxury × Generative Identity
   Colors: Deep Exitus Navy (#050811), Signal Yellow (#ffb300 / #ffc107),
           Warm Paper (#f8f9fa), Signal Fog (#94a3b8)
   ========================================================================== */

:root {
    --bg-deep: #050811;
    --bg-navy: #080d1a;
    --bg-card: rgba(10, 16, 32, 0.72);
    --bg-card-hover: rgba(14, 22, 42, 0.85);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-active: rgba(255, 193, 7, 0.45);
    --border-glow: rgba(255, 193, 7, 0.8);

    --signal-yellow: #ffc107;
    --signal-amber: #ffb300;
    --signal-glow: rgba(255, 193, 7, 0.28);
    --signal-pulse: rgba(255, 179, 0, 0.6);

    --text-primary: #f8f9fa;
    --text-secondary: #cbd5e1;
    --text-fog: #94a3b8;
    --text-muted: #64748b;

    --font-heading: 'Syne', sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --trans-fast: 0.22s var(--ease-editorial);
    --trans-mid: 0.45s var(--ease-editorial);
    --trans-slow: 0.8s var(--ease-editorial);
}

/* Reset & Viewport Constraints */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html.reconnect-html, body.reconnect-body {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* --------------------------------------------------------------------------
   ENVIRONMENT LAYER (Canvas, The Thread SVG & Ambient Glow)
   -------------------------------------------------------------------------- */
.recon-env {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.recon-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.85;
}

.recon-thread-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: visible;
}

.recon-thread-path {
    fill: none;
    stroke: var(--signal-amber);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 6 3;
    animation: threadFlow 35s linear infinite;
    opacity: 0.6;
    transition: d var(--trans-slow), opacity var(--trans-mid);
    filter: drop-shadow(0 0 8px rgba(255, 193, 7, 0.45));
}

.recon-thread-head {
    fill: var(--signal-yellow);
    filter: drop-shadow(0 0 10px var(--signal-amber));
    transition: cx var(--trans-mid), cy var(--trans-mid);
}

@keyframes threadFlow {
    to { stroke-dashoffset: -1000; }
}

.recon-ambient-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.05) 0%, rgba(8, 13, 26, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform var(--trans-slow), opacity var(--trans-mid);
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   MINIMAL HEADER NAVIGATION
   -------------------------------------------------------------------------- */
.recon-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    padding: 0 clamp(20px, 4vw, 48px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 50;
    background: linear-gradient(to bottom, rgba(5, 8, 17, 0.9) 0%, rgba(5, 8, 17, 0) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.recon-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: opacity var(--trans-fast);
}
.recon-brand:hover { opacity: 0.88; }

.recon-brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}
.recon-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.recon-brand-text {
    display: flex;
    flex-direction: column;
}
.recon-brand-org {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    line-height: 1.2;
}
.recon-brand-sub {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 2px;
    color: var(--signal-amber);
    font-weight: 500;
}

/* Signal Ring Progress (Minimal 4-node constellation) */
.signal-ring {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(8, 13, 26, 0.65);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ring-node {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: default;
    opacity: 0.45;
    transition: opacity var(--trans-mid), transform var(--trans-mid);
}
.ring-node.is-active {
    opacity: 1;
}
.ring-node.is-completed {
    opacity: 0.85;
}

.ring-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-fog);
    transition: background var(--trans-mid), box-shadow var(--trans-mid);
}
.ring-node.is-active .ring-dot {
    background: var(--signal-yellow);
    box-shadow: 0 0 10px var(--signal-amber);
    transform: scale(1.2);
}
.ring-node.is-completed .ring-dot {
    background: #10b981;
}

.ring-label {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    font-weight: 500;
}
.ring-node.is-active .ring-label {
    color: var(--signal-yellow);
    font-weight: 600;
}

.ring-connector {
    width: 18px;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}
.ring-connector i {
    position: absolute;
    inset: 0;
    background: var(--signal-amber);
    transform: translateX(-100%);
    transition: transform var(--trans-mid);
}
.ring-connector.is-passed i {
    transform: translateX(0);
}

.recon-nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.recon-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    color: var(--text-fog);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: color var(--trans-fast), border-color var(--trans-fast), background var(--trans-fast);
}
.recon-link-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}
.recon-link-btn i { font-size: 12px; }

/* --------------------------------------------------------------------------
   STAGE CONTAINER & SCENE ARCHITECTURE
   -------------------------------------------------------------------------- */
.recon-stage {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.recon-scene {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height, 64px) + 20px) clamp(16px, 4vw, 56px) 36px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.97) translateY(14px);
    transition: opacity var(--trans-mid), transform var(--trans-mid);
    overflow-y: auto;
    overflow-x: hidden;
}

.recon-scene.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
    position: relative;
}

.scene-inner {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
}

/* 3-Column Editorial Grid for Scenes 01, 02, 03, 04 */
.scene-01-inner {
    grid-template-columns: minmax(280px, 340px) minmax(400px, 1.25fr) minmax(240px, 280px);
}
.scene-02-inner,
.scene-03-inner,
.scene-04-inner {
    grid-template-columns: minmax(280px, 360px) minmax(340px, 1fr) minmax(240px, 300px);
}

.scene-col-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.scene-col-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.scene-col-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Typography & Editorial Tokens */
.scene-eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2.5px;
    color: var(--signal-amber);
    text-transform: uppercase;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scene-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3.5vw, 46px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 16px;
    overflow-wrap: break-word;
    word-break: normal;
}
.scene-title .accent-text,
.scene-00-headline .accent-text,
.scene-05-headline .accent-text {
    color: var(--signal-yellow);
    font-style: normal;
}

.scene-desc {
    font-size: clamp(14px, 1.2vw, 16px);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 520px;
    overflow-wrap: break-word;
    word-break: normal;
}

/* Buttons & CTA Primitives */
.recon-cta-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #ffc107 0%, #ffb300 50%, #f59e0b 100%);
    color: #06080e;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(255, 179, 0, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.4);
    transition: transform var(--trans-fast), box-shadow var(--trans-fast), filter var(--trans-fast);
    overflow: hidden;
}
.recon-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(255, 179, 0, 0.45);
    filter: brightness(1.04);
}
.recon-cta-btn:active {
    transform: translateY(1px);
}
.recon-cta-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.recon-cta-btn .btn-icon {
    font-size: 16px;
    transition: transform var(--trans-fast);
}
.recon-cta-btn:hover .btn-icon {
    transform: translateX(4px);
}

.recon-secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(14, 22, 42, 0.5);
    color: var(--text-fog);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: color var(--trans-fast), border-color var(--trans-fast), background var(--trans-fast);
}
.recon-secondary-btn:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.scene-step-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
}

/* --------------------------------------------------------------------------
   SCENE 00 · SIGNAL ENTRY
   -------------------------------------------------------------------------- */
.scene-00-inner {
    max-width: 820px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.scene-00-meta .meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 193, 7, 0.25);
    background: rgba(255, 193, 7, 0.06);
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--signal-yellow);
    font-weight: 600;
}

.pulse-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--signal-yellow);
    box-shadow: 0 0 10px var(--signal-amber);
    animation: signalBlink 2s ease-in-out infinite;
}

@keyframes signalBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.85); }
}

.scene-00-headline {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5.5vw, 80px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    overflow-wrap: break-word;
    word-break: normal;
}

.scene-00-sub {
    font-size: clamp(15px, 1.6vw, 19px);
    color: var(--text-secondary);
    max-width: 580px;
    line-height: 1.6;
    margin: 0 auto;
    overflow-wrap: break-word;
    word-break: normal;
}

.scene-00-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
}

.scene-00-micro {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   SCENE 01 · GENERATION DIAL
   -------------------------------------------------------------------------- */
.dial-hud {
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    background: rgba(8, 13, 26, 0.7);
    margin-bottom: 20px;
}
.hud-tag {
    font-family: var(--font-mono);
    font-size: 9.5px;
    letter-spacing: 2px;
    color: var(--text-fog);
    display: block;
    margin-bottom: 4px;
}
.hud-active-promo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--signal-yellow);
    letter-spacing: 0.5px;
}
.hud-memory-flash {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Kinetic Horizon Generation Dial */
.gen-dial-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    min-height: 380px;
    border-radius: 28px;
    border: 1px solid var(--border-subtle);
    background: radial-gradient(circle at center, rgba(14, 22, 42, 0.75) 0%, rgba(5, 8, 17, 0.95) 100%);
    box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
    overflow: hidden;
    user-select: none;
    outline: none;
    cursor: grab;
}
.gen-dial-container:active { cursor: grabbing; }

.gen-dial-backdrop {
    position: absolute;
    width: min(320px, 80vw);
    height: min(320px, 80vw);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.08) 0%, rgba(255, 193, 7, 0) 70%);
    pointer-events: none;
}

.gen-dial-focus-ring {
    position: absolute;
    width: min(220px, 60vw);
    height: min(220px, 60vw);
    border-radius: 50%;
    border: 1px dashed rgba(255, 193, 7, 0.3);
    pointer-events: none;
    animation: spinRing 40s linear infinite;
}
@keyframes spinRing {
    to { transform: rotate(360deg); }
}

.gen-dial-display {
    font-family: var(--font-heading);
    font-size: clamp(48px, 6vw, 84px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #ffffff;
    text-shadow: 0 0 40px rgba(255, 193, 7, 0.35);
    z-index: 2;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    transition: transform 0.12s ease-out, opacity 0.12s ease-out;
}

.gen-dial-ribbon-viewport {
    position: relative;
    width: 100%;
    max-width: 540px;
    min-width: 0;
    box-sizing: border-box;
    height: 72px;
    margin-top: 20px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 16%, black 84%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 16%, black 84%, transparent 100%);
    display: flex;
    align-items: center;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}
.gen-dial-ribbon-viewport:active {
    cursor: grabbing;
}

.gen-dial-ribbon {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    z-index: 2;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
.gen-dial-ribbon.is-dragging {
    transition: none !important;
}

.gen-dial-tick {
    flex: 0 0 76px;
    width: 76px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: color var(--trans-fast), transform var(--trans-fast);
    padding: 6px 0;
    user-select: none;
}
.gen-dial-tick .tick-line {
    width: 1.5px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    transition: height var(--trans-fast), background var(--trans-fast);
}
.gen-dial-tick.is-active {
    color: var(--signal-yellow);
    transform: scale(1.18);
    font-weight: 700;
}
.gen-dial-tick.is-active .tick-line {
    height: 24px;
    background: var(--signal-yellow);
    box-shadow: 0 0 10px var(--signal-amber);
}

.dial-touch-hint {
    margin-top: 18px;
    font-size: 11.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
}

.gen-dial-display-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2.5vw, 24px);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    z-index: 5;
    margin: 8px 0;
    position: relative;
    box-sizing: border-box;
}

.dial-controls-quick {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}
.quick-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 193, 7, 0.45);
    background: rgba(14, 22, 42, 0.9);
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transition: all var(--trans-fast);
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 10px rgba(255, 193, 7, 0.15);
    -webkit-tap-highlight-color: transparent;
    z-index: 6;
}
.quick-arrow svg {
    display: block;
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: transform var(--trans-fast);
    pointer-events: none;
}
.quick-arrow.prev-yr:hover svg {
    transform: translateX(-2px);
}
.quick-arrow.next-yr:hover svg {
    transform: translateX(2px);
}
.quick-arrow:hover,
.quick-arrow:focus-visible {
    background: rgba(255, 193, 7, 0.25);
    color: var(--signal-yellow);
    border-color: var(--signal-yellow);
    box-shadow: 0 0 18px rgba(255, 193, 7, 0.45);
    transform: scale(1.08);
}
.quick-arrow:active {
    transform: scale(0.94);
    background: var(--signal-yellow);
    color: #050811;
}
.quick-arrow:disabled,
.quick-arrow[aria-disabled="true"] {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
    box-shadow: none;
}

/* Alumni Signature Preview Card (Right Column) */
.alumni-sig-card {
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    background: rgba(8, 13, 26, 0.85);
    padding: 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.sig-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.sig-tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--signal-amber);
    display: flex;
    align-items: center;
    gap: 6px;
}
.sig-state {
    font-family: var(--font-mono);
    font-size: 9.5px;
    color: var(--text-muted);
    letter-spacing: 1px;
}
.sig-canvas-wrap {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: radial-gradient(circle, rgba(14, 22, 42, 0.9) 0%, rgba(5, 8, 17, 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}
.sig-canvas {
    width: 100%;
    height: 100%;
}
.sig-footer {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sig-hash {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 1.5px;
}
.sig-note {
    font-size: 10.5px;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   SCENE 02 · IDENTITY CHECK
   -------------------------------------------------------------------------- */
.identity-assembly-form {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--border-subtle);
    background: rgba(8, 13, 26, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.editorial-field-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    scroll-margin-top: calc(var(--nav-height, 64px) + 20px);
}
.dni-input-wrap,
#reconDocNum {
    scroll-margin-top: calc(var(--nav-height, 64px) + 20px);
}

.field-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.editorial-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.editorial-label .num-step {
    color: var(--signal-amber);
    font-weight: 700;
}
.label-helper {
    font-size: 11.5px;
    color: var(--text-muted);
}

.sub-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}
.sub-label .req { color: #f87171; }
.sub-label .optional-label { color: var(--text-muted); font-weight: 400; }

.doc-type-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 3px;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}
.doc-radio {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background var(--trans-fast), color var(--trans-fast);
}
.doc-radio input { display: none; }
.doc-radio.is-active {
    background: var(--signal-amber);
    color: #06080e;
    font-weight: 700;
}

/* DNI Editorial Input: Giant, Spacious & Architecture-Inspired */
.editorial-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.editorial-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    outline: none;
    transition: border-color var(--trans-fast), background var(--trans-fast), box-shadow var(--trans-fast);
}
.editorial-input:focus {
    border-color: var(--signal-amber);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 20px rgba(255, 179, 0, 0.15);
}

.dni-editorial-input {
    font-family: var(--font-mono);
    font-size: clamp(24px, 3.2vw, 36px);
    letter-spacing: 6px;
    padding: 16px 20px;
    color: #ffffff;
    font-weight: 600;
}

.input-char-indicator {
    position: absolute;
    right: 18px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    pointer-events: none;
}

.names-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.editorial-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 14px 18px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    outline: none;
    appearance: none;
    cursor: pointer;
}
.editorial-select option {
    background: #080d1a;
    color: #ffffff;
}
.select-wrap { position: relative; }
.select-arrow {
    position: absolute;
    right: 18px;
    color: var(--text-fog);
    pointer-events: none;
}

.editorial-error {
    font-size: 12px;
    color: #f87171;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.recon-shield-notice {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    background: rgba(16, 185, 129, 0.06);
    margin-bottom: 18px;
}
.shield-icon { color: #10b981; font-size: 16px; margin-top: 2px; }
.shield-text strong {
    font-size: 12.5px;
    color: #6ee7b7;
    display: block;
    margin-bottom: 2px;
}
.shield-text p {
    font-size: 12px;
    color: var(--text-fog);
    line-height: 1.45;
}
.shield-learn-more {
    background: none;
    border: none;
    color: var(--signal-yellow);
    font-size: 11.5px;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 4px;
    padding: 0;
}

/* Verification Status Widget */
.verify-status-widget {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid var(--border-active);
    background: rgba(255, 193, 7, 0.08);
    margin-bottom: 18px;
    animation: fadeIn 0.3s ease-out;
}
.verify-icon-box {
    color: var(--signal-yellow);
    font-size: 18px;
}
.verify-headline {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--signal-yellow);
    display: block;
}
.verify-sub {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Identity Card Display (Right Column) */
.identity-card-display {
    padding: 28px 24px;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    background: rgba(8, 13, 26, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}
.id-card-pill {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--signal-amber);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}
.id-card-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 4px;
    word-break: break-word;
}
.id-card-promo {
    font-family: var(--font-mono);
    font-size: 12.5px;
    color: var(--signal-yellow);
    margin-bottom: 18px;
}
.id-card-divider {
    height: 1px;
    background: var(--border-subtle);
    margin-bottom: 16px;
}
.id-card-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 1px;
    color: var(--text-fog);
}
.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--signal-yellow);
    animation: signalBlink 2s infinite;
}

/* --------------------------------------------------------------------------
   SCENE 03 · YOUR WORLDLINE
   -------------------------------------------------------------------------- */
.worldline-composer {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 32px 28px;
    border-radius: 28px;
    border: 1px solid var(--border-subtle);
    background: rgba(8, 13, 26, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Vector Route: PIURA ─────────● DESTINO */
.worldline-vector-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 28px;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    background: radial-gradient(circle at center, rgba(14, 22, 42, 0.6) 0%, rgba(5, 8, 17, 0.9) 100%);
    position: relative;
    overflow: hidden;
}

.worldline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
}
.node-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-bottom: 8px;
    position: relative;
}
.origin-dot {
    background: #ffc107;
    box-shadow: 0 0 16px #ffb300;
}
.dest-dot {
    background: #38bdf8;
    box-shadow: 0 0 16px #38bdf8;
}

.node-label {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffffff;
}
.node-sub {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-fog);
    margin-top: 2px;
}

.worldline-track {
    flex: 1;
    height: 2px;
    margin: 0 20px;
    background: rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}
.track-filament {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #ffc107 0%, #38bdf8 100%);
    opacity: 0.8;
}
.track-pulse {
    position: absolute;
    top: -2px;
    left: 0;
    width: 24px;
    height: 6px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 0 12px #38bdf8;
    animation: travelPulse 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes travelPulse {
    0% { left: 0%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.city-search-group {
    position: relative;
}
.geo-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.city-icon {
    position: absolute;
    left: 18px;
    color: var(--signal-amber);
    font-size: 16px;
    pointer-events: none;
    z-index: 2;
}
.city-input {
    padding-left: 48px !important;
    padding-right: 42px !important;
    font-size: 15px;
    font-weight: 500;
}
.geo-clear-btn {
    position: absolute;
    right: 14px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-fog);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--trans-fast);
    z-index: 2;
}
.geo-clear-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.geo-spinner {
    position: absolute;
    right: 14px;
    color: var(--signal-yellow);
    font-size: 14px;
    z-index: 2;
    pointer-events: none;
}

/* Autocomplete Dropdown List */
.geo-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: rgba(8, 13, 26, 0.95);
    border: 1px solid var(--border-active);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 20px rgba(255, 193, 7, 0.12);
    z-index: 100;
    max-height: 280px;
    overflow-y: auto;
    padding: 6px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.geo-dropdown[hidden] {
    display: none !important;
}

.geo-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: background var(--trans-fast);
}
.geo-item:hover, .geo-item.is-focused {
    background: rgba(255, 193, 7, 0.14);
}
.geo-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.geo-item-icon {
    color: var(--signal-amber);
    font-size: 14px;
}
.geo-item-text {
    display: flex;
    flex-direction: column;
}
.geo-item-title {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.2;
}
.geo-item-sub {
    font-size: 11.5px;
    color: var(--text-fog);
}
.geo-item-distance {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--signal-yellow);
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.2);
}

/* Categorized Fast Selection Pills */
.city-quick-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}
.city-quick-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.city-quick-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--text-muted);
    min-width: 62px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.city-quick-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.city-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    padding: 5px 12px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--trans-fast);
}
.city-pill:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}
.city-pill.is-active {
    background: rgba(255, 193, 7, 0.16);
    border-color: var(--signal-amber);
    color: var(--signal-yellow);
    font-weight: 600;
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.2);
}

.worldline-caption {
    text-align: center;
    margin-top: -6px;
}
.caption-quote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 15px;
    color: var(--text-fog);
}

.alumni-trajectory-box {
    padding: 28px 24px;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    background: rgba(8, 13, 26, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.traj-title {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--signal-amber);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}
.traj-stat {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}
.traj-stat-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
}
.traj-stat-lbl {
    font-size: 12px;
    color: var(--text-fog);
    margin-top: 4px;
}
.traj-note {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   SCENE 04 · WHAT PULLS YOU BACK? & CONTACT HANDSHAKE
   -------------------------------------------------------------------------- */
.orbit-and-contact-wrap {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 32px 28px;
    border-radius: 28px;
    border: 1px solid var(--border-subtle);
    background: rgba(8, 13, 26, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.interest-orbit-canvas-wrap {
    position: relative;
    padding: 20px 0 10px;
}
.orbit-svg-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.orbit-nodes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.orbit-node {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--trans-fast);
    outline: none;
}
.orbit-node:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}
.orbit-node .orbit-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: background var(--trans-fast), box-shadow var(--trans-fast);
}
.orbit-node.is-selected {
    border-color: var(--signal-amber);
    background: rgba(255, 193, 7, 0.14);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.15);
}
.orbit-node.is-selected .orbit-dot {
    background: var(--signal-yellow);
    box-shadow: 0 0 8px var(--signal-amber);
}

.contact-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 10px;
}

.phone-input-wrap {
    display: flex;
    align-items: center;
}
.country-prefix {
    padding: 0 14px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-fog);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 6px;
    position: absolute;
    left: 4px;
    z-index: 2;
}
.phone-input {
    padding-left: 86px !important;
    font-family: var(--font-mono);
    letter-spacing: 2px;
}

.input-lead-icon {
    position: absolute;
    left: 18px;
    color: var(--text-muted);
    font-size: 15px;
    pointer-events: none;
}
.email-input {
    padding-left: 46px !important;
}

.consent-agreement-box {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}
.consent-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}
.consent-checkbox-label input {
    display: none;
}
.checkbox-custom {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    margin-top: 2px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--trans-fast);
}
.consent-checkbox-label input:checked + .checkbox-custom {
    background: var(--signal-amber);
    border-color: var(--signal-amber);
}
.consent-checkbox-label input:checked + .checkbox-custom::after {
    content: '✓';
    font-size: 12px;
    color: #06080e;
    font-weight: 800;
}
.btn-text-link {
    background: none;
    border: none;
    color: var(--signal-yellow);
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
}

.security-seal-box {
    padding: 28px 24px;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    background: rgba(8, 13, 26, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.seal-icon {
    font-size: 24px;
    color: var(--signal-yellow);
    margin-bottom: 12px;
}
.seal-title {
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 2px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 8px;
}
.seal-desc {
    font-size: 12px;
    color: var(--text-fog);
    line-height: 1.5;
}

.submit-spinner-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    font-size: 13px;
    color: var(--signal-yellow);
}

/* --------------------------------------------------------------------------
   SCENE 05 · CONNECTION RESTORED (The Payoff & Alumni Pass)
   -------------------------------------------------------------------------- */
.scene-05-inner {
    max-width: 1200px;
    grid-template-columns: minmax(320px, 1fr) minmax(380px, 480px);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.scene-05-left {
    display: flex;
    flex-direction: column;
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    margin-right: 6px;
}

.scene-05-headline {
    font-family: var(--font-heading);
    font-size: clamp(38px, 4.5vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 20px;
}

.scene-05-sub {
    font-size: clamp(15px, 1.3vw, 17px);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 48ch;
}

.scene-05-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

/* The Alumni Pass Digital Luxury Object */
.alumni-pass-object {
    position: relative;
    width: 100%;
    border-radius: 28px;
    border: 1px solid rgba(255, 193, 7, 0.4);
    background: linear-gradient(145deg, rgba(14, 22, 42, 0.95) 0%, rgba(5, 8, 17, 0.98) 100%);
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.85), 0 0 30px rgba(255, 193, 7, 0.12);
    padding: 32px 30px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform var(--trans-mid), box-shadow var(--trans-mid);
    outline: none;
}
.alumni-pass-object:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 193, 7, 0.22);
}

.pass-hologram-shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.05) 45%, rgba(255, 193, 7, 0.12) 50%, rgba(255, 255, 255, 0.05) 55%, transparent 80%);
    transform: translateX(-100%);
    animation: passShimmer 7s ease-in-out infinite;
    pointer-events: none;
}
@keyframes passShimmer {
    0%, 30% { transform: translateX(-100%); }
    60%, 100% { transform: translateX(100%); }
}

.pass-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-subtle);
}
.pass-brand-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pass-brand-crest {
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}
.pass-brand-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffffff;
}
.pass-brand-subtitle {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--signal-amber);
}

.pass-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.1);
    font-family: var(--font-mono);
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #6ee7b7;
}
.status-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.pass-card-middle {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.pass-signature-canvas-wrap {
    width: 100%;
    height: 120px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: radial-gradient(circle at center, rgba(14, 22, 42, 0.8) 0%, rgba(5, 8, 17, 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.pass-sig-canvas {
    width: 100%;
    height: 100%;
}

.pass-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.pass-info-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pass-label {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}
.pass-value {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    word-break: break-word;
}
.pass-gold {
    color: var(--signal-yellow) !important;
}

.pass-card-bottom {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.pass-id-chip {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.chip-label {
    font-family: var(--font-mono);
    font-size: 8.5px;
    letter-spacing: 1.5px;
    color: var(--text-muted);
}
.chip-code {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 2px;
}
.pass-verification-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #10b981;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1.5px;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   PRIVACY EXPLAINER MODAL
   -------------------------------------------------------------------------- */
.recon-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(5, 8, 17, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--trans-mid);
}
.recon-modal-backdrop:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
}

.recon-modal-card {
    width: 100%;
    max-width: 560px;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    background: #080d1a;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: scale(0.95);
    transition: transform var(--trans-mid);
}
.recon-modal-backdrop:not([hidden]) .recon-modal-card {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.modal-title-lockup {
    display: flex;
    align-items: center;
    gap: 12px;
}
.modal-shield {
    color: var(--signal-amber);
    font-size: 24px;
}
.modal-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
}
.modal-subtitle {
    font-size: 12px;
    color: var(--text-fog);
}
.modal-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color var(--trans-fast);
}
.modal-close-btn:hover { color: #ffffff; }

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.modal-reason-block {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
}
.reason-icon {
    color: var(--signal-yellow);
    font-size: 16px;
    margin-top: 2px;
}
.reason-content h4 {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}
.reason-content p {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.45;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
}

/* --------------------------------------------------------------------------
   NOSCRIPT & ACCESSIBILITY FALLBACK
   -------------------------------------------------------------------------- */
.recon-noscript-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #050811;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
}
.noscript-card {
    max-width: 580px;
    background: #0c101c;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 32px;
    color: #ffffff;
}
.noscript-card h2 {
    font-family: var(--font-heading);
    margin-bottom: 12px;
    color: var(--signal-yellow);
}
.noscript-card p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}
.noscript-card input, .noscript-card button {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #475569;
    background: #1e293b;
    color: #ffffff;
    margin-top: 4px;
}
.noscript-card button {
    background: var(--signal-amber);
    color: #000;
    font-weight: 700;
    cursor: pointer;
    margin-top: 16px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN (Desktop Editorial -> Mobile Single Action Zone)
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .scene-01-inner,
    .scene-02-inner,
    .scene-03-inner,
    .scene-04-inner {
        grid-template-columns: minmax(280px, 340px) 1fr;
        gap: 28px;
    }
    .scene-col-right {
        display: none;
    }
}

@media (max-width: 900px) {
    .recon-stage {
        padding: 0;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .recon-scene {
        padding: calc(var(--nav-height, 60px) + 14px) clamp(16px, 4vw, 24px) 32px;
        align-items: flex-start;
        height: auto;
        min-height: 100%;
        overflow-y: auto;
    }

    .scene-01-inner,
    .scene-02-inner,
    .scene-03-inner,
    .scene-04-inner,
    .scene-05-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        padding-bottom: 24px;
    }

    /* Use display: contents on scene-col-left so its children (.scene-info-block and .scene-step-actions)
       can be re-ordered above and below the center interactive content (.scene-col-center) */
    .scene-col-left {
        display: contents;
    }

    .scene-info-block {
        order: 1;
        width: 100%;
        text-align: left;
    }

    .scene-title {
        font-size: clamp(22px, 5.5vw, 30px);
        line-height: 1.15;
        margin-bottom: 12px;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .scene-desc {
        font-size: clamp(13px, 3.4vw, 15px);
        line-height: 1.55;
        margin-bottom: 16px;
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .dial-hud {
        padding: 12px 14px;
        margin-bottom: 14px;
        border-radius: 14px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hud-active-promo {
        font-size: clamp(17px, 4.2vw, 20px);
    }

    .hud-memory-flash {
        font-size: clamp(11px, 3vw, 12.5px);
        line-height: 1.4;
        overflow-wrap: break-word;
    }

    .scene-col-center {
        order: 2;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .scene-step-actions {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 14px;
        display: flex;
        gap: 12px;
        align-items: center;
        justify-content: stretch;
    }

    .scene-step-actions .recon-secondary-btn {
        flex: 0 0 auto;
        min-width: 90px;
        padding: 12px 16px;
        font-size: 13px;
        text-align: center;
        justify-content: center;
    }

    .scene-step-actions .recon-cta-btn {
        flex: 1;
        padding: 13px 20px;
        font-size: 14px;
        justify-content: center;
    }

    .scene-col-right {
        order: 4;
        display: none !important;
    }

    /* Scene 01 Generation Dial Mobile */
    .gen-dial-container {
        min-height: 240px;
        padding: 18px 10px 14px;
        border-radius: 20px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        overflow: hidden;
    }

    .gen-dial-backdrop {
        width: min(240px, 75vw);
        height: min(240px, 75vw);
    }

    .gen-dial-focus-ring {
        width: min(180px, 60vw);
        height: min(180px, 60vw);
    }

    .gen-dial-display-row {
        gap: clamp(6px, 2.5vw, 16px);
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .gen-dial-display {
        font-size: clamp(40px, 12vw, 76px);
        line-height: 1;
        white-space: nowrap;
        font-variant-numeric: tabular-nums;
    }

    .quick-arrow {
        width: 38px;
        height: 38px;
        font-size: 14px;
        flex-shrink: 0;
    }
    .quick-arrow svg {
        width: 15px;
        height: 15px;
    }

    .gen-dial-ribbon-viewport {
        height: 60px;
        margin-top: 10px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 14%, black 86%, transparent 100%);
    }

    .gen-dial-tick {
        flex: 0 0 64px;
        width: 64px;
        font-size: 13px;
    }

    .dial-touch-hint {
        margin-top: 10px;
        font-size: 11px;
        max-width: 100%;
        line-height: 1.4;
        text-align: center;
        padding: 0 4px;
    }

    /* Scene 02 Mobile Layout Tightening */
    .scene-02 .scene-info-block {
        margin-bottom: 6px;
    }
    .scene-02 .scene-info-block .scene-title {
        margin-bottom: 8px;
    }
    .scene-02 .scene-info-block .scene-desc {
        margin-bottom: 12px;
        font-size: 13.5px;
    }
    .scene-02 .recon-shield-notice {
        padding: 10px 14px;
        margin-bottom: 12px;
        font-size: 12px;
    }
    .scene-02 .editorial-field-group {
        scroll-margin-top: calc(var(--nav-height, 60px) + 16px);
    }

    /* Scene 02 Identity Form Mobile */
    .identity-assembly-form {
        gap: 18px;
    }

    .field-label-row {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 8px;
    }

    .doc-type-toggle {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .doc-radio {
        padding: 6px 12px;
        font-size: 11px;
        min-height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dni-editorial-input {
        font-size: clamp(20px, 5.5vw, 28px);
        letter-spacing: 4px;
        padding: 12px 14px;
    }

    .input-char-indicator {
        font-size: 10px;
        right: 12px;
    }

    .names-row-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .editorial-input,
    .editorial-select {
        font-size: 16px !important; /* Critical: prevents iOS viewport auto-zoom */
        padding: 12px 14px;
        border-radius: 12px;
        min-height: 48px;
    }

    .recon-shield-notice {
        padding: 12px 14px;
        font-size: 12px;
        border-radius: 14px;
    }

    /* Scene 03 Worldline Mobile */
    .worldline-assembly {
        gap: 18px;
    }

    .worldline-vector-display {
        padding: 18px 14px;
        border-radius: 18px;
    }

    .worldline-vector-line {
        margin: 12px 0;
    }

    .node-city {
        font-size: clamp(15px, 4vw, 20px);
    }

    .city-quick-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        margin-bottom: 8px;
    }

    .city-quick-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .city-pill {
        padding: 6px 12px;
        font-size: 12px;
        min-height: 36px;
    }

    /* Scene 04 Interests & Contact Mobile */
    .interest-orbit-canvas-wrap {
        height: auto;
        min-height: auto;
        padding: 10px 0;
    }

    .orbit-svg-lines {
        display: none;
    }

    .orbit-nodes-grid {
        position: static;
        inset: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        width: 100%;
    }

    .orbit-node {
        position: static !important;
        transform: none !important;
        padding: 8px 14px;
        font-size: 12px;
        min-height: 40px;
    }

    .orbit-node:hover {
        transform: scale(1.03) !important;
    }

    .contact-fields-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .phone-input-wrap .country-prefix {
        font-size: 13px;
        padding: 0 10px;
    }

    .consent-checkbox-row {
        gap: 10px;
        font-size: 12px;
    }

    /* Scene 05 Pase de Alumno Mobile */
    .alumni-pass-object {
        padding: 20px 16px;
        border-radius: 22px;
        width: 100%;
        max-width: 100%;
    }

    .pass-holder-name {
        font-size: clamp(18px, 5.2vw, 24px);
    }

    .pass-info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px 14px;
    }

    .pass-actions-row {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .pass-actions-row button,
    .pass-actions-row a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .recon-nav {
        padding: 0 12px;
    }

    .recon-brand-symbol {
        width: 28px;
        height: 28px;
    }

    .recon-brand-text {
        font-size: 13px;
    }

    .signal-ring {
        display: none !important;
    }

    /* Scene 00 headline & paragraph */
    .scene-00-meta .meta-pill {
        font-size: 9.5px;
        letter-spacing: 1.2px;
        padding: 5px 12px;
        max-width: 100%;
        white-space: normal;
    }

    .scene-00-headline {
        font-size: clamp(26px, 8vw, 36px);
        line-height: 1.1;
    }

    .scene-00-sub {
        font-size: 13.5px;
        line-height: 1.5;
        max-width: 100%;
    }

    /* Scene headings and paragraphs */
    .scene-eyebrow {
        font-size: 9.5px;
        letter-spacing: 1.2px;
    }

    .scene-title {
        font-size: clamp(19px, 5.8vw, 24px);
        line-height: 1.18;
    }

    .scene-desc {
        font-size: 13px;
        line-height: 1.5;
        max-width: 100%;
    }

    .dial-hud {
        padding: 10px 12px;
    }

    .hud-active-promo {
        font-size: 17px;
    }

    .hud-memory-flash {
        font-size: 11.5px;
    }

    .gen-dial-container {
        min-height: 220px;
        padding: 14px 6px 12px;
        border-radius: 18px;
    }

    .gen-dial-display-row {
        gap: 6px;
    }

    .gen-dial-display {
        font-size: clamp(34px, 10.5vw, 54px);
        letter-spacing: -0.02em;
    }

    .quick-arrow {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }
    .quick-arrow svg {
        width: 13px;
        height: 13px;
    }

    .gen-dial-ribbon-viewport {
        height: 54px;
    }

    .gen-dial-tick {
        flex: 0 0 54px;
        width: 54px;
        font-size: 12px;
    }

    .dial-touch-hint {
        font-size: 10.5px;
        gap: 4px;
    }

    .recon-shield-notice {
        padding: 10px 12px;
        font-size: 11.5px;
    }

    .pass-info-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .scene-05-headline {
        font-size: clamp(22px, 6.5vw, 28px);
    }

    .scene-05-sub {
        font-size: 13px;
    }
}

/* --------------------------------------------------------------------------
   PREFERS-REDUCED-MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .recon-thread-path { animation: none !important; }
    .gen-dial-focus-ring { animation: none !important; }
    .pass-hologram-shimmer { animation: none !important; }
    .track-pulse { animation: none !important; }
}