:root {
  --ink: #14211f;
  --muted: #5d6965;
  --paper: #fbfaf6;
  --mist: #e7eee9;
  --sea: #126c72;
  --sea-dark: #0d4d53;
  --coral: #d45e42;
  --gold: #c89542;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(18, 33, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: var(--white);
  background: linear-gradient(rgba(10, 25, 24, 0.76), rgba(10, 25, 24, 0.28));
}

.brand,
.main-nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
/*  width: 34px;
  height: 34px;
*/
  width: 60px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.14);
}

.main-nav {
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.94rem;
}

.main-nav a {
  opacity: 0.88;
}

.main-nav a:hover {
  opacity: 1;
}

.nav-action,
.button,
.quick-search button {
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.nav-action,
.button.primary,
.quick-search button {
  color: var(--white);
  background: var(--coral);
}

.nav-action {
  padding: 10px 15px;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 128px clamp(20px, 6vw, 86px) 92px;
  overflow: hidden;
  color: var(--white);
}

/* Original "hero-media" script
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, rgba(7, 18, 18, 0.82), rgba(7, 18, 18, 0.28) 56%, rgba(7, 18, 18, 0.5)), url('images/namibia_skeleton_coast_1.jpg');
  auto=format&fit=crop&w=1800&q=80") center / cover;
*/

.hero-media {
  position: absolute;
  inset: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -2;
  background: linear-gradient(
      90deg,
      rgba(7, 18, 18, 0.82) 0%,
      rgba(7, 18, 18, 0.28) 56%,
      rgba(7, 18, 18, 0.5) 100%
    ),
    url('images/namibia_skeleton_coast_1.jpg?auto=format&fit=crop&w=1800&q=80');
  background-position: center;
  background-size: cover;  
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  z-index: -1;
  background: linear-gradient(transparent, var(--paper));
}

.hero-content {
  max-width: 760px;
}

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

.hero h1,
.section-heading h2,
.experience-copy h2,
.planner-copy h2 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(3.1rem, 8vw, 7.4rem);
}

.hero-content > p:not(.eyebrow) {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 80px);
  bottom: 52px;
  width: min(420px, calc(100% - 40px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(10, 25, 24, 0.64);
  backdrop-filter: blur(14px);
}

.hero-panel span,
.destination-card span,
.estimate span {
  display: block;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin: 10px 0;
  font-size: 1.18rem;
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.quick-search {
  width: min(1120px, calc(100% - 40px));
  margin: -38px auto 78px;
  padding: 18px;
  position: relative;
  z-index: 2;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quick-search form {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr auto;
  gap: 12px;
  align-items: end;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

select,
input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  border: 1px solid #d7ddd8;
  border-radius: 6px;
  background: #fff;
  font: inherit;
}

.quick-search button {
  min-height: 46px;
  padding: 0 18px;
}

#searchResult {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--sea-dark);
  font-weight: 800;
}

.section {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 96px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading h2,
.experience-copy h2,
.planner-copy h2 {
  font-size: clamp(2.1rem, 4vw, 4.2rem);
}

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

.destination-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(18, 33, 31, 0.1);
}

.destination-card img {
  height: 270px;
  object-fit: cover;
}

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

.destination-card h3 {
  margin: 8px 0 10px;
  font-size: 1.36rem;
}

.destination-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.58;
}

.destination-card strong {
  color: var(--sea-dark);
}

.experience-band {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(220px, 0.62fr) minmax(300px, 1.05fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: 82px clamp(20px, 6vw, 86px);
  background: var(--mist);
}

.experience-copy p:not(.eyebrow),
.planner-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.experience-list {
  display: grid;
  gap: 12px;
}

.experience {
  display: flex;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 18px;
  color: var(--ink);
  border: 1px solid rgba(18, 33, 31, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.experience.active {
  color: var(--white);
  background: var(--sea);
}

.experience span {
  color: var(--gold);
}

.experience-image {
  min-height: 430px;
  border-radius: 8px;
  background: url("images/destination_culinary_1.jpg?auto=format&fit=crop&w=900&q=80") center / cover;
  box-shadow: var(--shadow);
}

.planner {
  width: min(1120px, calc(100% - 40px));
  margin: 96px auto;
  display: grid;
  grid-template-columns: 0.85fr 1fr 0.75fr;
  gap: 28px;
  align-items: stretch;
}

.planner-copy,
.planner-form,
.estimate {
  padding: 26px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 45px rgba(18, 33, 31, 0.1);
}

.planner-form {
  display: grid;
  gap: 18px;
}

input[type="range"] {
  accent-color: var(--sea);
}

#paceLabel {
  color: var(--sea-dark);
  font-size: 0.95rem;
}

.estimate {
  display: grid;
  align-content: center;
}

.estimate strong {
  display: block;
  margin: 12px 0;
  color: var(--sea-dark);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.estimate p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 6vw, 86px);
  color: var(--white);
  background: var(--ink);
}

.site-footer p,
.site-footer address {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 840px;
    padding-bottom: 250px;
  }

  .hero-panel {
    left: 20px;
    right: auto;
  }

  .quick-search form,
  .destination-grid,
  .experience-band,
  .planner {
    grid-template-columns: 1fr;
  }

  .experience-image {
    min-height: 340px;
  }
}

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

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

  .nav-action {
    padding: 9px 12px;
  }

  .hero {
    min-height: 820px;
    padding: 110px 20px 210px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-panel {
    bottom: 46px;
  }

  .quick-search,
  .section,
  .planner {
    width: calc(100% - 28px);
  }

  .section-heading {
    display: block;
  }

  .site-footer {
    display: grid;
  }
}
