{"id":43499,"date":"2023-07-05T14:53:52","date_gmt":"2023-07-05T18:53:52","guid":{"rendered":"https:\/\/remaxatlantis.com\/index.php\/visita\/"},"modified":"2025-09-04T16:52:50","modified_gmt":"2025-09-04T20:52:50","slug":"visita","status":"publish","type":"page","link":"https:\/\/remaxatlantis.com\/index.php\/visita\/","title":{"rendered":"Visita"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"43499\" class=\"elementor elementor-43499 elementor-43344\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-79038eb elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"79038eb\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-cdac416\" data-id=\"cdac416\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-04f7f33 elementor-widget elementor-widget-heading\" data-id=\"04f7f33\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u00a1Bienvenido a nuestra Smart Luxury Villa!  <\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-114d075 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"114d075\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6770bee\" data-id=\"6770bee\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-dc2e5aa elementor-widget elementor-widget-text-editor\" data-id=\"dc2e5aa\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Tenemos una oferta \u00fanica para usted &#8211; para ver una visi\u00f3n virtual de nuestra villa en gafas de realidad virtual. Con esta tecnolog\u00eda, podr\u00e1 experimentar una inmersi\u00f3n total y vivir cada rinc\u00f3n y detalle de nuestra hermosa villa.<\/p>\n<p>Con unas gafas de realidad virtual, podr\u00e1 ver la zona de la piscina de la villa y disfrutar de hermosas vistas de la naturaleza circundante, ver la sala de estar con mobiliario confortable, pasear por la cocina con tecnolog\u00eda moderna, explorar los dormitorios y cuartos de ba\u00f1o con un dise\u00f1o elegante.<\/p>\n<p>No lo dude: la vista virtual con gafas de realidad virtual le proporcionar\u00e1 una experiencia \u00fanica y le ayudar\u00e1 a sentir todo el ambiente de nuestra villa de la forma m\u00e1s realista. Si est\u00e1 interesado, h\u00e1ganoslo saber y organizaremos una visita de realidad virtual de la villa para usted en el momento m\u00e1s conveniente para usted.<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-84ea18f elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"84ea18f\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-8714901\" data-id=\"8714901\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-11095c7 elementor-widget elementor-widget-html\" data-id=\"11095c7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<iframe width=\"100%\" height=\"640\" frameborder=\"0\" allow=\"xr-spatial-tracking; gyroscope; accelerometer\" allowfullscreen=\"\" scrolling=\"no\" src=\"https:\/\/kuula.co\/share\/collection\/7J5Pc?logo=1&amp;info=0&amp;fs=1&amp;vr=1&amp;zoom=1&amp;initload=0&amp;thumbs=1\"><\/iframe>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-419a7fc elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"419a7fc\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f91d174\" data-id=\"f91d174\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t<div class=\"elementor-element elementor-element-bf3060b e-flex e-con-boxed e-con e-parent\" data-id=\"bf3060b\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4b65601 elementor-widget elementor-widget-html\" data-id=\"4b65601\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<!-- Secci\u00f3n de Tours Virtuales Destacados para RE\/MAX -->\r\n<div id=\"remax-tours-destacados\" style=\"font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 2rem 0;\">\r\n\r\n<!-- Encabezado de la Secci\u00f3n -->\r\n<div style=\"background: linear-gradient(135deg, #003f7f 0%, #0066cc 100%); color: white; padding: 1.5rem; border-radius: 10px; margin-bottom: 2rem;\">\r\n  <div style=\"max-width: 1200px; margin: 0 auto; text-align: center;\">\r\n    <h2 style=\"margin: 0 0 0.5rem 0; font-weight: 600;\">\ud83c\udf1f Tours Virtuales Destacados<\/h2>\r\n    <p style=\"margin: 0; opacity: 0.9;\">Explora propiedades de lujo con tours virtuales inmersivos 360\u00b0<\/p>\r\n    <small style=\"opacity: 0.8;\">Dominion Luxury Villas - Listado Exclusivo RE\/MAX<\/small>\r\n  <\/div>\r\n<\/div>\r\n\r\n<!-- Banner Destacado de Tours -->\r\n<div style=\"background: linear-gradient(90deg, #f8f9fa 0%, #e9ecef 100%); padding: 1rem; border-radius: 8px; margin-bottom: 2rem; border-left: 4px solid #0066cc;\">\r\n  <div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; align-items: center;\">\r\n    <div style=\"text-align: center;\">\r\n      <strong style=\"color: #0066cc;\">\ud83c\udf10 Tours Virtuales 360\u00b0<\/strong><br>\r\n      <small>Experimenta las propiedades desde casa<\/small>\r\n    <\/div>\r\n    <div style=\"text-align: center;\">\r\n      <strong style=\"color: #28a745;\">\ud83d\udccd Ubicaci\u00f3n Premium<\/strong><br>\r\n      <small>A 200m del oc\u00e9ano en Sos\u00faa<\/small>\r\n    <\/div>\r\n    <div style=\"text-align: center;\">\r\n      <strong style=\"color: #dc3545;\">\ud83d\udcb0 Financiamiento Flexible<\/strong><br>\r\n      <small>Desde 30% de inicial<\/small>\r\n    <\/div>\r\n  <\/div>\r\n<\/div>\r\n\r\n<!-- Cuadr\u00edcula de Propiedades -->\r\n<div id=\"tour-propiedades-container\" style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; max-width: 1200px; margin: 0 auto;\">\r\n  <div style=\"grid-column: 1 \/ -1; text-align: center; padding: 2rem 0;\">\r\n    <div style=\"border: 3px solid #f3f3f3; border-top: 3px solid #0066cc; border-radius: 50%; width: 30px; height: 30px; animation: spin 1s linear infinite; margin: 0 auto;\"><\/div>\r\n    <p style=\"margin-top: 1rem; color: #666;\">Cargando tours virtuales...<\/p>\r\n  <\/div>\r\n<\/div>\r\n\r\n<!-- Llamada a la Acci\u00f3n -->\r\n<div style=\"margin-top: 2rem; text-align: center; padding: 1.5rem; background: #f8f9fa; border-radius: 10px;\">\r\n  <h4 style=\"color: #0066cc; margin-bottom: 1rem;\">\u00bfListo para Programar un Tour Virtual?<\/h4>\r\n  <p style=\"margin-bottom: 1rem; color: #666;\">Contacta a nuestros agentes RE\/MAX para tours virtuales personalizados<\/p>\r\n  <a href=\"https:\/\/api.whatsapp.com\/send\/?phone=18492222999&text=Hola, estoy interesado en programar un tour virtual a trav\u00e9s de RE\/MAX\" \r\n     style=\"display: inline-block; padding: 0.75rem 2rem; background: #0066cc; color: white; text-decoration: none; border-radius: 25px; font-weight: 600; margin-right: 1rem;\">\r\n    \ud83d\udcde Contactar Agente\r\n  <\/a>\r\n  <a href=\"https:\/\/dominionluxuryvillas.do\/\" \r\n     style=\"display: inline-block; padding: 0.75rem 2rem; background: transparent; color: #0066cc; text-decoration: none; border-radius: 25px; border: 2px solid #0066cc; font-weight: 600;\">\r\n    \ud83c\udfe0 Ver Todas las Propiedades\r\n  <\/a>\r\n<\/div>\r\n\r\n<\/div>\r\n\r\n<style>\r\n@keyframes spin {\r\n  0% { transform: rotate(0deg); }\r\n  100% { transform: rotate(360deg); }\r\n}\r\n\r\n#remax-tours-destacados .property-card { \r\n  border-radius: 15px; \r\n  overflow: hidden; \r\n  box-shadow: 0 6px 20px rgba(0,0,0,0.1); \r\n  transition: all 0.4s ease; \r\n  border: none; \r\n  background-color: white; \r\n  height: 100%;\r\n  display: flex;\r\n  flex-direction: column;\r\n}\r\n\r\n#remax-tours-destacados .property-card:hover { \r\n  transform: translateY(-5px); \r\n  box-shadow: 0 12px 30px rgba(0,0,0,0.15); \r\n}\r\n\r\n#remax-tours-destacados .property-image { \r\n  height: 280px; \r\n  object-fit: cover; \r\n  width: 100%; \r\n}\r\n\r\n#remax-tours-destacados .card-body { \r\n  padding: 1.5rem; \r\n  flex: 1;\r\n  display: flex;\r\n  flex-direction: column;\r\n}\r\n\r\n#remax-tours-destacados .card-title { \r\n  font-weight: 700; \r\n  color: #2c3e50; \r\n  margin-bottom: 0.75rem; \r\n  font-size: 1.1rem; \r\n  line-height: 1.3; \r\n}\r\n\r\n#remax-tours-destacados .property-description { \r\n  color: #6c757d; \r\n  font-size: 0.9rem; \r\n  line-height: 1.5; \r\n  margin-bottom: 1rem; \r\n}\r\n\r\n#remax-tours-destacados .read-more-btn { \r\n  color: #0066cc; \r\n  text-decoration: none; \r\n  font-weight: 500; \r\n  border: none; \r\n  background: none; \r\n  padding: 0; \r\n  cursor: pointer;\r\n}\r\n\r\n#remax-tours-destacados .read-more-btn:hover { \r\n  color: #003f7f; \r\n  text-decoration: underline; \r\n}\r\n\r\n#remax-tours-destacados .property-area-badge { \r\n  position: absolute; \r\n  top: 0; \r\n  right: 0; \r\n  z-index: 10; \r\n  overflow: hidden; \r\n  width: 120px; \r\n  height: 120px; \r\n  pointer-events: none; \r\n}\r\n\r\n#remax-tours-destacados .property-area-badge span { \r\n  position: absolute; \r\n  top: 30px; \r\n  right: -30px; \r\n  display: block; \r\n  width: 180px; \r\n  padding: 8px 0; \r\n  background: linear-gradient(45deg, #0066cc, #003f7f);\r\n  color: #fff; \r\n  font-size: 13px; \r\n  font-weight: bold; \r\n  text-align: center; \r\n  text-transform: uppercase; \r\n  transform: rotate(45deg); \r\n  box-shadow: 0 5px 10px rgba(0,0,0,0.2); \r\n  line-height: 1.2; \r\n  white-space: nowrap; \r\n  overflow: visible; \r\n}\r\n\r\n#remax-tours-destacados .delivery-badge {\r\n  position: absolute;\r\n  top: 15px;\r\n  left: 15px;\r\n  z-index: 10;\r\n}\r\n\r\n#remax-tours-destacados .delivery-badge .badge {\r\n  padding: 0.5rem 0.75rem;\r\n  border-radius: 20px;\r\n  font-size: 0.8rem;\r\n  font-weight: 600;\r\n}\r\n\r\n#remax-tours-destacados .badge.bg-success {\r\n  background-color: #28a745 !important;\r\n  color: white;\r\n}\r\n\r\n#remax-tours-destacados .badge.bg-warning {\r\n  background-color: #ffc107 !important;\r\n  color: #212529;\r\n}\r\n\r\n#remax-tours-destacados .badge.bg-info {\r\n  background-color: #17a2b8 !important;\r\n  color: white;\r\n}\r\n\r\n#remax-tours-destacados .virtual-tour-btn { \r\n  font-size: 0.8rem; \r\n  padding: 0.4rem 0.8rem; \r\n  border-radius: 20px; \r\n  background: linear-gradient(45deg, #0066cc, #003f7f);\r\n  border: none;\r\n  flex-shrink: 0; \r\n  color: white;\r\n  text-decoration: none;\r\n  transition: all 0.3s;\r\n}\r\n\r\n#remax-tours-destacados .virtual-tour-btn:hover { \r\n  background: linear-gradient(45deg, #003f7f, #0066cc);\r\n  transform: scale(1.05);\r\n  color: white;\r\n}\r\n\r\n#remax-tours-destacados .property-specs {\r\n  background: #f8f9fa;\r\n  border-radius: 10px;\r\n  padding: 1rem;\r\n  margin-bottom: 1rem;\r\n}\r\n\r\n#remax-tours-destacados .spec-item {\r\n  text-align: center;\r\n  padding: 0.5rem;\r\n}\r\n\r\n#remax-tours-destacados .spec-item i {\r\n  font-size: 1.2rem;\r\n  margin-bottom: 0.3rem;\r\n}\r\n\r\n#remax-tours-destacados .payment-options {\r\n  background: #f8f9fa;\r\n  border-radius: 10px;\r\n  padding: 1rem;\r\n  border: 1px solid #e9ecef;\r\n  margin-bottom: 1rem;\r\n}\r\n\r\n#remax-tours-destacados .payment-options h6 {\r\n  color: #2c3e50;\r\n  font-weight: 600;\r\n  margin-bottom: 0.75rem;\r\n}\r\n\r\n#remax-tours-destacados .payment-option {\r\n  background: white;\r\n  border-radius: 8px;\r\n  padding: 0.75rem;\r\n  border-left: 4px solid #ddd;\r\n  transition: all 0.3s ease;\r\n  margin-bottom: 0.5rem;\r\n}\r\n\r\n#remax-tours-destacados .payment-option:hover {\r\n  transform: translateX(3px);\r\n  box-shadow: 0 2px 8px rgba(0,0,0,0.1);\r\n}\r\n\r\n#remax-tours-destacados .installment-option {\r\n  border-left-color: #dc3545;\r\n  background: linear-gradient(90deg, #fff5f5, #ffffff);\r\n}\r\n\r\n#remax-tours-destacados .mixed-option {\r\n  border-left-color: #ffc107;\r\n  background: linear-gradient(90deg, #fffbf0, #ffffff);\r\n}\r\n\r\n#remax-tours-destacados .cash-option {\r\n  border-left-color: #28a745;\r\n  background: linear-gradient(90deg, #f0fff4, #ffffff);\r\n}\r\n\r\n#remax-tours-destacados .contact-btn { \r\n  background-color: #0066cc; \r\n  border-color: #0066cc; \r\n  flex-shrink: 0;\r\n  border-radius: 25px;\r\n  padding: 0.5rem 1rem;\r\n  font-size: 0.9rem;\r\n  color: white;\r\n  text-decoration: none;\r\n  transition: all 0.3s;\r\n}\r\n\r\n#remax-tours-destacados .contact-btn:hover { \r\n  background-color: #003f7f; \r\n  border-color: #003f7f; \r\n  transform: scale(1.05);\r\n  color: white;\r\n}\r\n\r\n#remax-tours-destacados .carousel-control-prev, \r\n#remax-tours-destacados .carousel-control-next { \r\n  background-color: rgba(0,0,0,0.5); \r\n  width: 45px; \r\n  height: 45px; \r\n  border-radius: 50%; \r\n  top: 50%; \r\n  transform: translateY(-50%); \r\n  border: none;\r\n}\r\n\r\n#remax-tours-destacados .carousel-control-prev { left: 15px; }\r\n#remax-tours-destacados .carousel-control-next { right: 15px; }\r\n\r\n#remax-tours-destacados .carousel-control-prev-icon, \r\n#remax-tours-destacados .carousel-control-next-icon { \r\n  width: 24px; \r\n  height: 24px; \r\n}\r\n\r\n@media (max-width: 768px) {\r\n  #remax-tours-destacados .property-image { \r\n    height: 220px; \r\n  }\r\n  \r\n  #remax-tours-destacados .property-area-badge { \r\n    width: 100px; \r\n    height: 100px; \r\n  }\r\n  \r\n  #remax-tours-destacados .property-area-badge span { \r\n    top: 25px; \r\n    right: -25px; \r\n    width: 150px; \r\n    font-size: 11px; \r\n    padding: 6px 0; \r\n  }\r\n  \r\n  #remax-tours-destacados .card-title { \r\n    font-size: 1rem; \r\n  }\r\n  \r\n  #remax-tours-destacados .property-description { \r\n    font-size: 0.85rem; \r\n  }\r\n  \r\n  #remax-tours-destacados .payment-options {\r\n    padding: 0.75rem;\r\n  }\r\n  \r\n  #remax-tours-destacados .payment-option {\r\n    padding: 0.5rem;\r\n  }\r\n}\r\n\r\n@media (max-width: 480px) {\r\n  #remax-tours-destacados #tour-propiedades-container {\r\n    grid-template-columns: 1fr !important;\r\n  }\r\n  \r\n  #remax-tours-destacados .property-area-badge { \r\n    width: 90px; \r\n    height: 90px; \r\n  }\r\n  \r\n  #remax-tours-destacados .property-area-badge span { \r\n    top: 22px; \r\n    right: -22px; \r\n    width: 130px; \r\n    font-size: 10px; \r\n    padding: 5px 0; \r\n  }\r\n  \r\n  #remax-tours-destacados .card-body {\r\n    padding: 1.2rem;\r\n  }\r\n}\r\n<\/style>\r\n\r\n<script>\r\n(function() {\r\n  \/\/ Helper para limpiar celdas\r\n  function cleanCell(text) {\r\n    if (!text) return '';\r\n    return text.toString()\r\n        .replace(\/^[\\s\"']+|[\\s\"']+$\/g, '')\r\n        .replace(\/\\r?\\n|\\r\/g, '');\r\n  }\r\n\r\n  function loadProperties() {\r\n    const SHEET_ID = '15_xXfFB08u35POEuDX4mbzXljL_APQpjGkibYJcFHuI';\r\n    const SHEET_NAME = 'Para cliente';\r\n    const API_KEY = 'AIzaSyDFXxdUiV4u2IjI9cfLMelrcPc8YnD9nx4';\r\n\r\n    fetch(`https:\/\/sheets.googleapis.com\/v4\/spreadsheets\/${SHEET_ID}\/values\/${SHEET_NAME}?key=${API_KEY}`)\r\n        .then(response => response.json())\r\n        .then(data => {\r\n            displayProperties(data.values);\r\n        })\r\n        .catch(error => {\r\n            console.error('Error cargando propiedades:', error);\r\n            document.getElementById('tour-propiedades-container').innerHTML = `\r\n                <div style=\"grid-column: 1 \/ -1; text-align: center; padding: 3rem 0;\">\r\n                    <div style=\"color: #dc3545;\">\r\n                        <h4>\u26a0\ufe0f Error cargando tours virtuales<\/h4>\r\n                        <p>Por favor intenta de nuevo m\u00e1s tarde o contacta a nuestro agente RE\/MAX.<\/p>\r\n                    <\/div>\r\n                <\/div>\r\n            `;\r\n        });\r\n  }\r\n\r\n  function createShortDescription(fullText, maxLength = 150) {\r\n    if (!fullText || fullText.length <= maxLength) {\r\n        return fullText || '';\r\n    }\r\n    const truncated = fullText.substring(0, maxLength);\r\n    const lastSpace = truncated.lastIndexOf(' ');\r\n    if (lastSpace > 0) {\r\n        return truncated.substring(0, lastSpace) + '...';\r\n    }\r\n    return truncated + '...';\r\n  }\r\n\r\n  function displayProperties(data) {\r\n    const container = document.getElementById('tour-propiedades-container');\r\n    container.innerHTML = '';\r\n\r\n    \/\/ Saltar fila de encabezado\r\n    for (let i = 1; i < data.length; i++) {\r\n        const property = data[i];\r\n        if (!property[0] || cleanCell(property[0]) === 'Available' || cleanCell(property[0]) === '') continue;\r\n\r\n        const cleaned = property.map(cell => cleanCell(cell));\r\n\r\n        const lotName = cleaned[0];\r\n        const landArea = cleaned[1];\r\n        const constructionArea = cleaned[2];\r\n        const poolSize = cleaned[3];\r\n        const priceInstallment = cleaned[4] ? Number(cleaned[4].replace(\/[$,]\/g, '')) : 0;\r\n        const priceMixed = cleaned[5] ? Number(cleaned[5].replace(\/[$,]\/g, '')) : 0;\r\n        const priceCash = cleaned[6] ? Number(cleaned[6].replace(\/[$,]\/g, '')) : 0;\r\n        const virtualTour = cleaned[7] || '';\r\n        const featuresLink = cleaned[8] || '';\r\n        const images = cleaned[9] ? cleaned[9].split(',').map(url => url.trim()) : [];\r\n        const description = cleaned[10] || '';\r\n\r\n        \/\/ Calcular pagos iniciales\r\n        const paymentInstallment = priceInstallment ? Math.round(priceInstallment * 0.30) : 0;\r\n        const paymentMixed = priceMixed ? Math.round(priceMixed * 0.50) : 0;\r\n        const paymentCash = priceCash;\r\n\r\n        const carouselId = `tour-carousel-${i}-${Date.now()}`;\r\n        const fullDescription = description;\r\n        const shortDescription = createShortDescription(fullDescription, 120);\r\n\r\n        \/\/ Badge de estado de entrega\r\n        let deliveryBadge = '';\r\n        if (description.includes('IMMEDIATE DELIVERY') || description.includes('READY TO MOVE')) {\r\n            deliveryBadge = '<span class=\"badge bg-success\">\ud83d\udd11 Listo Ahora<\/span>';\r\n        } else if (description.includes('2026')) {\r\n            deliveryBadge = '<span class=\"badge bg-warning text-dark\">\ud83d\udcc5 Entrega 2026<\/span>';\r\n        } else if (description.includes('2027')) {\r\n            deliveryBadge = '<span class=\"badge bg-info\">\ud83d\udcc5 Entrega 2027<\/span>';\r\n        }\r\n\r\n        const propertyCard = document.createElement('div');\r\n        propertyCard.className = 'property-card';\r\n\r\n        propertyCard.innerHTML = `\r\n            <div style=\"position: relative;\">\r\n                <div id=\"${carouselId}\" class=\"carousel slide\" data-bs-ride=\"false\">\r\n                    <div class=\"carousel-inner\">\r\n                        ${images.length > 0 ? images.map((img, index) => `\r\n                            <div class=\"carousel-item ${index === 0 ? 'active' : ''}\">\r\n                                <img decoding=\"async\" src=\"${img}\" class=\"property-image\" alt=\"Villa ${lotName} - Tour Virtual ${index + 1}\">\r\n                            <\/div>\r\n                        `).join('') : `\r\n                            <div class=\"carousel-item active\">\r\n                                <img decoding=\"async\" src=\"https:\/\/via.placeholder.com\/800x600?text=Tour+Virtual+Pr\u00f3ximamente\" class=\"property-image\" alt=\"Tour Virtual Pr\u00f3ximamente\">\r\n                            <\/div>\r\n                        `}\r\n                    <\/div>\r\n                    ${images.length > 1 ? `\r\n                        <button class=\"carousel-control-prev\" type=\"button\" data-bs-target=\"#${carouselId}\" data-bs-slide=\"prev\">\r\n                            <span class=\"carousel-control-prev-icon\" aria-hidden=\"true\"><\/span>\r\n                            <span class=\"visually-hidden\">Anterior<\/span>\r\n                        <\/button>\r\n                        <button class=\"carousel-control-next\" type=\"button\" data-bs-target=\"#${carouselId}\" data-bs-slide=\"next\">\r\n                            <span class=\"carousel-control-next-icon\" aria-hidden=\"true\"><\/span>\r\n                            <span class=\"visually-hidden\">Siguiente<\/span>\r\n                        <\/button>\r\n                    ` : ''}\r\n                <\/div>\r\n                <div class=\"property-area-badge\">\r\n                    <span>${constructionArea ? constructionArea + 'm\u00b2' : ''}<\/span>\r\n                <\/div>\r\n                ${deliveryBadge ? `<div class=\"delivery-badge\">${deliveryBadge}<\/div>` : ''}\r\n            <\/div>\r\n            <div class=\"card-body\">\r\n                <div style=\"display: flex; justify-content: space-between; align-items: start; margin-bottom: 1rem;\">\r\n                    <h5 class=\"card-title\" style=\"margin: 0;\">Villa ${lotName}<\/h5>\r\n                    ${virtualTour ? `\r\n                        <a href=\"${virtualTour}\" class=\"virtual-tour-btn\" target=\"_blank\">\r\n                            \ud83c\udf10 Tour Virtual\r\n                        <\/a>\r\n                    ` : `\r\n                        <span style=\"font-size: 0.8rem; padding: 0.4rem 0.8rem; border-radius: 20px; background: #f8f9fa; color: #6c757d;\">\r\n                            \ud83d\udcc5 Tour Pr\u00f3ximamente\r\n                        <\/span>\r\n                    `}\r\n                <\/div>\r\n                \r\n                <div class=\"property-description\" style=\"margin-bottom: 1rem;\">\r\n                    <div class=\"description-short\">${shortDescription}<\/div>\r\n                    ${fullDescription.length > 120 ? `\r\n                        <div class=\"description-full\" style=\"display: none;\">${fullDescription}<\/div>\r\n                        <button class=\"read-more-btn\" type=\"button\" style=\"margin-top: 0.5rem;\">\r\n                            <small>Leer m\u00e1s \ud83d\udc47<\/small>\r\n                        <\/button>\r\n                    ` : ''}\r\n                <\/div>\r\n                \r\n                <div class=\"property-specs\">\r\n                    <div style=\"display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem;\">\r\n                        ${constructionArea ? `\r\n                            <div class=\"spec-item\">\r\n                                <div style=\"color: #0066cc; font-size: 1.2rem;\">\ud83c\udfe0<\/div>\r\n                                <small><strong>${constructionArea}m\u00b2<\/strong><br>Construcci\u00f3n<\/small>\r\n                            <\/div>\r\n                        ` : ''}\r\n                        ${landArea ? `\r\n                            <div class=\"spec-item\">\r\n                                <div style=\"color: #28a745; font-size: 1.2rem;\">\ud83d\uddfa\ufe0f<\/div>\r\n                                <small><strong>${landArea}m\u00b2<\/strong><br>Terreno<\/small>\r\n                            <\/div>\r\n                        ` : ''}\r\n                        ${poolSize ? `\r\n                            <div class=\"spec-item\">\r\n                                <div style=\"color: #17a2b8; font-size: 1.2rem;\">\ud83c\udfca<\/div>\r\n                                <small><strong>${poolSize} gal<\/strong><br>Piscina<\/small>\r\n                            <\/div>\r\n                        ` : ''}\r\n                        <div class=\"spec-item\">\r\n                            <div style=\"color: #dc3545; font-size: 1.2rem;\">\ud83d\udccd<\/div>\r\n                            <small><strong>200m<\/strong><br>del Oc\u00e9ano<\/small>\r\n                        <\/div>\r\n                    <\/div>\r\n                <\/div>\r\n                \r\n                <!-- Opciones de Pago -->\r\n                <div class=\"payment-options\">\r\n                    <h6 style=\"margin-bottom: 0.75rem;\">\ud83d\udcb3 Opciones de Financiamiento:<\/h6>\r\n                    \r\n                    ${paymentInstallment > 0 ? `\r\n                        <div class=\"payment-option installment-option\">\r\n                            <div style=\"display: flex; justify-content: space-between; align-items: center;\">\r\n                                <div>\r\n                                    <strong style=\"color: #dc3545;\">\ud83c\udfd7\ufe0f Financ. Desarrollador<\/strong>\r\n                                    <br><small style=\"color: #6c757d;\">Solo 30% inicial<\/small>\r\n                                <\/div>\r\n                                <div style=\"text-align: right;\">\r\n                                    <strong style=\"color: #dc3545;\">$${paymentInstallment.toLocaleString()}<\/strong>\r\n                                    <br><small style=\"color: #6c757d;\">Total: $${priceInstallment.toLocaleString()}<\/small>\r\n                                <\/div>\r\n                            <\/div>\r\n                        <\/div>\r\n                    ` : ''}\r\n                    \r\n                    ${paymentMixed > 0 ? `\r\n                        <div class=\"payment-option mixed-option\">\r\n                            <div style=\"display: flex; justify-content: space-between; align-items: center;\">\r\n                                <div>\r\n                                    <strong style=\"color: #ffc107;\">\ud83d\udcb3 Financ. Bancario<\/strong>\r\n                                    <br><small style=\"color: #6c757d;\">50% inicial + pr\u00e9stamo<\/small>\r\n                                <\/div>\r\n                                <div style=\"text-align: right;\">\r\n                                    <strong style=\"color: #ffc107;\">$${paymentMixed.toLocaleString()}<\/strong>\r\n                                    <br><small style=\"color: #6c757d;\">Total: $${priceMixed.toLocaleString()}<\/small>\r\n                                <\/div>\r\n                            <\/div>\r\n                        <\/div>\r\n                    ` : ''}\r\n                    \r\n                    ${paymentCash > 0 ? `\r\n                        <div class=\"payment-option cash-option\">\r\n                            <div style=\"display: flex; justify-content: space-between; align-items: center;\">\r\n                                <div>\r\n                                    <strong style=\"color: #28a745;\">\ud83d\udcb5 Pago de Contado<\/strong>\r\n                                    <br><small style=\"color: #6c757d;\">Mejor precio disponible<\/small>\r\n                                <\/div>\r\n                                <div style=\"text-align: right;\">\r\n                                    <strong style=\"color: #28a745;\">$${paymentCash.toLocaleString()}<\/strong>\r\n                                    <br><small style=\"color: #6c757d;\">Descuento especial<\/small>\r\n                                <\/div>\r\n                            <\/div>\r\n                        <\/div>\r\n                    ` : ''}\r\n                <\/div>\r\n                \r\n                <div style=\"display: flex; justify-content: space-between; align-items: center; margin-top: auto;\">\r\n                    <div>\r\n                        ${featuresLink ? `\r\n                            <a href=\"${featuresLink}\" style=\"display: inline-block; padding: 0.4rem 0.8rem; border-radius: 20px; background: transparent; color: #0066cc; border: 2px solid #0066cc; text-decoration: none; font-size: 0.8rem; transition: all 0.3s;\" target=\"_blank\">\r\n                                \u2139\ufe0f Detalles Completos\r\n                            <\/a>\r\n                        ` : ''}\r\n                    <\/div>\r\n                    <a href=\"https:\/\/api.whatsapp.com\/send\/?phone=18492222999&text=Hola, estoy interesado en el tour virtual de Villa ${lotName} a trav\u00e9s de RE\/MAX\" class=\"contact-btn\" target=\"_blank\">\r\n                        \ud83d\udcde Contactar Agente\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n        `;\r\n\r\n        container.appendChild(propertyCard);\r\n\r\n        \/\/ Handler \"Leer m\u00e1s\"\r\n        const readMoreBtn = propertyCard.querySelector('.read-more-btn');\r\n        if (readMoreBtn) {\r\n            readMoreBtn.addEventListener('click', function() {\r\n                const shortDiv = propertyCard.querySelector('.description-short');\r\n                const fullDiv = propertyCard.querySelector('.description-full');\r\n                const text = this.querySelector('small');\r\n                \r\n                if (fullDiv.style.display === 'none') {\r\n                    shortDiv.style.display = 'none';\r\n                    fullDiv.style.display = 'block';\r\n                    text.innerHTML = 'Leer menos \ud83d\udc46';\r\n                } else {\r\n                    shortDiv.style.display = 'block';\r\n                    fullDiv.style.display = 'none';\r\n                    text.innerHTML = 'Leer m\u00e1s \ud83d\udc47';\r\n                }\r\n            });\r\n        }\r\n\r\n        \/\/ Funcionalidad simple del carrusel\r\n        const carousel = propertyCard.querySelector(`#${carouselId}`);\r\n        const prevBtn = carousel.querySelector('.carousel-control-prev');\r\n        const nextBtn = carousel.querySelector('.carousel-control-next');\r\n        const items = carousel.querySelectorAll('.carousel-item');\r\n        \r\n        if (prevBtn && nextBtn && items.length > 1) {\r\n            let currentIndex = 0;\r\n            \r\n            prevBtn.addEventListener('click', function() {\r\n                items[currentIndex].classList.remove('active');\r\n                currentIndex = (currentIndex - 1 + items.length) % items.length;\r\n                items[currentIndex].classList.add('active');\r\n            });\r\n            \r\n            nextBtn.addEventListener('click', function() {\r\n                items[currentIndex].classList.remove('active');\r\n                currentIndex = (currentIndex + 1) % items.length;\r\n                items[currentIndex].classList.add('active');\r\n            });\r\n        }\r\n    }\r\n  }\r\n\r\n  \/\/ Inicializar cuando el DOM est\u00e9 listo\r\n  if (document.readyState === 'loading') {\r\n    document.addEventListener('DOMContentLoaded', loadProperties);\r\n  } else {\r\n    loadProperties();\r\n  }\r\n})();\r\n<\/script>\r\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>\u00a1Bienvenido a nuestra Smart Luxury Villa! Tenemos una oferta \u00fanica para usted &#8211; para ver una visi\u00f3n virtual de nuestra villa en gafas de realidad virtual. Con esta tecnolog\u00eda, podr\u00e1 experimentar una inmersi\u00f3n total y vivir cada rinc\u00f3n y detalle de nuestra hermosa villa. Con unas gafas de realidad virtual, podr\u00e1 ver la zona de [&hellip;]<\/p>\n","protected":false},"author":417,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"content-type":"","om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"class_list":["post-43499","page","type-page","status-publish","hentry"],"aioseo_notices":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/remaxatlantis.com\/index.php\/wp-json\/wp\/v2\/pages\/43499","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/remaxatlantis.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/remaxatlantis.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/remaxatlantis.com\/index.php\/wp-json\/wp\/v2\/users\/417"}],"replies":[{"embeddable":true,"href":"https:\/\/remaxatlantis.com\/index.php\/wp-json\/wp\/v2\/comments?post=43499"}],"version-history":[{"count":9,"href":"https:\/\/remaxatlantis.com\/index.php\/wp-json\/wp\/v2\/pages\/43499\/revisions"}],"predecessor-version":[{"id":65460,"href":"https:\/\/remaxatlantis.com\/index.php\/wp-json\/wp\/v2\/pages\/43499\/revisions\/65460"}],"wp:attachment":[{"href":"https:\/\/remaxatlantis.com\/index.php\/wp-json\/wp\/v2\/media?parent=43499"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}