:root {
  --sun: #ffb36b;
  --coral: #ff5a5f;
  --pink: #ff7a8a;
  --violet: #7b61ff;
  --gold: #ffb400;
  --ink: #1d1530;
  --ink-soft: #4a3f63;
  --card: rgba(255, 255, 255, 0.82);
  --card-border: rgba(255, 255, 255, 0.9);
  --bg-top: #ffb36b;
  --bg-mid: #ff7a8a;
  --bg-bottom: #b46bff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f6f0ff;
    --ink-soft: #d6cbe8;
    --card: rgba(30, 18, 54, 0.78);
    --card-border: rgba(255, 255, 255, 0.14);
    --bg-top: #3b1e54;
    --bg-mid: #6a2c5e;
    --bg-bottom: #1e1236;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-top), var(--bg-mid) 45%, var(--bg-bottom));
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; }
.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.sun {
  position: absolute; right: 8vw; top: 9vh; width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, #ffe08a 55%, rgba(255, 224, 138, 0) 72%);
  animation: pulse 6s ease-in-out infinite;
}
.cloud { position: absolute; width: 180px; height: 60px; background: rgba(255,255,255,.55); border-radius: 60px; animation: drift linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.cloud::before { width: 80px; height: 80px; left: 30px; top: -40px; }
.cloud::after { width: 60px; height: 60px; left: 90px; top: -26px; }
.c1 { top: 14vh; animation-duration: 70s; animation-delay: -10s; }
.c2 { top: 32vh; animation-duration: 95s; animation-delay: -50s; transform: scale(.7); }
.c3 { top: 58vh; animation-duration: 80s; animation-delay: -30s; transform: scale(1.2); opacity: .6; }
/* Plane + vapor trail: the whole flight lane is tilted, so the jet always points where it travels. */
.flight { position: absolute; left: 0; top: 30vh; width: 100%; height: 40px; transform: rotate(-5deg); transform-origin: left center; }
.jet { position: absolute; left: 0; top: 0; display: flex; align-items: center; animation: fly 28s linear infinite; will-change: transform; }
.airliner { display: block; filter: drop-shadow(0 3px 4px rgba(60, 20, 80, .25)); }
.trail { position: relative; width: 360px; height: 14px; margin-right: -14px; margin-top: 2px; }
.trail span { position: absolute; right: 0; border-radius: 99px; }
.trail .glow { left: 0; top: 2px; height: 10px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.28) 70%, rgba(255,255,255,.45)); filter: blur(3px); }
.trail .core { left: 18%; top: 4px; height: 2.5px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.9)); }
.trail .core.two { left: 32%; top: 8px; height: 2px; opacity: .75; }
@keyframes drift { from { left: -240px; } to { left: 110vw; } }
@keyframes fly { from { transform: translateX(-480px); } to { transform: translateX(calc(100vw + 120px)); } }
@keyframes pulse { 50% { transform: scale(1.05); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .cloud, .jet, .sun, .bob { animation: none !important; } .flight { display: none; } }
@media (prefers-color-scheme: dark) { .cloud { background: rgba(255,255,255,.12); } .trail { opacity: .7; } }

main, header, footer { position: relative; z-index: 1; }
.wrap { width: min(1100px, 100% - 32px); margin: 0 auto; }
header.top { padding: 18px 0; }
nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 1.5rem; }
.brand img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.links { display: flex; gap: 6px; flex-wrap: wrap; }
.links a { text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--card-border); }
.links a:hover, .links a:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 40px 0 60px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.02; margin: 0 0 14px; font-weight: 900; letter-spacing: -0.02em; }
.hero p.lead { font-size: 1.25rem; color: var(--ink-soft); margin: 0 0 26px; font-weight: 600; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 800; text-decoration: none;
  color: #fff; background: linear-gradient(90deg, var(--coral), var(--gold)); box-shadow: 0 10px 26px rgba(255, 90, 95, .35); transition: transform .2s; }
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn.ghost { background: var(--card); color: var(--ink); box-shadow: none; border: 1px solid var(--card-border); }
.phone { justify-self: center; width: min(320px, 80vw); border-radius: 44px; padding: 10px; background: #111; box-shadow: 0 30px 60px rgba(40, 10, 60, .45); }
.phone img { width: 100%; display: block; border-radius: 36px; }
.bob { animation: bob 5s ease-in-out infinite; }

.card { background: var(--card); border: 1px solid var(--card-border); border-radius: 26px; padding: 26px; box-shadow: 0 12px 30px rgba(40, 10, 60, .14);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.feature .icon { font-size: 2.2rem; }
.feature h3 { margin: 8px 0 6px; font-size: 1.2rem; }
.feature p { margin: 0; color: var(--ink-soft); }
section { padding: 30px 0; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 20px; font-weight: 900; }
.shots { display: flex; gap: 18px; overflow-x: auto; padding: 10px 4px 24px; scroll-snap-type: x mandatory; }
.shots img { height: 520px; border-radius: 30px; scroll-snap-align: center; box-shadow: 0 16px 36px rgba(40,10,60,.3); }
.themes { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--card-border); font-weight: 700; }
.privacy-band { display: flex; gap: 20px; align-items: center; }
.privacy-band .big { font-size: 3rem; }
.doc { max-width: 820px; margin: 0 auto; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin: 10px 0 6px; font-weight: 900; }
.doc h2 { font-size: 1.5rem; margin: 28px 0 8px; }
.doc p, .doc li { color: var(--ink-soft); font-size: 1.05rem; }
.doc .card { margin-bottom: 18px; }
footer { padding: 40px 0 60px; text-align: center; color: var(--ink-soft); font-weight: 600; }
footer a { font-weight: 800; }
details { border-top: 1px solid rgba(127,127,127,.25); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 800; font-size: 1.08rem; }
details summary:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; border-radius: 6px; }
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 10px; }
  .hero .cta { justify-content: center; }
  .shots img { height: 420px; }
  .privacy-band { flex-direction: column; text-align: center; }
}
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }

/* ---------- Custom animated icons (replace emoji) ---------- */
.ai { display: block; width: 58px; height: 58px; overflow: visible; }
.ai * { transform-box: fill-box; transform-origin: center; }
/* Groups positioned with an SVG transform attribute (e.g. rotate(-28 40 30)) must keep SVG's own origin. */
.ai g[transform] { transform-box: view-box; transform-origin: 0 0; }
.feature .icon { height: 64px; margin-bottom: 6px; }
.feature .icon .ai, .privacy-band .big .ai { width: 64px; height: 64px; padding: 5px; border-radius: 18px;
  background: linear-gradient(160deg, #ffffff, #e8f2ff); box-shadow: 0 6px 16px rgba(40, 10, 60, .18), inset 0 0 0 1px rgba(255,255,255,.7); }
.privacy-band .big .ai { width: 88px; height: 88px; padding: 8px; border-radius: 24px; }
.chip { display: inline-flex; align-items: center; gap: 6px; }
.chip .ai { width: 22px; height: 22px; flex: none; }
.inline-heart { display: inline-block; vertical-align: -4px; }
.inline-heart .ai { width: 20px; height: 20px; }

/* Cruises: bobbing ship, rolling waves */
.ai-ship .bob { animation: ai-bob 3.2s ease-in-out infinite; }
.ai-ship .slide { animation: ai-slide 3s linear infinite; transform-box: view-box; }
.ai-ship .slide.slow { animation-duration: 4.6s; animation-direction: reverse; }
@keyframes ai-bob { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(2px) rotate(1.5deg); } }
@keyframes ai-slide { from { transform: translateX(0); } to { transform: translateX(32px); } }

/* Flights: plane climbing with a dashed vapor trail streaming away */
.ai-plane .climb { animation: ai-climb 3s ease-in-out infinite; }
.ai-plane .trail { animation: ai-dash 0.9s linear infinite; }
@keyframes ai-climb { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(3px, -4px); } }
@keyframes ai-dash { to { stroke-dashoffset: 18; } }

/* Trains: chugging body, turning wheels, puffs of steam */
.ai-train .chug { animation: ai-chug .5s ease-in-out infinite; }
.ai-train .wheel { animation: ai-spin 1s linear infinite; transform-box: view-box; }
.ai-train .puff { animation: ai-puff 2.4s ease-out infinite; transform-origin: 44px 14px; transform-box: view-box; }
.ai-train .p2 { animation-delay: .8s; } .ai-train .p3 { animation-delay: 1.6s; }
@keyframes ai-chug { 50% { transform: translateY(-1px); } }
@keyframes ai-puff { 0% { transform: translate(0, 0) scale(.5); opacity: .95; } 100% { transform: translate(-14px, -14px) scale(1.9); opacity: 0; } }

/* National parks: sun rising, drifting cloud, swaying pine */
.ai-park .rise { animation: ai-rise 6s ease-in-out infinite; }
.ai-park .drift { animation: ai-drift 9s linear infinite; }
.ai-park .sway { animation: ai-sway 3s ease-in-out infinite; transform-box: view-box; }
@keyframes ai-rise { 0%, 100% { transform: translateY(5px); } 50% { transform: translateY(-3px); } }
@keyframes ai-drift { from { transform: translateX(-26px); } to { transform: translateX(70px); } }
@keyframes ai-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* Theme parks: turning Ferris wheel */
.ai-wheel .spin { animation: ai-spin 9s linear infinite; transform-box: view-box; }
@keyframes ai-spin { to { transform: rotate(360deg); } }

/* Countries: passport stamp thudding onto the page */
.ai-stamp .thud { animation: ai-thud 2.8s cubic-bezier(.3, 1.6, .5, 1) infinite; transform-box: view-box; }
@keyframes ai-thud { 0%, 8% { transform: scale(1.7); opacity: 0; } 22% { transform: scale(.94); opacity: 1; } 30%, 88% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }

/* Photo scan: camera flash, lens focus, a pin popping out */
.ai-camera .flash { animation: ai-flash 3s ease-out infinite; opacity: 0; }
.ai-camera .lens { animation: ai-focus 3s ease-in-out infinite; }
.ai-camera .pin { animation: ai-pop 3s cubic-bezier(.3, 1.8, .5, 1) infinite; transform-origin: bottom center; }
@keyframes ai-flash { 0%, 30% { opacity: 0; } 34% { opacity: .9; } 50%, 100% { opacity: 0; } }
@keyframes ai-focus { 0%, 100% { transform: scale(1); } 32% { transform: scale(.85); } }
@keyframes ai-pop { 0%, 34% { transform: translateY(8px) scale(0); } 50%, 90% { transform: translateY(0) scale(1); } 100% { transform: translateY(0) scale(0); } }

/* Badges: swinging medal with a passing shine */
.ai-medal .swing { animation: ai-swing 3s ease-in-out infinite; transform-box: view-box; }
.ai-medal .shine { animation: ai-shine 3s ease-in-out infinite; }
@keyframes ai-swing { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes ai-shine { 0%, 40% { transform: translateX(-22px) rotate(25deg); opacity: 0; } 55% { opacity: .5; } 75%, 100% { transform: translateX(22px) rotate(25deg); opacity: 0; } }

/* Stats: growing bars */
.ai-bars .bar { transform-origin: bottom center; animation: ai-grow 2.6s ease-in-out infinite; }
.ai-bars .b2 { animation-delay: .25s; } .ai-bars .b3 { animation-delay: .5s; }
@keyframes ai-grow { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }

/* Bucket list: gently turning star with twinkles */
.ai-star .twirl { animation: ai-twirl 4s ease-in-out infinite; transform-box: view-box; }
.ai-star .tw, .ai-sparkler .spark { animation: ai-twinkle 1.6s ease-in-out infinite; }
.ai-star .t2, .ai-sparkler .s1 { animation-delay: .5s; } .ai-star .t3, .ai-sparkler .s2 { animation-delay: 1s; } .ai-sparkler .s3 { animation-delay: .25s; }
@keyframes ai-twirl { 0%, 100% { transform: rotate(-10deg) scale(.95); } 50% { transform: rotate(10deg) scale(1.05); } }
@keyframes ai-twinkle { 0%, 100% { transform: scale(.3); opacity: .2; } 50% { transform: scale(1.2); opacity: 1; } }

/* Share cards: card floating, arrow lifting out of the tray */
.ai-share .float { animation: ai-float 3s ease-in-out infinite; }
.ai-share .lift { animation: ai-lift 1.6s ease-in-out infinite; }
@keyframes ai-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-3px) rotate(2deg); } }
@keyframes ai-lift { 0%, 100% { transform: translateY(2px); } 50% { transform: translateY(-3px); } }

/* Widget: tiles popping in */
.ai-widget .tile { animation: ai-tile 3.2s cubic-bezier(.3, 1.6, .5, 1) infinite; }
.ai-widget .t2 { animation-delay: .15s; } .ai-widget .t3 { animation-delay: .3s; } .ai-widget .t4 { animation-delay: .45s; } .ai-widget .t5 { animation-delay: .6s; }
@keyframes ai-tile { 0%, 6% { transform: scale(0); } 22%, 86% { transform: scale(1); } 100% { transform: scale(0); } }

/* iCloud: sync arrows turning */
.ai-cloud .spin { animation: ai-spin 3s linear infinite; transform-box: view-box; }

/* Holiday chips */
.ai-fireworks .ray { animation: ai-burst 1.8s ease-out infinite; transform-origin: 12px 12px; transform-box: view-box; }
.ai-fireworks .r1 { animation-delay: .2s; } .ai-fireworks .r2 { animation-delay: .4s; }
@keyframes ai-burst { 0% { transform: scale(.2); opacity: 1; } 70% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.1); opacity: 0; } }
.ai-dove .glide { animation: ai-bob 2.4s ease-in-out infinite; }
.ai-dove .flap { animation: ai-flap .5s ease-in-out infinite alternate; transform-box: view-box; }
@keyframes ai-flap { from { transform: scaleY(1); } to { transform: scaleY(.45); } }
.ai-heart .beat, .inline-heart .beat { animation: ai-beat 1.1s ease-in-out infinite; transform-box: view-box; }
@keyframes ai-beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.2); } 30% { transform: scale(.95); } 45% { transform: scale(1.12); } }
.ai-pizza .wiggle, .ai-poppy .sway { animation: ai-sway 2s ease-in-out infinite; transform-box: view-box; }
.ai-starflag .twinkle { animation: ai-twirl 2.6s ease-in-out infinite; transform-box: view-box; }
.ai-shamrock .twirl { animation: ai-spin 6s linear infinite; transform-box: view-box; }
.ai-donut .spin { animation: ai-spin 4s linear infinite; transform-box: view-box; }
.ai-freedom .pulse { animation: ai-pulse 2s ease-in-out infinite; transform-box: view-box; }
@keyframes ai-pulse { 0%, 100% { transform: scale(.9) rotate(0deg); } 50% { transform: scale(1.08) rotate(20deg); } }
.ai-pumpkin .bob { animation: ai-bob 2.2s ease-in-out infinite; }
.ai-pumpkin .glow { animation: ai-flicker 1.3s steps(2, end) infinite; }
@keyframes ai-flicker { 0%, 100% { opacity: 1; } 40% { opacity: .55; } 70% { opacity: .85; } }
.ai-flag .wave { animation: ai-wave 1.4s ease-in-out infinite; transform-box: view-box; }
@keyframes ai-wave { 0%, 100% { transform: skewY(0deg) scaleX(1); } 50% { transform: skewY(-6deg) scaleX(.94); } }
.ai-leaf .fall { animation: ai-fall 3s ease-in-out infinite; transform-box: view-box; }
@keyframes ai-fall { 0%, 100% { transform: translate(-2px, -1px) rotate(-18deg); } 50% { transform: translate(2px, 2px) rotate(18deg); } }
.ai-tree .light { animation: ai-blink 1.2s steps(1, end) infinite; }
.ai-tree .l1 { animation-delay: .4s; } .ai-tree .l2 { animation-delay: .8s; }
.ai-tree .topstar { animation: ai-twinkle 2s ease-in-out infinite; transform-box: view-box; }
@keyframes ai-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

@media (prefers-reduced-motion: reduce) {
  .ai *, .ai { animation: none !important; }
  .ai-camera .flash { opacity: 0; }
}

/* ---------- Contact form ---------- */
.contact { display: grid; gap: 14px; margin-top: 10px; }
.contact .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .contact .row { grid-template-columns: 1fr; } }
.contact label { display: grid; gap: 6px; font-weight: 800; color: var(--ink); }
.contact input, .contact select, .contact textarea {
  font: inherit; font-weight: 600; color: var(--ink); width: 100%; padding: 12px 14px; border-radius: 14px;
  border: 1.5px solid rgba(127, 127, 127, .35); background: rgba(255, 255, 255, .7); transition: border-color .2s, box-shadow .2s; }
@media (prefers-color-scheme: dark) { .contact input, .contact select, .contact textarea { background: rgba(0, 0, 0, .25); } }
.contact textarea { resize: vertical; min-height: 140px; }
.contact input:focus, .contact select:focus, .contact textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(123, 97, 255, .25); }
.contact .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact .send-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact button.btn { border: 0; cursor: pointer; font: inherit; font-weight: 800; }
.contact button.btn:disabled { opacity: .7; cursor: progress; }
.contact .status { margin: 0; font-weight: 800; }
.contact .status.ok { color: #1e9e5a; } .contact .status.err { color: #e5383b; }
@media (prefers-color-scheme: dark) { .contact .status.ok { color: #5be39a; } .contact .status.err { color: #ff8a8d; } }
.contact .fine { margin: 0; font-size: .9rem; }
