:root {
  --jacana-sky: #9dcbdf;
  --jacana-dunes: #db9751;
  --jacana-savannah: #fffae4;
  --jacana-earth: #2d2416;
  --jacana-warm-sand: #f5f1e8;
  --jacana-line: rgba(45, 36, 22, 0.14);
  --jacana-white: #ffffff;
  --jacana-coral: #e77d5f;
  --jacana-deep-brown: #4a341f;
  --oshi-pink: #e6007e;
  --oshi-dark-pink: #800040;
  --oshi-red: #cc0000;
  --oshi-black: #000000;
  --shadow: 0 24px 60px rgba(16, 12, 10, 0.25);
  --shadow-soft: 0 16px 40px rgba(16, 12, 10, 0.18);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --max-width: 1180px;
  --content-pad: clamp(20px, 4vw, 48px);
  --tap-target: 48px;
}

/* ── Shared button system ────────────────────────────────── */
.button {
  position: relative;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 1.5px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  min-height: var(--tap-target);
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

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

.button:active {
  transform: translateY(0);
}

.button:focus-visible {
  outline: 3px solid var(--jacana-sky, #9dcbdf);
  outline-offset: 3px;
}

/* Primary — Dunes amber */
.button-primary {
  background: linear-gradient(130deg, var(--jacana-dunes, #db9751) 0%, #c07a30 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(219, 151, 81, 0.3);
}

.button-primary:hover {
  background: linear-gradient(130deg, #e8a45e 0%, #cc8535 100%);
  box-shadow: 0 8px 28px rgba(219, 151, 81, 0.44);
}

/* Oshiwambo stripe on hover */
.button-primary::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    var(--oshi-pink, #e6007e) 0px,
    var(--oshi-pink, #e6007e) 6px,
    var(--oshi-black, #000) 6px,
    var(--oshi-black, #000) 8px,
    var(--oshi-red, #cc0000) 8px,
    var(--oshi-red, #cc0000) 12px,
    var(--oshi-dark-pink, #800040) 12px,
    var(--oshi-dark-pink, #800040) 16px,
    var(--oshi-black, #000) 16px,
    var(--oshi-black, #000) 18px
  );
  transform: translateY(100%);
  transition: transform 0.22s ease;
  pointer-events: none;
}

.button-primary:hover::after {
  transform: translateY(0);
}

/* Ghost — light context (dark backgrounds) */
.button-ghost {
  background: transparent;
  border-color: rgba(247, 242, 232, 0.5);
  color: #f7f2e8;
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(247, 242, 232, 0.8);
}

/* Sky — secondary Namibian blue */
.button-sky {
  background: var(--jacana-sky, #9dcbdf);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(157, 203, 223, 0.28);
}

.button-sky:hover {
  background: #7cb8d2;
  box-shadow: 0 8px 22px rgba(157, 203, 223, 0.44);
}

.hero {
  color: #f7f2e8;
  position: relative;
  overflow: hidden;
  margin-top: -80px;
  background-position: center;
  background-size: cover;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 120px var(--content-pad) 90px;
}

.hero > * {
  min-width: 0;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
  color: rgba(247, 242, 232, 0.8);
}

.hero h1 {
  color: #f7f2e8;
  font-size: clamp(42px, 4.4vw, 70px);
  line-height: 1.05;
}

.hero p {
  max-width: 520px;
  font-size: 17px;
  color: rgba(247, 242, 232, 0.85);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-card h3 {
  color: #f7f2e8 !important;
  margin-bottom: 12px;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  color: rgba(247, 242, 232, 0.85);
}

.section {
  padding: 90px var(--content-pad);
  background: #f3efe8;
}

.section.dark {
  background: #14100d;
  color: #f3efe8;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-inner > * {
  min-width: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: clamp(30px, 3.4vw, 48px);
}

.section-header p {
  max-width: 420px;
  color: rgba(44, 31, 26, 0.7);
}

.section.dark .section-header p {
  color: rgba(243, 239, 232, 0.75);
}

.card-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  min-width: 0;
}

.card.dark {
  background: rgba(255, 255, 255, 0.08);
  color: #f3efe8;
}

.card h3 {
  margin-bottom: 12px;
}

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.highlight {
  background: linear-gradient(120deg, rgba(219, 151, 81, 0.14), rgba(219, 151, 81, 0));
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(219, 151, 81, 0.28);
  border-left: 4px solid var(--jacana-dunes, #db9751);
}

.tabs {
  display: grid;
  gap: 16px;
}

.tab {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  border: 1px solid rgba(156, 114, 75, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.destinations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.destination-pill {
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: var(--tap-target);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section img,
.card img,
.hero img {
  max-width: 100%;
  height: auto;
}

.button:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--jacana-sky, #9dcbdf);
  outline-offset: 3px;
}

.section h1,
.section h2,
.section h3,
.hero h1,
.hero h2,
.hero h3,
.card h1,
.card h2,
.card h3 {
  text-wrap: balance;
}

.section p,
.card p,
.hero p,
.tab span,
.tab strong,
.destination-pill {
  overflow-wrap: anywhere;
}

.jacana-zoora-parity {
  position: relative;
}

.jacana-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--jacana-delay, 0ms);
}

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

@media (max-width: 960px) {
  .hero-inner,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 28px;
  }

  .hero-inner {
    padding: 110px var(--content-pad) 80px;
  }

  .section {
    padding: 72px var(--content-pad);
  }

  .card,
  .hero-card {
    padding: 24px;
  }
}

@media (max-width: 780px) {
  .hero-inner {
    padding: 100px var(--content-pad) 70px;
  }

  .section {
    padding: 58px var(--content-pad);
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .hero-actions,
  .footer-cta {
    width: 100%;
  }

  .hero-actions .button,
  .footer-cta .button {
    flex: 1 1 100%;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-inner {
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .card,
  .hero-card {
    padding: 20px 18px;
    border-radius: 16px;
  }

  .button,
  .destination-pill {
    width: 100%;
  }
}
