:root {
  --logo-panel-blue: #104570;
}

/* One continuous brand-blue surface behind every rounded logo tab. */
.nav-brand,
.hero-brand-tab {
  background: var(--logo-panel-blue);
}

.nav-brand img,
.hero-brand-tab img {
  mix-blend-mode: normal;
}

.nav-brand {
  padding: 5px 8px;
}

.hero-brand-tab-inner {
  width: 100%;
}

.hero-brand-tab .hero-gsc,
.hero-brand-tab .hero-retreat-logo {
  background: transparent;
  border-radius: 0;
}

.hero-brand-tagline {
  align-self: stretch;
  margin: 9px 0 0;
  color: #fff;
  font-size: clamp(11px, 1vw, 14px);
  font-style: italic;
  letter-spacing: 0.012em;
  line-height: 1.35;
  opacity: 0.88;
}

.hero-section-topline {
  top: 94px;
}

@media (max-width: 760px) {
  .hero-section-topline {
    top: 80px;
  }
}

/* Expanded, stable pricing disclosures. */
.price-grid {
  align-items: stretch;
}

.price-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
}

.price-card > strong {
  white-space: nowrap;
}

.room-type {
  min-height: 0 !important;
  margin: 0 0 22px;
  padding: 12px 14px;
  border-left: 3px solid var(--yellow);
  background: rgba(7, 42, 78, 0.07);
}

.single-price .room-type {
  border-left-color: var(--navy);
  background: rgba(255, 255, 255, 0.26);
}

.price-disclosure {
  flex: 1;
  padding-top: 4px;
}

.price-disclosure h4 {
  margin: 17px 0 10px;
  font: 700 13px var(--font-head);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.typed-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.typed-line {
  position: relative;
  min-width: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.45;
}

.typed-line::before {
  content: "•";
  position: absolute;
  top: 0;
  left: 1px;
  color: var(--yellow);
  font-weight: 900;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 120ms ease, transform 120ms ease;
}

.single-price .typed-line::before {
  color: var(--navy);
}

.typed-line.is-started::before,
.typed-line.is-complete::before {
  opacity: 1;
  transform: translateX(0);
}

.typed-render {
  position: absolute;
  inset: 0 0 auto 18px;
  display: none;
}

.typed-measure {
  display: block;
  visibility: visible;
}

.pricing-typing .typed-render { display: inline; }
.pricing-typing .typed-measure { visibility: hidden; }
html:not(.pricing-typing) .typed-line::before { opacity: 1; transform: none; }

.booking-help { margin: 12px 0 0; font-size: 14px; }
.booking-help a { font-weight: 700; text-decoration: underline; }

.typed-line.is-typing .typed-render::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 1em;
  margin-left: 2px;
  background: var(--yellow);
  vertical-align: -0.12em;
  animation: booking-caret 720ms steps(1, end) infinite;
}

.single-price .typed-line.is-typing .typed-render::after {
  background: var(--navy);
}

.tax-line {
  min-height: 0 !important;
  margin: 24px 0 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(7, 42, 78, 0.2);
  font: 700 13px var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card .book-room-button {
  width: 100%;
  margin-top: auto;
  cursor: pointer;
}

.twin-price .sheen,
.single-price .sheen {
  animation: cta-breathe 3s ease-in-out infinite;
}

.pricing-policy-links {
  display: flex;
  flex: 1 1 100%;
  gap: 12px 20px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.pricing-policy-links a {
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 700;
}

@keyframes booking-caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Booking capture before PayU. */
.booking-dialog {
  width: min(920px, calc(100vw - 32px));
  max-width: none;
  max-height: min(900px, calc(100dvh - 32px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(253, 210, 77, 0.72);
  border-radius: 24px;
  background: var(--cream);
  color: var(--navy);
  box-shadow: 0 30px 90px rgba(1, 18, 35, 0.48);
}

.booking-dialog::backdrop {
  background: rgba(1, 18, 35, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.booking-dialog-shell {
  position: relative;
  max-height: min(900px, calc(100dvh - 32px));
  padding: clamp(26px, 5vw, 52px);
  overflow: auto;
  overscroll-behavior: contain;
}

.booking-close {
  position: sticky;
  z-index: 3;
  top: 0;
  float: right;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(7, 42, 78, 0.3);
  border-radius: 999px;
  padding: 7px 11px;
  min-height: 44px;
  background: rgba(248, 245, 234, 0.94);
  color: var(--navy);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.booking-dialog-heading {
  padding-right: 80px;
}

.booking-dialog-heading > span,
.booking-confirmation > span {
  color: #b98400;
  font: 700 12px var(--font-head);
  letter-spacing: 0.14em;
}

.booking-dialog-heading h2,
.booking-confirmation h2 {
  margin: 12px 0 14px;
  font-size: clamp(38px, 6vw, 70px);
  text-transform: uppercase;
}

.booking-dialog-heading p {
  max-width: 650px;
}

.booking-selection {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 26px 0;
  overflow: hidden;
  border: 1px solid rgba(7, 42, 78, 0.16);
  border-radius: 16px;
  background: rgba(7, 42, 78, 0.16);
}

.booking-selection > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  padding: 15px;
  background: #fff;
}

.booking-selection span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.booking-selection strong {
  overflow-wrap: anywhere;
  font: 700 16px var(--font-head);
}

.booking-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.booking-fields label,
.consent-row {
  font-size: 14px;
  font-weight: 700;
}

.booking-fields label > span {
  opacity: 0.58;
  font-weight: 500;
}

.booking-fields input,
.booking-fields select {
  display: block;
  width: 100%;
  min-height: 47px;
  margin-top: 7px;
  border: 1px solid rgba(7, 42, 78, 0.28);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: var(--navy);
  font: 500 16px var(--font-body);
}

.booking-fields input:focus,
.booking-fields select:focus {
  border-color: var(--navy);
  outline: 3px solid rgba(253, 210, 77, 0.6);
  outline-offset: 1px;
}

.booking-inclusions {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 22px 0;
  border-left: 3px solid var(--yellow);
  padding: 13px 15px;
  background: rgba(253, 210, 77, 0.18);
  font-size: 13px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 13px 0;
  cursor: pointer;
  line-height: 1.45;
}

.consent-row input {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--navy);
}

.consent-row a {
  border-bottom: 1px solid currentColor;
}

.booking-submit {
  width: 100%;
  margin-top: 18px;
  cursor: pointer;
}

.booking-submit[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.booking-status {
  min-height: 1.5em;
  margin: 12px 0 0;
  color: #9f2f20;
  font-size: 13px;
  font-weight: 700;
}

.booking-confirmation {
  min-height: 420px;
  padding-top: 72px;
  text-align: center;
}

.booking-confirmation > strong {
  display: block;
  margin: 24px 0;
  color: #a46f00;
  font: 700 clamp(23px, 4vw, 38px) var(--font-head);
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.booking-confirmation p {
  max-width: 600px;
  margin: 0 auto 26px;
}

body.booking-open {
  overflow: hidden;
}

body.booking-open .mobile-sticky-apply {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
  translate: 0 calc(100% + 24px) !important;
}

@media (max-width: 760px) {
  .nav-brand {
    padding: 4px 7px;
    border-radius: 14px;
  }

  .hero-brand-tab {
    max-width: calc(100vw - 40px);
    padding: 16px 17px;
  }

  .hero-brand-tagline {
    text-align: center;
  }

  .price-card {
    padding: 30px 22px;
  }

  .price-card > strong {
    font-size: clamp(53px, 18vw, 64px);
  }

  .typed-line {
    font-size: 14px;
  }

  .booking-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: none;
    border-width: 0;
    border-radius: 0;
  }

  .booking-dialog-shell {
    height: 100dvh;
    max-height: none;
    padding: 18px 18px calc(26px + env(safe-area-inset-bottom, 0px));
  }

  .booking-close {
    top: 2px;
  }

  .booking-dialog-heading {
    padding: 52px 0 0;
  }

  .booking-dialog-heading h2,
  .booking-confirmation h2 {
    font-size: clamp(36px, 13vw, 54px);
  }

  .booking-selection {
    grid-template-columns: 1fr;
  }

  .booking-fields {
    grid-template-columns: 1fr;
  }

  .booking-confirmation {
    padding-top: 92px;
  }
}

@media (max-width: 360px) {
  .price-card {
    padding-inline: 17px;
  }

  .price-card > strong {
    font-size: 50px;
  }

  .booking-dialog-shell {
    padding-inline: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .typed-render {
    position: static;
  }

  .typed-render:empty {
    display: none;
  }

  .typed-measure {
    visibility: visible;
  }

  .typed-line::before {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .typed-line.is-typing .typed-render::after {
    display: none;
  }
}
