/* ==========================================================================
   TRIBUNA, טריבונה
   Israel-first football travel. Hebrew (RTL) primary, English (LTR) toggle.
   Palette: floodlight, near-black stand, warm white light, gold accent.
   ========================================================================== */

:root {
  --ink:        #080A0D;
  --ink-2:      #10141B;
  --surface:    #161B24;
  --surface-2:  #1E2532;
  --line:       #2A3342;
  --line-soft:  #202836;

  --text:       #F2F5F9;
  --text-dim:   #A3AEBF;
  --text-mute:  #6C7A8D;

  --gold:       #FFC93C;
  --gold-deep:  #E5A800;
  --gold-glow:  rgba(255, 201, 60, .16);

  --pitch:      #14B87A;
  --alert:      #FF5C5C;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow:    0 18px 44px rgba(0,0,0,.45);
  --shadow-sm: 0 6px 18px rgba(0,0,0,.35);

  --maxw: 1180px;
  --pad:  clamp(18px, 4vw, 40px);

  --font-he: "Heebo", "Assistant", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-en: "Barlow Condensed", "Heebo", system-ui, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-he);
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Direction handling ------------------------------------------------------ */
html[dir="rtl"] { direction: rtl; }
html[dir="ltr"] { direction: ltr; }
html[dir="ltr"] body { font-size: 16.5px; }

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

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

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.1rem, 6.2vw, 4.1rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); }
p  { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

section { padding-block: clamp(54px, 8vw, 104px); position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-glow);
  border: 1px solid rgba(255,201,60,.28);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 18px;
}

.lead { font-size: clamp(1.02rem, 1.9vw, 1.2rem); color: var(--text-dim); max-width: 62ch; }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 800;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #14100A; box-shadow: 0 10px 26px rgba(255,201,60,.24); }
.btn-gold:hover { background: #FFD65E; box-shadow: 0 14px 32px rgba(255,201,60,.34); }
.btn-wa { background: #25D366; color: #06240F; box-shadow: 0 10px 26px rgba(37,211,102,.24); }
.btn-wa:hover { background: #3BE07A; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(8,10,13,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 900; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(150deg, var(--gold), var(--gold-deep));
  display: grid; place-items: center;
  color: #14100A; font-size: 1.25rem; font-weight: 900;
  flex: 0 0 auto;
}
.brand-name { font-size: 1.22rem; letter-spacing: .01em; line-height: 1.1; }
.brand-name small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .22em; color: var(--text-mute); text-transform: uppercase; }

.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a {
  padding: 8px 13px; border-radius: 999px;
  font-size: .93rem; font-weight: 600; color: var(--text-dim);
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--text); background: var(--surface); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  display: inline-flex; background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px; gap: 2px;
}
.lang-toggle button {
  font: inherit; font-weight: 800; font-size: .8rem;
  padding: 5px 12px; border-radius: 999px; border: 0;
  background: transparent; color: var(--text-mute); cursor: pointer;
  transition: background .15s, color .15s;
}
.lang-toggle button[aria-pressed="true"] { background: var(--gold); color: #14100A; }

.nav-burger { display: none; background: none; border: 0; color: var(--text); font-size: 1.5rem; cursor: pointer; padding: 4px 8px; }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(52px, 9vw, 108px) clamp(40px, 6vw, 76px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 78% at 78% -8%, rgba(255,201,60,.15), transparent 58%),
    radial-gradient(90% 62% at 8% 8%, rgba(20,184,122,.10), transparent 60%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.018) 0 2px, transparent 2px 46px);
  pointer-events: none;
}
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 .hl { color: var(--gold); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--text-mute); display: flex; align-items: center; gap: 8px; }

/* Fixture card */
.fixture-card {
  background: linear-gradient(165deg, var(--surface), var(--ink-2));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow);
}
.fixture-card h3 { font-size: 1.02rem; color: var(--text-dim); font-weight: 700; letter-spacing: .02em; }
.fixture-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0; border-bottom: 1px dashed var(--line-soft);
}
.fixture-row:last-of-type { border-bottom: 0; }
.fixture-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; box-shadow: 0 0 0 4px var(--gold-glow); }
.fixture-teams { font-weight: 800; font-size: .98rem; }
.fixture-meta { font-size: .8rem; color: var(--text-mute); }
.fixture-price { margin-inline-start: auto; font-weight: 900; color: var(--gold); white-space: nowrap; font-size: .96rem; }

/* Trust bar --------------------------------------------------------------- */
.trustbar { background: var(--ink-2); border-block: 1px solid var(--line-soft); padding-block: 26px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-ico { font-size: 1.3rem; line-height: 1.2; flex: 0 0 auto; }
.trust-item strong { display: block; font-size: .95rem; }
.trust-item span { font-size: .83rem; color: var(--text-mute); }

/* Teams ------------------------------------------------------------------- */
.league-head { display: flex; align-items: baseline; gap: 14px; margin: 34px 0 16px; }
.league-head h3 { margin: 0; font-size: 1.15rem; }
.league-head span { font-size: .82rem; color: var(--text-mute); }
.league-head::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 12px; }
.team-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 16px 18px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
  cursor: pointer;
}
.team-card:hover { transform: translateY(-3px); border-color: var(--gold); background: var(--surface-2); }
.team-card::before {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 5px;
  background: var(--club, var(--gold));
}
.team-card .tname { font-weight: 800; font-size: 1rem; display: block; }
.team-card .tcity { font-size: .78rem; color: var(--text-mute); }
.team-card .tfrom { margin-top: 9px; font-size: .82rem; color: var(--gold); font-weight: 800; }

/* Included ---------------------------------------------------------------- */
.inc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 30px; }
.inc-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px;
}
.inc-card .ico { font-size: 1.7rem; margin-bottom: 10px; }
.inc-card h3 { font-size: 1.08rem; }
.inc-card p { font-size: .92rem; color: var(--text-dim); margin: 0; }

/* Steps ------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(214px, 1fr)); gap: 18px; margin-top: 32px; counter-reset: step; }
.step { position: relative; padding-top: 46px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; inset-inline-start: 0;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold); color: #14100A;
  display: grid; place-items: center; font-weight: 900; font-size: .95rem;
}
.step h3 { font-size: 1.03rem; }
.step p { font-size: .9rem; color: var(--text-dim); margin: 0; }

/* Israel section ---------------------------------------------------------- */
.israel { background: var(--ink-2); border-block: 1px solid var(--line-soft); }
.israel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); gap: 18px; margin-top: 30px; }
.israel-card {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 22px 24px; background: linear-gradient(160deg, var(--surface), transparent);
}
.israel-card h3 { font-size: 1.05rem; display: flex; gap: 9px; align-items: center; }
.israel-card p { font-size: .91rem; color: var(--text-dim); margin: 0; }

/* FAQ --------------------------------------------------------------------- */
.faq { max-width: 860px; margin-inline: auto; margin-top: 30px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); margin-bottom: 10px; overflow: hidden;
}
.faq details[open] { border-color: var(--gold); }
.faq summary {
  cursor: pointer; padding: 17px 20px; font-weight: 800; font-size: 1rem;
  display: flex; align-items: center; gap: 12px; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-inline-start: auto; color: var(--gold); font-size: 1.3rem; font-weight: 900; }
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 20px 18px; color: var(--text-dim); font-size: .94rem; }

/* Contact / form ---------------------------------------------------------- */
.contact { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(26px, 5vw, 54px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.contact-list .ico { font-size: 1.15rem; }
.contact-list strong { display: block; }
.contact-list span { color: var(--text-mute); font-size: .84rem; }

.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(22px, 3.4vw, 34px);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 15px; }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; color: var(--text-dim); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem;
  padding: 12px 14px; border-radius: var(--r-sm);
  background: var(--ink-2); border: 1px solid var(--line); color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow);
}
.field textarea { resize: vertical; min-height: 88px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note { font-size: .78rem; color: var(--text-mute); margin: 12px 0 0; text-align: center; }

/* Footer ------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--line-soft); padding-block: 40px 30px; background: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot-grid h4 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .9rem; color: var(--text-dim); }
.foot-grid a:hover { color: var(--gold); }
.foot-about { font-size: .89rem; color: var(--text-dim); max-width: 42ch; }
.foot-legal {
  margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line-soft);
  font-size: .78rem; color: var(--text-mute); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}

/* Floating WhatsApp ------------------------------------------------------- */
.wa-float {
  position: fixed; inset-block-end: 20px; inset-inline-end: 20px; z-index: 70;
  display: inline-flex; align-items: center; gap: 9px;
  background: #25D366; color: #06240F; font-weight: 900; font-size: .93rem;
  padding: 13px 20px; border-radius: 999px;
  box-shadow: 0 12px 32px rgba(37,211,102,.36);
  transition: transform .16s ease;
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); }

/* Ticker ------------------------------------------------------------------ */
.ticker { background: var(--gold); color: #14100A; font-weight: 800; font-size: .84rem; overflow: hidden; padding-block: 8px; }
.ticker-track { display: flex; gap: 44px; white-space: nowrap; animation: slide 34s linear infinite; }
html[dir="rtl"] .ticker-track { animation-name: slide-rtl; }
@keyframes slide     { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes slide-rtl { from { transform: translateX(0); }    to { transform: translateX(50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 940px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav {
    position: fixed; inset-block-start: 68px; inset-inline: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 12px var(--pad) 20px; gap: 2px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav-burger { display: block; margin-inline-start: auto; }
  .header-actions { margin-inline-start: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .wa-float span.wa-label { display: none; }
  .wa-float { padding: 15px; }
}

/* Latin/number runs inside Hebrew text, keep them from flipping ---------- */
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
