/* Kiboko Tours & Travel review picker. Palette and type taken from kibokotoursandtravel.com */
:root {
  --navy: #0b1620;
  --navy-2: #14293a;
  --cream: #f8f3ec;
  --sand: #efe5d6;
  --line: #ece3d6;
  --orange: #f4732b;
  --orange-deep: #dd5f18;
  --orange-soft: #f6a15e;
  --rust: #a8460f;
  --ink: #14181d;
  --muted: #6b6c71;
  --ok: #1d8a5a;
  --ok-tint: #f1f9f4;
  --ok-line: #bfe2cd;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.5 "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: env(safe-area-inset-bottom);
}

img, svg { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 30vh;
  min-height: 200px;
  max-height: 320px;
  background: var(--navy) url("assets/hero.webp") center 40% / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 22, 32, .45) 0%, rgba(11, 22, 32, .08) 38%, rgba(11, 22, 32, .35) 100%);
}
.hero__tag {
  position: relative;
  z-index: 1;
  padding-top: calc(18px + env(safe-area-inset-top));
  text-align: center;
  color: rgba(255, 255, 255, .92);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

/* ---------- Card ---------- */
.card {
  position: relative;
  width: min(460px, calc(100% - 32px));
  margin: -84px auto 0;
  padding: 66px 18px 18px;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 1px 2px rgba(20, 24, 29, .05), 0 24px 60px -18px rgba(11, 22, 32, .35);
  text-align: center;
}

.logo {
  position: absolute;
  top: -58px;
  left: 50%;
  width: 116px;
  height: 116px;
  padding: 10px;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 10px 28px -8px rgba(11, 22, 32, .4);
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--rust);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

h1 {
  font: 800 clamp(27px, 7.6vw, 34px)/1.12 Poppins, system-ui, sans-serif;
  letter-spacing: -.012em;
  color: var(--ink);
}
h1 span { color: var(--orange); }

.lede {
  max-width: 32ch;
  margin: 10px auto 18px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}

/* ---------- Platform buttons ---------- */
.platforms {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.platform {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 14px 12px 12px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background-color .2s ease;
}
.platform:hover {
  border-color: var(--orange-soft);
  box-shadow: 0 12px 28px -16px rgba(244, 115, 43, .6);
  transform: translateY(-1px);
}
.platform:active { transform: scale(.985); }
.platform:focus-visible {
  outline: 3px solid rgba(244, 115, 43, .45);
  outline-offset: 2px;
}

.platform__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: #f5f2ee;
}
.platform__icon svg { width: 28px; height: 28px; }
.platform__icon--tripadvisor { background: #34e0a1; }
.platform__icon--tripadvisor svg { width: 36px; height: 36px; }
.platform__icon--safaribookings { background: #fff; border: 1px solid var(--line); }

.platform__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.platform__name {
  font: 600 17px/1.25 Poppins, system-ui, sans-serif;
  color: var(--ink);
}
.platform__note {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.35;
}
.platform__note--done { display: none; color: var(--ok); font-weight: 500; }

.platform__go {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  transition: background-color .2s ease;
}
.platform:hover .platform__go { background: var(--orange-deep); }
.platform__go svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.platform__go .i-check { display: none; }

/* Reviewed state */
.platform.is-done { background: var(--ok-tint); border-color: var(--ok-line); }
.platform.is-done .platform__note { display: none; }
.platform.is-done .platform__note--done { display: block; }
.platform.is-done .platform__go { background: var(--ok); }
.platform.is-done .i-arrow { display: none; }
.platform.is-done .i-check { display: block; }

/* ---------- Thank-you panel ---------- */
.thanks {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  padding: 16px;
  background: var(--navy-2);
  border-radius: 18px;
  color: #fff;
  text-align: left;
  outline: none;
  animation: rise .45s cubic-bezier(.2, .8, .2, 1);
}
.thanks[hidden] { display: none; }
.thanks__badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
}
.thanks__badge svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.thanks__title {
  font: 600 16px/1.3 Poppins, system-ui, sans-serif;
  color: var(--orange-soft);
}
.thanks__text {
  margin-top: 2px;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  line-height: 1.45;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Tip + footer ---------- */
.tip {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--cream);
  border-radius: 16px;
  color: #56575c;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
.tip strong { color: var(--ink); font-weight: 700; }

.foot {
  width: min(460px, calc(100% - 32px));
  margin: 26px auto 0;
  padding-bottom: 30px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}
.foot a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--orange-soft);
  text-underline-offset: 3px;
}
.foot a:hover { color: var(--rust); }
.foot__powered {
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: .04em;
  opacity: .75;
}

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  .hero { height: 52vh; max-height: 520px; }
  .card { margin-top: -210px; padding: 78px 30px 28px; }
  .hero__tag { padding-top: 26px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
