/* אילון זאובר · ייעוץ פנסיוני ופרישה — one-page landing
   Brand: five-stone arch mark, Noto Sans Hebrew only, ink/paper bands, gold kept to ~5% of the screen.
   Every colour below comes from the :root tokens; derived shades use color-mix() on those tokens. */

:root {
  --ink: #10243a;        /* כחול דיו: הצבע הראשי, רקעים כהים, כותרות, הסמל */
  --ink-2: #183552;      /* כחול בהיר: כרטיסים ומשטחים על רקע כחול */
  --ink-3: #0a1828;      /* כחול עמוק: פוטר */
  --paper: #f6f3ec;      /* נייר: רקע בהיר */
  --paper-2: #ebe4d6;    /* חול */
  --text: #1b2633;
  --muted: #56606c;
  --on-dark: #eef2f6;
  --muted-dark: #a8b6c6;
  --accent: #e3a83f;     /* זהב */
  --accent-ink: #8a5a0b; /* זהב כהה: טקסט זהוב על רקע בהיר */

  /* Functional colours outside the brand palette */
  --wa: #25d366;         /* WhatsApp button only */
  --wa-hover: #4be283;
  --wa-ink: #062b15;
  --field: #ffffff;      /* form inputs */
  --danger: #b3261e;     /* form error */

  /* Derived from the tokens above */
  --line-light: color-mix(in srgb, var(--text) 14%, var(--paper-2));
  --veil-dark: color-mix(in srgb, var(--on-dark) 8%, transparent);
  --accent-tint: color-mix(in srgb, var(--accent) 16%, transparent);
  --shadow: color-mix(in srgb, var(--ink-3) 45%, transparent);

  --font: "Noto Sans Hebrew", "Segoe UI", Arial, sans-serif;
  --radius-card: 18px;
  --radius-btn: 6px;
  --wrap: 1160px;
  --gutter: 16px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-synthesis: none;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--accent); color: var(--ink); padding: 8px 14px; border-radius: var(--radius-btn); z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Placeholders — content the owner still has to supply. Search for class="ph". */
.ph { background: color-mix(in srgb, var(--accent) 22%, transparent); border-radius: 4px; padding-inline: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; flex: none; color: var(--on-dark); text-decoration: none; }
.logo--light { color: var(--ink); }
.logo__mark { display: block; width: auto; height: 44px; color: inherit; }
.logo__wm { display: grid; justify-items: start; border-inline-start: 1px solid color-mix(in srgb, currentColor 32%, transparent); }
.logo__name { font-size: 24px; font-weight: 900; letter-spacing: .03em; word-spacing: -.02em; line-height: 1; width: max-content; white-space: nowrap; }
.logo__yod {
  display: inline-block; width: .3em; height: .37em; margin-inline: .045em .04em; background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 64% 100%, 36% 100%); position: relative; bottom: .24em; vertical-align: baseline;
}
.logo__tag { font-weight: 550; width: max-content; white-space: nowrap; line-height: 1.2; color: var(--accent); }
.logo--light .logo__tag { color: var(--accent-ink); }
@media (max-width: 420px) { .logo__name { font-size: 20px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 600; font-size: 1.05rem;
  padding: 14px 26px; border-radius: var(--radius-btn); border: 0;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn .ico { width: 22px; height: 22px; flex: none; }
.btn-sm { padding: 9px 16px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { background: var(--wa-hover); }
.btn-ghost { background: color-mix(in srgb, var(--on-dark) 10%, transparent); color: var(--on-dark); }
.btn-ghost:hover { background: color-mix(in srgb, var(--on-dark) 20%, transparent); }
.ico { width: 20px; height: 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--on-dark);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 6px 24px var(--shadow); }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: var(--radius-btn); font-size: 1rem; color: var(--muted-dark); }
.nav a:hover { color: var(--on-dark); background: var(--veil-dark); }
.header-cta { flex: none; }

.menu-btn { display: none; }

@media (max-width: 1040px) {
  .header-row { gap: 12px; }
  .menu-btn {
    display: flex; flex-direction: column; justify-content: center; gap: 5px; flex: none;
    width: 44px; height: 44px; padding: 10px; border: 0; border-radius: var(--radius-btn);
    background: var(--veil-dark); cursor: pointer;
  }
  .menu-btn span { height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-cta { margin-inline-start: auto; }
  .nav {
    position: absolute; top: var(--header-h); inset-inline: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px;
    background: var(--ink); box-shadow: 0 14px 24px var(--shadow);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; font-size: 1.1rem; color: var(--on-dark); border-bottom: 1px solid var(--veil-dark); border-radius: 0; }
}
/* Below 720px the floating WhatsApp button takes over, so the header one would be a duplicate */
@media (max-width: 720px) {
  .header-cta { display: none; }
  .menu-btn { margin-inline-start: auto; }
}

/* ---------- Bands ---------- */
.band { padding-block: 88px; }
@media (max-width: 720px) { .band { padding-block: 64px; } }
.band-dark { background: var(--ink); color: var(--on-dark); }
.band-light { background: var(--paper); color: var(--text); }

.eyebrow {
  font-size: .85rem; font-weight: 700; letter-spacing: .14em;
  color: var(--accent-ink); margin-bottom: 14px;
}
.band-dark .eyebrow { color: var(--accent); }

h1 { font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -.01em; }
h3 { font-weight: 600; font-size: 1.25rem; margin-bottom: 10px; }
.band-light h1, .band-light h2 { color: var(--ink); }

.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 18px; }
.section-lead { font-size: 1.15rem; color: var(--muted); margin: 0; }
.band-dark .section-lead { color: var(--muted-dark); }
.section-lead a { color: var(--accent-ink); font-weight: 600; }

/* ---------- Hero ---------- */
.hero { padding-top: 72px; padding-bottom: 56px; position: relative; overflow: hidden; }
/* The mark as a watermark — used once on the site. Single colour (--on-dark) via mask. */
.hero::before {
  content: ""; position: absolute; inset-inline-start: -140px; bottom: -150px;
  width: 640px; aspect-ratio: 1;
  background: var(--on-dark); opacity: .06;
  -webkit-mask: url(mark.svg) center / contain no-repeat; mask: url(mark.svg) center / contain no-repeat;
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; position: relative; }
.hero h1 { margin-bottom: 24px; }
.lead { font-size: 1.2rem; color: var(--muted-dark); max-width: 620px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin: 16px 0 0; font-size: .95rem; color: var(--muted-dark); }

.hero-card { background: var(--ink-2); border-radius: var(--radius-card); padding: 32px; }
.hero-card-title { font-weight: 600; font-size: 1.15rem; margin-bottom: 18px; color: var(--accent); }

/* Gold wedge bullets — a miniature of the keystone */
.list-wedge li { display: flex; gap: 10px; align-items: baseline; margin-bottom: 12px; }
.list-wedge li:last-child { margin-bottom: 0; }
.list-wedge li::before {
  content: ""; width: 12px; height: 9px; flex: none; background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 68% 100%, 32% 100%);
}

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 64px; position: relative; }
.trust li { background: color-mix(in srgb, var(--on-dark) 5%, transparent); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; }
.trust strong { font-size: 1.05rem; font-weight: 600; }
.trust span { color: var(--muted-dark); font-size: .95rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .trust { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .hero::before { width: 420px; bottom: -90px; inset-inline-start: -110px; }
}
@media (max-width: 480px) {
  .hero { padding-top: 48px; }
  .hero-actions .btn { width: 100%; }
  .hero-card { padding: 24px; }
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: 16px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); max-width: 920px; }
@media (max-width: 1000px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .cards-4, .cards-3, .cards-2 { grid-template-columns: 1fr; } }

.card { background: var(--paper-2); border-radius: var(--radius-card); padding: 30px 28px; }
.card h3 { color: var(--ink); }
.card p { margin: 0; color: var(--muted); }
.card-num { display: block; font-size: 2.6rem; font-weight: 300; line-height: 1; color: var(--accent-ink); margin-bottom: 22px; }
.card-dark { background: var(--ink-2); }
.card-dark h3 { color: var(--on-dark); }
.card-dark p { color: var(--muted-dark); }
.card-ico {
  width: 44px; height: 44px; padding: 10px; margin-bottom: 20px;
  border-radius: 12px; background: var(--accent-tint);
  fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Self-check ---------- */
.check-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.check-grid h2 { margin-bottom: 18px; }
.checklist { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist label {
  display: flex; align-items: center; gap: 16px; cursor: pointer;
  background: var(--paper-2); border-radius: 14px; padding: 18px 20px;
  transition: background-color .15s;
}
.checklist label:hover { background: color-mix(in srgb, var(--text) 5%, var(--paper-2)); }
.checklist input {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 26px; height: 26px; margin: 0; border-radius: 7px;
  background: var(--field); box-shadow: inset 0 0 0 2px var(--line-light); cursor: pointer; position: relative;
}
.checklist input:checked { background: var(--ink); box-shadow: none; }
.checklist input:checked::after {
  content: ""; position: absolute; left: 8px; top: 4px; width: 7px; height: 12px;
  border: solid var(--accent); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.checklist label:has(input:checked) { background: color-mix(in srgb, var(--ink) 8%, var(--paper)); }
.checklist label:has(input:checked) span { color: var(--muted); }

.check-result { margin-top: 32px; background: var(--ink); color: var(--on-dark); border-radius: var(--radius-card); padding: 28px; }
.check-score { margin: 0 0 6px; font-size: 1.1rem; color: var(--muted-dark); }
.check-score #checkCount { font-size: 3rem; font-weight: 300; color: var(--accent); line-height: 1; vertical-align: -.12em; }
.check-msg { margin-bottom: 20px; }

@media (max-width: 900px) {
  .check-grid { grid-template-columns: 1fr; gap: 28px; }
  .check-result { order: 2; }
}
@media (max-width: 480px) { .check-result .btn { width: 100%; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { background: var(--ink-2); border-radius: var(--radius-card); padding: 30px 28px; position: relative; }
.step p { margin: 0; color: var(--muted-dark); }
.step-num {
  display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px;
  border-radius: 50%; background: var(--accent); color: var(--ink); font-weight: 600; font-size: 1.3rem;
}
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .steps { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
.about-figure { margin: 0; max-width: 340px; width: 100%; justify-self: center; position: sticky; top: calc(var(--header-h) + 24px); }

/* Rectangular photo with a thin gold line along the bottom edge (kept away from the face) */
.arch-photo { border-radius: var(--radius-card); overflow: hidden; position: relative; aspect-ratio: 4 / 5; background: var(--ink-2); }
.arch-photo::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 5px; background: var(--accent); z-index: 1;
}
.about-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.about-figure figcaption { padding: 16px 4px 0; display: flex; flex-direction: column; line-height: 1.45; }
.about-figure figcaption strong { font-size: 1.15rem; font-weight: 600; color: var(--ink); }
.about-figure figcaption span { color: var(--muted); font-size: .95rem; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy > p { font-size: 1.1rem; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0; }
.facts li { background: var(--paper-2); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; }
.facts strong { font-size: 1.6rem; font-weight: 300; color: var(--accent-ink); line-height: 1.2; }
.facts span { color: var(--muted); font-size: .95rem; }

.principles li { padding: 16px 0; border-top: 1px solid var(--line-light); }
.principles li:last-child { border-bottom: 1px solid var(--line-light); }
.principles strong { color: var(--ink); font-weight: 600; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-figure { position: static; max-width: 280px; }
}
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* ---------- Video ---------- */
.video-block {
  margin-top: 72px; background: var(--ink); color: var(--on-dark);
  border-radius: var(--radius-card); padding: 32px;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: center;
}
.video-copy h3 { font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.25; margin-bottom: 16px; }
.video-copy p { color: var(--muted-dark); margin: 0; }
.video-block .eyebrow { color: var(--accent); }
.video-frame { aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--ink-3); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-play { position: relative; display: block; width: 100%; height: 100%; }
.video-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.video-play:hover img { transform: scale(1.02); }
.play-ico {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
  background: var(--accent); display: grid; place-items: center;
  box-shadow: 0 10px 30px var(--shadow); transition: background-color .15s, transform .15s;
}
.play-ico svg { width: 34px; height: 34px; fill: var(--ink); margin-left: 4px; } /* optical centring; play arrow never mirrors */
.video-play:hover .play-ico { background: color-mix(in srgb, var(--accent) 80%, var(--on-dark)); transform: scale(1.05); }
@media (max-width: 900px) {
  .video-block { grid-template-columns: 1fr; gap: 24px; padding: 24px; margin-top: 48px; }
}
@media (max-width: 480px) { .play-ico { width: 60px; height: 60px; } .play-ico svg { width: 28px; height: 28px; } }

/* ---------- Testimonials ---------- */
.quote { margin: 0; background: var(--ink-2); border-radius: var(--radius-card); padding: 32px 28px; display: flex; flex-direction: column; position: relative; }
.quote::before { content: "”"; font-size: 5rem; font-weight: 800; line-height: .6; color: var(--accent); margin-bottom: 18px; }
.quote blockquote { margin: 0 0 24px; font-size: 1.12rem; flex: 1; }
.quote figcaption { display: flex; flex-direction: column; }
.quote figcaption strong { font-weight: 600; }
.quote figcaption span { color: var(--muted-dark); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper-2); border-radius: 14px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 1.1rem; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--accent-ink); border-bottom: 2px solid var(--accent-ink);
  transform: rotate(45deg); transition: transform .2s; margin-top: -6px;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 6px; }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { margin-bottom: 18px; }
.contact-list { margin-top: 32px; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: 1.1rem; }
.contact-list .ico { width: 24px; height: 24px; color: var(--accent); flex: none; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list .contact-wa { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); }

.contact-form { background: var(--paper); color: var(--text); border-radius: var(--radius-card); padding: 32px; display: grid; gap: 16px; }
.form-title { font-weight: 600; font-size: 1.15rem; margin: 0 0 4px; color: var(--ink); }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; font-size: .98rem; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  background: var(--field); border: 0; border-radius: 10px; padding: 12px 14px;
  box-shadow: inset 0 0 0 1.5px var(--line-light); width: 100%;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--danger); }
.form-error { margin: 0; color: var(--danger); font-weight: 600; }
.form-note { margin: 0; font-size: .9rem; color: var(--muted); }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 480px) { .contact-form { padding: 22px; } .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-3); color: var(--muted-dark); padding-block: 40px; font-size: .95rem; }
.footer-row { display: flex; justify-content: space-between; gap: 32px; align-items: flex-end; }
.footer-brand { margin-bottom: 18px; }
.footer-contact { margin: 0 0 12px; color: var(--on-dark); display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.disclaimer { margin: 0; max-width: 720px; }
.copy { margin: 0; flex: none; }
@media (max-width: 720px) { .footer-row { flex-direction: column; align-items: flex-start; gap: 16px; } .site-footer { padding-bottom: 100px; } }

/* ---------- Floating WhatsApp (mobile only) ---------- */
.wa-float {
  position: fixed; bottom: 18px; inset-inline-end: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: var(--wa-ink);
  display: none; place-items: center;
  box-shadow: 0 8px 24px var(--shadow);
}
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 720px) { .wa-float { display: grid; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
