PageSourceSearch

https://ecocentrodanaus.com/assets/TourPageLayout-DdorACAb.js

js ecocentrodanaus.com collected 2026-10-04 23:04:38 UTC 33,046 bytes, 2 lines download raw bytes

1import{a as e,b as t,it as n,n as r,nt as i,o as a,r as o,t as s}from"./button-BQm1ebFn.js";import{a as c,i as l,n as u,r as d,t as f}from"./shield-check-SdwqJHTv.js";import{a as p,d as m,f as h,i as g,l as _,n as v,r as y,s as b,t as x,u as S}from"./FloatingElements-Ilf7xoWk.js";import{t as C}from"./calendar-MMXwc2NR.js";import{t as w}from"./clock-ByIBSum9.js";import{a as T,i as E,r as D,t as O}from"./ContactSection-8VH4QAnu.js";import{t as k}from"./sun-CBcavBsQ.js";import{t as A}from"./users-Bq0kGhi4.js";import{n as j,t as M}from"./index-D2phODA3.js";import{n as N,t as P}from"./textarea-D-ud_qWd.js";var F=a(`circle-alert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),I=a(`circle-check-big`,[[`path`,{d:`M21.801 10A10 10 0 1 1 17 3.335`,key:`yps3ct`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]),L=a(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),R=a(`footprints`,[[`path`,{d:`M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0Z`,key:`1dudjm`}],[`path`,{d:`M20 20v-2.38c0-2.12 1.03-3.12 1-5.62-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0Z`,key:`l2t8xc`}],[`path`,{d:`M16 17h4`,key:`1dejxt`}],[`path`,{d:`M4 13h4`,key:`1bwh8b`}]]),z=n(i(),1),B=t(),V=({tourKey:t,tourTitle:n})=>{let{t:r,language:i}=p(),{toast:a}=j(),[o,c]=(0,z.useState)(1),[l,u]=(0,z.useState)(!1),[d,f]=(0,z.useState)([]),[h,g]=(0,z.useState)({name:``,email:``,phone:``,date:``,adults:1,children:0,infants:0,preferredLanguage:``,message:``}),v=[{value:`sloths-butterflies`,label:r(`tour.sloths.title`)},{value:`night-walk`,label:r(`tour.night.title`)},{value:`birdwatching`,label:r(`tour.birdwatching.title`)},{value:`day-night-combined`,label:r(`tour.combined.title`)},{value:`butterfly-garden`,label:r(`tour.butterflyGarden.title`)},{value:`day-pass`,label:r(`tour.daypass.title`)}],y=[{value:`private-sloths`,label:r(`tour.privateSloths.title`)},{value:`private-night`,label:r(`tour.privateNight.title`)},{value:`private-birdwatching`,label:r(`tour.privateBirdwatching.title`)},{value:`private-combined`,label:r(`tour.privateCombined.title`)},{value:`private-maleku`,label:r(`tour.privateMaleku.title`)}],b=e=>{g({...h,[e.target.name]:e.target.value})},x=(e,t)=>{f(n=>{let r=[...n];return r[e]=t,r})},S=()=>{f(e=>[...e,``])},w=e=>{f(t=>t.filter((t,n)=>n!==e))},k=()=>{let e=[...v,...y],t=[n];return d.filter(e=>e).forEach(n=>{let r=e.find(e=>e.value===n);r&&t.push(r.label)}),t},F=(e,t)=>{g(n=>{let r=n[e];return t&&r<20?{...n,[e]:r+1}:!t&&r>+(e===`adults`)?{...n,[e]:r-1}:n})},I=()=>h.adults+h.children+h.infants,R=()=>{let e=i===`es`?`${h.adults} Adulto(s), ${h.children} Niño(s), ${h.infants} Infante(s)`:`${h.adults} Adult(s), ${h.children} Children, ${h.infants} Infant(s)`,t=h.preferredLanguage?r(`contact.preferredLanguage.${h.preferredLanguage}`):``,n=k().join(`, `);return[i===`es`?`¡Hola! Me gustaría reservar ${n} para el ${h.date}.`:`Hello! I would like to book ${n} for ${h.date}.`,``,`${r(`contact.name`)}: ${h.name}`,`${r(`contact.email`)}: ${h.email}`,h.phone?`${r(`contact.phone`)}: ${h.phone}`:``,`Tour: ${n}`,`${r(`contact.date`)}: ${h.date}`,`${i===`es`?`Grupo`:`Group Size`}: ${e}`,t?`${i===`es`?`Idioma preferido`:`Preferred Language`}: ${t}`:``,h.message?`${r(`contact.message`)}: ${h.message}`:``].filter(Boolean).join(`
2`)},V=e=>e===1?h.name&&h.email:e!==2||h.date&&I()>=1,H=()=>{V(o)?c(e=>Math.min(e+1,3)):a({title:i===`es`?`Campos requeridos`:`Required fields`,description:i===`es`?`Por favor completa todos los campos obligatorios.`:`Please fill in all required fields.`,variant:`destructive`})},U=()=>{c(e=>Math.max(e-1,1))},W=e=>{if(e.preventDefault(),!h.name||!h.email||!h.date||I()<1){a({title:i===`es`?`Campos requeridos`:`Required fields`,description:i===`es`?`Por favor completa todos los campos obligatorios.`:`Please fill in all required fields.`,variant:`destructive`});return}let t=encodeURIComponent(R());window.open(`https://wa.me/50624797019?text=${t}`,`_blank`),a({title:i===`es`?`¡Redirigiendo a WhatsApp!`:`Redirecting to WhatsApp!`,description:i===`es`?`Se abrirá WhatsApp con tu mensaje.`:`WhatsApp will open with your message.`})},G=e=>{if(e.preventDefault(),!h.name||!h.email||!h.date||I()<1){a({title:i===`es`?`Campos requeridos`:`Required fields`,description:i===`es`?`Por favor completa todos los campos obligatorios.`:`Please fill in all required fields.`,variant:`destructive`});return}let t=i===`es`?`Solicitud de Reservación - ${k().join(`, `)} - ${h.date}`:`Reservation Request - ${k().join(`, `)} - ${h.date}`;window.location.href=`mailto:${O}?subject=${encodeURIComponent(t)}&body=${encodeURIComponent(R())}`,a({title:i===`es`?`Abriendo tu correo...`:`Opening your email...`,description:i===`es`?`Se abrirá tu aplicación de correo con el mensaje listo para enviar.`:`Your email app will open with the message ready to send.`})},K=[{number:1,label:i===`es`?`Información`:`Info`,icon:A},{number:2,label:i===`es`?`Detalles`:`Details`,icon:C},{number:3,label:i===`es`?`Confirmar`:`Confirm`,icon:_}];return(0,B.jsxs)(`section`,{id:`reservation-form`,className:`py-16 bg-gradient-to-b from-primary/5 via-background to-background relative overflow-hidden scroll-mt-20`,children:[(0,B.jsxs)(`div`,{className:`absolute inset-0 pointer-events-none`,children:[(0,B.jsx)(`div`,{className:`absolute top-0 left-1/4 w-96 h-96 bg-primary/5 rounded-full blur-3xl`}),(0,B.jsx)(`div`,{className:`absolute bottom-0 right-1/4 w-80 h-80 bg-secondary/5 rounded-full blur-3xl`})]}),(0,B.jsx)(`div`,{className:`container mx-auto px-4 relative z-10`,children:(0,B.jsxs)(`div`,{className:`max-w-3xl mx-auto`,children:[(0,B.jsxs)(`div`,{className:`text-center mb-10`,children:[(0,B.jsxs)(`div`,{className:`inline-flex items-center gap-2 px-4 py-2 bg-whatsapp/10 rounded-full text-whatsapp text-sm font-medium mb-4`,children:[(0,B.jsx)(_,{className:`h-4 w-4`}),i===`es`?`Reserva por WhatsApp`:`Book via WhatsApp`]}),(0,B.jsx)(`h2`,{className:`font-display text-2xl md:text-3xl lg:text-4xl font-bold text-foreground`,children:i===`es`?`Reservar Este Tour`:`Reserve This Tour`}),(0,B.jsx)(`p`,{className:`mt-3 text-muted-foreground`,children:i===`es`?`Completa el formulario y envía tu reservación directamente por WhatsApp`:`Fill out the form and send your reservation directly via WhatsApp`})]}),(0,B.jsxs)(`div`,{className:`bg-card rounded-3xl shadow-elevated border border-border/50 overflow-hidden`,children:[(0,B.jsx)(`div`,{className:`bg-muted/30 px-6 py-5 border-b border-border/50`,children:(0,B.jsx)(`div`,{className:`flex items-center justify-between max-w-md mx-auto`,children:K.map((t,n)=>(0,B.jsxs)(`div`,{className:`flex items-center`,children:[(0,B.jsxs)(`button`,{type:`button`,onClick:()=>o>t.number&&c(t.number),className:e(`flex items-center gap-2 transition-all duration-300`,o>
2=t.number?`cursor-pointer`:`cursor-default`),children:[(0,B.jsx)(`div`,{className:e(`w-10 h-10 rounded-full flex items-center justify-center transition-all duration-300`,o>t.number?`bg-secondary text-secondary-foreground`:o===t.number?`bg-primary text-primary-foreground shadow-lg scale-110`:`bg-muted text-muted-foreground`),children:o>t.number?(0,B.jsx)(L,{className:`h-5 w-5`}):(0,B.jsx)(t.icon,{className:`h-5 w-5`})}),(0,B.jsx)(`span`,{className:e(`hidden sm:block text-sm font-medium transition-colors`,o===t.number?`text-foreground`:`text-muted-foreground`),children:t.label})]}),n<K.length-1&&(0,B.jsx)(`div`,{className:e(`w-12 sm:w-16 h-0.5 mx-2 sm:mx-4 transition-colors duration-300`,o>t.number?`bg-secondary`:`bg-border`)})]},t.number))})}),(0,B.jsxs)(`form`,{className:`p-6 md:p-8`,children:[(0,B.jsxs)(`div`,{className:e(`space-y-5 transition-all duration-300`,o===1?`block animate-fade-in`:`hidden`),children:[(0,B.jsxs)(`div`,{className:`grid sm:grid-cols-2 gap-5`,children:[(0,B.jsxs)(`div`,{className:`space-y-2`,children:[(0,B.jsxs)(`label`,{htmlFor:`name`,className:`text-sm font-medium text-foreground flex items-center gap-1`,children:[r(`contact.name`),` `,(0,B.jsx)(`span`,{className:`text-destructive`,children:`*`})]}),(0,B.jsx)(N,{id:`name`,name:`name`,type:`text`,required:!0,value:h.name,onChange:b,className:`h-12 bg-muted/50 border-border/50 focus:border-primary focus:bg-background transition-all rounded-xl`,placeholder:i===`es`?`Tu nombre completo`:`Your full name`})]}),(0,B.jsxs)(`div`,{className:`space-y-2`,children:[(0,B.jsxs)(`label`,{htmlFor:`email`,className:`text-sm font-medium text-foreground flex items-center gap-1`,children:[r(`contact.email`),` `,(0,B.jsx)(`span`,{className:`text-destructive`,children:`*`})]}),(0,B.jsx)(N,{id:`email`,name:`email`,type:`email`,required:!0,value:h.email,onChange:b,className:`h-12 bg-muted/50 border-border/50 focus:border-primary focus:bg-background transition-all rounded-xl`,placeholder:`[email protected]`})]})]}),(0,B.jsxs)(`div`,{className:`space-y-2`,children:[(0,B.jsx)(`label`,{htmlFor:`phone`,className:`text-sm font-medium text-foreground`,children:r(`contact.phone`)}),(0,B.jsx)(N,{id:`phone`,name:`phone`,type:`tel`,value:h.phone,onChange:b,className:`h-12 bg-muted/50 border-border/50 focus:border-primary focus:bg-background transition-all rounded-xl`,placeholder:`+506 0000-0000`})]}),(0,B.jsx)(`div`,{className:`flex justify-end pt-4`,children:(0,B.jsx)(s,{type:`button`,onClick:H,className:`px-8 h-12 rounded-xl bg-primary hover:bg-primary/90 text-primary-foreground font-medium transition-all hover:scale-105`,children:i===`es`?`Continuar`:`Continue`})})]}),(0,B.jsxs)(`div`,{className:e(`space-y-5 transition-all duration-300`,o===2?`block animate-fade-in`:`hidden`),children:[(0,B.jsxs)(`div`,{className:`bg-primary/5 rounded-xl p-4 border border-primary/20`,children:[(0,B.jsx)(`p`,{className:`text-sm text-muted-foreground mb-1`,children:i===`es`?`Tour seleccionado`:`Selected tour`}),(0,B.jsx)(`p`,{className:`font-semibold text-foreground`,children:n})]}),d.map((e,t)=>(0,B.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,B.jsxs)(`select`,{value:e,onChange:e=>x(t,e.target.value),className:`flex h-12 w-full rounded-xl bg-muted/50 border border-border/50 px-4 py-2 text-sm r
2ing-offset-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus:border-primary focus:bg-background transition-all text-foreground`,children:[(0,B.jsx)(`option`,{value:``,className:`text-muted-foreground`,children:r(`contact.select`)}),(0,B.jsx)(`optgroup`,{label:r(`tours.regularTitle`),className:`font-semibold text-foreground bg-card`,children:v.map(e=>(0,B.jsx)(`option`,{value:e.value,className:`text-foreground bg-card`,children:e.label},e.value))}),(0,B.jsx)(`optgroup`,{label:r(`tours.privateTitle`),className:`font-semibold text-foreground bg-card`,children:y.map(e=>(0,B.jsx)(`option`,{value:e.value,className:`text-foreground bg-card`,children:e.label},e.value))})]}),(0,B.jsx)(`button`,{type:`button`,onClick:()=>w(t),className:`flex-shrink-0 w-10 h-10 rounded-lg border border-destructive/30 text-destructive hover:bg-destructive/10 flex items-center justify-center transition-colors`,title:r(`contact.removeTour`),children:(0,B.jsx)(M,{className:`h-4 w-4`})})]},t)),(0,B.jsx)(`button`,{type:`button`,onClick:S,className:`w-full h-12 rounded-xl border-2 border-dashed border-primary/30 text-primary hover:border-primary/60 hover:bg-primary/5 flex items-center justify-center gap-2 text-sm font-medium transition-all`,children:r(`contact.addTour`)}),(0,B.jsxs)(`div`,{className:`space-y-2`,children:[(0,B.jsxs)(`label`,{htmlFor:`date`,className:`text-sm font-medium text-foreground flex items-center gap-1`,children:[r(`contact.date`),` `,(0,B.jsx)(`span`,{className:`text-destructive`,children:`*`})]}),(0,B.jsx)(N,{id:`date`,name:`date`,type:`date`,required:!0,value:h.date,onChange:b,min:new Date().toISOString().split(`T`)[0],className:`h-12 bg-muted/50 border-border/50 focus:border-primary focus:bg-background transition-all rounded-xl`})]}),(0,B.jsxs)(`div`,{className:`space-y-3`,children:[(0,B.jsxs)(`label`,{className:`text-sm font-medium text-foreground flex items-center gap-1`,children:[i===`es`?`Tamaño del Grupo`:`Group Size`,` `,(0,B.jsx)(`span`,{className:`text-destructive`,children:`*`})]}),(0,B.jsxs)(`div`,{className:`grid grid-cols-3 gap-3`,children:[(0,B.jsxs)(`div`,{className:`bg-muted/30 rounded-xl p-4 border border-border/50 hover:border-primary/30 transition-colors`,children:[(0,B.jsxs)(`span`,{className:`text-xs text-muted-foreground block text-center mb-3`,children:[i===`es`?`Adultos`:`Adults`,(0,B.jsx)(`span`,{className:`block text-[10px]`,children:`(11+)`})]}),(0,B.jsxs)(`div`,{className:`flex items-center justify-center gap-2`,children:[(0,B.jsx)(`button`,{type:`button`,onClick:()=>F(`adults`,!1),className:`w-8 h-8 rounded-lg border border-border bg-background hover:bg-primary hover:text-primary-foreground hover:border-primary flex items-center justify-center transition-all disabled:opacity-50 disabled:hover:bg-background disabled:hover:text-foreground`,disabled:h.adults<=1,children:(0,B.jsx)(E,{className:`h-4 w-4`})}),(0,B.jsx)(`span`,{className:`w-8 text-center font-bold text-lg text-foreground`,children:h.adults}),(0,B.jsx)(`button`,{type:`button`,onClick:()=>F(`adults`,!0),className:`w-8 h-8 rounded-lg border border-border bg-background hover:bg-primary hover:text-primary-foreground hover:border-primary flex items-center justify-center transition-all disabled:opacity-50`,disabled:h.adults>=20,children:(0,B.jsx)(D,{className:`h-4 w-4`})})]})]}),(0,B.jsxs)(`div`,{className:`bg-muted/30 rounded-xl p-4 border border-border/50 hover:border-primary/30 transition-colors`,children:[(0,B.jsxs)(`span`,{className:`text-xs text-muted-foreground block text-center mb-3`,children:[i===`es`?`Niños`:`Children`,(0,B.jsx)(`span`,{className:`block text-[10px]`,children:`(5-10)`})]}),(0,B.jsxs)(`div`,{className:`flex items-center justify-center gap-2`,children:[(0,B.jsx)(`button`,{type:`button`,onClick:()=>F(`children`,!1),className:`w-8 h-8 rounded-lg border border-border bg-background hover:bg-primary hover:text-primary-foreground hover:border-primary flex items-center justify-center transition-all disabled:opacity-50 disabled:hover:bg-background disabled:hover:text-foreground`,disabled:h.children<=0,children:(0,B.jsx)(E,{className:`h-4 w-4`})}),(0,B.jsx)(`span`,{className:`w-8 text-center font-bold text-lg text-foreground`,children:h.children}),(0,B.jsx)(`button`,{type:`button`,onClick:()=>F(`children`,!0),className:`w-8 h-8 rounded-lg border border-border bg-background hover:bg-primary hover:text-primary-foreground hover:border-primary flex items-center justify-center transition-all disabled:opacity-50`,disabled:h.children>=20,children:(0,B.jsx)(D,{className:`h-4 w-4`})})]})]}),(0,B.jsxs)(`div`,{className:`bg-muted/30 rounded-xl p-4 border border-border/50 hover:border-primary/30 transition-colors`,children:[(0,B.jsxs)(`span`,{className:`text-xs text-muted-foreground block text-center mb-3`,children:[i===`es`?`Infantes`:`Infants`,(0,B.jsx)(`span`,{className:`block text-[10px]`,children:`(0-4)`})]}),(0,B.jsxs)(`div`,{className:`flex items-center justify-center gap-2`,children:[(0,B.jsx)(`button`,{type:`button`,onClick:()=>F(`infants`,!1),className:`w-8 h-8 rounded-lg border border-border bg-background hover:bg-primary hover:text-primary-foreground hover:border-primary flex items-center justify-center transition-all disabled:opacity-50 disabled:hover:bg-background disabled:hover:text-foreground`,disabled:h.infants<=0,children:(0,B.jsx)(E,{className:`h-4 w-4`})}),(0,B.jsx)(`span`,{className:`w-8 text-center font-bold text-lg text-foreground`,children:h.infants}),(0,B.jsx)(`button`,{type:`button`,onClick:()=>F(`infants`,!0),className:`w-8 h-8 rounded-lg border border-border bg-background hover:bg-primary hover:text-primary-foreground hover:border-primary flex items-center justify-center transition-all disabled:opacity-50`,disabled:h.infants>=20,children:(0,B.jsx)(D,{className:`h-4 w-4`})})]})]})]})]}),(0,B.jsxs)(`div`,{className:`space-y-2`,children:[(0,B.jsx)(`label`,{htmlFor:`preferredLanguage`,className:`text-sm font-medium text-foreground`,children:r(`contact.preferredLanguage`)}),(0,B.jsxs)(`select`,{id:`preferredLanguage`,name:`preferredLanguage`,value:h.preferredLanguage,onChange:b,className:`flex h-12 w-full rounded-xl bg-muted/50 border border-border/50 px-4 py-2 text-sm r
2ing-offset-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus:border-primary focus:bg-background transition-all text-foreground`,children:[(0,B.jsx)(`option`,{value:``,className:`text-muted-foreground`,children:r(`contact.preferredLanguage.select`)}),(0,B.jsx)(`option`,{value:`english`,children:r(`contact.preferredLanguage.english`)}),(0,B.jsx)(`option`,{value:`spanish`,children:r(`contact.preferredLanguage.spanish`)})]})]}),(0,B.jsxs)(`div`,{className:`flex justify-between pt-4`,children:[(0,B.jsx)(s,{type:`button`,variant:`outline`,onClick:U,className:`px-6 h-12 rounded-xl`,children:i===`es`?`Anterior`:`Back`}),(0,B.jsx)(s,{type:`button`,onClick:H,className:`px-8 h-12 rounded-xl bg-primary hover:bg-primary/90 text-primary-foreground font-medium transition-all hover:scale-105`,children:i===`es`?`Continuar`:`Continue`})]})]}),(0,B.jsxs)(`div`,{className:e(`space-y-5 transition-all duration-300`,o===3?`block animate-fade-in`:`hidden`),children:[(0,B.jsxs)(`div`,{className:`bg-gradient-to-br from-primary/5 to-secondary/5 rounded-xl p-5 border border-border/50`,children:[(0,B.jsxs)(`h4`,{className:`font-semibold text-foreground mb-4 flex items-center gap-2`,children:[(0,B.jsx)(L,{className:`h-5 w-5 text-secondary`}),i===`es`?`Resumen de tu reserva`:`Reservation Summary`]}),(0,B.jsxs)(`div`,{className:`space-y-3 text-sm`,children:[(0,B.jsxs)(`div`,{className:`flex justify-between`,children:[(0,B.jsxs)(`span`,{className:`text-muted-foreground`,children:[i===`es`?`Nombre`:`Name`,`:`]}),(0,B.jsx)(`span`,{className:`font-medium text-foreground`,children:h.name||`-`})]}),(0,B.jsxs)(`div`,{className:`flex justify-between`,children:[(0,B.jsxs)(`span`,{className:`text-muted-foreground`,children:[`Email`,`:`]}),(0,B.jsx)(`span`,{className:`font-medium text-foreground`,children:h.email||`-`})]}),(0,B.jsxs)(`div`,{className:`flex justify-between`,children:[(0,B.jsx)(`span`,{className:`text-muted-foreground`,children:`Tour(s):`}),(0,B.jsx)(`span`,{className:`font-medium text-foreground text-right`,children:k().join(`, `)})]}),(0,B.jsxs)(`div`,{className:`flex justify-between`,children:[(0,B.jsxs)(`span`,{className:`text-muted-foreground`,children:[i===`es`?`Fecha`:`Date`,`:`]}),(0,B.jsx)(`span`,{className:`font-medium text-foreground`,children:h.date||`-`})]}),(0,B.jsxs)(`div`,{className:`flex justify-between`,children:[(0,B.jsxs)(`span`,{className:`text-muted-foreground`,children:[i===`es`?`Grupo`:`Group`,`:`]}),(0,B.jsxs)(`span`,{className:`font-medium text-foreground`,children:[h.adults,` `,i===`es`?`adulto(s)`:`adult(s)`,h.children>0&&`, ${h.children} ${i===`es`?`niño(s)`:`child(ren)`}`,h.infants>0&&`, ${h.infants} ${i===`es`?`infante(s)`:`infant(s)`}`]})]}),h.preferredLanguage&&(0,B.jsxs)(`div`,{className:`flex justify-between`,children:[(0,B.jsxs)(`span`,{className:`text-muted-foreground`,children:[i===`es`?`Idioma preferido`:`Preferred Language`,`:`]}),(0,B.jsx)(`span`,{className:`font-medium text-foreground`,children:r(`contact.preferredLanguage.${h.preferredLanguage}`)})]})]})]}),(0,B.jsxs)(`div`,{className:`space-y-2`,children:[(0,B.jsx)(`label`,{htmlFor:`message`,className:`text-sm font-medium text-foreground`,children:i===`es`?`Notas adicionales (opcional)`:`Additional notes (optional)`}),(0,B.jsx)(P,{id:`message`,name:`message`,value:h.message,onChange:b,className:`min-h-[100px] bg-muted/50 border-border/50 focus:border-primary focus:bg-background transition-all rounded-xl resize-none`,placeholder:i===`es`?`Requerimientos especiales, preguntas, etc.`:`Special requirements, questions, etc.`})]}),(0,B.jsxs)(`div`,{className:`space-y-3 pt-4`,children:[(0,B.jsxs)(s,{type:`button`,onClick:W,className:`w-full h-14 rounded-xl bg-whatsapp hover:bg-whatsapp/90 text-white font-semibold transition-all hover:scale-[1.02] flex items-center justify-center gap-3 shadow-lg`,children:[(0,B.jsx)(_,{className:`h-6 w-6`}),(0,B.jsx)(`span`,{className:`text-lg`,children:i===`es`?`Enviar por WhatsApp`:`Send via WhatsApp`})]}),(0,B.jsxs)(s,{type:`button`,onClick:G,disabled:l,variant:`reserve`,className:`w-full h-14 roun
2ded-xl font-semibold transition-all hover:scale-[1.02] flex items-center justify-center gap-3`,children:[l?(0,B.jsx)(T,{className:`h-6 w-6 animate-spin`}):(0,B.jsx)(m,{className:`h-6 w-6`}),(0,B.jsx)(`span`,{className:`text-lg`,children:l?i===`es`?`Enviando...`:`Sending...`:i===`es`?`Enviar por Email`:`Send via Email`})]}),(0,B.jsx)(s,{type:`button`,variant:`ghost`,onClick:U,className:`w-full h-10`,children:i===`es`?`← Modificar datos`:`← Modify details`})]})]})]})]}),(0,B.jsxs)(`div`,{className:`mt-8 flex flex-wrap items-center justify-center gap-6 text-sm text-muted-foreground`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,B.jsx)(L,{className:`h-4 w-4 text-secondary`}),(0,B.jsx)(`span`,{children:i===`es`?`Confirmación rápida`:`Quick confirmation`})]}),(0,B.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,B.jsx)(L,{className:`h-4 w-4 text-secondary`}),(0,B.jsx)(`span`,{children:i===`es`?`Guía bilingüe`:`Bilingual guide`})]}),(0,B.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,B.jsx)(L,{className:`h-4 w-4 text-secondary`}),(0,B.jsx)(`span`,{children:i===`es`?`Cancelación flexible`:`Flexible cancellation`})]})]})]})})]})},H=e=>e.startsWith(`private`),U=({tourKey:e,videoId:t,heroImage:n})=>{let{t:i}=p(),a=o();(0,z.useEffect)(()=>{window.scrollTo(0,0)},[a.pathname]);let m=()=>{let e=document.getElementById(`reservation-form`);e&&e.scrollIntoView({behavior:`smooth`})},g=()=>{let t=i(`tour.${e}.bookingUrl`);t&&t!==`tour.${e}.bookingUrl`&&window.open(t,`_blank`)},T=i(`tour.${e}.bookingUrl`),E=T&&T!==`tour.${e}.bookingUrl`;return(0,B.jsxs)(`div`,{className:`min-h-screen`,children:[(0,B.jsx)(y,{}),(0,B.jsxs)(`main`,{children:[(0,B.jsx)(`section`,{className:`relative pt-20`,children:(0,B.jsxs)(`div`,{className:`relative h-[50vh] md:h-[60vh] overflow-hidden`,children:[(0,B.jsx)(`img`,{src:n,alt:i(`tour.${e}.title`),className:`w-full h-full object-cover`}),(0,B.jsx)(`div`,{className:`absolute inset-0 bg-hero-overlay`}),(0,B.jsx)(`div`,{className:`absolute top-24 left-4 md:left-8 z-10`,children:(0,B.jsx)(r,{to:`/#tours`,children:(0,B.jsxs)(s,{variant:`heroOutline`,size:`sm`,className:`gap-2`,children:[(0,B.jsx)(c,{className:`h-4 w-4`}),i(`tour.back`)]})})}),(0,B.jsx)(`div`,{className:`absolute inset-0 flex items-center justify-center`,children:(0,B.jsxs)(`div`,{className:`text-center px-4`,children:[(0,B.jsx)(`h1`,{className:`font-display text-4xl md:text-5xl lg:text-6xl font-bold text-primary-foreground text-shadow-hero animate-fade-up`,children:i(`tour.${e}.title`)}),(0,B.jsx)(`p`,{className:`mt-4 text-lg md:text-xl text-primary-foreground/90 max-w-2xl mx-auto text-shadow-hero animate-fade-up-delay-1`,children:i(`tour.${e}.tagline`)})]})})]})}),(0,B.jsx)(`section`,{className:`py-16 bg-background`,children:(0,B.jsx)(`div`,{className:`container mx-auto px-4`,children:(0,B.jsxs)(`div`,{className:`max-w-4xl mx-auto`,children:[(0,B.jsx)(`h2`,{className:`font-display text-2xl md:text-3xl font-bold text-foreground text-center mb-8`,children:i(`tour.watchVideo`)}),(0,B.jsx)(`div`,{className:`relative aspect-video rounded-2xl overflow-hidden shadow-elevated`,children:(0,B.jsx)(`iframe`,{src:`https://www.youtube.com/embed/${t}?rel=0`,title:i(`tour.${e}.title`),allow:`accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture`,allowFullScreen:!0,className:`absolute inset-0 w-full h-full`})})]})})}),H(e)&&(0,B.jsx)(`section`,{className:`py-12 bg-accent/5 border-y border-accent/20`,children:(0,B.jsx)(`div`,{className:`container mx-auto px-4`,children:(0,B.jsxs)(`div`,{className:`max-w-4xl mx-auto`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-3 mb-6`,children:[(0,B.jsx)(`div`,{className:`w-10 h-10 rounded-xl bg-accent/20 flex items-center justify-center`,children:(0,B.jsx)(h,{className:`h-5 w-5 text-accent`})}),(0,B.jsx)(`h2`,{className:`font-display text-xl md:text-2xl font-bold text-foreground`,children:`General Notes (Private Tours – Apply to All)`})]}),(0,B.jsxs)(`div`,{className:`space-y-4 text-muted-foreground`,children:[(0,B.jsx)(`p`,{className:`leading-relaxed`,children:i(`tour.private.generalN
2otes`)}),(0,B.jsx)(`p`,{className:`leading-relaxed`,children:i(`tour.private.bestTimeNote`)})]}),(0,B.jsxs)(`div`,{className:`mt-6 grid grid-cols-1 md:grid-cols-3 gap-4`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-3 bg-card rounded-xl p-4 shadow-xs`,children:[(0,B.jsx)(S,{className:`h-5 w-5 text-accent flex-shrink-0`}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Trail`}),(0,B.jsx)(`p`,{className:`text-sm font-medium text-foreground`,children:`~1 km circular trail`})]})]}),(0,B.jsxs)(`div`,{className:`flex items-center gap-3 bg-card rounded-xl p-4 shadow-xs`,children:[(0,B.jsx)(R,{className:`h-5 w-5 text-accent flex-shrink-0`}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Conditions`}),(0,B.jsx)(`p`,{className:`text-sm font-medium text-foreground`,children:`Mostly flat, gravel-covered`})]})]}),(0,B.jsxs)(`div`,{className:`flex items-center gap-3 bg-card rounded-xl p-4 shadow-xs`,children:[(0,B.jsx)(A,{className:`h-5 w-5 text-accent flex-shrink-0`}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:`Group`}),(0,B.jsx)(`p`,{className:`text-sm font-medium text-foreground`,children:`Only your party (no strangers)`})]})]})]})]})})}),(0,B.jsx)(`section`,{className:`py-16 bg-gradient-premium`,children:(0,B.jsx)(`div`,{className:`container mx-auto px-4`,children:(0,B.jsx)(`div`,{className:`max-w-4xl mx-auto`,children:(0,B.jsxs)(`div`,{className:`grid md:grid-cols-2 gap-8 lg:gap-12`,children:[(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`h2`,{className:`font-display text-2xl md:text-3xl font-bold text-foreground mb-6`,children:i(`tour.about`)}),(0,B.jsx)(`p`,{className:`text-muted-foreground text-lg leading-relaxed`,children:i(`tour.${e}.description`)})]}),(0,B.jsxs)(`div`,{className:`bg-card rounded-2xl p-6 md:p-8 shadow-soft`,children:[(0,B.jsx)(`h3`,{className:`font-display text-xl font-semibold text-foreground mb-6`,children:i(`tour.details`)}),(0,B.jsxs)(`div`,{className:`space-y-4`,children:[(0,B.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,B.jsx)(`div`,{className:`p-3 rounded-full bg-secondary/10`,children:(0,B.jsx)(w,{className:`h-5 w-5 text-secondary`})}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:i(`tours.duration`)}),(0,B.jsx)(`p`,{className:`font-semibold text-foreground`,children:i(`tour.${e}.duration`)})]})]}),(0,B.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,B.jsx)(`div`,{className:`p-3 rounded-full bg-secondary/10`,children:(0,B.jsx)(C,{className:`h-5 w-5 text-secondary`})}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:i(`tours.schedule`)}),(0,B.jsx)(`p`,{className:`font-semibold text-foreground`,children:i(`tour.${e}.schedule`)})]})]}),H(e)&&i(`tour.${e}.bestTime`)&&(0,B.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,B.jsx)(`div`,{className:`p-3 rounded-full bg-accent/10`,children:(0,B.jsx)(k,{className:`h-5 w-5 text-accent`})}),(0,B.jsxs)(`div`,{children:[(0,B.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:i(`tour.bestTime`)}),(0,B.jsx)(`p`,{className:`font-semibold text-foreground`,children:i(`tour.${e}.bestTime`)})]})]}),(0,B.jsx)(`div`,{className:`mt-4 pt-4 border-t border-border/50`,children:(0,B.jsx)(`p`,{className:`text-xs text-muted-foreground text-center`,children:`Tours + 13% IVA`})})]}),(0,B.jsxs)(`div`,{className:`mt-6 pt-6 border-t border-border space-y-3`,children:[E&&(0,B.jsxs)(s,{variant:`reserve`,size:`xl`,className:`w-full`,onClick:g,children:[(0,B.jsx)(b,{className:`h-5 w-5`}),`Book Now`]}),(0,B.jsxs)(s,{variant:`whatsapp`,size:`lg`,className:`w-full`,onClick:m,children:[(0,B.jsx)(_,{className:`h-5 w-5`}),`Send request`]})]})]})]})})})}),(0,B.jsx)(`section`,{className:`py-16 bg-background`,children:(0,B.jsx)(`div`,{className:`container mx-auto px-4`,children:(0,B.jsxs)(`div`,{className:`max-w-4xl mx-auto grid md:grid-cols-2 gap-8`,children:[(0,B.jsxs)(`div`,{children:[(0,B.jsxs)(`h3`,{className:`font-display text-xl font-semibold text-foreground mb-6 flex items-center gap-2`,children:[(0,B.jsx)(I,{className:`h-5 w-5 text-secondary`}),i(`tour.includes`)]}),(0,B.jsx)(`ul`,{className:`space-y-3`,children:i(`tour.${e}.includes`).split(`|`).map((e,t)=>(0,B.jsxs)(`li`,{className:`flex items-start gap-3 text-muted-foreground`,children:[(0,B.jsx)(`span`,{className:`w-1.5 h-1.5 rounded-full bg-secondary mt-2 flex-shrink-0`}),e.trim()]},t))})]}),(0,B.jsxs)(`div`,{children:[(0,B.jsxs)(`h3`,{className:`font-display text-xl font-semibold text-foreground mb-6 flex items-center gap-2`,children:[(0,B.jsx)(F,{className:`h-5 w-5 text-accent`}),i(`tour.whatToBring`)]}),(0,B.jsx)(`ul`,{className:`space-y-3`,children:i(`tour.bringList`).split(`|`).map((e,t)=>(0,B.jsxs)(`li`,{className:`flex items-start gap-3 text-muted-foreground`,children:[(0,B.jsx)(`span`,{className:`w-1.5 h-1.5 rounded-full bg-accent mt-2 flex-shrink-0`}),e.trim()]},t))})]})]})})}),i(`tour.${e}.recommended`)&&(0,B.jsx)(`section`,{className:`py-12 bg-primary text-primary-foreground`,children:(0,B.jsx)(`div`,{className:`container mx-auto px-4 text-center`,children:(0,B.jsxs)(`p`,{className:`text-lg`,children:[(0,B.jsxs)(`span`,{className:`font-semibold`,children:[H(e)?i(`tour.idealFor`):i(`tour.recommendedFor`),`:`]}),` `,i(`tour.${e}.recommended`)]})})}),(0,B.jsx)(V,{tourKey:e,tourTitle:i(`tour.${e}.title`)}),(0,B.jsx)(`section`,{className:`py-16 bg-muted/30`,children:(0,B.jsx)(`div`,{className:`container mx-auto px-4`,children:(0,B.jsxs)(`div`,{className:`max-w-4xl mx-auto`,children:[(0,B.jsx)(`h2`,{className:`font-display text-2xl md:text-3xl font-bold text-foreground mb-10 text-center`,children:i(`policies.title`)}),(0,B.jsxs)(`div`,{className:`grid md:grid-cols-2 gap-8`,children:[(0,B.jsxs)(`div`,{className:`bg-card rounded-2xl p-6 shadow-xs border border-border/50`,children:[(0,B.jsxs)(`h3`,{className:`font-display text-lg font-semibold text-foreground mb-4 flex items-center gap-2`,children:[(0,B.jsx)(l,{className:`h-5 w-5 text-primary`}),i(`policies.whatToBring`)]}),(0,B.jsx)(`ul`,{className:`space-y-2`,children:i(`policies.whatToBring.list`).split(`|`).map((e,t)=>(0,B.jsxs)(`li`,{className:`flex items-start gap-2 text-sm text-muted-foreground`,children:[(0,B.jsx)(`span`,{className:`w-1.5 h-1.5 rounded-full bg-primary mt-2 flex-shrink-0`}),e.trim()]},t))})]}),(0,B.jsxs)(`div`,{className:`bg-card rounded-2xl p-6 shadow-xs border border-border/50`,children:[(0,B.jsxs)(`h3`,{className:`font-display text-lg font-semibold text-foreground mb-4 flex items-center gap-2`,children:[(0,B.jsx)(d,{className:`h-5 w-5 text-destructive`}),i(`policies.notIncluded`)]}),(0,B.jsx)(`ul`,{className:`space-y-2`,children:i(`policies.notIncluded.list`).split(`|`).map((e,t)=>(0,B.jsxs)(`li`,{className:`flex items-start gap-2 text-sm text-muted-foreground`,children:[(0,B.jsx)(`span`,{className:`w-1.5 h-1.5 rounded-full bg-destructive mt-2 flex-shrink-0`}),e.trim()]},t))})]}),(0,B.jsxs)(`div`,{className:`bg-card rounded-2xl p-6 shadow-xs border border-border/50`,children:[(0,B.jsxs)(`h3`,{className:`font-display text-lg font-semibold text-foreground mb-4 flex items-center gap-2`,children:[(0,B.jsx)(u,{className:`h-5 w-5 text-blue-500`}),i(`policies.weather`)]}),(0,B.jsx)(`p`,{className:`text-sm text-muted-foreground leading-relaxed`,children:i(`policies.weather.text`)})]}),(0,B.jsxs)(`div`,{className:`bg-card rounded-2xl p-6 shadow-xs border border-border/50`,children:[(0,B.jsxs)(`h3`,{className:`font-display text-lg font-semibold text-foreground mb-4 flex items-center gap-2`,children:[(0,B.jsx)(f,{className:`h-5 w-5 text-secondary`}),i(`policies.cancellation`)]}),(0,B.jsx)(`ul`,{className:`space-y-2`,children:i(`policies.cancellation.list`).split(`|`).map((e,t)=>(0,B.jsxs)(`li`,{className:`flex items-start gap-2 text-sm text-muted-foreground`,children:[(0,B.jsx)(`span`,{className:`w-1.5 h-1.5 rounded-full bg-secondary mt-2 flex-shrink-0`}),e.trim()]},t))})]})]})]})})})]}),(0,B.jsx)(v,{}),(0,B.jsx)(x,{})]})},W=e=>(0,B.jsx)(g,{children:(0,B.jsx)(U,{...e})});
2export{W as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.