:root {
  --primary: #ff5a1f;
  --primary-dark: #d83d08;
  --secondary: #1d4ed8;
  --dark: #111827;
  --ink: #1f2937;
  --light: #f8fafc;
  --muted: #64748b;
  --line: #e2e8f0;
  --white: #ffffff;
  --yellow: #facc15;
  --green: #16a34a;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --container: min(1120px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--light);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

:lang(ar) body,
:lang(ar) h1,
:lang(ar) h2,
:lang(ar) h3,
:lang(ar) .brand-text {
  font-family: "Noto Sans Arabic", "Inter", system-ui, sans-serif;
}

html[dir="rtl"] body {
  direction: ltr;
  text-align: right;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] p,
html[lang="ar"] li,
html[lang="ar"] .eyebrow,
html[lang="ar"] .trust-item,
html[lang="ar"] .faq-question,
html[lang="ar"] .price-row,
html[lang="ar"] .notice {
  direction: rtl;
}

[dir="rtl"] .price-row strong:last-child,
[dir="rtl"] .price-row span:last-child {
  text-align: left;
}

[dir="rtl"] .faq-question {
  text-align: right;
}

[dir="rtl"] .hero h1,
[dir="rtl"] .hero .lead,
[dir="rtl"] .eyebrow {
  max-width: 720px;
  padding-inline-end: 2px;
  text-align: right;
}

html[lang="ar"] .hero h1,
html[lang="ar"] .hero .lead,
html[lang="ar"] .hero .eyebrow,
html[lang="ar"] .hero .trust-item {
  text-align: center;
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
.brand-text {
  margin: 0;
  color: var(--dark);
  font-family: "Poppins", "Inter", sans-serif;
  line-height: 1.08;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.25rem, 7vw, 4.8rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
}

h3 {
  font-size: 1.2rem;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--white);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.nav-wrap {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 54px;
  height: 42px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-text span {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav a {
  position: relative;
}

.nav a:not(.btn)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--primary);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.burger span {
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--dark);
}

.burger span::before,
.burger span::after {
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--dark);
  content: "";
}

.burger span::before {
  top: -7px;
}

.burger span::after {
  top: 7px;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(255, 90, 31, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: var(--primary-dark);
  box-shadow: 0 16px 30px rgba(255, 90, 31, 0.3);
  transform: translateY(-2px);
}

.btn.secondary {
  border: 1px solid rgba(29, 78, 216, 0.18);
  background: var(--white);
  color: var(--secondary);
  box-shadow: none;
}

.btn.dark {
  background: var(--dark);
  box-shadow: none;
}

.section {
  padding: 72px 0;
}

.section.tight {
  padding: 44px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 48px;
  background: linear-gradient(115deg, rgba(17, 24, 39, 0.88), rgba(17, 24, 39, 0.48)), url("../img/urban-jump-romainville-hero.jpg") center / cover;
  color: var(--white);
}

.homepage-hero {
  background: linear-gradient(115deg, rgba(17, 24, 39, 0.84), rgba(17, 24, 39, 0.38)), url("../img/Trampoline-park-paris.png") center / cover;
}

.hero h1,
.hero h2 {
  color: var(--white);
}

.hero .lead {
  max-width: 720px;
  margin: 22px 0 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2.5vw, 1.28rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--yellow);
  font-weight: 900;
  text-transform: uppercase;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 42px;
}

.trust-item {
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 800;
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin-bottom: 30px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.card-body {
  padding: 22px;
}

.card .icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: var(--radius);
  background: rgba(255, 90, 31, 0.12);
  color: var(--primary);
  font-weight: 900;
}

.activity-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.price-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.price-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.7fr;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row.head {
  background: var(--dark);
  color: var(--white);
  font-weight: 900;
}

.price-row strong:last-child,
.price-row span:last-child {
  text-align: right;
}

.notice {
  margin-top: 16px;
  padding: 14px 16px;
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  background: #fff7d6;
  color: #684f03;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 30px;
  align-items: center;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.info-panel {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--white);
}

.info-panel h3 {
  color: var(--white);
}

.info-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.info-list li {
  display: flex;
  gap: 10px;
}

.tag-list,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.tag,
.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-switch a {
  display: inline-flex;
  min-width: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.lang-switch a[aria-current="page"] {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.filter-button {
  cursor: pointer;
}

.filter-button.is-active {
  border-color: var(--secondary);
  background: var(--secondary);
  color: var(--white);
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--dark);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item.is-open .faq-question::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.24s ease;
}

.faq-answer p {
  padding: 0 20px 18px;
  margin: 0;
  color: var(--muted);
}

.cta-band {
  padding: 60px 0;
  background: var(--dark);
  color: var(--white);
}

.cta-band h2 {
  color: var(--white);
}

.site-footer {
  padding: 48px 0 30px;
  background: #0b1220;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
}

.footer-links {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}

.footer-links a:hover {
  color: var(--white);
}

.legal-line {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: var(--radius);
  background: var(--secondary);
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 800;
}

.content {
  max-width: 860px;
}

.content h2,
.content h3 {
  margin-top: 34px;
  margin-bottom: 12px;
}

.content ul {
  padding-left: 20px;
}

@media (max-width: 920px) {
  .burger {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav .btn {
    width: 100%;
  }

  .trust-strip,
  .grid.four,
  .grid.three,
  .grid.two,
  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 28px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 24px, 1120px);
  }

  .section {
    padding: 54px 0;
  }

  .hero {
    padding: 52px 0 34px;
  }

  h1 {
    max-width: 340px;
    font-size: clamp(1.7rem, 7.2vw, 2rem);
    line-height: 1.12;
  }

  [dir="rtl"] h1,
  [dir="rtl"] .hero .lead {
    max-width: 330px;
  }

  .hero .lead {
    max-width: 340px;
    font-size: 1rem;
  }

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

  .price-row {
    grid-template-columns: 1fr;
  }

  .price-row strong:last-child,
  .price-row span:last-child {
    text-align: left;
  }

  .brand-text {
    font-size: 0.84rem;
  }
}
