:root {
  --ink: #15171a;
  --muted: #5b626d;
  --line: #dce1e6;
  --paper: #ffffff;
  --wash: #f3f6f7;
  --charcoal: #101214;
  --red: #e5192a;
  --red-dark: #b70f1d;
  --teal: #087c83;
  --gold: #d9a441;
  --shadow: 0 18px 48px rgba(21, 23, 26, 0.16);
  --radius: 8px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px max(24px, calc((100vw - var(--content)) / 2));
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(15, 18, 21, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--red);
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  font-size: 0.86rem;
}

.site-header.is-scrolled .brand-mark,
.site-header.solid .brand-mark {
  border-color: rgba(229, 25, 42, 0.2);
}

.nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 0.95rem;
  font-weight: 650;
}

.nav a {
  opacity: 0.86;
  transition: opacity 160ms ease, color 160ms ease;
}

.nav a:hover {
  opacity: 1;
  color: var(--red);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header-phone {
  font-weight: 750;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--red);
  border-radius: var(--radius);
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 28px rgba(229, 25, 42, 0.24);
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.92rem;
}

.button-full {
  width: 100%;
}

.button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.74);
  box-shadow: none;
}

.button-ghost:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
}

.button-ghost-dark {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
  box-shadow: none;
}

.button-ghost-dark:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 150px max(24px, calc((100vw - var(--content)) / 2)) 96px;
}

.section-dark {
  color: #fff;
  background: var(--charcoal);
}

.hero-media,
.hero picture {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.02);
  animation: slowZoom 16s ease-out forwards;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 8, 9, 0.88), rgba(7, 8, 9, 0.45) 47%, rgba(7, 8, 9, 0.12)),
    linear-gradient(0deg, rgba(7, 8, 9, 0.5), rgba(7, 8, 9, 0.02) 40%);
}

.hero-content {
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.hero .eyebrow {
  color: #ff5964;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: 4.5rem;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.55rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.18;
}

.hero-lead {
  max-width: 680px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.22rem;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.hero-facts span,
.tag {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  font-size: 0.91rem;
  font-weight: 720;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.messenger-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.messenger-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  padding: 0 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  font-weight: 850;
  backdrop-filter: blur(12px);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.messenger-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
}

.messenger-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.messenger-logo {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  padding: 3px;
  border-radius: 7px;
  object-fit: contain;
  background: linear-gradient(135deg, #45d0f5 0%, #4054e8 52%, #a72dea 100%);
  box-sizing: border-box;
}

.messenger-actions-dark .messenger-link {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
  box-shadow: 0 10px 26px rgba(20, 23, 28, 0.08);
}

.messenger-actions-dark .messenger-link:hover {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  display: grid;
  width: 34px;
  height: 54px;
  place-items: start center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 6px;
  height: 6px;
  margin-top: 10px;
  border-radius: 50%;
  background: #fff;
  animation: cue 1.7s ease-in-out infinite;
}

@media (min-width: 981px) {
  .scroll-cue {
    display: none;
  }
}

.booking-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--content);
  margin: -42px auto 0;
  position: relative;
  z-index: 3;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.booking-strip div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.booking-strip div:last-child {
  border-right: 0;
}

.booking-strip strong,
.booking-strip span {
  display: block;
}

.booking-strip strong {
  margin-bottom: 4px;
  font-size: 1.35rem;
}

.booking-strip span {
  color: var(--muted);
}

.section {
  padding: 96px max(24px, calc((100vw - var(--content)) / 2));
}

.section-muted {
  background: var(--wash);
}

.intro {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 50px;
  align-items: center;
}

.section-copy p,
.section-head p {
  color: var(--muted);
  font-size: 1.04rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.intro-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--radius);
}

.intro-grid img:first-child {
  grid-row: span 2;
  height: 532px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.routes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.route-card,
.price-card,
.rule-card,
.legal-block,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 18, 21, 0.06);
}

.route-card,
.price-card,
.rule-card {
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.route-card:hover,
.price-card:hover,
.rule-card:hover {
  transform: translateY(-5px);
  border-color: rgba(229, 25, 42, 0.22);
  box-shadow: 0 20px 44px rgba(15, 18, 21, 0.12);
}

.route-card {
  overflow: hidden;
}

.route-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.route-card div {
  padding: 22px;
}

.route-card p,
.rule-card p,
.price-card p,
.legal-block p,
.legal-block li {
  color: var(--muted);
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--red);
  border-color: rgba(229, 25, 42, 0.2);
  background: rgba(229, 25, 42, 0.08);
}

.sights {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 50px;
  align-items: start;
  overflow: hidden;
}

.sights-marquee {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.sights-marquee::before,
.sights-marquee::after {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 90px;
  content: "";
  pointer-events: none;
}

.sights-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--paper), rgba(247, 244, 239, 0));
}

.sights-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--paper), rgba(247, 244, 239, 0));
}

.sights-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: sights-scroll 44s linear infinite;
}

.sights-track figure {
  position: relative;
  flex: 0 0 248px;
  height: 320px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #151719;
  box-shadow: 0 18px 50px rgba(18, 20, 23, 0.14);
}

.sights-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sights-track figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #fff;
  background: rgba(9, 10, 12, 0.68);
  font-weight: 800;
  backdrop-filter: blur(10px);
}

@keyframes sights-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.gallery-section {
  overflow: hidden;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 150px;
  gap: 10px;
}

.gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: #23282d;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.24);
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(8) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.price-card {
  padding: 24px;
}

.price-card span {
  display: block;
  margin-bottom: 20px;
  color: var(--muted);
  font-weight: 720;
}

.price-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2.2rem;
  line-height: 1;
}

.price-card-accent {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.price-card-accent span,
.price-card-accent p {
  color: rgba(255, 255, 255, 0.76);
}

.booking-section {
  background:
    linear-gradient(90deg, rgba(16, 18, 20, 0.94), rgba(16, 18, 20, 0.86)),
    url("/assets/optimized/boat-030.webp") center / cover;
  color: #fff;
}

.booking-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.booking-section .section-copy p,
.booking-section .check-list {
  color: rgba(255, 255, 255, 0.76);
}

.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 22px;
}

.check-list li::before {
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.booking-form {
  padding: 24px;
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

label,
legend {
  display: block;
  margin-bottom: 14px;
  color: #30363d;
  font-size: 0.92rem;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid #cfd7df;
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.date-field {
  position: relative;
}

.native-date {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.date-trigger {
  display: flex;
  width: 100%;
  min-height: 50px;
  margin-top: 7px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #cfd7df;
  border-radius: var(--radius);
  padding: 8px 9px 8px 14px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(8, 124, 131, 0.07), rgba(229, 25, 42, 0.06)),
    #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 820;
  text-align: left;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.date-trigger:hover,
.date-trigger[aria-expanded="true"] {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 124, 131, 0.12);
}

.date-trigger-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--teal);
}

.date-trigger-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.date-popover {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  left: 0;
  width: min(360px, calc(100vw - 48px));
  border: 1px solid rgba(8, 124, 131, 0.18);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 60px rgba(16, 18, 20, 0.2);
  backdrop-filter: blur(18px);
}

.date-calendar-head {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}

.date-calendar-head strong {
  text-align: center;
  font-size: 1rem;
}

.date-calendar-head button {
  display: grid;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 850;
}

.date-calendar-head button:disabled {
  color: #b8c0c8;
  cursor: not-allowed;
}

.date-weekdays,
.date-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.date-weekdays {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.date-day {
  display: grid;
  min-height: 38px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--ink);
  background: #f8fafb;
  cursor: pointer;
  font-weight: 850;
  transition: transform 130ms ease, border-color 130ms ease, background 130ms ease, color 130ms ease;
}

.date-day:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: var(--teal);
  background: #eefafa;
}

.date-day.is-today {
  border-color: rgba(229, 25, 42, 0.42);
  color: var(--red);
}

.date-day.is-selected {
  color: #fff;
  border-color: var(--teal);
  background: var(--teal);
  box-shadow: 0 10px 24px rgba(8, 124, 131, 0.22);
}

.date-day:disabled {
  color: #b2bbc4;
  background: #eef1f3;
  cursor: not-allowed;
}

.date-day.is-empty {
  visibility: hidden;
}

.native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-select {
  position: relative;
  margin-top: 7px;
}

.custom-select-button {
  display: flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #cfd7df;
  border-radius: var(--radius);
  padding: 11px 13px;
  color: var(--ink);
  background:
    linear-gradient(90deg, #fff, #fff calc(100% - 48px), rgba(229, 25, 42, 0.06)),
    #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 780;
  text-align: left;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.custom-select-button::after {
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.custom-select.is-open .custom-select-button {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 124, 131, 0.14);
}

.custom-select.is-open .custom-select-button::after {
  transform: translateY(3px) rotate(225deg);
}

.custom-select-options {
  position: absolute;
  z-index: 18;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  max-height: 248px;
  margin: 0;
  border: 1px solid rgba(8, 124, 131, 0.16);
  border-radius: 16px;
  padding: 6px;
  list-style: none;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 48px rgba(16, 18, 20, 0.18);
  opacity: 0;
  overflow: auto;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top;
  transition: opacity 150ms ease, transform 150ms ease;
}

.custom-select.is-open .custom-select-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.custom-select-options button {
  width: 100%;
  border: 0;
  border-radius: 11px;
  padding: 11px 12px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 760;
  text-align: left;
}

.custom-select-options button:hover,
.custom-select-options button.is-selected {
  color: var(--teal);
  background: rgba(8, 124, 131, 0.09);
}

select {
  appearance: none;
  padding-right: 42px;
  background:
    linear-gradient(45deg, transparent 50%, var(--red) 50%) calc(100% - 22px) 52% / 7px 7px no-repeat,
    linear-gradient(135deg, var(--red) 50%, transparent 50%) calc(100% - 16px) 52% / 7px 7px no-repeat,
    linear-gradient(90deg, transparent, rgba(229, 25, 42, 0.06)) right / 48px 100% no-repeat,
    #fff;
  cursor: pointer;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(8, 124, 131, 0.14);
}

fieldset {
  margin: 0 0 14px;
  border: 0;
  padding: 0;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.slot-grid button {
  min-height: 42px;
  border: 1px solid #cfd7df;
  border-radius: var(--radius);
  color: var(--ink);
  background: #f8fafb;
  cursor: pointer;
  font-weight: 780;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.slot-grid button:hover {
  border-color: var(--teal);
}

.slot-grid button.is-selected {
  color: #fff;
  background: var(--teal);
  border-color: var(--teal);
}

.slot-grid button:disabled {
  color: #9ba4ad;
  background: #eef1f3;
  cursor: not-allowed;
  text-decoration: line-through;
}

.slot-hint {
  grid-column: 1 / -1;
  color: var(--muted);
  font-weight: 500;
}

.checkbox-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 560;
}

.checkbox-line input {
  width: auto;
  margin-top: 4px;
}

.price-summary {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(229, 25, 42, 0.18);
  border-radius: var(--radius);
  background: rgba(229, 25, 42, 0.06);
}

.price-summary[hidden] {
  display: none;
}

.price-summary span,
.price-summary p {
  color: var(--muted);
}

.price-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 1.55rem;
}

.price-summary p {
  margin: 0;
  max-width: 320px;
  font-size: 0.92rem;
}

.payment-note {
  margin-bottom: 16px;
  border-left: 3px solid var(--gold);
  padding: 10px 0 10px 12px;
  color: var(--muted);
  background: #fff9ea;
  font-size: 0.92rem;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--teal);
  font-weight: 760;
}

.form-status.is-error {
  color: var(--red-dark);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.rule-card {
  padding: 24px;
}

.reviews-section {
  padding-top: 78px;
  padding-bottom: 0;
}

.reviews-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(229, 25, 42, 0.08), rgba(10, 124, 119, 0.08)),
    #fff;
  box-shadow: var(--shadow);
}

.reviews-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  padding-top: 78px;
  padding-bottom: 78px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  border-radius: var(--radius);
  padding: 34px;
  color: #fff;
  background: var(--teal);
}

.contact-panel .eyebrow,
.contact-panel p {
  color: rgba(255, 255, 255, 0.84);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
  border-bottom: 1px solid currentColor;
  font-weight: 760;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 32px max(24px, calc((100vw - var(--content)) / 2));
  color: #fff;
  background: var(--charcoal);
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.site-footer img {
  max-width: min(420px, 42vw);
  border-radius: 4px;
}

.lightbox {
  width: min(980px, calc(100vw - 32px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.lightbox img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
  font-size: 1.7rem;
}

.legal-page,
.admin-page {
  background: var(--wash);
}

.legal-main,
.admin-main {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 128px 0 70px;
}

.legal-hero {
  max-width: 760px;
  margin-bottom: 36px;
}

.legal-hero h1,
.admin-panel h1 {
  color: var(--ink);
  font-size: 3rem;
}

.legal-hero p,
.admin-panel p {
  color: var(--muted);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.legal-block {
  padding: 26px;
}

.legal-block ul {
  margin: 0;
  padding-left: 20px;
}

.details-list {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 8px 14px;
  margin: 0;
}

.details-list dt {
  color: var(--muted);
  font-weight: 760;
}

.details-list dd {
  margin: 0;
}

.payment-logos {
  margin-top: 18px;
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
}

.payment-logos img {
  max-width: 720px;
  border-radius: 4px;
}

.admin-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.admin-panel {
  width: min(900px, 100%);
  padding: 28px;
}

.admin-token-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin: 24px 0;
}

.admin-calendar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 22px;
  border: 1px solid rgba(8, 124, 131, 0.22);
  border-radius: var(--radius);
  padding: 16px;
  background: rgba(8, 124, 131, 0.07);
}

.admin-calendar p {
  margin: 4px 0 0;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-booking {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--wash);
}

.admin-booking strong {
  display: block;
  margin-bottom: 6px;
}

.admin-booking span {
  display: inline-block;
  margin-right: 12px;
  color: var(--muted);
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 760ms cubic-bezier(0.2, 0.78, 0.18, 1), transform 760ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowZoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1);
  }
}

@keyframes cue {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateY(18px);
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .header-phone {
    display: none;
  }

  h1 {
    font-size: 3.45rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .booking-strip,
  .routes,
  .price-grid,
  .rules-grid,
  .legal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro,
  .sights,
  .booking-layout,
  .reviews-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 140px;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand span:last-child {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: 116px 18px 78px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 8, 9, 0.88), rgba(7, 8, 9, 0.48)),
      linear-gradient(0deg, rgba(7, 8, 9, 0.58), rgba(7, 8, 9, 0.02) 50%);
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .section {
    padding: 68px 18px;
  }

  .booking-strip {
    grid-template-columns: 1fr 1fr;
    margin: 0;
    border-radius: 0;
  }

  .booking-strip div {
    padding: 18px;
  }

  .intro-grid,
  .form-row,
  .price-summary,
  .admin-token-form,
  .admin-calendar,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .admin-calendar {
    display: grid;
  }

  .intro-grid img,
  .intro-grid img:first-child {
    height: 220px;
  }

  .routes,
  .price-grid,
  .rules-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .slot-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 132px;
  }

  .sights-marquee::before,
  .sights-marquee::after {
    width: 44px;
  }

  .sights-track figure {
    flex-basis: 220px;
    height: 270px;
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(8) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .legal-main,
  .admin-main {
    width: calc(100% - 36px);
    padding-top: 104px;
  }

  .details-list {
    grid-template-columns: 1fr;
  }

  .site-footer img {
    max-width: 100%;
  }
}

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