:root {
  --color-bg: #f6f9fc;
  --color-surface: #ffffff;
  --color-text: #14263c;
  --color-text-strong: #10263f;
  --color-muted: #607184;
  --color-label: #637589;
  --color-nav: #58697c;
  --color-border: #e5ebf2;
  --color-border-strong: #dbe4ed;
  --color-brand: #0874df;
  --color-brand-dark: #0868d9;
  --color-brand-light: #1ec3e5;
  --color-brand-soft: #e8f4ff;
  --color-success: #087943;
  --color-success-soft: #dcf8e9;
  --color-footer-bg: #0f243b;
  --color-footer-text: #adc1d4;
  --shadow-header: 0 2px 12px rgba(15, 39, 66, 0.06);
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --fcu-content-max: 1180px;
  --fcu-page-gutter: 20px;
  --fcu-page-gutter-sm: 16px;
  --fcu-read-max: 720px;
  --fcu-section-y: 64px;
  --container: var(--fcu-content-max);
  --header-height: 70px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--color-bg);
  color: var(--color-text);
}

img {
  max-width: 100%;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - (2 * var(--fcu-page-gutter))));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-header);
}

.header-inner {
  position: relative;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 2;
}

.header-stat-strip {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: min(var(--container), calc(100% - (2 * var(--fcu-page-gutter))));
  margin-inline: auto;
  padding: 0 0 8px;
}

.header-stat-demo {
  display: none;
}

.header-stat-demo[hidden] {
  display: none !important;
}

body.fcu-stats-demo .header-stat-demo:not([hidden]) {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0 7px;
  border-radius: 8px;
  background: #ffe7b3;
  color: #7a4b00;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.4px;
}

.header-stat-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  min-width: 0;
  border-radius: 10px;
  background: #f4f9fd;
}

.header-stat-metrics--single {
  grid-template-columns: 1fr;
}

.header-stat-metric {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  padding: 5px 12px;
  text-decoration: none;
  color: inherit;
}

.header-stat-metric + .header-stat-metric {
  border-left: 1px solid #d7e6f2;
}

.header-stat-metric:hover {
  background: #eaf4fc;
}

.header-stat-metric:first-child {
  border-radius: 10px 0 0 10px;
}

.header-stat-metric:last-child {
  border-radius: 0 10px 10px 0;
}

.header-stat-metrics--single .header-stat-metric,
.header-stat-metrics--single .header-stat-metric:first-child,
.header-stat-metrics--single .header-stat-metric:last-child {
  border-radius: 10px;
}

.header-stat-num {
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.1;
  letter-spacing: -0.4px;
  color: var(--color-success);
}

.header-stat-of {
  display: inline-block;
  margin: 0 0.35em;
  font-size: 0.62em;
  font-weight: 850;
  letter-spacing: 0.06em;
  color: #5b6e82;
}

.header-stat-text {
  min-width: 0;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  line-height: 1.25;
  color: #173149;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--color-text);
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-brand-dark), var(--color-brand-light));
  color: white;
  font-size: 21px;
}

.brand-name {
  white-space: nowrap;
}

.brand-free {
  color: var(--color-brand);
}

.nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 14px;
  font-weight: 750;
  color: var(--color-nav);
}

.nav a:hover {
  color: var(--color-brand);
}

.nav a.is-current:not(.nav-button) {
  color: var(--color-brand);
}

.nav-button {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--color-brand);
  color: white !important;
}

.nav-button:hover,
.nav-button.is-current {
  background: var(--color-brand-dark);
}

.fcu-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-nav);
}

.fcu-auth-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-nav);
  font-size: 13px;
  font-weight: 750;
}

.fcu-auth-link:hover,
.fcu-auth-create:hover {
  color: var(--color-brand);
}

.fcu-auth-signedin {
  color: var(--color-text);
  font-weight: 700;
  white-space: nowrap;
}

.fcu-auth-agent {
  color: var(--color-muted);
  font-weight: 650;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: white;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-footer {
  padding: 46px 0;
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  flex-wrap: wrap;
}

.site-footer strong {
  color: white;
}

.footer-small {
  margin-top: 7px;
  max-width: 620px;
  font-size: 12px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 800;
}

.footer-nav a:hover {
  color: white;
}

.field label {
  display: block;
  margin: 0 0 7px 3px;
  font-size: 12px;
  font-weight: 850;
  color: var(--color-label);
}

.field select,
.field input {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-strong);
  background: white;
  color: #20364e;
}

.field input:focus,
.field select:focus,
.nav-toggle:focus-visible,
.nav a:focus-visible,
.brand:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
}

.button,
.search-button,
.deal-cta {
  min-height: 47px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-brand);
  color: white;
  font-weight: 900;
  white-space: nowrap;
}

.button:hover,
.search-button:hover,
.deal-cta:hover,
.nav-button:hover {
  filter: brightness(0.97);
}

.button:disabled,
.search-button:disabled {
  background: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
  filter: none;
}

.page-main {
  min-height: calc(100vh - 220px);
}

body.fcu-modal-open {
  overflow: hidden;
}

.fcu-placeholder-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.fcu-placeholder-modal[hidden] {
  display: none;
}

.fcu-placeholder-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 36, 59, 0.48);
}

.fcu-placeholder-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  padding: 24px 22px 20px;
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: 0 18px 50px rgba(15, 36, 59, 0.22);
}

.fcu-placeholder-modal__title {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.3px;
  color: #152b42;
}

.fcu-placeholder-modal__message {
  margin: 12px 0 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-muted);
}

.fcu-placeholder-modal__ok {
  width: 100%;
}

.fcu-send-details-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 20px;
}

.fcu-send-details-modal[hidden] {
  display: none;
}

.fcu-send-details-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 36, 59, 0.5);
}

.fcu-send-details-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px 24px 22px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: 0 18px 50px rgba(15, 36, 59, 0.22);
}

.fcu-send-details-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--color-muted);
  font-size: 28px;
  line-height: 1;
  padding: 4px 8px;
}

.fcu-send-details-modal__title {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.3px;
  color: #152b42;
}

.fcu-send-details-modal__subtitle {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-muted);
}

.fcu-send-details-modal__sailing {
  margin: 14px 0 0;
  font-size: 14px;
  font-weight: 700;
  color: #1a334d;
}

.fcu-send-details-modal__form {
  margin-top: 18px;
}

.fcu-send-details-modal__label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1a334d;
}

.fcu-send-details-modal__input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #d5deea;
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  color: #152b42;
  background: #fff;
}

.fcu-send-details-modal__input:focus {
  outline: 2px solid rgba(47, 109, 180, 0.28);
  border-color: #2f6db4;
}

.fcu-send-details-modal__status {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--color-muted);
}

.fcu-send-details-modal__status.is-error {
  color: #b42318;
}

.fcu-send-details-modal__submit {
  width: 100%;
  margin-top: 16px;
}

.fcu-send-details-modal__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.fcu-send-details-modal__success-title {
  margin: 8px 0 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--color-success);
}

.fcu-send-details-modal__success-copy {
  margin: 10px 0 20px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-muted);
}

.fcu-send-details-modal__done {
  width: 100%;
}

.fcu-action-modal .fcu-send-details-modal__dialog {
  width: min(560px, 100%);
}

.fcu-action-modal__notice {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-muted);
}

.fcu-action-modal__multi-cabin {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #1a334d;
}

.fcu-action-modal__multi-cabin strong {
  font-weight: 800;
}

.fcu-action-modal__cabin-requested {
  margin: 0 0 4px;
}

.fcu-action-modal__cabin-value {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #d5deea;
  border-radius: 10px;
  background: #f7fbff;
  font-size: 16px;
  font-weight: 700;
  color: #152b42;
}

.fcu-action-modal__hint {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--color-muted);
}

.fcu-action-modal__fieldset {
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}

.fcu-action-modal__radio,
.fcu-action-modal__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.4;
  color: #152b42;
  cursor: pointer;
}

.fcu-action-modal__radio input,
.fcu-action-modal__check input {
  margin-top: 3px;
  flex: 0 0 auto;
}

.fcu-action-modal__guest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 16px 0 4px;
}

.fcu-action-modal__guest h3 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #152b42;
}

.fcu-action-modal__guest .fcu-send-details-modal__label {
  margin-top: 10px;
}

.fcu-action-modal__consent {
  margin-top: 18px;
}

.scarcity-deals-cta {
  margin: 18px 0 0;
}

@media (max-width: 640px) {
  .fcu-action-modal__guest-grid {
    grid-template-columns: 1fr;
  }
}

.not-found {
  padding: 90px 0;
  text-align: center;
}

.not-found h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: -1.4px;
}

.not-found p {
  margin: 0 auto 28px;
  max-width: 520px;
  color: var(--color-muted);
  font-size: 18px;
  line-height: 1.6;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.not-found-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 47px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-weight: 900;
}

.not-found-actions a.button {
  color: white;
}

.not-found-actions a.button-secondary {
  border: 1px solid var(--color-border-strong);
  background: white;
  color: var(--color-text);
}

@media (max-width: 1200px) {
  .nav {
    gap: 14px;
    font-size: 13px;
  }
}

@media (max-width: 1100px) {
  .nav {
    gap: 12px;
    font-size: 12px;
  }

  .header-stat-num {
    font-size: 16px;
  }

  .header-stat-text {
    font-size: 9px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-name {
    white-space: normal;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px 0 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-header);
  }

  .nav.is-open {
    display: flex;
    z-index: 5;
  }

  .nav a {
    padding: 12px 4px;
  }

  .nav-button {
    margin-top: 8px;
    text-align: center;
  }

  .fcu-auth {
    margin: 10px 4px 0;
    flex-wrap: wrap;
  }
}

@media (max-width: 620px) {
  :root {
    --fcu-page-gutter: var(--fcu-page-gutter-sm);
  }

  .site-header {
    display: contents;
  }

  .header-inner {
    position: sticky;
    top: 0;
    z-index: 101;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-header);
  }

  .header-stat-strip {
    gap: 6px;
    padding-bottom: 6px;
  }

  .header-stat-metrics {
    grid-template-columns: 1fr;
  }

  .header-stat-metric {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    padding: 8px 10px;
  }

  .header-stat-metric + .header-stat-metric {
    border-left: none;
    border-top: 1px solid #d7e6f2;
  }

  .header-stat-metric:first-child {
    border-radius: 10px 10px 0 0;
  }

  .header-stat-metric:last-child {
    border-radius: 0 0 10px 10px;
  }

  .header-stat-metrics--single .header-stat-metric,
  .header-stat-metrics--single .header-stat-metric:first-child,
  .header-stat-metrics--single .header-stat-metric:last-child {
    border-radius: 10px;
  }

  .header-stat-num {
    font-size: 16px;
  }

  .header-stat-text {
    font-size: 10px;
    line-height: 1.35;
  }
}
