@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Outfit:wght@400;500;600;700&display=swap');

:root {
  --ink: #0A161C;
  --ink-soft: #1A2C34;
  --ocean: #1A4F52;
  --ocean-deep: #123A3C;
  --lagoon: #2A7A76;
  --palm: #2A5A40;
  --sun: #C9A96A;
  --salt: #F5F3EF;
  --mist: #EBE7E0;
  --stone: #5E6A70;
  --white: #FFFFFF;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --headline-scale: 1;
  --body-scale: 1;
  --brand-scale: 1;
  --section-scale: 1;
  --logo-size: 52px;
  --page-bg-color: #0A161C;
  --page-bg-opacity: 1;
  --page-bg-image: none;
  --scroll-size: 8px;
  --scroll-track: transparent;
  --scroll-thumb: rgba(10, 22, 28, .28);
  --scroll-thumb-hover: rgba(10, 22, 28, .48);
  --scroll-thumb-dark: rgba(201, 169, 106, .55);
  --scroll-thumb-dark-hover: rgba(240, 217, 160, .85);
  --scroll-track-dark: rgba(255, 255, 255, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Site-wide modern scrollbars (Firefox + Chromium) */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}
html::-webkit-scrollbar {
  width: var(--scroll-size);
  height: var(--scroll-size);
}
html::-webkit-scrollbar-track {
  background: var(--scroll-track);
}
html::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
html::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-thumb-hover);
  border: 2px solid transparent;
  background-clip: padding-box;
}
html::-webkit-scrollbar-corner {
  background: transparent;
}

/* Dark glass panels (map cards, tools, overlays) */
.map-shell,
.map-shell * {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb-dark) var(--scroll-track-dark);
}
.map-shell::-webkit-scrollbar,
.map-shell *::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.map-shell::-webkit-scrollbar-track,
.map-shell *::-webkit-scrollbar-track {
  background: var(--scroll-track-dark);
  border-radius: 999px;
  margin: 4px 0;
}
.map-shell::-webkit-scrollbar-thumb,
.map-shell *::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(240, 217, 160, .75), rgba(201, 169, 106, .55));
  border-radius: 999px;
  border: 1px solid rgba(8, 18, 26, .25);
  box-shadow: 0 0 0 1px rgba(201, 169, 106, .12);
}
.map-shell::-webkit-scrollbar-thumb:hover,
.map-shell *::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 236, 190, .95), rgba(201, 169, 106, .8));
}
.map-shell::-webkit-scrollbar-button,
.map-shell *::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
.map-shell::-webkit-scrollbar-corner,
.map-shell *::-webkit-scrollbar-corner {
  background: transparent;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--salt);
  line-height: 1.65;
  font-size: calc(16px * var(--body-scale));
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,.22);
  background: linear-gradient(180deg, rgba(201,169,106,.92), rgba(184,149,85,.96));
  color: var(--ink);
  cursor: pointer;
  transition: transform .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--salt);
  border-color: rgba(247,249,250,.35);
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  padding: 16px 0;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
/* Blur on a pseudo — NOT the header itself — so fixed mobile nav isn't trapped
   inside a backdrop-filter containing block (menu would only be header-tall). */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(10,22,28,.58);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: none;
}
.site-header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--salt);
  font-family: var(--font-display);
  font-size: calc(22px * var(--brand-scale));
  letter-spacing: .01em;
  min-width: 0;
}
.brand img {
  width: var(--logo-size);
  height: var(--logo-size);
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.brand__text, .brand-text {
  display: inline;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.nav {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-shrink: 0;
}
.nav a {
  color: rgba(247,249,250,.78);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav a[aria-current="page"], .nav a:hover { color: var(--salt); }
.nav-dest {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nav-dest__pin {
  width: 14px;
  height: 17px;
  flex: 0 0 auto;
  overflow: visible;
  transform-origin: 50% 100%;
  animation: navPinBounce 1.8s ease-in-out infinite;
}
.nav-dest__pin-body {
  fill: var(--sun);
  stroke: rgba(8, 18, 26, .35);
  stroke-width: 0.8;
}
.nav-dest__pin-dot {
  fill: var(--ink);
}
.nav-dest:hover .nav-dest__pin,
.nav-dest[aria-current="page"] .nav-dest__pin {
  animation-duration: 1.15s;
}
.nav-dest:hover .nav-dest__pin-body,
.nav-dest[aria-current="page"] .nav-dest__pin-body {
  fill: #f0d9a0;
}
@keyframes navPinBounce {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(-3px); }
  70% { transform: translateY(-1px); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-dest__pin {
    animation: none;
  }
}
.nav-cta {
  padding: 9px 14px !important;
  border: 1px solid rgba(201,169,106,.55);
  border-radius: 3px;
  color: var(--sun) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  position: relative;
  z-index: 80;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--salt);
}
.nav-backdrop { display: none; }

@media (max-width: 980px) {
  .brand__text, .brand-text { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(320px, 88vw);
    height: 100dvh;
    max-height: 100dvh;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 88px 24px 24px;
    transform: translateX(105%);
    transition: transform .25s ease;
    z-index: 70;
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -16px 0 40px rgba(0,0,0,.35);
  }
  .site-header.is-nav-open .nav {
    transform: none;
    pointer-events: auto;
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    background: rgba(0,0,0,.45);
    border: 0;
    z-index: 65;
    pointer-events: auto;
  }
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--salt);
  padding: clamp(120px, 18vh, 160px) 0 clamp(56px, 10vh, 88px);
  overflow: hidden;
  background: var(--page-bg-color);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.02);
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,16,22,.72) 0%, rgba(8,16,22,.38) 42%, rgba(8,16,22,.18) 100%),
    linear-gradient(180deg, rgba(8,16,22,.45) 0%, rgba(8,16,22,.12) 38%, rgba(8,16,22,.55) 100%);
}
.hero__copy {
  position: relative;
  z-index: 2;
  max-width: min(44rem, 100%);
  margin-inline: auto;
  padding-bottom: 4px;
  text-align: center;
}
.hero__brand {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(240,217,160,.92);
}
.hero__copy h1 {
  font-size: calc(clamp(44px, 6.4vw, 78px) * var(--headline-scale));
  line-height: 1.04;
  margin: 0 auto 22px;
  max-width: 14ch;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.hero__copy h1 em {
  display: inline;
  font-style: italic;
  color: var(--sun);
}
.hero__copy > p {
  margin: 0 auto;
  color: rgba(247,249,250,.86);
  max-width: 42ch;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.55;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  justify-content: center;
}
.hero__actions .btn {
  min-width: 10.5rem;
  justify-content: center;
}

@media (max-width: 720px) {
  .hero {
    align-items: end;
    padding: 110px 0 48px;
  }
  .hero__copy {
    max-width: 100%;
  }
  .hero__copy h1 {
    max-width: 12ch;
    font-size: calc(clamp(40px, 11vw, 56px) * var(--headline-scale));
  }
  .hero__actions .btn {
    flex: 1 1 auto;
    min-width: 0;
  }
}

.section {
  padding: 88px 0;
  text-align: center;
}
.section--dark {
  background: var(--ink);
  color: var(--salt);
}
.kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 12px;
}
.section h2 {
  font-size: calc(clamp(28px, 4vw, 44px) * var(--section-scale));
  margin: 0 auto 12px;
  max-width: 22ch;
}
.lead {
  color: var(--stone);
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.section--dark .lead { color: rgba(247,249,250,.72); }
.section .hero__actions { justify-content: center; }
.section h3 {
  margin-left: auto;
  margin-right: auto;
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 36px;
  text-align: left;
}
@media (max-width: 900px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
}
.tile {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  background: #0d2430;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.tile:hover img { transform: scale(1.05); }
.tile__meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(6,16,24,.85));
  color: var(--salt);
}
.tile__meta span {
  display: block;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 4px;
}
.tile__meta strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  justify-items: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.split > div { max-width: 52ch; }
.split img {
  width: min(420px, 100%);
  border-radius: 4px;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
  text-align: left;
}
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
}
.card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(247,249,250,.1);
  border-radius: 6px;
  overflow: hidden;
}
.section:not(.section--dark) .card {
  background: var(--white);
  border-color: rgba(10,22,28,.08);
}
.card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.card__body { padding: 16px 18px 20px; }
.card__body .cat {
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sun);
}
.card__body h3 {
  font-size: 24px;
  margin: 6px 0 8px;
}
.card__body p { margin: 0; color: var(--stone); font-size: 14.5px; }
.section--dark .card__body p { color: rgba(247,249,250,.7); }

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
  text-align: left;
}
@media (max-width: 900px) {
  .quotes { grid-template-columns: 1fr; }
}
.quote {
  padding: 20px;
  border-left: 2px solid var(--sun);
}
.quote p { margin: 0 0 10px; font-family: var(--font-display); font-size: 22px; line-height: 1.35; }
.quote cite { font-style: normal; font-size: 12px; color: var(--stone); letter-spacing: .04em; }

.page-hero {
  padding: 140px 0 56px;
  background: linear-gradient(180deg, rgba(10,22,28,.92), rgba(26,79,82,.78)), center/cover no-repeat;
  color: var(--salt);
  text-align: center;
}
.page-hero h1 {
  font-size: calc(clamp(36px, 5.5vw, 58px) * var(--headline-scale));
  margin: 0 auto 12px;
  max-width: 18ch;
}
.page-hero p {
  color: rgba(247,249,250,.78);
  max-width: 52ch;
  margin: 0 auto;
}

.map-shell {
  position: relative;
  height: min(100svh, 920px);
  min-height: 620px;
  /* Ocean-ish base so missing tiles never flash pure black */
  background:
    radial-gradient(120% 80% at 50% 40%, #1a3d4a 0%, #0b1c24 55%, #061018 100%);
  --map-left-w: clamp(280px, 30vw, 460px);
  --map-right-w: clamp(240px, 26vw, 420px);
  --map-tools-w: 56px;
  --map-tools-h: auto;
  --map-left-inset: max(14px, env(safe-area-inset-left));
  --map-right-inset: max(12px, env(safe-area-inset-right));
  /* Same inset under the fixed header as above the bottom edge */
  --map-panel-gap: max(14px, env(safe-area-inset-bottom));
  --map-header-h: calc(16px + var(--logo-size) + 16px + 1px);
  --map-panel-bottom: var(--map-panel-gap);
  --map-panel-top: calc(env(safe-area-inset-top) + var(--map-header-h) + var(--map-panel-gap));
}
.map-shell--hero {
  height: 100svh;
  min-height: 640px;
  margin-top: 0;
}
#panamaMap {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s cubic-bezier(.22, .7, .2, 1);
  will-change: opacity;
}
.map-shell.is-map-ready #panamaMap {
  opacity: 1;
}
/* Soft veil while tiles catch up after a fly — hides chunk pop-in */
.map-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(6, 16, 24, .28) 100%);
  opacity: 0;
  transition: opacity .45s ease;
}
.map-shell.is-refining::after {
  opacity: 1;
}
.map-shell:not(.is-map-ready)::after {
  opacity: .55;
  background: linear-gradient(180deg, rgba(8, 22, 30, .35), rgba(6, 16, 24, .5));
}
.map-shell .maplibregl-ctrl-attrib {
  font-size: 10px;
  background: rgba(6,16,24,.55) !important;
}
.map-status {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  z-index: 3;
  max-width: 36ch;
  text-align: center;
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(6,16,24,.82);
  border: 1px solid rgba(201,169,106,.35);
  color: rgba(247,249,250,.9);
  font-size: 14px;
  /* Never steal pan/zoom from the map canvas underneath */
  pointer-events: none;
}
.map-status[hidden] { display: none !important; }
/* Zoom/pitch controls sit in the open map strip — not under the left card */
.map-shell .maplibregl-ctrl-top-left {
  top: auto;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: calc(var(--map-left-inset) + var(--map-left-w) + 12px);
}
.map-marker {
  width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f0d9a0, #C9A96A 55%, #8a6d35);
  border: 2px solid rgba(255,255,255,.85);
  box-shadow: 0 0 0 4px rgba(201,169,106,.25), 0 8px 18px rgba(0,0,0,.35);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.map-marker.is-hidden {
  display: none !important;
}
.map-marker.is-active,
.map-marker:hover {
  transform: scale(1.3);
  box-shadow: 0 0 0 6px rgba(201,169,106,.4), 0 10px 22px rgba(0,0,0,.4);
}

.map-poi-pin {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  cursor: pointer;
  pointer-events: auto;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.45));
  transform-origin: 50% 100%;
  transition: transform .18s ease;
  z-index: 2;
}
.map-poi-pin.is-hidden { display: none !important; }
.map-poi-pin:hover { transform: scale(1.08); z-index: 5; }
.map-poi-pin__head {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px 5px 7px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.85);
  background: #1a2a34;
  color: #f7f9fa;
  white-space: nowrap;
  line-height: 1;
}
.map-poi-pin__icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.map-poi-pin__icon svg { display: block; }
.map-poi-pin__code {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.map-poi-pin__stem {
  width: 2px;
  height: 10px;
  background: rgba(255,255,255,.75);
}
.map-poi-pin__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid rgba(8,18,26,.55);
  margin-top: -2px;
}
.map-poi-pin--airport .map-poi-pin__head {
  background: linear-gradient(180deg, #c9a96a, #a8884a);
  color: #132028;
  border-color: rgba(255,248,230,.95);
}
.map-poi-pin--airport .map-poi-pin__icon { background: rgba(19,32,40,.14); color: #132028; }
.map-poi-pin--airport .map-poi-pin__stem { background: #c9a96a; }
.map-poi-pin--airport .map-poi-pin__dot { background: #c9a96a; }
.map-poi-pin--port .map-poi-pin__head {
  background: linear-gradient(180deg, #2f7fb8, #1d5f8f);
  border-color: rgba(210,232,255,.9);
}
.map-poi-pin--port .map-poi-pin__icon { background: rgba(255,255,255,.16); }
.map-poi-pin--port .map-poi-pin__stem { background: #2f7fb8; }
.map-poi-pin--port .map-poi-pin__dot { background: #5eb1ff; }
.map-poi-pin--landmark .map-poi-pin__head {
  background: linear-gradient(180deg, #d21034, #a10d28);
  border-color: rgba(255,220,226,.9);
}
.map-poi-pin--landmark .map-poi-pin__icon { background: rgba(255,255,255,.16); }
.map-poi-pin--landmark .map-poi-pin__stem { background: #d21034; }
.map-poi-pin--landmark .map-poi-pin__dot { background: #ff6b84; }
.map-poi-popup .maplibregl-popup-content {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(8,18,26,.92);
  color: #f7f9fa;
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  font-size: 12px;
  line-height: 1.35;
}
.map-poi-popup .maplibregl-popup-content strong {
  display: block;
  font-size: 12.5px;
  margin-bottom: 2px;
}
.map-poi-popup .maplibregl-popup-content span {
  opacity: .75;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 10px;
}
.map-poi-popup .maplibregl-popup-tip {
  border-top-color: rgba(8,18,26,.92);
}

.map-tools {
  position: relative;
  z-index: 2;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  width: var(--map-tools-w);
  max-width: none;
  height: auto;
  align-self: stretch;
  flex: 0 0 var(--map-tools-w);
  margin: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  gap: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(255,255,255,.12);
  background: rgba(6, 14, 20, .38);
  box-shadow: none;
  color: rgba(247,249,250,.92);
  pointer-events: auto;
  overflow: hidden;
}
.map-tools__rail {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 8px 6px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: auto;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.map-tools__rail::-webkit-scrollbar { width: 3px; }
.map-tools__group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  min-height: 0;
  flex: 0 0 auto;
}
.map-tools__divider {
  width: 100%;
  height: 1px;
  flex: 0 0 auto;
  background: linear-gradient(90deg, transparent, rgba(240,217,160,.35), transparent);
}
.map-tools__label {
  display: block;
  margin: 0 0 2px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(240,217,160,.8);
  text-align: center;
  line-height: 1;
}
.map-tools__styles,
.map-tools__layers {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  flex: 0 0 auto;
}
.map-tools__icon {
  display: block;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}
.map-tools__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.map-tools__style {
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: rgba(247,249,250,.88);
  border-radius: 10px;
  padding: 5px 2px 4px;
  cursor: pointer;
  width: 100%;
  min-width: 0;
  min-height: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.map-tools__style.is-active,
.map-tools__style:hover {
  border-color: rgba(201,169,106,.7);
  background: rgba(201,169,106,.22);
  color: #f0d9a0;
}
.map-tools__style-name {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
}
.map-tools__check {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin: 0;
  padding: 5px 2px 4px;
  border-radius: 10px;
  cursor: pointer;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  min-width: 0;
  min-height: 36px;
  color: rgba(247,249,250,.86);
  position: relative;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.map-tools__check:hover,
.map-tools__check:has(input:checked) {
  border-color: rgba(201,169,106,.55);
  background: rgba(201,169,106,.16);
  color: #f0d9a0;
}
.map-tools__check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.map-tools__caption {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
}
.map-auto {
  appearance: none;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  flex: 0 0 auto;
  min-height: 0;
  margin-top: auto;
  padding: 8px 4px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: #f7f9fa;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.map-auto:hover {
  border-color: rgba(201,169,106,.55);
  background: rgba(201,169,106,.14);
}
.map-auto.is-on {
  border-color: rgba(201,169,106,.72);
  background: rgba(201,169,106,.18);
  box-shadow: 0 0 0 1px rgba(201,169,106,.18);
}
.map-auto__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.map-auto__name {
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.1;
  color: rgba(247,249,250,.9);
}
.map-auto__hint {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: rgba(247,249,250,.5);
}
.map-auto.is-on .map-auto__hint {
  color: #f0d9a0;
}
.map-auto__track {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.14);
  transition: background .18s ease, border-color .18s ease;
}
.map-auto.is-on .map-auto__track {
  background: rgba(201,169,106,.58);
  border-color: rgba(201,169,106,.75);
}
.map-auto__knob {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #f7f9fa;
  box-shadow: 0 1px 3px rgba(0,0,0,.35);
  transform: translateY(-50%);
  transition: transform .18s ease;
}
.map-auto.is-on .map-auto__knob {
  transform: translate(11px, -50%);
}

.map-overlay-card {
  position: absolute;
  z-index: 4;
  left: var(--map-left-inset);
  top: var(--map-panel-top);
  bottom: var(--map-panel-bottom);
  width: calc(var(--map-left-w) + var(--map-tools-w));
  max-width: calc(var(--map-left-w) + var(--map-tools-w));
  box-sizing: border-box;
  max-height: none;
  height: auto;
  pointer-events: auto;
  color: var(--salt);
  background: rgba(8, 18, 26, .42);
  backdrop-filter: blur(22px) saturate(1.15);
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  box-shadow:
    0 1px 0 rgba(255,255,255,.14) inset,
    0 28px 70px -36px rgba(0,0,0,.55);
}
.map-overlay-card__main {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.1) 0%,
    rgba(255,255,255,.05) 18%,
    rgba(8,18,26,.18) 100%
  );
  overflow: hidden;
}
.map-overlay-card__kicker {
  margin: 0;
  padding: 16px 20px 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(240,217,160,.92);
  flex: 0 0 auto;
}
.map-overlay-card__hint {
  margin: 0;
  padding: 0 20px 16px;
  font-size: 11px;
  letter-spacing: .04em;
  color: rgba(247,249,250,.42);
  flex: 0 0 auto;
}
.map-slider {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}
.map-slider__viewport {
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
}
.map-slider__track {
  display: flex;
  width: 100%;
  transition: transform .45s cubic-bezier(.22,.7,.25,1);
  will-change: transform;
}
.map-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
}
.map-slide__media {
  margin: 12px 18px 0;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(13,36,48,.35);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 28px -18px rgba(0,0,0,.45);
}
.map-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-slide__body {
  padding: 16px 20px 10px;
}
.map-slide__count {
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(247,249,250,.42);
}
.map-slide__body h2,
.map-slide__title {
  font-size: clamp(28px, 3vw, 34px);
  margin: 0 0 4px;
  color: var(--salt);
  letter-spacing: -.01em;
  text-shadow: 0 1px 18px rgba(0,0,0,.25);
  cursor: pointer;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease, opacity .2s ease;
}
.map-slide__title:hover {
  color: #f0d9a0;
  border-bottom-color: rgba(201,169,106,.45);
}
.map-slide__title.is-outline-off {
  opacity: .72;
  border-bottom-color: rgba(247,249,250,.28);
  border-bottom-style: dashed;
}
.map-slide__outline-hint {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: .04em;
  color: rgba(247,249,250,.42);
}
.map-place-label {
  pointer-events: none;
  transform: translateY(-12px);
}
.map-place-label__text {
  display: block;
  font-family: var(--font-display, Georgia, "Times New Roman", serif);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: .02em;
  color: #fff8f0;
  white-space: nowrap;
  text-align: center;
  transform-origin: 50% 100%;
  animation:
    mapLabelIn .85s cubic-bezier(.22,.7,.2,1) both,
    mapLabelGlow 3.2s ease-in-out .85s infinite;
  text-shadow:
    0 1px 0 rgba(0,0,0,.55),
    0 2px 8px rgba(0,0,0,.45),
    0 10px 28px rgba(0,0,0,.4),
    0 0 18px rgba(201,169,106,.45),
    0 0 42px rgba(0,85,164,.35),
    0 0 70px rgba(210,16,52,.22);
}
@keyframes mapLabelIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(.88);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
@keyframes mapLabelGlow {
  0%, 100% {
    text-shadow:
      0 1px 0 rgba(0,0,0,.55),
      0 2px 8px rgba(0,0,0,.45),
      0 10px 28px rgba(0,0,0,.4),
      0 0 18px rgba(201,169,106,.4),
      0 0 36px rgba(0,85,164,.3),
      0 0 60px rgba(210,16,52,.18);
  }
  50% {
    text-shadow:
      0 1px 0 rgba(0,0,0,.55),
      0 2px 8px rgba(0,0,0,.45),
      0 12px 32px rgba(0,0,0,.45),
      0 0 28px rgba(240,217,160,.7),
      0 0 52px rgba(0,85,164,.45),
      0 0 88px rgba(210,16,52,.28);
  }
}
.map-canal-ship {
  position: relative;
  width: 26px;
  height: 26px;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(255, 50, 80, .85));
}
.map-canal-ship__dot {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #ffe08a 35%, #ff1f3d 100%);
  box-shadow:
    0 0 0 2px rgba(8, 18, 26, .55),
    0 0 16px rgba(255, 60, 90, .95),
    0 0 32px rgba(255, 40, 70, .65);
}
.map-canal-ship__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 80, 110, .9);
  animation: canalShipPulse 1.5s ease-out infinite;
}
@keyframes canalShipPulse {
  0% {
    transform: scale(.55);
    opacity: .95;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}
.map-slide__blurb {
  margin: 0 0 10px;
  color: rgba(240,217,160,.92);
  font-size: 14px;
  line-height: 1.45;
}
.map-slide__desc {
  margin: 0 0 12px;
  color: rgba(247,249,250,.82);
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 38ch;
}
.map-slide__highlights {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.map-slide__highlights li {
  position: relative;
  padding-left: 14px;
  color: rgba(247,249,250,.78);
  font-size: 13.5px;
  line-height: 1.4;
}
.map-slide__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 3px rgba(201,169,106,.2);
}
.map-slider__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  flex: 0 0 auto;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(6, 14, 20, .4);
}
.map-slider__nav {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: var(--salt);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  flex: 0 0 auto;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.map-slider__nav:hover {
  border-color: rgba(201,169,106,.7);
  color: var(--sun);
  background: rgba(201,169,106,.2);
  transform: translateY(-1px);
}
.map-slider__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  flex: 1;
}
.map-slider__dot {
  width: 18px;
  height: 4px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(247,249,250,.22);
  cursor: pointer;
  transition: background .2s ease, width .2s ease;
}
.map-slider__dot.is-active {
  width: 28px;
  background: var(--sun);
  box-shadow: none;
}

.map-sidepanel {
  position: absolute;
  z-index: 5;
  top: var(--map-panel-top);
  right: var(--map-right-inset);
  left: auto;
  width: var(--map-right-w);
  max-width: var(--map-right-w);
  box-sizing: border-box;
  max-height: min(58vh, 520px);
  flex: none;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 12px 12px;
  border-radius: 20px;
  background: rgba(8, 18, 26, .48);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .1) inset,
    0 24px 52px -28px rgba(0, 0, 0, .55);
  pointer-events: auto;
  overflow: hidden;
  transition: width .28s ease, max-height .28s ease, padding .28s ease;
}
.map-sidepanel__chrome {
  display: flex;
  justify-content: flex-end;
  pointer-events: auto;
  flex: 0 0 auto;
}
.map-sidepanel__collapse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  color: rgba(247,249,250,.9);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 1;
}
.map-sidepanel__collapse:hover {
  border-color: rgba(201,169,106,.55);
  color: #f0d9a0;
}
.map-sidepanel__collapse-icon {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  transition: transform .25s ease;
}
.map-sidepanel.is-collapsed {
  width: auto;
  max-width: none;
  max-height: none;
  padding: 8px;
  gap: 0;
}
.map-sidepanel.is-collapsed .map-sidepanel__body {
  display: none;
}
.map-sidepanel.is-collapsed .map-sidepanel__collapse-icon {
  transform: rotate(180deg);
}
.map-sidepanel.is-collapsed .map-sidepanel__collapse-label {
  display: none;
}
.map-sidepanel__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  pointer-events: auto;
}
.map-sidepanel__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: auto;
  flex: 0 0 auto;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.map-sidepanel__meter {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.map-sidepanel__nav-label {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(247, 249, 250, .78);
}
.map-sidepanel__progress {
  width: min(140px, 100%);
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  overflow: hidden;
}
.map-sidepanel__progress i {
  display: block;
  height: 100%;
  width: 12.5%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0055A4, #D21034);
  transition: width .35s cubic-bezier(.22,.7,.2,1);
}
.map-sidepanel__arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.1);
  color: #f7f9fa;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  transition: background .2s ease, transform .2s ease;
}
.map-sidepanel__arrow:hover {
  background: rgba(201, 169, 106, .28);
  color: #f0d9a0;
  transform: scale(1.04);
}
.map-sidepanel__photos {
  pointer-events: auto;
  flex: 0 0 auto;
}
.map-gallery__set {
  display: none;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.map-gallery__set.is-active { display: flex; }
.map-gallery__thumb {
  width: 96px;
  height: 64px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(8,16,22,.3);
  flex: 0 0 auto;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.map-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.map-gallery__thumb:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(240,217,160,.7);
}
.map-gallery__thumb.is-active {
  border-color: rgba(201,169,106,.95);
  box-shadow: 0 0 0 2px rgba(201,169,106,.3);
}
.map-sidepanel__facts {
  pointer-events: auto;
  min-height: 0;
  flex: 1 1 auto;
  overflow: visible;
}
.map-fact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: auto;
  align-content: start;
  opacity: 0;
  transform: translateY(8px);
  will-change: transform, opacity;
  transition:
    opacity .35s cubic-bezier(.22, .7, .2, 1),
    transform .4s cubic-bezier(.22, .7, .2, 1);
}
.map-fact-list.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.map-fact-list.is-leaving {
  opacity: 0;
  transform: translateY(-6px);
}
.map-stat-grid {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.map-stat {
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  min-width: 0;
}
.map-stat dt {
  margin: 0 0 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(240, 217, 160, .82);
}
.map-stat dd {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: rgba(247, 249, 250, .95);
  font-family: var(--font-display, Georgia, "Times New Roman", serif);
}
.map-fact-list__tips {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.map-fact-list__tips li {
  position: relative;
  padding-left: 14px;
  font-size: 12.5px;
  line-height: 1.4;
  color: rgba(247, 249, 250, .88);
  text-wrap: pretty;
}
.map-fact-list__tips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(201, 169, 106, .9);
}

@media (max-width: 1200px) {
  .map-shell {
    --map-left-w: clamp(260px, 34vw, 400px);
    --map-right-w: clamp(220px, 28vw, 360px);
  }
}

@media (max-width: 980px) {
  .map-shell {
    --map-left-w: clamp(240px, 38vw, 360px);
    --map-right-w: clamp(210px, 32vw, 320px);
    --map-tools-w: 52px;
    --map-tools-h: auto;
  }
  .map-gallery__thumb { width: 78px; height: 54px; }
  .map-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile — map-first layout */
@media (max-width: 720px) {
  .map-shell {
    --map-left-w: auto;
    --map-right-w: auto;
    --map-tools-w: 48px;
    --map-panel-gap: 10px;
    --map-header-h: calc(14px + var(--logo-size) + 14px + 1px);
    --map-panel-bottom: max(10px, env(safe-area-inset-bottom));
    --map-panel-top: calc(env(safe-area-inset-top) + var(--map-header-h) + var(--map-panel-gap));
    --map-left-inset: 10px;
    --map-right-inset: 10px;
  }
  .map-shell--hero {
    min-height: 100svh;
    height: 100svh;
  }
  .map-tools {
    flex: 0 0 var(--map-tools-w);
    width: var(--map-tools-w);
  }
  .map-tools__rail {
    padding: 6px 4px;
    gap: 4px;
  }
  .map-tools__style,
  .map-tools__check {
    min-height: 30px;
    padding: 3px 2px;
  }
  .map-tools__caption,
  .map-tools__style-name {
    font-size: 7px;
  }
  .map-auto {
    padding: 6px 3px;
    gap: 5px;
  }
  .map-auto__name { font-size: 7px; }
  .map-auto__hint { font-size: 10px; }
  .map-sidepanel {
    top: var(--map-panel-top);
    right: 10px;
    left: auto;
    width: auto;
    max-width: min(72vw, 260px);
    max-height: min(34vh, 240px);
    padding: 8px;
    gap: 8px;
  }
  .map-sidepanel.is-collapsed {
    left: auto;
    right: 10px;
    max-width: none;
  }
  .map-overlay-card {
    top: auto;
    right: 10px;
    left: 10px;
    bottom: var(--map-panel-bottom);
    width: auto;
    max-width: none;
    border-radius: 16px;
    max-height: min(32vh, 260px);
  }
  .map-overlay-card__kicker {
    padding: 10px 14px 0;
    font-size: 9px;
  }
  .map-slide__media {
    margin: 8px 12px 0;
    aspect-ratio: 2.4 / 1;
    max-height: 72px;
  }
  .map-slide__body {
    padding: 10px 14px 4px;
  }
  .map-slide__body h2,
  .map-slide__title {
    font-size: 22px;
  }
  .map-slide__blurb {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    margin-bottom: 0;
  }
  .map-slide__desc,
  .map-slide__highlights,
  .map-slide__outline-hint,
  .map-overlay-card__hint {
    display: none;
  }
  .map-slider__controls {
    padding: 4px 10px 10px;
  }
  .map-gallery__set.is-active {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  .map-gallery__thumb { width: 64px; height: 44px; }
  .map-shell .maplibregl-ctrl-top-left {
    left: 10px;
    bottom: calc(var(--map-panel-bottom) + min(32vh, 260px) + 10px);
  }
}

.faq-group { margin-bottom: 28px; text-align: left; max-width: 720px; margin-left: auto; margin-right: auto; }
.faq-group h3 { margin-bottom: 12px; font-size: 28px; text-align: center; }
.faq-item {
  border-bottom: 1px solid rgba(10,22,28,.1);
  padding: 14px 0;
}
.faq-item strong { display: block; margin-bottom: 6px; }
.faq-item p { margin: 0; color: var(--stone); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  text-align: left;
  max-width: 920px;
  margin: 36px auto 0;
}
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-form label {
  display: block;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 12px 0 6px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(10,22,28,.15);
  border-radius: 4px;
  font: inherit;
  background: var(--white);
}
.contact-form textarea { min-height: 120px; resize: vertical; }

.site-footer {
  background: var(--ink);
  color: rgba(247,249,250,.75);
  padding: 56px 0 28px;
  text-align: center;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  justify-items: center;
}
.site-footer__grid > * { max-width: 36ch; }
.site-footer h4 {
  color: var(--salt);
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: var(--font-body);
  margin-bottom: 12px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .brand {
  justify-content: center;
}
.site-footer .brand img {
  width: min(180px, 100%);
  height: auto;
  border-radius: 0;
  margin: 0 auto 12px;
}
.site-footer__bottom {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(247,249,250,.1);
  font-size: 13px;
}
.site-footer a:hover { color: var(--sun); }

[data-edit] {
  outline: 1px dashed transparent;
}
body[data-edit-ready] [data-edit]:hover {
  outline-color: rgba(201,169,106,.7);
  cursor: pointer;
}
