/* Funpark equipment — private sale landing page */
:root {
  --ink: #101428;
  --ink-soft: #3a415c;
  --navy: #151a3a;
  --navy-deep: #0b1028;
  --magenta: #e31c79;
  --magenta-dark: #c01466;
  --orange: #ff5a1f;
  --yellow: #ffd000;
  --sky: #1aa3f0;
  --mint: #22d39a;
  --violet: #6b4eff;
  --cream: #fff6ec;
  --cream-2: #ffe8d2;
  --white: #ffffff;
  --line: rgba(16, 20, 40, 0.1);
  --shadow: 0 18px 50px rgba(16, 20, 40, 0.14);
  --radius: 22px;
  --header-h: 72px;
  --font-display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta-dark); }
a:hover { color: var(--orange); }
h1, h2, h3, .brand-text, .stats dd, .compare-price, .calc-gross {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h1, h2, h3 { margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 650; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }
.wrap.narrow { width: min(760px, calc(100% - 2rem)); }
.skip {
  position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff;
  padding: 0.5rem 0.8rem; border-radius: 8px; z-index: 100;
}
.skip:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { color: inherit; }
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--magenta) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(227, 28, 121, 0.32);
}
.btn-primary:hover { transform: translateY(-1px); color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); color: #fff; }
.btn-lg { padding: 0.95rem 1.55rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 0.95rem; font-size: 0.92rem; }

/* Header — transparent over the hero, solid once scrolled */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: linear-gradient(180deg, rgba(11,16,40,0.55) 0%, rgba(11,16,40,0.0) 100%);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 246, 236, 0.94);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px rgba(16,20,40,0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: #fff; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--orange), var(--magenta) 55%, var(--violet));
  box-shadow: 0 6px 14px rgba(227, 28, 121, 0.28);
}
.brand-text { font-weight: 650; font-size: 1.05rem; white-space: nowrap; }
.brand-text em { font-style: normal; color: var(--yellow); }
.nav { display: flex; align-items: center; gap: 1.15rem; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--yellow); }
.nav .btn { color: #fff; }
.nav .btn:hover { color: #fff; }
.site-header.is-scrolled .brand { color: var(--ink); }
.site-header.is-scrolled .brand-text em { color: var(--magenta); }
.site-header.is-scrolled .nav a:not(.btn) { color: var(--ink); }
.site-header.is-scrolled .nav a:not(.btn):hover { color: var(--magenta); }

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media, .hero-media picture, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-media img {
  object-fit: cover;
  object-position: 50% 42%;
  animation: heroZoom 22s ease-out both;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,16,40,0.35) 0%, rgba(11,16,40,0.12) 28%, rgba(11,16,40,0.55) 62%, rgba(11,16,40,0.88) 100%),
    linear-gradient(90deg, rgba(11,16,40,0.42) 0%, rgba(11,16,40,0.05) 62%);
  z-index: 1;
}
.hero-copy {
  position: relative; z-index: 2;
  padding: calc(var(--header-h) + 5.5rem) 0 7.5rem;
  max-width: 820px;
  margin-left: max(1rem, calc((100% - var(--wrap)) / 2));
  margin-right: auto;
  width: min(820px, calc(100% - 2rem));
}
.hero-kicker {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero h1 { color: #fff; text-shadow: 0 8px 28px rgba(0,0,0,0.35); margin-bottom: 0.7rem; }
.hero-lede { font-size: clamp(1.05rem, 2vw, 1.28rem); color: rgba(255,255,255,0.92); max-width: 40rem; }
.hero-lede strong { color: var(--yellow); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.4rem; }

/* Stats */
.stats-wrap { position: relative; z-index: 3; margin-top: -3.6rem; }
.stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin: 0;
}
.stats > div {
  padding: 1.15rem 0.85rem 1.25rem;
  text-align: center;
  border-right: 1px solid var(--line);
}
.stats > div:last-child { border-right: 0; }
.stats dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 0.25rem;
}
.stats dd { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 700; color: var(--ink); }
.stats dd span { display: block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 600; color: var(--ink-soft); letter-spacing: 0; margin-top: 0.15rem; }
.stats > div:nth-child(1) dd { color: var(--violet); }
.stats > div:nth-child(2) dd { color: var(--sky); }
.stats > div:nth-child(3) dd { color: var(--orange); }
.stats > div:nth-child(4) dd { color: var(--magenta); }
.stats > div:nth-child(5) dd { color: var(--mint); }
.stats > div:nth-child(6) dd { color: var(--violet); }

/* Sections */
.section { padding: 5.2rem 0 4.6rem; }
.section-alt { background: #fff; }
.section-kicker {
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--magenta); margin: 0 0 0.6rem;
}
.section-kicker.light { color: #ffb4d4; }
.section-head { max-width: 42rem; margin-bottom: 2.2rem; }
.lede { font-size: 1.12rem; color: var(--ink-soft); }

/* Gallery — masonry that keeps natural photo crops */
.gallery-grid {
  columns: 3;
  column-gap: 12px;
}
.gallery-grid a {
  display: block; position: relative; overflow: hidden;
  border-radius: 16px; background: #ddd;
  text-decoration: none;
  break-inside: avoid;
  margin: 0 0 12px;
}
.gallery-grid a img {
  width: 100%; height: auto; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-grid a:hover img, .gallery-grid a:focus-visible img { transform: scale(1.04); }

/* Included */
.include-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.include-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.3rem 1.25rem 1.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.include-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.include-icon { font-size: 1.6rem; display: block; margin-bottom: 0.55rem; }
.include-card p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 0.4rem; }
.include-value {
  font-weight: 700; color: var(--magenta) !important; margin: 0.6rem 0 0 !important;
}
.compare {
  margin-top: 1.8rem;
  background: linear-gradient(135deg, var(--navy) 0%, #2a1460 100%);
  color: #fff;
  border-radius: 24px;
  padding: 2rem 2.1rem;
  position: relative;
  overflow: hidden;
}
.compare::after {
  content: "";
  position: absolute; right: -40px; top: -40px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,31,0.45), transparent 70%);
  pointer-events: none;
}
.compare-label { font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.78rem; color: #ffc2dc; margin: 0 0 0.35rem; }
.compare-price { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 0.6rem; color: var(--yellow); }
.compare-copy { font-size: 1.08rem; color: rgba(255,255,255,0.92); max-width: 48rem; }
.compare-cite { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin: 0; max-width: 48rem; }
.compare a { color: #fff; }

/* Calculator */
.calc-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--line);
}
.calc-controls { padding: 1.8rem 1.8rem 1.5rem; display: flex; flex-direction: column; gap: 1.3rem; }
.calc-controls label { display: flex; flex-direction: column; gap: 0.45rem; font-weight: 600; }
.calc-controls label span { display: flex; justify-content: space-between; align-items: baseline; }
.calc-controls strong { color: var(--magenta); font-family: var(--font-display); font-size: 1.25rem; }
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  height: 8px; border-radius: 99px;
  background: linear-gradient(90deg, var(--orange), var(--magenta), var(--violet));
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--magenta); cursor: pointer;
  box-shadow: 0 2px 8px rgba(16,20,40,0.2);
}
.range-hint { font-weight: 500 !important; font-size: 0.82rem; color: var(--ink-soft); }
.calc-result {
  background: linear-gradient(160deg, var(--orange) 0%, var(--magenta) 55%, var(--violet) 100%);
  color: #fff;
  padding: 2rem 1.8rem;
  display: flex; flex-direction: column; justify-content: center;
}
.calc-kicker { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; opacity: 0.85; margin: 0 0 0.3rem; }
.calc-gross { font-size: clamp(2.6rem, 5vw, 3.6rem); margin: 0 0 0.6rem; }
.calc-pill {
  display: inline-block; align-self: flex-start;
  background: rgba(0,0,0,0.2);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-weight: 650;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}
.calc-note { font-size: 0.86rem; opacity: 0.9; margin: 0; }

/* Who */
.who-grid {
  list-style: none; padding: 0; margin: 0 0 1.4rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem;
}
.who-grid li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  font-weight: 700;
  font-size: 1rem;
}
.who-grid li:nth-child(4n+1) { border-top: 4px solid var(--orange); }
.who-grid li:nth-child(4n+2) { border-top: 4px solid var(--magenta); }
.who-grid li:nth-child(4n+3) { border-top: 4px solid var(--sky); }
.who-grid li:nth-child(4n) { border-top: 4px solid var(--violet); }
.who-note { color: var(--ink-soft); margin: 0; }

/* FAQ */
.faq { margin-top: 1.4rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.08rem;
  padding: 1.05rem 2rem 1.05rem 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--magenta); font-weight: 600;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); padding: 0 0 1.1rem; margin: 0; max-width: 40rem; }

/* Form */
.section-inquire {
  background: var(--navy-deep);
  color: #fff;
  padding-bottom: 5.5rem;
}
.section-inquire h2 { color: #fff; }
.section-inquire .lede { color: rgba(255,255,255,0.82); }
.section-inquire a { color: var(--yellow); }
.inquire-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}
.inquire-bullets { padding-left: 1.1rem; color: rgba(255,255,255,0.85); }
.inquire-bullets li { margin: 0.4rem 0; }
.inquire {
  background: #fff; color: var(--ink);
  border-radius: 24px;
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; font-weight: 650; font-size: 0.9rem; margin-bottom: 0.85rem; }
.form-grid .field { margin-bottom: 0; }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 500;
  border: 1.5px solid #e4d9cf;
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  background: #fffaf6;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid rgba(227, 28, 121, 0.25);
  border-color: var(--magenta);
}
.field textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 600; margin: 0.9rem 0 1rem; }
.check input { width: 18px; height: 18px; margin-top: 0.15rem; accent-color: var(--magenta); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { min-height: 1.3em; margin: 0.8rem 0 0; font-weight: 650; }
.form-status.ok { color: #0b7a4b; }
.form-status.err { color: #b42318; }

.site-footer {
  background: #070a18; color: rgba(255,255,255,0.7);
  padding: 2rem 0 6rem; font-size: 0.9rem;
}
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 0.6rem; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
  background: rgba(11, 16, 40, 0.94);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 30px rgba(0,0,0,0.25);
}
.sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; max-width: var(--wrap); margin: 0 auto; }
.sticky-cta p { margin: 0; font-size: 0.95rem; }
.sticky-cta .btn { padding: 0.65rem 1.1rem; color: #fff; }
.sticky-cta[hidden] { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(8, 10, 24, 0.94);
  display: flex; align-items: center; justify-content: center;
  padding: 3.5rem 4rem 3rem;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); }
.lightbox img { max-height: 82vh; width: auto; max-width: 100%; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { color: rgba(255,255,255,0.8); text-align: center; margin-top: 0.7rem; font-size: 0.92rem; }
.lightbox-btn {
  position: absolute; background: rgba(255,255,255,0.12); color: #fff;
  border: 0; border-radius: 999px; cursor: pointer;
  width: 48px; height: 48px; font-size: 1.8rem; line-height: 1;
}
.lightbox-close { top: 1rem; right: 1rem; font-size: 2rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-btn:hover { background: rgba(255,255,255,0.28); }

/* Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img { animation: none; }
  .gallery-grid a img, .btn, .include-card { transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .nav a:not(.btn) { display: none; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats > div:nth-child(3) { border-right: 0; }
  .stats > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .include-grid, .who-grid { grid-template-columns: 1fr 1fr; }
  .calc-card, .inquire-layout { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-h: 64px; }
  .hero { min-height: calc(100svh - 15.75rem); }
  .hero-media img { object-position: 50% 30%; }
  .hero-copy { padding: calc(var(--header-h) + 1.05rem) 0 5.2rem; }
  .hero h1 { font-size: 2.05rem; }
  .hero-lede { font-size: 0.95rem; margin-bottom: 0.85rem; }
  .hero-kicker { font-size: 0.66rem; letter-spacing: 0.04em; max-width: 100%; }
  .hero-actions { flex-direction: row; align-items: stretch; }
  .hero-actions .btn { flex: 1; width: auto; padding: 0.78rem 0.6rem; font-size: 0.92rem; }
  .brand-text em { display: none; }
  .stats-wrap { margin-top: -2.35rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div { border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
  .stats > div:nth-child(-n+2) { border-top: 0; }
  .stats > div:nth-child(2n) { border-right: 0; }
  .section { padding: 3.4rem 0 3rem; }
  .form-grid, .include-grid, .who-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; column-gap: 8px; }
  .gallery-grid a { margin-bottom: 8px; border-radius: 12px; }
  .lightbox { padding: 4rem 0.6rem 2rem; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 0.8rem; transform: none; }
  .lightbox-prev { left: 0.6rem; }
  .lightbox-next { right: 0.6rem; }
  .site-footer { padding-bottom: 6.5rem; }
  body.has-sticky { padding-bottom: 4.6rem; }
}
@media (min-width: 900px) {
  .sticky-cta { display: none !important; }
}
