:root {
  --ink: #1b1d18;
  --muted: #62675a;
  --paper: #fbfaf4;
  --soft: #eef2e6;
  --leaf: #304f3d;
  --moss: #5f7b49;
  --sun: #d69b31;
  --clay: #9b4938;
  --line: rgba(27, 29, 24, 0.14);
  --shadow: 0 24px 70px rgba(20, 32, 22, 0.22);
}

* {
  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;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 18, 14, 0.82), rgba(13, 18, 14, 0.42) 52%, rgba(13, 18, 14, 0.18)),
    url("assets/amboseli-elephants.jpg") center / cover;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  opacity: 0.86;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 360px);
  align-items: end;
  gap: 36px;
  width: min(1180px, calc(100% - 40px));
  min-height: 54vh;
  margin: 0 auto;
  padding: 96px 0 48px;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 7rem);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-summary {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #1b1d18;
  background: #fff;
  border-color: #fff;
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.trip-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.trip-panel span {
  min-height: 76px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(13, 18, 14, 0.42);
  backdrop-filter: blur(14px);
  font-weight: 800;
}

.overview {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.4fr);
  gap: 34px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0 54px;
}

.overview-copy {
  max-width: 430px;
}

.overview-copy h2,
.section-heading h2,
.booking h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.overview-copy p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.booking p {
  color: rgba(255, 255, 255, 0.78);
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #111;
}

.carousel-track {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 340px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 500ms ease;
}

.slide.active {
  opacity: 1;
}

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

.slide-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(15, 20, 16, 0.68);
  backdrop-filter: blur(10px);
}

.slide-caption span {
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.slide-caption strong {
  max-width: 460px;
  text-align: right;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  background: #172017;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.icon-button:hover,
.dot:hover {
  background: rgba(255, 255, 255, 0.2);
}

.dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
}

.dot.active {
  width: 28px;
  background: var(--sun);
}

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

.intro-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: 100%;
  padding: 0;
  background: var(--line);
}

.metric {
  padding: 34px 24px;
  background: var(--leaf);
  color: #fff;
}

.metric:nth-child(2) {
  background: #405f44;
}

.metric:nth-child(3) {
  background: var(--clay);
}

.metric:nth-child(4) {
  background: #1f2b20;
}

.metric span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.metric p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -22px;
  color: var(--clay);
}

.section-heading p:not(.eyebrow),
.booking p,
.detail-list,
.road-copy p {
  color: var(--muted);
}

.roadmap {
  position: relative;
  display: grid;
  gap: 34px;
  padding: 18px 0;
}

.roadmap::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 38px;
  width: 4px;
  border-radius: 999px;
  background:
    linear-gradient(var(--clay), var(--clay)) padding-box,
    repeating-linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.8) 0 16px,
      transparent 16px 28px
    );
  box-shadow: 0 0 0 8px rgba(95, 123, 73, 0.08);
  content: "";
}

.road-stop {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}

.road-stop:nth-child(even) {
  grid-template-columns: 76px minmax(0, 1fr);
}

.road-stop img,
.road-stop:nth-child(even) img {
  grid-column: 2;
}

.road-stop .road-pin,
.road-stop:nth-child(even) .road-pin {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.road-stop .road-copy,
.road-stop:nth-child(even) .road-copy {
  grid-column: 2;
  text-align: left;
}

.road-stop img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 18px 45px rgba(27, 29, 24, 0.16);
}

.road-stop:nth-child(1) img {
  object-position: 42% center;
}

.road-stop:nth-child(3) img {
  object-position: center 58%;
}

.road-stop:nth-child(4) img {
  object-position: center 42%;
}

.road-stop:nth-child(8) img {
  object-position: center 45%;
}

.road-stop:nth-child(10) img,
.road-stop:nth-child(11) img,
.road-stop:nth-child(12) img,
.road-stop:nth-child(13) img,
.road-stop:nth-child(14) img {
  object-position: center 44%;
}

.road-pin {
  position: relative;
  z-index: 2;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 8px solid var(--paper);
  border-radius: 999px;
  background: var(--leaf);
  color: #fff;
  box-shadow: 0 12px 26px rgba(48, 79, 61, 0.3);
}

.road-pin span {
  font-weight: 900;
}

.road-copy {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}

.road-copy .date {
  margin: 0;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.road-copy h3 {
  margin: 10px 0 8px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.18;
}

.road-copy p:not(.date) {
  margin: 0;
}

.road-copy span {
  display: block;
  padding-top: 16px;
  color: var(--leaf);
  font-size: 0.85rem;
  font-weight: 900;
}

.stay-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.stay-link::after {
  font-size: 0.72rem;
  content: "↗";
}

.stay-link:hover {
  color: var(--clay);
}

.details-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1fr) minmax(240px, 0.75fr);
  gap: 28px;
  align-items: start;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading.compact {
  display: block;
  margin: 0;
}

.section-heading.compact .eyebrow {
  margin: 0 0 12px;
}

.detail-list {
  padding: 24px;
  border-radius: 8px;
  background: var(--soft);
}

.detail-list.excluded {
  background: #f4ebe6;
}

.detail-list h3 {
  margin: 0 0 12px;
}

.detail-list ul {
  margin: 0;
  padding-left: 20px;
}

.detail-list li + li {
  margin-top: 8px;
}

.booking {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: 30px;
  align-items: start;
}

.booking .eyebrow {
  color: var(--clay);
}

.booking p {
  max-width: 620px;
}

.price-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
}

.price-row + .price-row {
  border-top: 1px solid var(--line);
}

.price-row span {
  color: var(--muted);
}

.price-row strong {
  text-align: right;
}

.payment-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.payment-steps div {
  padding: 22px;
  border-radius: 8px;
  background: var(--leaf);
  color: #fff;
}

.payment-steps strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1;
}

.payment-steps span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.fine-print {
  grid-column: 1 / -1;
  max-width: none;
  padding-top: 4px;
  font-size: 0.94rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 36px max(20px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: #151914;
}

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

.credits {
  max-width: 420px;
  text-align: right;
}

@media (max-width: 920px) {
  .hero,
  .overview,
  .section-heading,
  .details-grid,
  .booking {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

  .overview-copy {
    max-width: 700px;
  }

  .timeline,
  .intro-band,
  .payment-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .details-grid,
  .booking {
    gap: 18px;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 0;
  }

  .top-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    width: min(100% - 28px, 1180px);
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .overview,
  .section {
    width: min(100% - 28px, 1180px);
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .trip-panel,
  .intro-band,
  .payment-steps {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    min-height: 360px;
    aspect-ratio: 4 / 5;
  }

  .slide-caption {
    align-items: start;
    flex-direction: column;
  }

  .slide-caption strong {
    text-align: left;
  }

  .roadmap {
    gap: 26px;
  }

  .roadmap::before {
    left: 28px;
  }

  .road-stop,
  .road-stop:nth-child(even) {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
  }

  .road-pin {
    width: 56px;
    height: 56px;
    border-width: 6px;
  }

  .road-stop img,
  .road-stop:nth-child(even) img {
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .road-copy {
    padding: 20px;
  }

  .price-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .price-row strong {
    text-align: left;
  }

  .site-footer {
    flex-direction: column;
  }

  .credits {
    text-align: left;
  }
}
