/* =========================================================
   Круизы из Казани — 2027
   ========================================================= */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/Manrope-400_800-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/Manrope-400_800-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Prata";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Prata-400-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Prata";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Prata-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f6f2ea;
  --paper-2: #efe8dc;
  --paper-3: #fbf8f2;
  --ink: #122a29;
  --ink-soft: #23403d;
  --muted: #5f6f6b;
  --muted-2: #8a9894;
  --line: #e2d9ca;
  --line-dark: #cfc4b2;
  --green: #0f4b42;
  --green-deep: #0b3a33;
  --green-dark: #082a25;
  --accent: #bd5530;
  --accent-dark: #a74625;
  --sand: #e9dcc6;
  --gold: #c9a565;
  --white: #fffdf9;
  --shadow-sm: 0 1px 2px rgba(18, 42, 41, 0.05), 0 8px 24px -12px rgba(18, 42, 41, 0.14);
  --shadow-md: 0 2px 4px rgba(18, 42, 41, 0.05), 0 22px 44px -22px rgba(18, 42, 41, 0.28);
  --shadow-lg: 0 30px 70px -30px rgba(8, 42, 37, 0.45);
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --wrap: 1240px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Prata", "Times New Roman", Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  flex: none;
}

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--green);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: min(var(--wrap), 100% - 48px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: 10px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s,
    transform 0.2s, box-shadow 0.2s;
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 10px 24px -12px rgba(15, 75, 66, 0.7);
}
.btn--primary:hover {
  background: var(--green-deep);
  box-shadow: 0 14px 28px -12px rgba(15, 75, 66, 0.8);
}
.btn--ghost {
  border-color: var(--line-dark);
  color: var(--ink);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--ink);
}
.btn--outline {
  border-color: var(--line-dark);
  background: var(--white);
  color: var(--ink);
}
.btn--outline:hover {
  border-color: var(--green);
  color: var(--green);
}
.btn--light {
  background: var(--paper);
  color: var(--green-deep);
}
.btn--light:hover {
  background: #fff;
}
.btn--sm {
  padding: 10px 18px;
  font-size: 14px;
}
.btn--lg {
  padding: 16px 30px;
  font-size: 16px;
}
.btn--wide {
  width: 100%;
}
.btn__icon {
  width: 20px;
  height: 20px;
}
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.link-btn {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1px solid rgba(189, 85, 48, 0.35);
  padding-bottom: 1px;
  transition: border-color 0.2s, color 0.2s;
}
.link-btn:hover {
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 242, 234, 0.88);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.header.is-scrolled {
  border-color: var(--line);
  background: rgba(246, 242, 234, 0.96);
  box-shadow: 0 8px 30px -24px rgba(18, 42, 41, 0.5);
}
.header__in {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: var(--paper);
  flex: none;
}
.brand__mark svg {
  width: 32px;
  height: 32px;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand__text strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.brand__text span {
  margin-top: 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 14.5px;
  font-weight: 600;
}
.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nav a:hover {
  color: var(--ink);
}
.nav a:hover::after {
  transform: scaleX(1);
}

.header__cta {
  margin-left: 4px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  margin-left: auto;
  place-items: center;
  gap: 4px;
  align-content: center;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.7px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5.7px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5.7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 64px 0 76px;
  overflow: hidden;
}
.hero__wash {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 780px;
  height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(201, 165, 101, 0.18), rgba(201, 165, 101, 0) 62%);
  pointer-events: none;
}
.hero__wash::after {
  content: "";
  position: absolute;
  left: -46%;
  top: 30%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 75, 66, 0.1), rgba(15, 75, 66, 0) 65%);
}
.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(189, 85, 48, 0.12);
}
.eyebrow--light {
  color: rgba(246, 242, 234, 0.62);
}

.hero__title {
  margin-top: 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 5.7vw, 82px);
  line-height: 0.99;
  letter-spacing: -0.022em;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}
.hero__lead {
  margin-top: 26px;
  max-width: 490px;
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--muted);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero__stats {
  display: flex;
  gap: clamp(26px, 4vw, 48px);
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 5px;
}
.hero__stat dd {
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero__stat dd span {
  font-size: 20px;
}
.hero__stat dt {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hero__visual {
  position: relative;
}
.hero__figure {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--paper-2);
}
.hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  pointer-events: none;
}
.hero__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.25;
  object-fit: cover;
}
.hero__figure figcaption {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(10, 34, 31, 0.55);
  color: rgba(255, 253, 249, 0.92);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
}
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 20px -18px -18px 20px;
  border: 1px solid rgba(15, 75, 66, 0.3);
  border-radius: 26px;
  z-index: -1;
}

.hero__card {
  position: absolute;
  left: -26px;
  bottom: -26px;
  display: grid;
  gap: 3px;
  min-width: 236px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}
.hero__card-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero__card-date {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.hero__card-route {
  font-size: 13.5px;
  color: var(--muted);
}
.hero__card-price {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}
.hero__card-price b {
  font-size: 17px;
  color: var(--ink);
}

.hero__stamp {
  position: absolute;
  right: -22px;
  top: -34px;
  width: 104px;
  height: 104px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-dark);
  color: var(--green);
  transform: rotate(8deg);
  box-shadow: var(--shadow-sm);
}
.hero__stamp span {
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__stamp b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.1;
}

/* ---------- Search band ---------- */

.search {
  position: relative;
  background: var(--green-deep);
  color: var(--paper);
  padding: 30px 0 26px;
  overflow: hidden;
}
.search::before {
  content: "";
  position: absolute;
  inset: auto -5% -140px;
  height: 260px;
  background: radial-gradient(ellipse at 50% 0%, rgba(201, 165, 101, 0.16), transparent 65%);
  pointer-events: none;
}
.search__form {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.15fr 0.95fr auto;
  gap: 0;
  align-items: stretch;
  padding: 6px;
  border: 1px solid rgba(246, 242, 234, 0.18);
  border-radius: 18px;
  background: rgba(246, 242, 234, 0.055);
}
.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 20px;
  border-right: 1px solid rgba(246, 242, 234, 0.14);
}
.field label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.52);
}
.field select {
  width: 100%;
  padding: 0 22px 0 0;
  border: 0;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='m1 1.5 5 5 5-5' stroke='%23f6f2ea' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 2px center;
  background-size: 12px;
  color: var(--paper);
  font-size: 15.5px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  text-overflow: ellipsis;
}
.field select option {
  color: var(--ink);
  background: var(--white);
  font-weight: 500;
}
.field select:focus-visible {
  outline-offset: 4px;
}
.search__submit {
  align-self: stretch;
  margin-left: 14px;
  padding-inline: 30px;
  background: var(--accent);
  box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.65);
}
.search__submit:hover {
  background: var(--accent-dark);
}
.search__hint {
  position: relative;
  margin-top: 14px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: rgba(246, 242, 234, 0.48);
}

/* ---------- Section scaffolding ---------- */

.section {
  padding: 92px 0;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}
.section-head--split {
  align-items: flex-end;
}
.section-title {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.section-note {
  max-width: 360px;
  padding-bottom: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  text-align: right;
}

/* ---------- Destinations ---------- */

.destinations {
  padding-bottom: 84px;
}
.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.dest-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 3.9;
  border-radius: 20px;
  overflow: hidden;
  text-align: left;
  color: var(--white);
  isolation: isolate;
  background: var(--green-dark);
}
.dest-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.dest-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 30, 27, 0.28) 0%, rgba(8, 30, 27, 0) 34%, rgba(8, 30, 27, 0.78) 100%);
  z-index: 1;
}
.dest-card__top {
  position: absolute;
  z-index: 2;
  left: 14px;
  top: 14px;
  display: flex;
  gap: 8px;
}
.dest-card__count {
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(10, 34, 31, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.dest-card__body {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 17px;
  display: grid;
  gap: 5px;
}
.dest-card__body strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.dest-card__body span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 253, 249, 0.78);
}
.dest-card__body svg {
  width: 18px;
  height: 18px;
  opacity: 0.75;
  transition: transform 0.25s;
}
.dest-card.is-active {
  box-shadow: 0 0 0 3px var(--accent);
}
.dest-card:hover img {
  transform: scale(1.055);
}
.dest-card:hover .dest-card__body svg {
  transform: translate(2px, -2px);
  opacity: 1;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips--dest {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.6);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background-color 0.18s, border-color 0.18s, color 0.18s;
}
.chip:hover {
  border-color: var(--ink-soft);
  background: var(--white);
}
.chip.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.chip__count {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted-2);
  transition: color 0.18s;
}
.chip.is-active .chip__count {
  color: rgba(255, 253, 249, 0.65);
}

/* ---------- Catalog ---------- */

.catalog {
  background: var(--paper-3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.catalog__layout {
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.filters {
  position: sticky;
  top: 98px;
  padding: 22px 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.filters__head > span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.filter-group {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.filter-group h3 {
  margin-bottom: 11px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
}
.chips--filters {
  gap: 6px;
}
.chips--filters .chip {
  padding: 6px 10px;
  font-size: 12px;
  background: transparent;
}
.chips--filters .chip__count {
  font-size: 10.5px;
}
.chips--filters .chip.is-active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.chips--filters .chip.is-active .chip__count {
  color: rgba(255, 253, 249, 0.65);
}

.price-filter {
  display: grid;
  gap: 9px;
}
.price-filter__value {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
}
.price-filter input[type="range"] {
  width: 100%;
  height: 3px;
  margin: 5px 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green) var(--fill, 100%), var(--line) var(--fill, 100%));
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.price-filter input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--green);
  box-shadow: 0 2px 6px rgba(18, 42, 41, 0.25);
}
.price-filter input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--green);
  box-shadow: 0 2px 6px rgba(18, 42, 41, 0.25);
}
.price-filter__scale {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--muted-2);
}

.select {
  width: 100%;
  padding: 10px 34px 10px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='m1 1.5 5 5 5-5' stroke='%235f6f6b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 13px center;
  background-size: 11px;
  font-size: 13.5px;
  font-weight: 500;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.select:hover {
  border-color: var(--line-dark);
}
.select:focus-visible {
  border-color: var(--green);
  outline-offset: 2px;
}

.filters__foot {
  padding-top: 18px;
  display: grid;
  gap: 6px;
  justify-items: start;
}
.filters__foot p {
  font-size: 12px;
  color: var(--muted);
}

.catalog__main {
  min-width: 0;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.search-input {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.search-input svg {
  position: absolute;
  left: 15px;
  width: 18px;
  height: 18px;
  color: var(--muted-2);
  pointer-events: none;
}
.search-input input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input input::placeholder {
  color: var(--muted-2);
}
.search-input input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 75, 66, 0.09);
}
.search-input input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
.sort {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.sort > span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.sort .select {
  width: auto;
  min-width: 196px;
  height: 48px;
  border-radius: 999px;
  padding-left: 17px;
}
.filters-toggle {
  display: none;
  height: 48px;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 14px;
}
.filters-toggle__count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}
.active-filters:empty {
  display: none;
}
.active-filters .chip {
  padding: 5px 8px 5px 12px;
  font-size: 12px;
  background: var(--white);
}
.active-filters .chip svg {
  width: 13px;
  height: 13px;
  opacity: 0.55;
}
.active-filters .chip:hover svg {
  opacity: 1;
}

.result-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.result-count {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.result-sort-note {
  font-size: 12.5px;
  color: var(--accent);
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-dark);
  box-shadow: var(--shadow-md);
}
.card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.card:hover .card__media img {
  transform: scale(1.045);
}
.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 30, 27, 0.18), transparent 38%);
  pointer-events: none;
}
.card__badges {
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.badge {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(8, 30, 27, 0.62);
  backdrop-filter: blur(6px);
}
.badge--hot {
  background: var(--accent);
}
.badge--promo {
  background: rgba(255, 253, 249, 0.9);
  color: var(--green);
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card__duration {
  position: absolute;
  z-index: 2;
  right: 12px;
  top: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.93);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  backdrop-filter: blur(6px);
}
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
}
.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
}
.card__route {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.015em;
}
.card__route span {
  color: var(--muted-2);
  font-weight: 600;
}
.card__stops {
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.card__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-dark);
}
.card__meta .muted {
  color: var(--muted);
  font-weight: 500;
}
.card__ship {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
  min-width: 0;
}
.card__ship svg {
  width: 14px;
  height: 14px;
  color: var(--gold);
}
.card__ship b {
  font-weight: 600;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card__ship .company {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}
.card__price {
  display: grid;
  gap: 1px;
}
.card__price small {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}
.card__price b {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.card__price span {
  font-size: 10.5px;
  color: var(--muted-2);
}
.card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.card__cta svg {
  width: 15px;
  height: 15px;
}
.card:hover .card__cta {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.load-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
}
.load-more__note {
  font-size: 12px;
  color: var(--muted-2);
}

.empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 64px 24px;
  background: var(--white);
  border: 1px dashed var(--line-dark);
  border-radius: var(--r-lg);
  text-align: center;
}
.empty__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--green);
}
.empty__icon svg {
  width: 34px;
  height: 34px;
}
.empty h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
}
.empty p {
  max-width: 340px;
  font-size: 14px;
  color: var(--muted);
}
.empty .btn {
  margin-top: 10px;
}

/* ---------- About ---------- */

.about {
  padding-top: 96px;
}
.about__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.about__lead {
  margin: 24px 0 30px;
  max-width: 440px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}
.steps {
  display: grid;
}
.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.step:last-child {
  border-bottom: 1px solid var(--line);
}
.step__num {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--accent);
  padding-top: 3px;
}
.step h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.step p {
  grid-column: 2;
  margin-top: 7px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 78px;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}
.fact {
  display: grid;
  gap: 8px;
  align-content: start;
}
.fact__num {
  font-family: var(--serif);
  font-size: clamp(28px, 2.8vw, 38px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--green);
}
.fact__label {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Fleet band ---------- */

.fleet {
  margin-top: 92px;
  padding: 74px 0;
  background: var(--green-deep);
  color: var(--paper);
  overflow: hidden;
}
.fleet__in {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.fleet__copy h2 {
  margin: 16px 0 20px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.fleet__copy p {
  max-width: 440px;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(246, 242, 234, 0.64);
}
.fleet__copy .btn {
  margin-top: 28px;
}
.fleet__ships {
  position: relative;
  height: 320px;
}
.fleet__ship {
  position: absolute;
  overflow: hidden;
  border-radius: 18px;
  background: var(--green-dark);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.fleet__ship img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.fleet__ship span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(8, 30, 27, 0.6);
  backdrop-filter: blur(6px);
  font-size: 11px;
  font-weight: 700;
}
.fleet__ship--1 {
  right: 31%;
  top: 0;
  width: 60%;
  aspect-ratio: 4 / 3;
  transform: rotate(-4deg);
}
.fleet__ship--2 {
  right: 0;
  bottom: 0;
  width: 55%;
  aspect-ratio: 4 / 3;
  transform: rotate(3deg);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--green-dark);
  color: rgba(246, 242, 234, 0.8);
  padding-top: 64px;
}
.footer__in {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.8fr 0.7fr;
  gap: 48px;
  padding-bottom: 48px;
}
.brand--footer {
  margin-bottom: 16px;
}
.brand--footer .brand__mark {
  background: rgba(246, 242, 234, 0.1);
  color: var(--paper);
}
.brand--footer .brand__text strong {
  color: var(--paper);
}
.brand--footer .brand__text span {
  color: rgba(246, 242, 234, 0.45);
}
.footer__brand p {
  max-width: 320px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(246, 242, 234, 0.48);
}
.footer__col {
  display: grid;
  gap: 9px;
  align-content: start;
}
.footer__col h4 {
  margin-bottom: 5px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.4);
}
.footer__col a {
  font-size: 13px;
  color: rgba(246, 242, 234, 0.78);
  transition: color 0.2s;
}
.footer__col a:hover {
  color: var(--white);
}
.footer__bottom {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(246, 242, 234, 0.1);
  font-size: 11.5px;
  color: rgba(246, 242, 234, 0.42);
}
.footer__disclaimer {
  max-width: 720px;
  line-height: 1.55;
}

/* ---------- Modal / detail ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 28, 25, 0.62);
  backdrop-filter: blur(5px);
  animation: fade 0.2s ease;
}
.modal__panel {
  position: relative;
  width: min(1000px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  overscroll-behavior: contain;
  background: var(--paper);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  animation: rise 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.modal__close {
  position: absolute;
  z-index: 5;
  right: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: background-color 0.2s, transform 0.2s;
}
.modal__close:hover {
  background: #fff;
  transform: rotate(90deg);
}
.modal__close svg {
  width: 19px;
  height: 19px;
}
.modal__content {
  padding: 0 0 34px;
}

@keyframes fade {
  from { opacity: 0; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
}

.detail__gallery {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 3px;
  height: 340px;
  background: var(--paper-2);
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}
.detail__gallery-main {
  position: relative;
  overflow: hidden;
}
.detail__gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail__gallery-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 30, 27, 0.18), transparent 40%);
}
.detail__gallery-main,
.detail__gallery-thumb {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  overflow: hidden;
  cursor: zoom-in;
  text-align: left;
}
.detail__gallery-main img,
.detail__gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.detail__gallery-main:hover img,
.detail__gallery-thumb:hover img {
  transform: scale(1.03);
}
.detail__gallery--single {
  grid-template-columns: 1fr;
}
.detail__gallery-side {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3px;
  min-height: 0;
}
.detail__gallery-side--single {
  grid-template-rows: 1fr;
}
.detail__gallery-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(8, 30, 27, 0.45);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(2px);
  cursor: pointer;
}
.detail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 34px 24px;
  border-bottom: 1px solid var(--line);
}
.detail__head-main {
  max-width: 640px;
}
.detail__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.detail__badges .badge {
  background: var(--paper-2);
  color: var(--ink-soft);
}
.detail__badges .badge--hot {
  background: var(--accent);
  color: var(--white);
}
.detail__badges .badge--promo {
  background: rgba(15, 75, 66, 0.09);
  color: var(--green);
}
.detail__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.detail__title .arrow {
  color: var(--accent);
  padding: 0 4px;
}
.detail__sub {
  margin-top: 9px;
  font-size: 13px;
  color: var(--muted);
}
.detail__head-price {
  display: grid;
  gap: 2px;
  justify-items: end;
  padding-top: 4px;
}
.detail__head-price small {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.detail__head-price b {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.detail__head-price span {
  font-size: 11px;
  color: var(--muted-2);
}

.detail__body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
  gap: 34px;
  padding: 28px 34px 0;
}
.detail__section + .detail__section {
  margin-top: 30px;
}
.detail__section > h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.detail__section > h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.itinerary {
  position: relative;
  display: grid;
  gap: 0;
}
.itin {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
}
.itin::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.itin:first-child::before { top: 50%; }
.itin:last-child::before { bottom: 50%; }
.itin__dot {
  position: relative;
  z-index: 1;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1.5px solid var(--line-dark);
  background: var(--paper);
  margin-left: 1px;
}
.itin:first-child .itin__dot,
.itin:last-child .itin__dot {
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 75, 66, 0.1);
}
.itin__city {
  font-size: 14.5px;
  font-weight: 600;
}
.itin__tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.itin.is-return .itin__city {
  color: var(--muted);
  font-weight: 500;
}
.itin.is-return .itin__dot {
  background: var(--paper);
  border-style: dashed;
  box-shadow: none;
}

.detail__ship {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 18px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.detail__ship img {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
}
.detail__ship h3,
.detail__ship h4 {
  display: block;
  margin-bottom: 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
}
.detail__ship h3 a,
.detail__ship .ship-meta a {
  color: var(--green);
}
.detail__ship h3 a:hover,
.detail__ship .ship-meta a:hover {
  text-decoration: underline;
}
.detail__ship .ship-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.detail__ship .ship-desc {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.detail__note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-2);
  padding-top: 10px;
}

.booking {
  position: sticky;
  top: 12px;
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  align-self: start;
}
.booking__label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.booking__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.booking__price b {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.booking__price span {
  font-size: 12px;
  color: var(--muted);
}
.booking__dates {
  display: grid;
  gap: 7px;
  padding: 13px 0;
  border-block: 1px solid var(--line);
  font-size: 13px;
}
.booking__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.booking__row span {
  color: var(--muted);
}
.booking__row b {
  font-weight: 700;
  text-align: right;
}
.booking__promo {
  padding: 9px 12px;
  border-radius: 9px;
  background: rgba(189, 85, 48, 0.08);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-dark);
}
.booking .btn {
  width: 100%;
}
.booking__note {
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--muted-2);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 22, 20, 0.92);
}
.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 10px;
}
.lightbox__close {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
}
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__count {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: toast-in 0.25s ease;
}
@keyframes toast-in {
  from { opacity: 0; transform: translate(-50%, 8px); }
}

/* ---------- Ships page ---------- */

.page-hero {
  position: relative;
  padding: 64px 0 56px;
  background: var(--green-deep);
  color: var(--paper);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -60%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 165, 101, 0.17), transparent 62%);
}
.page-hero__in {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.page-hero h1 {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.page-hero p {
  margin-top: 16px;
  max-width: 520px;
  font-size: 15px;
  color: rgba(246, 242, 234, 0.62);
}
.page-hero__stats {
  display: flex;
  gap: 36px;
  flex: none;
}
.page-hero__stat {
  display: grid;
  gap: 4px;
}
.page-hero__stat b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
}
.page-hero__stat span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.45);
}
.page-hero .breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: rgba(246, 242, 234, 0.45);
  margin-bottom: 18px;
}
.page-hero .breadcrumbs a:hover {
  color: var(--paper);
}

.ships-section {
  padding: 56px 0 96px;
}
.ships-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 26px;
}
.ships-toolbar .search-input {
  max-width: 420px;
}
.ships-toolbar .select {
  width: auto;
  min-width: 200px;
  height: 48px;
  border-radius: 999px;
  padding-left: 17px;
}
.ships-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ship-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}
.ship-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-dark);
  box-shadow: var(--shadow-md);
}
.ship-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-2);
}
.ship-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.ship-card:hover .ship-card__media img {
  transform: scale(1.045);
}
.ship-card__rating {
  position: absolute;
  right: 12px;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.93);
  font-size: 11.5px;
  font-weight: 800;
  backdrop-filter: blur(6px);
}
.ship-card__rating svg {
  width: 13px;
  height: 13px;
  color: var(--gold);
}
.ship-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 17px 19px 19px;
}
.ship-card__body h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.ship-card__class {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}
.ship-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px;
  color: var(--muted);
}
.ship-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 15px;
}
.ship-card__foot .count {
  font-size: 11px;
  color: var(--muted-2);
}
.ship-card__foot .count b {
  display: block;
  font-size: 15px;
  color: var(--ink-soft);
}
.ship-card__foot .price {
  font-size: 11px;
  color: var(--muted-2);
  text-align: right;
}
.ship-card__foot .price b {
  display: block;
  font-size: 16px;
  color: var(--ink);
}
.ship-card__link {
  margin-top: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
}
.ship-card__link svg {
  width: 14px;
  height: 14px;
}

.ship-detail__media {
  height: 300px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}
.ship-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ship-detail__head {
  padding: 26px 34px;
  border-bottom: 1px solid var(--line);
}
.ship-detail__head h1,
.ship-detail__head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.ship-detail__head p {
  margin-top: 7px;
  font-size: 13px;
  color: var(--muted);
}
.ship-detail__body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 32px;
  padding: 26px 34px 34px;
}
.ship-detail__desc p {
  font-size: 14px;
  line-height: 1.68;
  color: var(--muted);
  margin-bottom: 12px;
}
.spec-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 42px;
  margin-top: 6px;
}
.spec-table div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
}
.spec-table span {
  color: var(--muted);
}
.spec-table b {
  font-weight: 700;
}
.facility-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.facility-list span {
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--paper-2);
  font-size: 11.5px;
  color: var(--ink-soft);
}
.ship-cruises {
  display: grid;
  gap: 8px;
}
.ship-cruise {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  text-align: left;
  transition: border-color 0.2s, background-color 0.2s;
}
.ship-cruise:hover {
  border-color: var(--green);
  background: #fff;
}
.ship-cruise .route {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.ship-cruise .when {
  font-size: 11px;
  color: var(--muted);
}
.ship-cruise .price {
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

/* ---------- Responsive ---------- */

@media (max-width: 1120px) {
  .hero__in {
    grid-template-columns: 1fr 0.92fr;
    gap: 36px;
  }
  .hero__stamp {
    right: -8px;
    top: -22px;
    width: 88px;
    height: 88px;
  }
  .hero__stamp b { font-size: 21px; }
  .dest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dest-card {
    aspect-ratio: 16 / 11;
  }
  .catalog__layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
  }
  .ships-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__in {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    row-gap: 34px;
  }
}

@media (max-width: 960px) {
  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 78px;
    z-index: 55;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 10px 24px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .nav a:last-child {
    border-bottom: 0;
  }
  .header__cta {
    display: none;
  }
  .burger {
    display: grid;
  }
  .hero {
    padding-top: 44px;
  }
  .hero__in {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__lead {
    max-width: 560px;
  }
  .hero__visual {
    max-width: 620px;
    width: 100%;
  }
  .hero__figure img {
    aspect-ratio: 16 / 10;
  }
  .hero__card {
    left: auto;
    right: 18px;
    bottom: -30px;
  }
  .search__form {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
  }
  .search__submit {
    grid-column: 1 / -1;
    margin: 10px 0 0;
    padding-block: 15px;
  }
  .field {
    border-right: 0;
    border-bottom: 1px solid rgba(246, 242, 234, 0.14);
    padding: 10px 16px;
  }
  .field--price {
    border-bottom: 0;
  }
  .catalog__layout {
    grid-template-columns: 1fr;
  }
  .filters {
    position: static;
    display: none;
  }
  .filters.is-open {
    display: block;
    margin-bottom: 18px;
  }
  .filters-toggle {
    display: inline-flex;
  }
  .sort > span {
    display: none;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__lead {
    max-width: 620px;
  }
  .facts {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .fleet__in {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .fleet__ships {
    max-width: 560px;
    height: 300px;
  }
  .footer__in {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .page-hero__in {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail__body {
    grid-template-columns: 1fr;
  }
  .booking {
    position: static;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(var(--wrap), 100% - 32px);
  }
  .section {
    padding: 64px 0;
  }
  .hero {
    padding: 36px 0 64px;
  }
  .hero__title {
    font-size: clamp(40px, 11.5vw, 58px);
  }
  .hero__lead {
    font-size: 15px;
  }
  .hero__stats {
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 32px;
  }
  .hero__stat dd {
    font-size: 24px;
  }
  .hero__stat dt {
    font-size: 10px;
  }
  .hero__figure img {
    aspect-ratio: 4 / 3;
  }
  .hero__stamp {
    display: none;
  }
  .hero__card {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 14px 0 0;
    box-shadow: none;
  }
  .hero__visual::before {
    display: none;
  }
  .search {
    padding: 20px 0;
  }
  .search__form {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .field {
    border-bottom: 1px solid rgba(246, 242, 234, 0.12);
  }
  .search__hint {
    font-size: 10.5px;
  }
  .section-head--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .section-note {
    text-align: left;
    max-width: 100%;
    padding: 0;
  }
  .dest-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .dest-card {
    aspect-ratio: 4 / 4.6;
    border-radius: 16px;
  }
  .dest-card__body strong {
    font-size: 20px;
  }
  .dest-card__body span {
    font-size: 11px;
  }
  .dest-card__count {
    padding: 5px 9px;
    font-size: 10px;
  }
  .chips--dest {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    margin-right: -16px;
    scrollbar-width: none;
  }
  .chips--dest::-webkit-scrollbar {
    display: none;
  }
  .chips--dest .chip {
    flex: none;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .search-input {
    flex: 1 1 100%;
  }
  .sort {
    flex: 1;
  }
  .sort .select {
    width: 100%;
    min-width: 0;
  }
  .filters-toggle {
    flex: none;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card__route {
    font-size: 19px;
  }
  .facts {
    margin-top: 48px;
  }
  .fact__label br {
    display: none;
  }
  .fleet {
    margin-top: 64px;
    padding: 56px 0;
  }
  .fleet__ships {
    height: 230px;
  }
  .fleet__copy h2 {
    font-size: 30px;
  }
  .footer {
    padding-top: 48px;
  }
  .footer__in {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer__brand {
    grid-column: auto;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 10px;
  }
  .modal {
    padding: 0;
    align-items: flex-end;
  }
  .modal__panel {
    max-height: 94vh;
    border-radius: 20px 20px 0 0;
    width: 100%;
  }
  .modal__close {
    right: 10px;
    top: 10px;
    width: 38px;
    height: 38px;
  }
  .detail__gallery {
    height: 240px;
    grid-template-columns: 1fr;
    border-radius: 20px 20px 0 0;
  }
  .detail__gallery-side {
    display: none;
  }
  .detail__head {
    padding: 22px 20px 18px;
  }
  .detail__head-price {
    justify-items: start;
    padding-top: 0;
  }
  .detail__head-price b {
    font-size: 24px;
  }
  .detail__body {
    padding: 20px 20px 0;
    gap: 26px;
  }
  .detail__ship {
    grid-template-columns: 96px 1fr;
  }
  .detail__ship img {
    height: 82px;
  }
  .itin__city {
    font-size: 13.5px;
  }
  .ships-grid {
    grid-template-columns: 1fr;
  }
  .ships-toolbar .search-input {
    max-width: none;
    flex: 1 1 100%;
  }
  .ships-toolbar .select {
    flex: 1;
    min-width: 0;
  }
  .page-hero {
    padding: 44px 0 40px;
  }
  .page-hero__stats {
    gap: 26px;
  }
  .page-hero__stat b {
    font-size: 26px;
  }
  .ship-detail__media {
    height: 220px;
  }
  .ship-detail__head {
    padding: 20px;
  }
  .ship-detail__head h2 {
    font-size: 26px;
  }
  .ship-detail__body {
    padding: 20px;
    grid-template-columns: 1fr;
  }
  .spec-table {
    grid-template-columns: 1fr;
  }
  .lightbox__nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Stars ---------- */

.stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: var(--gold);
  line-height: 1;
}
.stars svg {
  width: 12px;
  height: 12px;
}
.stars__off {
  display: inline-flex;
  gap: 1px;
  color: var(--line-dark);
}
.detail__ship .stars {
  margin-top: 6px;
}

.includes-list {
  display: grid;
  gap: 8px;
}
.includes-list li {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.includes-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 800;
}

.ship-card {
  color: inherit;
  cursor: pointer;
}

@media (max-width: 560px) {
  .card__ship .company {
    display: none;
  }
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 100vh;
  display: grid;
  align-content: center;
  padding: 60px 0;
}
.notfound__title {
  margin: 18px 0 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.notfound__text {
  max-width: 420px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 15px;
}

/* =========================================================
   Static entity pages (cruises, ships, companies, waterways)
   ========================================================= */

.nav a.is-active {
  color: var(--ink);
}
.nav a.is-active::after {
  transform: scaleX(1);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 2px 0 18px;
  font-size: 12px;
  color: var(--muted);
}
.breadcrumbs a {
  color: var(--muted);
  transition: color 0.2s;
}
.breadcrumbs a:hover {
  color: var(--ink);
}
.breadcrumbs .sep {
  color: var(--line-dark);
}
.breadcrumbs .current {
  color: var(--ink-soft);
}

.entity {
  padding: 28px 0 90px;
}
.entity__in {
  width: min(1080px, 100% - 48px);
  margin-inline: auto;
}
.entity__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.entity__card .detail__gallery {
  height: 430px;
  border-radius: 0;
}
.entity__card .detail__head {
  padding: 30px 36px 26px;
}
.entity__card .detail__body {
  padding: 0 36px 36px;
}
.entity__card .ship-detail__media {
  height: 380px;
  border-radius: 0;
}
.entity__card .ship-detail__head {
  padding: 30px 36px;
}
.entity__card .ship-detail__body {
  padding: 0 36px 36px;
}

.related {
  margin-top: 52px;
}
.related__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.related__head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.related__head a {
  flex: none;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
}
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.related__grid .card__route {
  font-size: 18px;
}
.related__grid .card__body {
  padding: 16px 18px 18px;
}
.related__grid .card__stops {
  -webkit-line-clamp: 1;
}
.related__grid .card__price b {
  font-size: 20px;
}
.related__grid .card__cta {
  display: none;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background-color 0.2s, color 0.2s;
}
a.tag:hover {
  background: var(--green);
  color: var(--white);
}
.tag__count {
  color: var(--muted-2);
  font-weight: 700;
}
a.tag:hover .tag__count {
  color: rgba(255, 253, 249, 0.65);
}

/* Entity hero (company / waterway) */

.company-hero {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 36px;
  background: var(--green-deep);
  color: var(--paper);
}
.company-hero__logo {
  display: grid;
  place-items: center;
  height: 116px;
  padding: 18px;
  border-radius: 15px;
  background: var(--white);
}
.company-hero__logo img {
  max-width: 150px;
  max-height: 66px;
  object-fit: contain;
}
.company-hero__monogram {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-family: var(--serif);
  font-size: 30px;
}
.company-hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.03;
  letter-spacing: -0.02em;
}
.company-hero__meta {
  margin-top: 9px;
  font-size: 13px;
  color: rgba(246, 242, 234, 0.62);
}
.company-hero__stats {
  display: flex;
  gap: 30px;
  flex: none;
}
.company-hero__stat {
  display: grid;
  gap: 4px;
}
.company-hero__stat b {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  line-height: 1;
}
.company-hero__stat span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.45);
}

.company-body {
  padding: 30px 36px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
  gap: 36px;
}
.company-body__desc p {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}
.company-facts {
  display: grid;
  gap: 10px;
}
.company-fact {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.company-fact span {
  color: var(--muted);
}
.company-fact b {
  text-align: right;
}

.ship-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.ship-mini {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.2s, transform 0.2s;
}
.ship-mini:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}
.ship-mini img {
  width: 74px;
  height: 58px;
  object-fit: cover;
  border-radius: 8px;
}
.ship-mini b {
  display: block;
  font-size: 13px;
  line-height: 1.3;
}
.ship-mini span {
  display: block;
  margin-top: 3px;
  font-size: 10.5px;
  color: var(--muted);
}

/* Waterway hero / page */

.waterway-hero {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: var(--green-dark);
}
.waterway-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.waterway-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 30, 27, 0.18) 0%, rgba(8, 30, 27, 0.05) 38%, rgba(8, 30, 27, 0.82) 100%);
}
.waterway-hero__content {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 28px;
  color: var(--white);
}
.waterway-hero__type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 253, 249, 0.72);
}
.waterway-hero__type::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.waterway-hero__content h1 {
  margin-top: 10px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.02em;
}
.waterway-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 13px;
  font-size: 13px;
  color: rgba(255, 253, 249, 0.72);
}

.waterway-body {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(270px, 0.75fr);
  gap: 36px;
  padding: 30px 36px 36px;
}
.waterway-desc p {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* Waterway cards */

.waterway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.waterway-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.28s, box-shadow 0.28s, border-color 0.28s;
}
.waterway-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-dark);
  box-shadow: var(--shadow-md);
}
.waterway-card__media {
  height: 178px;
  overflow: hidden;
  background: var(--paper-2);
}
.waterway-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.waterway-card:hover .waterway-card__media img {
  transform: scale(1.045);
}
.waterway-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 17px 20px 19px;
}
.waterway-card__type {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.waterway-card__body h3 {
  margin-top: 4px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.waterway-card__body p {
  flex: 1;
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}
.waterway-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  font-weight: 700;
}
.waterway-card__foot svg {
  width: 15px;
  height: 15px;
}

/* Waterway pills on home */

.waterway-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.waterway-pill {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.waterway-pill:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.waterway-pill__type {
  grid-column: 1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.waterway-pill strong {
  grid-column: 1;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
}
.waterway-pill__count {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.section-foot {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

/* Companies */

.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.company-card {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.company-card:hover {
  border-color: var(--line-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.company-card__logo {
  display: flex;
  align-items: center;
  height: 40px;
}
.company-card__logo img {
  max-width: 132px;
  max-height: 34px;
  object-fit: contain;
}
.company-card__monogram {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--green);
  color: var(--white);
  font-family: var(--serif);
  font-size: 20px;
}
.company-card h3 {
  margin-top: 2px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.company-card p {
  flex: 1;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--muted);
}
.company-card__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 11px;
  color: var(--muted-2);
}
.company-card__foot b {
  color: var(--ink-soft);
}

/* Index pages */

.index-section {
  padding: 52px 0 92px;
}
.index-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.index-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.index-head p {
  max-width: 400px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  text-align: right;
}

/* Cruise index */

.month-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
}
.month-block {
  margin-bottom: 36px;
  scroll-margin-top: 100px;
}
.month-block h2 {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.02em;
}
.cruise-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) 190px 110px;
  gap: 18px;
  align-items: center;
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  transition: background-color 0.15s;
}
.cruise-row:hover {
  background: rgba(255, 255, 255, 0.65);
}
.cruise-row__date {
  font-size: 11.5px;
  color: var(--muted);
}
.cruise-row__route {
  min-width: 0;
  font-weight: 700;
  color: var(--ink);
}
.cruise-row__route span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted-2);
}
.cruise-row__ship {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11.5px;
  color: var(--muted);
}
.cruise-row__price {
  text-align: right;
  font-weight: 800;
}

/* Company page lists */

.company-section {
  margin-top: 30px;
}
.company-section > h3,
.section-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.company-section > h3::after,
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* Responsive additions */

@media (max-width: 1120px) {
  .waterway-grid,
  .related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .companies-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .waterway-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .company-hero {
    grid-template-columns: 150px minmax(0, 1fr);
  }
  .company-hero__stats {
    grid-column: 1 / -1;
    padding-top: 18px;
    border-top: 1px solid rgba(246, 242, 234, 0.14);
  }
}

@media (max-width: 960px) {
  .entity__in {
    width: min(1080px, 100% - 32px);
  }
  .entity__card .detail__gallery {
    height: 360px;
  }
  .entity__card .detail__head,
  .entity__card .detail__body,
  .entity__card .ship-detail__head,
  .entity__card .ship-detail__body {
    padding-left: 24px;
    padding-right: 24px;
  }
  .company-body,
  .waterway-body {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .index-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .index-head p {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .entity {
    padding-top: 18px;
  }
  .entity__in {
    width: min(1080px, 100% - 24px);
  }
  .entity__card {
    border-radius: 18px;
  }
  .entity__card .detail__gallery {
    height: 250px;
  }
  .entity__card .detail__head {
    padding: 22px 18px 18px;
  }
  .entity__card .detail__body {
    padding: 0 18px 22px;
  }
  .entity__card .ship-detail__media {
    height: 240px;
  }
  .entity__card .ship-detail__head {
    padding: 20px 18px;
  }
  .entity__card .ship-detail__body {
    padding: 0 18px 22px;
  }
  .related__grid,
  .waterway-grid {
    grid-template-columns: 1fr;
  }
  .companies-grid,
  .waterway-strip,
  .ship-mini-grid {
    grid-template-columns: 1fr;
  }
  .company-hero {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    gap: 18px;
  }
  .company-hero__logo {
    width: 130px;
    height: 84px;
    padding: 12px;
  }
  .company-hero__logo img {
    max-width: 106px;
    max-height: 50px;
  }
  .company-hero__stats {
    grid-column: auto;
    gap: 22px;
    padding-top: 16px;
  }
  .company-hero__stat b {
    font-size: 24px;
  }
  .company-body,
  .waterway-body {
    padding: 22px 18px;
    gap: 24px;
  }
  .waterway-hero {
    height: 300px;
  }
  .waterway-hero__content {
    left: 18px;
    right: 18px;
    bottom: 20px;
  }
  .cruise-row {
    grid-template-columns: 96px minmax(0, 1fr) 90px;
    gap: 10px;
    font-size: 12.5px;
  }
  .cruise-row__ship {
    display: none;
  }
  .index-head h2 {
    font-size: 30px;
  }
}

@media (max-width: 720px) {
  .related__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .related__head a {
    flex: initial;
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
  }
}

@media (max-width: 960px) {
  .related__head {
    flex-wrap: wrap;
  }
}
