:root {
  --ink: #10212b;
  --muted: #5a6b72;
  --paper: #fffaf3;
  --foam: #e8fbff;
  --aqua: #05a9c7;
  --coral: #ff6b4a;
  --sun: #ffc845;
  --leaf: #3fbf7f;
  --deep: #123a48;
  --line: rgba(16, 33, 43, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
}

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

button,
input,
select {
  font: inherit;
}

.topbar {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 243, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  gap: 22px;
  inset: 0 0 auto;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 52px);
  position: fixed;
  z-index: 20;
}

.brand,
.nav {
  align-items: center;
  display: flex;
}

.brand {
  font-weight: 850;
  gap: 10px;
}

.brand-mark,
.avatar {
  align-items: center;
  aspect-ratio: 1;
  background: var(--aqua);
  border-radius: 8px;
  color: white;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  width: 42px;
}

.nav {
  color: #264752;
  gap: 20px;
  font-size: 14px;
}

.nav a:hover,
.footer a:hover {
  color: var(--coral);
}

.nav-cta {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
}

.hero {
  min-height: 92vh;
  overflow: hidden;
  position: relative;
}

.hero img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 27, 35, 0.78), rgba(8, 27, 35, 0.35) 48%, rgba(8, 27, 35, 0.02)),
    linear-gradient(0deg, rgba(16, 33, 43, 0.42), transparent 32%);
  inset: 0;
  position: absolute;
}

.hero-content {
  color: white;
  max-width: 790px;
  padding: 24vh clamp(22px, 7vw, 92px) 15vh;
  position: relative;
  z-index: 1;
}

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

.eyebrow.dark {
  color: var(--coral);
}

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

h1 {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.94;
  margin-bottom: 24px;
  max-width: 760px;
}

h2 {
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.hero-copy {
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
  max-width: 660px;
}

.hero-actions,
.hero-metrics,
.schedule-tools,
.footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  align-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 48px;
  padding: 14px 18px;
}

.button.primary {
  background: var(--coral);
  color: white;
  box-shadow: 0 16px 34px rgba(255, 107, 74, 0.34);
}

.button.glass {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: white;
}

.button.wide {
  width: 100%;
}

.hero-metrics {
  margin-top: 34px;
}

.hero-metrics span {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 12px 14px;
}

.hero-metrics strong {
  color: var(--sun);
}

.ticker {
  background: var(--deep);
  color: white;
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(5, 1fr);
}

.ticker span {
  background: rgba(255, 255, 255, 0.07);
  font-weight: 800;
  min-height: 76px;
  padding: 28px clamp(12px, 2vw, 28px);
  text-align: center;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 5vw, 70px);
}

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

.section-head.compact {
  margin-bottom: 28px;
}

.section-head p:not(.eyebrow),
.split p,
.booking-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.schedule-section {
  background: var(--foam);
}

.adventure-section {
  background:
    linear-gradient(135deg, rgba(18, 58, 72, 0.96), rgba(9, 31, 39, 0.98)),
    #123a48;
  color: white;
  overflow: hidden;
  position: relative;
}

.adventure-section .section-head p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.adventure-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.25fr repeat(2, 1fr);
  margin-top: 34px;
}

.adventure-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 24px;
}

.adventure-card.featured {
  background: linear-gradient(135deg, rgba(5, 169, 199, 0.36), rgba(255, 107, 74, 0.18));
  grid-row: span 2;
}

.adventure-card.golden {
  background: rgba(255, 200, 69, 0.17);
}

.adventure-card.pair {
  background: rgba(63, 191, 127, 0.16);
}

.adventure-card.acro-pair {
  background: rgba(255, 107, 74, 0.18);
}

.adventure-kicker {
  color: var(--sun);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.adventure-card h3 {
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1;
}

.adventure-card p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.adventure-action {
  background: white;
  border: 0;
  border-radius: 8px;
  color: var(--deep);
  cursor: pointer;
  font-weight: 900;
  margin-top: auto;
  min-height: 44px;
  padding: 12px 14px;
  width: fit-content;
}

.adventure-action:hover {
  background: var(--sun);
}

.adventure-status {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  margin: 18px 0 0;
  min-height: 24px;
}

.flight-types-section {
  background: #fffaf3;
}

.flight-type-panels {
  display: grid;
  gap: 24px;
  margin-top: 34px;
}

.flight-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  min-height: 560px;
  overflow: hidden;
}

.flight-panel-media {
  min-height: 100%;
}

.flight-panel-media img,
.pilot-card img,
.photo-grid img,
.mountain-expedition img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.flight-panel-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 4vw, 46px);
}

.flight-panel-body h3 {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1;
  margin: 0;
}

.flight-panel-body > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
}

.flight-panel details {
  margin: 0;
}

.flight-panel ul {
  color: var(--muted);
  line-height: 1.55;
  margin: 14px 0 0;
  padding-left: 20px;
}

.route-map {
  background: #eaf9fb;
  border: 1px solid rgba(5, 169, 199, 0.18);
  border-radius: 8px;
  min-height: 210px;
  overflow: hidden;
  position: relative;
}

.real-route-map {
  min-height: 300px;
  z-index: 0;
}

.real-route-map .leaflet-control-zoom {
  border: 0;
  box-shadow: 0 8px 22px rgba(16, 33, 43, 0.18);
}

.real-route-map .leaflet-control-zoom a {
  color: var(--deep);
}

.route-fallback {
  display: grid;
  gap: 8px;
  inset: 18px;
  position: absolute;
  z-index: 1;
}

.route-fallback span {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  font-weight: 850;
  gap: 8px;
  padding: 9px 10px;
  width: fit-content;
}

.route-fallback i {
  align-items: center;
  background: var(--deep);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-style: normal;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.real-route-map.leaflet-container .route-fallback {
  display: none;
}

.route-line {
  background: linear-gradient(90deg, var(--coral), var(--sun), var(--aqua));
  border-radius: 999px;
  height: 8px;
  left: 10%;
  position: absolute;
  right: 10%;
  top: 52%;
  transform: rotate(-8deg);
}

.route-point {
  align-items: center;
  display: flex;
  gap: 8px;
  max-width: 160px;
  position: absolute;
}

.route-point i {
  align-items: center;
  background: var(--deep);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  flex: 0 0 auto;
  font-style: normal;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.route-point b {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  padding: 8px 9px;
}

.point-1 {
  left: 6%;
  top: 24%;
}

.point-2 {
  left: 24%;
  top: 60%;
}

.point-3 {
  left: 45%;
  top: 18%;
}

.point-4 {
  left: 62%;
  top: 62%;
}

.point-5 {
  left: 78%;
  top: 30%;
}

.panel-booking {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
}

.panel-booking label {
  max-width: 280px;
}

.panel-slots {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.panel-slot {
  background: #f6fbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 14px;
  text-align: left;
}

.panel-slot:hover {
  border-color: var(--coral);
  box-shadow: 0 12px 28px rgba(18, 58, 72, 0.11);
}

.panel-slot[disabled] {
  cursor: not-allowed;
  opacity: 0.45;
}

.panel-slot span {
  color: var(--aqua);
  font-size: 24px;
  font-weight: 900;
}

.panel-slot strong,
.panel-slot em {
  font-style: normal;
}

.panel-empty {
  color: var(--muted);
  margin: 0;
}

.mountain-expedition {
  background: var(--deep);
  color: white;
  display: grid;
  gap: clamp(24px, 5vw, 58px);
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
}

.mountain-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.65;
}

.mountain-expedition img {
  border-radius: 8px;
  min-height: 460px;
}

.mountain-facts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, 1fr);
  margin: 26px 0;
}

.mountain-facts span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 14px;
}

.mountain-facts strong {
  color: var(--sun);
  display: block;
  font-size: 26px;
}

.photo-story {
  background: #f3f0e8;
}

.photo-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1.2fr 0.8fr;
}

.photo-grid img {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  min-height: 260px;
}

.photo-grid img:first-child {
  grid-row: span 2;
  min-height: 534px;
}

.schedule-tools {
  margin: 26px 0;
}

label span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 7px;
}

input,
select {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 48px;
  padding: 0 12px;
  width: 100%;
}

.icon-button {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  height: 48px;
  width: 48px;
}

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

.slot-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  min-height: 220px;
  padding: 20px;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.slot-card:hover,
.slot-card.selected {
  box-shadow: 0 18px 42px rgba(18, 58, 72, 0.16);
  transform: translateY(-4px);
}

.slot-card.selected {
  border-color: var(--coral);
}

.slot-card[disabled] {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.slot-time {
  color: var(--aqua);
  font-size: 32px;
  font-weight: 900;
}

.slot-card p {
  color: var(--muted);
  line-height: 1.45;
}

.slot-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
}

.badge {
  background: #fff2db;
  border-radius: 8px;
  color: #8a4e00;
  font-weight: 850;
  padding: 8px 10px;
}

.split,
.booking {
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
}

.feature-board,
.booking-form,
.selected-slot {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.feature {
  background: #f6fbfc;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  min-height: 118px;
  padding: 16px;
  text-align: left;
}

.feature.active {
  background: var(--deep);
  color: white;
}

.feature strong,
.feature span {
  display: block;
}

.feature span {
  margin-top: 10px;
}

#featureText {
  color: var(--muted);
  grid-column: 1 / -1;
  line-height: 1.6;
  margin: 0;
  padding: 8px 6px 0;
}

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

.pilot-card,
.safety-grid article,
.review-rail figure {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.pilot-card p,
.safety-grid span,
figcaption {
  color: var(--muted);
  line-height: 1.5;
}

.pilot-card {
  overflow: hidden;
  padding: 0;
}

.pilot-card img {
  aspect-ratio: 4 / 3;
  height: auto;
}

.pilot-card h3,
.pilot-card p,
.pilot-meta {
  display: block;
  margin-left: 22px;
  margin-right: 22px;
}

.pilot-card h3 {
  margin-top: 22px;
}

.pilot-meta {
  border-top: 1px solid var(--line);
  color: var(--deep);
  font-size: 13px;
  font-weight: 850;
  margin-bottom: 22px;
  padding-top: 14px;
}

.avatar.coral {
  background: var(--coral);
}

.avatar.yellow {
  background: var(--sun);
  color: var(--ink);
}

.avatar.green {
  background: var(--leaf);
}

.service-band {
  background: #f3f0e8;
  display: grid;
  gap: 30px;
  grid-template-columns: 0.8fr 1.2fr;
}

details {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 850;
}

details p {
  color: var(--muted);
  line-height: 1.55;
  margin: 12px 0 0;
}

.safety {
  background: #ffffff;
}

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

.safety-grid article {
  border-top: 6px solid var(--aqua);
}

.safety-grid strong,
.safety-grid span {
  display: block;
}

.reviews {
  background: var(--deep);
  color: white;
}

.reviews .eyebrow {
  color: var(--sun);
}

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

.review-rail figure {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  margin: 0;
}

blockquote {
  font-size: 20px;
  line-height: 1.45;
  margin: 0 0 18px;
}

.booking {
  background: var(--paper);
}

.selected-slot {
  color: var(--muted);
  line-height: 1.55;
  margin-top: 22px;
  padding: 18px;
}

.booking-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
}

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

.footer {
  background: #081b23;
  color: rgba(255, 255, 255, 0.8);
  justify-content: space-between;
  padding: 26px clamp(18px, 5vw, 70px);
}

.admin-page {
  background: #f7f9f8;
  min-height: 100vh;
  padding-top: 86px;
}

.admin-shell {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(280px, 380px) 1fr;
  padding: 28px clamp(18px, 4vw, 52px) 60px;
}

.admin-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.admin-form {
  display: grid;
  gap: 13px;
}

.admin-table-wrap {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  min-width: 830px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.row-actions {
  display: flex;
  gap: 8px;
}

.small-button {
  background: #eef8fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  min-height: 36px;
  padding: 8px 10px;
}

.small-button.danger {
  background: #fff0eb;
  color: #9f3219;
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }

  .ticker,
  .pilot-grid,
  .safety-grid,
  .reviews .review-rail,
  .adventure-grid,
  .flight-panel,
  .mountain-expedition,
  .mountain-facts,
  .photo-grid,
  .split,
  .booking,
  .service-band,
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .adventure-card.featured {
    grid-row: auto;
  }

  .feature-board {
    grid-template-columns: 1fr;
  }

  .flight-panel-media img {
    max-height: 420px;
  }

  .photo-grid img:first-child {
    grid-row: auto;
    min-height: 260px;
  }
}

@media (max-width: 560px) {
  .topbar {
    gap: 10px;
  }

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

  .hero {
    min-height: 96vh;
  }

  .hero-content {
    padding-top: 20vh;
  }

  .hero-actions .button {
    width: 100%;
  }
}
