/* Revelstoke Vacations: deep navy + bright blue, white cards, soft shadows (Vrbo-inspired palette, own design) */
:root {
  --navy: #0b1d4d;
  --navy-2: #13296a;
  --blue: #1668e3;
  --blue-d: #0f55c0;
  --sky: #eaf1fd;
  --sun: #ffc94d;
  --ink: #1a2133;
  --muted: #5d6679;
  --line: #dfe4ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --ok: #0a7c55;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(11, 29, 77, 0.06), 0 6px 24px rgba(11, 29, 77, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 29, 77, 0.18);
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font: 17px/1.65 var(--font);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img,
svg {
  max-width: 100%;
}
a {
  color: var(--blue);
  text-underline-offset: 2px;
}
a:hover {
  color: var(--blue-d);
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
}
.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.i {
  flex: none;
  vertical-align: -4px;
}
:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 66px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  font-size: 19px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.logo b {
  font-weight: 800;
  margin-left: 3px;
  color: var(--blue);
}
.logo span {
  font-weight: 600;
}
.logo-light {
  color: #fff;
}
.logo-light b {
  color: #9cc2ff;
}
.main-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}
.main-nav a:hover,
.main-nav a[aria-current] {
  background: var(--sky);
  color: var(--navy);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang:hover {
  border-color: var(--blue);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 9px;
  color: var(--navy);
  cursor: pointer;
}
@media (max-width: 1020px) {
  .nav-toggle {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 10px 16px 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    padding: 12px;
    font-size: 16px;
  }
  .header-actions {
    margin-left: auto;
  }
}
@media (max-width: 420px) {
  .logo {
    font-size: 16px;
  }
  .lang span {
    display: none;
  }
}

/* hero */
.hero {
  position: relative;
  color: #fff;
  background: var(--navy);
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-bg img,
.hero-bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 29, 77, 0.55) 0%, rgba(11, 29, 77, 0.35) 45%, rgba(11, 29, 77, 0.75) 100%);
}
.hero-inner {
  padding-top: 40px;
  padding-bottom: 44px;
}
.hero-home .hero-inner {
  padding-top: 84px;
  padding-bottom: 72px;
}
.hero h1 {
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 10px 0 12px;
  max-width: 900px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}
.hero .lead {
  font-size: clamp(17px, 1.6vw, 20px);
  max-width: 760px;
  margin: 0 0 26px;
  color: #eef3ff;
}
.hero-credit {
  position: absolute;
  right: 10px;
  bottom: 6px;
  margin: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}
.hero-credit a {
  color: inherit;
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
  font-size: 14px;
  color: #d5e2ff;
}
.crumbs li + li::before {
  content: '›';
  margin-right: 6px;
  opacity: 0.7;
}
.crumbs a {
  color: #fff;
}

/* booking widget */
.bw {
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 14px;
  max-width: 1040px;
  position: relative;
}
.bw-tabs {
  display: flex;
  gap: 6px;
  margin: 0 0 10px;
}
.bw-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.bw-tab.is-active {
  background: var(--sky);
  color: var(--navy);
}
.bw-row {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1fr auto;
  gap: 8px;
}
.bw-field {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  background: #fff;
  font: inherit;
  color: inherit;
  min-height: 60px;
  cursor: pointer;
  min-width: 0;
}
.bw-field .i {
  color: var(--blue);
}
.bw-where {
  cursor: default;
  background: var(--bg-soft);
}
button.bw-field:hover {
  border-color: var(--blue);
}
.bw-field > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.bw-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.bw-value {
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bw-submit {
  min-height: 60px;
  padding: 0 28px;
  font-size: 17px;
}
.bw-note {
  margin: 10px 4px 0;
  font-size: 13px;
  color: var(--muted);
}
.bw-note.peak {
  color: #9a5b00;
}
@media (max-width: 880px) {
  .bw-row {
    grid-template-columns: 1fr 1fr;
  }
  .bw-where {
    grid-column: 1 / -1;
  }
  .bw-submit {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .bw-row {
    grid-template-columns: 1fr;
  }
  .bw {
    padding: 12px;
  }
}
.inline-widget {
  margin: 32px 0;
}
.inline-widget .bw {
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

/* popovers (calendar / guests) */
.pop {
  position: absolute;
  z-index: 60;
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 18px;
}
.pop-cal {
  width: min(720px, calc(100vw - 24px));
}
.pop-guests {
  width: min(360px, calc(100vw - 24px));
}
.cal-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--navy);
}
.chip:hover {
  border-color: var(--blue);
  background: var(--sky);
}
.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cal-nav {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--navy);
}
.cal-nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.cal-months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 640px) {
  .cal-months {
    grid-template-columns: 1fr;
  }
  .cal-month + .cal-month {
    display: none;
  }
}
.cal-month h4 {
  text-align: center;
  margin: 0 0 8px;
  font-size: 16px;
  text-transform: capitalize;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px 0;
  text-align: center;
}
.cal-dow {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  padding: 4px 0;
}
.cal-day {
  border: 0;
  background: none;
  font: inherit;
  font-size: 15px;
  height: 40px;
  cursor: pointer;
  color: var(--ink);
  position: relative;
}
.cal-day span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 auto;
  border-radius: 999px;
}
.cal-day:hover span {
  outline: 1.5px solid var(--navy);
}
.cal-day:disabled {
  color: #b8bfcc;
  cursor: default;
  text-decoration: line-through;
}
.cal-day:disabled span {
  outline: none;
}
.cal-day.in-range {
  background: var(--sky);
}
.cal-day.is-start,
.cal-day.is-end {
  background: linear-gradient(90deg, transparent 50%, var(--sky) 50%);
}
.cal-day.is-end {
  background: linear-gradient(90deg, var(--sky) 50%, transparent 50%);
}
.cal-day.is-start.is-end {
  background: none;
}
.cal-day.is-start span,
.cal-day.is-end span {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}
.cal-day.peak::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--sun);
}
.pop-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.pop-foot .btn {
  padding: 9px 22px;
}
.link-btn {
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  cursor: pointer;
}
.g-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.g-row small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}
.g-row b {
  font-weight: 700;
}
.step {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step button {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--navy);
}
.step button:disabled {
  opacity: 0.3;
  cursor: default;
}
.step output {
  min-width: 18px;
  text-align: center;
  font-weight: 700;
}
.g-ages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 0;
}
.g-ages label {
  font-size: 13px;
  color: var(--muted);
}
.g-ages select {
  width: 100%;
  font: inherit;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.g-pets {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0 2px;
  font-weight: 600;
}
.g-pets input {
  width: 20px;
  height: 20px;
  accent-color: var(--blue);
}
@media (max-width: 640px) {
  .pop.as-sheet {
    position: fixed;
    left: 0 !important;
    right: 0;
    bottom: 0;
    top: auto !important;
    width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 88vh;
    overflow: auto;
  }
}
.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 29, 77, 0.35);
  z-index: 55;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  border-radius: 999px;
  padding: 12px 22px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-d);
  color: #fff;
}
.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-light:hover {
  background: var(--sky);
  color: var(--navy);
}
.btn-block {
  width: 100%;
}

/* content */
.content-grid {
  padding-top: 44px;
  padding-bottom: 20px;
}
.prose {
  max-width: 820px;
}
.prose > h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 48px 0 14px;
}
.prose > h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 20px;
  color: var(--navy);
  margin: 28px 0 8px;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0 0 16px;
}
.prose li {
  margin-bottom: 6px;
}
.prose li::marker {
  color: var(--blue);
}
.prose blockquote {
  margin: 20px 0;
  padding: 14px 20px;
  background: var(--sky);
  border-radius: 12px;
  border-left: 4px solid var(--blue);
}
.prose blockquote p:last-child {
  margin: 0;
}
.table-wrap {
  overflow-x: auto;
  margin: 20px 0 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
th,
td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th {
  background: var(--bg-soft);
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}
tr:last-child td {
  border-bottom: 0;
}
.updated {
  font-size: 14px;
  color: var(--muted);
  margin-top: 36px;
}
.fine {
  font-size: 13px;
  color: var(--muted);
  margin: 8px 0 20px;
}
.muted {
  color: var(--muted);
}

/* cards: break out of the prose column */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin: 24px 0 10px;
  width: min(1140px, calc(100vw - 40px));
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--sky);
  overflow: hidden;
}
.card-media .thumb,
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.badge-exp {
  color: #00355f;
  background: #ffd75e;
}
.card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.card-title {
  font-size: 17px;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}
.card-title a {
  color: inherit;
  text-decoration: none;
}
.card-title a:hover {
  color: var(--blue);
}
.card-facts,
.card-rating,
.card-price {
  margin: 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.card-facts {
  color: var(--muted);
}
.card-price {
  font-weight: 700;
  color: var(--navy);
}
.card .btn {
  margin-top: auto;
  font-size: 15px;
  padding: 11px 16px;
}
.card-rating {
  margin-bottom: 8px;
}
.score {
  background: var(--ok);
  color: #fff;
  border-radius: 8px;
  padding: 2px 7px;
  font-size: 13px;
}
.score b {
  font-size: 14px;
}
.score-word {
  font-weight: 700;
}

/* CTA */
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, var(--navy), var(--blue));
  color: #fff;
  border-radius: 18px;
  padding: 20px 24px;
  margin: 28px 0;
}
.cta-expedia {
  background: linear-gradient(120deg, #00355f, #1668e3);
}
.cta-text {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 700;
}
.cta-logo {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 14px;
}

/* hotel box */
.hotelbox {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 24px 0 28px;
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, var(--sky), #fff 60%);
}
.hotelbox-head h3 {
  margin: 2px 0 10px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
}
.hotelbox dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 16px;
}
.hotelbox dt {
  font-size: 13px;
  color: var(--muted);
}
.hotelbox dd {
  margin: 0;
  font-weight: 700;
  color: var(--navy);
}
@media (max-width: 560px) {
  .hotelbox dl {
    grid-template-columns: 1fr;
  }
}

/* FAQ */
.faq {
  margin-top: 48px;
  background: var(--bg-soft);
  border-radius: 20px;
  padding: 8px 26px 14px;
}
.faq h2 {
  font-size: 26px;
  color: var(--navy);
  margin: 22px 0 6px;
}
.faq h3 {
  font-size: 18px;
  margin: 22px 0 6px;
}

/* related */
.related {
  padding-top: 28px;
  padding-bottom: 64px;
}
.related h2 {
  color: var(--navy);
  font-size: 24px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 44px 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
}
.related-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.related-card .i {
  position: absolute;
  right: 16px;
  top: 50%;
  margin-top: -10px;
  color: var(--blue);
}
.related-kicker {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
}
.related-title {
  font-weight: 700;
  line-height: 1.3;
}

/* footer */
.site-footer {
  background: var(--navy);
  color: #c9d5f2;
  padding: 52px 0 20px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.8fr;
  gap: 32px;
}
.site-footer h2 {
  color: #fff;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 6px 0 12px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 1;
}
.site-footer li {
  margin-bottom: 7px;
}
.site-footer a {
  color: #e7eeff;
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
  color: #fff;
}
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 36px;
  padding-top: 18px;
  font-size: 13px;
  color: #9fb0d8;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
