{"id":15619,"date":"2026-10-20T10:21:27","date_gmt":"2026-10-20T14:21:27","guid":{"rendered":"https:\/\/staging.come2holiday.com\/publicar-hotel\/"},"modified":"2026-10-20T10:21:27","modified_gmt":"2026-10-20T14:21:27","slug":"publicar-hotel","status":"publish","type":"page","link":"https:\/\/staging.come2holiday.com\/es\/publicar-hotel\/","title":{"rendered":"Publica tu hotel paso a paso"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row css=\u00bb.vc_custom_1785419769685{margin-bottom: 20px !important;}\u00bb][vc_column][vc_column_text css=\u00bb\u00bb]\n        <!-- LOGIN MODAL DISABLED FOR DESIGN TESTING - Uncomment to re-enable -->\n        <!--\n        <div id=\"login-page\" style=\"display: none; align-items: center; justify-content: center; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 9999;\">\n            <div style=\"background: white; border-radius: 12px; padding: 40px; max-width: 420px; width: 90%; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); animation: slideIn 0.3s ease-out;\">\n                <div style=\"text-align: center;\">\n                    <h1 style=\"font-size: 28px; font-weight: 700; color: #222; margin: 0 0 8px 0;\">Publica tu propiedad<\/h1>\n                    <p style=\"font-size: 14px; color: #666; margin: 0 0 30px 0; line-height: 1.6;\">Inicia sesi\u00f3n con tu cuenta social para comenzar<\/p>\n                    <div id=\"email-auth-section\" style=\"background: white; padding: 0;\">\n                        <button id=\"google-login-btn\" type=\"button\">\n                            <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z\" fill=\"#4285F4\"\/><path d=\"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z\" fill=\"#34A853\"\/><path d=\"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z\" fill=\"#FBBC05\"\/><path d=\"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z\" fill=\"#EA4335\"\/><\/svg>\n                            Google\n                        <\/button>\n                        <button id=\"facebook-login-btn\" type=\"button\">\n                            <svg width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"#1877F2\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z\"\/><\/svg>\n                            Facebook\n                        <\/button>\n                    <\/div>\n                    <p style=\"font-size: 11px; color: #999; margin: 20px 0 0 0; line-height: 1.6;\">By signing in, you agree to our<br>Terms of Service and Privacy Policy<\/p>\n                <\/div>\n            <\/div>\n        <\/div>\n        <style>\n            @keyframes slideIn { from { opacity: 0; transform: translateY(-50px); } to { opacity: 1; transform: translateY(0); } }\n            #login-page button:hover { border-color: #00aeef !important; background-color: #f8f9ff !important; box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1) !important; }\n        <\/style>\n        -->\n\n        <div id=\"form-page\" style=\"display: block;\" data-page-mode=\"hotel-listing\">\n        <div class=\"form-wrapper\">\n            <!-- Header -->\n            <div class=\"form-header\">\n                <!-- <div class=\"form-logo\">\u2302<\/div> -->\n                <a href=\"#\" class=\"save-exit\" style=\"display:none;\">Guardar y salir<\/a>\n            <\/div>\n\n            <!-- Main Content -->\n            <div class=\"form-content\">\n                <div class=\"form-container\" style=\"position: relative;\">                    <!-- Step 1 -->\n                    <div class=\"step-page active\" data-step=\"1\">\n                        <div class=\"step-indicator\">\n                            <div class=\"step-label\">Paso 1<\/div>\n                        <\/div>\n\n                        <div class=\"step-content single-column\">\n                            <div class=\"step-text-content\">\n                                <h1>\u00bfQu\u00e9 tipo de socio eres?<\/h1>\n\n                                <div class=\"card-options\" data-field-name=\"partner_type\">\n                                    <div class=\"option-card\" data-value=\"hotel\">\n                                        <div class=\"card-content\">\n                                            <div class=\"card-text\">\n                                                <h3>Hotel<\/h3>\n                                                <p>Un hotel con gesti\u00f3n profesional.<\/p>\n                                            <\/div>\n                                            <div class=\"card-icon\">\n                                                <i class=\"fa-solid fa-hotel\"><\/i>\n                                            <\/div>\n                                        <\/div>\n                                    <\/div>\n\n                                    <div class=\"option-card\" data-value=\"property_manager\">\n                                        <div class=\"card-content\">\n                                            <div class=\"card-text\">\n                                                <h3>Administrador de propiedades<\/h3>\n                                                <p>Administras propiedades en nombre de sus due\u00f1os.<\/p>\n                                            <\/div>\n                                            <div class=\"card-icon\">\n                                                <i class=\"fa-solid fa-user-tie\"><\/i>\n                                            <\/div>\n                                        <\/div>\n                                    <\/div>\n\n                                    <div class=\"option-card\" data-value=\"boutique_hotel\">\n                                        <div class=\"card-content\">\n                                            <div class=\"card-text\">\n                                                <h3>Hotel boutique<\/h3>\n                                                <p>Un hotel independiente, peque\u00f1o y con estilo.<\/p>\n                                            <\/div>\n                                            <div class=\"card-icon\">\n                                                <i class=\"fa-solid fa-building\"><\/i>\n                                            <\/div>\n                                        <\/div>\n                                    <\/div>\n\n                                    <div class=\"option-card\" data-value=\"property_owner\">\n                                        <div class=\"card-content\">\n                                            <div class=\"card-text\">\n                                                <h3>Propietario<\/h3>\n                                                <p>Eres due\u00f1o y publicas tu propia propiedad.<\/p>\n                                            <\/div>\n                                            <div class=\"card-icon\">\n                                                <i class=\"fa-solid fa-house-user\"><\/i>\n                                            <\/div>\n                                        <\/div>\n                                    <\/div>\n                                <\/div>\n                                <!-- Hidden input to store selected value -->\n                                <input type=\"hidden\" id=\"partner_type\" name=\"partner_type\" value=\"\">\n                            <\/div>\n                        <\/div>\n                    <\/div>\n\n                    <!-- Step 2 -->\n                    <div class=\"step-page\" data-step=\"2\">\n                        <div class=\"step-indicator\">\n                            <div class=\"step-label\">Paso 2<\/div>\n                        <\/div>\n\n                        <div class=\"step-content single-column\">\n                            <div class=\"step-text-content\">\n                                <h1>Tus datos de contacto<\/h1>\n                                <p>Cu\u00e9ntanos un poco sobre ti para que podamos contactarte.<\/p>\n\n                                <div class=\"address-form-wrapper\">\n                                    <div style=\"display: flex; gap: 20px;\">\n                                        <div class=\"form-field\">\n                                            <label for=\"contact_first_name\">Nombre<\/label>\n                                            <input type=\"text\" id=\"contact_first_name\" name=\"contact_first_name\" placeholder=\"Nombre\" required>\n                                        <\/div>\n                                        <div class=\"form-field\">\n                                            <label for=\"contact_last_name\">Apellido<\/label>\n                                            <input type=\"text\" id=\"contact_last_name\" name=\"contact_last_name\" placeholder=\"Apellido\" required>\n                                        <\/div>\n                                    <\/div>\n                                    <div style=\"display: flex; gap: 20px;\">\n                                        <div class=\"form-field\">\n                                            <label for=\"contact_email\">Correo electr\u00f3nico<\/label>\n                                            <input type=\"email\" id=\"contact_email\" name=\"contact_email\" placeholder=\"Correo electr\u00f3nico\" required>\n                                        <\/div>\n                                        <div class=\"form-field\">\n                                            <label for=\"contact_phone\">Tel\u00e9fono<\/label>\n                                            <input type=\"tel\" id=\"contact_phone\" name=\"contact_phone\" placeholder=\"N\u00famero de tel\u00e9fono\" required>\n                                        <\/div>\n                                    <\/div>\n                                    <div style=\"display: flex; gap: 20px;\">\n                                        <div class=\"form-field\" style=\"flex: 210%;\">\n                                            <label for=\"contact_address\">Direcci\u00f3n<\/label>\n                                            <input type=\"text\" id=\"contact_address\" name=\"contact_address\" placeholder=\"Empieza a escribir tu direcci\u00f3n...\" required autocomplete=\"off\">\n                                        <\/div>\n                                        <div class=\"form-field\">\n                                            <label for=\"contact_postal_code\">C\u00f3digo postal<\/label>\n                                            <input type=\"text\" id=\"contact_postal_code\" name=\"contact_postal_code\" placeholder=\"C\u00f3digo postal\">\n                                        <\/div>\n                                    <\/div>\n                                    <div style=\"display: flex; gap: 20px;\">\n                                        <div class=\"form-field\">\n                                            <label for=\"contact_city\">Ciudad<\/label>\n                                            <input type=\"text\" id=\"contact_city\" name=\"contact_city\" placeholder=\"Ciudad\" required>\n                                        <\/div>\n                                        <div class=\"form-field\">\n                                            <label for=\"contact_state\">Estado<\/label>\n                                            <input type=\"text\" id=\"contact_state\" name=\"contact_state\" placeholder=\"Estado \/ Provincia\">\n                                        <\/div>\n                                        <div class=\"form-field\">\n                                            <label for=\"contact_country\">Pa\u00eds<\/label>\n                                            <input type=\"text\" id=\"contact_country\" name=\"contact_country\" placeholder=\"Pa\u00eds\" required>\n                                        <\/div>\n                                    <\/div>\n                                <\/div>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n\n                    <!-- Step 3 - Integration (for Hotel \/ Property Manager \/ Boutique Hotel) -->\n                    <div class=\"step-page\" data-step=\"integration\">\n                        <div class=\"step-indicator\">\n                            <div class=\"step-label\">Paso 3<\/div>\n                        <\/div>\n\n                        <div class=\"step-content single-column\">\n                            <div class=\"step-text-content\">\n                                <h1 style=\"text-align: start;\">Elige tu m\u00e9todo de integraci\u00f3n<\/h1>\n                                <p>Elige c\u00f3mo quieres conectar y administrar tus propiedades.<\/p>\n\n                                <div class=\"card-options\" data-field-name=\"integration_type\" style=\"display: flex; flex-direction: column; gap: 16px; margin-top: 32px; max-width: 600px;\">\n\n                                    <!-- Channel Connector -->\n                                    <div class=\"option-card\" data-value=\"channel_connector\" style=\"display: flex; align-items: flex-start; gap: 20px; padding: 24px; border: 2px solid #dddddd; border-radius: 12px; cursor: pointer; transition: all 0.2s; background-color: #ffffff;\" tabindex=\"0\">\n                                        <div style=\"flex-shrink: 0; width: 48px; height: 48px; border-radius: 10px; background-color: #f5f5f5; display: flex; align-items: center; justify-content: center;\">\n                                            <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#222\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                <rect x=\"2\" y=\"7\" width=\"6\" height=\"10\" rx=\"2\"><\/rect>\n                                                <rect x=\"16\" y=\"7\" width=\"6\" height=\"10\" rx=\"2\"><\/rect>\n                                                <path d=\"M8 12h8\"><\/path>\n                                                <circle cx=\"12\" cy=\"12\" r=\"1\" fill=\"#222\"><\/circle>\n                                            <\/svg>\n                                        <\/div>\n                                        <div>\n                                            <h3 style=\"font-size: 17px; font-weight: 600; color: #222; margin: 0 0 6px 0;\">Conector de canales<\/h3>\n                                            <p style=\"font-size: 14px; color: #717171; margin: 0; line-height: 1.5;\">Sincroniza tu propiedad autom\u00e1ticamente en varios canales de reserva. Ideal si ya publicas en agencias de viajes en l\u00ednea.<\/p>\n                                        <\/div>\n                                    <\/div>\n\n                                    <!-- APIs -->\n                                    <div class=\"option-card\" data-value=\"api\" style=\"display: flex; align-items: flex-start; gap: 20px; padding: 24px; border: 2px solid #dddddd; border-radius: 12px; cursor: pointer; transition: all 0.2s; background-color: #ffffff;\" tabindex=\"0\">\n                                        <div style=\"flex-shrink: 0; width: 48px; height: 48px; border-radius: 10px; background-color: #f5f5f5; display: flex; align-items: center; justify-content: center;\">\n                                            <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#222\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                <polyline points=\"16 18 22 12 16 6\"><\/polyline>\n                                                <polyline points=\"8 6 2 12 8 18\"><\/polyline>\n                                            <\/svg>\n                                        <\/div>\n                                        <div>\n                                            <h3 style=\"font-size: 17px; font-weight: 600; color: #222; margin: 0 0 6px 0;\">APIs<\/h3>\n                                            <p style=\"font-size: 14px; color: #717171; margin: 0; line-height: 1.5;\">Conecta directamente con nuestra API REST para tener control total sobre los datos, la disponibilidad y las tarifas de tu propiedad. Ideal para equipos t\u00e9cnicos.<\/p>\n                                        <\/div>\n                                    <\/div>\n\n                                    <!-- Manual -->\n                                    <div class=\"option-card\" data-value=\"manual\" style=\"display: flex; align-items: flex-start; gap: 20px; padding: 24px; border: 2px solid #dddddd; border-radius: 12px; cursor: pointer; transition: all 0.2s; background-color: #ffffff;\" tabindex=\"0\">\n                                        <div style=\"flex-shrink: 0; width: 48px; height: 48px; border-radius: 10px; background-color: #f5f5f5; display: flex; align-items: center; justify-content: center;\">\n                                            <svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#222\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                <path d=\"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z\"><\/path>\n                                                <polyline points=\"14 2 14 8 20 8\"><\/polyline>\n                                                <line x1=\"16\" y1=\"13\" x2=\"8\" y2=\"13\"><\/line>\n                                                <line x1=\"16\" y1=\"17\" x2=\"8\" y2=\"17\"><\/line>\n                                                <polyline points=\"10 9 9 9 8 9\"><\/polyline>\n                                            <\/svg>\n                                        <\/div>\n                                        <div>\n                                            <h3 style=\"font-size: 17px; font-weight: 600; color: #222; margin: 0 0 6px 0;\">Manual<\/h3>\n                                            <p style=\"font-size: 14px; color: #717171; margin: 0; line-height: 1.5;\">Ingresa manualmente la informaci\u00f3n de tu propiedad, las tarifas y los enlaces iCal. Perfecto para empezar r\u00e1pido sin configuraci\u00f3n t\u00e9cnica.<\/p>\n                                            <p style=\"font-size: 12px; color: #999; margin: 6px 0 0 0;\">Incluye: datos de la propiedad &middot; plan de tarifas &middot; iCal<\/p>\n                                        <\/div>\n                                    <\/div>\n\n                                <\/div>\n\n                                <input type=\"hidden\" id=\"integration_type\" name=\"integration_type\" value=\"\">\n                            <\/div>\n                        <\/div>\n                    <\/div>\n\n                    <!-- Step 3 - Property Owner flow -->\n                    <div class=\"step-page\" data-step=\"3\">\n                        <div class=\"step-indicator\">\n                            <div class=\"step-label\">Paso 3<\/div>\n                        <\/div>\n\n                        <div class=\"step-content single-column\">\n                            <div class=\"step-text-content\">\n                                <h1>Cu\u00e9ntanos sobre tu propiedad<\/h1>\n                                <p>Indica el t\u00edtulo de tu propiedad, las fotos y los datos b\u00e1sicos.<\/p>\n\n                                <div class=\"address-form-wrapper\">\n                                    <!-- Property Title -->\n                                    <div class=\"form-field\">\n                                        <label for=\"property_title\">T\u00edtulo de la propiedad<\/label>\n                                        <input type=\"text\" id=\"property_title\" name=\"property_title\" placeholder=\"Ingresa el t\u00edtulo de la propiedad\" required>\n                                    <\/div>\n\n                                    <!-- Photo Upload -->\n                                    <div class=\"form-field\">\n                                        <label>Im\u00e1genes de la propiedad <span style=\"color:#717171; font-size: 13px;\">(m\u00ednimo 5, m\u00e1ximo 5 MB cada una)<\/span><\/label>\n                                        <div class=\"prop-photo-upload-box\" style=\"border: 2px dashed #dddddd; border-radius: 12px; padding: 20px; text-align: center; cursor: pointer; transition: all 0.3s ease; background-color: #fafafa; margin-top: 8px;\">\n                                            <div style=\"display: flex; justify-content: center; margin-bottom: 12px;\">\n                                                <svg width=\"48\" height=\"48\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#717171\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                    <path d=\"M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z\"><\/path>\n                                                    <circle cx=\"12\" cy=\"13\" r=\"4\"><\/circle>\n                                                <\/svg>\n                                            <\/div>\n                                            <p style=\"font-size: 14px; color: #717171; margin: 0;\">Arrastra las fotos aqu\u00ed o haz clic para subirlas<\/p>\n                                            <input type=\"file\" id=\"prop_photos\" name=\"prop_photos\" accept=\"image\/*\" multiple style=\"display: none;\">\n                                        <\/div>\n                                        <div id=\"prop-photos-preview\" style=\"display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 12px; margin-top: 12px;\"><\/div>\n                                        <div id=\"prop-photo-status\" style=\"margin-top: 10px; font-size: 13px; font-weight: 500;\"><\/div>\n                                        <input type=\"hidden\" id=\"prop_photos_data\" name=\"prop_photos_data\" value=\"\">\n                                    <\/div>\n\n                                    <!-- Counters -->\n                                    <div style=\"display: flex; flex-direction: column; gap: 15px; margin-top: 20px;\">\n                                        <div style=\"display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 1px solid #ebebeb;\">\n                                            <label style=\"font-size: 20px; font-weight: 500; color: #000; margin: 0;\">Hu\u00e9spedes<\/label>\n                                            <div style=\"display: flex; align-items: center; gap: 12px;\">\n                                                <button type=\"button\" onclick=\"decrementCounter('guests')\" style=\"width: 36px; height: 36px; border: 2px solid #dddddd; border-radius: 8px; background-color: #ffffff; cursor: pointer; font-size: 20px; color: #222; transition: all 0.2s; display: flex; align-items: center; justify-content: center;\"><i class=\"fa-solid fa-minus\"><\/i><\/button>\n                                                <span id=\"guests-display\" style=\"font-size: 18px; font-weight: 600; color: #222; width: 40px; text-align: center;\">1<\/span>\n                                                <button type=\"button\" onclick=\"incrementCounter('guests')\" style=\"width: 36px; height: 36px; border: 2px solid #dddddd; border-radius: 8px; background-color: #ffffff; cursor: pointer; font-size: 20px; color: #222; transition: all 0.2s; display: flex; align-items: center; justify-content: center;\"><i class=\"fa-solid fa-plus\"><\/i><\/button>\n                                            <\/div>\n                                        <\/div>\n                                        <div style=\"display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 1px solid #ebebeb;\">\n                                            <label style=\"font-size: 20px; font-weight: 500; color: #000; margin: 0;\">Habitaciones<\/label>\n                                            <div style=\"display: flex; align-items: center; gap: 12px;\">\n                                                <button type=\"button\" onclick=\"decrementCounter('bedrooms')\" style=\"width: 36px; height: 36px; border: 2px solid #dddddd; border-radius: 8px; background-color: #ffffff; cursor: pointer; font-size: 20px; color: #222; transition: all 0.2s; display: flex; align-items: center; justify-content: center;\"><i class=\"fa-solid fa-minus\"><\/i><\/button>\n                                                <span id=\"bedrooms-display\" style=\"font-size: 18px; font-weight: 600; color: #222; width: 40px; text-align: center;\">1<\/span>\n                                                <button type=\"button\" onclick=\"incrementCounter('bedrooms')\" style=\"width: 36px; height: 36px; border: 2px solid #dddddd; border-radius: 8px; background-color: #ffffff; cursor: pointer; font-size: 20px; color: #222; transition: all 0.2s; display: flex; align-items: center; justify-content: center;\"><i class=\"fa-solid fa-plus\"><\/i><\/button>\n                                            <\/div>\n                                        <\/div>\n                                        <div style=\"display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 1px solid #ebebeb;\">\n                                            <label style=\"font-size: 20px; font-weight: 500; color: #000; margin: 0;\">Camas<\/label>\n                                            <div style=\"display: flex; align-items: center; gap: 12px;\">\n                                                <button type=\"button\" onclick=\"decrementCounter('beds')\" style=\"width: 36px; height: 36px; border: 2px solid #dddddd; border-radius: 8px; background-color: #ffffff; cursor: pointer; font-size: 20px; color: #222; transition: all 0.2s; display: flex; align-items: center; justify-content: center;\"><i class=\"fa-solid fa-minus\"><\/i><\/button>\n                                                <span id=\"beds-display\" style=\"font-size: 18px; font-weight: 600; color: #222; width: 40px; text-align: center;\">1<\/span>\n                                                <button type=\"button\" onclick=\"incrementCounter('beds')\" style=\"width: 36px; height: 36px; border: 2px solid #dddddd; border-radius: 8px; background-color: #ffffff; cursor: pointer; font-size: 20px; color: #222; transition: all 0.2s; display: flex; align-items: center; justify-content: center;\"><i class=\"fa-solid fa-plus\"><\/i><\/button>\n                                            <\/div>\n                                        <\/div>\n                                        <div style=\"display: flex; justify-content: space-between; align-items: center;\">\n                                            <label style=\"font-size: 20px; font-weight: 500; color: #000; margin: 0;\">Ba\u00f1os<\/label>\n                                            <div style=\"display: flex; align-items: center; gap: 12px;\">\n                                                <button type=\"button\" onclick=\"decrementCounter('bathrooms')\" style=\"width: 36px; height: 36px; border: 2px solid #dddddd; border-radius: 8px; background-color: #ffffff; cursor: pointer; font-size: 20px; color: #222; transition: all 0.2s; display: flex; align-items: center; justify-content: center;\"><i class=\"fa-solid fa-minus\"><\/i><\/button>\n                                                <span id=\"bathrooms-display\" style=\"font-size: 18px; font-weight: 600; color: #222; width: 40px; text-align: center;\">1<\/span>\n                                                <button type=\"button\" onclick=\"incrementCounter('bathrooms')\" style=\"width: 36px; height: 36px; border: 2px solid #dddddd; border-radius: 8px; background-color: #ffffff; cursor: pointer; font-size: 20px; color: #222; transition: all 0.2s; display: flex; align-items: center; justify-content: center;\"><i class=\"fa-solid fa-plus\"><\/i><\/button>\n                                            <\/div>\n                                        <\/div>\n                                        <input type=\"hidden\" id=\"guests\" name=\"guests\" value=\"1\">\n                                        <input type=\"hidden\" id=\"bedrooms\" name=\"bedrooms\" value=\"1\">\n                                        <input type=\"hidden\" id=\"beds\" name=\"beds\" value=\"1\">\n                                        <input type=\"hidden\" id=\"bathrooms\" name=\"bathrooms\" value=\"1\">\n                                    <\/div>\n                                <\/div>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n\n                    <!-- Step 4 -->\n                    <div class=\"step-page\" data-step=\"4\">\n                        <div class=\"step-indicator\">\n                            <div class=\"step-label\">Paso 4<\/div>\n                        <\/div>\n\n                        <div class=\"step-content single-column\">\n                            <div class=\"step-text-content\">\n                                <h1 style=\"text-align: start\">Cu\u00e9ntales a los hu\u00e9spedes qu\u00e9 ofrece tu alojamiento<\/h1>\n                                <p>Selecciona las comodidades y servicios de tu propiedad para ayudar a los hu\u00e9spedes a decidir.<\/p>\n                                \n                                <div class=\"amenities-grid\" style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 20px; margin-top: 40px;\">\n                                    <!-- Wi-Fi -->\n                                    <label class=\"amenity-item\" style=\"cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px;\">\n                                        <div style=\"width: 50px; height: 50px; border-radius: 12px; border: 2px solid #dddddd; display: flex; align-items: center; justify-content: center; transition: all 0.2s;\">\n                                            <!-- <svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                <path d=\"M5 12.55a11 11 0 0 1 14.08 0M1.42 9a16 16 0 0 1 21.16 0M8.53 16.11a6 6 0 0 1 6.94 0\"><\/path>\n                                            <\/svg> -->\n                                            <i class=\"fa-solid fa-wifi\"><\/i>\n                                        <\/div>\n                                        <input type=\"checkbox\" name=\"amenities\" value=\"wifi\" style=\"display: none;\">\n                                        <span style=\"font-size: 12px; font-weight: 500; color: #222; text-align: center;\">Wi-Fi<\/span>\n                                    <\/label>\n\n                                    <!-- Kitchen -->\n                                    <label class=\"amenity-item\" style=\"cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px;\">\n                                        <div style=\"width: 50px; height: 50px; border-radius: 12px; border: 2px solid #dddddd; display: flex; align-items: center; justify-content: center; transition: all 0.2s;\">\n                                            <!-- <svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                <line x1=\"6\" y1=\"5\" x2=\"6\" y2=\"19\"><\/line><line x1=\"12\" y1=\"5\" x2=\"12\" y2=\"19\"><\/line><line x1=\"18\" y1=\"5\" x2=\"18\" y2=\"19\"><\/line><path d=\"M3 9h18\"><\/path>\n                                            <\/svg> -->\n                                            <i class=\"fa-solid fa-kitchen-set\"><\/i>\n                                        <\/div>\n                                        <input type=\"checkbox\" name=\"amenities\" value=\"kitchen\" style=\"display: none;\">\n                                        <span style=\"font-size: 12px; font-weight: 500; color: #222; text-align: center;\">Cocina<\/span>\n                                    <\/label>\n\n                                    <!-- Air Conditioning -->\n                                    <label class=\"amenity-item\" style=\"cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px;\">\n                                        <div style=\"width: 50px; height: 50px; border-radius: 12px; border: 2px solid #dddddd; display: flex; align-items: center; justify-content: center; transition: all 0.2s;\">\n                                            <!-- <svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                <path d=\"M7 7h10\"><\/path><path d=\"M7 11h10\"><\/path><path d=\"M7 15h10\"><\/path><rect x=\"2\" y=\"4\" width=\"20\" height=\"16\" rx=\"2\"><\/rect>\n                                            <\/svg> -->\n                                            <i class=\"fa-regular fa-snowflake\"><\/i>\n                                        <\/div>\n                                        <input type=\"checkbox\" name=\"amenities\" value=\"air_conditioning\" style=\"display: none;\">\n                                        <span style=\"font-size: 12px; font-weight: 500; color: #222; text-align: center;\">Aire acondicionado<\/span>\n                                    <\/label>\n\n                                    <!-- Heating -->\n                                    <label class=\"amenity-item\" style=\"cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px;\">\n                                        <div style=\"width: 50px; height: 50px; border-radius: 12px; border: 2px solid #dddddd; display: flex; align-items: center; justify-content: center; transition: all 0.2s;\">\n                                            <svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                <path d=\"M12 2v20\"><\/path><path d=\"M7 7h10\"><\/path><path d=\"M7 12h10\"><\/path><path d=\"M7 17h10\"><\/path>\n                                            <\/svg>\n                                        <\/div>\n                                        <input type=\"checkbox\" name=\"amenities\" value=\"heating\" style=\"display: none;\">\n                                        <span style=\"font-size: 12px; font-weight: 500; color: #222; text-align: center;\">Calefacci\u00f3n<\/span>\n                                    <\/label>\n\n                                    <!-- Washer -->\n                                    <label class=\"amenity-item\" style=\"cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px;\">\n                                        <div style=\"width: 50px; height: 50px; border-radius: 12px; border: 2px solid #dddddd; display: flex; align-items: center; justify-content: center; transition: all 0.2s;\">\n                                            <svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                <rect x=\"3\" y=\"4\" width=\"18\" height=\"16\" rx=\"2\"><\/rect><circle cx=\"12\" cy=\"12\" r=\"5\"><\/circle><line x1=\"12\" y1=\"8\" x2=\"12\" y2=\"8.01\"><\/line>\n                                            <\/svg>\n                                        <\/div>\n                                        <input type=\"checkbox\" name=\"amenities\" value=\"washer\" style=\"display: none;\">\n                                        <span style=\"font-size: 12px; font-weight: 500; color: #222; text-align: center;\">Lavadora<\/span>\n                                    <\/label>\n\n                                    <!-- Dryer -->\n                                    <label class=\"amenity-item\" style=\"cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px;\">\n                                        <div style=\"width: 50px; height: 50px; border-radius: 12px; border: 2px solid #dddddd; display: flex; align-items: center; justify-content: center; transition: all 0.2s;\">\n                                            <svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                <rect x=\"3\" y=\"4\" width=\"18\" height=\"16\" rx=\"2\"><\/rect><circle cx=\"12\" cy=\"12\" r=\"3\"><\/circle>\n                                            <\/svg>\n                                        <\/div>\n                                        <input type=\"checkbox\" name=\"amenities\" value=\"dryer\" style=\"display: none;\">\n                                        <span style=\"font-size: 12px; font-weight: 500; color: #222; text-align: center;\">Secadora<\/span>\n                                    <\/label>\n\n                                    <!-- TV -->\n                                    <label class=\"amenity-item\" style=\"cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px;\">\n                                        <div style=\"width: 50px; height: 50px; border-radius: 12px; border: 2px solid #dddddd; display: flex; align-items: center; justify-content: center; transition: all 0.2s;\">\n                                            <svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                <rect x=\"2\" y=\"2\" width=\"20\" height=\"15\" rx=\"2\"><\/rect><path d=\"M8 20h8\"><\/path><path d=\"M10 17h4\"><\/path>\n                                            <\/svg>\n                                        <\/div>\n                                        <input type=\"checkbox\" name=\"amenities\" value=\"tv\" style=\"display: none;\">\n                                        <span style=\"font-size: 12px; font-weight: 500; color: #222; text-align: center;\">TV<\/span>\n                                    <\/label>\n\n                                    <!-- Parking -->\n                                    <label class=\"amenity-item\" style=\"cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px;\">\n                                        <div style=\"width: 50px; height: 50px; border-radius: 12px; border: 2px solid #dddddd; display: flex; align-items: center; justify-content: center; transition: all 0.2s;\">\n                                            <svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                <rect x=\"4\" y=\"3\" width=\"16\" height=\"18\" rx=\"2\"><\/rect><path d=\"M8 7h8M7 13h10M8 17h8\"><\/path>\n                                            <\/svg>\n                                        <\/div>\n                                        <input type=\"checkbox\" name=\"amenities\" value=\"parking\" style=\"display: none;\">\n                                        <span style=\"font-size: 12px; font-weight: 500; color: #222; text-align: center;\">Estacionamiento<\/span>\n                                    <\/label>\n\n                                    <!-- Pool -->\n                                    <label class=\"amenity-item\" style=\"cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px;\">\n                                        <div style=\"width: 50px; height: 50px; border-radius: 12px; border: 2px solid #dddddd; display: flex; align-items: center; justify-content: center; transition: all 0.2s;\">\n                                            <svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                <rect x=\"2\" y=\"8\" width=\"20\" height=\"12\" rx=\"2\"><\/rect><path d=\"M7 12h10\"><\/path><path d=\"M12 8v4\"><\/path>\n                                            <\/svg>\n                                        <\/div>\n                                        <input type=\"checkbox\" name=\"amenities\" value=\"pool\" style=\"display: none;\">\n                                        <span style=\"font-size: 14px; font-weight: 500; color: #222; text-align: center;\">Piscina<\/span>\n                                    <\/label>\n\n                                    <!-- Hot Tub -->\n                                    <label class=\"amenity-item\" style=\"cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px;\">\n                                        <div style=\"width: 50px; height: 50px; border-radius: 12px; border: 2px solid #dddddd; display: flex; align-items: center; justify-content: center; transition: all 0.2s;\">\n                                            <svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                <circle cx=\"6\" cy=\"10\" r=\"3\"><\/circle><circle cx=\"12\" cy=\"10\" r=\"3\"><\/circle><circle cx=\"18\" cy=\"10\" r=\"3\"><\/circle><path d=\"M4 15h16a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2z\"><\/path>\n                                            <\/svg>\n                                        <\/div>\n                                        <input type=\"checkbox\" name=\"amenities\" value=\"hot_tub\" style=\"display: none;\">\n                                        <span style=\"font-size: 14px; font-weight: 500; color: #222; text-align: center;\">Jacuzzi<\/span>\n                                    <\/label>\n\n                                    <!-- Gym -->\n                                    <label class=\"amenity-item\" style=\"cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px;\">\n                                        <div style=\"width: 50px; height: 50px; border-radius: 12px; border: 2px solid #dddddd; display: flex; align-items: center; justify-content: center; transition: all 0.2s;\">\n                                            <svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                <line x1=\"6\" y1=\"12\" x2=\"18\" y2=\"12\"><\/line><line x1=\"4\" y1=\"8\" x2=\"4\" y2=\"16\"><\/line><line x1=\"20\" y1=\"8\" x2=\"20\" y2=\"16\"><\/line><circle cx=\"12\" cy=\"6\" r=\"2\"><\/circle><circle cx=\"12\" cy=\"18\" r=\"2\"><\/circle>\n                                            <\/svg>\n                                        <\/div>\n                                        <input type=\"checkbox\" name=\"amenities\" value=\"gym\" style=\"display: none;\">\n                                        <span style=\"font-size: 14px; font-weight: 500; color: #222; text-align: center;\">Gimnasio<\/span>\n                                    <\/label>\n\n                                    <!-- Workspace -->\n                                    <label class=\"amenity-item\" style=\"cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px;\">\n                                        <div style=\"width: 50px; height: 50px; border-radius: 12px; border: 2px solid #dddddd; display: flex; align-items: center; justify-content: center; transition: all 0.2s;\">\n                                            <svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                <rect x=\"2\" y=\"3\" width=\"20\" height=\"14\" rx=\"2\"><\/rect><path d=\"M2 17h20\"><\/path><line x1=\"6\" y1=\"21\" x2=\"18\" y2=\"21\"><\/line>\n                                            <\/svg>\n                                        <\/div>\n                                        <input type=\"checkbox\" name=\"amenities\" value=\"workspace\" style=\"display: none;\">\n                                        <span style=\"font-size: 14px; font-weight: 500; color: #222; text-align: center;\">Espacio de trabajo<\/span>\n                                    <\/label>\n\n                                    <!-- Fireplace -->\n                                    <label class=\"amenity-item\" style=\"cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px;\">\n                                        <div style=\"width: 50px; height: 50px; border-radius: 12px; border: 2px solid #dddddd; display: flex; align-items: center; justify-content: center; transition: all 0.2s;\">\n                                            <svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                <path d=\"M12 2v15M7 10s-1-2 0-4c1-2 2-3 5-3s4 1 5 3c1 2 0 4 0 4\"><\/path><path d=\"M8 22h8a2 2 0 0 0 2-2v-3H6v3a2 2 0 0 0 2 2z\"><\/path>\n                                            <\/svg>\n                                        <\/div>\n                                        <input type=\"checkbox\" name=\"amenities\" value=\"fireplace\" style=\"display: none;\">\n                                        <span style=\"font-size: 14px; font-weight: 500; color: #222; text-align: center;\">Chimenea<\/span>\n                                    <\/label>\n\n                                    <!-- Crib -->\n                                    <label class=\"amenity-item\" style=\"cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px;\">\n                                        <div style=\"width: 50px; height: 50px; border-radius: 12px; border: 2px solid #dddddd; display: flex; align-items: center; justify-content: center; transition: all 0.2s;\">\n                                            <svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                <rect x=\"3\" y=\"5\" width=\"18\" height=\"14\" rx=\"2\"><\/rect><path d=\"M7 8v8M10 8v8M14 8v8M17 8v8\"><\/path>\n                                            <\/svg>\n                                        <\/div>\n                                        <input type=\"checkbox\" name=\"amenities\" value=\"crib\" style=\"display: none;\">\n                                        <span style=\"font-size: 14px; font-weight: 500; color: #222; text-align: center;\">Cuna<\/span>\n                                    <\/label>\n\n                                    <!-- High Chair -->\n                                    <label class=\"amenity-item\" style=\"cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px;\">\n                                        <div style=\"width: 50px; height: 50px; border-radius: 12px; border: 2px solid #dddddd; display: flex; align-items: center; justify-content: center; transition: all 0.2s;\">\n                                            <svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                <path d=\"M6 8h12M8 8v10M16 8v10M8 18h8M5 8l2-3h10l2 3\"><\/path>\n                                            <\/svg>\n                                        <\/div>\n                                        <input type=\"checkbox\" name=\"amenities\" value=\"high_chair\" style=\"display: none;\">\n                                        <span style=\"font-size: 14px; font-weight: 500; color: #222; text-align: center;\">Silla para beb\u00e9<\/span>\n                                    <\/label>\n\n                                    <!-- Essentials -->\n                                    <label class=\"amenity-item\" style=\"cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px;\">\n                                        <div style=\"width: 50px; height: 50px; border-radius: 12px; border: 2px solid #dddddd; display: flex; align-items: center; justify-content: center; transition: all 0.2s;\">\n                                            <svg width=\"28\" height=\"28\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                                <path d=\"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2z\"><\/path><path d=\"M10 17l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z\"><\/path>\n                                            <\/svg>\n                                        <\/div>\n                                        <input type=\"checkbox\" name=\"amenities\" value=\"essentials\" style=\"display: none;\">\n                                        <span style=\"font-size: 14px; font-weight: 500; color: #222; text-align: center;\">Art\u00edculos esenciales<\/span>\n                                    <\/label>\n                                <\/div>\n\n                                <!-- Hidden input to store selected amenities -->\n                                <input type=\"hidden\" id=\"selected_amenities\" name=\"selected_amenities\" value=\"\">\n                            <\/div>\n                        <\/div>\n                    <\/div>\n\n\n                    <!-- Step 5 -->\n                    <div class=\"step-page\" data-step=\"5\">\n                        <div class=\"step-indicator\">\n                            <div class=\"step-label\">Paso 5<\/div>\n                        <\/div>\n\n                        <div class=\"step-content single-column\">\n                            <div class=\"step-text-content\">\n                                <h1 style=\"text-align:start;\">Ahora, configuremos tus tarifas<\/h1>\n                                <p>Define tus tarifas por noche seg\u00fan la temporada para aprovechar al m\u00e1ximo todo el a\u00f1o.<\/p>\n                                \n                                <div class=\"rates-form-wrapper\" style=\"margin-top: 20px; max-width: 700px;\">\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<div style=\"display: flex; gap: 30px;\">\n\t\t\t\t\t\t\t\t\t\t\t\n                                    <!-- Super High Season Rate -->\n                                    <div class=\"form-field\" style=\"margin-bottom: 15px;\">\n                                        <label style=\"display: block; font-size: 20px; font-weight: 500; color: #222; margin-bottom: 12px;\">Tarifa de temporada muy alta<\/label>\n                                        <div style=\"display: flex; align-items: center; gap: 8px;\">\n                                            <span style=\"font-size: 18px; font-weight: 600; color: #222;\">$<\/span>\n                                            <input type=\"number\" id=\"super_high_season_rate\" name=\"super_high_season_rate\" placeholder=\"0\" min=\"0\" step=\"0.01\" required style=\"flex: 1; padding: 12px 16px; font-size: 16px; border: 1px solid #dddddd; border-radius: 8px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; transition: border-color 0.2s;\">\n                                            <span style=\"font-size: 14px; color: #717171; font-weight: 500;\">por noche<\/span>\n                                        <\/div>\n                                    <\/div>\n\n                                    <!-- High Season Rate -->\n                                    <div class=\"form-field\" style=\"margin-bottom: 15px;\">\n                                        <label style=\"display: block; font-size: 20px; font-weight: 500; color: #222; margin-bottom: 12px;\">Tarifa de temporada alta<\/label>\n                                        <div style=\"display: flex; align-items: center; gap: 8px;\">\n                                            <span style=\"font-size: 18px; font-weight: 600; color: #222;\">$<\/span>\n                                            <input type=\"number\" id=\"high_season_rate\" name=\"high_season_rate\" placeholder=\"0\" min=\"0\" step=\"0.01\" required style=\"flex: 1; padding: 12px 16px; font-size: 16px; border: 1px solid #dddddd; border-radius: 8px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; transition: border-color 0.2s;\">\n                                            <span style=\"font-size: 14px; color: #717171; font-weight: 500;\">por noche<\/span>\n                                        <\/div>\n                                    <\/div>\n\n                                    <!-- Mid-Season Rate -->\n                                    <div class=\"form-field\" style=\"margin-bottom: 15px;\">\n                                        <label style=\"display: block; font-size: 20px; font-weight: 500; color: #222; margin-bottom: 12px;\">Tarifa de temporada media<\/label>\n                                        <div style=\"display: flex; align-items: center; gap: 8px;\">\n                                            <span style=\"font-size: 18px; font-weight: 600; color: #222;\">$<\/span>\n                                            <input type=\"number\" id=\"mid_season_rate\" name=\"mid_season_rate\" placeholder=\"0\" min=\"0\" step=\"0.01\" required style=\"flex: 1; padding: 12px 16px; font-size: 16px; border: 1px solid #dddddd; border-radius: 8px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; transition: border-color 0.2s;\">\n                                            <span style=\"font-size: 14px; color: #717171; font-weight: 500;\">por noche<\/span>\n                                        <\/div>\n                                    <\/div>\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<\/div>\n\n                                    <!-- Rate Summary -->\n                                    <div style=\"background-color: #f5f5f5; border-radius: 8px; padding: 10px 16px; margin-top: 20px;\">\n                                        <p style=\"font-size: 13px; color: #717171; margin: 0; line-height: 1.6;\">\n                                           <strong>Consejo:<\/strong> Define tarifas competitivas seg\u00fan tu ubicaci\u00f3n, tus comodidades y la demanda del mercado. Puedes ajustarlas cuando quieras desde tu configuraci\u00f3n.                                        <\/p>\n                                    <\/div>\n                                <\/div>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n\n                    <!-- Step 6 - Final -->\n                    <div class=\"step-page\" data-step=\"6\">\n                        <div class=\"step-indicator\">\n                            <div class=\"step-label\">Paso 6<\/div>\n                        <\/div>\n\n                        <div class=\"step-content single-column\">\n                            <div style=\"display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 400px; text-align: center;\">\n                                <!-- Success Icon -->\n                                <div style=\"margin-bottom: 32px;\">\n                                    <svg width=\"80\" height=\"80\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#00aeef\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                        <polyline points=\"20 6 9 17 4 12\"><\/polyline>\n                                    <\/svg>\n                                <\/div>\n\n                                <!-- Main Heading -->\n                                <h1 style=\"font-size: 48px; font-weight: 700; color: #222; margin: 0 0 24px 0; line-height: 1.2;\">Finaliza y publica<\/h1>\n\n                                <!-- Subtitle -->\n                                <p style=\"font-size: 18px; color: #717171; margin: 0 0 48px 0; line-height: 1.6; max-width: 500px;\">\n                                    Por \u00faltimo, elegir\u00e1s la configuraci\u00f3n de reservas, definir\u00e1s los precios y publicar\u00e1s tu anuncio.                                <\/p>\n\n                                <!-- Success Message -->\n                                <div style=\"background-color: #00aeef0d; border: 1px solid #00aeef; border-radius: 12px; padding: 32px; margin-bottom: 40px; max-width: 500px;\">\n                                    <div style=\"display: flex; justify-content: center; margin-bottom: 16px;\">\n                                        <svg width=\"48\" height=\"48\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#00aeef\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n                                            <path d=\"M22 11.08V12a10 10 0 1 1-5.93-9.14\"><\/path>\n                                            <polyline points=\"22 4 12 14.01 9 11.01\"><\/polyline>\n                                        <\/svg>\n                                    <\/div>\n                                    <h2 style=\"font-size: 20px; font-weight: 600; color: #222; margin: 0 0 12px 0;\">\u00a1Gracias!<\/h2>\n                                    <p style=\"font-size: 16px; color: #222; margin: 0; line-height: 1.6;\">\n                                        Un agente de incorporaci\u00f3n confirmar\u00e1 y publicar\u00e1 tu unidad en un plazo de 24 horas. \u00a1Vas a poder recibir reservas enseguida!                                    <\/p>\n                                <\/div>\n\n                                <!-- Additional Info -->\n                                <p style=\"font-size: 13px; color: #717171; margin-top: 32px; line-height: 1.6;\">\n                                    Te enviaremos un correo de confirmaci\u00f3n con los datos de tu anuncio y los siguientes pasos.                                <\/p>\n\t\t\t\t\t\t\t\t<a href=\"https:\/\/staging.come2holiday.com\/es\/\" style=\"background: linear-gradient(180deg, #FF79C9 0%, #FF47B4 100%); padding: 10px 22px; border-radius: 10px; font-weight: 500; font-size: 16px; color: #fff;\">Volver al inicio<\/a>\n                            <\/div>\n                        <\/div>\n                    <\/div>\n                <\/div>\n            <\/div>\n\n            <!-- Footer Navigation -->\n            <div class=\"form-footer\">\n                <button class=\"btn-back\" id=\"btn-back\" onclick=\"previousStep()\" disabled>Atr\u00e1s<\/button>\n                <button class=\"btn-next\" id=\"btn-next\" onclick=\"nextStep()\">Siguiente<\/button>\n            <\/div>\n        <\/div>\n\n        <!-- Page-mode CSS \u2014 injected only when a known page mode is active. -->\n        <!-- Hides Step 1 cards that don't belong to the current page mode while  -->\n        <!-- keeping the original HTML intact (preserves any future re-use).        -->\n                <style id=\"kv-form-page-mode-css\">\n            \/* Hotel Listing: show only Hotel + Boutique Hotel *\/\n            #form-page[data-page-mode=\"hotel-listing\"] .card-options[data-field-name=\"partner_type\"]\n                .option-card[data-value=\"property_manager\"],\n            #form-page[data-page-mode=\"hotel-listing\"] .card-options[data-field-name=\"partner_type\"]\n                .option-card[data-value=\"property_owner\"] {\n                display: none !important;\n            }\n        <\/style>\n        \n        <script>\n            \/\/ Initialize form on page load \u2014 no authentication required\n            if (document.readyState === 'loading') {\n                document.addEventListener('DOMContentLoaded', function() { initFormStartState(); });\n            } else {\n                \/\/ DOM already ready \u2014 initFormStartState() called at bottom of script\n            }\n\n            \/\/ ========== FLOW-BASED NAVIGATION ==========\n            \/\/ Flow A (Property Owner):  1 \u2192 2 \u2192 3 \u2192 4 \u2192 5 \u2192 6\n            \/\/ Flow B (Others):          1 \u2192 2 \u2192 integration \u2192 6\n            const flows = {\n                property_owner: [1, 2, 3, 4, 5, 6],\n                default:        [1, 2, 'integration', 6]\n            };\n\n            let currentFlow = flows.default;\n            let currentFlowIndex = 0;\n            let currentStep = 1;\n\n            function getFlowForPartnerType(partnerType) {\n                return partnerType === 'property_owner' ? flows.property_owner : flows.default;\n            }\n\n            \/\/ Reads data-page-mode (set by PHP) to decide whether the form should\n            \/\/ start at the original Step 1 or with a filtered Step 1. With the\n            \/\/ current page modes the user always starts at Step 1; the CSS injected\n            \/\/ earlier hides cards that don't belong to the active page mode.\n            function initFormStartState() {\n                \/\/ Always start at Step 1. Step 1 cards are filtered (via inline CSS)\n                \/\/ when [property_listing_form page=\"...\"] is used on the page.\n                showStep(1);\n            }\n\n            function showStep(step) {\n                \/\/ Hide all steps\n                document.querySelectorAll('.step-page').forEach(page => {\n                    page.classList.remove('active');\n                });\n\n                \/\/ Show current step\n                const target = document.querySelector(`[data-step=\"${step}\"]`);\n                if (target) target.classList.add('active');\n\n                \/\/ Update back button.\n                \/\/ Disabled only when on Step 1 (existing rule). Step 2+ always allows Back.\n                document.getElementById('btn-back').disabled = (currentFlowIndex === 0);\n\n                \/\/ Hide footer on final step (step 6)\n                const formFooter = document.querySelector('.form-footer');\n                if (step === 6) {\n                    formFooter.style.display = 'none';\n                } else {\n                    formFooter.style.display = 'flex';\n                    document.getElementById('btn-next').textContent = 'Next';\n                }\n\n                window.scrollTo(0, 0);\n            }\n\n            function nextStep() {\n                if (!validateStep(currentStep)) return;\n\n                \/\/ Re-evaluate flow whenever leaving Step 1 based on the user's selection.\n                if (currentFlowIndex === 0) {\n                    const partnerType = document.getElementById('partner_type')\n                        ? document.getElementById('partner_type').value\n                        : '';\n                    currentFlow = getFlowForPartnerType(partnerType);\n                }\n\n                if (currentFlowIndex < currentFlow.length - 1) {\n                    const nextIndex = currentFlowIndex + 1;\n                    const nextStepId = currentFlow[nextIndex];\n\n                    \/\/ Auto-submit before advancing to the Thank You step\n                    if (nextStepId === 6) {\n                        submitForm(function onSuccess() {\n                            currentFlowIndex = nextIndex;\n                            currentStep = 6;\n                            showStep(6);\n                        });\n                        return;\n                    }\n\n                    currentFlowIndex++;\n                    currentStep = currentFlow[currentFlowIndex];\n                    showStep(currentStep);\n                }\n            }\n\n            function previousStep() {\n                if (currentFlowIndex > 0) {\n                    currentFlowIndex--;\n                    currentStep = currentFlow[currentFlowIndex];\n                    showStep(currentStep);\n                }\n            }\n\n            \/\/ Custom Modal Handler - Define early so submitForm can use it\n            function showModal(title, message, type = 'success', autoClose = true) {\n                \/\/ Remove existing modal if any\n                const existingModal = document.getElementById('custom-modal-overlay');\n                if (existingModal) existingModal.remove();\n\n                \/\/ Create modal overlay\n                const overlay = document.createElement('div');\n                overlay.id = 'custom-modal-overlay';\n                overlay.style.cssText = `\n                    position: fixed;\n                    top: 0;\n                    left: 0;\n                    right: 0;\n                    bottom: 0;\n                    background-color: rgba(0, 0, 0, 0.5);\n                    display: flex;\n                    align-items: center;\n                    justify-content: center;\n                    z-index: 10000;\n                `;\n\n                \/\/ Create modal content\n                const modal = document.createElement('div');\n                modal.style.cssText = `\n                    background-color: white;\n                    border-radius: 12px;\n                    padding: 48px;\n                    max-width: 500px;\n                    width: 90%;\n                    text-align: center;\n                    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);\n                    animation: slideUp 0.3s ease-out;\n                `;\n\n                \/\/ Add icon based on type\n                let iconSVG = '';\n                let titleColor = '#22c55e';\n                let bgColor = '#f0fdf4';\n                let borderColor = '#22c55e';\n\n                if (type === 'success') {\n                    iconSVG = `\n                        <svg width=\"64\" height=\"64\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"${titleColor}\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin: 0 auto 24px;\">\n                            <path d=\"M22 11.08V12a10 10 0 1 1-5.93-9.14\"><\/path>\n                            <polyline points=\"22 4 12 14.01 9 11.01\"><\/polyline>\n                        <\/svg>\n                    `;\n                } else if (type === 'error') {\n                    iconSVG = `\n                        <svg width=\"64\" height=\"64\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#ef4444\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin: 0 auto 24px;\">\n                            <circle cx=\"12\" cy=\"12\" r=\"10\"><\/circle>\n                            <line x1=\"15\" y1=\"9\" x2=\"9\" y2=\"15\"><\/line>\n                            <line x1=\"9\" y1=\"9\" x2=\"15\" y2=\"15\"><\/line>\n                        <\/svg>\n                    `;\n                    titleColor = '#ef4444';\n                    bgColor = '#fef2f2';\n                    borderColor = '#ef4444';\n                }\n\n                modal.innerHTML = `\n                    <div style=\"background-color: ${bgColor}; border: 2px solid ${borderColor}; border-radius: 12px; padding: 32px; margin-bottom: 24px;\">\n                        ${iconSVG}\n                        <h2 style=\"font-size: 24px; font-weight: 700; color: ${titleColor}; margin: 0 0 12px 0;\">${title}<\/h2>\n                        <p style=\"font-size: 16px; color: #666; margin: 0; line-height: 1.6;\">${message}<\/p>\n                    <\/div>\n                    <button id=\"modal-close-btn\" style=\"padding: 12px 32px; font-size: 16px; font-weight: 600; color: white; background-color: #222; border: none; border-radius: 8px; cursor: pointer; transition: background-color 0.2s;\">\n                        Entendido                    <\/button>\n                `;\n\n                overlay.appendChild(modal);\n                document.body.appendChild(overlay);\n\n                \/\/ Add animation style\n                const style = document.createElement('style');\n                style.textContent = `\n                    @keyframes slideUp {\n                        from {\n                            opacity: 0;\n                            transform: translateY(20px);\n                        }\n                        to {\n                            opacity: 1;\n                            transform: translateY(0);\n                        }\n                    }\n                `;\n                document.head.appendChild(style);\n\n                \/\/ Close button handler\n                const closeBtn = document.getElementById('modal-close-btn');\n                closeBtn.addEventListener('click', () => {\n                    overlay.remove();\n                    style.remove();\n                    if (autoClose) {\n                        \/\/ Don't auto reload on manual close\n                        return;\n                    }\n                });\n\n                \/\/ Auto close after delay\n                if (autoClose && type === 'success') {\n                    setTimeout(() => {\n                        overlay.remove();\n                        style.remove();\n                        location.reload();\n                    }, 3000);\n                }\n            }\n\n            function validateStep(step) {\n                \/\/ Simple validation - check required fields in current step\n                const currentPage = document.querySelector(`[data-step=\"${step}\"]`);\n                const requiredFields = currentPage.querySelectorAll('[required]:not(input[type=\"hidden\"])');\n                \n                let isValid = true;\n                requiredFields.forEach(field => {\n                    if (!field.value || field.value.trim() === '') {\n                        field.style.borderColor = '#ff6b6b';\n                        field.style.borderWidth = '2px';\n                        isValid = false;\n                    } else {\n                        field.style.borderColor = '#dddddd';\n                        field.style.borderWidth = '1px';\n                    }\n                });\n                \n                \/\/ Also check for card selections (hidden inputs with data-field-name containers)\n                const cardContainers = currentPage.querySelectorAll('[data-field-name]');\n                cardContainers.forEach(container => {\n                    const fieldName = container.getAttribute('data-field-name');\n                    const hiddenInput = document.getElementById(fieldName);\n                    \n                    if (hiddenInput && (!hiddenInput.value || hiddenInput.value.trim() === '')) {\n                        \/\/ Add visual feedback to card container\n                        container.style.borderColor = '#ff6b6b';\n                        container.style.borderWidth = '2px';\n                        container.style.padding = '14px';\n                        isValid = false;\n                    } else if (hiddenInput) {\n                        container.style.borderColor = '';\n                        container.style.borderWidth = '';\n                        container.style.padding = '';\n                    }\n                });\n\n                \/\/ Validate photo upload on step 3 (minimum 5 photos required)\n                if (step === 3) {\n                    const photosDataEl = document.getElementById('prop_photos_data');\n                    const statusEl = document.getElementById('prop-photo-status');\n                    const photoCount = photosDataEl ? photosDataEl.value.split(',').filter(x => x).length : 0;\n                    if (photoCount < 5) {\n                        if (statusEl) {\n                            statusEl.textContent = 'Sube al menos 5 fotos para continuar.';\n                            statusEl.style.color = '#ff6b6b';\n                        }\n                        isValid = false;\n                    }\n                }\n\n                return isValid;\n            }\n\n            \/\/ submitForm(onSuccess) \u2014 called automatically when the user leaves the last required step.\n            \/\/ onSuccess is a callback invoked after a successful server response to advance to step 6.\n            function submitForm(onSuccess) {\n                function getElementValue(id) {\n                    const el = document.getElementById(id);\n                    if (!el) return '';\n                    return el.type === 'checkbox' ? el.checked : (el.value || '');\n                }\n\n                const nextBtn = document.getElementById('btn-next');\n                const backBtn = document.getElementById('btn-back');\n\n                function setLoading(loading) {\n                    if (nextBtn) { nextBtn.textContent = loading ? 'Enviando\u2026' : 'Next'; nextBtn.disabled = loading; }\n                    if (backBtn) backBtn.disabled = loading;\n                }\n\n                try {\n                    const partnerType     = getElementValue('partner_type');\n                    const isPropertyOwner = (partnerType === 'property_owner');\n\n                    const formData = {\n                        step1: { partner_type: partnerType },\n                        step2: {\n                            first_name:  getElementValue('contact_first_name'),\n                            last_name:   getElementValue('contact_last_name'),\n                            email:       getElementValue('contact_email'),\n                            phone:       getElementValue('contact_phone'),\n                            address:     getElementValue('contact_address'),\n                            postal_code: getElementValue('contact_postal_code'),\n                            city:        getElementValue('contact_city'),\n                            state:       getElementValue('contact_state'),\n                            country:     getElementValue('contact_country')\n                        },\n                        step3: isPropertyOwner ? {\n                            property_title: getElementValue('property_title'),\n                            photos_count:   (getElementValue('prop_photos_data') || '').split(',').filter(x => x).length,\n                            guests:         getElementValue('guests'),\n                            bedrooms:       getElementValue('bedrooms'),\n                            beds:           getElementValue('beds'),\n                            bathrooms:      getElementValue('bathrooms')\n                        } : {\n                            integration_type: getElementValue('integration_type')\n                        },\n                        step4: isPropertyOwner ? { amenities: (getElementValue('selected_amenities') || '').split(',').filter(x => x) } : null,\n                        step5: isPropertyOwner ? {\n                            super_high_season_rate: getElementValue('super_high_season_rate'),\n                            high_season_rate:       getElementValue('high_season_rate'),\n                            mid_season_rate:        getElementValue('mid_season_rate')\n                        } : null,\n                        step6: { status: 'completed' }\n                    };\n\n                    \/\/ Derive submitter identity from contact info (no login required)\n                    const firstName = getElementValue('contact_first_name');\n                    const lastName  = getElementValue('contact_last_name');\n                    const userName  = [firstName, lastName].filter(Boolean).join(' ') || 'Guest';\n                    const userEmail = getElementValue('contact_email');\n\n                    if (!userEmail) {\n                        showModal('Falta el correo electr\u00f3nico', 'Ingresa tu correo electr\u00f3nico en el paso de contacto.', 'error', false);\n                        return;\n                    }\n\n                    if (!propertyForm || !propertyForm.ajaxurl) {\n                        showModal('Error de configuraci\u00f3n', 'Falta la configuraci\u00f3n del formulario. Actualiza la p\u00e1gina.', 'error', false);\n                        return;\n                    }\n\n                    setLoading(true);\n                    console.log('\ud83d\udcdd Submitting form for:', userName, '(' + userEmail + ')');\n\n                    fetch(propertyForm.ajaxurl, {\n                        method: 'POST',\n                        headers: { 'Content-Type': 'application\/x-www-form-urlencoded' },\n                        body: new URLSearchParams({\n                            action:    'submit_property_form',\n                            formData:  JSON.stringify(formData),\n                            userName:  userName,\n                            userEmail: userEmail\n                        })\n                    })\n                    .then(response => {\n                        if (!response.ok) throw new Error('HTTP ' + response.status);\n                        return response.json();\n                    })\n                    .then(data => {\n                        setLoading(false);\n                        if (data.success) {\n                            console.log('\u2713 Submission successful:', data.data);\n                            if (typeof onSuccess === 'function') onSuccess();\n                        } else {\n                            console.error('\u2717 Submission failed:', data);\n                            showModal('Error al enviar', data.data || 'Ocurri\u00f3 un error inesperado. Int\u00e9ntalo de nuevo.', 'error', false);\n                        }\n                    })\n                    .catch(error => {\n                        setLoading(false);\n                        console.error('\u2717 AJAX error:', error);\n                        showModal('Error de conexi\u00f3n', 'No pudimos conectar con el servidor. Revisa tu conexi\u00f3n e int\u00e9ntalo de nuevo.', 'error', false);\n                    });\n\n                } catch (error) {\n                    setLoading(false);\n                    console.error('\u274c submitForm error:', error);\n                    showModal('Error en el formulario', 'Error al preparar los datos del formulario: ' + error.message, 'error', false);\n                }\n            }\n\n            \/\/ Save & Exit Handler\n            document.querySelector('.save-exit').addEventListener('click', function(e) {\n                e.preventDefault();\n                alert('Guardamos tu progreso. Puedes volver m\u00e1s tarde para terminar.');\n            });\n\n            \/\/ Counter functions for Step 3\n            function incrementCounter(fieldId) {\n                const input = document.getElementById(fieldId);\n                const display = document.getElementById(fieldId + '-display');\n                const currentValue = parseInt(input.value);\n                const maxValue = parseInt(input.getAttribute('max') || 16);\n                if (currentValue < maxValue) {\n                    input.value = currentValue + 1;\n                    if (display) display.textContent = currentValue + 1;\n                    console.log(fieldId + ' incremented to:', input.value);\n                }\n            }\n\n            function decrementCounter(fieldId) {\n                const input = document.getElementById(fieldId);\n                const display = document.getElementById(fieldId + '-display');\n                const currentValue = parseInt(input.value);\n                const minValue = parseInt(input.getAttribute('min') || 0);\n                if (currentValue > minValue) {\n                    input.value = currentValue - 1;\n                    if (display) display.textContent = currentValue - 1;\n                    console.log(fieldId + ' decremented to:', input.value);\n                }\n            }\n\n            \/\/ ===== Clickable Cards Initialization =====\n            function initializeClickableCards() {\n                \/\/ Find all card option containers\n                const cardContainers = document.querySelectorAll('[data-field-name]');\n                \n                cardContainers.forEach(container => {\n                    const fieldName = container.getAttribute('data-field-name');\n                    const hiddenInput = document.getElementById(fieldName);\n                    const cards = container.querySelectorAll('.option-card');\n                    \n                    \/\/ Add click handlers to each card\n                    cards.forEach(card => {\n                        const cardValue = card.getAttribute('data-value');\n                        \n                        \/\/ Click handler\n                        card.addEventListener('click', function(e) {\n                            e.preventDefault();\n                            selectCard(card, cards, hiddenInput, cardValue);\n                        });\n                        \n                        \/\/ Keyboard handler for Enter and Space\n                        card.addEventListener('keydown', function(e) {\n                            if (e.key === 'Enter' || e.key === ' ') {\n                                e.preventDefault();\n                                selectCard(card, cards, hiddenInput, cardValue);\n                            }\n                        });\n                        \n                        \/\/ Make card focusable with Tab key\n                        card.setAttribute('tabindex', '0');\n                        card.style.outline = 'none';\n                        \n                        \/\/ Hover effects (only for cards with inline border styles)\n                        card.addEventListener('mouseenter', function() {\n                            if (!card.classList.contains('active')) {\n                                card.style.borderColor = '#222';\n                                card.style.backgroundColor = '#fafafa';\n                                card.style.boxShadow = '0 2px 8px rgba(0,0,0,.06)';\n                            }\n                        });\n\n                        card.addEventListener('mouseleave', function() {\n                            if (!card.classList.contains('active')) {\n                                card.style.borderColor = '#dddddd';\n                                card.style.backgroundColor = '#ffffff';\n                                card.style.boxShadow = 'none';\n                            }\n                        });\n\n                        \/\/ Focus handler for keyboard navigation indicator\n                        card.addEventListener('focus', function() {\n                            card.classList.add('keyboard-focus');\n                            if (!card.classList.contains('active')) {\n                                card.style.borderColor = '#00aeef';\n                                card.style.boxShadow = '0 0 0 3px rgba(102,126,234,.15)';\n                            }\n                        });\n                        \n                        card.addEventListener('blur', function() {\n                            card.classList.remove('keyboard-focus');\n                            if (!card.classList.contains('active')) {\n                                card.style.borderColor = '#dddddd';\n                                card.style.boxShadow = 'none';\n                            }\n                        });\n                    });\n                });\n            }\n            \n            \/\/ Function to handle card selection\n            function selectCard(selectedCard, allCards, hiddenInput, value) {\n                \/\/ Remove active class from all cards and reset inline styles\n                allCards.forEach(card => {\n                    card.classList.remove('active');\n                    card.style.borderColor = '#dddddd';\n                    card.style.backgroundColor = '#ffffff';\n                    card.style.boxShadow = 'none';\n                });\n                \n                \/\/ Add active class to selected card and apply active styles\n                selectedCard.classList.add('active');\n                selectedCard.style.borderColor = '#222';\n                selectedCard.style.backgroundColor = '#fafafa';\n                selectedCard.style.boxShadow = '0 2px 8px rgba(0,0,0,.08)';\n                \n                \/\/ Update hidden input value\n                if (hiddenInput) {\n                    hiddenInput.value = value;\n                    console.log(`Selected ${hiddenInput.id}: ${value}`);\n                }\n                \n                \/\/ Trigger change event for any listeners\n                if (hiddenInput) {\n                    hiddenInput.dispatchEvent(new Event('change', { bubbles: true }));\n                }\n            }\n\n            \/\/ Initialize\n            initializeClickableCards();\n\n            \/\/ ===== Google Places Autocomplete for Step 2 Address =====\n            (function initContactAutocomplete() {\n                const contactAddressInput = document.getElementById('contact_address');\n                if (!contactAddressInput) return;\n\n                function setupAutocomplete() {\n                    if (typeof google === 'undefined' || !google.maps || !google.maps.places) return false;\n                    const autocomplete = new google.maps.places.Autocomplete(contactAddressInput, {\n                        fields: ['address_components', 'formatted_address']\n                    });\n                    autocomplete.addListener('place_changed', function() {\n                        const place = autocomplete.getPlace();\n                        if (!place.address_components) return;\n                        const comp = {};\n                        place.address_components.forEach(c => {\n                            c.types.forEach(t => { comp[t] = c.long_name; comp[t + '_short'] = c.short_name; });\n                        });\n                        const cityEl = document.getElementById('contact_city');\n                        const stateEl = document.getElementById('contact_state');\n                        const postalEl = document.getElementById('contact_postal_code');\n                        const countryEl = document.getElementById('contact_country');\n                        if (cityEl) cityEl.value = comp.locality || comp.postal_town || comp.administrative_area_level_2 || '';\n                        if (stateEl) stateEl.value = comp.administrative_area_level_1 || '';\n                        if (postalEl) postalEl.value = comp.postal_code || comp.postal_code_prefix || '';\n                        if (countryEl) countryEl.value = comp.country || '';\n                    });\n                    return true;\n                }\n\n                if (!setupAutocomplete()) {\n                    \/\/ Retry once Google Maps loads\n                    let retries = 0;\n                    const interval = setInterval(function() {\n                        retries++;\n                        if (setupAutocomplete() || retries >= 20) clearInterval(interval);\n                    }, 500);\n                }\n            })();\n\n            \/\/ ===== Property Photo Upload Handler for Step 3 =====\n            const propPhotoUploadBox = document.querySelector('.prop-photo-upload-box');\n            const propPhotoInput = document.getElementById('prop_photos');\n            const propPhotoPreview = document.getElementById('prop-photos-preview');\n            const propPhotoStatus = document.getElementById('prop-photo-status');\n            const propPhotosData = document.getElementById('prop_photos_data');\n            const MAX_FILE_SIZE = 5 * 1024 * 1024; \/\/ 5MB\n            let uploadedPropPhotos = [];\n\n            function updatePropPhotoStatus() {\n                if (!propPhotoStatus) return;\n                const count = uploadedPropPhotos.length;\n                if (count === 0) {\n                    propPhotoStatus.textContent = '';\n                    propPhotoStatus.style.color = '#717171';\n                } else if (count < 5) {\n                    propPhotoStatus.textContent = count + ' photo' + (count !== 1 ? 's' : '') + ' uploaded \u2014 need at least 5';\n                    propPhotoStatus.style.color = '#717171';\n                } else {\n                    propPhotoStatus.textContent = '\u2713 ' + count + ' photo' + (count !== 1 ? 's' : '') + ' uploaded';\n                    propPhotoStatus.style.color = '#22c55e';\n                }\n                if (propPhotosData) propPhotosData.value = uploadedPropPhotos.map(p => p.name).join(',');\n            }\n\n            function handlePropPhotoUpload(files) {\n                Array.from(files).forEach(function(file) {\n                    if (!file.type.startsWith('image\/')) return;\n                    if (file.size > MAX_FILE_SIZE) {\n                        if (propPhotoStatus) {\n                            propPhotoStatus.textContent = 'Error: \"' + file.name + '\" exceeds 5MB limit. Please choose a smaller file.';\n                            propPhotoStatus.style.color = '#ff6b6b';\n                        }\n                        return;\n                    }\n                    const reader = new FileReader();\n                    reader.onload = function(e) {\n                        uploadedPropPhotos.push({ name: file.name, data: e.target.result });\n\n                        const photoEl = document.createElement('div');\n                        photoEl.style.cssText = 'position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 1;';\n\n                        const img = document.createElement('img');\n                        img.src = e.target.result;\n                        img.style.cssText = 'width: 100%; height: 100%; object-fit: cover;';\n\n                        const removeBtn = document.createElement('button');\n                        removeBtn.type = 'button';\n                        removeBtn.innerHTML = '&times;';\n                        removeBtn.style.cssText = 'position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.9); border: none; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #222; font-weight: bold; line-height: 1;';\n                        removeBtn.addEventListener('click', function(e) {\n                            e.preventDefault();\n                            const idx = uploadedPropPhotos.findIndex(p => p.name === file.name);\n                            if (idx !== -1) uploadedPropPhotos.splice(idx, 1);\n                            photoEl.remove();\n                            updatePropPhotoStatus();\n                        });\n\n                        photoEl.appendChild(img);\n                        photoEl.appendChild(removeBtn);\n                        if (propPhotoPreview) propPhotoPreview.appendChild(photoEl);\n                        updatePropPhotoStatus();\n                    };\n                    reader.readAsDataURL(file);\n                });\n            }\n\n            if (propPhotoUploadBox && propPhotoInput) {\n                propPhotoUploadBox.addEventListener('click', function() { propPhotoInput.click(); });\n                propPhotoInput.addEventListener('change', function(e) { handlePropPhotoUpload(e.target.files); });\n                propPhotoUploadBox.addEventListener('dragover', function(e) {\n                    e.preventDefault();\n                    propPhotoUploadBox.style.borderColor = '#222';\n                    propPhotoUploadBox.style.backgroundColor = '#f5f5f5';\n                });\n                propPhotoUploadBox.addEventListener('dragleave', function() {\n                    propPhotoUploadBox.style.borderColor = '#dddddd';\n                    propPhotoUploadBox.style.backgroundColor = '#fafafa';\n                });\n                propPhotoUploadBox.addEventListener('drop', function(e) {\n                    e.preventDefault();\n                    propPhotoUploadBox.style.borderColor = '#dddddd';\n                    propPhotoUploadBox.style.backgroundColor = '#fafafa';\n                    handlePropPhotoUpload(e.dataTransfer.files);\n                });\n            }\n\n            \/\/ Amenities Selection Handler for Step 4\n            const amenityItems = document.querySelectorAll('.amenity-item');\n            const amenitiesDataInput = document.getElementById('selected_amenities');\n\n            amenityItems.forEach(item => {\n                const checkbox = item.querySelector('input[type=\"checkbox\"]');\n                const box = item.querySelector('div');\n\n                \/\/ The <label> element naturally toggles the checkbox for any click\n                \/\/ on its children (icon, text, etc.). We listen to the change event\n                \/\/ so updateAmenitiesSelection runs after the toggle is complete.\n                checkbox.addEventListener('change', () => {\n                    updateAmenitiesSelection();\n                });\n\n                \/\/ Hover feedback\n                item.addEventListener('mouseenter', () => {\n                    if (!checkbox.checked) {\n                        box.style.borderColor = '#222';\n                        box.style.backgroundColor = '#f5f5f5';\n                    }\n                });\n\n                item.addEventListener('mouseleave', () => {\n                    if (!checkbox.checked) {\n                        box.style.borderColor = '#dddddd';\n                        box.style.backgroundColor = 'transparent';\n                    }\n                });\n            });\n\n            function updateAmenitiesSelection() {\n                const selected = Array.from(amenityItems)\n                    .filter(item => item.querySelector('input[type=\"checkbox\"]').checked)\n                    .map(item => item.querySelector('input[type=\"checkbox\"]').value);\n\n                \/\/ Update display\n                amenityItems.forEach(item => {\n                    const checkbox = item.querySelector('input[type=\"checkbox\"]');\n                    const box = item.querySelector('div');\n                    if (checkbox.checked) {\n                        box.style.borderColor = '#222';\n                        box.style.backgroundColor = '#f0f0f0';\n                        box.style.borderWidth = '2px';\n                    } else {\n                        box.style.borderColor = '#dddddd';\n                        box.style.backgroundColor = 'transparent';\n                        box.style.borderWidth = '2px';\n                    }\n                });\n\n                \/\/ Store values\n                amenitiesDataInput.value = selected.join(',');\n                console.log('Comodidades seleccionadas:', selected);\n            }\n\n            \/\/ Rate Input Handlers for Step 5\n            const rateFields = ['super_high_season_rate', 'high_season_rate', 'mid_season_rate'];\n            \n            rateFields.forEach(fieldId => {\n                const input = document.getElementById(fieldId);\n                if (input) {\n                    \/\/ Focus effect\n                    input.addEventListener('focus', function() {\n                        this.style.borderColor = '#222';\n                        this.style.boxShadow = '0 0 0 3px rgba(34, 34, 34, 0.05)';\n                    });\n\n                    \/\/ Blur effect\n                    input.addEventListener('blur', function() {\n                        this.style.borderColor = '#dddddd';\n                        this.style.boxShadow = 'none';\n                    });\n\n                    \/\/ Input validation\n                    input.addEventListener('input', function() {\n                        if (this.value) {\n                            const value = parseFloat(this.value);\n                            if (value >= 0) {\n                                this.style.borderColor = '#dddddd';\n                                console.log(fieldId + ' set to: $' + value);\n                            } else {\n                                this.style.borderColor = '#ff6b6b';\n                            }\n                        }\n                    });\n                }\n            });\n\n            initFormStartState();\n        <\/script>\n        <\/div>\n        <!-- End form-page -->\n    [\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row css=\u00bb.vc_custom_1785419769685{margin-bottom: 20px !important;}\u00bb][vc_column][vc_column_text css=\u00bb\u00bb][\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n","protected":false},"author":0,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-15619","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Publica tu hotel paso a paso - Come2Holiday<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Publica tu hotel paso a paso - Come2Holiday\" \/>\n<meta property=\"og:description\" content=\"[vc_row css=\u00bb.vc_custom_1785419769685{margin-bottom: 20px !important;}\u00bb][vc_column][vc_column_text css=\u00bb\u00bb][\/vc_column_text][\/vc_column][\/vc_row]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/staging.come2holiday.com\/es\/publicar-hotel\/\" \/>\n<meta property=\"og:site_name\" content=\"Come2Holiday\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/staging.come2holiday.com\\\/es\\\/publicar-hotel\\\/\",\"url\":\"https:\\\/\\\/staging.come2holiday.com\\\/es\\\/publicar-hotel\\\/\",\"name\":\"Publica tu hotel paso a paso - Come2Holiday\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/staging.come2holiday.com\\\/es\\\/#website\"},\"datePublished\":\"2026-10-20T14:21:27+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/staging.come2holiday.com\\\/es\\\/publicar-hotel\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/staging.come2holiday.com\\\/es\\\/publicar-hotel\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/staging.come2holiday.com\\\/es\\\/publicar-hotel\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/staging.come2holiday.com\\\/es\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Publica tu hotel paso a paso\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/staging.come2holiday.com\\\/es\\\/#website\",\"url\":\"https:\\\/\\\/staging.come2holiday.com\\\/es\\\/\",\"name\":\"Come2Holiday\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/staging.come2holiday.com\\\/es\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/staging.come2holiday.com\\\/es\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/staging.come2holiday.com\\\/es\\\/#organization\",\"name\":\"Come2Holiday\",\"url\":\"https:\\\/\\\/staging.come2holiday.com\\\/es\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/staging.come2holiday.com\\\/es\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/staging.come2holiday.com\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/c2hicon-01.webp\",\"contentUrl\":\"https:\\\/\\\/staging.come2holiday.com\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/c2hicon-01.webp\",\"width\":850,\"height\":896,\"caption\":\"Come2Holiday\"},\"image\":{\"@id\":\"https:\\\/\\\/staging.come2holiday.com\\\/es\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Publica tu hotel paso a paso - Come2Holiday","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"es_ES","og_type":"article","og_title":"Publica tu hotel paso a paso - Come2Holiday","og_description":"[vc_row css=\u00bb.vc_custom_1785419769685{margin-bottom: 20px !important;}\u00bb][vc_column][vc_column_text css=\u00bb\u00bb][\/vc_column_text][\/vc_column][\/vc_row]","og_url":"https:\/\/staging.come2holiday.com\/es\/publicar-hotel\/","og_site_name":"Come2Holiday","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/staging.come2holiday.com\/es\/publicar-hotel\/","url":"https:\/\/staging.come2holiday.com\/es\/publicar-hotel\/","name":"Publica tu hotel paso a paso - Come2Holiday","isPartOf":{"@id":"https:\/\/staging.come2holiday.com\/es\/#website"},"datePublished":"2026-10-20T14:21:27+00:00","breadcrumb":{"@id":"https:\/\/staging.come2holiday.com\/es\/publicar-hotel\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/staging.come2holiday.com\/es\/publicar-hotel\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/staging.come2holiday.com\/es\/publicar-hotel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/staging.come2holiday.com\/es\/"},{"@type":"ListItem","position":2,"name":"Publica tu hotel paso a paso"}]},{"@type":"WebSite","@id":"https:\/\/staging.come2holiday.com\/es\/#website","url":"https:\/\/staging.come2holiday.com\/es\/","name":"Come2Holiday","description":"","publisher":{"@id":"https:\/\/staging.come2holiday.com\/es\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/staging.come2holiday.com\/es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/staging.come2holiday.com\/es\/#organization","name":"Come2Holiday","url":"https:\/\/staging.come2holiday.com\/es\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/staging.come2holiday.com\/es\/#\/schema\/logo\/image\/","url":"https:\/\/staging.come2holiday.com\/wp-content\/uploads\/2026\/06\/c2hicon-01.webp","contentUrl":"https:\/\/staging.come2holiday.com\/wp-content\/uploads\/2026\/06\/c2hicon-01.webp","width":850,"height":896,"caption":"Come2Holiday"},"image":{"@id":"https:\/\/staging.come2holiday.com\/es\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/staging.come2holiday.com\/es\/wp-json\/wp\/v2\/pages\/15619","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.come2holiday.com\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/staging.come2holiday.com\/es\/wp-json\/wp\/v2\/types\/page"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.come2holiday.com\/es\/wp-json\/wp\/v2\/comments?post=15619"}],"version-history":[{"count":0,"href":"https:\/\/staging.come2holiday.com\/es\/wp-json\/wp\/v2\/pages\/15619\/revisions"}],"wp:attachment":[{"href":"https:\/\/staging.come2holiday.com\/es\/wp-json\/wp\/v2\/media?parent=15619"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}