:root {
  /* Brand colors sampled from app icon (assets/img/brand-mark.png) */
  --brand-violet: #8735b5;
  --brand-cyan: #2888a1;
  --brand-blue: #3d75a6;
  --brand-teal: #08b69b;

  /* Semantic UI tokens */
  --primary: var(--brand-cyan);
  --primary-2: var(--brand-teal);
  --primary-dark: #1f6f86;
  --ink: #0f1b22;
  --muted: #526773;
  --paper: #fbfdff;
  --white: #ffffff;
  --sand: #eef7ff;
  --line: rgba(15, 27, 34, 0.12);
  --shadow: 0 18px 45px rgba(15, 27, 34, 0.14);
  --radius: 22px;

  /* Aliases (keep existing component styles working) */
  --blue: var(--primary);
  --blue-dark: #072335;
  --blue-soft: #e7fbf8;
  --coral: var(--brand-violet);
  --coral-dark: #6e2e94;

  /* Gradients & focus */
  --brand-gradient: linear-gradient(135deg, var(--brand-violet), var(--brand-teal));
  --primary-gradient: linear-gradient(135deg, var(--primary), var(--primary-2));
  --focus-ring: 0 0 0 4px rgba(40, 136, 161, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Accessible focus styles */
:where(a, button, summary, [role="button"], input, select, textarea):focus { outline: none; }
:where(a, button, summary, [role="button"], input, select, textarea):focus-visible {
  box-shadow: var(--focus-ring);
  border-radius: 14px;
}

img, svg { max-width: 100%; }
a { color: inherit; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 12px;
  border-radius: 999px;
  z-index: 999;
}
.skip-link:focus { left: 12px; }

h1, h2, h3 { margin: 0 0 0.55rem; line-height: 1.08; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.35rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.7rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p { margin: 0 0 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 253, 255, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.site-header::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--primary-gradient);
  opacity: 0.9;
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(40, 136, 161, 0.22);
}
.brand small { display: block; color: var(--muted); font-size: 0.82rem; }
.nav--desktop { display: none; align-items: center; gap: 18px; }
.nav a, .nav-mobile a { text-decoration: none; font-weight: 750; color: var(--blue-dark); }
.nav-mobile { position: relative; }
/* Only the hamburger trigger — not nested summaries (e.g. language switcher). */
.nav-mobile > summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 800;
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile nav {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(86vw, 340px);
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.nav-mobile:not([open]) nav { display: none; }
.nav-mobile a { padding: 10px 12px; border-radius: 12px; }
.nav-mobile a:hover { background: var(--blue-soft); }
.language-switcher { position: relative; }
.language-switcher summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--blue-dark);
  font-weight: 850;
}
.language-switcher summary::-webkit-details-marker { display: none; }
.language-chevron {
  width: 8px;
  height: 8px;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.7;
}
.language-switcher[open] .language-chevron { transform: rotate(225deg) translateY(-1px); }
.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 178px;
  display: grid;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.language-switcher:not([open]) .language-menu { display: none; }
.language-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 12px;
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: 800;
}
.language-menu a:hover { background: var(--blue-soft); }
.language-menu a.is-active {
  background: var(--blue);
  color: var(--white);
}
.nav-mobile .language-switcher { padding: 6px 0; }
.nav-mobile .language-menu {
  position: static;
  margin-top: 8px;
  box-shadow: none;
}
.language-flag {
  display: inline-block;
  min-width: 1.25em;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", system-ui, sans-serif;
}
.mobile-menu-head { display: none; }

.btn, .store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
}
.btn-primary {
  background: var(--primary-gradient);
  color: var(--white) !important;
  padding: 12px 18px;
  box-shadow: 0 12px 24px rgba(40, 136, 161, 0.22);
}
.btn-primary:hover {
  filter: saturate(1.08) brightness(1.02);
}
.btn-primary:active { transform: translateY(1px); }
.btn-small { min-height: 40px; padding: 9px 14px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.25rem, 7vw, 5.6rem) 0;
  background: transparent;
}
.hero-grid, .split {
  display: grid;
  gap: 28px;
  align-items: center;
}
.hero h1 {
  max-width: 720px;
  font-size: clamp(2.65rem, 5.4vw, 4.55rem);
  line-height: 0.98;
}
.hero .download-buttons,
.page-hero .download-buttons,
.section--blue .download-buttons,
.app-cta .download-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin: 1.55rem 0 1.05rem;
  align-items: stretch;
  background: transparent;
  box-shadow: none;
}
.hero .store-button,
.page-hero .store-button,
.section--blue .store-button,
.app-cta .store-button {
  width: 100%;
  min-width: 0;
  align-items: center;
  text-align: center;
  background-clip: padding-box;
}
.hero .store-button span,
.page-hero .store-button span,
.section--blue .store-button span,
.app-cta .store-button span {
  font-size: clamp(0.88rem, 1.08vw, 1rem);
  line-height: 1;
}
.hero .store-button strong,
.page-hero .store-button strong,
.section--blue .store-button strong,
.app-cta .store-button strong {
  font-size: clamp(1.28rem, 1.68vw, 1.52rem);
  line-height: 1;
}
.hero-subline, .page-hero p, .section-head p {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 720px;
}
.eyebrow {
  margin-bottom: 0.7rem;
  color: var(--brand-violet);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow--light { color: rgba(255, 255, 255, 0.9); }
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.3rem 0;
}
.store-button {
  min-width: 184px;
  min-height: 58px;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), #0b3b52);
  box-shadow: 0 12px 28px rgba(15, 27, 34, 0.18);
}
.store-button span { font-size: 0.74rem; opacity: 0.82; }
.store-button strong { font-size: 1.08rem; line-height: 1.05; }
.store-button.store-button--ios {
  border: none;
  background: var(--brand-gradient);
  box-shadow: 0 14px 30px rgba(40, 136, 161, 0.22);
}
.store-button--dark {
  background: var(--primary-gradient);
  box-shadow: 0 14px 30px rgba(8, 182, 155, 0.18);
}
.store-button--web {
  /* Like iOS, but teal → violet (top-left → bottom-right) */
  background: linear-gradient(to bottom right, var(--brand-teal), var(--brand-violet));
  box-shadow: 0 14px 30px rgba(8, 182, 155, 0.16);
}

.store-button:hover { filter: saturate(1.04) brightness(1.03); transform: translateY(-1px); transition: transform 160ms ease, filter 160ms ease; }
.store-button:active { transform: translateY(0px); }
.chip-row, .pill-grid, .phone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip-row a, .chip-row span, .pill, .phone-tags span {
  padding: 9px 13px;
  border: 1px solid rgba(40, 136, 161, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}
.hero-card { display: grid; place-items: center; position: relative; }
.hero-card::before {
  content: "";
  position: absolute;
  width: min(86%, 430px);
  height: 56%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(135, 53, 181, 0.22), rgba(40, 136, 161, 0.12), transparent 70%);
  filter: blur(10px);
}
.phone-card {
  width: min(100%, 360px);
  min-height: 480px;
  padding: 52px 24px 24px;
  border: 10px solid #102838;
  border-radius: 42px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(2, 48, 71, 0.25), rgba(2, 48, 71, 0.92)),
    var(--brand-gradient);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.phone-card .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}
.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 96px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #102838;
}
.mini-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.mini-list a {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
  text-decoration: none;
  font-weight: 850;
}

.page-hero {
  padding: clamp(3rem, 8vw, 6rem) 0;
  background:
    radial-gradient(circle at right top, rgba(135, 53, 181, 0.18), transparent 25rem),
    linear-gradient(180deg, rgba(40, 136, 161, 0.10), var(--paper));
}
.page-hero--app, .page-hero--deal {
  /* Default: colorful brand hero (like the old screenshot 2) */
  background-color: var(--blue-dark);
  background:
    radial-gradient(circle at 18% 20%, rgba(135, 53, 181, 0.42), transparent 40rem),
    radial-gradient(circle at 82% 18%, rgba(8, 182, 155, 0.40), transparent 44rem),
    linear-gradient(to bottom right, rgba(135, 53, 181, 0.92), rgba(8, 182, 155, 0.90));
  color: var(--white);
}
.page-hero--app p, .page-hero--deal p { color: rgba(255, 255, 255, 0.82); }

/* Download + app / iOS / Android marketing: darker hero (readable breadcrumbs, matches /download/) */
body.page-download .page-hero--app,
body.page-app-marketing .page-hero--app {
  background-color: var(--blue-dark);
  background:
    radial-gradient(circle at 12% 0%, rgba(8, 182, 155, 0.22), transparent 42rem),
    radial-gradient(circle at 78% 10%, rgba(135, 53, 181, 0.18), transparent 46rem),
    linear-gradient(135deg, var(--blue-dark), #09344a);
}
body.page-download .page-hero--app .breadcrumbs,
body.page-app-marketing .page-hero--app .breadcrumbs {
  color: rgba(255, 255, 255, 0.78);
}
body.page-download .page-hero--app .breadcrumbs a,
body.page-app-marketing .page-hero--app .breadcrumbs a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}
body.page-download .page-hero--app .breadcrumbs a:hover,
body.page-app-marketing .page-hero--app .breadcrumbs a:hover {
  border-bottom-color: #fff;
}
.page-hero--beach { background: linear-gradient(135deg, #dff6ff, #fff2d9); }
.page-hero--cities {
  padding: clamp(2.4rem, 5vw, 4.2rem) 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(135, 53, 181, 0.16), transparent 22rem),
    radial-gradient(circle at 88% 10%, rgba(8, 182, 155, 0.14), transparent 26rem),
    linear-gradient(180deg, rgba(40, 136, 161, 0.08), var(--paper));
}
.page-hero--beaches-index,
.page-hero--venues-index {
  padding: clamp(2.4rem, 5vw, 4.2rem) 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(40, 136, 161, 0.14), transparent 22rem),
    radial-gradient(circle at 88% 10%, rgba(8, 182, 155, 0.12), transparent 26rem),
    linear-gradient(180deg, rgba(255, 242, 217, 0.45), var(--paper));
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.breadcrumbs a { color: inherit; text-decoration: none; }

.section { padding: clamp(2.4rem, 5.8vw, 4.4rem) 0; }
.section--sand {
  background:
    radial-gradient(circle at left top, rgba(8, 182, 155, 0.12), transparent 34rem),
    radial-gradient(circle at right top, rgba(135, 53, 181, 0.10), transparent 34rem),
    linear-gradient(180deg, var(--sand), var(--paper));
}
.section--blue {
  background:
    radial-gradient(circle at 12% 0%, rgba(8, 182, 155, 0.22), transparent 42rem),
    radial-gradient(circle at 78% 10%, rgba(135, 53, 181, 0.18), transparent 46rem),
    linear-gradient(135deg, var(--blue-dark), #09344a);
  color: var(--white);
}
.section--blue p { color: rgba(255, 255, 255, 0.8); }
.section--blue .app-panel { color: var(--ink); }
.section--blue .app-panel p { color: var(--muted); }
.section--blue .app-panel li { color: var(--ink); }
.section--related { padding-top: 1.5rem; }
.section-head { margin-bottom: 1.05rem; }
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}
.text-link {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
}
.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.card-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 16px;
  padding: 4px 16px 14px;
  -webkit-overflow-scrolling: touch;
}
.card-grid::-webkit-scrollbar { height: 6px; }
.card-grid::-webkit-scrollbar-track { background: transparent; }
.card-grid::-webkit-scrollbar-thumb {
  background: rgba(2, 48, 71, 0.16);
  border-radius: 999px;
}
.card-grid {
  scrollbar-width: thin;
  scrollbar-color: rgba(2, 48, 71, 0.16) transparent;
}
.feature-card, .card, .app-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 30px rgba(2, 48, 71, 0.08);
}
.feature-card { padding: 24px; }
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 14px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}
.card-link {
  display: block;
  min-height: 100%;
  padding: 20px;
  text-decoration: none;
}
.card-link--thumb {
  padding: 0;
}
.card-link--thumb .card-link__body {
  padding: 20px;
}
.card--city-thumb {
  overflow: hidden;
}
.card-thumb {
  height: 118px;
  margin: 0;
  overflow: hidden;
}
.card-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.card {
  flex: 0 0 clamp(260px, 30vw, 335px);
  scroll-snap-align: start;
}
.card:hover { transform: translateY(-2px); transition: transform 180ms ease; }
.card-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--brand-violet);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.card p {
  color: var(--muted);
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.1em;
}
.card-cta {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 900;
}
.card--empty { padding: 24px; }
.app-panel {
  padding: 28px;
  color: var(--ink);
}
.section--blue .app-panel {
  background:
    radial-gradient(circle at 0% 0%, rgba(40, 136, 161, 0.10), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.82));
  border: 1px solid rgba(40, 136, 161, 0.18);
  box-shadow: 0 18px 45px rgba(15, 27, 34, 0.18);
}
.check-list { margin: 1rem 0 0; padding-left: 1.2rem; }

.prose {
  max-width: 820px;
}
.prose .lead {
  font-size: 1.08rem;
  line-height: 1.55;
  margin: 0 0 1.75rem;
  color: var(--blue-dark);
}
.prose .prose-note {
  margin: -0.5rem 0 1.25rem;
  padding: 12px 14px;
  border-left: 3px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: rgba(40, 136, 161, 0.08);
  font-size: 0.95rem;
  color: var(--blue-dark);
}
.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul {
  margin: 0.5rem 0 1.25rem;
  padding-left: 1.35rem;
}
.prose li { margin: 0.35rem 0; }
.prose a { color: var(--blue); font-weight: 800; }

.attribution-table-wrap {
  max-width: 100%;
  overflow: auto;
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.attribution-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.attribution-table th,
.attribution-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.attribution-table thead th {
  font-weight: 900;
  background: var(--blue-soft);
  color: var(--blue-dark);
}
.attribution-table tbody tr:last-child td {
  border-bottom: 0;
}
.attribution-table code.attribution-source {
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(40, 136, 161, 0.1);
  padding: 2px 6px;
  border-radius: 6px;
}
.attribution-table__links {
  white-space: normal;
  word-break: break-word;
}
.faq details {
  margin-top: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.faq summary { cursor: pointer; font-weight: 900; }

.app-cta {
  padding: 34px 0;
  color: var(--white);
  /* Make the lower CTA block match the dark CI look (photo 1) */
  background:
    radial-gradient(circle at 12% 0%, rgba(8, 182, 155, 0.22), transparent 42rem),
    radial-gradient(circle at 78% 10%, rgba(135, 53, 181, 0.18), transparent 46rem),
    linear-gradient(135deg, var(--blue-dark), #09344a);
}
.app-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.app-cta p { color: rgba(255, 255, 255, 0.86); }

.site-footer {
  padding: 38px 0 20px;
  color: rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 18% 10%, rgba(8, 182, 155, 0.14), transparent 32rem),
    radial-gradient(circle at 82% 0%, rgba(135, 53, 181, 0.12), transparent 30rem),
    linear-gradient(180deg, #071923, #040a10);
}
.footer-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.footer-grid a {
  display: block;
  margin: 8px 0;
  color: inherit;
  text-decoration: none;
}
.brand--footer { color: var(--white); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom .footer-partner-link {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 500;
}

.footer-bottom .footer-partner-link:hover {
  text-decoration: underline;
}

@media (min-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1.06fr) minmax(310px, 0.74fr); }
  .split { grid-template-columns: 1.1fr 0.9fr; }
  .nav--desktop { display: flex; }
  .nav-mobile { display: none; }
}

@media (max-width: 759px) {
  body:has(.nav-mobile[open]) { overflow: hidden; }
  .nav-mobile[open] > summary {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 101;
    width: 46px;
    height: 46px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(2, 48, 71, 0.12);
  }
  .nav-mobile[open] > summary::before,
  .nav-mobile[open] > summary::after {
    content: "";
    position: absolute;
    left: 13px;
    top: 22px;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--blue-dark);
  }
  .nav-mobile[open] > summary::before { transform: rotate(45deg); }
  .nav-mobile[open] > summary::after { transform: rotate(-45deg); }
  .nav-mobile nav {
    position: fixed;
    inset: 0;
    z-index: 100;
    width: 100vw;
    height: 100dvh;
    overflow-y: auto;
    align-content: start;
    gap: 0;
    padding: 18px 22px 24px;
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at top left, rgba(135, 53, 181, 0.12), transparent 18rem),
      var(--paper);
    box-shadow: none;
  }
  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding-right: 58px;
  }
  .mobile-menu-close {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--blue-dark);
    font-size: 2rem;
    line-height: 1;
    opacity: 0;
  }
  .nav-mobile a {
    padding: 8px 14px;
    font-size: 1.06rem;
  }
  .nav-mobile .btn-primary {
    width: 100%;
    margin: 8px 0 4px;
    color: var(--white) !important;
  }
  .nav-mobile .language-switcher {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding-top: 0;
    border-top: 0;
  }
  .nav-mobile .language-switcher summary {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    color: var(--blue-dark);
    font-weight: 850;
    position: relative;
    overflow: visible;
  }
  .nav-mobile .language-switcher .language-chevron {
    margin-left: auto;
    flex-shrink: 0;
  }
  .nav-mobile .language-menu {
    width: 100%;
    margin-top: 6px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    gap: 6px;
  }
  .nav-mobile .language-menu a {
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.62);
  }
  .nav-mobile .language-menu a.is-active {
    background: var(--blue);
    color: var(--white);
  }
  .download-buttons { flex-direction: column; }
  .store-button { width: 100%; }
  .hero .download-buttons,
  .page-hero .download-buttons,
  .section--blue .download-buttons,
  .app-cta .download-buttons {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 0;
    background: transparent;
    box-shadow: none;
    scrollbar-width: none;
  }
  .hero .download-buttons::-webkit-scrollbar,
  .page-hero .download-buttons::-webkit-scrollbar,
  .section--blue .download-buttons::-webkit-scrollbar,
  .app-cta .download-buttons::-webkit-scrollbar { display: none; }
  .hero .store-button,
  .page-hero .store-button,
  .section--blue .store-button,
  .app-cta .store-button {
    display: flex;
    width: auto;
    min-width: 0;
    max-width: 100%;
    min-height: 42px;
    padding: 7px 7px;
    border-radius: 18px;
    box-shadow: 0 8px 18px rgba(2, 48, 71, 0.18);
  }
  .hero .store-button span,
  .page-hero .store-button span,
  .section--blue .store-button span,
  .app-cta .store-button span {
    font-size: clamp(0.62rem, 2.15vw, 0.78rem);
    line-height: 1.05;
    white-space: nowrap;
  }
  .hero .store-button strong,
  .page-hero .store-button strong,
  .section--blue .store-button strong,
  .app-cta .store-button strong {
    font-size: clamp(0.9rem, 3vw, 1.08rem);
    line-height: 1.05;
    white-space: nowrap;
  }
  .chip-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip-row a,
  .chip-row span {
    display: flex;
    justify-content: center;
    min-width: 0;
    padding: 8px 6px;
    font-size: clamp(0.76rem, 3.1vw, 0.94rem);
    white-space: nowrap;
  }
  .section-head--row { display: block; }
  .section-head--row .text-link { display: inline-flex; margin-top: 0.45rem; }
  .hero { padding-top: 2.6rem; }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 9.8vw, 3.05rem);
    overflow-wrap: normal;
  }
  .phone-card { min-height: 420px; }
  .card-grid {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    scroll-padding-left: 16px;
  }
  .card {
    flex-basis: 84%;
    max-width: 84%;
  }
  .card-grid::-webkit-scrollbar { display: none; }
  .card-grid { scrollbar-width: none; }
}

/* ============================================================
   City pages — programmatic SEO system
   Matches home page tokens: var(--paper), var(--sand), var(--blue),
   var(--brand-violet), var(--shadow), var(--radius), var(--line).
   ============================================================ */

.city-page { position: relative; }
.city-body { background: var(--paper); }

/* ---------- HERO ------------------------------------------------ */
.city-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding: clamp(2.6rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5.4rem);
  background: var(--city-hero-bg, linear-gradient(135deg, #08313d 0%, #2888a1 45%, #08b69b 100%));
  overflow: hidden;
}
.city-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,16,21,0) 55%, rgba(7,16,21,0.22) 100%);
  pointer-events: none;
  z-index: 0;
}
.city-hero-glow {
  position: absolute;
  top: -120px;
  left: -100px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.20), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: 0;
}
.city-hero-glow--alt {
  top: auto;
  left: auto;
  right: -160px;
  bottom: -180px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.14), transparent 70%);
}
.city-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.city-hero-copy { max-width: 720px; }
.city-hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6.5vw, 4.6rem);
  line-height: 0.98;
  margin: 0.2rem 0 0.4rem;
}
.city-hero-lede {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  color: rgba(255,255,255,0.92);
  max-width: 640px;
  line-height: 1.55;
  margin: 0.4rem 0 1.2rem;
}
.city-hero .breadcrumbs {
  color: rgba(255,255,255,0.78);
  margin-bottom: 14px;
}
.city-hero .breadcrumbs a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.32);
}
.city-hero .breadcrumbs a:hover { border-bottom-color: #fff; }

.eyebrow--light {
  color: rgba(255,255,255,0.86);
  letter-spacing: 0.14em;
}

.city-hero-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1.4rem;
  padding: 0;
}
.city-hero-tags li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 750;
  color: #fff;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.city-hero-tag-icon { font-size: 1rem; line-height: 1; }

.city-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0.4rem;
}
.btn-ghost--light {
  background: rgba(255,255,255,0.10);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.34);
  padding: 12px 18px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost--light:hover { background: rgba(255,255,255,0.20); }

/* Hero info card (right column) */
.city-hero-card {
  position: relative;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: 24px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  box-shadow: 0 24px 60px rgba(2,12,18,0.35);
  z-index: 1;
}
.city-card-kicker {
  margin: 0 0 0.35rem;
  color: rgba(255,255,255,0.78);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.city-card-title {
  margin: 0 0 1.1rem;
  font-size: 1.15rem;
  font-weight: 850;
  color: #fff;
  line-height: 1.25;
}
.city-card-title span { color: rgba(255,255,255,0.65); font-weight: 600; }
.city-card-region { color: rgba(255,255,255,0.85) !important; font-weight: 800 !important; }

.city-card-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.city-card-fact dt {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-bottom: 3px;
}
.city-card-fact dd {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}
.city-card-fact dd small {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}
.city-card-fact a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.45);
}
.city-card-fact a:hover { border-bottom-color: #fff; }

.city-card-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}
.city-card-pill--coast { background: rgba(8,182,155,0.30); border-color: rgba(8,182,155,0.45); }
.city-card-pill--soft { background: rgba(255,255,255,0.10); }

/* Sticky CTA — mobile only */
.city-sticky-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 60;
}
.city-sticky-cta .btn {
  width: 100%;
  box-shadow: 0 14px 32px rgba(15,27,34,0.32);
}
@media (max-width: 720px) {
  .city-sticky-cta { display: block; }
  body { padding-bottom: 78px; }
}

/* ---------- OVERVIEW ------------------------------------------- */
.section--soft {
  background:
    radial-gradient(circle at 0% 0%, rgba(40,136,161,0.08), transparent 30rem),
    linear-gradient(180deg, var(--paper), var(--sand));
}
.section--dark {
  background:
    radial-gradient(circle at 12% 0%, rgba(8,182,155,0.20), transparent 40rem),
    radial-gradient(circle at 78% 10%, rgba(135,53,181,0.18), transparent 44rem),
    linear-gradient(135deg, var(--blue-dark), #09344a);
  color: #fff;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.85); }
.section--dark .card {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.14);
}
.section--dark .card h3 { color: #fff; }
.section--dark .card p { color: rgba(255,255,255,0.82); }
.section--dark .card-cta { color: var(--brand-teal); }

.city-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.city-overview-text h2 { margin-top: 0.15rem; }
.city-overview-lede {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--ink);
  line-height: 1.55;
}
.city-overview-body { color: var(--muted); line-height: 1.6; }
.city-overview-side {
  padding: 22px 22px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(2,48,71,0.06);
}
.city-overview-side .eyebrow { margin-bottom: 0.7rem; }

.city-bestfor {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.city-bestfor-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--sand);
  border: 1px solid var(--line);
  font-weight: 800;
  color: var(--ink);
  font-size: 0.95rem;
}
.city-bestfor-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--white);
  font-size: 0.95rem;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .city-overview { grid-template-columns: 1fr; }
  .city-bestfor { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- HIGHLIGHTS ----------------------------------------- */
.city-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
}
.city-highlight-card {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.city-highlight-icon {
  width: 44px;
  height: 44px;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin: 0;
  background: linear-gradient(135deg, var(--brand-violet), var(--brand-teal));
}
.city-highlight-card h3 {
  font-size: 1.08rem;
  line-height: 1.3;
  margin: 0;
}

/* ---------- THINGS TO DO --------------------------------------- */
.city-day {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.city-day-card {
  position: relative;
  padding: 22px;
  overflow: hidden;
}
.city-day-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0) 60%, rgba(40,136,161,0.06) 100%);
  pointer-events: none;
}
.city-day-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 14px;
  font-size: 1.4rem;
  background: var(--sand);
  position: relative;
  z-index: 1;
}
.city-day-card--morning .city-day-icon { background: linear-gradient(135deg, #ffdcb0, #ffae64); }
.city-day-card--afternoon .city-day-icon { background: linear-gradient(135deg, #ffe28a, #ffb347); }
.city-day-card--evening .city-day-icon { background: linear-gradient(135deg, #ffb8c1, #b06ab3); }
.city-day-card--night .city-day-icon { background: linear-gradient(135deg, #243763, #6e2e94); color: #fff; }
.city-day-card .card-kicker { margin-bottom: 8px; }
.city-day-body {
  margin: 0;
  color: var(--ink);
  line-height: 1.55;
  font-size: 0.97rem;
  position: relative;
  z-index: 1;
}

/* ---------- TRANSPORT ------------------------------------------ */
.city-transport {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.city-transport-card { padding: 22px; }
.city-transport-icon {
  font-size: 1.35rem;
  background: var(--sand);
}
.city-transport-card h3 {
  font-size: 1.05rem;
  margin: 0 0 6px;
}
.city-transport-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

/* ---------- NEARBY CITIES (card grid) -------------------------- */
.city-nearby {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.city-nearby-card { padding: 0; }
.city-nearby-link {
  display: block;
  padding: 20px 20px 18px;
  text-decoration: none;
  color: var(--ink);
  height: 100%;
}
.city-nearby-link .card-kicker { margin-bottom: 10px; }
.city-nearby-link h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  color: var(--ink);
}
.city-nearby-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}
.city-nearby-meta .city-card-pill {
  background: var(--sand);
  color: var(--ink);
  border: 1px solid var(--line);
}
.city-nearby-meta .city-card-pill--coast {
  background: rgba(8,182,155,0.16);
  border-color: rgba(8,182,155,0.32);
  color: var(--primary-dark);
}
.city-nearby-meta .city-card-pill--soft {
  background: rgba(135,53,181,0.10);
  border-color: rgba(135,53,181,0.22);
  color: var(--coral-dark, #6e2e94);
}
.city-nearby-card:hover { transform: translateY(-2px); transition: transform 180ms ease; }
.city-nearby-card .card-cta { display: inline-flex; color: var(--blue); font-weight: 900; }

.city-districts {
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.6);
}
.city-districts summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--ink);
  list-style: none;
}
.city-districts summary::-webkit-details-marker { display: none; }
.city-districts summary::after {
  content: "▾";
  margin-left: 8px;
  color: var(--muted);
}
.city-districts[open] summary::after { content: "▴"; }
.city-districts .chip-row { margin-top: 12px; }

/* ---------- APP CTA -------------------------------------------- */
.city-app-cta {
  padding: clamp(2.8rem, 5.6vw, 4.4rem) 0;
  background:
    radial-gradient(circle at 12% 0%, rgba(8,182,155,0.22), transparent 42rem),
    radial-gradient(circle at 78% 10%, rgba(135,53,181,0.20), transparent 46rem),
    linear-gradient(135deg, var(--blue-dark), #09344a);
  color: #fff;
  margin-bottom: 0;
}
.city-app-cta h2 {
  color: #fff;
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  margin: 0.25rem 0 0.55rem;
  max-width: 720px;
}
.city-app-cta-lede {
  color: rgba(255,255,255,0.86);
  max-width: 640px;
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  margin: 0 0 1.35rem;
}
.city-app-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.city-app-cta .download-buttons,
.download-buttons--app-cta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 720px;
  margin: 0.4rem 0 0;
}
.city-app-cta .store-button {
  width: 100%;
  min-width: 0;
  text-align: center;
}
@media (max-width: 640px) {
  .city-app-cta .download-buttons,
  .download-buttons--app-cta {
    grid-template-columns: 1fr;
  }
}

/* ---------- SECTION HEAD ROW UTILITIES ------------------------- */
.section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.text-link--light { color: rgba(255,255,255,0.92); }
.text-link--light:hover { color: #fff; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- RESPONSIVE LAYOUT ---------------------------------- */
@media (min-width: 860px) {
  .city-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  }
}
@media (max-width: 860px) {
  .city-hero {
    padding: clamp(2.2rem, 7vw, 3.4rem) 0 clamp(2.4rem, 7vw, 3.6rem);
  }
  .city-hero-card {
    order: 2;
  }
  .city-card-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .city-card-facts { grid-template-columns: 1fr; }
  .city-bestfor { grid-template-columns: 1fr; }
  .city-hero-actions .btn { width: 100%; }
}

/* ---------- FAQ styling override -------------------------------- */
.faq details {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(2,48,71,0.05);
}
.faq summary {
  cursor: pointer;
  font-weight: 850;
  color: var(--ink);
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--blue);
  transition: transform 180ms ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); line-height: 1.6; }

/* ============================================================
   Beach page deltas (extends city-page styles)
   ============================================================ */
.beach-hero h1 { letter-spacing: -0.005em; }
.beach-water-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.55);
  vertical-align: -2px;
  margin-right: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.beach-water-swatch--inline {
  width: 10px;
  height: 10px;
  border-width: 1.5px;
  margin-right: 4px;
  vertical-align: -1px;
}

.beach-card-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.beach-practical { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.beach-practical-card { padding: 22px; }
.beach-practical-card .feature-icon { font-size: 1.4rem; background: var(--sand); }
.beach-amenities-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 0.95rem;
  color: var(--muted);
}
.beach-amenities-list li::before {
  content: "✓";
  display: inline-block;
  margin-right: 8px;
  color: var(--brand-teal);
  font-weight: 900;
}

.beach-sunset {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.beach-sunset-meter {
  padding: 22px 22px 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,210,140,0.18), rgba(255,90,90,0.10));
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(2,48,71,0.06);
}
.beach-sunset-rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 0;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
}
.beach-sunset-rating--excellent { background: linear-gradient(135deg, #ffe7c2, #ffb47a); color: #8a3915; border-color: rgba(255,120,80,0.4); }
.beach-sunset-rating--good { background: rgba(255,200,140,0.5); color: #6f3a16; }
.beach-sunset-rating--ok { background: var(--sand); color: var(--ink); }
.beach-sunset-rating--poor { background: rgba(31,74,138,0.12); color: var(--blue-dark); }

@media (max-width: 860px) {
  .beach-sunset { grid-template-columns: 1fr; }
}

/* ---------- Cities explorer (/cities/) ---------------------------------- */
.cities-explorer {
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
  margin-top: -0.5rem;
  /* Fixed card height → viewport shows exactly 4 cards (2×2); inner area scrolls */
  --ce-card-h: 268px;
  --ce-grid-gap: 12px;
  /* Extra space below the card grid inside the panel (breathing room + rounded bottom visible) */
  --ce-scroll-extra: clamp(16px, 2.2vw, 24px);
}
.cities-explorer__shell {
  width: min(1280px, calc(100% - 32px));
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
  align-items: stretch;
}
@media (min-width: 1024px) {
  .cities-explorer__shell {
    grid-template-columns: minmax(340px, 1fr) minmax(420px, 1.05fr);
  }
}
.cities-explorer__panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(251, 253, 255, 0.88));
  box-shadow:
    0 24px 60px rgba(15, 27, 34, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  overflow: hidden;
  /* Ensure bottom corners match top (clip children to radius) */
  isolation: isolate;
}
.cities-explorer__toolbar {
  padding: clamp(16px, 2.2vw, 22px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(231, 251, 248, 0.55), transparent);
}
.ce-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 4px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(15, 27, 34, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ce-search:focus-within {
  border-color: rgba(40, 136, 161, 0.45);
  box-shadow: 0 0 0 4px rgba(40, 136, 161, 0.12);
}
.ce-search__icon {
  flex-shrink: 0;
  color: var(--muted);
  opacity: 0.85;
}
.ce-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 650;
  padding: 12px 14px 12px 4px;
  color: var(--ink);
}
.ce-search__input::placeholder { color: rgba(82, 103, 115, 0.72); }
.ce-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.ce-chip {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.ce-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 27, 34, 0.07);
}
.ce-chip.is-active {
  color: var(--white);
  border-color: transparent;
  background: var(--brand-gradient);
  box-shadow: 0 10px 26px rgba(135, 53, 181, 0.22);
}
.cities-explorer__scroll {
  /* Fixed height so the grid row (and map) match this column, not the full card list */
  flex: 0 0 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 12px 14px;
  padding-bottom: calc(14px + var(--ce-scroll-extra));
  scrollbar-gutter: stable;
}
/* Narrow: 1 column → viewport = 4 cards, then scroll inside */
@media (max-width: 519px) {
  .cities-explorer__scroll {
    height: calc(4 * var(--ce-card-h) + 3 * var(--ce-grid-gap) + var(--ce-scroll-extra));
  }
}
/* 2 columns → 2×2 viewport */
@media (min-width: 520px) {
  .cities-explorer__scroll {
    height: calc(2 * var(--ce-card-h) + var(--ce-grid-gap) + var(--ce-scroll-extra));
  }
}
.ce-grid {
  display: grid;
  gap: var(--ce-grid-gap);
  grid-template-columns: 1fr;
}
@media (min-width: 520px) {
  .ce-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.cities-explorer .ce-card {
  height: var(--ce-card-h);
  box-sizing: border-box;
  overflow: hidden;
}
.ce-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 27, 34, 0.06);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.2s ease;
}
.ce-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(15, 27, 34, 0.12);
  border-color: rgba(40, 136, 161, 0.28);
}
.ce-card.is-active {
  border-color: rgba(135, 53, 181, 0.45);
  box-shadow:
    0 0 0 3px rgba(40, 136, 161, 0.18),
    0 20px 48px rgba(135, 53, 181, 0.12);
}
.ce-card.is-hidden {
  display: none;
}
.ce-card__visual {
  position: relative;
  height: 96px;
  background: linear-gradient(135deg, var(--brand-violet), var(--brand-teal));
}
.cities-explorer .ce-card__visual--photo {
  background-image: none;
}
.cities-explorer .ce-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cities-explorer .ce-card__photo-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 27, 34, 0.1), rgba(15, 27, 34, 0.62));
}
.cities-explorer .ce-card__visual--photo .ce-card__kind,
.cities-explorer .ce-card__visual--photo .ce-card__coast {
  z-index: 1;
}
.ce-card__visual--north { background: linear-gradient(135deg, #2a6d8f, #5ad4c4); }
.ce-card__visual--northeast { background: linear-gradient(135deg, #2563a8, #08b69b); }
.ce-card__visual--east { background: linear-gradient(135deg, #1f6f86, #4fd1c5); }
.ce-card__visual--southeast { background: linear-gradient(135deg, #8735b5, #f0a04d); }
.ce-card__visual--south { background: linear-gradient(135deg, #b45aa8, #08b69b); }
.ce-card__visual--southwest { background: linear-gradient(135deg, #5b21a6, #2888a1); }
.ce-card__visual--tramuntana { background: linear-gradient(135deg, #0d3d4d, #3d9f78); }
.ce-card__visual--center { background: linear-gradient(135deg, #6e4a9e, #c99a4b); }
.ce-card__kind {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(15, 27, 34, 0.28);
  backdrop-filter: blur(6px);
}
.ce-card__coast {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(15, 27, 34, 0.12);
}
.cities-explorer .ce-card__body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.cities-explorer .ce-card__cta {
  margin-top: auto;
  padding-top: 8px;
}
.ce-card__body { padding: 14px 16px 16px; }
.ce-card__title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}
.ce-card__meta {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-violet);
}
.ce-card__desc {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cities-explorer .ce-card__desc {
  flex: 1;
  min-height: 0;
}
.ce-card__cta {
  display: inline-flex;
  margin-top: 10px;
  font-weight: 900;
  font-size: 0.86rem;
  color: var(--blue);
}
.cities-explorer__map-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  min-height: 280px;
  border: 1px solid var(--line);
  box-shadow:
    0 28px 70px rgba(15, 27, 34, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.65) inset;
  background: linear-gradient(145deg, #e8f7ff, #f6f0ff);
  isolation: isolate;
}
.cities-explorer__map-wrap .leaflet-container {
  border-radius: inherit;
}
@media (min-width: 1024px) {
  /* Same row height as list column: map fills the cell (no sticky / no extra min viewport height). */
  .cities-explorer__map-wrap {
    position: relative;
    top: auto;
    min-height: 0;
    height: 100%;
    align-self: stretch;
  }
}
.ce-map {
  flex: 1;
  width: 100%;
  min-height: 320px;
}
@media (min-width: 1024px) {
  .ce-map {
    min-height: 0;
    flex: 1 1 auto;
    height: 100%;
  }
}
.ce-map__frame {
  pointer-events: none;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  z-index: 500;
}
.leaflet-popup-content-wrapper {
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(15, 27, 34, 0.16);
}
.leaflet-popup-content { margin: 12px 14px; }
.ce-popup-link {
  font-weight: 850;
  color: var(--blue-dark);
}
.cities-explorer .leaflet-marker-icon.ce-marker-wrap,
.cities-explorer .leaflet-marker-icon .ce-marker-wrap {
  cursor: pointer;
}
.ce-marker-wrap {
  background: none !important;
  border: none !important;
}
.ce-pin {
  position: relative;
  width: 32px;
  height: 40px;
  display: grid;
  place-items: center;
}
.ce-pin__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--brand-gradient);
  border: 2px solid #fff;
  box-shadow: 0 4px 14px rgba(135, 53, 181, 0.45);
  z-index: 1;
}
.ce-pin__ring {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(8, 182, 155, 0.35);
  animation: ce-pulse 2.4s ease-out infinite;
}
@keyframes ce-pulse {
  0% { transform: scale(0.65); opacity: 0.9; }
  100% { transform: scale(1.45); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ce-pin__ring { animation: none; opacity: 0.35; transform: scale(1); }
  .ce-card:hover { transform: none; }
}
@media (max-width: 1023px) {
  .cities-explorer__map-wrap { min-height: 340px; }
  .ce-map { min-height: 340px; }
}

/* ============================================================
   Venue guide pages (hero aligns with city/beach city-hero)
   ============================================================ */
.city-hero--venue {
  min-height: clamp(440px, 58vh, 640px);
  display: flex;
  align-items: center;
}
.city-hero--venue .city-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  transform: scale(1.04);
  pointer-events: none;
}
.city-hero--venue .city-hero-overlay--venue {
  z-index: 1;
  background: linear-gradient(
    125deg,
    rgba(5, 18, 28, 0.82) 0%,
    rgba(5, 24, 36, 0.55) 42%,
    rgba(8, 49, 61, 0.5) 100%
  );
}
.city-hero--venue .city-hero-glow,
.city-hero--venue .city-hero-glow--alt {
  z-index: 1;
}
.city-hero--venue .city-hero-grid {
  z-index: 2;
}
.venue-hero-facts-card .city-card-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.venue-hero-quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 640px;
}
.venue-hero-quicklinks a {
  font-size: 0.86rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.38);
  padding-bottom: 1px;
}
.venue-hero-quicklinks a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.venue-gallery-fallback {
  display: grid;
  gap: 1rem;
  align-items: start;
}
@media (min-width: 720px) {
  .venue-gallery-fallback {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }
}
.venue-gallery-fallback-media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgba(2, 48, 71, 0.08);
}
.venue-gallery-hero-fallback {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.section--dark .eyebrow:not(.eyebrow--light) {
  color: rgba(255, 255, 255, 0.78);
}

.venue-body .venue-lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.venue-prose p {
  line-height: 1.65;
  color: var(--muted);
}
.venue-inline-links {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 650;
}
.venue-inline-links a {
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid rgba(40, 136, 161, 0.35);
}
.venue-inline-links a:hover {
  border-bottom-color: var(--blue);
}
.section--dark .venue-inline-links a {
  color: #b8f6ff;
  border-bottom-color: rgba(184, 246, 255, 0.45);
}
.section--dark .venue-lead {
  color: rgba(255, 255, 255, 0.88);
}

.venue-qf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px 20px;
  margin-top: 1rem;
}
.venue-qf-title {
  margin-bottom: 0.25rem;
}
.venue-qf-item {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(2, 48, 71, 0.05);
}
.venue-qf-item dt {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 6px;
}
.venue-qf-item dd {
  margin: 0;
  font-weight: 650;
  color: var(--ink);
  line-height: 1.45;
}

.venue-chip-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.venue-chip-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--sand);
  border: 1px solid var(--line);
  font-weight: 650;
  font-size: 0.92rem;
}
.venue-chip {
  font-size: 1.1rem;
}

.venue-bullet-list {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
}
.section--dark .venue-bullet-list {
  color: rgba(255, 255, 255, 0.88);
}

.venue-highlight-grid {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.venue-highlight-card {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 650;
  box-shadow: 0 6px 18px rgba(2, 48, 71, 0.04);
}

.venue-gallery-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
}
.venue-gallery-item {
  margin: 0;
  flex: 0 0 min(72vw, 320px);
  scroll-snap-align: start;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.venue-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.venue-card-rail-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.venue-mini-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  max-width: 260px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(2, 48, 71, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.venue-mini-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 48, 71, 0.1);
}
.venue-mini-card--dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
}
.venue-mini-card--dark:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.venue-hub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.venue-app-cta .venue-inline-links--cta {
  margin-top: 1.25rem;
  text-align: center;
}
.venue-app-cta .venue-inline-links--cta a {
  color: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.venue-sticky-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 60;
  flex-direction: row;
  gap: 10px;
}
.venue-sticky-cta .btn {
  flex: 1;
  box-shadow: 0 14px 32px rgba(15, 27, 34, 0.32);
}
.venue-sticky-secondary {
  background: #fff !important;
  color: var(--blue-dark) !important;
  border: 1px solid rgba(2, 48, 71, 0.12);
}
.venue-sticky-secondary:hover {
  filter: brightness(0.98);
}
.section--muted {
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 136, 161, 0.06), transparent 28rem),
    linear-gradient(180deg, var(--sand), var(--paper));
}

@media (max-width: 720px) {
  .city-sticky-cta.venue-sticky-cta {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }
  .city-sticky-cta.venue-sticky-cta .btn {
    width: auto;
    flex: 1;
  }
}

/* Cookie consent (GA4 opt-in) — no extra HTTP until choice */
body.cookie-consent-open {
  overflow: hidden;
}
.cookie-consent-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 27, 34, 0.55);
  z-index: 10000;
}
.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 2rem));
  z-index: 10001;
}
.cookie-consent__inner {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.25rem 1rem;
}
.cookie-consent__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.cookie-consent__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
}
.cookie-consent__close {
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
}
.cookie-consent__close:hover {
  background: var(--sand);
}
.cookie-consent__text {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}
.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.cookie-btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(40, 136, 161, 0.22);
}
.cookie-btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.cookie-btn--secondary {
  background: var(--white);
  color: var(--primary-dark);
  border-color: rgba(40, 136, 161, 0.45);
}
.cookie-btn--secondary:hover {
  background: rgba(40, 136, 161, 0.08);
  transform: translateY(-1px);
}
.cookie-consent__links {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.cookie-consent__links a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}
.cookie-consent__links a:hover {
  text-decoration: underline;
}
@media (max-width: 480px) {
  .cookie-consent {
    bottom: 0.75rem;
    width: calc(100% - 1.5rem);
  }
  .cookie-consent__actions {
    justify-content: stretch;
  }
  .cookie-btn {
    flex: 1 1 100%;
  }
}
