/* ════════════════════════════════════════
   Ventanilla Virtual - sistema de diseño
   Ventanilla Virtual · JCA Colombia
   Colores alineados con SM2 (login palette)
   ════════════════════════════════════════ */

:root {
    /* Core palette – alineada con SM2 */
    --vv2-bg:            #f6f7f8;
    --vv2-surface:       #ffffff;
    --vv2-surface-soft:  #eef5fc;
    --vv2-border:        #d2dce8;
    --vv2-text:          #1a2733;
    --vv2-text-soft:     #6b8096;

    /* Azules primarios – paleta login SM2 */
    --vv2-primary:       #20476e;
    --vv2-primary-dark:  #16344f;
    --vv2-primary-deep:  #0e2339;
    --vv2-primary-soft:  #eef5fc;

    /* Acento verde */
    --vv2-accent:        #2d6c4c;
    --vv2-accent-soft:   #dff0e7;

    /* Sombras y radios */
    --vv2-shadow:    0 24px 56px rgba(12, 30, 52, 0.10), 0 4px 12px rgba(12, 30, 52, 0.05);
    --vv2-shadow-sm: 0 8px 24px rgba(12, 30, 52, 0.07);
    --vv2-radius-xl: 1.35rem;
    --vv2-radius-lg: 1rem;
    --vv2-radius-md: 0.75rem;
}

.vv2-footer-links a {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.88rem;
}

.vv2-footer-links a:hover,
.vv2-footer-links a:focus {
    color: rgba(255, 255, 255, 0.9);
}

html,
body {
    min-height: 100%;
}

body.vv2-body {
    margin: 0;
    background-color: var(--vv2-bg);
    color: var(--vv2-text);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* ════════════════════════════════════════
   LAYOUT SHELL
   ════════════════════════════════════════ */

.vv2-shell {
    width: min(1280px, calc(100% - 2rem));
    margin: 0 auto;
}

.vv2-main {
    padding-top: 86px;
    padding-bottom: 0;
}

/* ════════════════════════════════════════
   NAVBAR
   ════════════════════════════════════════ */

.vv2-navbar {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--vv2-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.vv2-navbar-brand-logo {
    height: 60px;
    width: auto;
    display: block;
}

.vv2-navbar-seal-logo {
    height: 48px;
    width: auto;
    display: block;
}

.vv2-brand-logo {
    height: 56px;
    width: auto;
}

.vv2-brand-logo-sm {
    height: 44px;
    width: auto;
}

.vv2-navbar .nav-link {
    color: var(--vv2-text);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.vv2-navbar-actions {
    flex-wrap: nowrap;
}

.vv2-navbar-actions > * {
    flex-shrink: 0;
}

.vv2-navbar .nav-link:hover,
.vv2-navbar .nav-link:focus {
    color: var(--vv2-primary);
    background: var(--vv2-surface-soft);
}

.vv2-navbar .nav-link.active {
    color: var(--vv2-primary);
    background: var(--vv2-surface-soft);
}

/* Botón "Ingresar" en navbar */
.vv2-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--vv2-primary) 0%, var(--vv2-primary-dark) 100%);
    border: 1px solid var(--vv2-primary-dark);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}

.vv2-nav-btn:hover,
.vv2-nav-btn:focus {
    color: #ffffff !important;
    opacity: 0.88;
    transform: translateY(-1px);
}

/* ════════════════════════════════════════
   HERO BAND
   ════════════════════════════════════════ */

.vv2-hero {
    position: relative;
    padding: 3rem 0 2.5rem;
    overflow: hidden;
    color: #ffffff;
    background-image:
        linear-gradient(155deg, rgba(18, 44, 73, 0.82) 0%, rgba(13, 33, 56, 0.8) 55%, rgba(8, 20, 35, 0.8) 100%),
        url('/Imagenes/oficial/ce-bg-clean.jpg');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.vv2-hero > .container,
.vv2-hero > .container-fluid {
    position: relative;
    z-index: 2;
}

/* Para el shell dentro del hero */
.vv2-hero .vv2-shell {
    position: relative;
    z-index: 2;
}

.vv2-hero .row {
    min-height: 190px;
}

.vv2-hero-copy {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vv2-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #95c3e8;
    margin-bottom: 1rem;
}

.vv2-hero-title {
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1rem;
    color: #ffffff;
}

.vv2-hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 48rem;
    margin-bottom: 0;
    line-height: 1.65;
}

.vv2-hero-qr-canvas {
    width: fit-content;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

.vv2-hero-qr-canvas canvas,
.vv2-hero-qr-canvas svg {
    width: 120px !important;
    height: 120px !important;
    border-radius: 1rem;
    background: #ffffff;
    padding: 0.35rem;
}

/* ════════════════════════════════════════
   BOTONES
   ════════════════════════════════════════ */

.vv2-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.95rem;
    background: linear-gradient(135deg, #2d6c4c 0%, #1f4f38 100%);
    border: 1px solid #2d6c4c;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    box-shadow: none;
}

.vv2-btn-primary:hover,
.vv2-btn-primary:focus {
    color: #ffffff;
    background: linear-gradient(135deg, #245a40 0%, #173a2a 100%);
    border-color: #173a2a;
    transform: translateY(-1px);
}

.vv2-btn-primary i {
    color: currentColor;
}

.vv2-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.38);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.vv2-btn-outline:hover,
.vv2-btn-outline:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.20);
    border-color: rgba(255, 255, 255, 0.58);
}

.vv2-btn-outline-lg {
    min-height: 3.35rem;
    padding: 0.95rem 1.7rem;
    border-radius: 1.2rem;
    font-size: 1rem;
}

.vv2-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.8rem 1.35rem;
    border-radius: 1.15rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
    box-shadow: none;
}

.vv2-btn-secondary:hover,
.vv2-btn-secondary:focus {
    color: #1e293b;
    border-color: #94a3b8;
    background: #f8fafc;
    transform: translateY(-1px);
}

.vv2-btn-secondary-sm {
    min-height: 2.7rem;
    padding: 0.72rem 1.15rem;
    border-radius: 1rem;
    font-size: 0.9rem;
}

/* ════════════════════════════════════════
   SECCIONES
   ════════════════════════════════════════ */

.vv2-section {
    padding: 2.5rem 0;
    background: var(--vv2-surface);
}

.vv2-feedback-modal .modal-content {
    border: 0;
    border-radius: 1.25rem;
    box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, 0.22);
}

.vv2-feedback-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: #eaf2f9;
    color: #20476e;
    font-size: 1.8rem;
}

.vv2-feedback-modal.is-error .vv2-feedback-modal__icon {
    background: #fcebec;
    color: #b42318;
}

.vv2-feedback-modal.is-success .vv2-feedback-modal__icon {
    background: #e8f5ed;
    color: #2d6c4c;
}

.vv2-feedback-modal.is-warning .vv2-feedback-modal__icon {
    background: #fff4dd;
    color: #a15c00;
}

.vv2-validation-code__controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.vv2-validation-code__display {
    display: inline-flex;
    gap: 0.4rem;
}

.vv2-validation-code__segment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.8rem;
    min-height: 2.7rem;
    padding: 0.35rem 0.55rem;
    border-radius: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.vv2-validation-code__segment--one {
    background: #cdebda;
    color: #0f172a;
}

.vv2-validation-code__segment--two {
    background: #1d4ed8;
    color: #ffffff;
}

.vv2-validation-code__segment--three {
    background: #0f766e;
    color: #ffffff;
}

.vv2-validation-code__input {
    width: min(100%, 13rem);
}

.vv2-choice-check {
    display: inline-flex;
    flex: 0 0 auto;
    margin-top: 0.15rem;
}

.vv2-choice-check input[type="checkbox"] {
    appearance: none;
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    border: 1px solid #94a3b8;
    border-radius: 0.3rem;
    background: #ffffff;
    cursor: pointer;
}

.vv2-choice-check input[type="checkbox"]:checked {
    border-color: #2d6c4c;
    background-color: #2d6c4c;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m3 8 3 3 7-7'/%3E%3C/svg%3E");
}

.vv2-choice-radio {
    display: inline-flex;
    flex: 0 0 auto;
    margin-top: 0.15rem;
}

.vv2-choice-radio input[type="radio"] {
    appearance: none;
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    border: 1px solid #94a3b8;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
}

.vv2-choice-radio input[type="radio"]:checked {
    border: 0.35rem solid #2d6c4c;
}

/* Opciones WebForms: evita el flotado y espaciado heredado de Bootstrap. */
.vv2-choice-option {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0;
    padding-left: 0;
}

.vv2-choice-option .form-check-label {
    margin: 0;
    line-height: 1.35;
}

.vv2-choice-option .vv2-choice-radio {
    display: inline-flex;
    flex: 0 0 auto;
    margin: 0;
}

.vv2-choice-option .vv2-choice-radio input[type="radio"] {
    float: none !important;
    margin-left: 0 !important;
}

/* Superficies y tablas comunes para los trámites de Ventanilla. */
.vv2-surface-card,
.vv2-consulta-card,
.vv2-copias-form-card,
.vv2-cita-form-card,
.vv2-cita-panel,
.vv2-ordinaria-card,
.vv2-tutela-card,
.vv2-sc-card {
    border: 1px solid #dbe5ef !important;
    border-radius: 1.25rem !important;
    background: #ffffff !important;
    box-shadow: 0 0.85rem 2.25rem rgba(15, 23, 42, 0.07) !important;
}

.vv2-surface-card--soft,
.vv2-consulta-loading-card,
.vv2-copias-panel-soft,
.vv2-cita-panel-soft,
.vv2-ordinaria-panel-soft,
.vv2-tutela-panel-soft,
.vv2-sc-panel-soft,
.vv2-sc-otp-box {
    border: 1px solid #dbe5ef !important;
    border-radius: 1rem !important;
    background: #f8fafc !important;
    box-shadow: none !important;
}

.vv2-request-confirmation {
    border: 1px solid #dbe5ef;
    border-radius: 1.25rem;
    background: #f8fafc;
    box-shadow: 0 0.85rem 2.25rem rgba(15, 23, 42, 0.05);
}

.vv2-request-confirmation__number,
.vv2-request-confirmation__note {
    border: 1px solid #dbe5ef;
    border-radius: 1rem;
    background: #ffffff;
    padding: 1rem 1.25rem;
}

.vv2-request-confirmation__note {
    color: #475569;
}

.vv2-data-table,
.vv2-main .table,
.vv2-copias-table .table,
.vv2-cita-table,
.vv2-memorial-table,
.vv2-ordinaria-table,
.vv2-tutela-table,
.vv2-sc-table,
.table.vv2-cita-table,
.table.vv2-ordinaria-table,
.table.vv2-tutela-table {
    --bs-table-bg: #ffffff;
    --bs-table-striped-bg: #f8fafc;
    --bs-table-hover-bg: #f1f5f9;
    margin-bottom: 0;
    border: 1px solid #dbe5ef;
    border-radius: 0.9rem;
    overflow: hidden;
}

.vv2-data-table > :not(caption) > * > *,
.vv2-main .table > :not(caption) > * > *,
.vv2-copias-table .table > :not(caption) > * > *,
.vv2-cita-table > :not(caption) > * > *,
.vv2-memorial-table > :not(caption) > * > *,
.vv2-ordinaria-table > :not(caption) > * > *,
.vv2-tutela-table > :not(caption) > * > *,
.vv2-sc-table > :not(caption) > * > * {
    padding: 0.85rem 1rem;
    border-color: #e2e8f0;
}

.vv2-data-table > thead > tr > th,
.vv2-main .table > thead > tr > th,
.vv2-copias-table .table > thead > tr > th,
.vv2-cita-table > thead > tr > th,
.vv2-memorial-table > thead > tr > th,
.vv2-ordinaria-table > thead > tr > th,
.vv2-tutela-table > thead > tr > th,
.vv2-sc-table > thead > tr > th {
    background: #f1f5f9 !important;
    color: #334155 !important;
    font-size: 0.76rem !important;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    white-space: nowrap;
}

.vv2-data-table > tbody > tr:last-child > *,
.vv2-main .table > tbody > tr:last-child > *,
.vv2-copias-table .table > tbody > tr:last-child > *,
.vv2-cita-table > tbody > tr:last-child > *,
.vv2-memorial-table > tbody > tr:last-child > *,
.vv2-ordinaria-table > tbody > tr:last-child > *,
.vv2-tutela-table > tbody > tr:last-child > *,
.vv2-sc-table > tbody > tr:last-child > * {
    border-bottom-width: 0;
}

@media (max-width: 575.98px) {
    .vv2-validation-code__controls {
        align-items: stretch;
    }

    .vv2-validation-code__display {
        width: 100%;
    }

    .vv2-validation-code__segment {
        flex: 1 1 0;
    }

    .vv2-validation-code__input {
        width: 100%;
    }
}

.vv2-section + .vv2-section {
    border-top: 1px solid var(--vv2-border);
}

.vv2-section-alt {
    background: var(--vv2-bg);
}

.vv2-links-section {
    background: var(--vv2-bg);
    border-top: 1px solid var(--vv2-border);
}

.vv2-section-head {
    margin-bottom: 2rem;
}

.vv2-section-kicker {
    display: inline-block;
    margin-bottom: 0.5rem;
    color: var(--vv2-accent);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vv2-section-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--vv2-text);
}

.vv2-section-text {
    max-width: 52rem;
    margin: 0.65rem 0 0;
    color: var(--vv2-text-soft);
    line-height: 1.65;
}

/* ════════════════════════════════════════
   PANELES
   ════════════════════════════════════════ */

.vv2-panel {
    padding: 1.5rem;
    border: 1px solid var(--vv2-border);
    border-radius: var(--vv2-radius-xl);
    background: var(--vv2-surface);
    box-shadow: var(--vv2-shadow-sm);
}

.vv2-panel-highlight {
    background:
        linear-gradient(135deg, rgba(32, 71, 110, 0.05) 0%, rgba(45, 108, 76, 0.07) 100%),
        var(--vv2-surface);
}

.vv2-panel-title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--vv2-text);
}

.vv2-panel-title-lg {
    font-size: clamp(1.6rem, 2.7vw, 2.2rem);
    line-height: 1.15;
}

.vv2-panel-text {
    margin: 0;
    color: var(--vv2-text-soft);
    line-height: 1.65;
}

.vv2-panel-text-lg {
    font-size: 1rem;
}

/* ════════════════════════════════════════
   CHIPS
   ════════════════════════════════════════ */

.vv2-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.vv2-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--vv2-border);
    border-radius: 999px;
    background: var(--vv2-surface-soft);
    color: var(--vv2-primary);
    font-weight: 600;
    font-size: 0.88rem;
}

/* ════════════════════════════════════════
   TARJETAS DE ACCIÓN
   ════════════════════════════════════════ */

.vv2-action-card {
    display: flex;
    gap: 1rem;
    align-items: center;
    height: 100%;
    padding: 0.75rem;
    border: 1px solid var(--vv2-border);
    border-radius: var(--vv2-radius-xl);
    background: var(--vv2-surface);
    box-shadow: var(--vv2-shadow-sm);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vv2-action-card:hover,
.vv2-action-card:focus {
    transform: translateY(-4px);
    border-color: #7ba8c8;
    box-shadow: 0 20px 40px rgba(12, 30, 52, 0.13);
    color: inherit;
}

.vv2-action-card-alt {
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

/* Alias para compatibilidad */
.vv2-action-card-soft {
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
}

.vv2-action-icon {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    padding: 0.2rem;
}

.vv2-action-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.vv2-action-content {
    min-width: 0;
    width: 100%;
    padding: 0.15rem 0.2rem 0.15rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vv2-action-eyebrow {
    display: inline-block;
    margin-bottom: 0.3rem;
    color: var(--vv2-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vv2-action-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--vv2-text);
    line-height: 1.3;
}

.vv2-action-text {
    margin: 0.45rem 0 0;
    color: var(--vv2-text-soft);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ════════════════════════════════════════
   PASOS INFORMATIVOS
   ════════════════════════════════════════ */

.vv2-info-step {
    height: 100%;
    padding: 1.1rem;
    border-radius: var(--vv2-radius-lg);
    background: var(--vv2-surface-soft);
    border: 1px solid var(--vv2-border);
}

.vv2-info-step-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 0.85rem;
    border-radius: 0.85rem;
    background: var(--vv2-surface);
    color: var(--vv2-accent);
    box-shadow: var(--vv2-shadow-sm);
    font-size: 1.1rem;
}

.vv2-info-step-title {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--vv2-text);
}

.vv2-info-step-text {
    margin: 0;
    color: var(--vv2-text-soft);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* GUIA CIUDADANA */
.vv2-guide-section {
    padding: 3rem 0;
    background:
        radial-gradient(circle at top left, rgba(45, 108, 76, 0.08), transparent 32%),
        linear-gradient(180deg, #f7fafc 0%, #eef4f8 100%);
    border-top: 1px solid rgba(32, 71, 110, 0.08);
    border-bottom: 1px solid rgba(32, 71, 110, 0.08);
}

.vv2-guide-wrap {
    position: relative;
}

.vv2-guide-intro {
    height: 100%;
    padding: 2rem;
    border-radius: 1.5rem;
    background: linear-gradient(155deg, #20476e 0%, #163558 55%, #0e2339 100%);
    box-shadow: 0 24px 56px rgba(10, 25, 45, 0.22), 0 4px 14px rgba(10, 25, 45, 0.12);
    color: #ffffff;
}

.vv2-guide-kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.82rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vv2-guide-title {
    margin: 1.1rem 0 0;
    font-size: clamp(1.8rem, 2.7vw, 2.5rem);
    font-weight: 800;
    line-height: 1.12;
    color: #ffffff;
}

.vv2-guide-copy {
    margin: 1rem 0 0;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.vv2-guide-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
}

.vv2-guide-note i {
    margin-top: 0.15rem;
    color: #b7d4ef;
    flex-shrink: 0;
}

.vv2-guide-intro .vv2-text-link {
    margin-top: 1.35rem;
    color: #ffffff;
}

.vv2-guide-intro .vv2-text-link:hover,
.vv2-guide-intro .vv2-text-link:focus {
    color: #d5e8f9;
}

.vv2-guide-steps {
    display: grid;
    gap: 1rem;
    height: 100%;
}

.vv2-guide-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.25rem 1.35rem;
    border-radius: 1.3rem;
    border: 1px solid rgba(32, 71, 110, 0.12);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 34px rgba(12, 30, 52, 0.08);
}

.vv2-guide-step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    height: 3rem;
    border-radius: 0.95rem;
    background: linear-gradient(135deg, rgba(32, 71, 110, 0.12) 0%, rgba(32, 71, 110, 0.22) 100%);
    color: var(--vv2-primary);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.vv2-guide-step-content {
    min-width: 0;
}

.vv2-guide-step-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--vv2-text);
}

.vv2-guide-step-text {
    margin: 0.45rem 0 0;
    color: var(--vv2-text-soft);
    font-size: 0.94rem;
    line-height: 1.6;
}

/* ════════════════════════════════════════
   LISTA DE ENLACES (CARTELERA)
   ════════════════════════════════════════ */

.vv2-link-list {
    display: grid;
    gap: 0.65rem;
}

.vv2-link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--vv2-border);
    border-radius: var(--vv2-radius-md);
    background: var(--vv2-surface);
    color: var(--vv2-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.vv2-link-item:hover,
.vv2-link-item:focus {
    border-color: #7ba8c8;
    background: var(--vv2-surface-soft);
    color: var(--vv2-primary);
}

.vv2-link-item i {
    color: var(--vv2-accent);
    width: 1.1rem;
    text-align: center;
    flex-shrink: 0;
}

/* ════════════════════════════════════════
   ENLACE DE TEXTO
   ════════════════════════════════════════ */

.vv2-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.85rem;
    color: var(--vv2-primary);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
}

.vv2-text-link:hover,
.vv2-text-link:focus {
    color: var(--vv2-accent);
}

.vv2-resource-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    border-radius: 1.4rem;
    background: linear-gradient(180deg, #ffffff 0%, #eef5fc 100%);
    border: 1px solid rgba(32, 71, 110, 0.12);
    box-shadow: 0 16px 34px rgba(12, 30, 52, 0.08);
}

.vv2-resource-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

/* ════════════════════════════════════════
   LISTA GENERAL
   ════════════════════════════════════════ */

.vv2-list {
    padding-left: 1.1rem;
    margin-bottom: 0;
    color: var(--vv2-text-soft);
}

.vv2-list li + li {
    margin-top: 0.45rem;
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */

/* Imagen Palacio de Justicia */
.vv2-footer-hero {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.vv2-footer-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.vv2-footer-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

.vv2-footer-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transform: translateY(0.2rem);
}

.vv2-footer-hero-title {
    color: #ffffff;
    font-size: clamp(1.3rem, 2.2vw, 1.85rem);
    font-weight: 700;
    margin: 0;
}

.vv2-footer-hero-text {
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
    font-size: 0.95rem;
}

/* Cuerpo del footer */
.vv2-footer-body {
    padding: 2.5rem 0 1.5rem;
    background: #0d1720;
    color: rgba(255, 255, 255, 0.75);
}

.vv2-footer-col-title {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.vv2-footer-text {
    line-height: 1.7;
    font-size: 0.88rem;
    margin: 0;
}

.vv2-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
    font-size: 0.88rem;
    line-height: 1.55;
}

.vv2-footer-contact-item i {
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.18rem;
    flex-shrink: 0;
    width: 1rem;
    text-align: center;
}

.vv2-footer-contact-item a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.vv2-footer-contact-item a:hover {
    color: #ffffff;
}

.vv2-footer-quick-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 0.6rem;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    margin-bottom: 0.5rem;
}

.vv2-footer-quick-btn:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(255, 255, 255, 0.26);
    color: #ffffff;
}

.vv2-footer-quick-btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Barra de copyright */
.vv2-footer-bottom {
    padding: 1rem 0;
    background: #07101a;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.84rem;
}

.vv2-footer-bottom a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 0.15s ease;
}

.vv2-footer-bottom a:hover {
    color: #ffffff;
}

/* ════════════════════════════════════════
   COMPATIBILIDAD – clases heredadas
   ════════════════════════════════════════ */

/* vv2-hero-band: alias del hero legado (por si alguna página interna lo usa) */
.vv2-hero-band {
    padding: 2rem 0 2.5rem;
    background:
        linear-gradient(135deg, rgba(32, 71, 110, 0.95) 0%, rgba(22, 52, 79, 0.94) 100%);
    color: #ffffff;
}

.vv2-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vv2-title {
    margin-top: 1rem;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
}

.vv2-subtitle {
    max-width: 52rem;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1rem;
}

.vv2-status-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--vv2-radius-xl);
    box-shadow: var(--vv2-shadow);
    color: var(--vv2-text);
    padding: 1.25rem;
}

.vv2-status-label {
    color: var(--vv2-text-soft);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vv2-status-value {
    margin-top: 0.35rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.vv2-status-text {
    margin-top: 0.5rem;
    color: var(--vv2-text-soft);
}

.vv2-consent-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: var(--vv2-shadow-sm);
    overflow: hidden;
}

.vv2-consent-copy {
    padding: 2rem;
}

.vv2-consent-head {
    margin-bottom: 1.5rem;
}

.vv2-consent-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(31, 79, 127, 0.1);
    color: #1f4f7f;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vv2-consent-title {
    margin: 1rem 0 0.75rem;
    color: var(--vv2-text);
    font-size: clamp(1.65rem, 2vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
}

.vv2-consent-lead {
    max-width: 58rem;
    margin: 0;
    color: var(--vv2-text-soft);
    font-size: 1rem;
    line-height: 1.75;
}

.vv2-consent-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vv2-consent-summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-height: 100%;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(31, 79, 127, 0.12);
    border-radius: 1rem;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8fc 100%);
}

.vv2-consent-summary-item strong {
    color: #16324f;
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vv2-consent-summary-item span {
    color: var(--vv2-text-soft);
    line-height: 1.65;
}

.vv2-consent-body {
    padding: 1.5rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.25rem;
    background: #fff;
}

.vv2-consent-heading-wrap {
    margin-bottom: 1rem;
}

.vv2-consent-heading {
    margin: 0 0 0.45rem;
    color: #16324f;
    font-size: 1.2rem;
    font-weight: 800;
}

.vv2-consent-heading-text {
    margin: 0;
    color: #64748b;
    line-height: 1.65;
}

.vv2-consent-text {
    color: var(--vv2-text-soft);
    line-height: 1.82;
}

.vv2-consent-text p:last-child {
    margin-bottom: 0;
}

.vv2-consent-actions {
    margin-top: 1.25rem;
}

.vv2-consent-link {
    color: #1f4f7f;
    font-weight: 700;
    text-decoration: none;
}

.vv2-consent-link:hover,
.vv2-consent-link:focus {
    color: #16395b;
    text-decoration: underline;
}

.vv2-consent-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(45, 108, 76, 0.16);
    border-radius: 1rem;
    background: linear-gradient(180deg, #fcfffd 0%, #f3faf6 100%);
}

.vv2-consent-check input[type="checkbox"] {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    accent-color: #2d6c4c;
}

.vv2-consent-check label {
    color: #16324f;
    font-weight: 700;
    line-height: 1.55;
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */

@media (max-width: 991.98px) {
    .vv2-navbar .nav-link {
        border-radius: 0.85rem;
    }

    .vv2-hero {
        padding: 3rem 0 2.5rem;
    }

    .vv2-hero .row,
    .vv2-hero-copy {
        min-height: 0;
    }

    .vv2-hero-qr-canvas {
        margin: 1rem auto 0;
    }
}

@media (max-width: 767.98px) {
    .vv2-navbar-brand-logo {
        height: 52px;
    }

    .vv2-navbar-seal-logo {
        height: 40px;
    }

    .vv2-navbar-actions {
        gap: 0.5rem !important;
    }

    .vv2-navbar .nav-link {
        padding: 0.45rem 0.7rem;
        font-size: 0.9rem;
    }

    .vv2-navbar .nav-link i {
        font-size: 0.9rem;
    }

    .vv2-shell {
        width: calc(100% - 1.25rem);
    }

    .vv2-panel {
        padding: 1.1rem;
        border-radius: 1.1rem;
    }

    .vv2-action-card {
        padding: 0.75rem;
        border-radius: 1.1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
    }

    .vv2-action-icon {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
    }

    .vv2-action-icon img {
        width: 48px;
        height: 48px;
    }

    .vv2-action-content {
        width: 100%;
        padding: 0 0.1rem 0.1rem;
    }

    .vv2-resource-icon {
        width: 78px;
        height: 78px;
        border-radius: 1.2rem;
    }

    .vv2-resource-icon img {
        width: 48px;
        height: 48px;
    }

    .vv2-footer-body {
        padding: 1.75rem 0 1.25rem;
    }

    .vv2-footer-hero {
        height: 160px;
    }

    .vv2-hero-title {
        font-size: clamp(1.75rem, 5vw, 2.4rem);
    }

    .vv2-guide-intro {
        padding: 1.4rem;
        border-radius: 1.2rem;
    }

    .vv2-guide-step {
        grid-template-columns: auto 1fr;
        padding: 1.1rem;
    }

    .vv2-guide-step-badge {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .vv2-consent-copy {
        padding: 1.25rem;
    }

    .vv2-consent-summary {
        grid-template-columns: 1fr;
    }

    .vv2-consent-body {
        padding: 1.1rem;
    }
}
