        html, body {
            max-width: 100%;
            overflow-x: hidden;
        }
        
        .contenedor-principal {
            max-width: 65%;
            margin: auto;
            padding: 100px;
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
        .titulo-central {
            text-transform: uppercase;
            color: #3A63A1;
            margin-bottom: 10px;
            font-weight: bold;
        }
        .descripcion-tramite {
            text-transform: uppercase;
            margin-top: 20px;
            margin-bottom: 30px;
            font-size: 30px;
            color: #3e71be;
            font-weight: 500;
        }
        .opciones-tramite {
            display: flex;
            gap: 20px;
            justify-content: space-between;
            flex-wrap: wrap;
        }

        .opcion {
            flex: 1 1 calc(33.33% - 20px);
            background: #ffffff;
            padding: 20px 25px;
            text-align: left;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            position: relative;
            min-width: 260px;
            max-width: 100%;
            text-decoration: none;
            color: inherit;
        }

        .opcion:hover {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }

        .opcion h4 {
            text-transform: uppercase;
            margin: 0 0 10px 0;
            font-size: 18px;
            font-weight: bold;
            color: #003366;
            text-align: center;
        }

        .opcion p {
            font-size: 15px;
            color: #333;
            margin: 0;
        }

        /* Borde inferior azul como en la imagen */
        .opcion::after {
            content: "";
            display: block;
            height: 3px;
            background-color: #0d6efd;
            width: 100%;
            position: absolute;
            bottom: 0;
            left: 0;
            border-bottom-left-radius: 6px;
            border-bottom-right-radius: 6px;
        }
        .opcion:hover {
            background: #0d6efd;
            color: #ffffff;
        }
        .formulario-simple label {
            font-weight: bold;
        }
        .formulario-simple input,
        .formulario-simple select {
            width: 100%;
            padding: 10px;
            margin-top: 5px;
            margin-bottom: 20px;
            border-radius: 4px;
            border: 1px solid #ccc;
        }
        .formulario-simple button {
            padding: 10px 20px;
            background: #0d6efd;
            color: white;
            border: none;
            border-radius: 4px;
        }
        .stepper {
            display: flex;
            justify-content: space-between;
            margin-bottom: 30px;
            counter-reset: step;
        }
        .stepper .step {
            text-align: center;
            position: relative;
            flex: 1;
        }
        .stepper .step:before {
            counter-increment: step;
            content: counter(step);
            width: 30px;
            height: 30px;
            line-height: 30px;
            border: 2px solid #0d6efd;
            display: inline-block;
            border-radius: 50%;
            background-color: white;
            color: #0d6efd;
            font-weight: bold;
        }
        .stepper .step.active:before {
            background-color: #0d6efd;
            color: white;
        }
        .stepper .step:not(:last-child)::after {
            content: "";
            position: absolute;
            top: 15px;
            right: -50%;
            width: 100%;
            height: 2px;
            background-color: #dee2e6;
            z-index: -1;
        }
        .stepper .step.active ~ .step:before {
            border-color: #dee2e6;
            color: #dee2e6;
        }
        .stepper .step.active ~ .step::after {
            background-color: #dee2e6;
        }
        .stepper .label {
            display: block;
            margin-top: 8px;
            font-size: 0.85rem;
        }

        /* === ESTILO ESPECIAL PARA <button class="opcion"> === */
        button.opcion {
            text-transform: uppercase;
            all: unset;
            display: block;
            cursor: pointer;
            background: #ffffff;
            padding: 20px 25px;
            text-align: center;
            border: 1px solid #e0e0e0;
            border-radius: 6px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
            transition: all 0.3s ease;
            position: relative;
            min-width: 260px;
            max-width: 100%;
            text-decoration: none;
            color: inherit;
        }

        button.opcion h4 {
            margin: 0 0 10px 0;
            font-size: 18px;
            font-weight: bold;
            color: #003366;
        }

        button.opcion p {
            font-size: 14px;
            color: #333;
            margin: 0;
        }

        button.opcion::after {
            content: "";
            display: block;
            height: 3px;
            background-color: #0d6efd;
            width: 100%;
            position: absolute;
            bottom: 0;
            left: 0;
            border-bottom-left-radius: 6px;
            border-bottom-right-radius: 6px;
        }

        button.opcion:hover {
            background: #0d6efd;
            color: #ffffff;
        }

        button.opcion:hover h4,
        button.opcion:hover p {
            color: #ffffff;
        }

        .botones-navegacion {
            display: flex;
            justify-content: space-between;
            margin-top: 30px;
            gap: 20px;
            flex-wrap: wrap;
        }

        .btn-regresar,
        .btn-continuar {
            padding: 10px 20px;
            font-weight: bold;
            border-radius: 6px;
            border: none;
            text-decoration: none;
            text-align: center;
            min-width: 120px;
            transition: background 0.3s ease;
        }

        .btn-regresar {
            background-color: #3A63A1 !important;
            color: #ffffff;
        }

        .btn-regresar:hover {
            background-color: #c2c2c2;
            color: #000000;
        }

        .btn-continuar {
            background-color: #084298!important;
            color: white !important;
        }

        .btn-continuar:hover {
            background-color: #084298 !important;
        }

        .mensaje-ayuda {
            background-color: #fff3cd;
            color: #856404;
            border: 1px solid #ffeeba;
            padding: 15px 20px;
            margin-bottom: 20px;
            border-radius: 6px;
            font-size: 14px;
        }

/* === SOLO RESPONSIVE PARA CELULARES Y TABLETS === */
@media (max-width: 992px) {
    .contenedor-principal {
        max-width: 90%;
        padding: 30px 15px;
    }

    .opciones-tramite {
        flex-direction: column;
        gap: 15px;
    }

    .opcion,
    button.opcion {
        flex: 1 1 100%;
        min-width: auto;
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }

    .stepper {
        flex-wrap: wrap;
        gap: 10px;
    }

    .stepper .step {
        flex: 1 1 45%;
        min-width: 120px;
    }

    .stepper .step::after {
        right: -25%;
    }

    .botones-navegacion {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .btn-regresar,
    .btn-continuar {
        width: 100%;
    }

        .botones-navegacion {
        flex-direction: column;
        gap: 15px;
    }

    .btn-regresar {
        order: 2; /* Aparece después */
        width: 100%;
    }

    .btn-continuar {
        order: 1; /* Aparece primero */
        width: 100%;
    }

    
}




