@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: optional;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: optional;
}

:root {
  --sl-navy: #0b2d4d;
  --sl-navy-2: #071f36;
  --sl-blue: #4dbec6;
  --sl-blue-dark: #087e8c;
  --sl-coral: #ff7a6d;
  --sl-pale: #e6f1fa;
  --sl-gray: #f2f4f7;
  --sl-white: #fff;
  --sl-ink: #102436;
  --sl-muted: #607284;
  --sl-line: #dce5ec;
  --sl-display: "Cormorant Garamond", Georgia, serif;
  --sl-ui: Inter, Arial, sans-serif;
  --sl-radius-sm: 10px;
  --sl-radius-md: 16px;
  --sl-radius-lg: 24px;
  --sl-shadow: 0 18px 48px rgba(11, 45, 77, .13);
  --sl-shadow-soft: 0 8px 24px rgba(11, 45, 77, .08);
  --sl-max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--sl-ink);
  background: var(--sl-white);
  font-family: var(--sl-ui);
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: default; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

/*
 * Stable interaction contract
 * Keep the normal arrow across every clickable control and its contents.
 * Controls may change color for feedback, but never move or animate beneath
 * the mouse.
 */
:where(a[href], button, [role="button"], summary, label:has(input[type="checkbox"], input[type="radio"])) {
  cursor: default !important;
  transition: none !important;
}
:where(a[href], button, [role="button"], summary, label:has(input[type="checkbox"], input[type="radio"])) * {
  cursor: inherit !important;
  transition: none !important;
}
/* Leaflet positions keyboard-accessible markers with inline transforms.
   Removing that transform on hover makes the marker jump out from under the pointer. */
:where(a[href], button, [role="button"], summary):not(.leaflet-marker-icon):not(.maplibregl-marker):hover,
:where(a[href], button, [role="button"], summary):not(.leaflet-marker-icon):not(.maplibregl-marker):active {
  transform: none !important;
  animation: none !important;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: -80px;
  left: 8px;
  padding: 10px 14px;
  background: var(--sl-navy);
  color: #fff;
  border-radius: 8px;
  transform: none;
}
.skip-link:focus { top: 8px; }
:focus-visible {
  outline: 3px solid rgba(77, 190, 198, .65);
  outline-offset: 3px;
}

.sl-header {
  position: relative;
  z-index: 100;
  height: 82px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--sl-line);
}
.sl-header-inner {
  width: min(calc(100% - 40px), var(--sl-max));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr 180px;
  align-items: center;
  gap: 24px;
}
.sl-brand {
  display: inline-flex;
  align-items: center;
  width: 230px;
  min-width: 0;
}
.sl-brand img { width: 100%; height: auto; }
.sl-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 700;
}
.sl-nav a {
  position: relative;
  padding: 30px 0 27px;
  color: #344c61;
}
.sl-nav a:hover,
.sl-nav a.active { color: var(--sl-navy); }
.sl-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 3px;
  background: var(--sl-blue);
  border-radius: 9px;
}
html[data-sl-view="map"] .sl-nav [data-header-explore],
html[data-sl-view="plan"] .sl-nav [data-header-plan] {
  color: var(--sl-navy);
}
html[data-sl-view="map"] .sl-nav [data-header-explore]::after,
html[data-sl-view="plan"] .sl-nav [data-header-plan]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 3px;
  border-radius: 9px;
  background: var(--sl-blue);
}
.sl-header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}
.sl-saved {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--sl-line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}
.sl-saved b {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--sl-pale);
  color: var(--sl-navy);
  font-size: 11px;
}
.sl-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--sl-line);
  border-radius: 50%;
  background: #fff;
  color: var(--sl-navy);
  font-size: 20px;
}
.sl-mobile-menu {
  position: absolute;
  top: 72px;
  right: 16px;
  width: min(310px, calc(100vw - 32px));
  padding: 12px;
  background: #fff;
  border: 1px solid var(--sl-line);
  border-radius: 18px;
  box-shadow: var(--sl-shadow);
}
.sl-mobile-menu a {
  display: flex;
  justify-content: space-between;
  padding: 13px 12px;
  border-radius: 10px;
  font-weight: 700;
}
.sl-mobile-menu a:hover { background: var(--sl-gray); }

.sl-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 1px solid var(--sl-line);
  border-radius: 12px;
  background: #fff;
  color: var(--sl-navy);
  font-weight: 800;
}
.sl-button:hover { transform: none; box-shadow: var(--sl-shadow-soft); }
.sl-button.primary {
  border-color: var(--sl-navy);
  background: var(--sl-navy);
  color: #fff;
}
.sl-button.coral {
  border-color: var(--sl-coral);
  background: var(--sl-coral);
  color: var(--sl-navy-2);
}
.sl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--sl-blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.sl-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sl-coral);
}

/* Homepage */
.sl-home-hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(360px, 42%) 1fr;
  background: linear-gradient(115deg, #fff 0, #f8fbfd 43%, var(--sl-pale) 100%);
}
.sl-home-copy {
  padding: clamp(70px, 8vw, 120px) clamp(28px, 6vw, 92px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sl-home-copy h1 {
  max-width: 600px;
  margin: 18px 0 20px;
  color: var(--sl-navy);
  font: 600 clamp(54px, 6vw, 88px)/.9 var(--sl-display);
  letter-spacing: -.035em;
}
.sl-home-copy h1 em {
  color: var(--sl-blue-dark);
  font-weight: inherit;
}
.sl-home-copy p {
  max-width: 540px;
  margin: 0;
  color: #496075;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.65;
}
.sl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.sl-home-map {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: var(--sl-pale) url("../images/coastal-compass-map-fallback.svg") center / cover no-repeat;
}
.sl-home-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(230,241,250,.75), transparent 18%);
}
.sl-map-search {
  position: absolute;
  z-index: 2;
  top: 28px;
  left: 28px;
  right: 28px;
  display: flex;
  padding: 8px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(11,45,77,.12);
  border-radius: 16px;
  box-shadow: var(--sl-shadow);
}
.sl-map-search input {
  flex: 1;
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--sl-ink);
}
.sl-map-search button {
  min-width: 112px;
  border: 0;
  border-radius: 10px;
  background: var(--sl-navy);
  color: #fff;
  font-weight: 800;
}
.sl-map-pin {
  position: absolute;
  z-index: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 4px solid #fff;
  border-radius: 50% 50% 50% 12px;
  transform: rotate(-45deg);
  background: var(--sl-blue-dark);
  color: #fff;
  box-shadow: 0 7px 18px rgba(11,45,77,.3);
}
.sl-map-pin span { transform: rotate(45deg); font-weight: 800; font-size: 11px; }
.sl-map-pin.p1 { left: 34%; top: 36%; }
.sl-map-pin.p2 { left: 65%; top: 28%; background: #7c4ccf; }
.sl-map-pin.p3 { left: 51%; top: 61%; background: var(--sl-coral); }
.sl-map-pin.p4 { right: 13%; top: 48%; background: #3c9142; }
.sl-map-card {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 28px;
  width: min(420px, calc(100% - 56px));
  padding: 20px;
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(11,45,77,.1);
  border-radius: 18px;
  box-shadow: var(--sl-shadow);
}
.sl-map-card small {
  color: var(--sl-blue-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.sl-map-card strong {
  display: block;
  margin: 5px 0;
  color: var(--sl-navy);
  font: 700 27px/1.1 var(--sl-display);
}
.sl-map-card p { margin: 0; color: var(--sl-muted); font-size: 13px; line-height: 1.5; }

.sl-shortcuts {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 40px), var(--sl-max));
  margin: -52px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--sl-line);
  border-radius: 20px;
  box-shadow: var(--sl-shadow);
}
.sl-shortcut {
  min-height: 110px;
  padding: 24px;
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 14px;
  border-right: 1px solid var(--sl-line);
}
.sl-shortcut:last-child { border-right: 0; }
.sl-shortcut-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--sl-pale);
  color: var(--sl-blue-dark);
  font-size: 20px;
  font-weight: 900;
}
.sl-shortcut:nth-child(2) .sl-shortcut-icon { background: #eee8fb; color: #7045bc; }
.sl-shortcut:nth-child(3) .sl-shortcut-icon { background: #fff0ed; color: #d54d3f; }
.sl-shortcut:nth-child(4) .sl-shortcut-icon { background: #e8f5e9; color: #367d3c; }
.sl-shortcut strong { display: block; color: var(--sl-navy); }
.sl-shortcut small { display: block; margin-top: 4px; color: var(--sl-muted); line-height: 1.35; }

.sl-section {
  padding: 100px 20px;
}
.sl-section.tint { background: #f7fafc; }
.sl-wrap { width: min(100%, var(--sl-max)); margin: 0 auto; }
.sl-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 34px;
}
.sl-section-head h2 {
  margin: 8px 0 0;
  color: var(--sl-navy);
  font: 650 clamp(38px, 5vw, 58px)/1 var(--sl-display);
}
.sl-section-head p { max-width: 520px; margin: 0; color: var(--sl-muted); line-height: 1.7; }
.sl-current-grid,
.sl-plan-grid,
.sl-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sl-card {
  min-height: 260px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--sl-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--sl-shadow-soft);
}
.sl-card .sl-card-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--sl-pale);
  color: var(--sl-navy);
  font-size: 21px;
}
.sl-card .meta {
  margin: 24px 0 7px;
  color: var(--sl-blue-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.sl-card h3 {
  margin: 0;
  color: var(--sl-navy);
  font: 700 28px/1.1 var(--sl-display);
}
.sl-card p { margin: 10px 0 22px; color: var(--sl-muted); line-height: 1.6; }
.sl-card .card-link { margin-top: auto; color: var(--sl-navy); font-weight: 800; }
.sl-card .card-link::after { content: " →"; color: var(--sl-coral); }
.sl-plan-card {
  min-height: 330px;
  overflow: hidden;
  position: relative;
}
.sl-plan-card::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: var(--sl-pale);
}
.sl-plan-card:nth-child(2)::before { background: #e8f5e9; }
.sl-plan-card:nth-child(3)::before { background: #fff0ed; }
.sl-partner-strip {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 40px;
  align-items: center;
  padding: 52px;
  border-radius: 26px;
  background: var(--sl-navy);
  color: #fff;
}
.sl-partner-strip h2 { margin: 8px 0 12px; font: 650 42px/1 var(--sl-display); }
.sl-partner-strip p { margin: 0; color: #c8d9e7; line-height: 1.7; }
.sl-newsletter {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 15px;
  background: #fff;
}
.sl-newsletter input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0 12px;
  outline: 0;
}
.sl-newsletter button {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: var(--sl-coral);
  color: var(--sl-navy);
  font-weight: 800;
}
.sl-footer {
  padding: 46px 20px;
  border-top: 1px solid var(--sl-line);
  background: #fff;
}
.sl-footer-inner {
  width: min(100%, var(--sl-max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.sl-footer img { width: 190px; }
.sl-footer-links { display: flex; flex-wrap: wrap; gap: 22px; color: var(--sl-muted); font-size: 13px; }

/* Explore application */
.explore-page { background: #eef4f8; overflow: hidden; }
.explore-page .sl-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 500;
}
.sl-explore {
  position: fixed;
  inset: 82px 0 0;
  display: grid;
  grid-template-columns: minmax(370px, 430px) 1fr;
  overflow: hidden;
}
.sl-results-panel {
  z-index: 20;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid var(--sl-line);
  box-shadow: 10px 0 35px rgba(11,45,77,.09);
}
.sl-search-zone { padding: 18px 18px 0; }
.sl-search-box {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--sl-line);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--sl-shadow-soft);
}
.sl-search-box span { color: var(--sl-blue-dark); font-size: 18px; }
.sl-search-box input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--sl-ink);
}
.sl-search-clear { border: 0; background: transparent; color: var(--sl-muted); font-size: 18px; }
.sl-location-row {
  display: grid;
  grid-template-columns: 1fr 120px 44px;
  gap: 8px;
  margin-top: 10px;
}
.sl-location-field,
.sl-radius-field,
.sl-locate {
  min-height: 44px;
  border: 1px solid var(--sl-line);
  border-radius: 11px;
  background: #fff;
}
.sl-location-field {
  min-width: 0;
  padding: 0 12px;
}
.sl-location-field input {
  width: 100%;
  height: 42px;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
}
.sl-radius-field { padding: 0 7px; }
.sl-radius-field select { width: 100%; height: 42px; border: 0; outline: 0; background: transparent; font-size: 13px; }
.sl-locate { color: var(--sl-navy); font-size: 18px; }
.sl-privacy {
  display: block;
  margin: 8px 2px 0;
  color: var(--sl-muted);
  font-size: 11px;
  line-height: 1.35;
}
.sl-mode-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 14px;
}
.sl-mode-tab {
  min-width: 0;
  min-height: 68px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  border: 1px solid var(--sl-line);
  border-radius: 12px;
  background: #fff;
  color: #496075;
  font-size: 12px;
  font-weight: 800;
}
.sl-mode-tab span { font-size: 19px; }
.sl-mode-tab.active {
  border-color: var(--sl-blue-dark);
  background: var(--sl-navy);
  color: #fff;
  box-shadow: 0 8px 18px rgba(11,45,77,.2);
}
.sl-panel-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  padding: 18px 18px 12px;
}
.sl-panel-title h1 { margin: 0; color: var(--sl-navy); font: 700 27px/1 var(--sl-display); }
.sl-panel-title p { margin: 5px 0 0; color: var(--sl-muted); font-size: 12px; }
.sl-filter-button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--sl-line);
  border-radius: 10px;
  background: #fff;
  color: var(--sl-navy);
  font-size: 12px;
  font-weight: 800;
}
.sl-result-list {
  flex: 1;
  overflow: auto;
  padding: 0 18px 30px;
  scrollbar-width: thin;
}
.sl-result-card {
  position: relative;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 13px;
  min-height: 110px;
  margin-bottom: 10px;
  padding: 11px;
  border: 1px solid var(--sl-line);
  border-radius: 14px;
  background: #fff;
  cursor: default;
  transition: .16s ease;
}
.sl-result-card:hover,
.sl-result-card.active {
  border-color: rgba(77,190,198,.8);
  box-shadow: var(--sl-shadow-soft);
  transform: translateY(-1px);
}
.sl-result-visual {
  width: 86px;
  height: 86px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--sl-pale);
  color: var(--sl-navy);
  font: 700 25px/1 var(--sl-display);
}
.sl-result-visual img { width: 100%; height: 100%; object-fit: cover; }
.sl-result-copy { min-width: 0; padding-right: 27px; }
.sl-result-copy .tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--sl-blue-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.sl-result-copy .tag.sponsored { color: #c84d42; }
.sl-result-copy h2 {
  margin: 5px 0 4px;
  color: var(--sl-navy);
  font: 700 18px/1.05 var(--sl-display);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sl-result-copy p {
  margin: 0;
  overflow: hidden;
  color: var(--sl-muted);
  font-size: 11px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.sl-result-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 7px;
  color: var(--sl-muted);
  font-size: 10px;
  font-weight: 700;
}
.sl-save-card {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 31px;
  height: 31px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--sl-navy);
  font-size: 18px;
}
.sl-save-card.saved { background: #fff0ed; color: #d44e43; }
.sl-empty {
  margin: 18px 0;
  padding: 32px 24px;
  text-align: center;
  border: 1px dashed #b9c9d6;
  border-radius: 16px;
  background: var(--sl-pale);
}
.sl-empty strong { display: block; color: var(--sl-navy); font: 700 24px/1.1 var(--sl-display); }
.sl-empty p { margin: 9px 0 0; color: var(--sl-muted); font-size: 13px; line-height: 1.55; }

.sl-map-wrap { position: relative; z-index: 1; min-width: 0; background: var(--sl-pale); }
.sl-map {
  position: absolute;
  inset: 0;
  /* Real map tiles load over a neutral surface, never an unrelated landscape. */
  background: #e7edeb;
}
.sl-map.leaflet-container { font-family: var(--sl-ui); }
.sl-map-status {
  position: absolute;
  z-index: 5;
  top: 18px;
  left: 18px;
  max-width: 360px;
  padding: 12px 16px;
  border: 1px solid rgba(11,45,77,.12);
  border-radius: 13px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--sl-shadow-soft);
  color: var(--sl-muted);
  font-size: 12px;
}
.sl-map-status strong { color: var(--sl-navy); }
.sl-map-controls {
  position: absolute;
  z-index: 5;
  right: 20px;
  bottom: 22px;
  display: grid;
  gap: 7px;
}
.sl-map-controls button {
  width: 45px;
  height: 45px;
  border: 1px solid var(--sl-line);
  border-radius: 12px;
  background: #fff;
  color: var(--sl-navy);
  box-shadow: var(--sl-shadow-soft);
  font-size: 18px;
  font-weight: 800;
}
.sl-map-controls button.primary { background: var(--sl-navy); color: #fff; }
.sl-mobile-sheet-handle { display: none; }
.sl-mobile-nav { display: none; }

.sl-pin {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 10px;
  transform: rotate(-45deg);
  background: var(--sl-blue-dark);
  color: #fff;
  box-shadow: 0 6px 15px rgba(11,45,77,.28);
}
.sl-pin span { transform: rotate(45deg); font-size: 13px; font-weight: 900; }
.sl-pin.job { background: #7146be; }
.sl-pin.deal { background: #df5d4f; }
.sl-pin.event { background: #438b42; }
.sl-pin.selected { width: 45px; height: 45px; background: var(--sl-navy); }
.sl-origin {
  width: 29px;
  height: 29px;
  border: 6px solid #fff;
  border-radius: 50%;
  background: #1978eb;
  box-shadow: 0 0 0 2px #1978eb, 0 4px 14px rgba(0,0,0,.25);
}
.sl-cluster {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 4px solid rgba(255,255,255,.9);
  border-radius: 50%;
  background: var(--sl-navy);
  color: #fff;
  box-shadow: 0 5px 16px rgba(11,45,77,.25);
  font-weight: 900;
}
.sl-leaflet-icon { background: none !important; border: 0 !important; }
.sl-popup strong { display: block; color: var(--sl-navy); font: 700 19px/1.1 var(--sl-display); }
.sl-popup span { color: var(--sl-blue-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.sl-popup p { margin: 5px 0 0; color: var(--sl-muted); font-size: 11px; }

/* Drawers, detail and planner */
.sl-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: rgba(7,31,54,.43);
  backdrop-filter: blur(3px);
}
.sl-drawer {
  width: min(510px, 100%);
  height: 100%;
  overflow: auto;
  padding: 34px;
  background: #fff;
  box-shadow: -18px 0 50px rgba(7,31,54,.2);
}
.sl-drawer.wide { width: min(610px, 100%); }
.sl-close {
  float: right;
  width: 42px;
  height: 42px;
  border: 1px solid var(--sl-line);
  border-radius: 50%;
  background: #fff;
  color: var(--sl-navy);
  font-size: 21px;
}
.sl-detail-visual {
  height: 230px;
  margin: -34px -34px 26px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, var(--sl-pale), #cce7ef);
  color: var(--sl-navy);
  font: 700 62px/1 var(--sl-display);
}
.sl-detail-visual img { width: 100%; height: 100%; object-fit: cover; }
.sl-detail .sl-close { position: relative; z-index: 2; }
.sl-detail h2,
.sl-drawer > h2 {
  margin: 10px 0 10px;
  color: var(--sl-navy);
  font: 700 38px/1 var(--sl-display);
}
.sl-detail .description,
.sl-drawer > p { color: var(--sl-muted); line-height: 1.65; }
.sl-badges { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0; }
.sl-badge {
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--sl-pale);
  color: var(--sl-navy);
  font-size: 10px;
  font-weight: 800;
}
.sl-badge.sponsored { background: #fff0ed; color: #bb4036; }
.sl-facts {
  margin: 22px 0;
  border-top: 1px solid var(--sl-line);
}
.sl-fact {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--sl-line);
  font-size: 13px;
}
.sl-fact b { color: var(--sl-navy); }
.sl-fact span { color: var(--sl-muted); overflow-wrap: anywhere; }
.sl-detail-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.sl-detail-actions > * {
  min-height: 47px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sl-line);
  border-radius: 11px;
  background: #fff;
  color: var(--sl-navy);
  font-size: 13px;
  font-weight: 800;
}
.sl-detail-actions .primary { background: var(--sl-navy); border-color: var(--sl-navy); color: #fff; }
.sl-plan-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 22px 0; }
.sl-plan-type {
  min-height: 82px;
  padding: 10px;
  border: 1px solid var(--sl-line);
  border-radius: 12px;
  background: #fff;
  color: var(--sl-navy);
  font-size: 12px;
  font-weight: 800;
}
.sl-plan-type.active { border-color: var(--sl-blue); background: var(--sl-pale); box-shadow: inset 0 0 0 1px var(--sl-blue); }
.sl-plan-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sl-field { display: grid; gap: 6px; color: var(--sl-navy); font-size: 12px; font-weight: 800; }
.sl-field input,
.sl-field select {
  width: 100%;
  height: 46px;
  padding: 0 11px;
  border: 1px solid var(--sl-line);
  border-radius: 10px;
  background: #fff;
  color: var(--sl-ink);
}
.sl-planner-build { width: 100%; margin-top: 16px; border: 0; }
.sl-plan-output { margin-top: 24px; }
.sl-plan-stop {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--sl-line);
}
.sl-plan-stop > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sl-navy);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.sl-plan-stop strong { display: block; color: var(--sl-navy); font-size: 13px; }
.sl-plan-stop small { color: var(--sl-muted); font-size: 11px; }
.sl-plan-stop-actions { display: flex; gap: 4px; }
.sl-plan-stop-actions button {
  width: 29px;
  height: 29px;
  border: 1px solid var(--sl-line);
  border-radius: 8px;
  background: #fff;
  color: var(--sl-navy);
}
.sl-plan-summary {
  margin: 18px 0;
  padding: 16px;
  border-radius: 13px;
  background: var(--sl-pale);
}
.sl-plan-summary strong { color: var(--sl-navy); }
.sl-plan-summary p { margin: 5px 0 0; color: var(--sl-muted); font-size: 12px; line-height: 1.45; }
.sl-plan-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sl-plan-actions button,
.sl-plan-actions a {
  min-height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sl-line);
  border-radius: 10px;
  background: #fff;
  color: var(--sl-navy);
  font-size: 12px;
  font-weight: 800;
}
.sl-plan-actions .primary { background: var(--sl-navy); color: #fff; }
.sl-toast {
  position: fixed;
  z-index: 2000;
  left: 50%;
  bottom: 28px;
  max-width: calc(100% - 30px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--sl-navy-2);
  color: #fff;
  box-shadow: var(--sl-shadow);
  font-size: 13px;
  font-weight: 700;
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  transition: .22s ease;
}
.sl-toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Secondary pages */
.sl-page-hero {
  padding: 95px 20px 78px;
  text-align: center;
  background: linear-gradient(135deg, #fff, var(--sl-pale));
}
.sl-page-hero h1 {
  max-width: 800px;
  margin: 15px auto;
  color: var(--sl-navy);
  font: 650 clamp(50px, 7vw, 82px)/.95 var(--sl-display);
}
.sl-page-hero p { max-width: 720px; margin: 0 auto; color: var(--sl-muted); font-size: 18px; line-height: 1.65; }
.sl-guide-card .sl-guide-visual {
  height: 190px;
  margin: -26px -26px 23px;
  overflow: hidden;
  position: relative;
  border-radius: 20px 20px 0 0;
  background: var(--sl-pale) url("../images/coastal-compass-map-fallback.svg") center / cover;
}
.sl-guide-card:nth-child(2) .sl-guide-visual { background-position: 70% center; }
.sl-guide-card:nth-child(3) .sl-guide-visual { background-position: 20% center; }
.sl-guide-card .sl-guide-visual span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--sl-navy);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.sl-about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px;
}
.sl-about-card {
  padding: 36px;
  border: 1px solid var(--sl-line);
  border-radius: 22px;
  background: #fff;
}
.sl-about-card.dark { background: var(--sl-navy); color: #fff; }
.sl-about-card h2 { margin: 0 0 12px; font: 700 36px/1.05 var(--sl-display); }
.sl-about-card p { margin: 0; color: var(--sl-muted); line-height: 1.7; }
.sl-about-card.dark p { color: #c8d9e7; }
.sl-trust-list { display: grid; gap: 12px; margin-top: 24px; }
.sl-trust-item { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.sl-trust-item span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--sl-pale); color: var(--sl-navy); font-weight: 900; }
.sl-trust-item strong { display: block; color: var(--sl-navy); }
.sl-trust-item p { margin: 3px 0 0; font-size: 13px; }
.sl-saved-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sl-saved-card { min-height: 220px; }

@media (max-width: 960px) {
  .sl-header { height: 72px; }
  .sl-header-inner { width: calc(100% - 28px); grid-template-columns: 200px 1fr auto; }
  .sl-brand { width: 190px; }
  .sl-nav { display: none; }
  .sl-menu-button { display: grid; place-items: center; }
  .sl-header-actions .sl-saved span { display: none; }
  .sl-home-hero { grid-template-columns: 1fr; }
  .sl-home-copy { min-height: 520px; padding: 70px 26px 90px; text-align: center; align-items: center; }
  .sl-home-map { min-height: 520px; }
  .sl-shortcuts { margin-top: -34px; grid-template-columns: 1fr 1fr; }
  .sl-shortcut:nth-child(2) { border-right: 0; }
  .sl-shortcut:nth-child(-n+2) { border-bottom: 1px solid var(--sl-line); }
  .sl-current-grid, .sl-plan-grid, .sl-guide-grid, .sl-saved-grid { grid-template-columns: 1fr 1fr; }
  .sl-partner-strip, .sl-about-grid { grid-template-columns: 1fr; }

  .explore-page .sl-header { height: 72px; }
  .sl-explore { inset: 72px 0 68px; display: block; }
  .sl-map-wrap { position: absolute; inset: 0; }
  .sl-results-panel {
    position: absolute;
    z-index: 30;
    left: 10px;
    right: 10px;
    bottom: 8px;
    height: min(54vh, 500px);
    border: 1px solid var(--sl-line);
    border-radius: 19px;
    box-shadow: var(--sl-shadow);
    transition: height .25s ease;
  }
  .sl-results-panel.expanded { height: calc(100% - 14px); }
  .sl-results-panel.collapsed { height: 137px; }
  .sl-mobile-sheet-handle {
    display: block;
    width: 100%;
    height: 20px;
    border: 0;
    background: transparent;
  }
  .sl-mobile-sheet-handle::before {
    content: "";
    display: block;
    width: 44px;
    height: 5px;
    margin: 7px auto;
    border-radius: 9px;
    background: #9fb0bd;
  }
  .sl-search-zone { padding: 6px 12px 0; }
  .sl-search-box { height: 46px; }
  .sl-location-row { grid-template-columns: 1fr 105px 42px; }
  .sl-privacy { display: none; }
  .sl-mode-tabs { margin-top: 9px; }
  .sl-mode-tab { min-height: 52px; grid-template-columns: auto auto; gap: 5px; }
  .sl-mode-tab span { font-size: 15px; }
  .sl-panel-title { padding: 12px; }
  .sl-panel-title h1 { font-size: 23px; }
  .sl-result-list { padding: 0 12px 25px; }
  .sl-map-status { top: 12px; left: 12px; max-width: calc(100% - 90px); }
  .sl-map-controls { top: 12px; right: 12px; bottom: auto; }
  .sl-mobile-nav {
    position: fixed;
    z-index: 600;
    inset: auto 0 0;
    height: 68px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--sl-line);
    background: #fff;
  }
  .sl-mobile-nav a,
  .sl-mobile-nav button {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    border: 0;
    background: transparent;
    color: var(--sl-muted);
    font-size: 10px;
    font-weight: 800;
  }
  .sl-mobile-nav span { color: var(--sl-navy); font-size: 18px; }
  .sl-mobile-nav .active { color: var(--sl-blue-dark); }
}

@media (max-width: 680px) {
  .sl-header-inner { grid-template-columns: minmax(150px, 1fr) auto; gap: 10px; }
  .sl-brand { width: 176px; }
  .sl-header-actions { grid-column: 2; }
  .sl-home-copy h1 { font-size: 55px; }
  .sl-home-map { min-height: 480px; }
  .sl-map-search { left: 14px; right: 14px; top: 14px; }
  .sl-map-search button { min-width: 88px; }
  .sl-map-card { left: 14px; bottom: 14px; width: calc(100% - 28px); }
  .sl-shortcuts { width: calc(100% - 24px); grid-template-columns: 1fr 1fr; }
  .sl-shortcut { min-height: 100px; padding: 16px 12px; grid-template-columns: 40px 1fr; gap: 10px; }
  .sl-shortcut-icon { width: 40px; height: 40px; }
  .sl-shortcut small { font-size: 10px; }
  .sl-section { padding: 72px 16px; }
  .sl-section-head { align-items: start; flex-direction: column; }
  .sl-current-grid, .sl-plan-grid, .sl-guide-grid, .sl-saved-grid { grid-template-columns: 1fr; }
  .sl-partner-strip { padding: 32px 22px; }
  .sl-newsletter { flex-direction: column; }
  .sl-newsletter input { min-height: 44px; }
  .sl-footer-inner { align-items: flex-start; flex-direction: column; }
  .sl-footer-links { gap: 14px; }

  .explore-page .sl-header-actions .sl-saved,
  .sl-header-actions .sl-saved { display: none; }
  .sl-account-dropdown {
    position: fixed;
    top: 76px;
    left: 14px;
    right: 14px;
    width: auto;
  }
  .sl-account-dropdown::before { right: 63px; }
  .sl-location-row { grid-template-columns: 1fr 92px 42px; }
  .sl-location-field input { font-size: 11px; }
  .sl-radius-field select { font-size: 11px; }
  .sl-mode-tab { grid-template-columns: 1fr; gap: 2px; font-size: 10px; }
  .sl-panel-title p { display: none; }
  .sl-result-card { grid-template-columns: 76px 1fr; min-height: 98px; }
  .sl-result-visual { width: 76px; height: 76px; }
  .sl-map-status { font-size: 10px; }
  .sl-drawer { padding: 24px; }
  .sl-detail-visual { margin: -24px -24px 22px; }
  .sl-detail h2, .sl-drawer > h2 { font-size: 34px; }
  .sl-plan-types { grid-template-columns: 1fr 1fr; }
  .sl-plan-form { grid-template-columns: 1fr; }
  .sl-plan-actions { grid-template-columns: 1fr; }
  .sl-page-hero { padding: 70px 18px 60px; }
  .sl-about-card { padding: 26px; }
}

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