/* The Padel Jerusalem — faithful rebuild of the original site
   Brand: blue #1F58F1 · orange #FF6B06 · ink #29292B · peach #FBE6D8 */

/* Self-hosted Inter (variable) — includes the OpenType 'zero' slashed-zero
   feature that the Google Fonts build strips out. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/InterVariable.woff2") format("woff2");
}

:root {
  --blue: #1F58F1;
  --orange: #FF6B06;
  --ink: #29292B;
  --muted: #6a6a70;
  --page: #f1f1f3;
  --peach: #FBE6D8;
  --card-radius: 28px;
  --panel-radius: 18px;
  --maxw: 560px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  /* Inter first so Latin digits get slashed zero; Hebrew falls through to Heebo */
  --font-he: "Inter", "Heebo", "Assistant", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background-color: var(--page);
  background-image:
    repeating-linear-gradient(45deg, rgba(24,30,60,.05) 0 1px, transparent 1px 8px);
  color: var(--ink);
  line-height: 1.45;
  font-variant-numeric: slashed-zero;
  font-feature-settings: "zero" 1;
  -webkit-font-smoothing: antialiased;
}
[lang="he"] body, html[lang="he"] { font-family: var(--font-he); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.shell { max-width: var(--maxw); margin: 0 auto; padding: 26px 18px 40px; }

/* ---------- Header ---------- */
.site-header { text-align: center; padding: 14px 0 22px; }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand .badge { width: 62px; height: 62px; border-radius: 16px; }
.brand .wordmark {
  font-weight: 600; font-size: clamp(38px, 11vw, 64px);
  letter-spacing: -.02em; color: #1e1e1e; line-height: 1;
}
.lang { position: relative; display: inline-block; margin: 18px auto 0; }
.lang summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #e4e4e8; border-radius: 999px;
  padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--ink);
}
.lang summary::-webkit-details-marker { display: none; }
.lang .flag { width: 22px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); flex: none; }
.lang .chev { width: 15px; height: 15px; opacity: .55; transition: transform .2s; }
.lang[open] .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid #e6e6ec; border-radius: 14px; padding: 6px;
  min-width: 168px; box-shadow: 0 14px 34px rgba(0,0,0,.14); z-index: 60;
}
.lang-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.lang-menu a:hover { background: #f1f1f5; }

.social { margin: 30px 0 4px; display: flex; gap: 12px; justify-content: center; }
.social a {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(31,88,241,.28); transition: transform .15s;
}
.social a:hover { transform: translateY(-2px); }
.social svg { width: 22px; height: 22px; }

/* ---------- Sticky scroll bar ---------- */
.scroll-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: center;
  padding: 9px 18px;
  background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #e6e6ec;
  transform: translateY(-105%); transition: transform .3s ease; will-change: transform;
}
.scroll-bar.visible { transform: translateY(0); }
.scroll-bar .sb-inner {
  width: 100%; max-width: var(--maxw);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.sb-brand { display: flex; align-items: center; gap: 10px; }
.sb-brand img { width: 32px; height: 32px; border-radius: 8px; }
.sb-brand span { font-weight: 600; font-size: 20px; letter-spacing: -.02em; color: #1e1e1e; font-family: "Inter", sans-serif; }
.sb-right { display: flex; align-items: center; gap: 8px; }
.sb-icon {
  width: 42px; height: 42px; border-radius: 999px; flex: none;
  display: grid; place-items: center; background: #eef0f6; color: var(--blue);
  transition: transform .15s, background .15s;
}
.sb-icon:hover { transform: translateY(-1px); background: #e3e6f2; }
.sb-icon svg { width: 20px; height: 20px; }
.sb-cta {
  background: var(--blue); color: #fff; font-weight: 700; font-size: 14px;
  padding: 10px 22px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(31,88,241,.28); transition: transform .15s;
}
.sb-cta:hover { transform: translateY(-1px); }

/* ---------- Product cards ---------- */
.card {
  position: relative; border-radius: var(--card-radius); overflow: hidden;
  padding: 30px 24px; margin-bottom: 22px; isolation: isolate;
  background-size: cover; background-position: center;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
}
.card--light::before { background: linear-gradient(180deg, rgba(255,255,255,.30), rgba(255,255,255,.68)); }
.card--dark::before  { background: linear-gradient(180deg, rgba(15,18,28,.30), rgba(15,18,28,.66)); }
.card--teaser { min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; }
.card--teaser::before { background: linear-gradient(180deg, rgba(15,18,28,.15) 30%, rgba(15,18,28,.72)); }

.card h2 {
  font-size: 30px; font-weight: 700; letter-spacing: -.03em;
  text-transform: uppercase; line-height: 1.04; margin-bottom: 10px;
}
.card--dark h2 { color: #fff; }
.card .sub { font-size: 13.5px; line-height: 1.4; max-width: 280px; }
.card .sub + .pgroup { margin-top: 34px; }
.card--light .sub { color: #33333a; text-shadow: 0 1px 2px rgba(255,255,255,.5); }
.card--dark .sub { color: rgba(255,255,255,.88); }

.cta {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink);
  border-radius: 999px; padding: 7px 24px 7px 7px;
  font-weight: 700; letter-spacing: .03em; font-size: 14px;
  margin: 20px 0 8px; box-shadow: 0 8px 20px rgba(0,0,0,.12);
  transition: transform .15s;
}
.cta:hover { transform: translateY(-2px); }
.cta .cic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.cta .cic svg { width: 20px; height: 20px; }
.cta--blue .cic { background: var(--blue); }
.cta--orange .cic { background: var(--orange); }

/* price groups */
.pgroup {
  background: rgba(255,255,255,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: var(--panel-radius); padding: 16px 18px; margin-top: 14px;
}
.card--dark .pgroup { background: rgba(20,22,32,.42); border-color: rgba(255,255,255,.14); }
.ghead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid rgba(0,0,0,.10); }
.card--dark .ghead { border-bottom-color: rgba(255,255,255,.18); }
.ghead .glabel { font-weight: 800; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 9px; }
.ghead .glabel::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--orange); flex: none; }
.card--dark .ghead .glabel { color: #fff; }
.mult {
  min-width: 118px; text-align: center; background: rgba(255,255,255,.75);
  color: #6a6a70; border-radius: 999px; padding: 7px 14px; font-size: 12px; font-weight: 700;
}
.card--dark .mult { background: rgba(255,255,255,.18); color: #fff; }

.prow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 5px 0; }
.prow .plabel { font-size: 14px; font-weight: 500; }
.card--dark .prow .plabel { color: #fff; }
.pill {
  min-width: 118px; text-align: center; color: #fff; font-weight: 700; font-size: 14px;
  padding: 9px 16px; border-radius: 999px; font-variant-numeric: tabular-nums slashed-zero;
}
.pill--blue { background: var(--blue); }
.pill--orange { background: var(--orange); }

/* perks (highlights under a card) */
.perks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.perk { display: inline-flex; align-items: center; gap: 8px; border-radius: 13px; padding: 12px 16px; font-size: 13.5px; font-weight: 700; }
.perk--hot { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(255,107,6,.28); }
.perk--soft { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: #fff; }
.perk--soft b { color: var(--orange); font-weight: 800; }
.card--light .perk--soft { background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.10); color: var(--ink); }
.finenote { margin-top: 13px; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.62); max-width: 470px; }
.card--light .finenote { color: rgba(0,0,0,.5); }
.finenote b { font-weight: 700; color: inherit; }

/* map card */
.card--map { padding-bottom: 24px; }
.mapwrap { margin-top: 18px; border-radius: var(--panel-radius); overflow: hidden; height: 300px; }
.mapwrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Contact (peach) ---------- */
.contact-card { background: var(--blue); border-radius: var(--card-radius); padding: 22px; margin-bottom: 22px; }
.ctile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ctile {
  background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.22); border-radius: 16px; padding: 20px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #fff;
  transition: transform .15s, background .15s;
}
.ctile:hover { transform: translateY(-2px); background: rgba(255,255,255,.22); }
.ctile.wide { grid-column: 1 / -1; }
.ctile .tic { width: 30px; height: 30px; color: var(--orange); }
.cinfo { margin-top: 16px; display: grid; gap: 12px; }
.cinfo-row { display: flex; align-items: flex-start; gap: 12px; font-size: 13px; }
.cinfo-row .rics { width: 34px; height: 34px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.cinfo-row .rics svg { width: 18px; height: 18px; }
.cinfo-row b { font-weight: 700; }

/* ---------- Contact redesign ---------- */
.contact-top { text-align: center; margin-bottom: 18px; }
.ctitle { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.caddr { margin-top: 6px; font-size: 14px; color: rgba(255,255,255,.82); }
.status {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  background: #fff; border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
}
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #b8b8bf; flex: none; }
.status.is-open { color: #12833f; }
.status.is-open .dot { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.status.is-closed { color: #b0402a; }
.status.is-closed .dot { background: #ef6b4d; }

.hours-box { margin-top: 16px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 18px; }
.hours-box h3 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.72); margin-bottom: 10px; }
.hours-list { list-style: none; display: grid; gap: 4px; }
.hours-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; font-size: 14px; color: #fff; font-variant-numeric: tabular-nums slashed-zero; }
.hours-list li span:last-child { font-weight: 700; }
.hours-list li.today { background: var(--orange); color: #fff; }
.hours-list li.today span:last-child { color: #fff; }

.social-row { display: flex; gap: 12px; justify-content: center; margin-top: 18px; }
.social-row a { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.06); transition: transform .15s; }
.social-row a:hover { transform: translateY(-2px); }
.social-row svg { width: 21px; height: 21px; }

/* ---------- Footer ---------- */
.site-footer { text-align: center; padding: 20px 0 6px; color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.site-footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.site-footer a:hover { color: var(--blue); }
.site-footer .foot-links { margin-top: 8px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Accessibility base ---------- */
:where(a, button, summary, [tabindex]):focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 200; font-weight: 700; }
.skip-link:focus { left: 0; }

/* ---------- Accessibility statement page ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 40px 20px 60px; }
.legal a.back { display: inline-block; margin-bottom: 20px; color: var(--blue); font-weight: 700; }
.legal h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 13px; margin-bottom: 24px; }
.legal h2 { font-size: 18px; font-weight: 800; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 15px; line-height: 1.6; color: #33333a; }
.legal ul { padding-inline-start: 22px; margin: 8px 0; display: grid; gap: 4px; }
.legal .contact-box { margin-top: 20px; background: #fff; border: 1px solid #e6e6ec; border-radius: 14px; padding: 18px; }
.legal .contact-box a { color: var(--blue); font-weight: 700; }

@media (max-width: 420px) {
  .pill, .mult { min-width: 96px; }
  .card h2 { font-size: 26px; }
}

/* ---------- RTL ---------- */
[dir="rtl"] .cta { padding: 7px 7px 7px 24px; }
