.premium-body {
  background: #f6f7f9;
  color: var(--ink);
}

.premium-body .skip-link {
  position: fixed;
  top: -60px;
  right: 18px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 10px;
  background: white;
  color: var(--navy);
  font-weight: 800;
}

.premium-body .skip-link:focus { top: 12px; }

.premium-header {
  width: min(1240px, calc(100% - 36px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.premium-tools,
.premium-account,
.premium-languages {
  display: flex;
  align-items: center;
  gap: 9px;
}

.premium-tools { gap: 20px; }
.premium-header > *, .premium-tools > * { min-width: 0; }

.premium-home-link {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.premium-home-link:hover,
.premium-home-link:focus-visible { border-color: var(--gold); outline: 2px solid rgba(220,169,79,.35); outline-offset: 2px; }

.premium-languages {
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.75);
}

.premium-languages button,
.premium-account button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.premium-languages button { padding: 7px 10px; }
.premium-languages button.active { background: var(--navy); color: white; }

.premium-account { color: var(--muted); font-size: 12px; font-weight: 800; }
.premium-account button { padding: 9px 13px; border: 1px solid var(--line); background: white; }

.premium-hero {
  padding: 96px max(24px, calc((100% - 1180px) / 2));
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(64,146,208,.32), transparent 26%),
    radial-gradient(circle at 92% 82%, rgba(220,169,79,.18), transparent 24%),
    linear-gradient(135deg, #031d40, #062b5c 58%, #0c477c);
  color: white;
  display: grid;
  grid-template-columns: 1fr .43fr;
  align-items: end;
  gap: 70px;
}

.premium-hero::after {
  width: 420px;
  height: 420px;
  position: absolute;
  left: -150px;
  bottom: -260px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.02);
}

.premium-hero h1 {
  max-width: 820px;
  margin: 16px 0 24px;
  color: white;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1.02;
}

.premium-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 19px;
  line-height: 1.75;
}

.trip-note {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  display: grid;
  gap: 9px;
  backdrop-filter: blur(12px);
}
.trip-note strong { color: var(--gold); }
.trip-note span { color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.65; }

.trip-dashboard {
  width: min(1180px, calc(100% - 36px));
  margin: -34px auto 42px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(6,43,92,.1);
  border-radius: 22px;
  background: white;
  box-shadow: 0 22px 54px rgba(6,43,92,.13);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trip-dashboard article { padding: 24px; text-align: center; }
.trip-dashboard article + article { border-inline-start: 1px solid var(--line); }
.trip-dashboard strong { display: block; color: var(--navy); font-family: Georgia, serif; font-size: 30px; }
.trip-dashboard span { color: var(--muted); font-size: 12px; font-weight: 800; }

.day-nav-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  position: sticky;
  top: 10px;
  z-index: 500;
}

.day-nav {
  width: 100%;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(246,247,249,.9);
  box-shadow: 0 14px 34px rgba(6,43,92,.1);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  backdrop-filter: blur(16px);
}

.day-swipe-hint { display: none; }

.day-nav button {
  min-height: 64px;
  padding: 10px 14px;
  border: 0;
  border-radius: 14px;
  background: white;
  color: var(--navy);
  cursor: pointer;
  display: grid;
  gap: 3px;
  text-align: start;
}
.day-nav button span { color: var(--gold); font-size: 11px; font-weight: 900; }
.day-nav button strong { font-size: 13px; line-height: 1.3; }
.day-nav button.active { background: var(--navy); color: white; box-shadow: 0 10px 24px rgba(6,43,92,.2); }

.day-overview {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0 54px;
  display: grid;
  grid-template-columns: 1fr .38fr;
  align-items: end;
  gap: 70px;
  scroll-margin-top: 100px;
}

.day-kicker,
.day-advice > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.day-copy h2 { max-width: 780px; margin: 12px 0 18px; font-size: clamp(42px, 5vw, 64px); line-height: 1.05; }
.day-copy > p { max-width: 790px; color: var(--muted); font-size: 17px; line-height: 1.75; }

.day-stats { margin: 28px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.day-stats span { min-width: 120px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--muted); display: grid; gap: 3px; font-size: 11px; font-weight: 800; }
.day-stats strong { color: var(--navy); font-size: 16px; }
.day-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.day-actions button { font: inherit; cursor: pointer; }

.day-advice { padding: 26px; border-radius: 22px; background: #eef5fb; box-shadow: inset 0 0 0 1px rgba(36,119,189,.12); display: grid; gap: 10px; }
.day-advice strong { color: var(--navy); font-size: 20px; line-height: 1.45; }
.day-advice p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.premium-map-section {
  padding: 70px max(18px, calc((100% - 1180px) / 2));
  background: white;
  border-block: 1px solid var(--line);
}

.premium-section-heading { margin-bottom: 24px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.premium-section-heading h2 { margin: 7px 0 0; font-size: clamp(32px, 4vw, 48px); }
.premium-section-heading.compact { margin-bottom: 20px; }
.section-kicker { color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

#premium-map {
  height: min(66vh, 650px);
  min-height: 480px;
  overflow: hidden;
  border: 8px solid #f6f7f9;
  border-radius: 24px;
  box-shadow: 0 24px 54px rgba(6,43,92,.14);
}

.map-note { margin: 14px 6px 0; color: var(--muted); font-size: 12px; }
.map-legend { display: flex; flex-wrap: wrap; justify-content: end; gap: 10px 14px; }
.map-legend span { color: var(--muted); display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; }
.map-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--legend-color); }
.premium-marker-shell { background: transparent; border: 0; }
.premium-marker { width: 36px; height: 36px; border: 3px solid white; border-radius: 50% 50% 50% 9px; background: var(--marker-color); color: white; box-shadow: 0 5px 15px rgba(6,43,92,.3); display: grid; place-items: center; font-size: 13px; font-weight: 900; transform: rotate(-45deg); }
.premium-marker span { transform: rotate(45deg); }
.premium-popup { min-width: 210px; display: grid; gap: 6px; }
.premium-popup strong { color: var(--navy); font-size: 16px; }
.premium-popup span { color: var(--muted); font-size: 11px; }
.premium-popup p { margin: 3px 0; line-height: 1.5; }
.premium-popup a { color: var(--blue); font-weight: 900; }
.map-error { padding: 50px; color: var(--muted); text-align: center; }

.route-layout {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 44px;
}
.premium-stop-list { display: grid; gap: 14px; }
.premium-stop-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 10px 26px rgba(6,43,92,.055); display: grid; grid-template-columns: 46px 1fr auto; gap: 18px; }
.premium-stop-card.optional { border-style: dashed; background: #fffefb; }
.stop-index { width: 42px; height: 42px; border-radius: 14px; background: var(--marker-color); color: white; display: grid; place-items: center; font-weight: 900; }
.stop-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.stop-heading h3 { margin: 0 0 4px; color: var(--navy); font-size: 21px; }
.stop-heading > div > span { color: var(--muted); font-size: 11px; }
.stop-badges { display: flex; flex-wrap: wrap; justify-content: end; gap: 5px; }
.stop-badges span { padding: 5px 8px; border-radius: 999px; background: #edf4fa; color: var(--blue); font-size: 10px; font-weight: 900; }
.stop-badges .optional-badge { background: #fbf1df; color: #936719; }
.stop-copy > p { margin: 13px 0 8px; color: var(--muted); line-height: 1.65; }
.stop-copy .stop-tip { margin-top: 0; padding: 9px 12px; border-radius: 10px; background: #f7f8fa; font-size: 12px; }
.stop-tip strong { color: var(--navy); }
.stop-actions { margin-top: 14px; display: flex; gap: 8px; }
.stop-actions button, .stop-actions a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--navy); cursor: pointer; font-size: 11px; font-weight: 900; }
.stop-actions a { background: var(--navy); color: white; }

.resource-actions { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.resource-icon { width: auto; min-height: 42px; padding: 4px 11px; border: 1px solid var(--line); border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; background: white; color: var(--navy); text-decoration: none; font-size: 11px; font-weight: 900; line-height: 1; box-shadow: none; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.resource-icon:hover, .resource-icon:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(6,43,92,.24); outline: 3px solid rgba(220,169,79,.55); outline-offset: 2px; }
.resource-icon .brand-icon { width: 28px; height: 28px; border-radius: 8px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; color: white; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 900; }
.resource-icon .brand-icon.facebook { background: #1877f2; }
.resource-icon .brand-icon.instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.resource-icon .brand-icon.media { background: var(--navy); }
.premium-popup .resource-actions { justify-content: center; }

.gallery-open { overflow: hidden; }
.gallery-modal, .video-modal { position: fixed; inset: 0; z-index: 12000; display: grid; place-items: center; padding: 22px; }
.gallery-modal[hidden], .video-modal[hidden] { display: none; }
.gallery-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(2,18,39,.86); backdrop-filter: blur(7px); cursor: default; }
.gallery-dialog, .video-dialog { position: relative; width: min(1060px, 96vw); max-height: 94vh; overflow: auto; border-radius: 24px; padding: 18px; background: white; box-shadow: 0 28px 80px rgba(0,0,0,.42); }
.video-dialog { width: min(900px, 96vw); }
.gallery-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 2px 12px; }
.gallery-header h2 { margin: 0; color: var(--navy); font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
.gallery-close { width: 42px; height: 42px; flex: 0 0 auto; border: 0; border-radius: 50%; background: #f6f7f9; color: var(--navy); cursor: pointer; font-size: 1.75rem; line-height: 1; }
.gallery-stage { min-height: 420px; display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; gap: 12px; border-radius: 18px; padding: 14px; background: #071c35; }
.gallery-image { width: 100%; height: min(65vh, 680px); object-fit: contain; border-radius: 12px; }
.gallery-arrow { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(255,255,255,.12); color: white; cursor: pointer; font-size: 2rem; line-height: 1; }
.gallery-arrow:hover, .gallery-arrow:focus-visible, .gallery-close:hover, .gallery-close:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.gallery-counter { margin: 9px 0 7px; text-align: center; color: var(--muted); font-size: .85rem; }
.gallery-thumbnails { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; }
.gallery-thumbnail { flex: 0 0 84px; height: 64px; padding: 2px; border: 2px solid transparent; border-radius: 10px; background: #f6f7f9; overflow: hidden; cursor: pointer; }
.gallery-thumbnail img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.gallery-thumbnail.active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(220,169,79,.25); }
.video-player { display: block; width: 100%; max-height: 70vh; border-radius: 16px; background: #071c35; }
.video-choices { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-top: 14px; }
.video-choice { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: #f6f7f9; color: var(--muted); cursor: pointer; font-size: .84rem; }
.video-choice.active { border-color: var(--navy); background: var(--navy); color: white; }
.stop-time { min-width: 92px; text-align: end; display: grid; align-content: start; gap: 5px; }
.stop-time strong { color: var(--gold); font-size: 16px; }
.stop-time span { color: var(--muted); font-size: 10px; }

.planner-column { display: grid; align-content: start; gap: 16px; }
.planner-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 10px 26px rgba(6,43,92,.055); }
.planner-card.soft { background: #eef5fb; }
.planner-card h2 { margin: 8px 0 20px; font-size: 25px; }
.planner-card ol, .planner-card ul { margin: 0; padding: 0; list-style: none; }
.planner-card ol { display: grid; gap: 14px; }
.planner-card ol li { display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: baseline; }
.planner-card time { color: var(--blue); font-size: 12px; font-weight: 900; }
.planner-card ol span { color: var(--navy); font-size: 12px; font-weight: 800; }
.planner-card ol small { grid-column: 2; color: var(--gold); }
.planner-card ul { display: grid; gap: 12px; }
.planner-card ul li { padding-inline-start: 18px; position: relative; color: var(--muted); font-size: 12px; line-height: 1.6; }
.planner-card ul li::before { position: absolute; inset-inline-start: 0; color: var(--gold); content: "✓"; font-weight: 900; }

.recommendations-section { padding: 90px max(18px, calc((100% - 1180px) / 2)); background: var(--cream); border-top: 1px solid var(--line); }
.recommendation-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.recommendation-filters button { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--navy); cursor: pointer; font-weight: 800; }
.recommendation-filters button.active { background: var(--navy); color: white; }
.recommendation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.recommendation-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 10px 24px rgba(6,43,92,.05); }
.recommendation-type { color: var(--gold); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.recommendation-card h3 { margin: 10px 0 4px; color: var(--navy); font-size: 20px; }
.recommendation-card small { color: var(--muted); }
.recommendation-card p { min-height: 48px; margin: 14px 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.recommendation-card > div { padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; font-size: 11px; font-weight: 800; }
.recommendation-card > div span { color: var(--muted); }
.recommendation-card a { color: var(--blue); }

.community-card {
  width: min(1180px, calc(100% - 40px));
  margin: 26px auto 0;
  padding: 34px;
  border-radius: 24px;
  background: #062b5c;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.community-card h2 { margin: 8px 0; color: white; }
.community-card p { margin: 0; color: rgba(255,255,255,.78); }
.community-card .social-links { justify-content: flex-end; }
.community-card .social-links a { color: white; border-color: rgba(255,255,255,.28); }
.community-card .social-links a:hover { background: white; color: #062b5c; }

.premium-closing { padding: 100px 20px; background: white; text-align: center; }
.premium-closing h2 { max-width: 800px; margin: 14px auto 28px; font-size: clamp(34px, 5vw, 56px); }
.premium-closing button { border: 0; cursor: pointer; font: inherit; }
.premium-toast { position: fixed; right: 20px; bottom: 20px; z-index: 800; }

html[dir="ltr"] .premium-marker { transform: rotate(-45deg); }

@media (max-width: 960px) {
  .premium-hero, .day-overview { grid-template-columns: 1fr; gap: 32px; }
  .route-layout { grid-template-columns: 1fr; }
  .planner-column { grid-template-columns: repeat(2, 1fr); }
  .recommendation-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .premium-body main { display: flex; flex-direction: column; }
  .premium-hero { order: 1; }
  .day-nav-shell { order: 2; }
  .premium-map-section { order: 3; }
  .day-overview { order: 4; }
  .trip-dashboard { order: 5; }
  .route-layout { order: 6; }
  .recommendations-section { order: 7; }
  .community-card { order: 8; }
  .premium-closing { order: 9; }
  .community-card { align-items: flex-start; flex-direction: column; }
  .community-card .social-links { justify-content: flex-start; }
  .premium-header {
    width: calc(100% - 24px);
    min-height: 76px;
    padding-block: 10px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .premium-header .brand small, .premium-account span { display: none; }
  .premium-tools {
    width: min(100%, calc(100vw - 24px));
    min-width: 0;
    flex: 1 1 100%;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 8px;
  }
  .premium-languages {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .premium-languages button { flex: 0 0 auto; }
  .premium-languages button { padding: 6px 7px; font-size: 10px; }
  .premium-hero { padding: 28px 18px 30px; gap: 12px; }
  .premium-hero h1 { margin: 10px 0 12px; font-size: clamp(34px, 10vw, 46px); }
  .premium-hero p { font-size: 15px; line-height: 1.5; }
  .trip-note { display: none; }
  .trip-dashboard { grid-template-columns: repeat(2, 1fr); margin: 22px auto 34px; }
  .trip-dashboard article:nth-child(3) { border-inline-start: 0; border-top: 1px solid var(--line); }
  .trip-dashboard article:nth-child(4) { border-top: 1px solid var(--line); }
  .day-nav-shell {
    width: calc(100% - 24px);
    max-width: none;
    min-width: 0;
    top: 6px;
  }
  .day-nav {
    max-width: calc(100% - 36px);
    margin-inline: auto;
    overflow-x: auto;
    display: flex;
    scroll-snap-type: inline proximity;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }
  .day-nav button { min-width: min(76vw, 250px); scroll-snap-align: center; }
  .day-swipe-hint {
    margin: 6px 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
  }
  .day-swipe-hint > span:first-child { color: var(--blue); font-size: 20px; line-height: 1; }
  .day-overview { padding: 32px 18px 38px; }
  .day-stats { display: grid; grid-template-columns: repeat(2, 1fr); }
  .premium-section-heading { align-items: start; flex-direction: column; }
  .map-legend { justify-content: start; }
  .premium-map-section { padding-top: 30px; padding-bottom: 36px; scroll-margin-top: 105px; }
  #premium-map { height: 48dvh; min-height: 330px; border-width: 4px; }
  .premium-stop-card { grid-template-columns: 42px 1fr; }
  .stop-time { grid-column: 2; grid-row: 1; min-width: 0; text-align: end; }
  .stop-copy { grid-column: 1 / -1; }
  .stop-heading { flex-direction: column; }
  .stop-badges { justify-content: start; }
  .planner-column, .recommendation-grid { grid-template-columns: 1fr; }
  .recommendation-card p { min-height: 0; }
  .resource-icon { min-height: 42px; }
  .gallery-modal, .video-modal { padding: 0; }
  .gallery-dialog, .video-dialog { width: 100vw; max-height: 100vh; min-height: 100dvh; border-radius: 0; padding: 12px; }
  .gallery-stage { min-height: 0; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 6px; padding: 8px; }
  .gallery-image { height: min(62dvh, 620px); }
  .gallery-arrow { width: 38px; height: 38px; }
  .video-player { max-height: 76dvh; }
}

@media (max-width: 460px) {
  .premium-header .brand span { display: none; }
  .premium-hero h1 { font-size: 36px; }
  .day-copy h2 { font-size: 39px; }
  .premium-stop-card { padding: 18px; }
  .day-actions .button { width: 100%; }
}
