/* Mobile-first. Base styles = phone; min-width queries scale up. */
:root {
  --bg: #0E0D12;
  --bg-2: #16141D;
  --card: #1E1B27;
  --text: #F6F2FF;
  --muted: #A9A3BA;
  --line: rgba(255, 255, 255, .1);
  --on-pastel: #16141D;

  --yellow: #FFF1A6;
  --peach: #FFD3B8;
  --pink: #FFB5D8;
  --lilac: #E0B8FF;
  --sky: #B8D9FF;
  --mint: #B8F2DC;
  --rainbow: linear-gradient(100deg, var(--yellow), var(--peach) 22%, var(--pink) 45%, var(--lilac) 68%, var(--sky) 86%, var(--mint));

  --radius: 20px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-script: "Pacifico", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.rainbow-text, .wordmark {
  background: var(--rainbow);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Brand ---------- */
.wordmark {
  font-family: var(--font-script);
  font-size: 1.3rem; line-height: 1.3;
  text-decoration: none;
  -webkit-text-stroke: .5px transparent;
  white-space: nowrap;
}
.wordmark-lg { font-size: clamp(2.2rem, 10vw, 3.6rem); }
.svg-script { font-family: var(--font-script); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8em 1.4em;
  border-radius: 999px;
  font: 700 1rem/1 var(--font-body);
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, filter .15s ease, background-color .15s ease;
  cursor: pointer;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: var(--rainbow); color: var(--on-pastel);
  box-shadow: 0 8px 28px -10px rgba(255, 181, 216, .6);
}
.btn-primary:hover { filter: brightness(1.06) saturate(1.15); }
.btn-wa { background: #25D366; color: #fff; box-shadow: 0 8px 24px -10px rgba(37, 211, 102, .7); }
.btn-wa:hover { background: #1EBE5A; }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { min-height: 40px; padding: .5em .8em; font-size: .9rem; }
.btn-lg { min-height: 60px; font-size: 1.15rem; }
.wa-icon { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 13, 18, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 12px; height: 60px; }
.nav-links { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-actions .btn-wa span { display: none; }
.lang { display: inline-flex; border: 1.5px solid rgba(255,255,255,.25); border-radius: 999px; padding: 2px; }
.lang a {
  font: 700 .78rem/1 var(--font-body); letter-spacing: .04em; text-align: center; text-decoration: none;
  min-width: 36px; padding: .55em .6em; border-radius: 999px;
  color: var(--muted);
}
.lang a[aria-current="true"] { background: rgba(255,255,255,.14); color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero-map { position: relative; width: 100%; aspect-ratio: 494 / 520; background: #13111C; }
.bali-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.bali-map .sea { fill: #13111C; }
.bali-map .waves path { fill: none; stroke: #B8D9FF; stroke-opacity: .12; stroke-width: 2.4; stroke-linecap: round; }
.bali-map .cloud path { fill: #F6F2FF; opacity: .04; }
.bali-map .land-shadow { fill: #000; opacity: .25; }
.bali-map .land { fill: url(#land-fill); fill-opacity: .2; stroke: rgba(255,255,255,.35); stroke-width: 2; stroke-linejoin: round; paint-order: stroke; vector-effect: non-scaling-stroke; }
.bali-map .mtns { opacity: .3; }
.bali-map .mtn { fill: #C9A9F2; }
.bali-map .cap { fill: #FFFFFF; }
.bali-map .eye { fill: #2B2440; }
.bali-map .smile { fill: none; stroke: #2B2440; stroke-width: 2.4; stroke-linecap: round; }
.bali-map .blush { fill: #FF8FB8; opacity: .8; }
.bali-map .lbl { font-family: var(--font-script); font-size: 22px; }
.bali-map .lbl { fill: #F6F2FF; opacity: .55; }
.bali-map { touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.bali-map.zoomed { touch-action: none; cursor: grab; }
.bali-map.zoomed:active { cursor: grabbing; }
.map-reset {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--rainbow); color: var(--on-pastel);
  display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(0,0,0,.6);
}
.map-reset svg { width: 22px; height: 22px; }
.map-reset[hidden] { display: none; }
.pin { cursor: pointer; outline: none; }
.pin-body { fill: var(--pin, #FFB5D8); stroke: #FFFFFF; stroke-width: 2.5; }
.pin-dot { fill: #16141D; }
.pin-shadow { fill: rgba(0,0,0,.45); }
.pin:hover .pin-body, .pin:focus-visible .pin-body { fill: #FFFFFF; }
.pin-tip {
  position: absolute; z-index: 5; transform: translate(-50%, calc(-100% - 10px));
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; display: grid; gap: 2px; white-space: nowrap;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.6);
}
.pin-tip b { font: 700 1rem/1.2 var(--font-display); }
.pin-tip a { color: var(--pink); font-weight: 700; text-decoration: none; font-size: .92rem; }
.pin-tip[hidden] { display: none; }

.hero-copy { padding: 28px 0 44px; }
h1 { font-size: clamp(2.6rem, 12vw, 5.6rem); font-weight: 800; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 34ch; margin-top: 16px; }

/* ---------- Marquee ---------- */
.marquee { background: var(--bg); color: var(--muted); overflow: hidden; padding: 12px 0; border-block: 1px solid var(--line); }
.marquee-track { display: flex; gap: 32px; width: max-content; animation: marquee 60s linear infinite; }
.marquee span { font: 500 .88rem/1 var(--font-body); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-tint { background: var(--bg-2); }
.section-head { margin-bottom: 28px; }
h2 { font-size: clamp(2rem, 8.5vw, 3.4rem); font-weight: 800; }

/* What we make */

.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%;
  gap: 12px; margin: 0 -16px; padding: 0 16px 6px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery li { scroll-snap-align: center; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--card); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }

/* Find us */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.logos a { display: block; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.logos a:hover, .logos a:focus-visible { transform: translateY(-3px); box-shadow: 0 0 0 3px var(--pink); }
.logos img { width: 100%; height: 100%; object-fit: cover; }
.loc-next { width: 100%; margin-top: 20px; }

/* Business */
.offer-grid { display: grid; gap: 14px; }
.offer {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; align-items: stretch; gap: 14px;
}
.offer-main { /* rainbow border */
  border: 2px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--rainbow) border-box;
}
.offer h3 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
.offer p { color: var(--muted); font-size: 1.02rem; }
.offer .btn { margin-top: auto; }
.checks { display: grid; gap: 10px; margin: 2px 0 8px; }
.checks li { padding-left: 32px; position: relative; font-weight: 500; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: .1em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--rainbow); color: var(--on-pastel); font-size: .75rem; font-weight: 700;
  display: grid; place-items: center;
}

/* Custom */
.custom-head { display: grid; gap: 22px; }
.custom-head .btn { width: 100%; }
.custom-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.custom-tiles li { position: relative; }
.custom-tiles li:first-child { grid-column: 1 / -1; }
.custom-tiles img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); display: block; }
.custom-tiles li:first-child img { aspect-ratio: 16 / 9; }
.custom-tiles b { display: block; margin-top: 10px; font: 700 1rem/1.2 var(--font-display); }

/* Shop + soon */
.duo { display: grid; gap: 14px; }
.card { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.card h2 { font-size: clamp(1.7rem, 7vw, 2.5rem); }
.shop-card { background: var(--card); border: 1px solid var(--line); }

/* About */
.about-inner { text-align: center; display: grid; justify-items: center; }
.about-mark { font-size: 44px; margin-bottom: 10px; }

/* Contact */
.contact { text-align: center; }
.contact-inner { display: grid; justify-items: center; gap: 24px; }
.contact h2 { font-size: clamp(2.3rem, 10vw, 4.4rem); }
.contact .btn { width: 100%; max-width: 420px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 44px 0 96px; }
.footer-inner { display: grid; gap: 18px; justify-items: start; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.footer nav a:hover { color: var(--text); }
.fine { color: #6F6984; font-size: .85rem; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 28px -6px rgba(0,0,0,.6);
}
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Tablet ---------- */
@media (min-width: 700px) {
  .hero-map { aspect-ratio: 1370 / 700; max-height: 88vh; }
}

@media (min-width: 640px) {
  .gallery { grid-auto-columns: 40%; }
  .offer-grid, .duo { grid-template-columns: 1fr 1fr; }
  .logos { grid-template-columns: repeat(7, 1fr); gap: 18px; }
  .loc-next { width: auto; }
  .custom-head { grid-template-columns: 1fr auto; align-items: end; }
  .custom-head .btn { width: auto; }
  .custom-tiles { grid-template-columns: repeat(3, 1fr); }
  .custom-tiles li:first-child { grid-column: auto; }
  .custom-tiles li:first-child img { aspect-ratio: 1; }
  .card, .offer { align-items: flex-start; }
  .nav-actions .btn-wa span { display: inline; }
  .nav-actions .btn-wa { padding-inline: 1em; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1000px) {
  body { font-size: 17px; }
  .nav-inner { height: 68px; gap: 24px; }
  .wordmark { font-size: 1.45rem; }
  .nav-links { display: flex; gap: 24px; margin-left: auto; }
  .nav-links a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--muted); }
  .nav-links a:hover { color: var(--text); }
  .nav-actions { margin-left: 0; }
  .hero-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 0; pointer-events: none; }
  .hero-map { aspect-ratio: 1840 / 830; max-height: calc(100vh - 68px); }
  .hero-map::after { /* keeps the headline readable when the map is zoomed */
    content: ""; position: absolute; inset: 0 auto 0 0; width: 42%; pointer-events: none;
    background: linear-gradient(90deg, rgba(19,17,28,.92) 0%, rgba(19,17,28,.75) 55%, transparent);
    opacity: 0; transition: opacity .25s;
  }
  .hero-map:has(.zoomed)::after { opacity: 1; }
  .hero-copy { top: 0; display: flex; flex-direction: column; justify-content: center; }
  .hero-copy > * { pointer-events: auto; max-width: 25%; }
  .hero-copy h1 { font-size: clamp(2.2rem, 3.5vw, 4rem); }
  .hero-copy .lede { font-size: 1.05rem; }
  .section { padding: 112px 0; }
  .section-head { margin-bottom: 44px; }
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; overflow: visible; }
  .gallery li:hover img { transform: scale(1.05); }
  .offer-grid { grid-template-columns: 1.1fr .9fr; gap: 20px; }
  .offer, .card { padding: 44px; }
  .custom-tiles { grid-template-columns: repeat(5, 1fr); gap: 16px; }
  .custom-tiles img { transition: transform .3s ease; }
  .custom-tiles li:hover img { transform: translateY(-4px); }
  .contact .btn { width: auto; }
  .footer { padding-bottom: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

