:root {
  --navy: #043D80;
  --navy-deep: #032E62;
  --gold: #FCC54E;
  --gold-deep: #e2ac32;
  --paper: #f7f4ee;
  --ink: #1c2430;
  --muted: #5d6b7c;
  --line: #e4dccb;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  background-color: var(--navy-deep);
  background-image: url("/images/site-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  font-family: "Segoe UI", system-ui, sans-serif;
}

body:not(.is-chooser) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body:not(.is-chooser) > main {
  flex: 1 0 auto;
}

a { color: var(--navy); }
a:hover { color: var(--navy-deep); }

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  background: var(--gold);
  color: var(--navy);
  padding: 0.4rem 0.7rem;
  z-index: 10;
}
.skip-link:focus { top: 0.5rem; }

.site-header {
  background: var(--navy);
  color: white;
}
.site-header .brand,
.site-header .brand span,
.site-header .header-link {
  color: white;
  text-decoration: none;
}
.site-header .dropdown-menu {
  color: var(--navy);
  background: #fff;
}
.site-header .dropdown-menu .dropdown-item {
  color: var(--navy);
}
.site-header .dropdown-menu .dropdown-item:hover,
.site-header .dropdown-menu .dropdown-item:focus {
  color: var(--navy);
  background: rgba(4, 61, 128, 0.08);
}
.site-header .dropdown-menu .muted {
  color: #5b6575;
}
.site-header .language-switcher select option {
  color: #111;
  background: #fff;
}
.header-inner,
.header-tools {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.header-inner {
  justify-content: space-between;
  min-height: 76px;
  padding: 0.6rem 0;
}
.header-tools { flex-wrap: wrap; justify-content: flex-end; }
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand img { border-radius: 12px; }

.header-link,
.language-switcher select,
.header-search input,
.header-search button,
.language-switcher button {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}
.header-search { display: flex; gap: 0.35rem; }
.header-search input { min-width: 10rem; }
.header-search input::placeholder { color: rgba(255, 255, 255, 0.75); }
.language-switcher { display: flex; gap: 0.35rem; }
.dropdown-menu { border-radius: 12px; }

.resort-nav { background: var(--navy-deep); }
.resort-nav .container {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}
.resort-nav a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
}
.resort-nav a:hover { color: var(--gold); }

.page { padding-top: 1.6rem; padding-bottom: 3rem; }
.hero h1, .page-head h1, h1 { font-weight: 750; }
.hero p { max-width: 42rem; font-size: 1.08rem; }

.resort-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.2rem 0 2rem;
}
.resort-card {
  position: relative;
  display: block;
  background: white;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1.1rem 1rem;
  min-height: 150px;
  box-shadow: 0 8px 24px rgba(4, 61, 128, 0.05);
}
.resort-card:hover {
  color: var(--ink);
  border-color: var(--gold-deep);
  transform: translateY(-2px);
}
.resort-card h2 { font-size: 1.25rem; margin: 0.4rem 0; }
.resort-card .region, .resort-card .tagline, .resort-card .meta { margin: 0.15rem 0; }
.country {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--navy);
  font-weight: 700;
}
.badge-soon {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
}
.resort-card .badge-soon { position: absolute; top: 0.9rem; inset-inline-end: 0.9rem; }
.soon-note { display: flex; gap: 0.5rem; align-items: center; }
.waitlist { max-width: 28rem; margin-top: 0.5rem; }
.site-gate .soon-note { margin: 0.35rem 0 0.6rem; }
.site-gate-what {
  max-width: 34rem;
  margin: 0 auto 1.4rem;
  text-align: left;
}
.site-gate-what h2 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}
.site-gate-what ul {
  margin: 0;
  padding-left: 1.15rem;
}
.site-gate-what li {
  margin: 0.35rem 0;
  line-height: 1.45;
}
.site-gate-waitlist {
  width: min(100%, 28rem);
  margin: 1.4rem auto 0;
  text-align: start;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(228, 220, 203, 0.95);
  border-radius: 18px;
  padding: 1.2rem 1.3rem 1.35rem;
  backdrop-filter: blur(8px);
}
.site-gate-waitlist h2 { margin-top: 0; font-size: 1.15rem; }
.waitlist h2 { margin: 0 0 0.5rem; font-size: 1.35rem; }
.waitlist-form { margin-top: 1rem; }
.waitlist-form .g-recaptcha { margin: 0.35rem 0 0.15rem; }
.waitlist-form .hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.waitlist-back { margin-top: 1.4rem; }
.alert {
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  margin: 0.9rem 0;
}
.alert-ok {
  background: #e8f5ec;
  color: #1a5c32;
}
.alert-danger {
  background: #fdecea;
  color: #8a341f;
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
}
.empty, .muted { color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; font-size: 0.92rem; }
.link-list { list-style: none; padding: 0; }
.link-list li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.prose { white-space: pre-wrap; max-width: 42rem; line-height: 1.55; }

/* Guide content — text hierarchy without fake media */
.guide-article {
  max-width: 42rem;
  margin: 0.35rem 0 0.5rem;
  padding: 1.15rem 1.25rem 1.3rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.guide-header {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.guide-kicker {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.guide-header h1 {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  line-height: 1.2;
}
.guide-body {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
}
.guide-tip {
  margin: 1.15rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--gold);
  background: rgba(252, 197, 78, 0.12);
  border-radius: 0 12px 12px 0;
}
.guide-tip-label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--navy);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.guide-tip p {
  margin: 0;
  line-height: 1.55;
}
.guide-list {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  max-width: 46rem;
}
.guide-list-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.guide-list-item:first-child {
  border-top: 1px solid var(--line);
}
.guide-list-title {
  display: inline-block;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.3;
}
.guide-list-title:hover {
  color: var(--navy-deep);
  text-decoration: underline;
}
.guide-list-place {
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.guide-list-summary {
  margin: 0.45rem 0 0;
  max-width: 40rem;
  color: var(--ink);
  font-size: 0.97rem;
  line-height: 1.5;
}

.stack-form { display: grid; gap: 0.45rem; max-width: 46rem; }
.stack-form input, .stack-form textarea, .stack-form select, .inline-form select {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
}
.password-field {
  position: relative;
  display: grid;
}
.password-field input {
  padding-inline-end: 2.6rem;
  width: 100%;
}
.password-toggle {
  position: absolute;
  inset-inline-end: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--navy);
  outline: none;
  background: rgba(4, 61, 128, 0.08);
}
.stack-form .btn-gold {
  justify-self: start;
  margin-top: 0.35rem;
}
.profile-shell {
  width: 100%;
}
.profile-shell > h1 {
  margin-bottom: 1rem;
  color: var(--navy);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
.profile-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.25rem 1.5rem;
  margin: 0 0 1.4rem;
  align-items: start;
  background: transparent;
  border: 0;
}
.profile-card-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  background: transparent;
  border: 0;
  text-align: center;
}
.profile-photo-link {
  font-size: 0.88rem;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}
.profile-card-main {
  padding: 0;
  min-width: 0;
}
.profile-facts {
  width: 100%;
  border-collapse: collapse;
}
.profile-facts th,
.profile-facts td {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(4, 61, 128, 0.18);
  vertical-align: top;
  text-align: start;
}
.profile-facts tr:last-child th,
.profile-facts tr:last-child td {
  border-bottom: 0;
}
.profile-facts th {
  width: 11rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
  opacity: 0.78;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}
.profile-facts td {
  color: var(--navy);
  font-weight: 700;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
.profile-about {
  margin: 0 0 1.5rem;
  padding: 0 0 0.2rem;
  background: transparent;
  border: 0;
  min-height: 0;
}
.profile-about h2 {
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-size: 1.15rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}
.profile-about-empty {
  margin: 0.35rem 0 0;
  color: var(--navy);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}
.profile-about-text {
  margin-top: 0.35rem;
  color: var(--navy);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
  max-width: none;
}
.profile-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
}
.profile-form-grid .field {
  display: grid;
  gap: 0.35rem;
}
.profile-form-grid .field-full {
  grid-column: 1 / -1;
}
.profile-form-grid input,
.profile-form-grid select,
.profile-form-grid textarea {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  width: 100%;
  font: inherit;
}
.profile-form-grid textarea {
  resize: vertical;
  min-height: 8rem;
}
.profile-form-grid .form-actions {
  grid-column: 1 / -1;
  margin: 0.2rem 0 0;
}
.avatar-layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}
.user-avatar-profile {
  width: 140px;
  height: 140px;
  font-size: 2.4rem;
  border-radius: 16px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85), 0 8px 22px rgba(4, 61, 128, 0.18);
}
@media (max-width: 720px) {
  .profile-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .profile-facts th {
    width: 8rem;
  }
  .profile-form-grid,
  .avatar-layout {
    grid-template-columns: 1fr;
  }
}
.reviews {
  margin-top: 1.2rem;
  max-width: 42rem;
  padding: 1.15rem 1.25rem 1.3rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.reviews h2 { margin-top: 0; margin-bottom: 0.85rem; }
.reviews h3 { margin-top: 1.4rem; font-size: 1.1rem; }
.review-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.review-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  align-items: baseline;
  margin-bottom: 0.35rem;
}
.review-stars { letter-spacing: 0.05em; }
.star-on { color: var(--gold); }
.star-off { color: #c5c9d1; }
.rating-icons {
  display: inline-flex;
  gap: 0.18rem;
  align-items: center;
}
.rating-icon {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  object-fit: cover;
}
.rating-icon.is-off {
  opacity: 0.28;
  filter: grayscale(0.35);
}
.review-form-label {
  font-weight: 650;
}
.magic-meter {
  max-width: 22rem;
  margin: 0.2rem 0 0.6rem;
}
.magic-meter-score {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  margin-bottom: 0.2rem;
}
.magic-meter-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.magic-meter-of {
  color: var(--muted);
  font-weight: 650;
}
.magic-meter-mood {
  color: var(--navy);
  font-weight: 700;
}
.magic-meter-hint {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
}
.magic-meter-board {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem 0.9rem;
  align-items: stretch;
  min-height: 16.5rem;
  padding: 0.35rem 0.2rem 0.35rem 0;
}
.magic-meter-axis {
  position: absolute;
  inset-inline-start: calc(100% - 2.55rem);
  top: 0.7rem;
  bottom: 0.7rem;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(4, 61, 128, 0.25) 100%);
  pointer-events: none;
}
.magic-meter-steps {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  gap: 0.35rem;
  min-height: 15.5rem;
}
.magic-meter-step {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.45rem;
  align-items: center;
  text-align: start;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
}
.magic-meter-step:hover,
.magic-meter-step.is-active {
  border-color: rgba(252, 197, 78, 0.85);
  background: rgba(252, 197, 78, 0.16);
}
.magic-meter-step-num {
  font-weight: 800;
  color: var(--navy);
}
.magic-meter-step-mood {
  font-size: 0.92rem;
  color: var(--muted);
}
.magic-meter-step.is-active .magic-meter-step-mood {
  color: var(--navy);
  font-weight: 650;
}
.magic-meter-thumb {
  position: absolute;
  inset-inline-end: 0;
  top: calc((5 - var(--meter-rating, 5)) * 20% + 0.15rem);
  width: 4.6rem;
  height: 4.6rem;
  display: grid;
  place-items: center;
  touch-action: none;
  cursor: grab;
  transition: top 0.16s ease;
  z-index: 2;
  filter: drop-shadow(0 6px 12px rgba(4, 61, 128, 0.22));
}
.magic-meter-thumb.is-dragging {
  cursor: grabbing;
  transition: none;
}
.magic-meter-thumb img {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}
.review-body {
  margin: 0.25rem 0 0.45rem;
  white-space: pre-wrap;
  line-height: 1.45;
}
.btn-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--navy);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}
.admin-actions {
  display: grid;
  gap: 0.35rem;
  justify-items: start;
}
.stack-form fieldset {
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 0.4rem 0;
}
.check { display: flex; gap: 0.45rem; align-items: center; }
.form-actions { display: flex; gap: 0.7rem; align-items: center; flex-wrap: wrap; margin: 0.8rem 0; }
.btn-gold, a.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
  text-decoration: none;
}
.external-login {
  display: grid;
  gap: 0.55rem;
  max-width: 22rem;
  margin: 0 0 1.2rem;
}
.btn-external {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid #dadce0;
  background: #fff;
  color: #3c4043;
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}
.btn-external-logo {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}
.btn-external-google:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.15);
}
.btn-external-apple {
  background: #000;
  border-color: #000;
  color: #fff;
}
.btn-external-apple:hover {
  background: #1a1a1a;
}
.btn-external-apple .btn-external-logo {
  width: 1.05rem;
  height: 1.05rem;
}
.external-or {
  margin: 0.2rem 0 0;
  text-align: center;
  font-size: 0.9rem;
}
.auth-switch { margin-top: 1rem; }
.auth-login-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.4rem;
}
.auth-login-actions .btn-gold {
  justify-self: stretch;
  margin-top: 0;
}
@media (max-width: 480px) {
  .auth-login-actions { grid-template-columns: 1fr; }
}
.auth-welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin-top: 1.2rem;
}
.auth-welcome-actions a.btn:not(.btn-gold) {
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 650;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.85);
}
.auth-welcome .inline-form {
  margin-top: 0.9rem;
}
.panel h2 { margin-top: 0; font-size: 1.15rem; }
.profile-head-name {
  margin: 0 0 0.2rem;
  font-size: 1.55rem;
  font-weight: 750;
  color: var(--navy);
}
.profile-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.1rem;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(228, 220, 203, 0.95);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.profile-tab {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
}
.profile-tab.is-active {
  background: var(--navy);
  color: #fff;
}
.profile-shell .panel {
  padding: 1.25rem 1.4rem 1.4rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(228, 220, 203, 0.95);
  border-radius: 18px;
  backdrop-filter: blur(8px);
}
.profile-shell .stack-form {
  max-width: none;
}
.user-avatar,
.user-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: #d9e4f2;
  color: var(--navy);
  font-weight: 700;
  flex-shrink: 0;
}
.user-avatar-lg { width: 72px; height: 72px; font-size: 1.4rem; }
.user-avatar-xl { width: 120px; height: 120px; font-size: 2rem; }
.avatar-preview { margin: 0.8rem 0 1rem; }
.avatar-remove { margin-top: 0.8rem; }
.btn-link {
  border: 0;
  background: transparent;
  color: #8a341f;
  text-decoration: underline;
  padding: 0;
  cursor: pointer;
}
.inline-form { display: flex; gap: 0.6rem; align-items: center; margin-bottom: 1rem; }
.inline-delete { display: inline; }
.inline-delete button {
  border: 0;
  background: transparent;
  color: #8a341f;
  text-decoration: underline;
}
.admin-table { background: white; }
.site-footer {
  margin-top: auto;
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1.2rem 0 2rem;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(4, 61, 128, 0.55);
  backdrop-filter: blur(6px);
}
.site-footer a { color: #fff; }
.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.social-link:hover,
.social-link:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
  outline: none;
}
.social-link svg {
  width: 1.05rem;
  height: 1.05rem;
}

.page > h1,
.page-head h1 {
  color: var(--navy);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.language-switcher button { display: none; }
@media (max-width: 800px) {
  body {
    background-attachment: scroll;
  }
  .header-inner { align-items: flex-start; flex-direction: column; }
  .header-tools, .header-search { width: 100%; }
  .header-search input { flex: 1; }
}

/* Destination chooser — one composition, no hanging header */
body.is-chooser {
  min-height: 100vh;
}
.chooser-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 4.5rem 1rem 3rem;
}
.chooser-tools {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 2;
}
.chooser-tools .language-switcher select,
.chooser-tool {
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  border: 1px solid rgba(4, 61, 128, 0.16);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  backdrop-filter: blur(8px);
  text-decoration: none;
  font-size: 0.92rem;
}
.chooser-tool {
  cursor: pointer;
}
.chooser {
  width: min(1180px, 100%);
  text-align: center;
  animation: chooser-in 0.7s ease both;
}
.chooser-brand {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}
.chooser-brand img {
  border-radius: 26px;
  box-shadow: 0 16px 40px rgba(4, 61, 128, 0.18);
  animation: brand-float 4.5s ease-in-out infinite;
}
.chooser-site {
  margin: 0;
  font-weight: 750;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.chooser h1 {
  margin: 0.2rem 0 0.45rem;
  font-size: clamp(2rem, 4.4vw, 3rem);
  color: var(--navy-deep);
}
.chooser-intro {
  margin: 0 auto 1.8rem;
  max-width: 34rem;
  color: var(--muted);
}
.dest-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  text-align: start;
  max-width: 820px;
  margin: 0 auto;
}
.dest-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem 1rem;
  padding: 1rem 1.1rem;
  min-height: 5.4rem;
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(4, 61, 128, 0.12);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(4, 61, 128, 0.06);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  animation: circle-rise 0.55s ease both;
}
.dest-card:nth-child(1) { animation-delay: 0.04s; }
.dest-card:nth-child(2) { animation-delay: 0.08s; }
.dest-card:nth-child(3) { animation-delay: 0.12s; }
.dest-card:nth-child(4) { animation-delay: 0.16s; }
.dest-card:nth-child(5) { animation-delay: 0.2s; }
.dest-card:nth-child(6) { animation-delay: 0.24s; }
.dest-card:hover,
.dest-card:focus-visible {
  color: var(--ink);
  transform: translateY(-3px);
  border-color: var(--gold-deep);
  box-shadow: 0 16px 34px rgba(4, 61, 128, 0.12);
}
.dest-card-mark {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 14px;
  background: var(--navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.dest-card-mark img {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
}
.dest-card-body {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}
.dest-card-code {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--navy);
}
.dest-card-name {
  font-weight: 780;
  font-size: 1.28rem;
  line-height: 1.15;
  color: var(--navy-deep);
}
.dest-card-meta {
  font-size: 0.9rem;
  color: var(--muted);
}
.dest-card-go {
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 700;
}
.dest-soon {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--gold);
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  white-space: nowrap;
}
.dest-card.is-soon {
  opacity: 0.92;
}
.dest-card.is-soon .dest-card-mark {
  background: #3b5f8f;
}

.park-switcher {
  background: #f0ebe1;
  border-bottom: 1px solid var(--line);
}
.park-switcher-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  align-items: center;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}
.park-switcher-label {
  font-weight: 750;
  color: var(--navy);
}
.park-switcher-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.park-tab {
  text-decoration: none;
  color: var(--navy);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.92rem;
}
.park-tab:hover { background: rgba(4, 61, 128, 0.06); color: var(--navy); }
.park-tab.is-active {
  background: var(--navy);
  color: white;
}

@keyframes chooser-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes circle-rise {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: none; }
}
@keyframes brand-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 720px) {
  .dest-card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .chooser-page { padding-top: 4rem; }
  .chooser-tools { top: 0.75rem; inset-inline-end: 0.75rem; }
  .chooser-intro { margin-bottom: 1.3rem; }
  .chooser-brand img { width: 88px; height: 88px; }
  .dest-card { padding: 0.9rem 1rem; }
  .dest-card-name { font-size: 1.15rem; }
}
