{"id":1844,"date":"2024-09-30T10:44:03","date_gmt":"2024-09-30T08:44:03","guid":{"rendered":"https:\/\/ablawyers.ooptimo.dev\/?page_id=1844"},"modified":"2026-01-07T19:07:21","modified_gmt":"2026-01-07T18:07:21","slug":"simuladores","status":"publish","type":"page","link":"https:\/\/ablawyers.es\/en\/simuladores\/","title":{"rendered":"Simulators"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"1844\" class=\"elementor elementor-1844 elementor-643\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"has_ae_slider elementor-element elementor-element-c0fdc77 e-flex e-con-boxed ae-bg-gallery-type-default e-con e-parent\" data-id=\"c0fdc77\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-343cda1 elementor-widget elementor-widget-heading\" data-id=\"343cda1\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">MEET OUR SIMULATORS <\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ded6d30 elementor-widget elementor-widget-menu-anchor\" data-id=\"ded6d30\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"FormuCV\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"has_ae_slider elementor-element elementor-element-5c3164f e-flex e-con-boxed ae-bg-gallery-type-default e-con e-parent\" data-id=\"5c3164f\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"has_ae_slider elementor-element elementor-element-15c0697 e-con-full e-flex ae-bg-gallery-type-default e-con e-child\" data-id=\"15c0697\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-8ba2970 elementor-widget elementor-widget-heading\" data-id=\"8ba2970\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">PURCHASE AND SALE<br>\nSIMULATOR<br><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-276d45e elementor-widget elementor-widget-text-editor\" data-id=\"276d45e\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Consider all the possible expenses involved in the purchase of a real estate property.<\/p><p>Select the location of the property, the type of house and the purchase price.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"has_ae_slider elementor-element elementor-element-265ecdf e-flex e-con-boxed ae-bg-gallery-type-default e-con e-parent\" data-id=\"265ecdf\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"has_ae_slider elementor-element elementor-element-7c8f88d e-con-full e-flex ae-bg-gallery-type-default e-con e-child\" data-id=\"7c8f88d\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5aaeb25 elementor-widget elementor-widget-html\" data-id=\"5aaeb25\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<style>\n\n    #compraventaForm {\n        display: flex;\n        max-width: 1500px;\n        width: 100%;\n        margin: auto;\n        font-family: \"Lato\", Sans-serif;\n    }\n\n    .columna-cp1 {\n        display: flex;\n        justify-content: space-between;\n        flex-direction: column;\n        background-color: #eee9e3;\n        padding: 3em 5em 3em 2em;\n        width: 50%;\n    }\n    \n    .columna-cp2 {\n        display: flex;\n        justify-content: space-between;\n        flex-direction: column;\n        color: #293754;\n        background-color: #e6dcd0;\n        padding: 3em 10em 3em 5em;\n        width: 50%;\n    }\n\n    \/* --------------------------------------- *\/\n\/* \ud83d\udcf1 MEDIA QUERY PARA M\u00d3VILES *\/\n\/* --------------------------------------- *\/\n@media (max-width: 768px) {\n    #compraventaForm {\n        flex-direction: column;\n    }\n\n    .columna-cp1,\n    .columna-cp2 {\n        width: 100%;\n        padding: 2em; \/* M\u00e1s c\u00f3modo en m\u00f3vil *\/\n    }\n    \n    .columna-cp1 button\n    {\n        margin-top: 1em; \/* M\u00e1s c\u00f3modo en m\u00f3vil *\/\n    }\n\n    .columna-cp2 {\n        padding: 2em; \/* Reducimos padding grande del escritorio *\/\n    }\n}\n\n\/* \ud83d\udcf1 M\u00f3viles peque\u00f1os (opcional) *\/\n@media (max-width: 480px) {\n    .columna-cp1,\n    .columna-cp2 {\n        padding: 1.5em;\n    }\n}\n    .formulario-compraventa {\n        display: flex;\n        flex-direction: column;\n        justify-content: space-between;\n        gap: 1em;\n    }\n    \n    .tipoVivienda {\n        display: flex;\n        flex-direction: column;\n    }\n\n    .formulario input[type=\"radio\"],\n    .formulario input[type=\"number\"] {\n        margin-right: 10px;\n    }\n\n    .precio-desglose {\n        display: flex;\n        flex-direction: column;\n        gap: 10px;\n    }\n\n    .precio-desglose p {\n        display: flex;\n        justify-content: space-between;\n        margin: 5px 0;\n    }\n\n    .precio-desglose span {\n        font-weight: bold;\n    }\n\n    .info-simulador p {\n        font-size: 12px;\n    }\n    \n     #hipoteca {\n        margin-top: 15px;\n    }\n    \n    #datoshipotecaDiv {\n       margin-bottom: 15px; \n    }\n    \n    \/* Estilos para el slider y el valor *\/\n    .slider-container {\n        display: flex;\n        flex-direction: column;\n    }\n    \n    .slider-precio-propiedad {\n        display: flex;\n    }\n\n    .slider-container label {\n        flex: 1;\n    }\n\n    .slider-container input[type=\"range\"] {\n        flex: 3;\n        -webkit-appearance: none;\n        width: 100%;\n        height: 8px;\n        background: #ddd;\n        border-radius: 5px;\n        outline: none;\n        opacity: 0.9;\n        transition: opacity 0.2s;\n    }\n\n    .slider-container input[type=\"range\"]::-webkit-slider-thumb {\n        -webkit-appearance: none;\n        appearance: none;\n        width: 20px;\n        height: 20px;\n        background: #A87A3D;\n        cursor: pointer;\n        border-radius: 50%;\n    }\n\n    .slider-container input[type=\"range\"]::-moz-range-thumb {\n        width: 20px;\n        height: 20px;\n        background: #A87A3D;\n        cursor: pointer;\n        border-radius: 50%;\n    }\n\n    .slider-container .slider-value {\n        flex: 1;\n        text-align: right;\n        font-weight: bold;\n        font-size: 16px;\n        margin-left: 10px;\n    }\n\n\n    .button-simuladores {\n        background-color: #A87A3D;\n        color: white;\n        padding: 10px 20px;\n        border: 1px solid #A87A3D;\n        cursor: pointer;\n        border-radius: 25px;\n        text-transform: uppercase;\n        width: 100%;\n        max-width: 200px;\n    }\n\n    .button-simuladores:hover {\n        background-color: #fff;\n        color: #A87A3D;\n    }\n    \n    .tipoViviendaLabel, .label-precio-propiedad {\n        font-weight: 700;\n    }\n    .label-precio-propiedad {\n        margin-bottom: 15px;\n    }\n\n    .button-simuladores:hover {\n        background-color: #fff;\n        color: #A87A3D;\n    }\n    \n    \/* Estilos para el formulario de contacto *\/\n    #formularioContacto {\n        display: none;\n        margin-top: 2em;\n        padding: 2em;\n        background-color: #f5f5f5;\n        border-radius: 8px;\n        width: 100%;\n        max-width: 1500px;\n        margin: 20px auto;\n    }\n\n    #formularioContacto .form-group {\n        margin-bottom: 1em;\n    }\n\n    #formularioContacto input {\n        width: 100%;\n        padding: 8px;\n        margin-top: 5px;\n        border: 1px solid #ddd;\n        border-radius: 4px;\n    }\n\n    #formularioContacto label {\n        font-weight: bold;\n        color: #293754;\n    }\n    \n    .tipoViviendaLabel, .label-precio-propiedad {\n        font-weight: 700;\n    }\n    .total-simulador {\n        margin-bottom: 20px !important;\n    }\n    .precio-total h3{\n        text-transform: uppercase;\n        margin: 10px 0px;\n        font-weight: 900\n    }\n    hr{\n        border: 1px solid #A87A3D;\n        margin: 20px 0px 10px 0 !important;\n    }\n<\/style>\n\n<form id=\"compraventaForm\">\n    <div class=\"columna-cp1\">\n        <div class=\"formulario-compraventa\">\n            <div class=\"tipoVivienda\">\n                <label class=\"tipoViviendaLabel\" for=\"precioPropiedad\">Property Type<\/label>\n                <label><input type=\"radio\" name=\"tipoVivienda\" value=\"nueva\"> New Property<\/label>\n                <label><input type=\"radio\" name=\"tipoVivienda\" value=\"usada\"> Pre-owned Property<\/label>\n            <\/div>\n            <div class=\"slider-container\">\n                <div class=\"label-precio-propiedad\">\n                    <label for=\"precioPropiedad\">Property Price<\/label>\n                <\/div>\n                \n                 <div class=\"slider-precio-propiedad\">\n                    <input type=\"number\" id=\"precioPropiedad\" min=\"150000\" max=\"5000000\" step=\"10000\" value=\"150000\" oninput=\"updatePriceValue(this.value)\">\n                    <span class=\"slider-value\" id=\"precioPropiedadValue2\"> \u20ac<\/span>\n                <\/div>\n            <\/div>\n            <div class=\"tipoVivienda\">\n                \n                <label><input type=\"checkbox\" id=\"hipoteca\" value=\"Si\"> Mortgage<\/label>\n                \n                \n            <\/div>\n            <div id=\"datoshipotecaDiv\" style=\"display:none;\">\n                <div class=\"slider-container\">    \n                    <label>Down payment <\/label>\n                    <div class=\"slider-precio-propiedad\">\n                        <input type=\"number\" id=\"ahorroAportado\" min=\"1000\" max=\"5000000\" step=\"1000\" value=\"0\" oninput=\"updatePriceValue(this.value)\">\n                        <span class=\"slider-value\" id=\"precioPropiedadValue2\"> \u20ac<\/span>\n                    <\/div>\n                    \n                    <label>Annual interest rate (%):<\/label>\n                    <input type=\"number\" id=\"interes\" value=\"3\">\n                    <label>Loan term (months):<\/label>\n                    <input type=\"number\" id=\"meses\" value=\"12\">\n                <\/div>    \n            <\/div>\n        <\/div>\n        \n        <button type=\"button\" class=\"button-simuladores\" onclick=\"calculateCostsCompraventa()\">Calculate<\/button>\n    <\/div>\n    <div class=\"columna-cp2\">\n        <div class=\"precio-total\">\n            <h3>Estimate of expenses and taxes:<\/h3>\n        <\/div>\n        <div class=\"precio-desglose\" id=\"nueva\">\n            <p>VAT: <span id=\"iva\">0 \u20ac<\/span><\/p>\n            <p>Documented Legal Acts Tax:: <span id=\"ajd\">0 \u20ac<\/span><\/p>\n        <\/div>\n        <div class=\"precio-desglose\" id=\"usada\" style=\"display: none;\">\n            <p>ITP Tax: <span id=\"itp\">0 \u20ac<\/span><\/p>\n        <\/div>\n        <div class=\"precio-desglose\">\n            <p>Notary's office: <span id=\"notaria\">0 \u20ac<\/span><\/p>\n            <p>Registry: <span id=\"registro\">0 \u20ac<\/span><\/p>\n            <p>Procedural Expenses: <span id=\"gastosTramitacion\">0 \u20ac<\/span><\/p>\n            <p>Legal Fees: <span id=\"honorarios\">0 \u20ac<\/span><\/p>\n            <p>VAT on Legal Fees (21%): <span id=\"ivaHonorarios\">0 \u20ac<\/span><\/p>\n            <p>Other Expenses: <span id=\"otrosGastos\">0 \u20ac<\/span><\/p>\n            <hr>\n            <p class=\"total-simulador\">TOTAL: <span id=\"totalCostCompraventa\">0 \u20ac<\/span><\/p>\n            <div id=\"datosHipoteca\" style=\"display: none;\">\n                <div class=\"precio-total\">\n            <h3>Mortgage loan details:<\/h3>\n        <\/div>\n                <p >Property price: <span id=\"valorVivienda\">0 \u20ac<\/span><\/p>\n                <p >Expenses and taxes: <span id=\"impuestosyGastos\">0 \u20ac<\/span><\/p>\n                <p style=\"font-weight: bold\">Sum: <span id=\"suma1y2\">0 \u20ac<\/span><\/p>\n                <hr>\n                <p >Down payment amount: <span id=\"importeEntrega\">0 \u20ac<\/span><\/p>\n                <p >Mortgage amount: <span id=\"importeHipoteca\">0 \u20ac<\/span><\/p>\n                <p style=\"font-weight: bold\">Sum: <span id=\"suma2y3\">0 \u20ac<\/span><\/p>\n                <hr>\n                <p >Total interest paid: <span id=\"interesTotal\">0 \u20ac<\/span><\/p>\n                <p >Monthly mortgage payment: <span id=\"cuotaHipoteca\">0 \u20ac<\/span><\/p>\n               \n            <\/div>\n        <\/div>\n        <div class=\"info-simulador\">\n            <p>*The calculation result is indicative and non-binding, as complete information must be submitted for a final assessment.<\/p>\n        <\/div>\n    <\/div>\n<\/form>\n\n<!-- A\u00f1adir el nuevo formulario despu\u00e9s del formulario principal -->\n<form id=\"formularioContacto\">\n    <div class=\"form-group\">\n        <label for=\"nombre\">First Name:<\/label>\n        <input type=\"text\" id=\"nombre\" name=\"nombre\" required>\n    <\/div>\n    <div class=\"form-group\">\n        <label for=\"apellido\">Last Name:<\/label>\n        <input type=\"text\" id=\"apellido\" name=\"apellido\" required>\n    <\/div>\n    <div class=\"form-group\">\n        <label for=\"email\">Email:<\/label>\n        <input type=\"email\" id=\"email\" name=\"email\" required>\n    <\/div>\n    <button type=\"submit\" class=\"button-simuladores\">Send Results<\/button>\n    <div id=\"mensajeRespuesta\"><\/div>\n<\/form>\n\n<script>\n\ndocument.getElementById('hipoteca').addEventListener('change', function () {\n        const hipotecaDiv = document.getElementById('datoshipotecaDiv');\n        const datosHipoteca = document.getElementById('datosHipoteca');\n        if (this.checked) {\n            hipotecaDiv.style.display = 'block';\n        } else {\n            hipotecaDiv.style.display = 'none';\n            datosHipoteca.style.display = 'none';\n        }\n    });\n\nfunction calcularHipoteca(totalCostCompraventa) {\n    \n    let valorVivienda = parseFloat(document.getElementById(\"precioPropiedad\").value);\n    let entrada = parseFloat(document.getElementById(\"ahorroAportado\").value);\n    \/\/let principal = valorVivienda + totalCostCompraventa - entrada;\n    \n    let interesAnual = parseFloat(document.getElementById(\"interes\").value) \/ 100;\n    let meses = parseInt(document.getElementById(\"meses\").value);\n\n    let interesMensual = interesAnual \/ 12;\n    let numeroPagos = meses;\n    \n\n   \n   \n\n    \n    \n    let suma1y2 = valorVivienda + totalCostCompraventa;\n    let principal = suma1y2 - entrada;\n    \n    \n     \/\/ F\u00f3rmula de cuota hipotecaria:\n    \/\/ cuota = P * r \/ (1 - (1+r)^-n)\n     let cuota = principal * interesMensual \/ (1 - Math.pow(1 + interesMensual, -numeroPagos));\n    cuota = Math.ceil(cuota );\n    \n    let totalPagado = cuota * numeroPagos;\n    totalPagado = Math.ceil(totalPagado );\n    let interesTotal = totalPagado - principal;\n    interesTotal = Math.ceil(interesTotal );\n    \n    \n    \/\/mostramos las cantidades en el simulador\n     document.getElementById(\"valorVivienda\").textContent = `${formatNumber(valorVivienda)} \u20ac`;\n    document.getElementById(\"impuestosyGastos\").textContent = `${formatNumber(totalCostCompraventa)} \u20ac`;\n    document.getElementById(\"suma1y2\").textContent = `${formatNumber(suma1y2)} \u20ac`;\n    \n    document.getElementById(\"importeEntrega\").textContent = `${formatNumber(entrada)} \u20ac`;\n    document.getElementById(\"importeHipoteca\").textContent = `${formatNumber(principal)} \u20ac`;\n    document.getElementById(\"suma2y3\").textContent = `${formatNumber(suma1y2)} \u20ac`;\n    \n    document.getElementById(\"cuotaHipoteca\").textContent = `${formatNumber(cuota)} \u20ac`;\n    document.getElementById(\"interesTotal\").textContent = `${formatNumber(interesTotal)} \u20ac`;\n    \n    \n    \n    return {\n            precioCompra: valorVivienda,\n            impuestosyGasto: totalCostCompraventa,\n            suma1y2: suma1y2,\n            importeEntrega: entrada,\n            importeHipoteca: principal,\n            suma2y3: suma1y2,\n            cuota:cuota,\n            interesTotal: interesTotal,\n            hipoteca: \"si\"\n            };\n    \n    \n}\n<\/script>\n\n<script>\n    \/\/ Function to format numbers\n    function formatNumber(number) {\n        if (isNaN(number) || number === undefined) {\n            return '0.00';\n        }\n        return new Intl.NumberFormat('en-US', { \n            style: 'decimal',\n            minimumFractionDigits: 2,\n            maximumFractionDigits: 2,\n            useGrouping: true,\n            minimumSignificantDigits: 1\n        }).format(number);\n    }\n\n    \/\/ Add debug message\n    console.log('Simulator configuration:', window.simuladorConfig);\n    \n    \n    \n    \n    \/\/ Update the displayed slider value\n    function updatePriceValue(value) {\n        const formattedValue = new Intl.NumberFormat('en-US', { \n            style: 'decimal',\n            minimumFractionDigits: 0,\n            maximumFractionDigits: 0,\n            useGrouping: true,\n            minimumSignificantDigits: 1\n        }).format(value);\n        document.getElementById('precioPropiedadValue').textContent = `${formattedValue} \u20ac`;\n    }\n    \n    function calculateCostsCompraventa() {\n        console.log('Starting cost calculation...');\n        \n        \/\/ Verify we have the configuration\n        if (!window.simuladorConfig) {\n            console.error('Simulator configuration not found');\n            return;\n        }\n\n        \/\/ Get configuration and convert all values to numbers\n        const config = {\n            iva_nueva: parseFloat(window.simuladorConfig.iva_nueva),\n            ajd: parseFloat(window.simuladorConfig.ajd),\n            itp_rango1: parseFloat(window.simuladorConfig.itp_rango1),\n            itp_rango2: parseFloat(window.simuladorConfig.itp_rango2),\n            itp_rango3: parseFloat(window.simuladorConfig.itp_rango3),\n            notaria_fijo1: parseFloat(window.simuladorConfig.notaria_fijo1),\n            notaria_porcentaje: parseFloat(window.simuladorConfig.notaria_porcentaje),\n            notaria_fijo2: parseFloat(window.simuladorConfig.notaria_fijo2),\n            registro_porcentaje: parseFloat(window.simuladorConfig.registro_porcentaje),\n            honorarios_porcentaje: parseFloat(window.simuladorConfig.honorarios_porcentaje),\n            iva_honorarios: parseFloat(window.simuladorConfig.iva_honorarios),\n            gastos_tramitacion: parseFloat(window.simuladorConfig.gastos_tramitacion),\n            otros_gastos: parseFloat(window.simuladorConfig.otros_gastos)\n        };\n\n        console.log('Configuration loaded (converted to numbers):', config);\n\n        \/\/ Get form values\n        const precioPropiedad = parseFloat(document.getElementById('precioPropiedad').value) || 0;\n        const tipoViviendaElement = document.querySelector('input[name=\"tipoVivienda\"]:checked');\n        if (!tipoViviendaElement) {\n            alert('Please select a property type');\n            return;\n        }\n        const tipoVivienda = tipoViviendaElement.value;\n\n        console.log('Selected values:', {\n            precioPropiedad,\n            tipoVivienda\n        });\n\n        \/\/ Initial calculations\n        let iva = 0;\n        let ajd = 0;\n        let itp = 0;\n        let notaria = 0;\n        let registro = 0;\n        let honorarios = 0;\n        let ivaHonorarios = 0;\n\n        \/\/ Calculate taxes based on property type\n        if (tipoVivienda === 'nueva') {\n            iva = (precioPropiedad * config.iva_nueva) \/ 100;\n            iva = Math.ceil(iva );\n            ajd = (precioPropiedad * config.ajd) \/ 100;\n            ajd = Math.ceil(ajd );\n            document.getElementById('nueva').style.display = 'block';\n            document.getElementById('usada').style.display = 'none';\n        } else {\n            if (precioPropiedad <= 400000) {\n                itp = (precioPropiedad * config.itp_rango1) \/ 100;\n            } else if (precioPropiedad <= 700000) {\n                itp = (precioPropiedad * config.itp_rango2) \/ 100;\n            } else {\n                itp = (precioPropiedad * config.itp_rango3) \/ 100;\n            }\n            document.getElementById('nueva').style.display = 'none';\n            document.getElementById('usada').style.display = 'block';\n            itp = Math.ceil(itp );\n        }\n\n        \/\/ Calculate notary fees\n        if (precioPropiedad <= 150000) {\n            notaria = config.notaria_fijo1;\n        } else if (precioPropiedad <= 833333) {\n            notaria = (precioPropiedad * config.notaria_porcentaje) \/ 100;\n        } else {\n            notaria = config.notaria_fijo2;\n        }\n        notaria = Math.ceil(notaria );\n\n        \/\/ Calculate registry fees\n        registro = (notaria * config.registro_porcentaje) \/ 100;\n        registro = Math.ceil(registro );\n\n        \/\/ Calculate legal fees\n        honorarios = (precioPropiedad * config.honorarios_porcentaje) \/ 100;\n        ivaHonorarios = (honorarios * config.iva_honorarios) \/ 100;\n        ivaHonorarios = Math.ceil(ivaHonorarios );\n\n        \/\/ Total\n        let totalCostCompraventa = Number(iva) + Number(ajd) + Number(itp) + Number(notaria) + \n            Number(registro) + Number(honorarios) + Number(ivaHonorarios) + \n            Number(config.gastos_tramitacion) + Number(config.otros_gastos);\n            \n            totalCostCompraventa = Math.ceil(totalCostCompraventa );\n            \n         \/\/comprobamos que se ha seleccionado la opcion de hipoteca\n        let check = document.getElementById(\"hipoteca\");\n\n        if (check.checked) {\n            let datos = calcularHipoteca(totalCostCompraventa);\n            const datosHipoteca = document.getElementById('datosHipoteca');\n                 datosHipoteca.style.display = 'block';\n                 \n                 precioCompra = datos.precioCompra;\n                 suma1y2 = datos.suma1y2;\n                 importeEntrega = datos.importeEntrega;\n                 importeHipoteca = datos.importeHipoteca;\n                 suma2y3 = datos.suma1y2;\n                 \n                 cuota = datos.cuota;\n                 interesTotal = datos.interesTotal;\n                 hipoteca = datos.hipoteca;\n                 \n                 \n                 \n            \n            \n        } else { \n            datosHipoteca.style.display = 'none';\n                cuota = 0;\n                 precioCompra = 0;\n                 suma1y2 = 0;\n                 importeEntrega = 0;\n                 importeHipoteca = 0;\n                 interesTotal = 0;\n                 hipoteca = \"no\";\n        }        \n        \n        \n        \n        console.log('Resultados finales:', {\n            iva,\n            ajd,\n            itp,\n            notaria,\n            registro,\n            honorarios,\n            ivaHonorarios,\n            gastosTramitacion: config.gastos_tramitacion,\n            otrosGastos: config.otros_gastos,\n            totalCostCompraventa,\n            precioCompra,\n            suma1y2,\n            importeEntrega,\n            importeHipoteca,\n            cuota,\n            interesTotal,\n            hipoteca\n            \n        });\n        \n        \n\n        \/\/ Update interface\n        document.getElementById('iva').textContent = `${formatNumber(iva)} \u20ac`;\n        document.getElementById('ajd').textContent = `${formatNumber(ajd)} \u20ac`;\n        document.getElementById('itp').textContent = `${formatNumber(itp)} \u20ac`;\n        document.getElementById('notaria').textContent = `${formatNumber(notaria)} \u20ac`;\n        document.getElementById('registro').textContent = `${formatNumber(registro)} \u20ac`;\n        document.getElementById('honorarios').textContent = `${formatNumber(honorarios)} \u20ac`;\n        document.getElementById('ivaHonorarios').textContent = `${formatNumber(ivaHonorarios)} \u20ac`;\n        document.getElementById('gastosTramitacion').textContent = `${formatNumber(config.gastos_tramitacion)} \u20ac`;\n        document.getElementById('otrosGastos').textContent = `${formatNumber(config.otros_gastos)} \u20ac`;\n        document.getElementById('totalCostCompraventa').textContent = `${formatNumber(totalCostCompraventa)} \u20ac`;\n\n        \/\/ Save results for the form\n        window.resultadosSimuladorCompraventa = {\n            tipoVivienda,\n            precioPropiedad,\n            iva,\n            ajd,\n            itp,\n            notaria,\n            registro,\n            honorarios,\n            ivaHonorarios,\n            gastosTramitacion: config.gastos_tramitacion,\n            otrosGastos: config.otros_gastos,\n            totalCostCompraventa,\n            precioCompra,\n            suma1y2,\n            importeEntrega,\n            importeHipoteca,\n            cuota,\n            interesTotal,\n            hipoteca\n            \n            \n            \n        };\n        \n        \n\n        document.getElementById('formularioContacto').style.display = 'block';\n    }\n\n    \/\/ Add contact form handler\n    document.getElementById('formularioContacto').addEventListener('submit', function(e) {\n        e.preventDefault();\n        \n        \/\/ Add debug log\n        console.log('Form submitted');\n        \n        \/\/controlamos el idioma para que se envie el correo en ingles\n        const idioma = \"eng\";\n        \n        const nombre = document.getElementById('nombre').value;\n        const apellido = document.getElementById('apellido').value;\n        const email = document.getElementById('email').value;\n        \n        \/\/ Verify we have results\n        if (!window.resultadosSimuladorCompraventa) {\n            console.error('No results to send');\n            return;\n        }\n        \n        \/\/ Log data to be sent\n        console.log('Data to send:', {\n            nombre,\n            apellido,\n            email,\n            idioma,\n            resultados: window.resultadosSimuladorCompraventa\n        });\n\n        \/\/ Create data object to send\n        const formData = new FormData();\n        formData.append('action', 'enviar_resultados_simulador');\n        formData.append('nombre', nombre);\n        formData.append('apellido', apellido);\n        formData.append('email', email);\n        formData.append('idioma', idioma);\n        formData.append('resultados', JSON.stringify(window.resultadosSimuladorCompraventa));\n        formData.append('nonce', ajax_object.nonce);\n\n        \/\/ Show loading message\n        document.getElementById('mensajeRespuesta').innerHTML = 'Sending...';\n\n        \/\/ Send AJAX request\n        fetch(ajax_object.ajax_url, {\n            method: 'POST',\n            body: formData,\n            credentials: 'same-origin'\n        })\n        .then(response => {\n            console.log('Response received:', response);\n            return response.json();\n        })\n        .then(data => {\n            console.log('Data received:', data);\n            if(data.success) {\n                document.getElementById('mensajeRespuesta').innerHTML = 'Message sent successfully';\n                document.getElementById('formularioContacto').reset();\n            } else {\n                document.getElementById('mensajeRespuesta').innerHTML = 'Error sending message';\n            }\n        })\n        .catch(error => {\n            console.error('Request error:', error);\n            document.getElementById('mensajeRespuesta').innerHTML = 'Error sending message';\n        });\n    });\n<\/script>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"has_ae_slider elementor-element elementor-element-4132b0a e-flex e-con-boxed ae-bg-gallery-type-default e-con e-parent\" data-id=\"4132b0a\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-df8c08f elementor-widget elementor-widget-menu-anchor\" data-id=\"df8c08f\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"FormuRes\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"has_ae_slider elementor-element elementor-element-a6ce13c e-con-full e-flex ae-bg-gallery-type-default e-con e-child\" data-id=\"a6ce13c\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-1ac0a5f elementor-widget elementor-widget-heading\" data-id=\"1ac0a5f\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">RESIDENCE IN SPAIN <br>\nSIMULATOR <\/br><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a300203 elementor-widget elementor-widget-text-editor\" data-id=\"a300203\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Calculate the cost of obtaining your residency Visa.<\/p><p>Indicate if the request is individual or for the entire<br \/>the family informing all its members.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"has_ae_slider elementor-element elementor-element-65def7a e-flex e-con-boxed ae-bg-gallery-type-default e-con e-parent\" data-id=\"65def7a\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"has_ae_slider elementor-element elementor-element-bcdaf68 e-con-full e-flex ae-bg-gallery-type-default e-con e-child\" data-id=\"bcdaf68\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-f90c850 elementor-widget elementor-widget-html\" data-id=\"f90c850\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<style>\n        \n    label {\n        display: block;\n        margin: 10px 0;\n        color: #293754;\n    }\n    \n    #goldenVisaForm {\n        display: flex;\n        max-width: 1500px;\n        width: 100%;\n        padding: 0em;\n        font-family: \"Lato\", Sans-serif;\n    }\n    \n    #goldenVisaForm .columna-1 {\n        display: flex;\n        justify-content: space-between;\n        flex-direction: column;\n        background-color: #eee9e3;\n        padding: 3em 5em 3em 2em;\n        width: 50%\n    }\n    \n    #goldenVisaForm .columna-2 {\n        display: flex;\n        justify-content: space-between;\n        flex-direction: column;\n        color: #293754;\n        background-color: #e6dcd0;\n        padding: 3em 10em 3em 5em;\n        width: 50%;\n    }\n    \n    \/* --------------------------------------- *\/\n\/* \ud83d\udcf1 MEDIA QUERY PARA M\u00d3VILES *\/\n\/* --------------------------------------- *\/\n\n@media (max-width: 768px) {\n    #goldenVisaForm {\n        flex-direction: column;\n        padding: 0; \/* Opcional *\/\n    }\n\n    #goldenVisaForm .columna-1,\n    #goldenVisaForm .columna-2 {\n        width: 100%;\n        padding: 2em; \/* M\u00e1s c\u00f3modo en m\u00f3vil *\/\n    }\n\n    \/* Si quieres reducir padding en la segunda columna *\/\n    #goldenVisaForm .columna-2 {\n        padding: 2em;\n    }\n}\n\n\/* \ud83d\udcf1 M\u00f3viles peque\u00f1os (opcional) *\/\n@media (max-width: 480px) {\n    #goldenVisaForm .columna-1,\n    #goldenVisaForm .columna-2 {\n        padding: 1.5em;\n    }\n}\n    \n    .formulario {\n        display: flex;\n        flex-direction: column;\n        gap: 10px;\n    }\n    \n    #totalCost, #totalCostCompraventa {\n        color: #A87A3D;\n    }\n    \n    .precio-total {\n        padding: 0px 0px 29px;\n        font-size: 22px;\n        font-weight: 700;\n    }\n    \n    .precio-total h3{\n        text-transform: uppercase;\n        margin: 10px 0px;\n        font-weight: 900;\n        font-size: 22px;\n    }\n    \n    .precio-desglose {\n        display: flex;\n        flex-direction: column;\n        gap: 0px;\n    }\n    \n    .precio-desglose p {\n        padding: 0px;\n        margin: 5px 0px;\n        display: flex;\n        flex-direction: row;\n        justify-content: space-between;\n    }\n    \n    .precio-desglose span {\n        font-weight: bold;\n    }\n    \n    .info-simulador p {\n        font-size: 10px;\n    }\n\n    .button-simuladores {\n        background-color: #A87A3D;\n        color: white;\n        padding: 10px 20px;\n        border: 1px solid #A87A3D;\n        cursor: pointer;\n        border-radius: 25px;\n        text-transform: uppercase;\n        width: 50%;\n    }\n\n    .button-simuladores:hover {\n        background-color: #fff;\n        color: #A87A3D;\n    }\n    \n    \/* Estilos para el formulario de contacto Golden Visa *\/\n    #formularioContactoGoldenVisa {\n        display: none;\n        margin-top: 2em;\n        padding: 2em;\n        background-color: #f5f5f5;\n        border-radius: 8px;\n        width: 100%;\n        max-width: 1500px;\n        margin: 20px auto;\n    }\n\n    #formularioContactoGoldenVisa .form-group {\n        margin-bottom: 1em;\n    }\n\n    #formularioContactoGoldenVisa input {\n        width: 100%;\n        padding: 8px;\n        margin-top: 5px;\n        border: 1px solid #ddd;\n        border-radius: 4px;\n    }\n\n    #formularioContactoGoldenVisa label {\n        font-weight: bold;\n        color: #293754;\n    }\n<\/style>\n\n<form id=\"goldenVisaForm\">\n        <div class=\"columna-1\">\n            <div class=\"formulario\">\n                <div>\n                    <label><input type=\"checkbox\" id=\"investor\" value=\"3000\"> First Applicant<\/label>\n                <\/div>\n                <div>\n                    <label><input type=\"checkbox\" id=\"spouse\" value=\"1000\"> Spouse<\/label>\n                <\/div>\n                <div>\n                    <label><input type=\"checkbox\" id=\"children\" value=\"1\"> Children<\/label>\n                <\/div>\n                <div id=\"numChildrenDiv\" style=\"display:none;\">\n                    <label>Number of children: \n                        <select id=\"numChildren\">\n                            <option value=\"0\"><\/option>\n                            <option value=\"1\">1<\/option>\n                            <option value=\"2\">2<\/option>\n                            <option value=\"3\">3<\/option>\n                            <option value=\"4\">4<\/option>\n                            <option value=\"5\">5<\/option>\n                            <option value=\"6\">6<\/option>\n                            <option value=\"7\">7<\/option>\n                            <option value=\"8\">8<\/option>\n                            <option value=\"9\">9<\/option>\n                            <option value=\"10\">10<\/option>\n                        <\/select>\n                    <\/label>\n                <\/div>\n                <div>\n                    <label><input type=\"checkbox\" id=\"eu-uk\" value=\"1000\"> Are you a UK or EU national?\n<\/label>\n                <\/div>\n            <\/div>\n            <button type=\"button\" class=\"button-simuladores\" onclick=\"calculateCosts()\">Calculate<\/button>\n        <\/div>\n        <div class=\"columna-2\">\n            <div class=\"precio-total\">\n                <h3>Estimate of costs and fees:<\/h3>\n            <\/div>\n            <div class=\"precio-desglose\">\n                <p>Legal Fees: <span id=\"legalFees\">0 \u20ac<\/span><\/p>\n                <p>VAT on Legal Fees (21%): <span id=\"ivaHonorarios2\">0 \u20ac<\/span><\/p>\n                <p>Administrative Fee: <span id=\"adminFee\">0 \u20ac<\/span><\/p>\n                <p>Residence Card Fee: <span id=\"residenceFee\">0 \u20ac<\/span><\/p>\n                <p>DKV Health Insurance: <span id=\"healthInsurance\">0 \u20ac<\/span><\/p>\n                <p>Other Expenses: <span id=\"otrosGastosGV\">0 \u20ac<\/span><\/p>\n                <hr>\n                <p class=\"total-simulador\">TOTAL: <span id=\"totalCost\">0 \u20ac<\/span><\/p>\n            <\/div>\n            <div class=\"info-simulador\">\n                <p>*The calculation result is indicative and non-binding, as complete information must be submitted for a final assessment.<\/p>\n            <\/div>\n        <\/div>\n<\/form>\n\n<!-- Contact form -->\n<form id=\"formularioContactoGoldenVisa\">\n    <div class=\"form-group\">\n        <label for=\"nombreGoldenVisa\">First Name:<\/label>\n        <input type=\"text\" id=\"nombreGoldenVisa\" name=\"nombreGoldenVisa\" required>\n    <\/div>\n    <div class=\"form-group\">\n        <label for=\"apellidoGoldenVisa\">Last Name:<\/label>\n        <input type=\"text\" id=\"apellidoGoldenVisa\" name=\"apellidoGoldenVisa\" required>\n    <\/div>\n    <div class=\"form-group\">\n        <label for=\"emailGoldenVisa\">Email:<\/label>\n        <input type=\"email\" id=\"emailGoldenVisa\" name=\"emailGoldenVisa\" required>\n    <\/div>\n    <button type=\"submit\" class=\"button-simuladores\">Send Results<\/button>\n    <div id=\"mensajeRespuestaGoldenVisa\"><\/div>\n<\/form>\n\n<script>\n    document.getElementById('children').addEventListener('change', function () {\n        const numChildrenDiv = document.getElementById('numChildrenDiv');\n        if (this.checked) {\n            numChildrenDiv.style.display = 'block';\n        } else {\n            numChildrenDiv.style.display = 'none';\n        }\n    });\n\n    \/\/ Function to format numbers\n    function formatNumber(number) {\n        if (isNaN(number) || number === undefined) {\n            return '0.00';\n        }\n        return new Intl.NumberFormat('en-US', { \n            style: 'decimal',\n            minimumFractionDigits: 2,\n            maximumFractionDigits: 2,\n            useGrouping: true,\n            minimumSignificantDigits: 1\n        }).format(number);\n    }\n\n    \/\/ Add debug message\n    console.log('Golden Visa simulator configuration:', window.goldenVisaConfig);\n    \n    function calculateCosts() {\n        console.log('Starting cost calculation...');\n        \n        \/\/ Verify we have the configuration\n        if (!window.goldenVisaConfig) {\n            console.error('Golden Visa configuration not found');\n            return;\n        }\n\n        \/\/ Get configuration and convert all values to numbers\n        const config = {\n            investor_fee: parseFloat(window.goldenVisaConfig.investor_fee),\n            spouse_fee: parseFloat(window.goldenVisaConfig.spouse_fee),\n            child_fee: parseFloat(window.goldenVisaConfig.child_fee),\n            iva_honorarios2: parseFloat(window.goldenVisaConfig.iva_honorarios2),\n            admin_fee: parseFloat(window.goldenVisaConfig.admin_fee),\n            residence_fee: parseFloat(window.goldenVisaConfig.residence_fee),\n            health_insurance_investor: parseFloat(window.goldenVisaConfig.health_insurance_investor),\n            health_insurance_family: parseFloat(window.goldenVisaConfig.health_insurance_family),\n            otros_gastos: parseFloat(window.goldenVisaConfig.otros_gastos)\n        };\n\n        console.log('Configuration loaded (converted to numbers):', config);\n\n        \/\/ Get form values\n        const investor = document.getElementById('investor').checked;\n        const spouse = document.getElementById('spouse').checked;\n        const children = document.getElementById('children').checked;\n        const numChildren = parseInt(document.getElementById('numChildren').value) || 0;\n        const euuk = document.getElementById('eu-uk').checked;\n\n        console.log('Selected values:', {\n            investor,\n            spouse,\n            children,\n            numChildren\n        });\n\n        \/\/ Calculate costs\n        let investorCost = investor ? config.investor_fee : 0;\n        let spouseCost = spouse ? config.spouse_fee : 0;\n        let childrenCost = children ? (numChildren * config.child_fee) : 0;\n\n        \/\/ Calculate legal fees\n        let legalFees = investorCost + spouseCost + childrenCost;\n        \n        if (euuk=== true) {\n            legalFees = legalFees \/ 2;\n            \n        }\n        \n        let ivaHonorarios2 = (legalFees * config.iva_honorarios2) \/ 100;\n        ivaHonorarios2 = Math.ceil(ivaHonorarios2 );\n\n        \/\/ Calculate administrative fees\n        let adminFee = 0;\n        let residenceFee =0;\n\n        \/\/ Calculate health insurance\n        let healthInsurance = 0;\n        if (investor) {\n            healthInsurance += config.health_insurance_investor;\n            adminFee = config.admin_fee;\n            residenceFee = config.residence_fee;\n        }\n        if (spouse) {\n            healthInsurance += config.health_insurance_family;\n            adminFee = adminFee + config.admin_fee;\n            residenceFee = residenceFee + config.residence_fee;\n        }\n        if (children) {\n            healthInsurance += config.health_insurance_family * numChildren ;\n            adminFee = adminFee + config.admin_fee * numChildren;\n            residenceFee = residenceFee + config.residence_fee * numChildren;\n        }\n\n        \/\/ Total\n        let totalCost = Number(legalFees) + Number(ivaHonorarios2) + Number(adminFee) + \n            Number(residenceFee) + Number(healthInsurance) + Number(config.otros_gastos);\n\n        console.log('Final results:', {\n            legalFees,\n            ivaHonorarios2,\n            adminFee,\n            residenceFee,\n            healthInsurance,\n            otrosGastos: config.otros_gastos,\n            totalCost\n        });\n\n        \/\/ Update interface\n        document.getElementById('legalFees').textContent = `${formatNumber(legalFees)} \u20ac`;\n        document.getElementById('ivaHonorarios2').textContent = `${formatNumber(ivaHonorarios2)} \u20ac`;\n        document.getElementById('adminFee').textContent = `${formatNumber(adminFee)} \u20ac`;\n        document.getElementById('residenceFee').textContent = `${formatNumber(residenceFee)} \u20ac`;\n        document.getElementById('healthInsurance').textContent = `${formatNumber(healthInsurance)} \u20ac`;\n        document.getElementById('otrosGastosGV').textContent = `${formatNumber(config.otros_gastos)} \u20ac`;\n        document.getElementById('totalCost').textContent = `${formatNumber(totalCost)} \u20ac`;\n\n        \/\/ Save results for the form\n        window.resultadosSimuladorGoldenVisa = {\n            investor,\n            spouse,\n            children,\n            numChildren,\n            legalFees,\n            ivaHonorarios2,\n            adminFee,\n            residenceFee,\n            healthInsurance,\n            otrosGastos: config.otros_gastos,\n            totalCost\n            \n        };\n\n        document.getElementById('formularioContactoGoldenVisa').style.display = 'block';\n    }\n\n    \/\/ Add contact form handler\n    document.getElementById('formularioContactoGoldenVisa').addEventListener('submit', function(e) {\n        e.preventDefault();\n        \n        \/\/ Add debug log\n        console.log('Form submitted');\n        \n        const nombre = document.getElementById('nombreGoldenVisa').value;\n        const apellido = document.getElementById('apellidoGoldenVisa').value;\n        const email = document.getElementById('emailGoldenVisa').value;\n        const idioma = \"en\";\n        \n        \/\/ Verify we have results\n        if (!window.resultadosSimuladorGoldenVisa) {\n            console.error('No results to send');\n            return;\n        }\n        \n        \/\/ Log data to be sent\n        console.log('Data to send:', {\n            nombre,\n            apellido,\n            email,\n            resultados: window.resultadosSimuladorGoldenVisa\n        });\n\n        \/\/ Create data object to send\n        const formData = new FormData();\n        formData.append('action', 'enviar_resultados_simulador_golden_visa');\n        formData.append('nombre', nombre);\n        formData.append('apellido', apellido);\n        formData.append('email', email);\n        formData.append('idioma', idioma);\n        formData.append('resultados', JSON.stringify(window.resultadosSimuladorGoldenVisa));\n        formData.append('nonce', ajax_object.nonce);\n\n        \/\/ Show loading message\n        document.getElementById('mensajeRespuestaGoldenVisa').innerHTML = 'Sending...';\n\n        \/\/ Send AJAX request\n        fetch(ajax_object.ajax_url, {\n            method: 'POST',\n            body: formData,\n            credentials: 'same-origin'\n        })\n        .then(response => {\n            console.log('Response received:', response);\n            return response.json();\n        })\n        .then(data => {\n            console.log('Data received:', data);\n            if(data.success) {\n                document.getElementById('mensajeRespuestaGoldenVisa').innerHTML = 'Message sent successfully';\n                document.getElementById('formularioContactoGoldenVisa').reset();\n            } else {\n                document.getElementById('mensajeRespuestaGoldenVisa').innerHTML = 'Error sending message';\n            }\n        })\n        .catch(error => {\n            console.error('Request error:', error);\n            document.getElementById('mensajeRespuestaGoldenVisa').innerHTML = 'Error sending message';\n        });\n    });\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e69d7d0 elementor-widget elementor-widget-menu-anchor\" data-id=\"e69d7d0\" data-element_type=\"widget\" data-widget_type=\"menu-anchor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-menu-anchor\" id=\"FormuSL\"><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"has_ae_slider elementor-element elementor-element-bc42efa e-flex e-con-boxed ae-bg-gallery-type-default e-con e-parent\" data-id=\"bc42efa\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"has_ae_slider elementor-element elementor-element-c92dc57 e-con-full e-flex ae-bg-gallery-type-default e-con e-child\" data-id=\"c92dc57\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t<div class=\"elementor-element elementor-element-372601f elementor-widget elementor-widget-heading\" data-id=\"372601f\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">LLC INCORPORATION COSTS <br>\nSIMULATOR <\/br><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-fd54580 elementor-widget elementor-widget-text-editor\" data-id=\"fd54580\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Please consider all possible costs and fees <br \/>associated with the incorporation of a Limited <br \/>Liability Company in Spain.<\/p><p>Select the initial capital and indicate whether <br \/>you need to grant a Special Power of Attorney <br \/>or require assistance with opening a bank account.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"has_ae_slider elementor-element elementor-element-22e0c45 e-flex e-con-boxed ae-bg-gallery-type-default e-con e-parent\" data-id=\"22e0c45\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"has_ae_slider elementor-element elementor-element-46ae0aa e-con-full e-flex ae-bg-gallery-type-default e-con e-child\" data-id=\"46ae0aa\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-bacaca6 elementor-widget elementor-widget-html\" data-id=\"bacaca6\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<style>\n        \n    label {\n        display: block;\n        margin: 10px 0;\n        color: #293754;\n    }\n    \n    #SLForm {\n        display: flex;\n        max-width: 1500px;\n        width: 100%;\n        padding: 0em;\n        font-family: \"Lato\", Sans-serif;\n    }\n    \n    #SLForm .columna-1 {\n        display: flex;\n        justify-content: space-between;\n        flex-direction: column;\n        background-color: #eee9e3;\n        padding: 3em 5em 3em 2em;\n        width: 50%\n    }\n    \n    #SLForm .columna-2 {\n        display: flex;\n        justify-content: space-between;\n        flex-direction: column;\n        color: #293754;\n        background-color: #e6dcd0;\n        padding: 3em 10em 3em 5em;\n        width: 55%;\n    }\n    \n    .formulario {\n        display: flex;\n        flex-direction: column;\n        gap: 10px;\n    }\n    \n    #totalCost, #totalCostCompraventa {\n        color: #293754;\n    }\n    \n    .precio-total {\n        padding: 0px 0px 29px;\n        font-size: 22px;\n        font-weight: 700;\n    }\n    \n    .precio-total h3{\n        text-transform: uppercase;\n        margin: 10px 0px;\n        font-weight: 900\n    }\n    \n    .precio-desglose {\n        display: flex;\n        flex-direction: column;\n        gap: 0px;\n    }\n    \n    .precio-desglose p {\n        padding: 0px;\n        margin: 5px 0px;\n        display: flex;\n        flex-direction: row;\n        justify-content: space-between;\n    }\n    \n    .precio-desglose span {\n        font-weight: bold;\n    }\n    \n    .info-simulador p {\n        font-size: 10px;\n    }\n\n    .button-simuladores {\n        background-color: #A87A3D;\n        color: white;\n        padding: 10px 20px;\n        border: 1px solid #A87A3D;\n        cursor: pointer;\n        border-radius: 25px;\n        text-transform: uppercase;\n        width: 50%;\n    }\n\n    .button-simuladores:hover {\n        background-color: #fff;\n        color: #A87A3D;\n    }\n    \n    \/* --------------------------------------- *\/\n\/* \ud83d\udcf1 MEDIA QUERY PARA M\u00d3VILES *\/\n\/* --------------------------------------- *\/\n\n@media (max-width: 768px) {\n    #SLForm {\n        flex-direction: column;\n        padding: 0; \/* Opcional *\/\n    }\n\n    #SLForm .columna-1,\n    #SLForm .columna-2 {\n        width: 100%;\n        padding: 2em; \/* M\u00e1s c\u00f3modo en m\u00f3vil *\/\n    }\n\n    \/* Si quieres reducir padding en la segunda columna *\/\n    #SLForm .columna-2 {\n        padding: 2em;\n    }\n    \n    #formularioContactoSL button{\n        \n        width: 500px;\n        \n    }\n}\n\n\/* \ud83d\udcf1 M\u00f3viles peque\u00f1os (opcional) *\/\n@media (max-width: 480px) {\n    #SLForm .columna-1,\n    #SLForm .columna-2 {\n        padding: 1.5em;\n    }\n}\n    \n    \/* Estilos para el formulario de contacto Golden Visa *\/\n    #formularioContactoSL {\n        display: none;\n        margin-top: 2em;\n        padding: 2em;\n        background-color: #f5f5f5;\n        border-radius: 8px;\n        width: 100%;\n        max-width: 1500px;\n        margin: 20px auto;\n    }\n\n    #formularioContactoSL .form-group {\n        margin-bottom: 1em;\n    }\n\n    #formularioContactoSL input {\n        width: 100%;\n        padding: 8px;\n        margin-top: 5px;\n        border: 1px solid #ddd;\n        border-radius: 4px;\n    }\n\n    #formularioContactoSL label {\n        font-weight: bold;\n        color: #293754;\n    }\n\n    .total-simulador {\n        margin-bottom: 20px !important;\n    }\n<\/style>\n\n<form id=\"SLForm\">\n        <div class=\"columna-1\">\n            <div class=\"formulario\">\n                <div id=\"capitalInicialDiv\" >\n                    <label>Initial Share Capital Example (\u20ac)\n                        <select id=\"capitalInicial\">\n                            <option value=\"3000\">3000<\/option>\n                            <option value=\"10000\">10000<\/option>\n                            <option value=\"50000\">50000<\/option>\n                            \n                        <\/select>\n                    <\/label>\n                <\/div>\n                \n                <div>\n                    <label><input type=\"checkbox\" id=\"poderEspecial\" value=\"1000\"> Do you wish to grant a Special Power of Attorney?<\/label>\n                <\/div>\n                <div>\n                    <label><input type=\"checkbox\" id=\"asistenciaCuenta\" value=\"1\"> Do you require our assistance with opening a bank account?<\/label>\n                <\/div>\n                \n            <\/div>\n            <button type=\"button\" class=\"button-simuladores\" onclick=\"calculateCosts2()\">Calculate<\/button>\n        <\/div>\n        <div class=\"columna-2\">\n            <div class=\"precio-total\">\n                <h3>Estimate of Costs and Fees<\/h3>\n            <\/div>\n            <div class=\"precio-desglose\">\n                <p>Company Name Certificate: <span id=\"certDenomSocial\">0 \u20ac<\/span><\/p>\n                <p>Incorporation Notary Fees: <span id=\"notariaConst\">0 \u20ac<\/span><\/p>\n                <p>Commercial Registry \u2013 Incorporation: <span id=\"registroConst\">0 \u20ac<\/span><\/p>\n                <p>Incorporation Processing Fees: <span id=\"tramiteConst\">0 \u20ac<\/span><\/p>\n                <p>Ultimate Beneficial Owner Notary Fees: <span id=\"notariaTitular\">0 \u20ac<\/span><\/p>\n                <p>Digital Certificate Issuance: <span id=\"certifDigital\">0 \u20ac<\/span><\/p>\n                <p>Legal Fees: <span id=\"honorariosLegales\">0 \u20ac<\/span><\/p>\n                <p>VAT on Legal Fees (21%): <span id=\"ivaHonorariosLegales\">0 \u20ac<\/span><\/p>\n                <p>Miscellaneous (NIE, Passport Certification...): <span id=\"variosGastos\">0 \u20ac<\/span><\/p>\n                <hr>\n                <p class=\"total-simulador\">TOTAL: <span id=\"totalCostSL\">0 \u20ac<\/span><\/p>\n            <\/div>\n            <div class=\"precio-desglose\" id=\"datosPoder\" style=\"display: none;\">\n                <div class=\"precio-total\">\n                <h3>Special Power of Attorney Fees:<\/h3>\n                <\/div>\n                \n                <p >Notary Fees \u2013 Special Power of Attorney: <span id=\"notariaPoder\">0 \u20ac<\/span><\/p>\n                <p >Registry Fees \u2013 Power of Attorney: <span id=\"registroPoder\">0 \u20ac<\/span><\/p>\n                <p >Power of Attorney Filing & Processing: <span id=\"tramitePoder\">0 \u20ac<\/span><\/p>\n                <p >Official Gazette Publication: <span id=\"borm\">0 \u20ac<\/span><\/p>\n                <hr>\n                <p style=\"font-weight: bold\">Sum: <span id=\"sumaPoder\">0 \u20ac<\/span><\/p>\n                \n                \n                \n            <\/div>\n            <div class=\"precio-desglose\" id=\"datosAsist\" style=\"display: none;\">\n                <div class=\"precio-total\">\n                <h3>Bank Account Assistance Fees:<\/h3>\n                <\/div>\n                \n                <p >Bank Account Opening Assistance Fees: <span id=\"honorariosCuenta\">0 \u20ac<\/span><\/p>\n                <p >VAT on Fees (21%): <span id=\"IVAhonorCuenta\">0 \u20ac<\/span><\/p>\n                <hr>\n                <p style=\"font-weight: bold\">Sum: <span id=\"sumaCuenta\">0 \u20ac<\/span><\/p>\n                \n            <\/div>\n            <div class=\"precio-desglose\" id=\"costetotalSL\" style=\"display: none;\">\n                <div class=\"precio-total\">\n                \n                <hr>\n                <p style=\"font-weight: bold\">Total Cost: <span id=\"sumaCostesSL\">0 \u20ac<\/span><\/p>\n               <\/div> \n            <\/div>\n            <div class=\"info-simulador\">\n                <p>*The calculation result is indicative and non-binding, as complete information must be submitted for a final assessment.<\/p>\n            <\/div>\n        <\/div>\n<\/form>\n\n<!-- A\u00f1adir el nuevo formulario despu\u00e9s del formulario principal -->\n<form id=\"formularioContactoSL\">\n    <div class=\"form-group\">\n        <label for=\"nombreGoldenVisa\">First Name:<\/label>\n        <input type=\"text\" id=\"nombreSL\" name=\"nombreSL\" required>\n    <\/div>\n    <div class=\"form-group\">\n        <label for=\"apellidoGoldenVisa\">Last Name:<\/label>\n        <input type=\"text\" id=\"apellidoSL\" name=\"apellidoSL\" required>\n    <\/div>\n    <div class=\"form-group\">\n        <label for=\"emailGoldenVisa\">Email:<\/label>\n        <input type=\"email\" id=\"emailSL\" name=\"emailSL\" required>\n    <\/div>\n    <button type=\"submit\" class=\"button-simuladores\">Send Results<\/button>\n    <div id=\"mensajeRespuestaSL\"><\/div>\n<\/form>\n\n<script>\n    \n    \n\n    function calculateCosts2() {\n\n    console.log('Iniciando c\u00e1lculo de costos...');\n\n   \/\/ const poderChecked = document.getElementById('poderEspecial').checked;\n    \/\/const asistenciaChecked = document.getElementById('asistenciaCuenta').checked;\n    const capitalInicial = parseInt(document.getElementById('capitalInicial').value) || 0;\n\n    \/\/ Declarar variables\n    let certDenomSocial = 0;\n    let notariaConst = 0;\n    let registroConst = 0;\n    let tramiteConst = 0;\n    let notariaTitular = 0;\n    let certifDigital = 0;\n    let honorariosLegales = 0;\n    let ivaHonorariosLegales = 0;\n    let variosGastos = 0;\n\n    if (capitalInicial === 3000) {\n        certDenomSocial = 30;\n        notariaConst = 500;\n        registroConst = notariaConst * 0.75;\n        honorariosLegales = capitalInicial \/ 2;\n    }\n\n    if (capitalInicial === 10000) {\n        certDenomSocial = 30;\n        notariaConst = 700;\n        registroConst = 450;\n        honorariosLegales = capitalInicial \/ 4;\n    }\n\n    if (capitalInicial === 50000) {\n        certDenomSocial = 30;\n        notariaConst = 950;\n        registroConst = 650;\n        honorariosLegales = capitalInicial \/ 10;\n    }\n\n    if (capitalInicial > 0) {\n        \n        tramiteConst = 185;\n        notariaTitular = 125;\n        certifDigital = 30;\n        ivaHonorariosLegales = honorariosLegales * 0.21;\n        variosGastos = 150;\n    }\n\n    let totalCostSL =\n        certDenomSocial +\n        notariaConst +\n        registroConst +\n        tramiteConst +\n        notariaTitular +\n        certifDigital +\n        honorariosLegales +\n        ivaHonorariosLegales +\n        variosGastos;\n        \n        const totalCostSL2 = totalCostSL;\n\n     \/\/comprobamos que se ha seleccionado la opcion de poder\n        let check = document.getElementById(\"poderEspecial\");\n\n        if (check.checked) {\n                \n                const datosPoder = document.getElementById('datosPoder');\n                 datosPoder.style.display = 'block';\n                 quierePoder = \"si\";\n                 \n                 notariaPoder = 250;\n                 registroPoder = 100;\n                 tramitePoder = 185;\n                 borm = 30;\n                 sumaPoder = notariaPoder + registroPoder + tramitePoder + borm;\n                 \n                 \/\/actualizamos el total \n                 \n                 totalCostSL = totalCostSL + sumaPoder;\n                 \n                 document.getElementById(\"notariaPoder\").textContent = `${formatNumber(notariaPoder)} \u20ac`;\n                 document.getElementById(\"registroPoder\").textContent = `${formatNumber(registroPoder)} \u20ac`;\n                 document.getElementById(\"tramitePoder\").textContent = `${formatNumber(tramitePoder)} \u20ac`;\n                 document.getElementById(\"borm\").textContent = `${formatNumber(borm)} \u20ac`;\n                 document.getElementById(\"sumaPoder\").textContent = `${formatNumber(sumaPoder)} \u20ac`;\n                 \n                \n            \n        } else { \n            \n            datosPoder.style.display = 'none';\n            quierePoder = \"no\";\n                notariaPoder = 0;\n                 registroPoder = 0;\n                 tramitePoder = 0;\n                 borm = 0;\n                 sumaPoder = notariaPoder + registroPoder + tramitePoder + borm;\n                 totalCostSL = totalCostSL + sumaPoder;\n        } \n        \n        \n        \/\/comprobamos que se ha seleccionado la opcion de asistencia Cuenta\n        let check2 = document.getElementById(\"asistenciaCuenta\");\n\n        if (check2.checked) {\n                \n                const datosAsist = document.getElementById('datosAsist');\n                 datosAsist.style.display = 'block';\n                 \n                 quiereCuenta = \"si\";\n                 honorariosCuenta = 1000;\n                 IVAhonorCuenta = honorariosCuenta * 0.21;\n                 \n                 sumaCuenta = honorariosCuenta + IVAhonorCuenta;\n                 \n                 totalCostSL = totalCostSL + sumaCuenta;\n                 \n                 document.getElementById(\"honorariosCuenta\").textContent = `${formatNumber(honorariosCuenta)} \u20ac`;\n                 document.getElementById(\"IVAhonorCuenta\").textContent = `${formatNumber(IVAhonorCuenta)} \u20ac`;\n                 \n                 document.getElementById(\"sumaCuenta\").textContent = `${formatNumber(sumaCuenta)} \u20ac`;\n                 \n                \n            \n        } else { \n            \n            datosAsist.style.display = 'none';\n            quiereCuenta = \"no\";\n                honorariosCuenta = 0;\n                 IVAhonorCuenta = 0;\n                 \n                 sumaCuenta = honorariosCuenta + IVAhonorCuenta;\n                 totalCostSL = totalCostSL + sumaCuenta;\n        } \n\n    if ((check.checked)||(check2.checked)){\n        const costetotalSL = document.getElementById('costetotalSL');\n                 costetotalSL.style.display = 'block';\n        \n        document.getElementById(\"sumaCostesSL\").textContent = `${formatNumber(totalCostSL)} \u20ac`;\n    } else {\n        costetotalSL.style.display = 'none';\n    }\n    \n    \/\/ Function to format numbers\n    function formatNumber(number) {\n        if (isNaN(number) || number === undefined) {\n            return '0.00';\n        }\n        return new Intl.NumberFormat('en-US', { \n            style: 'decimal',\n            minimumFractionDigits: 2,\n            maximumFractionDigits: 2,\n            useGrouping: true,\n            minimumSignificantDigits: 1\n        }).format(number);\n    }\n\n    document.getElementById('certDenomSocial').textContent = `${formatNumber(certDenomSocial)} \u20ac`;\n    document.getElementById('notariaConst').textContent = `${formatNumber(notariaConst)} \u20ac`;\n    document.getElementById('registroConst').textContent = `${formatNumber(registroConst)} \u20ac`;\n    document.getElementById('tramiteConst').textContent = `${formatNumber(tramiteConst)} \u20ac`;\n    document.getElementById('notariaTitular').textContent = `${formatNumber(notariaTitular)} \u20ac`;\n    document.getElementById('certifDigital').textContent = `${formatNumber(certifDigital)} \u20ac`;\n    document.getElementById('honorariosLegales').textContent = `${formatNumber(honorariosLegales)} \u20ac`;\n    document.getElementById('ivaHonorariosLegales').textContent = `${formatNumber(ivaHonorariosLegales)} \u20ac`;\n    document.getElementById('variosGastos').textContent = `${formatNumber(variosGastos)} \u20ac`;\n    document.getElementById('totalCostSL').textContent = `${formatNumber(totalCostSL2)} \u20ac`;\n\n    window.resultadosSimuladorSL = {\n        certDenomSocial,\n        notariaConst,\n        registroConst,\n        tramiteConst,\n        notariaTitular,\n        certifDigital,\n        honorariosLegales,\n        ivaHonorariosLegales,\n        variosGastos,\n        totalCostSL,\n        notariaPoder,\n        registroPoder,\n        tramitePoder,\n        borm,\n        sumaPoder,\n        honorariosCuenta,\n        IVAhonorCuenta,\n        sumaCuenta,\n        totalCostSL2,\n        quierePoder,\n        quiereCuenta\n        \n    };\n\n    document.getElementById('formularioContactoSL').style.display = 'block';\n}\n\n\n    document.getElementById('formularioContactoSL').addEventListener('submit', function(e) {\n        e.preventDefault();\n        const nombre = document.getElementById('nombreSL').value;\n        const apellido = document.getElementById('apellidoSL').value;\n        const email = document.getElementById('emailSL').value;\n        const resultados = window.resultadosSimuladorSL;\n        const idioma = \"eng\";\n        \n        const formData = new FormData();\n        formData.append('action', 'enviar_resultados_simulador_SL');\n        formData.append('nombre', nombre);\n        formData.append('apellido', apellido);\n        formData.append('email', email);\n        formData.append('idioma', idioma);\n        formData.append('resultados', JSON.stringify(resultados));\n        formData.append('nonce', ajax_object.nonce);\n                \n\n        document.getElementById('mensajeRespuestaSL').innerHTML = 'Sending...';\n\n        fetch(ajax_object.ajax_url, {\n            method: 'POST',\n            body: formData\n        })\n        .then(response => response.json())\n        .then(data => {\n            if(data.success) {\n                document.getElementById('mensajeRespuestaSL').innerHTML = 'Message sent successfully';\n                document.getElementById('formularioContactoSL').reset();\n            } else {\n                document.getElementById('mensajeRespuestaSL').innerHTML = 'Error sending the message';\n            }\n        })\n        .catch(error => {\n            document.getElementById('mensajeRespuestaSL').innerHTML = 'Error sending the message';\n            console.error('Error:', error);\n        });\n    });\n    \n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"has_ae_slider elementor-element elementor-element-9cb5aad e-flex e-con-boxed ae-bg-gallery-type-default e-con e-parent\" data-id=\"9cb5aad\" data-element_type=\"container\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-df28f58 elementor-widget elementor-widget-heading\" data-id=\"df28f58\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">WE ADVISE YOU FROM ANY <br>\nPLACE IN THE WORLD<\/br><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b47073e elementor-widget elementor-widget-text-editor\" data-id=\"b47073e\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>We have an online legal consultation service by video call by appointment.<br \/>We offer you the possibility of getting to know us without having to be in person in Marbella.<br \/>and to be able to advise you remotely in an agile and decisive manner.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-92cb1df elementor-align-center elementor-widget elementor-widget-button\" data-id=\"92cb1df\" data-element_type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"\/en\/pedir-cita\/\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Schedule a call<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>MEET OUR SIMULATORS PURCHASE AND SALE SIMULATOR Consider all the possible expenses involved in the purchase of a real estate property. Select the location of the property, the type of house and the purchase price. Property Type New Property Pre-owned Property Property Price \u20ac Mortgage Down payment \u20ac Annual interest rate (%): Loan term (months): [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"class_list":["post-1844","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.4 (Yoast SEO v25.4) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Simulators | AB Lawyers<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ablawyers.es\/simuladores\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Simulators\" \/>\n<meta property=\"og:description\" content=\"MEET OUR SIMULATORS PURCHASE AND SALE SIMULATOR Consider all the possible expenses involved in the purchase of a real estate property. Select the location of the property, the type of house and the purchase price. Property Type New Property Pre-owned Property Property Price \u20ac Mortgage Down payment \u20ac Annual interest rate (%): Loan term (months): [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ablawyers.es\/simuladores\/\" \/>\n<meta property=\"og:site_name\" content=\"AB Lawyers\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-07T18:07:21+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/ablawyers.es\/simuladores\/\",\"url\":\"https:\/\/ablawyers.es\/simuladores\/\",\"name\":\"Simulators | AB Lawyers\",\"isPartOf\":{\"@id\":\"https:\/\/ablawyers.es\/#website\"},\"datePublished\":\"2024-09-30T08:44:03+00:00\",\"dateModified\":\"2026-01-07T18:07:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/ablawyers.es\/simuladores\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/ablawyers.es\/simuladores\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/ablawyers.es\/simuladores\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/ablawyers.es\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Simulators\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/ablawyers.es\/#website\",\"url\":\"https:\/\/ablawyers.es\/\",\"name\":\"AB Lawyers\",\"description\":\"Bufete de Abogados en Marbella y Dubai\",\"publisher\":{\"@id\":\"https:\/\/ablawyers.es\/#organization\"},\"alternateName\":\"Bufete de abogados AB Lawyers\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/ablawyers.es\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/ablawyers.es\/#organization\",\"name\":\"AB Lawyers\",\"alternateName\":\"Bufete de abogados AB Lawyers\",\"url\":\"https:\/\/ablawyers.es\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/ablawyers.es\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/ablawyers.es\/wp-content\/uploads\/2024\/09\/Logo-Principal-AB-Azul.svg\",\"contentUrl\":\"https:\/\/ablawyers.es\/wp-content\/uploads\/2024\/09\/Logo-Principal-AB-Azul.svg\",\"width\":793,\"height\":426,\"caption\":\"AB Lawyers\"},\"image\":{\"@id\":\"https:\/\/ablawyers.es\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.instagram.com\/ablawyers\/\",\"https:\/\/www.linkedin.com\/company\/ab-lawyers-es\/\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Simulators | AB Lawyers","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ablawyers.es\/simuladores\/","og_locale":"en_US","og_type":"article","og_title":"Simulators","og_description":"MEET OUR SIMULATORS PURCHASE AND SALE SIMULATOR Consider all the possible expenses involved in the purchase of a real estate property. Select the location of the property, the type of house and the purchase price. Property Type New Property Pre-owned Property Property Price \u20ac Mortgage Down payment \u20ac Annual interest rate (%): Loan term (months): [&hellip;]","og_url":"https:\/\/ablawyers.es\/simuladores\/","og_site_name":"AB Lawyers","article_modified_time":"2026-01-07T18:07:21+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/ablawyers.es\/simuladores\/","url":"https:\/\/ablawyers.es\/simuladores\/","name":"Simulators | AB Lawyers","isPartOf":{"@id":"https:\/\/ablawyers.es\/#website"},"datePublished":"2024-09-30T08:44:03+00:00","dateModified":"2026-01-07T18:07:21+00:00","breadcrumb":{"@id":"https:\/\/ablawyers.es\/simuladores\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ablawyers.es\/simuladores\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/ablawyers.es\/simuladores\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/ablawyers.es\/en\/"},{"@type":"ListItem","position":2,"name":"Simulators"}]},{"@type":"WebSite","@id":"https:\/\/ablawyers.es\/#website","url":"https:\/\/ablawyers.es\/","name":"AB Lawyers","description":"Bufete de Abogados en Marbella y Dubai","publisher":{"@id":"https:\/\/ablawyers.es\/#organization"},"alternateName":"Bufete de abogados AB Lawyers","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ablawyers.es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ablawyers.es\/#organization","name":"AB Lawyers","alternateName":"Bufete de abogados AB Lawyers","url":"https:\/\/ablawyers.es\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ablawyers.es\/#\/schema\/logo\/image\/","url":"https:\/\/ablawyers.es\/wp-content\/uploads\/2024\/09\/Logo-Principal-AB-Azul.svg","contentUrl":"https:\/\/ablawyers.es\/wp-content\/uploads\/2024\/09\/Logo-Principal-AB-Azul.svg","width":793,"height":426,"caption":"AB Lawyers"},"image":{"@id":"https:\/\/ablawyers.es\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.instagram.com\/ablawyers\/","https:\/\/www.linkedin.com\/company\/ab-lawyers-es\/"]}]}},"_links":{"self":[{"href":"https:\/\/ablawyers.es\/en\/wp-json\/wp\/v2\/pages\/1844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ablawyers.es\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ablawyers.es\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ablawyers.es\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ablawyers.es\/en\/wp-json\/wp\/v2\/comments?post=1844"}],"version-history":[{"count":177,"href":"https:\/\/ablawyers.es\/en\/wp-json\/wp\/v2\/pages\/1844\/revisions"}],"predecessor-version":[{"id":3435,"href":"https:\/\/ablawyers.es\/en\/wp-json\/wp\/v2\/pages\/1844\/revisions\/3435"}],"wp:attachment":[{"href":"https:\/\/ablawyers.es\/en\/wp-json\/wp\/v2\/media?parent=1844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}