﻿:root {
  --bg: #f7f6f0;
  --surface: #ffffff;
  --surface-2: #eef4f0;
  --ink: #0b2b31;
  --muted: #68767a;
  --line: rgba(8, 63, 67, 0.12);
  --lime: #9ee43f;
  --yellow: #ffc53d;
  --accent: #f28a39;
  --teal: #0b7774;
  --teal-2: #083f43;
  --navy: #082c35;
  --shadow: 0 28px 80px rgba(8, 44, 53, 0.11);
  --shadow-soft: 0 16px 45px rgba(8, 44, 53, 0.07);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 17px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 4% 9%, rgba(158,228,63,.10), transparent 24rem),
    radial-gradient(circle at 94% 22%, rgba(255,197,61,.10), transparent 26rem),
    var(--bg);
  color: var(--ink);
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(158,228,63,.45); color: var(--navy); }

.ambient-orb {
  position: fixed;
  z-index: -2;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .16;
  pointer-events: none;
}
.ambient-orb-a { top: 12vh; left: -220px; background: var(--lime); }
.ambient-orb-b { top: 62vh; right: -220px; background: var(--yellow); }

.page-shell { min-height: 100vh; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(18px, 4vw, 58px);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(22px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--teal-2), var(--teal));
  color: #fff;
  font-weight: 900;
  letter-spacing: -.05em;
  box-shadow: 0 10px 28px rgba(8,63,67,.18);
}
.brand-mark::after { content:""; position:absolute; width:34px; height:34px; right:-16px; bottom:-16px; border:6px solid var(--lime); border-radius:50%; opacity:.9; }
.brand-mark span { position: relative; z-index: 2; }
.brand strong { display: block; font-size: .98rem; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: .74rem; }
.topbar-actions { display: flex; align-items: center; gap: 9px; }
.icon-btn, .lang-btn { border: 1px solid var(--line); background: rgba(255,255,255,.78); color: var(--ink); }
.icon-btn { width: 42px; height: 42px; display:grid; place-items:center; border-radius: 14px; font-weight: 900; transition: transform .2s ease, background .2s ease; }
.icon-btn:hover { transform: translateY(-2px) rotate(2deg); background:#fff; }
.motion-btn.effects-off { opacity: .48; }
.lang-switch { display:flex; padding:4px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.62); }
.lang-btn { border:0; padding:7px 10px; border-radius:10px; background:transparent; font-size:.78rem; font-weight:900; }
.lang-btn.active { background:var(--teal-2); color:#fff; }

main { padding: 24px clamp(18px, 4vw, 58px) 80px; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(650px, 76vh);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: center;
  gap: 28px;
  padding: clamp(38px, 6.5vw, 82px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 82% 18%, rgba(158,228,63,.14), transparent 22rem),
    radial-gradient(circle at 70% 90%, rgba(255,197,61,.12), transparent 26rem),
    linear-gradient(135deg, #073c41, #062a34 58%, #051f2b);
  color:#fff;
  box-shadow: var(--shadow);
}
.hero-webgl { position:absolute; inset:0; width:100%; height:100%; z-index:-1; opacity:.92; pointer-events:none; }
.hero-glow { position:absolute; z-index:-1; width:420px; height:420px; border-radius:50%; right:8%; top:50%; transform:translateY(-50%); background:rgba(158,228,63,.10); filter:blur(25px); }
.hero-grid { position:absolute; inset:0; z-index:-1; opacity:.22; background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px); background-size:52px 52px; mask-image:linear-gradient(to right, transparent 0%, black 42%, black 100%); }
.hero-copy { position:relative; z-index:2; max-width:770px; }
.hero-kicker-row { display:flex; align-items:center; flex-wrap:wrap; gap:10px 14px; margin-bottom:14px; }
.eyebrow { display:inline-block; margin-bottom:10px; font-size:.73rem; font-weight:900; letter-spacing:.15em; text-transform:uppercase; color:var(--accent); }
.hero .eyebrow { margin-bottom:0; color:#c7ff79; }
.live-pill { display:inline-flex; align-items:center; gap:7px; padding:7px 10px; border:1px solid rgba(255,255,255,.13); border-radius:999px; background:rgba(255,255,255,.06); backdrop-filter:blur(10px); color:rgba(255,255,255,.78); font-size:.66rem; font-weight:900; letter-spacing:.08em; }
.live-pill i { width:6px; height:6px; border-radius:50%; background:var(--lime); box-shadow:0 0 0 5px rgba(158,228,63,.11); }
h1,h2,h3,p { margin-top:0; }
h1 { margin-bottom:20px; max-width:840px; font-size:clamp(2.7rem, 6.4vw, 6.2rem); line-height:.91; letter-spacing:-.065em; }
h2 { margin-bottom:9px; font-size:clamp(2rem, 3.3vw, 3.45rem); line-height:1.02; letter-spacing:-.05em; }
.hero p { margin-bottom:0; max-width:650px; color:rgba(255,255,255,.71); font-size:clamp(1rem,1.45vw,1.18rem); line-height:1.72; }
.hero-cta-row { display:flex; align-items:center; flex-wrap:wrap; gap:24px; margin-top:30px; }
.hero-primary-btn { display:inline-flex; align-items:center; gap:16px; padding:14px 16px 14px 20px; border:0; border-radius:15px; background:var(--lime); color:var(--navy); font-weight:900; box-shadow:0 14px 35px rgba(158,228,63,.13); }
.hero-primary-btn b { width:30px; height:30px; display:grid; place-items:center; border-radius:10px; background:rgba(5,31,43,.09); }
.hero-stat { display:flex; align-items:baseline; gap:8px; color:rgba(255,255,255,.58); font-size:.76rem; }
.hero-stat strong { color:#fff; font-size:1.45rem; }
.hero-side { position:relative; min-height:390px; z-index:2; }
.floating-ticket { position:absolute; display:flex; align-items:center; gap:11px; min-width:185px; padding:12px; border:1px solid rgba(255,255,255,.13); border-radius:18px; background:rgba(255,255,255,.08); backdrop-filter:blur(16px); box-shadow:0 22px 55px rgba(0,0,0,.16); }
.floating-ticket > span { width:42px; height:42px; display:grid; place-items:center; flex:0 0 42px; border-radius:13px; background:#fff; color:var(--teal-2); font-weight:950; font-size:.75rem; }
.floating-ticket strong,.floating-ticket small { display:block; }
.floating-ticket strong { font-size:.86rem; }
.floating-ticket small { margin-top:2px; color:rgba(255,255,255,.58); font-size:.67rem; }
.ticket-a { top:11%; left:6%; transform:rotate(-3deg); }
.ticket-b { top:45%; right:0; transform:rotate(4deg); }
.ticket-c { bottom:4%; left:12%; transform:rotate(-2deg); }

.marquee-strip { overflow:hidden; margin:22px 0 0; border-block:1px solid var(--line); background:rgba(255,255,255,.42); }
.marquee-track { width:max-content; display:flex; align-items:center; gap:22px; padding:11px 0; color:var(--teal-2); font-size:.7rem; font-weight:950; letter-spacing:.13em; animation:marquee 28s linear infinite; }
.marquee-track i { color:var(--accent); font-style:normal; }
@keyframes marquee { to { transform:translateX(-50%); } }

.city-section { padding-top:64px; }
.section-heading,.explore-heading { display:flex; align-items:end; justify-content:space-between; gap:28px; margin-bottom:24px; }
.section-note { max-width:410px; margin-bottom:3px; color:var(--muted); font-size:.88rem; line-height:1.55; text-align:right; }
.city-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.city-card {
  position:relative;
  min-height:300px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  overflow:hidden;
  padding:24px;
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  background:rgba(255,255,255,.86);
  text-align:left;
  box-shadow:var(--shadow-soft);
  transform-style:preserve-3d;
  transition:border-color .25s ease, box-shadow .25s ease;
}
.city-card:hover { border-color:rgba(8,63,67,.25); box-shadow:var(--shadow); }
.city-card::before { content:""; position:absolute; inset:auto -55px -58px auto; width:200px; height:200px; border-radius:50%; background:var(--city-soft,var(--yellow)); opacity:.7; transition:transform .45s cubic-bezier(.2,.8,.2,1); }
.city-card::after { content:""; position:absolute; top:-44px; right:-44px; width:128px; height:128px; border:1px solid rgba(8,63,67,.08); border-radius:50%; }
.city-card:hover::before { transform:scale(1.16) translate(-6px,-6px); }
.city-card-top,.city-card-body { position:relative; z-index:2; transform:translateZ(22px); }
.city-card-top { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.city-index { font-size:.76rem; font-weight:950; color:var(--muted); }
.city-arrow { width:42px; height:42px; display:grid; place-items:center; border-radius:50%; background:var(--teal-2); color:#fff; font-size:1.18rem; transition:transform .25s ease; }
.city-card:hover .city-arrow { transform:rotate(12deg) scale(1.06); }
.city-card h3 { margin-bottom:8px; font-size:clamp(1.55rem,2.2vw,2.18rem); letter-spacing:-.045em; }
.city-card p { max-width:92%; margin-bottom:15px; color:var(--muted); line-height:1.55; font-size:.88rem; }
.city-tags { display:flex; flex-wrap:wrap; gap:7px; }
.city-tag { padding:7px 10px; border-radius:999px; background:var(--surface-2); color:var(--ink); font-size:.69rem; font-weight:850; }

.explore-section { padding-top:58px; }
.hidden { display:none !important; }
.text-btn { padding:0; margin-bottom:26px; border:0; background:transparent; color:var(--teal); font-weight:850; }
.muted { max-width:760px; color:var(--muted); line-height:1.62; }
.explore-actions { display:flex; gap:9px; flex-wrap:wrap; justify-content:flex-end; }
.secondary-btn,.primary-btn,.ghost-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; border-radius:12px; font-weight:850; transition:transform .15s ease, opacity .15s ease, box-shadow .15s ease; }
.secondary-btn:hover,.primary-btn:hover,.ghost-btn:hover { transform:translateY(-2px); }
.secondary-btn { padding:12px 15px; border:1px solid var(--line); background:var(--surface); color:var(--ink); }
.map-mode-btn.active { border-color:rgba(158,228,63,.5); background:var(--teal-2); color:#fff; box-shadow:0 12px 28px rgba(8,63,67,.13); }
.primary-btn { padding:12px 14px; border:1px solid var(--teal-2); background:var(--teal-2); color:#fff; }
.ghost-btn { padding:12px 14px; border:1px solid var(--line); background:transparent; color:var(--ink); }

.toolbar { display:flex; flex-direction:column; gap:14px; margin-bottom:18px; }
.search-box { display:flex; align-items:center; gap:10px; padding:0 14px; border:1px solid var(--line); border-radius:15px; background:rgba(255,255,255,.88); box-shadow:0 10px 28px rgba(8,44,53,.035); }
.search-box input { width:100%; padding:14px 0; border:0; outline:0; background:transparent; color:var(--ink); }
.category-filters { display:flex; gap:8px; overflow-x:auto; padding-bottom:2px; scrollbar-width:none; }
.category-filters::-webkit-scrollbar { display:none; }
.filter-btn { flex:0 0 auto; padding:9px 12px; border:1px solid var(--line); border-radius:999px; background:var(--surface); color:var(--muted); font-size:.78rem; font-weight:850; transition:transform .15s ease, background .15s ease; }
.filter-btn:hover { transform:translateY(-1px); }
.filter-btn.active { background:var(--teal-2); border-color:var(--teal-2); color:#fff; }

.explore-layout { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(390px,.88fr); gap:20px; align-items:start; }
.map-panel { position:sticky; top:92px; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius-lg); background:var(--surface); box-shadow:var(--shadow-soft); }
.map-topline { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 14px; border-bottom:1px solid var(--line); background:rgba(255,255,255,.92); font-size:.76rem; }
.map-topline > div { display:flex; align-items:center; gap:8px; }
.map-live-dot { width:7px; height:7px; border-radius:50%; background:var(--lime); box-shadow:0 0 0 5px rgba(158,228,63,.12); }
.map-hint { color:var(--muted); font-size:.68rem; }
#map { width:100%; height:min(70vh,700px); min-height:520px; background:#e8eee8; }
.map-gradient { pointer-events:none; position:absolute; left:0; right:0; bottom:30px; height:100px; background:linear-gradient(to top,rgba(5,31,43,.08),transparent); z-index:2; }
.map-credit { position:relative; z-index:4; padding:8px 12px; border-top:1px solid var(--line); color:var(--muted); background:#fff; font-size:.66rem; }
.maplibregl-ctrl-group { border-radius:13px !important; overflow:hidden; box-shadow:0 8px 24px rgba(8,44,53,.12) !important; }
.maplibregl-popup-content { padding:13px 15px !important; border-radius:15px !important; box-shadow:0 16px 40px rgba(8,44,53,.18) !important; }
.maplibregl-popup-close-button { width:28px; height:28px; font-size:18px; }
.popup-title { margin-right:10px; margin-bottom:4px; font-weight:900; }
.popup-sub { color:var(--muted); font-size:.77rem; }

.places-panel { min-width:0; }
.places-meta { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:4px 2px 14px; color:var(--muted); font-size:.83rem; }
.places-meta strong { color:var(--ink); font-size:1.35rem; }
.scroll-cue { font-size:.69rem; }
.places-list { display:grid; gap:12px; }
.place-card { display:grid; grid-template-columns:96px 1fr; gap:16px; padding:14px; border:1px solid var(--line); border-radius:19px; background:rgba(255,255,255,.9); box-shadow:0 8px 26px rgba(8,44,53,.04); transform-origin:50% 100%; transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.place-card:hover { transform:translateY(-2px); border-color:rgba(8,63,67,.22); box-shadow:0 18px 42px rgba(8,44,53,.08); }
.place-card.focused { border-color:var(--city-accent,var(--teal)); box-shadow:0 0 0 3px color-mix(in srgb,var(--city-accent,var(--teal)) 15%,transparent),0 20px 48px rgba(8,44,53,.10); }
.place-visual { position:relative; min-height:134px; overflow:hidden; display:flex; align-items:flex-end; padding:10px; border-radius:14px; color:#fff; background:linear-gradient(150deg,var(--visual-a,#0c6b67),var(--visual-b,#082c35)); }
.place-visual::before { content:""; position:absolute; width:100px; height:100px; border-radius:50%; border:1px solid rgba(255,255,255,.22); top:-24px; right:-34px; }
.place-visual::after { content:""; position:absolute; left:15px; bottom:27px; width:56px; height:1px; background:rgba(255,255,255,.25); transform:rotate(-42deg); transform-origin:left; }
.place-number { position:relative; z-index:2; font-size:.72rem; font-weight:950; letter-spacing:.08em; }
.place-content { min-width:0; }
.place-category { margin-bottom:5px; color:var(--teal); font-size:.68rem; font-weight:950; letter-spacing:.09em; text-transform:uppercase; }
.place-card h3 { margin-bottom:7px; font-size:1.13rem; letter-spacing:-.028em; }
.place-description { margin-bottom:12px; color:var(--muted); font-size:.86rem; line-height:1.5; }
.place-actions { display:flex; flex-wrap:wrap; gap:8px; }
.place-actions .primary-btn,.place-actions .ghost-btn { padding:9px 11px; font-size:.75rem; }
.empty-state { padding:34px; border:1px dashed var(--line); border-radius:var(--radius-lg); text-align:center; color:var(--muted); }

.map-marker { width:38px; height:46px; display:grid; place-items:center; border:0; background:transparent; cursor:pointer; }
.map-marker .marker-shell { position:relative; width:36px; height:36px; display:grid; place-items:center; border:3px solid #fff; border-radius:50% 50% 50% 0; transform:rotate(-45deg); color:#fff; font-size:10px; font-weight:950; box-shadow:0 8px 20px rgba(5,31,43,.28); transition:transform .2s ease, box-shadow .2s ease; }
.map-marker .marker-shell span { transform:rotate(45deg); }
.map-marker::after { content:""; position:absolute; width:14px; height:6px; bottom:1px; border-radius:50%; background:rgba(5,31,43,.22); filter:blur(2px); }
.map-marker:hover .marker-shell { transform:rotate(-45deg) scale(1.12); box-shadow:0 12px 26px rgba(5,31,43,.34); }
.map-marker.active .marker-shell { animation:markerPulse 1.1s ease 2; }
@keyframes markerPulse { 50% { transform:rotate(-45deg) scale(1.22); filter:brightness(1.12); } }
.user-marker { width:20px; height:20px; border:4px solid #fff; border-radius:50%; background:#2d7ff9; box-shadow:0 0 0 8px rgba(45,127,249,.18),0 5px 14px rgba(0,0,0,.18); }

.footer { display:flex; justify-content:space-between; gap:30px; padding:34px clamp(18px,4vw,58px); border-top:1px solid var(--line); color:var(--muted); font-size:.8rem; }
.footer strong { display:block; margin-bottom:6px; color:var(--ink); }
.footer p { margin-bottom:0; max-width:560px; line-height:1.5; }
.footer-note { text-align:right; }
.toast { position:fixed; left:50%; bottom:24px; z-index:5000; transform:translate(-50%,16px); padding:11px 15px; border-radius:12px; background:var(--navy); color:#fff; font-size:.82rem; font-weight:750; opacity:0; pointer-events:none; transition:opacity .2s ease,transform .2s ease; box-shadow:0 14px 35px rgba(5,31,43,.2); }
.toast.show { opacity:1; transform:translate(-50%,0); }

.effects-off .hero-webgl { display:none; }
.effects-off .marquee-track { animation:none; }
.effects-off .floating-ticket { transform:none !important; }

@media (max-width: 1160px) {
  .city-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .explore-layout { grid-template-columns:minmax(0,1fr) minmax(350px,.88fr); }
}

@media (max-width: 980px) {
  .hero { grid-template-columns:1fr; min-height:590px; }
  .hero-side { position:absolute; right:3%; bottom:-4%; width:42%; opacity:.72; }
  .section-heading { align-items:flex-start; flex-direction:column; }
  .section-note { text-align:left; }
  .explore-layout { grid-template-columns:1fr; }
  .map-panel { position:relative; top:auto; }
  #map { height:52vh; min-height:390px; }
}

@media (max-width: 640px) {
  .topbar { padding:11px 13px; }
  .brand-copy small { display:none; }
  .motion-btn { display:none; }
  main { padding:13px 13px 54px; }
  .hero { min-height:610px; padding:30px 22px; border-radius:23px; }
  .hero-grid { opacity:.15; }
  h1 { font-size:clamp(2.65rem,15vw,4.45rem); }
  .hero p { font-size:.96rem; }
  .hero-side { width:74%; right:-20%; bottom:-3%; opacity:.62; }
  .ticket-b { right:10%; }
  .city-section,.explore-section { padding-top:45px; }
  .city-grid { grid-template-columns:1fr; }
  .city-card { min-height:225px; }
  .explore-heading { align-items:flex-start; flex-direction:column; }
  .explore-actions { width:100%; display:grid; grid-template-columns:1fr 1fr; }
  .secondary-btn { width:100%; padding-inline:10px; font-size:.76rem; }
  .map-topline { align-items:flex-start; }
  .map-hint { display:none; }
  #map { min-height:350px; height:46vh; }
  .places-meta { align-items:flex-start; flex-direction:column; gap:4px; }
  .place-card { grid-template-columns:76px 1fr; gap:12px; padding:11px; }
  .place-visual { min-height:148px; }
  .place-actions { flex-direction:column; }
  .place-actions .primary-btn,.place-actions .ghost-btn { width:100%; }
  .footer { flex-direction:column; padding:28px 14px; }
  .footer-note { text-align:left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
  .hero-webgl { display:none; }
}

/* =========================================================
   DIRECTIONS PICKER
   Google Maps Â· Waze Â· Apple Maps
   ========================================================= */

.directions-picker {
  position: relative;
  min-width: 0;
}

.directions-picker > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.directions-picker > summary::-webkit-details-marker {
  display: none;
}

.directions-picker > summary::marker {
  display: none;
}

.directions-picker[open] > summary {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(158, 228, 63, .16);
}

.directions-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  z-index: 100;
  width: max-content;
  min-width: 225px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 24px 60px rgba(5, 31, 43, .18);
  transform-origin: calc(100% - 30px) 100%;
  animation: directionsPopoverIn .22s cubic-bezier(.2,.8,.2,1);
}

.directions-popover::after {
  content: "";
  position: absolute;
  right: 27px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}

.directions-popover a {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 11px;
  border-radius: 12px;
  color: var(--ink);
  font-size: .79rem;
  font-weight: 850;
  transition:
    background .18s ease,
    transform .18s ease,
    color .18s ease;
}

.directions-popover a:hover {
  background: var(--surface-2);
  transform: translateX(3px);
}

.directions-popover a:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 2px;
}

.directions-app-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg,#ecf5ef,#dcebe2);
  color: var(--teal-2);
  font-size: .72rem;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(8,63,67,.06);
}

.directions-arrow {
  color: var(--muted);
  font-size: .88rem;
  transition: transform .18s ease;
}

.directions-popover a:hover .directions-arrow {
  transform: translate(2px,-2px);
  color: var(--teal);
}

/* Google Maps */
.directions-popover a:nth-child(1) .directions-app-icon {
  background: linear-gradient(145deg,#e9f2ff,#edf8ef);
}

/* Waze */
.directions-popover a:nth-child(2) .directions-app-icon {
  background: linear-gradient(145deg,#e7fbff,#d8f7fb);
  color: #16779b;
}

/* Apple Maps */
.directions-popover a:nth-child(3) .directions-app-icon {
  background: linear-gradient(145deg,#f1f1f1,#e4e4e4);
  color: #151515;
}

@keyframes directionsPopoverIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =========================================================
   DIRECTIONS â€” MOBILE BOTTOM SHEET
   ========================================================= */

@media (max-width: 640px) {

  .directions-picker {
    width: 100%;
  }

  .directions-picker > summary {
    width: 100%;
  }

  .directions-popover {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(14px, env(safe-area-inset-bottom));
    z-index: 6000;
    width: auto;
    min-width: 0;
    padding: 10px;
    border-radius: 22px;
    box-shadow: 0 28px 80px rgba(5,31,43,.28);
    transform-origin: center bottom;
    animation: directionsSheetIn .28s cubic-bezier(.2,.8,.2,1);
  }

  .directions-popover::after {
    display: none;
  }

  .directions-popover a {
    grid-template-columns: 42px minmax(0,1fr) auto;
    min-height: 58px;
    padding: 9px 12px;
    border-radius: 14px;
    font-size: .88rem;
  }

  .directions-app-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    font-size: .78rem;
  }
}

@keyframes directionsSheetIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* =========================================================
   FINAL MOBILE POLISH
   Discover Nordeste
   ========================================================= */

@media (max-width: 640px) {

  /* Hero: dÃ¡ prioridade total ao conteÃºdo */
  .hero {
    min-height: 590px;
  }

  .hero-copy {
    position: relative;
    z-index: 5;
  }

  .hero-side {
    width: 82%;
    right: -34%;
    bottom: -8%;
    opacity: .38;
    pointer-events: none;
  }

  .hero-webgl {
    opacity: .62;
  }

  .floating-ticket {
    opacity: .68;
  }

  .hero h1 {
    position: relative;
    z-index: 6;
  }

  .hero p {
    position: relative;
    z-index: 6;
    max-width: 92%;
  }

  .hero-cta-row {
    position: relative;
    z-index: 7;
  }

  /* Um pouco mais de respiro abaixo do mapa */
  .places-meta {
    margin-top: 8px;
  }

  /* Header ligeiramente mais compacto */
  .lang-switch {
    padding: 3px;
  }

  .lang-btn {
    padding: 6px 9px;
  }

  /* Safe-area para iPhone */
  .footer {
    padding-bottom:
      max(
        28px,
        calc(env(safe-area-inset-bottom) + 18px)
      );
  }

  .directions-popover {
    bottom:
      max(
        16px,
        calc(env(safe-area-inset-bottom) + 10px)
      );
  }
}

/* =========================================================
   DIRECTIONS BACKDROP
   ========================================================= */

body:has(.directions-picker[open])::before {
  content: "";

  position: fixed;
  inset: 0;

  z-index: 5500;

  background: rgba(5, 31, 43, .08);

  

  pointer-events: none;

  animation:
    directionsBackdropIn
    .18s ease;
}

/* O menu precisa ficar acima do backdrop */
.directions-picker[open] .directions-popover {
  z-index: 6000;
}

@keyframes directionsBackdropIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* =========================================================
   CATEGORY SCROLL HINT
   ========================================================= */

.category-filters {
  position: relative;
  padding-right: 18px;
}

/* Um acabamento suave nos cards focados */
.place-card.focused {
  transform:
    translateY(-2px);

  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}



/* =========================================================
   HERO MOBILE — MORE BREATHING ROOM
   ========================================================= */

@media (max-width: 640px) {

  .hero {
    min-height: 720px;
    padding: 42px 22px 34px;
    align-items: flex-start;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 13vw, 4.15rem);
    line-height: .94;
    margin-bottom: 22px;
  }

  .hero p {
    max-width: 90%;
    line-height: 1.58;
  }

  .hero-cta-row {
    margin-top: 28px;
    gap: 18px;
  }

  /* Joga o universo visual para baixo */
  .hero-webgl {
    transform: translateY(105px) scale(.93);
    transform-origin: center;
    opacity: .54;
  }

  .hero-side {
    width: 88%;
    right: -32%;
    bottom: -2%;
    top: auto;
    min-height: 300px;
    opacity: .48;
  }

  /* Tickets deixam de invadir o título */
  .ticket-a {
    top: 10%;
    left: 20%;
  }

  .ticket-b {
    top: 48%;
    right: 4%;
  }

  .ticket-c {
    bottom: 2%;
    left: 18%;
  }

  /* Dá espaço entre CTA e contador */
  .hero-stat {
    margin-top: 4px;
  }
}


/* =========================================================
   HERO MOBILE — TICKETS ALIGNMENT
   ========================================================= */

@media (max-width: 640px) {
  .hero-side {
    right: -24%;
  }
}


/* =========================================================
   HERO MOBILE — FINAL TICKET POSITION
   ========================================================= */

@media (max-width: 640px) {
  .hero-side {
    width: 82% !important;
    right: -8% !important;
    bottom: -2% !important;
  }

  .ticket-a {
    left: 4% !important;
  }

  .ticket-b {
    right: 2% !important;
  }

  .ticket-c {
    left: 8% !important;
  }
}

