:root {
  --purple: #6b3fa0;
  --purple-2: #4d2580;
  --pink: #ff5dac;
  --yellow: #ffd23f;
  --teal: #1aa6a1;
  --ink: #1a1a1a;
  --mute: #4a5568;
  --line: #e6e8ee;
  --bg: #fafbff;
  --card: #ffffff;
  --green: #1d7a3a;
  --maxw: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: var(--bg);
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); font-weight: 500; }
a:hover { color: var(--pink); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Top bar */
.topbar {
  background: var(--purple-2);
  color: #fff;
  padding: 10px 0;
  font-size: 14px;
}
.topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .phone { color: var(--yellow); font-size: 17px; }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  padding: 90px 0 110px;
  background: linear-gradient(135deg, rgba(77,37,128,.84), rgba(107,63,160,.76)),
              url('images/cape-town-jumping-castle-hire-hero.jpg') center/cover no-repeat;
}
.hero h1 {
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.12;
  font-weight: 800;
  margin: 0 0 18px;
  max-width: 880px;
}
.hero .lede {
  font-size: clamp(17px, 1.55vw, 21px);
  max-width: 800px;
  margin: 0 0 28px;
  opacity: .96;
}
.hero .lede a { color: var(--yellow); text-decoration: underline; }
.btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
}
.btn-primary { background: var(--yellow); color: var(--purple-2); }
.btn-primary:hover { background: #ffdc63; color: var(--purple-2); }
.btn-ghost { border: 2px solid #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--purple-2); }

/* Section base */
section { padding: 64px 0; }
section h2 {
  font-size: clamp(24px, 2.8vw, 36px);
  margin: 0 0 14px;
  color: var(--purple-2);
  font-weight: 800;
  line-height: 1.2;
}
section h3 { color: var(--purple-2); margin: 0 0 8px; font-size: 22px; }
.kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
  margin: 0 0 8px;
}
.lead { font-size: 19px; color: var(--mute); max-width: 820px; margin: 0 0 36px; }
.lead a { color: var(--purple-2); }

/* Listicle */
.listicle { background: #fff; }
.list-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 16px;
  background: var(--card);
  box-shadow: 0 1px 3px rgba(77,37,128,.04);
}
.list-item .num {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 20px;
}
.list-item p { margin: 0; color: var(--mute); }
.list-item h3 { margin: 0 0 6px; font-size: 19px; }

/* Image grid / scenes */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.scene-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(77,37,128,.06);
}
.scene-card img { aspect-ratio: 3/2; object-fit: cover; }
.scene-card .body { padding: 18px 22px 22px; }
.scene-card h3 { font-size: 18px; margin: 0 0 6px; }
.scene-card p { margin: 0; color: var(--mute); font-size: 15px; }
.scene-card .price { display: inline-block; background: var(--yellow); color: var(--purple-2); font-weight: 700; padding: 4px 10px; border-radius: 50px; font-size: 14px; margin-top: 10px; }

/* Triples */
.triples { background: linear-gradient(180deg, #f5f0fb 0%, #fafbff 100%); }
.triple-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.triple {
  background: #fff;
  border-left: 4px solid var(--pink);
  padding: 16px 18px;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 1px 3px rgba(77,37,128,.06);
  font-size: 15px;
}
.triple .s { color: var(--purple-2); font-weight: 700; }
.triple .p { color: var(--mute); font-style: italic; }
.triple .o { color: var(--ink); font-weight: 600; }

/* Comparison table */
.compare-wrap { overflow-x: auto; margin-top: 30px; border-radius: 12px; box-shadow: 0 4px 18px rgba(77,37,128,.08); }
table.compare {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 15px;
  min-width: 760px;
}
table.compare thead th {
  background: linear-gradient(135deg, var(--purple-2), var(--purple));
  color: #fff;
  padding: 16px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
table.compare thead th.winner { background: linear-gradient(135deg, #d8a818, var(--yellow)); color: var(--purple-2); }
table.compare tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  color: var(--mute);
}
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare tbody td:first-child { font-weight: 700; color: var(--purple-2); background: #faf7ff; }
table.compare tbody td.winner { background: #fff8dd; color: var(--ink); font-weight: 600; }
.tick { color: var(--green); font-weight: 700; }
.cross { color: #c33; font-weight: 700; }
.dash { color: #999; }

/* Verdict cards */
.verdict-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 30px; }
.verdict {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.verdict.winner {
  border: 2px solid var(--yellow);
  background: linear-gradient(180deg, #fffbe6 0%, #fff 100%);
  position: relative;
}
.verdict.winner::before {
  content: '★ #1 PICK';
  position: absolute;
  top: -12px;
  right: 18px;
  background: var(--yellow);
  color: var(--purple-2);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}
.verdict h3 { color: var(--purple-2); margin: 0 0 6px; font-size: 19px; }
.verdict .rank { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--pink); font-weight: 700; margin-bottom: 8px; }
.verdict p { margin: 0; color: var(--mute); font-size: 15px; }

/* FAQ */
.faq { background: #fff; }
details.faq-q {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  padding: 0;
  background: var(--card);
}
details.faq-q summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  color: var(--purple-2);
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details.faq-q summary::-webkit-details-marker { display: none; }
details.faq-q summary::after {
  content: '+';
  font-size: 26px; color: var(--pink); font-weight: 700;
  transition: transform .2s ease;
}
details.faq-q[open] summary::after { content: '−'; }
details.faq-q .a { padding: 0 22px 20px; color: var(--mute); }
details.faq-q .a p { margin: 0 0 10px; }

/* CTA strip */
.cta {
  background: linear-gradient(135deg, var(--purple-2) 0%, var(--purple) 60%, var(--pink) 100%);
  color: #fff;
  text-align: center;
  padding: 70px 24px;
}
.cta h2 { color: #fff; }
.cta p { font-size: 18px; max-width: 660px; margin: 0 auto 28px; color: rgba(255,255,255,.92); }
.cta p a { color: var(--yellow); text-decoration: underline; }

/* NAP */
.nap { background: linear-gradient(180deg, #fafbff 0%, #f5f0fb 100%); border-top: 1px solid var(--line); }
.nap-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--pink);
  border-radius: 12px;
  padding: 8px 28px;
  box-shadow: 0 2px 8px rgba(77,37,128,.05);
  max-width: 860px;
}
.nap-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.nap-row:last-child { border-bottom: none; }
.nap-label {
  font-weight: 700;
  color: var(--purple-2);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .08em;
  padding-top: 2px;
}
.nap-val { color: var(--ink); }
.nap-val a { font-weight: 600; text-decoration: none; }
.nap-val a:hover { text-decoration: underline; }

/* Footer */
footer {
  background: #2a1640;
  color: rgba(255,255,255,.7);
  padding: 40px 0 24px;
  font-size: 14px;
}
footer a { color: var(--yellow); }
.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.foot-grid h4 { color: #fff; margin: 0 0 10px; font-size: 15px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { padding: 3px 0; }
.copyright { padding-top: 18px; font-size: 13px; }

.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.badge {
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 600px) {
  .topbar .container { justify-content: center; text-align: center; }
  section { padding: 48px 0; }
  .list-item { grid-template-columns: 48px 1fr; padding: 16px; }
  .list-item .num { width: 40px; height: 40px; font-size: 17px; }
  .nap-card { padding: 6px 18px; }
  .nap-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .nap-label { padding-top: 0; }
}
