/* zoro.zip — DreamWorld Vacation landing page: one centered card over a full-screen ocean backdrop.
   Brand colors match DreamWorldVacation.net. */
:root {
    --navy: #0B2545;
    --teal: #0FA3B1;
    --teal-dark: #0B7E89;
    --coral: #FF7A59;
    --coral-dark: #E85D3B;
    --sand: #FFF6EC;
    --gold: #F7B32B;
    --wood: #8B5E3C;
    --wood-dark: #5E3B22;
    --text: #1E2A3B;
    --muted: #5B6779;
    --border: #EADFD0;
    --radius: 18px;
    --card-w: 760px;
    --shadow: 0 14px 40px rgba(11, 37, 69, .12);
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--navy); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--teal-dark); }
h1, h2, h3 { margin: 0; line-height: 1.15; color: var(--navy); }
h1 em, h2 em { font-style: italic; color: var(--coral); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 600 .95rem/1 var(--sans); padding: .95rem 1.5rem; border-radius: 50px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-block { width: 100%; padding: 1.1rem 1.5rem; font-size: 1.05rem; }
.btn-coral { background: linear-gradient(135deg, var(--coral), var(--coral-dark)); color: #fff; box-shadow: 0 10px 26px rgba(232, 93, 59, .4); }
.btn-coral:hover { box-shadow: 0 14px 32px rgba(232, 93, 59, .5); color: #fff; }
.btn-glass { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.6); backdrop-filter: blur(8px); }
.btn-glass:hover { background: #fff; color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--coral); color: #fff; }
.btn-sm { padding: .55rem .95rem; font-size: .82rem; }
.btn-outline { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }

/* ---------- Full-screen backdrop ---------- */
.backdrop { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.bg-slide { position: absolute; inset: 0; background: var(--img) center/cover no-repeat; opacity: 0; transform: scale(1.12); transition: opacity 1.8s ease, transform 8s ease-out; }
.bg-slide.is-active { opacity: 1; transform: scale(1); }
.bg-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,37,69,.45), rgba(11,37,69,.25) 50%, rgba(11,37,69,.55)); }
.gulls { position: absolute; top: 12%; left: 0; width: 220px; fill: none; stroke: rgba(255,255,255,.85); stroke-width: 2; stroke-linecap: round; animation: gulls 38s linear infinite; }
@keyframes gulls { from { transform: translateX(-240px); } 50% { transform: translateX(50vw) translateY(-30px); } to { transform: translateX(105vw) translateY(10px); } }
.gull { animation: flap 1.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.g2 { animation-delay: .4s; } .g3 { animation-delay: .8s; }
@keyframes flap { 50% { transform: scaleY(.55); } }
.waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 120px; }
.wave-layers > use { animation: wave 25s cubic-bezier(.55,.5,.45,.5) infinite; }
.wave-layers > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.wave-layers > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.wave-layers > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.wave-layers > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }
@keyframes wave { 0% { transform: translate3d(-90px,0,0); } 100% { transform: translate3d(85px,0,0); } }

/* ---------- The card ---------- */
.lp { position: relative; z-index: 1; width: calc(100% - 32px); max-width: var(--card-w); margin: 48px auto 110px; background: var(--sand); border-radius: 28px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.25); }

/* Card top: boardwalk at dusk with string lights */
.lp-close { position: absolute; top: 16px; right: 16px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(11,37,69,.55); border: 1px solid rgba(255,255,255,.5); color: #fff; font-size: 1.15rem; text-decoration: none; backdrop-filter: blur(6px); box-shadow: 0 6px 16px rgba(0,0,0,.3); transition: background .2s, transform .2s; }
.lp-close:hover { background: var(--coral); border-color: var(--coral); color: #fff; transform: rotate(90deg); }
.lp-hero { position: relative; color: #fff; text-align: center; padding: 70px 40px 96px;
    background: linear-gradient(180deg, rgba(11,37,69,.72) 0%, rgba(11,37,69,.5) 45%, rgba(94,59,34,.78) 100%), url('https://images.unsplash.com/photo-1495954484750-af469f2f9be5?auto=format&fit=crop&w=1400&q=70') center/cover no-repeat; }
.lp-hero-inner { position: relative; z-index: 2; }
.brand { display: flex; width: fit-content; flex-direction: column; align-items: center; gap: .45rem; text-decoration: none; font: 700 1.45rem var(--serif); color: #fff; margin: 0 auto 1.1rem; }
.brand img { filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
.brand em { font-style: normal; color: var(--coral); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 500; padding: .4rem .95rem; border-radius: 50px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(6px); margin: 0 0 1.2rem; }
.eyebrow i { color: var(--gold); }
.lp-hero h1 { font-family: var(--serif); color: #fff; font-size: clamp(2.3rem, 6vw, 3.6rem); text-shadow: 0 4px 24px rgba(0,0,0,.3); }
.lp-hero h1 em { display: block; color: var(--gold); }
.rotator-line { font: italic 600 clamp(1.2rem, 3vw, 1.6rem) var(--serif); margin: .9rem 0 .5rem; }
.rotator { display: inline-block; color: var(--gold); border-bottom: 3px solid var(--coral); transition: opacity .4s ease, transform .4s ease; }
.rotator.out { opacity: 0; transform: translateY(-12px); }
.lp-sub { max-width: 540px; margin: 0 auto 1.7rem; color: rgba(255,255,255,.92); }
.lp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }

.string-lights { position: absolute; top: 0; left: 0; right: 0; height: 80px; z-index: 1; }
.string-lights svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bulbs span { position: absolute; width: 11px; height: 15px; margin-left: -5.5px; border-radius: 50% 50% 45% 45%; background: #FFE29A; box-shadow: 0 0 12px 4px rgba(255, 214, 120, .8), 0 0 28px 8px rgba(255, 190, 80, .35); animation: twinkle 2.2s ease-in-out infinite; }
.bulbs span::before { content: ""; position: absolute; top: -5px; left: 2.5px; width: 6px; height: 6px; border-radius: 2px; background: #3a2c20; }
.bulbs span:nth-child(3n) { background: #FFB4A0; box-shadow: 0 0 12px 4px rgba(255, 150, 120, .75), 0 0 28px 8px rgba(255, 122, 89, .3); }
.bulbs span:nth-child(4n) { background: #A8F0F5; box-shadow: 0 0 12px 4px rgba(120, 230, 240, .7), 0 0 28px 8px rgba(15, 163, 177, .3); }
@keyframes twinkle { 50% { opacity: .55; transform: scale(.9); } }
.planks { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; z-index: 1;
    background: repeating-linear-gradient(90deg, rgba(0,0,0,.28) 0 3px, transparent 3px 110px), repeating-linear-gradient(180deg, #a87449 0 21px, #6e4527 21px 23px);
    box-shadow: inset 0 10px 18px rgba(0,0,0,.35); }

/* Stats overlapping the planks */

/* ---------- Card sections ---------- */
.lp-section { padding: 52px 40px; text-align: center; }
.lp-section h2 { font-family: var(--serif); font-size: clamp(1.8rem, 4.4vw, 2.4rem); }
.lead { color: var(--muted); margin: .8rem auto 1.8rem; max-width: 540px; }
.fine { color: var(--muted); font-size: .76rem; margin: 1.4rem 0 0; }
.fine a { color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: .6rem; color: var(--teal-dark); font: 600 .76rem var(--sans); text-transform: uppercase; letter-spacing: .16em; margin: 0 0 .7rem; }
.kicker::before, .kicker::after { content: ""; width: 22px; height: 2px; background: currentColor; opacity: .6; }

/* Destinations */
.dest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; text-align: left; }
.dest-card { display: block; text-decoration: none; position: relative; min-height: 270px; border-radius: var(--radius); overflow: hidden; color: #fff; box-shadow: var(--shadow); cursor: pointer; isolation: isolate; }
.dest-wide { grid-column: 1 / -1; min-height: 300px; }
.dest-img, .dest-img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.dest-img img { object-fit: cover; transition: transform .8s ease; }
.dest-card::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(11,37,69,0) 25%, rgba(11,37,69,.9) 100%); }
.dest-card:hover .dest-img img { transform: scale(1.08); }
.dest-tag, .dest-off { position: absolute; top: 12px; z-index: 1; font-size: .72rem; font-weight: 600; padding: .3rem .75rem; border-radius: 50px; }
.dest-tag { left: 12px; background: rgba(255,255,255,.92); color: var(--navy); }
.dest-off { right: 12px; background: var(--coral); color: #fff; }
.dest-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1.1rem 1.2rem 1.2rem; }
.dest-place { margin: 0; font-size: .78rem; color: rgba(255,255,255,.85); }
.dest-place i { color: var(--gold); margin-right: .2rem; }
.dest-body h3 { font: 700 1.6rem var(--serif); color: #fff; }
.dest-wide .dest-body h3 { font-size: 2rem; }
.dest-line { display: none; margin: .3rem 0 .6rem; font-size: .88rem; color: rgba(255,255,255,.88); }
.dest-wide .dest-line { display: block; }
.dest-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem .6rem; margin: .3rem 0 .8rem; }
.dest-price { font: 700 1.3rem var(--serif); color: var(--gold); }
.dest-price small { font: 400 .74rem var(--sans); color: rgba(255,255,255,.8); }
.dest-price s { font: 400 .82rem var(--sans); color: rgba(255,255,255,.6); }
.dest-nights { font-size: .78rem; color: rgba(255,255,255,.85); }

/* Continue to the main site */
.lp-final { margin: 0 40px; padding-left: 0; padding-right: 0; border-top: 1px solid var(--border); }
.contact-pills { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.contact-pills a { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 50px; border: 1px solid var(--border); background: #fff; color: var(--navy); text-decoration: none; font-weight: 500; font-size: .9rem; word-break: break-word; }
.contact-pills i { color: var(--coral-dark); }
.contact-pills a:hover { border-color: var(--teal); color: var(--teal-dark); }

/* ---------- Dialogs ---------- */
dialog { border: 0; padding: 0; border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.4); color: var(--text); }
dialog::backdrop { background: rgba(11,37,69,.65); backdrop-filter: blur(4px); }
dialog[open] { animation: pop .35s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.dd-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.dd-actions .btn { flex: 1 1 200px; }
.exit-dialog { width: min(520px, calc(100% - 32px)); text-align: center; overflow: hidden; }
.exit-media { height: 150px; background: linear-gradient(180deg, rgba(11,37,69,0), rgba(11,37,69,.35)), url('https://images.unsplash.com/photo-1544550581-5f7ceaf7f992?auto=format&fit=crop&w=1100&q=70') center/cover; }
.exit-body { padding: 1.6rem 1.8rem 1.8rem; }
.exit-body .kicker::after { display: inline-block; }
.exit-body h2 { font: 700 1.55rem var(--serif); }
.exit-body p { color: var(--muted); }
.exit-ring { width: 50px; height: 50px; margin: 0 auto 1.1rem; }
.exit-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.exit-ring circle { fill: none; stroke: #E3E8EF; stroke-width: 4; }
.exit-ring .exit-ring-bar { stroke: var(--coral); stroke-linecap: round; stroke-dasharray: 107; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear; }

/* ---------- Floating contact window ---------- */
.contact-win { position: fixed; right: 20px; bottom: 20px; z-index: 1000; width: 360px; max-width: calc(100vw - 32px); max-height: calc(100vh - 40px); display: flex; flex-direction: column; background: #fff; border-radius: 22px; box-shadow: 0 30px 70px rgba(0,0,0,.4); overflow: hidden; opacity: 0; transform: translateY(24px) scale(.96); transform-origin: bottom right; transition: opacity .3s ease, transform .3s ease; }
.contact-win.show { opacity: 1; transform: none; }
.cw-head { position: relative; display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; color: #fff; background: linear-gradient(135deg, var(--navy), var(--teal-dark)); }
.cw-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 10px; background: radial-gradient(circle at 10px -4px, transparent 10px, #fff 11px) repeat-x; background-size: 20px 10px; }
.cw-avatar { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--coral); font-size: 1.15rem; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.cw-title { display: flex; flex-direction: column; min-width: 0; }
.cw-title strong { font-family: var(--serif); font-size: 1.1rem; }
.cw-title small { font-size: .75rem; color: rgba(255,255,255,.85); }
.online-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; margin-right: .3rem; box-shadow: 0 0 0 3px rgba(61,220,132,.3); }
.cw-min { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; cursor: pointer; }
.cw-min:hover { background: rgba(255,255,255,.35); }
.cw-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: 1rem 1rem .6rem; }
.cw-action { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .7rem .3rem; border-radius: 14px; border: 1px solid var(--border); text-decoration: none; color: var(--navy); background: var(--sand); text-align: center; min-width: 0; transition: background .2s, color .2s, transform .2s; }
.cw-action i { font-size: 1.2rem; color: var(--coral-dark); }
.cw-action .fa-whatsapp, .contact-pills .fa-whatsapp { color: #25D366; }
.cw-action span { font-weight: 600; font-size: .9rem; }
.cw-action small { font-size: .66rem; color: var(--muted); width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cw-action:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.cw-action:hover i, .cw-action:hover small { color: #fff; }
.cw-chat-toggle { display: none; margin: .2rem 1rem 1rem; padding: .75rem 1rem; border-radius: 14px; border: 0; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff; font: 600 .9rem var(--sans); cursor: pointer; align-items: center; justify-content: center; gap: .5rem; }
.cw-chev { margin-left: auto; transition: transform .2s; }
.chat-open .cw-chev { transform: rotate(180deg); }
.cw-chat { display: flex; flex-direction: column; min-height: 0; flex: 1; border-top: 1px solid var(--border); }
.chat-log { flex: 1; min-height: 160px; max-height: 300px; overflow-y: auto; padding: 1rem; background: #F7FAFC; display: flex; flex-direction: column; gap: .55rem; }
.msg { max-width: 88%; padding: .6rem .85rem; border-radius: 16px; font-size: .88rem; line-height: 1.45; word-wrap: break-word; }
.msg.bot { align-self: flex-start; background: #fff; border: 1px solid #E3E8EF; border-bottom-left-radius: 4px; }
.msg.user { align-self: flex-end; background: var(--teal-dark); color: #fff; border-bottom-right-radius: 4px; }
.msg a { color: var(--teal-dark); font-weight: 500; }
.msg.typing span { display: inline-block; width: 7px; height: 7px; margin: 0 2px; border-radius: 50%; background: #9AAAC0; animation: typing 1s infinite; }
.msg.typing span:nth-child(2) { animation-delay: .15s; } .msg.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 50% { opacity: .3; transform: translateY(-3px); } }
.chat-quick { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .6rem; background: #F7FAFC; }
.chat-quick:empty { display: none; }
.chat-quick button { border: 1px solid var(--teal); background: #fff; color: var(--teal-dark); border-radius: 50px; padding: .35rem .8rem; font: 500 .8rem var(--sans); cursor: pointer; }
.chat-quick button:hover { background: var(--teal); color: #fff; }
.chat-input { display: flex; gap: .4rem; padding: .7rem; border-top: 1px solid #E3E8EF; }
.chat-input input { flex: 1; min-width: 0; border: 1px solid #D5DCE5; border-radius: 50px; padding: .6rem 1rem; font: 400 16px var(--sans); }
.chat-input input:focus { outline: 2px solid var(--teal); outline-offset: 0; border-color: var(--teal); }
.chat-input button { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; border: 0; background: var(--coral); color: #fff; cursor: pointer; }
.chat-foot { margin: 0; padding: 0 .8rem .6rem; text-align: center; font-size: .7rem; color: var(--muted); }

.contact-bubble { position: fixed; right: 20px; bottom: 20px; z-index: 1000; display: inline-flex; align-items: center; gap: .55rem; padding: .9rem 1.3rem; border-radius: 50px; border: 0; background: linear-gradient(135deg, var(--coral), var(--coral-dark)); color: #fff; font: 600 .95rem var(--sans); cursor: pointer; box-shadow: 0 14px 34px rgba(0,0,0,.35); animation: bob 3s ease-in-out infinite; }
.contact-bubble i { font-size: 1.15rem; }
.bubble-dot { position: absolute; top: 4px; right: 6px; width: 12px; height: 12px; border-radius: 50%; background: #3DDC84; border: 2px solid #fff; }
@keyframes bob { 50% { transform: translateY(-5px); } }

.sound-btn { position: fixed; left: 20px; bottom: 20px; z-index: 950; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(11,37,69,.75); color: #fff; font-size: 1.1rem; cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,.3); backdrop-filter: blur(6px); }
.sound-btn .icon-on, .sound-btn[aria-pressed="true"] .icon-off { display: none; }
.sound-btn[aria-pressed="true"] .icon-on { display: inline; }
.sound-btn[aria-pressed="true"] { background: var(--teal); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Smaller screens ---------- */
@media (max-width: 640px) {
    .lp { margin: 16px auto 90px; border-radius: 22px; }
    .lp-close { top: 12px; right: 12px; width: 38px; height: 38px; }
    .lp-hero { padding: 64px 20px 80px; }
    .brand { font-size: 1.25rem; }
    .brand img { width: 54px; height: 54px; }
    .lp-actions .btn { width: 100%; }
    .lp-section { padding: 44px 18px; }
    .lp-final { margin: 0 18px; }
    .lp-final h2 { font-size: clamp(1.25rem, 5.4vw, 2rem); overflow-wrap: anywhere; }
    .dest-grid { grid-template-columns: 1fr; }
    .dest-card, .dest-wide { min-height: 250px; }
    .dest-line { display: block; }
    .exit-body { padding: 1.3rem; }

    /* Contact window docks to the bottom; chat unfolds on request */
    .contact-win { right: 8px; left: 8px; bottom: 8px; width: auto; max-width: none; max-height: calc(100dvh - 16px); border-radius: 20px; }
    .cw-chat-toggle { display: flex; }
    .cw-chat { display: none; }
    .chat-open .cw-chat { display: flex; }
    .chat-open .chat-log { max-height: none; min-height: 0; }
    .chat-open.contact-win { top: 8px; }
    .contact-bubble { right: 12px; bottom: 12px; }
    .sound-btn { left: 12px; bottom: 12px; width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .gulls { display: none; }
}
