:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --surface: #fffdf9;
  --surface-strong: #ffffff;
  --text: #153048;
  --muted: #607080;
  --heading: #0e2740;
  --border: rgba(18, 53, 91, 0.1);
  --shadow-soft: 0 18px 40px rgba(18, 53, 91, 0.08);
  --shadow-card: 0 12px 24px rgba(18, 53, 91, 0.08);
  --accent: #7db8a6;
  --accent-deep: #5a9785;
  --navy: #12355b;
  --sand: #f7f4ee;
  --max-width: 1120px;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --transition: 280ms ease;
}

body.dark-mode {
  color-scheme: dark;
  --bg: #0f1b28;
  --surface: #142435;
  --surface-strong: #1a3046;
  --text: #ebf2f7;
  --muted: #a8bbc9;
  --heading: #f7fbff;
  --border: rgba(235, 242, 247, 0.1);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.28);
  --shadow-card: 0 12px 24px rgba(0, 0, 0, 0.22);
  --accent: #88c7b4;
  --accent-deep: #abd9cb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(125, 184, 166, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 18%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition:
    background-color var(--transition),
    color var(--transition);
}

main {
  padding-bottom: 160px;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
summary {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
}

.skip-link:focus {
  top: 16px;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 4px;
  background: transparent;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--navy));
}

.announcement-bar {
  padding: 12px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-header {
  position: relative;
  z-index: 30;
}

.main-nav {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 253, 249, 0.86);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

body.dark-mode .main-nav {
  background: rgba(20, 36, 53, 0.82);
}

.brand {
  display: grid;
  gap: 2px;
}

.brand__eyebrow,
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent-deep);
  font-weight: 700;
}

.brand__name {
  font-family: "Instrument Serif", serif;
  font-size: 1.65rem;
  color: var(--heading);
  line-height: 1;
}

.nav-actions {
  display: flex;
  justify-content: flex-start;
}

.nav-links {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(18, 53, 91, 0.04);
  font-size: 0.92rem;
  white-space: nowrap;
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  background: var(--navy);
  color: #fff;
}

.theme-toggle,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform var(--transition),
    background-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.theme-toggle {
  min-height: 44px;
  padding: 10px 16px;
  background: rgba(18, 53, 91, 0.06);
  color: var(--heading);
}

.theme-toggle:hover,
.button:hover {
  transform: translateY(-1px);
}

.button {
  min-height: 48px;
  padding: 0 18px;
  font-weight: 700;
}

.button--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-card);
}

.button--secondary {
  background: rgba(125, 184, 166, 0.16);
  color: var(--heading);
}

.button--ghost {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--heading);
}

.section {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 42px 0;
  scroll-margin-top: 108px;
}

.section--framed {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.48));
  box-shadow: var(--shadow-soft);
}

body.dark-mode .section--framed {
  background: linear-gradient(180deg, rgba(26, 48, 70, 0.82), rgba(20, 36, 53, 0.72));
}

.section--tinted {
  position: relative;
  overflow: hidden;
}

.section--tinted::before {
  content: "";
  position: absolute;
  inset: auto -8% -24% auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 184, 166, 0.28), transparent 68%);
  pointer-events: none;
}

.hero {
  display: grid;
  gap: 28px;
  padding-top: 34px;
}

.hero__content,
.hero-card,
.search-panel,
.info-card,
.accordion-card,
.destination-card,
.faq-item,
.emergency-card,
.checklist {
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.hero__content {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero__content::before {
  content: "";
  position: absolute;
  inset: -20% auto auto 55%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 184, 166, 0.18), transparent 70%);
  pointer-events: none;
}

.hero h1,
.section-heading h2 {
  margin: 10px 0 14px;
  color: var(--heading);
  line-height: 1;
}

.hero h1 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(3rem, 9vw, 6.2rem);
  letter-spacing: -0.04em;
}

.hero__lead,
.section-heading p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1rem;
}

.hero__actions,
.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__actions {
  margin: 28px 0 22px;
}

.highlight-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--heading);
}

body.dark-mode .highlight-pill {
  background: rgba(255, 255, 255, 0.04);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.stat-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.52);
}

body.dark-mode .stat-card {
  background: rgba(255, 255, 255, 0.03);
}

.stat-card__label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.hero-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-card figcaption {
  padding: 14px 18px 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-heading {
  margin-bottom: 28px;
  max-width: 760px;
}

.search-panel {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface-strong);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--heading);
  background: transparent;
}

.search-empty,
.helper-text {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.info-grid,
.accordion-grid,
.local-grid,
.emergency-grid {
  display: grid;
  gap: 18px;
}

.info-card,
.destination-card__body,
.emergency-card,
.checklist {
  padding: 22px;
}

.info-card,
.emergency-card {
  border-radius: var(--radius-lg);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: rgba(125, 184, 166, 0.14);
  color: var(--accent-deep);
}

.text-link {
  color: var(--navy);
  font-weight: 700;
}

.wifi-password {
  word-break: break-all;
}

.inline-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.inline-photo-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-strong);
}

.inline-photo-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.inline-photo-card figcaption {
  padding: 10px 12px 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.accordion-card,
.faq-item {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.accordion-card summary,
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  list-style: none;
  cursor: pointer;
  color: var(--heading);
  font-weight: 700;
}

.accordion-card summary::-webkit-details-marker,
.faq-item summary::-webkit-details-marker {
  display: none;
}

.accordion-card summary span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.accordion-content {
  padding: 0 22px 22px;
  color: var(--muted);
}

.accordion-card[open] .accordion-indicator,
.faq-item[open] .accordion-indicator {
  transform: rotate(45deg);
}

.destination-card {
  overflow: hidden;
  border-radius: 28px;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.destination-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(18, 53, 91, 0.12);
}

.destination-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.destination-card__body h3,
.info-card h3,
.emergency-card h3 {
  margin: 0 0 10px;
  color: var(--heading);
}

.destination-card__tag {
  margin: 0 0 10px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.destination-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.destination-list p {
  margin: 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item summary {
  font-size: 1.02rem;
}

.checklist {
  display: grid;
  gap: 12px;
  border-radius: var(--radius-xl);
}

.checklist-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(125, 184, 166, 0.08);
  cursor: pointer;
  transition:
    transform var(--transition),
    background-color var(--transition);
}

.checklist-item:hover {
  transform: translateX(2px);
  background: rgba(125, 184, 166, 0.14);
}

.checklist-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}

.checklist-item span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 138px;
  z-index: 35;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.reveal {
  opacity: 1;
  transform: none;
}

body.has-reveal-motion .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

body.has-reveal-motion .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.search-hidden {
  display: none !important;
}

.filter-group-hidden {
  display: none !important;
}

@media (min-width: 700px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    align-items: stretch;
    grid-template-columns: 1.1fr 0.9fr;
    padding-top: 48px;
  }

  .info-grid,
  .emergency-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .accordion-grid,
  .local-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  main {
    padding-bottom: 40px;
  }

  body {
    background:
      radial-gradient(circle at top left, rgba(125, 184, 166, 0.18), transparent 24%),
      radial-gradient(circle at right top, rgba(18, 53, 91, 0.05), transparent 30%),
      var(--bg);
  }

  .announcement-bar {
    padding: 16px 24px 0;
  }

  .main-nav {
    position: sticky;
    top: 18px;
    bottom: auto;
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    padding: 16px 18px;
  }

  .nav-actions {
    justify-content: center;
  }

  .nav-links {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .hero__content {
    padding: 42px;
  }

  .section--framed {
    padding: 42px;
  }

  .search-panel {
    padding: 34px 42px;
  }

  .hero-card img {
    aspect-ratio: 5 / 6;
  }

  .section-heading h2 {
    font-size: 3rem;
    font-family: "Instrument Serif", serif;
    letter-spacing: -0.03em;
  }

  .info-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .local-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .emergency-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .back-to-top {
    bottom: 24px;
  }
}

@media (max-width: 699px) {
  .main-nav {
    gap: 12px;
  }

  .nav-links {
    display: flex;
    gap: 8px;
    padding-bottom: 2px;
  }

  .nav-links a {
    min-width: max-content;
    padding-inline: 16px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .section--framed {
    padding: 22px;
    border-radius: 28px;
  }

  .inline-photo-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .announcement-bar,
  .main-nav,
  .theme-toggle,
  .search-panel,
  .back-to-top,
  .scroll-progress {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section {
    width: 100%;
    padding: 16px 0;
  }

  .hero,
  .info-grid,
  .accordion-grid,
  .local-grid,
  .faq-list,
  .emergency-grid {
    display: block;
  }

  .hero__content,
  .hero-card,
  .info-card,
  .accordion-card,
  .destination-card,
  .faq-item,
  .emergency-card,
  .checklist {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
    margin-bottom: 14px;
  }

  .accordion-card,
  .faq-item {
    page-break-inside: avoid;
  }

  .accordion-card .accordion-content,
  .faq-item .accordion-content {
    display: block;
  }
}
