/* ============================================================
   סטייל משותף לעמודים החדשים.
   הפלטה והפונטים זהים לאתר הקיים: Frank Ruhl Libre לכותרות,
   Assistant לגוף, חום נחושת וזהב.
   ============================================================ */

:root {
  --bg-deep:    #120a02;
  --bg:         #1a0f05;
  --bg-raised:  #241606;
  --bg-edge:    #3c2611;

  --gold:       #b8860b;
  --gold-light: #d4a843;
  --gold-shine: #f0c060;
  --cream:      #efdcb0;
  --cream-dim:  rgba(239, 220, 176, 0.62);
  --cream-faint:rgba(239, 220, 176, 0.34);

  --line:       rgba(212, 168, 67, 0.18);
  --line-strong:rgba(212, 168, 67, 0.4);

  --serif: 'Frank Ruhl Libre', serif;
  --sans:  Assistant, system-ui, sans-serif;

  --wrap: 1080px;
  --read: 62ch;
  --r:    14px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  direction: rtl;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--cream);
  background:
    radial-gradient(120% 80% at 50% 0%, var(--bg-edge) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: var(--gold-light); text-decoration: none; }
a:hover { color: var(--gold-shine); }

:focus-visible {
  outline: 2px solid var(--gold-shine);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── פריסה ───────────────────────────────────────────────── */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}

.narrow { max-width: 660px; }

section { padding: 60px 0; }

/* ── טיפוגרפיה ───────────────────────────────────────────── */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 14px;
  text-wrap: balance;
}

h1 { font-size: clamp(30px, 6vw, 52px); color: var(--cream); }
h2 { font-size: clamp(24px, 4vw, 34px); color: var(--gold-light); }
h3 { font-size: 19px; color: var(--cream); }

p { margin: 0 0 16px; max-width: var(--read); }

.lead {
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--cream-dim);
  line-height: 1.65;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: none;
  margin: 0 0 10px;
}

.muted { color: var(--cream-faint); font-size: 13.5px; }

/* ── כפתורים ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(180deg, var(--gold-shine), var(--gold));
  color: #2a1d06;
}
.btn-primary:hover { filter: brightness(1.07); color: #2a1d06; }

.btn-ghost {
  background: rgba(239, 220, 176, 0.05);
  border-color: var(--line-strong);
  color: var(--cream);
}
.btn-ghost:hover { background: rgba(239, 220, 176, 0.1); color: var(--cream); }

.btn-block { width: 100%; }

/* ── כרטיסים ─────────────────────────────────────────────── */

.card {
  background: linear-gradient(180deg, rgba(239,220,176,0.05), rgba(239,220,176,0.02));
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px;
}

.cards {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
}

/* ── רשימת תועלות ────────────────────────────────────────── */

.ticks { list-style: none; margin: 0 0 22px; padding: 0; }
.ticks li {
  position: relative;
  padding-inline-start: 26px;
  margin-bottom: 11px;
  color: var(--cream-dim);
  max-width: var(--read);
}
.ticks li::before {
  content: '';
  position: absolute;
  inset-inline-start: 4px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 7px rgba(212, 168, 67, 0.6);
}

/* ── טופס ────────────────────────────────────────────────── */

.field {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--cream);
  background: rgba(18, 10, 2, 0.6);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.field::placeholder { color: var(--cream-faint); }
.field:focus { outline: none; border-color: var(--gold-light); }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: var(--cream-dim);
  margin-bottom: 16px;
  cursor: pointer;
  line-height: 1.5;
}
.consent input {
  accent-color: var(--gold);
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex-shrink: 0;
}

.form-note {
  font-size: 13px;
  color: var(--cream-faint);
  text-align: center;
  margin: 14px 0 0;
  max-width: none;
}

.form-error {
  font-size: 13.5px;
  color: #e08a6a;
  margin: 0 0 12px;
}

/* ── כפתור צף לקורס ──────────────────────────────────────── */

.float-cta {
  position: fixed;
  inset-inline-start: 20px;
  bottom: 20px;
  z-index: 90;
  font-size: 14.5px;
  padding: 12px 20px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55);
}
@media (max-width: 560px) {
  .float-cta {
    inset-inline: 14px;
    bottom: 14px;
    font-size: 15px;
  }
}

/* ── כותרת עליונה ────────────────────────────────────────── */

.site-head {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  height: 44px;
  width: auto;
  display: block;
}
@media (max-width: 480px) {
  .brand img { height: 36px; }
}
.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.site-nav a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--cream-dim);
  transition: color 0.3s;
}
.site-nav a:hover {
  color: var(--gold-shine);
}

/* ── כותרת תחתונה ────────────────────────────────────────── */

.site-foot {
  border-top: 1px solid var(--line);
  padding: 26px 0 40px;
  font-size: 13.5px;
  color: var(--cream-faint);
}
.site-foot a { color: var(--cream-dim); }

/* ── עוזרים ──────────────────────────────────────────────── */

.center { text-align: center; }
.center p, .center .ticks li { margin-inline: auto; }
.stack-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
