:root {
  color-scheme: dark;
  --bg-0: #060b17;
  --bg-1: #0b1222;
  --bg-2: #121d32;
  --ink: #eef3ff;
  --muted: #b8c4da;
  --line: rgba(217, 231, 255, 0.24);
  --line-soft: rgba(217, 231, 255, 0.12);
  --glass: rgba(19, 29, 49, 0.58);
  --glass-strong: rgba(19, 29, 49, 0.72);
  --glass-soft: rgba(26, 39, 67, 0.44);
  --accent: #5ea8ff;
  --accent-strong: #2f8cff;
  --accent-ink: #021329;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow-soft: 0 12px 36px rgba(0, 8, 20, 0.42);
  --shadow-strong: 0 24px 64px rgba(0, 8, 20, 0.5);
  --max: 1140px;
  --blur: 22px;
  --speed-fast: 180ms;
  --speed-mid: 220ms;
  --font-body: "Inter", "SF Pro Text", "SF Pro Display", "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg-0: #f2f5fb;
    --bg-1: #e9eef8;
    --bg-2: #dbe4f3;
    --ink: #0f182b;
    --muted: #3f4d68;
    --line: rgba(42, 63, 99, 0.22);
    --line-soft: rgba(42, 63, 99, 0.12);
    --glass: rgba(255, 255, 255, 0.56);
    --glass-strong: rgba(255, 255, 255, 0.76);
    --glass-soft: rgba(246, 250, 255, 0.62);
    --accent: #1677ff;
    --accent-strong: #005ee5;
    --accent-ink: #ffffff;
    --shadow-soft: 0 10px 30px rgba(34, 54, 84, 0.12);
    --shadow-strong: 0 20px 56px rgba(34, 54, 84, 0.18);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  line-height: 1.64;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 9% -14%, rgba(103, 181, 255, 0.2), transparent 60%),
    radial-gradient(900px 680px at 91% 8%, rgba(74, 128, 255, 0.17), transparent 58%),
    linear-gradient(160deg, var(--bg-0) 0%, var(--bg-1) 50%, var(--bg-2) 100%);
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(44px);
}

body::before {
  width: 320px;
  height: 320px;
  top: -120px;
  left: -96px;
  background: rgba(94, 168, 255, 0.22);
}

body::after {
  width: 300px;
  height: 300px;
  bottom: -130px;
  right: -80px;
  background: rgba(147, 210, 255, 0.16);
}

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

a:hover {
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

.container {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.page-main {
  padding-bottom: 28px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 14px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--glass-strong);
  border: 1px solid var(--line);
  color: var(--ink);
  z-index: 80;
  backdrop-filter: blur(16px);
}

.site-header,
header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0 0;
}

.nav {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 72px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}

.logo {
  margin: 0;
  font-size: 1.26rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.nav .logo {
  justify-self: start;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition:
    color var(--speed-fast) ease,
    background var(--speed-fast) ease,
    transform var(--speed-fast) ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-cta {
  justify-self: end;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--glass-soft);
  color: var(--ink);
  cursor: pointer;
  transition:
    transform var(--speed-fast) ease,
    background var(--speed-fast) ease,
    box-shadow var(--speed-fast) ease;
}

.nav-toggle:hover {
  transform: translateY(-2px);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-toggle-box {
  width: 18px;
  height: 14px;
  display: grid;
  gap: 3px;
  align-content: center;
}

.nav-toggle-line {
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--speed-fast) ease, opacity var(--speed-fast) ease;
}

.nav.is-open .nav-toggle-line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.nav.is-open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav.is-open .nav-toggle-line:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform var(--speed-fast) ease,
    box-shadow var(--speed-fast) ease,
    background var(--speed-fast) ease,
    color var(--speed-fast) ease,
    border-color var(--speed-fast) ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-primary {
  color: var(--accent-ink);
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-strong) 100%);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 30px rgba(20, 122, 255, 0.34);
}

.btn-primary:hover {
  box-shadow: 0 16px 36px rgba(20, 122, 255, 0.42);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.11);
}

.section {
  padding: 66px 0;
}

.hero {
  padding: 52px 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-copy,
.hero-card,
.booking-card,
.card,
.cta,
.notice,
.booking-widget,
.rules,
.split,
.direct-booking,
.stat,
.kpi-card,
.footer-panel {
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(var(--blur));
  -webkit-backdrop-filter: blur(var(--blur));
}

.hero-copy {
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3.2vw, 34px);
  display: grid;
  gap: 18px;
  align-content: start;
}

.hero-copy .small {
  margin: 0;
}

.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row {
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.trust-mark {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
}

.trust-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-card {
  border-radius: var(--radius-lg);
  padding: clamp(18px, 3vw, 24px);
  display: grid;
  gap: 14px;
  align-content: start;
}

.hero-card img {
  aspect-ratio: 16 / 10;
}

.hero-card h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  line-height: 1.15;
}

.hero-note {
  margin-top: 0;
}

.hero-intro {
  margin: 0;
}

.hero-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.hero-points li {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.hero-cta {
  display: grid;
  gap: 10px;
  max-width: 360px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.hero-links a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
}

.hero-links a:hover {
  text-decoration-color: var(--accent);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: var(--muted);
}

.stat strong {
  display: block;
  margin-bottom: 2px;
  font-size: 1.08rem;
  color: var(--ink);
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 2.7vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-subtitle {
  margin: 0 0 28px;
  max-width: 740px;
  color: var(--muted);
}

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

.booking-card {
  border-radius: var(--radius);
  padding: 22px;
  display: grid;
  gap: 12px;
  align-content: start;
}

.booking-label {
  margin: 0;
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--ink);
}

.booking-card h3 {
  margin: 0;
  line-height: 1.24;
  font-size: 1.18rem;
}

.booking-card p {
  margin: 0;
  color: var(--muted);
}

.card {
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  gap: 12px;
}

.card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.25;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card img {
  aspect-ratio: 16 / 10;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card-actions .btn {
  min-width: 148px;
}

.compact-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
}

.compact-track::-webkit-scrollbar {
  height: 8px;
}

.compact-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.compact-card {
  min-height: 100%;
  scroll-snap-align: start;
}

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

.feature-grid .card {
  align-content: start;
}

.icon-chip {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-chip svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.split {
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.gallery img {
  aspect-ratio: 16 / 10;
}

.notice {
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 0.93rem;
  background: rgba(94, 168, 255, 0.1);
}

.notice a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booking-widget {
  border-radius: var(--radius);
  padding: 18px;
}

.rules {
  margin-top: 14px;
  border-radius: 16px;
  padding: 16px;
  white-space: pre-wrap;
  color: var(--muted);
}

.api-info-grid {
  margin-top: 16px;
}

.api-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.kpi-card {
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.09);
}

.kpi-card .small {
  margin: 0 0 8px;
}

.kpi-card strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.3;
}

.api-rich-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}

.card-span-2 {
  grid-column: span 2;
}

.api-bullet-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.api-bullet-list li {
  margin: 0;
}

.api-meta-list {
  list-style: none;
  padding-left: 0;
}

.api-meta-list li strong {
  color: var(--ink);
}

.api-chip-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.api-chip-list li {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 0.85rem;
}

.api-bullet-list code {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.86rem;
}

.promo-card {
  background: rgba(94, 168, 255, 0.14);
}

.promo-code {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.section-tight {
  padding-top: 10px;
}

.direct-booking {
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 20px;
}

.direct-booking h2 {
  margin: 0 0 10px;
  font-size: clamp(1.42rem, 2.2vw, 1.95rem);
  line-height: 1.2;
}

.direct-booking p {
  margin: 0;
  color: var(--muted);
}

.direct-booking ul {
  margin: 12px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.direct-booking-cta {
  display: grid;
  align-content: center;
  gap: 10px;
}

.direct-booking-cta .small {
  margin: 0;
}

.cta {
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 16px;
  background:
    linear-gradient(145deg, rgba(26, 53, 100, 0.68) 0%, rgba(48, 83, 140, 0.48) 100%),
    var(--glass-strong);
  box-shadow: var(--shadow-strong);
}

.cta-title {
  margin-bottom: 4px;
}

.cta .btn-primary {
  width: fit-content;
}

.cta-note {
  color: var(--muted);
}

.floating-book {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 44;
  display: none;
  border-radius: 999px;
}

footer {
  padding: 34px 0 56px;
}

.footer-panel {
  border-radius: var(--radius-lg);
  padding: 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.footer-grid strong {
  display: inline-block;
  margin-bottom: 8px;
}

.small {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

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

.reveal.in-view {
  animation: floatIn 700ms ease both;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

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

  .booking-hub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .has-floating-book {
    padding-bottom: 88px;
  }

  .floating-book {
    display: inline-flex;
  }

  .compact-track {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: 1fr;
    overflow: visible;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header,
  header {
    padding-top: 10px;
  }

  .nav {
    min-height: 64px;
    gap: 10px;
    padding: 10px 12px;
  }

  .nav-cta {
    min-height: 42px;
    padding-inline: 14px;
  }

  .nav[data-nav] {
    grid-template-columns: auto 1fr auto;
  }

  .nav[data-nav].is-ready .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav[data-nav].is-ready .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 10px;
    right: 10px;
    z-index: 60;
    display: grid;
    gap: 4px;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--glass-strong);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity var(--speed-mid) ease,
      transform var(--speed-mid) ease,
      visibility var(--speed-mid) ease;
  }

  .nav[data-nav].is-ready .nav-links a {
    justify-content: flex-start;
  }

  .nav[data-nav].is-ready.is-open .nav-links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav[data-nav] .nav-cta {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero {
    padding-top: 34px;
  }

  .section {
    padding: 52px 0;
  }

  .booking-hub,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .card-actions {
    gap: 8px;
  }

  .action-row .btn,
  .card-actions .btn,
  .hero-cta .btn,
  .cta .btn,
  .direct-booking-cta .btn {
    width: 100%;
  }

  .card-actions .btn {
    min-width: 0;
  }

  .split {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .card-span-2 {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .hero-copy,
  .hero-card,
  .booking-card,
  .card,
  .footer-panel,
  .direct-booking,
  .cta {
    border-radius: 18px;
  }

  .logo {
    font-size: 1.12rem;
  }

  .badge {
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .nav,
  .hero-copy,
  .hero-card,
  .booking-card,
  .card,
  .cta,
  .notice,
  .booking-widget,
  .rules,
  .split,
  .direct-booking,
  .stat,
  .kpi-card,
  .footer-panel,
  .nav[data-nav] .nav-links {
    background: var(--glass-strong);
  }
}
