tailwind.config = { corePlugins:{ preflight:false }, theme:{ extend:{
fontFamily:{ sans:['Helvetica Neue','Helvetica','Arial','sans-serif'] },
colors:{
ocean:{50:'#EFF8FF',100:'#DBEEFE',200:'#BFE0FE',300:'#93CBFD',400:'#60AEFB',500:'#3B8FF9',600:'#2570EB',700:'#1D5BD8',800:'#1E4AAE',900:'#1E4189'},
palm:{50:'#F0FDF4',100:'#DCFCE7',200:'#BBF7D0',300:'#86EFAC',400:'#4ADE80',500:'#22C55E',600:'#16A34A',700:'#15803D'},
sand:{50:'#FFFBEB',100:'#FEF3C7',200:'#FDE68A',300:'#FCD34D',400:'#FBBF24',500:'#F59E0B',600:'#D97706'},
navy:{800:'#1E293B',900:'#0F172A'}
}
}}};
.pydlp2{ -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; color:#0F172A; font-family:'Helvetica Neue',Helvetica,Arial,sans-serif }
.pydlp2 *,.pydlp2 *::before,.pydlp2 *::after{ box-sizing:border-box }
.pydlp2 h1,.pydlp2 h2,.pydlp2 h3,.pydlp2 h4,.pydlp2 p,.pydlp2 ul,.pydlp2 figure{ margin:0 }
.pydlp2 ul{ list-style:none; padding:0 }
.pydlp2 img{ max-width:100%; display:block }
.pydlp2 a{ text-decoration:none }
.hero-bg{ background:linear-gradient(135deg,rgba(14,165,233,.86) 0%,rgba(30,74,174,.82) 50%,rgba(15,23,42,.9) 100%), url('https://pydpuntacanatransport.com/wp-content/uploads/2026/07/Transporte-2.jpeg'); background-size:cover; background-position:center }
.widget-shadow{ box-shadow:0 25px 60px rgba(0,0,0,.15),0 8px 20px rgba(0,0,0,.1) }
.btn-ocean{ background:linear-gradient(135deg,#3B8FF9,#2570EB); transition:all .25s ease }
.btn-ocean:hover{ background:linear-gradient(135deg,#2570EB,#1D5BD8); transform:translateY(-2px); box-shadow:0 12px 30px rgba(37,112,235,.4) }
.btn-sand{ background:linear-gradient(135deg,#F59E0B,#D97706); transition:all .25s ease }
.btn-sand:hover{ background:linear-gradient(135deg,#D97706,#B45309); transform:translateY(-2px); box-shadow:0 12px 30px rgba(245,158,11,.4) }
.feature-card{ transition:all .3s ease }
.feature-card:hover{ transform:translateY(-6px); box-shadow:0 20px 40px rgba(0,0,0,.08); border-color:rgba(59,143,249,.3) }
.vehicle-card{ transition:all .4s ease; overflow:hidden }
.vehicle-card:hover{ transform:translateY(-6px); box-shadow:0 25px 50px rgba(0,0,0,.12) }
.vehicle-card:hover .vehicle-img{ transform:scale(1.08) }
.vehicle-img{ transition:transform .6s ease }
.review-card{ transition:all .3s ease }
.review-card:hover{ transform:scale(1.02); box-shadow:0 15px 30px rgba(0,0,0,.08) }
.gal-item{ overflow:hidden; border-radius:16px }
.gal-item img{ transition:transform .6s ease; width:100%; height:100%; object-fit:cover }
.gal-item:hover img{ transform:scale(1.08) }
.faq-content{ max-height:0; overflow:hidden; transition:max-height .4s ease }
.faq-content.open{ max-height:600px }
.pulse-dot{ animation:pulse-dot 2s infinite }
@keyframes pulse-dot{ 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.6)} }
.float-animation{ animation:float 3s ease-in-out infinite }
@keyframes float{ 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.whatsapp-btn{ animation:whatsapp-pulse 2s infinite }
@keyframes whatsapp-pulse{ 0%{box-shadow:0 0 0 0 rgba(37,211,102,.5)} 70%{box-shadow:0 0 0 16px rgba(37,211,102,0)} 100%{box-shadow:0 0 0 0 rgba(37,211,102,0)} }
.tropical-gradient{ background:linear-gradient(135deg,#EFF8FF 0%,#F0FDF4 50%,#FFFBEB 100%) }
.lang-toggle{ transition:all .2s ease; cursor:pointer }
.lang-toggle.active{ background:rgba(59,143,249,.12); color:#2570EB; font-weight:800 }
#reservar .tbs-booking-container{ max-width:100%!important; margin:0!important }
(function(){
var currentLang='en';
window.switchLang=function(lang){
currentLang=lang;
document.querySelectorAll('.pydlp2 [data-es]').forEach(function(el){var t=el.getAttribute('data-'+lang); if(t)el.textContent=t;});
['lang-es','lang-en'].forEach(function(id){var b=document.getElementById(id); if(b)b.classList.toggle('active',id==='lang-'+lang);});
if(window.renderFAQ)renderFAQ();
document.documentElement.lang=lang;
};
var faqData={
es:[
{q:"¿Qué pasa si mi vuelo se retrasa?",a:"No te preocupes. Monitoreamos tu vuelo en tiempo real. Si se retrasa, cambia de puerta o llega antes, tu chofer lo sabe y ajusta su llegada. Sin cargos adicionales por retrasos de vuelo."},
{q:"¿Cómo encuentro a mi chofer en el aeropuerto?",a:"Tras migración y recoger tu equipaje, sal por la puerta de llegadas. Tu chofer te espera con un cartel con tu nombre. Si no lo encuentras, tienes nuestro WhatsApp 24/7 para asistencia inmediata."},
{q:"¿Incluyen silla de bebé o asiento elevado?",a:"Sí. Ofrecemos sillas booster y convertibles (0–18 meses y 2–4 años) como extra por $6 cada una. Solo selecciónalas al reservar. Recomendamos solicitarlas con 24h de anticipación."},
{q:"¿Cuánto dura el traslado del aeropuerto a Bávaro?",a:"El tiempo promedio del Aeropuerto Punta Cana (PUJ) a Bávaro es de 20 a 30 minutos según el hotel y el tráfico. A Cap Cana ~15-20 min y a Uvero Alto ~45-55 min. Todos los traslados son directos, sin paradas."},
{q:"¿Cómo pago?",a:"Con tarjeta o PayPal en nuestro checkout seguro, o efectivo al llegar. El precio es fijo, sin cargos ocultos. Al reservar te redirigimos al pago seguro para completar tu traslado."},
{q:"¿Cuál es la política de cancelación?",a:"Puedes cancelar gratis hasta 24 horas antes de la fecha y hora del servicio. Con menos de 24h aplica un cargo del 50%. Para cancelar, escríbenos por WhatsApp o responde al email de confirmación."},
{q:"¿El servicio es compartido o privado?",a:"100% privado. No compartes el vehículo con otros pasajeros ni hacemos paradas en otros hoteles. Vas directo del aeropuerto a tu hotel (o viceversa). Solo tú, tu grupo y tu chofer."},
{q:"¿Qué vehículos utilizan?",a:"Nuestra flota incluye Suburban (hasta 5 pasajeros) y vans Toyota Hiace (hasta 6 y hasta 10 pasajeros). Todos con A/C y Wi-Fi, limpios y bien mantenidos. Asignamos el vehículo según pasajeros y maletas."},
{q:"¿El precio que muestra la página es el final?",a:"Sí, el precio es final por vehículo (no por persona). Sin cargos ocultos ni tarifas de combustible. Los extras opcionales (sillas, bebidas) se muestran claramente antes de pagar."},
{q:"¿Necesito un voucher para el traslado?",a:"Tras reservar recibes un email de confirmación con todos los detalles y un código de reserva. No es obligatorio mostrarlo al chofer (él tendrá la información), pero te recomendamos tenerlo a mano."}
],
en:[
{q:"What happens if my flight is delayed?",a:"Don't worry. We monitor your flight in real time. If it's delayed, changes gate or arrives early, your driver knows and adjusts pickup. No extra charge for flight delays."},
{q:"How do I find my driver at the airport?",a:"After immigration and collecting your luggage, exit through arrivals. Your driver waits with a sign with your name. If you can't find them, use our 24/7 WhatsApp for immediate assistance."},
{q:"Do you provide baby or booster seats?",a:"Yes. We offer booster and convertible car seats (0–18 months and 2–4 years) as an add-on for $6 each. Just select them when booking. We recommend requesting 24h in advance."},
{q:"How long is the transfer from the airport to Bávaro?",a:"The average time from Punta Cana Airport (PUJ) to Bávaro is 20 to 30 minutes depending on the hotel and traffic. Cap Cana ~15-20 min and Uvero Alto ~45-55 min. All transfers are direct, no stops."},
{q:"How do I pay?",a:"By card or PayPal through our secure checkout, or cash on arrival. The price is fixed, with no hidden fees. When you book we redirect you to secure payment to complete your transfer."},
{q:"What is the cancellation policy?",a:"You can cancel for free up to 24 hours before the service date and time. Less than 24h is subject to a 50% charge. To cancel, message us on WhatsApp or reply to the confirmation email."},
{q:"Is the service shared or private?",a:"100% private. You don't share the vehicle with other passengers and we don't stop at other hotels. Direct from the airport to your hotel (or vice versa). Just you, your group and your driver."},
{q:"What vehicles do you use?",a:"Our fleet includes a Suburban (up to 5 passengers) and Toyota Hiace vans (up to 6 and up to 10 passengers). All with A/C and Wi-Fi, clean and well-maintained. We assign the vehicle by passengers and luggage."},
{q:"Is the price shown the final price?",a:"Yes, the price is final per vehicle (not per person). No hidden fees or fuel surcharges. Optional extras (car seats, drinks) are shown clearly before you pay."},
{q:"Do I need a voucher for the transfer?",a:"After booking you get a confirmation email with all details and a booking code. It's not mandatory to show it to the driver (they'll have the info), but we recommend having it handy."}
]
};
window.renderFAQ=function(){
var c=document.getElementById('faq-container'); if(!c)return;
c.innerHTML=faqData[currentLang].map(function(item,i){
return '
';
}).join('');
};
window.toggleFAQ=function(i){
var c=document.getElementById('faq-content-'+i), ic=document.getElementById('faq-icon-'+i);
var open=c.classList.contains('open');
document.querySelectorAll('.faq-content').forEach(function(el){el.classList.remove('open');});
document.querySelectorAll('[id^="faq-icon-"]').forEach(function(el){el.classList.remove('fa-minus');el.classList.add('fa-plus');});
if(!open){c.classList.add('open'); ic.classList.remove('fa-plus'); ic.classList.add('fa-minus');}
};
var p=new URLSearchParams(location.search).get('lang');
var l=(p==='es'||p==='en')?p:'en';
renderFAQ();
switchLang(l);
var obs=new IntersectionObserver(function(entries){entries.forEach(function(e){if(e.isIntersecting){e.target.style.opacity='1';e.target.style.transform='translateY(0)';}});},{threshold:0.1,rootMargin:'0px 0px -40px 0px'});
document.querySelectorAll('.feature-card,.review-card,.vehicle-card').forEach(function(el){el.style.opacity='0';el.style.transform='translateY(20px)';el.style.transition='opacity .6s ease, transform .6s ease';obs.observe(el);});
})();