:root {
  color-scheme: light;
  --ink: #10222c;
  --muted: #5c6b73;
  --line: #d8e1e2;
  --paper: #f7f4ee;
  --white: #ffffff;
  --sea: #0c5c67;
  --sea-dark: #073943;
  --coral: #d96c4a;
  --gold: #d8a84e;
  --shadow: 0 22px 50px rgba(7, 57, 67, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: 0;
}

body::selection {
  background: rgba(216, 168, 78, 0.45);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(7, 57, 67, 0.92);
  box-shadow: 0 10px 34px rgba(7, 57, 67, 0.18);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.13);
}

.nav-links {
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(7, 57, 67, 0.38);
  backdrop-filter: blur(16px);
}

.nav-links a {
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.92rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 92vh;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  align-items: end;
  gap: clamp(20px, 4vw, 60px);
  padding: 138px clamp(18px, 5vw, 72px) 56px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background-image: url("assets/aurita-maritime-flags.jpg");
  background-position: center 60%;
  background-size: cover;
}

.hero-media::after {
  content: "";
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 57, 67, 0.9), rgba(7, 57, 67, 0.58) 48%, rgba(7, 57, 67, 0.18)),
    linear-gradient(0deg, rgba(7, 57, 67, 0.8), rgba(7, 57, 67, 0.06) 46%);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: 8.6rem;
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 3.75rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.28rem;
  line-height: 1.55;
}

.hero-actions,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button,
.filter-button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
}

.button-primary {
  color: var(--sea-dark);
  background: var(--gold);
}

.text-button {
  display: inline-flex;
  align-items: center;
  border: 0;
  padding: 0;
  color: var(--sea);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.hero-panel {
  max-width: 390px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(7, 57, 67, 0.58);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-panel span,
.selected-box span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.45rem;
  line-height: 1.12;
}

.hero-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.section-grid,
.tracking,
.plan,
.booking,
.site-footer {
  padding-inline: clamp(18px, 5vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 90px);
  padding-top: 82px;
  padding-bottom: 82px;
  background: var(--paper);
}

.intro p:last-child,
.section-heading p,
.route-copy p,
.booking-copy p,
.aboard-content p,
.site-footer p,
.form-note {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.route-band {
  display: grid;
  grid-template-columns: 0.7fr minmax(280px, 0.88fr) 0.55fr;
  min-height: 520px;
  background: var(--sea-dark);
  color: var(--white);
}

.route-copy {
  align-self: center;
  padding: clamp(42px, 6vw, 76px);
}

.route-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.route-photo,
.aboard-image {
  min-height: 320px;
  background-position: center;
  background-size: cover;
}

.route-photo-left {
  background-image: url("assets/mmm-eskaadrisoit-onboard.jpg");
  background-position: center top;
}

.route-photo-right {
  background-image: url("assets/aurita-maritime-flags.jpg");
  background-position: 66% center;
}

.tracking {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 520px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  padding-top: 82px;
  padding-bottom: 88px;
  background: #fbfaf6;
}

.tracking-copy p:not(.eyebrow) {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.tracking-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tracking-secondary {
  color: var(--sea-dark);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.tracking-widgets {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 540px;
}

.tracker-embed,
.facebook-embed {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(16, 34, 44, 0.08);
}

.tracker-embed {
  min-height: 420px;
}

.tracker-embed iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.facebook-embed iframe {
  display: block;
  width: 100%;
  max-width: 500px;
}

.plan {
  padding-top: 86px;
  padding-bottom: 96px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 30px;
}

.filters {
  margin-bottom: 28px;
}

.filter-button {
  padding: 11px 15px;
  color: var(--sea-dark);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.filter-button.is-active {
  color: var(--white);
  background: var(--sea);
  box-shadow: none;
}

.stage-grid,
.stage-card-list {
  display: grid;
  gap: 18px;
}

.stage-grid {
  grid-template-columns: 1fr;
}

.stage-section {
  display: grid;
  gap: 18px;
}

.stage-section + .stage-section {
  margin-top: 34px;
}

.stage-section-heading {
  max-width: 760px;
}

.stage-section-heading h3 {
  margin: 0 0 6px;
  font-size: 1.45rem;
}

.stage-section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.stage-card-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stage-card {
  display: grid;
  min-height: 245px;
  gap: 18px;
  align-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(16, 34, 44, 0.06);
}

.stage-card.is-full {
  background: #f0eee8;
}

.stage-card.is-sailed {
  background: #fbfaf6;
}

.stage-card.is-sailed.is-full {
  background: #f4efe3;
}

.stage-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.stage-card h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  line-height: 1.18;
}

.stage-meta {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.badge {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--sea-dark);
  background: rgba(216, 168, 78, 0.23);
  font-size: 0.78rem;
  font-weight: 800;
}

.stage-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.stage-action label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--sea);
  font-weight: 850;
}

.stage-action input {
  width: 18px;
  height: 18px;
  accent-color: var(--sea);
}

.stage-duration {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.aboard {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
  background: var(--white);
}

.aboard-image {
  min-height: 620px;
  background-image: url("assets/aurita-maritime-flags.jpg");
  background-position: 54% center;
}

.aboard-content {
  align-self: center;
  padding: clamp(42px, 6vw, 82px);
}

.aboard-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.aboard-list div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.aboard-list strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.06rem;
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.74fr);
  gap: clamp(28px, 6vw, 86px);
  padding-top: 88px;
  padding-bottom: 94px;
  background: var(--sea-dark);
  color: var(--white);
}

.booking-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.selected-box {
  display: inline-grid;
  min-width: 170px;
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.selected-box strong {
  font-size: 3rem;
  line-height: 1;
}

.booking-form {
  display: grid;
  gap: 15px;
  padding: 24px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.booking-form label {
  display: grid;
  gap: 7px;
  color: var(--sea-dark);
  font-size: 0.94rem;
  font-weight: 800;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 12px;
  color: var(--ink);
  background: #fbfaf6;
  font: inherit;
}

.booking-form input:focus,
.booking-form textarea:focus {
  border-color: var(--sea);
  outline: 3px solid rgba(12, 92, 103, 0.14);
}

.fallback-actions {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.fallback-actions a:not(.text-button) {
  color: var(--sea);
  font-weight: 850;
}

.fallback-actions div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.copy-status {
  min-height: 1.3em;
  margin: -4px 0 0;
  color: var(--sea);
  font-size: 0.9rem;
  font-weight: 750;
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  padding-bottom: 30px;
  background: #fbfaf6;
}

.site-footer p {
  max-width: 620px;
  margin: 5px 0 0;
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--sea);
  font-weight: 850;
}

.interest-bar {
  position: fixed;
  z-index: 20;
  right: clamp(14px, 4vw, 42px);
  bottom: clamp(14px, 4vw, 34px);
  left: clamp(14px, 4vw, 42px);
  display: flex;
  max-width: 760px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-inline: auto;
  padding: 14px 16px 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(7, 57, 67, 0.96);
  box-shadow: 0 18px 42px rgba(7, 57, 67, 0.28);
}

.interest-bar[hidden] {
  display: none;
}

.interest-bar span {
  display: block;
  margin-bottom: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  font-weight: 750;
}

.interest-bar strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.18;
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .booking,
  .aboard,
  .tracking,
  .route-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 124px;
  }

  .hero-panel {
    max-width: none;
  }

  .route-photo-right {
    display: none;
  }

  .stage-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aboard-image {
    min-height: 420px;
  }

  h1 {
    font-size: 5.8rem;
  }

  h2 {
    font-size: 2.9rem;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    padding-top: 12px;
  }

  .brand span:last-child {
    max-width: 92px;
    line-height: 1.05;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding: 8px 9px;
    font-size: 0.82rem;
  }

  h1 {
    font-size: 4.15rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

  .hero {
    padding-bottom: 32px;
  }

  .stage-card-list {
    grid-template-columns: 1fr;
  }

  .stage-card {
    min-height: 220px;
  }

  .route-copy,
  .aboard-content,
  .tracking {
    padding-inline: 22px;
  }

  .tracking {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .interest-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .interest-bar .button {
    width: 100%;
  }
}