/* Mash - light, airy: white ground, navy ink, gold accent. Rubik throughout.
   Same visual family as the Mash CRM product itself. */
:root {
  --navy: #0B2545;
  --navy-2: #123A63;
  --navy-3: #1B4B7A;
  --gold: #C9A227;
  --gold-soft: #F6EED5;
  --ivory: #FFFFFF;
  --paper: #FDFCFA;
  --ink: #17202B;
  --muted: #5F6976;
  --faint: #98A2B0;
  --hair: #ECEAE4;
  --hair-2: #F5F3EE;
  --ok: #2E7D52;
  --r: 12px;
  --r-lg: 20px;
  --sh-1: 0 1px 2px rgba(23, 32, 43, .04), 0 1px 3px rgba(23, 32, 43, .03);
  --sh-2: 0 10px 30px rgba(23, 32, 43, .06);
  --sh-3: 0 22px 60px rgba(23, 32, 43, .10);
  --sans: "Rubik", "Assistant", -apple-system, "Segoe UI", Arial, sans-serif;
  --disp: "Rubik", "Assistant", -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--ivory);
  font-size: 17px; line-height: 1.7; direction: rtl; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-3); }
h1, h2, h3, h4 { font-family: var(--disp); font-weight: 700; line-height: 1.24; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 780px; }
section { padding: 76px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.sec-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px; font-family: var(--sans);
}
.muted { color: var(--muted); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--hair);
}
.head-in { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--disp); font-weight: 700; font-size: 1.5rem; color: var(--navy); }
.logo .mark { width: 38px; height: 38px; flex: 0 0 38px; }
.logo small { display: block; font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .12em; color: var(--gold); text-transform: uppercase; margin-top: -3px; }
.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.main-nav a { font-size: .96rem; font-weight: 600; color: var(--ink); padding: 6px 0; position: relative; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .18s; }
.main-nav a:hover::after, .main-nav a.on::after { transform: scaleX(1); }
.head-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--navy); fill: none; stroke-width: 2; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  font-family: var(--sans);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--sh-2); }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-gold { background: var(--gold); color: #24200E; }
.btn-gold:hover { background: #D8B23A; color: #24200E; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--hair); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(170deg, #FFFDF7 0%, #F7F4EC 46%, #F2F5F9 100%); color: var(--ink); padding: 92px 0 100px; position: relative; overflow: hidden; border-bottom: 1px solid var(--hair); }
.hero::after {
  content: ""; position: absolute; inset-inline-start: -12%; top: -30%; width: 62%; height: 160%;
  background: radial-gradient(closest-side, rgba(201, 162, 39, .22), transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero h1 { color: var(--navy); margin-bottom: .35em; }
.hero .lead { font-size: 1.16rem; color: var(--muted); max-width: 34em; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-note { font-size: .9rem; color: var(--faint); }
.hero-shot {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-3);
  border: 1px solid var(--hair); background: #fff;
}
.hero-shot img { display: block; width: 100%; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r);
  padding: 26px 24px; box-shadow: var(--sh-1); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: #DCD6C8; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.card .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--gold-soft); display: grid; place-items: center; margin-bottom: 15px; }
.card .ic svg { width: 21px; height: 21px; stroke: #8A6E13; fill: none; stroke-width: 1.7; }

.alt { background: #F7F8FA; border-block: 1px solid var(--hair); }
.dark { background: linear-gradient(160deg, #FCF8EC 0%, #F6F1E2 100%); color: var(--ink); border-block: 1px solid var(--hair); }
.dark h2 { color: var(--navy); }
.dark .sec-head p { color: var(--muted); }
.dark .card { background: #fff; border-color: var(--hair); }
.dark .card h3 { color: var(--ink); }
.dark .card p { color: var(--muted); }
.dark .card .ic { background: var(--gold-soft); }
.dark .card .ic svg { stroke: #8A6E13; }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 8px; }
.step .n {
  font-family: var(--disp); font-size: 2.3rem; font-weight: 700; color: var(--gold);
  line-height: 1; margin-bottom: 10px; display: block;
}
.step h3 { font-size: 1.08rem; margin-bottom: .3em; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* checklist */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.checks li { position: relative; padding-inline-start: 30px; color: var(--muted); }
.checks li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 16px; height: 16px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A227' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.dark .checks li { color: var(--muted); }

/* pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill {
  background: var(--paper); border: 1px solid var(--hair); border-radius: 999px;
  padding: 9px 18px; font-size: .94rem; font-weight: 600; color: var(--navy);
}

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: 32px 28px; box-shadow: var(--sh-1); }
.plan.featured { border: 2px solid var(--gold); box-shadow: var(--sh-2); position: relative; }
.plan.featured::before {
  content: "הכי נבחר"; position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(50%);
  background: var(--gold); color: #24200E; font-size: .76rem; font-weight: 800; padding: 4px 14px; border-radius: 999px;
  letter-spacing: .04em;
}
.plan .pname { font-family: var(--disp); font-size: 1.4rem; font-weight: 700; margin-bottom: 4px; }
.plan .pfor { color: var(--faint); font-size: .9rem; margin-bottom: 18px; }
.plan .price { font-family: var(--disp); font-size: 2.6rem; font-weight: 700; color: var(--navy); line-height: 1; }
.plan .price span { font-family: var(--sans); font-size: .92rem; font-weight: 600; color: var(--faint); }
.plan .checks { margin: 22px 0 26px; }
.plan .btn { width: 100%; }
.notes { margin-top: 34px; }
.notes ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.notes li { color: var(--muted); font-size: .94rem; padding-inline-start: 20px; position: relative; }
.notes li::before { content: ""; position: absolute; inset-inline-start: 0; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r); margin-bottom: 12px; overflow: hidden; }
.faq summary {
  cursor: pointer; padding: 19px 22px; font-weight: 700; font-size: 1.03rem; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 13px; height: 13px; flex: 0 0 13px; transition: transform .2s;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2545' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .ans { padding: 0 22px 20px; color: var(--muted); }

/* ---------- cta band ---------- */
.cta-band { background: linear-gradient(150deg, var(--navy) 0%, #071A31 100%); color: #fff; border-radius: var(--r-lg); padding: 52px 44px; text-align: center; box-shadow: var(--sh-3); }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: #B7C6D8; max-width: 50ch; margin: 0 auto 26px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- forms ---------- */
.lead-form { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-1); }
.field { margin-bottom: 15px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--hair); border-radius: 10px;
  font-family: inherit; font-size: 1rem; background: var(--ivory); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.field textarea { min-height: 108px; resize: vertical; }
.consent { display: flex; gap: 9px; align-items: flex-start; font-size: .87rem; color: var(--muted); margin: 14px 0 18px; }
.consent input { margin-top: 4px; flex: 0 0 auto; }
.form-msg { font-size: .93rem; margin-top: 12px; min-height: 1.4em; }
.form-msg.ok { color: var(--ok); font-weight: 600; }
.form-msg.err { color: #B23A2E; }

/* ---------- article ---------- */
.article { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: 44px; box-shadow: var(--sh-1); }
.article h2 { font-size: 1.5rem; margin-top: 1.6em; }
.article h3 { font-size: 1.18rem; margin-top: 1.5em; }
.article ul, .article ol { padding-inline-start: 22px; color: var(--muted); }
.article li { margin-bottom: .5em; }
.article a { color: var(--navy-3); text-decoration: underline; text-underline-offset: 3px; }
.article img { border-radius: var(--r); margin: 1.4em 0; }
.post-meta { color: var(--faint); font-size: .9rem; margin-bottom: 26px; }
.legal-doc h2 { font-size: 1.3rem; }
.legal-doc .intro { background: var(--gold-soft); border-inline-start: 3px solid var(--gold); padding: 16px 20px; border-radius: 10px; color: #5B4A12; }

/* post list */
.post-list { display: grid; gap: 18px; }
.post-item { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r); padding: 24px; transition: transform .16s, box-shadow .16s; }
.post-item:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.post-item h3 { margin-bottom: .3em; }
.post-item p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- business card page ---------- */
.vcard { max-width: 560px; margin: 0 auto; }
.vcard-top { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); text-align: center; }
.vcard-cover { height: 128px; background: var(--navy); }
.vcard-photo { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; margin: -66px auto 14px; border: 5px solid #fff; box-shadow: var(--sh-1); background: #fff; }
.vcard-top h1 { font-size: 1.75rem; margin-bottom: .1em; }
.vcard-top .tag { color: var(--muted); font-size: .98rem; padding: 0 24px 22px; margin: 0; }
.vcard-actions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; margin: 22px 0; }
.vc-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 12px;
  background: var(--paper); border: 1px solid var(--hair); border-radius: 12px; font-weight: 700;
  font-size: .95rem; color: var(--navy); box-shadow: var(--sh-1); transition: transform .15s, box-shadow .15s;
}
.vc-btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.vc-btn svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.8; flex: 0 0 19px; }
.vc-save { grid-column: 1 / -1; background: var(--navy); color: #fff; border-color: var(--navy); }
.vc-save:hover { color: #fff; }
.vcard-sec { background: var(--paper); border: 1px solid var(--hair); border-radius: var(--r); padding: 24px; margin-bottom: 14px; }
.vcard-sec h2 { font-size: 1.22rem; }
.vcard-sec p { color: var(--muted); font-size: .97rem; }
.vcard-sec p:last-child { margin-bottom: 0; }
.card-by { text-align: center; margin: 26px 0 0; font-size: .88rem; color: var(--faint); }

/* ---------- footer ---------- */
.site-foot { background: var(--navy); color: #A9BACD; padding: 58px 0 26px; margin-top: 20px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 34px; }
.site-foot h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-foot a { color: #A9BACD; font-size: .95rem; }
.site-foot a:hover { color: var(--gold); }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-brand .logo { color: #fff; margin-bottom: 12px; }
.foot-brand p { font-size: .93rem; max-width: 34ch; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .87rem; }

/* ---------- accessibility widget ---------- */
.a11y-btn {
  position: fixed; inset-inline-start: 16px; bottom: 16px; z-index: 90; width: 48px; height: 48px;
  border-radius: 50%; background: var(--navy); border: 0; cursor: pointer; box-shadow: var(--sh-2);
  display: grid; place-items: center;
}
.a11y-btn svg { width: 25px; height: 25px; fill: #fff; }
.a11y-panel {
  position: fixed; inset-inline-start: 16px; bottom: 74px; z-index: 91; width: 268px; background: #fff;
  border: 1px solid var(--hair); border-radius: var(--r); box-shadow: var(--sh-3); padding: 16px;
}
.a11y-panel h3 { font-size: 1.05rem; margin-bottom: 12px; }
.a11y-panel button.opt {
  display: block; width: 100%; text-align: start; padding: 9px 12px; margin-bottom: 6px;
  background: var(--ivory); border: 1px solid var(--hair); border-radius: 8px; cursor: pointer;
  font-family: inherit; font-size: .92rem; color: var(--ink);
}
.a11y-panel button.opt[aria-pressed="true"] { background: var(--gold-soft); border-color: var(--gold); font-weight: 700; }
.a11y-panel .close-a11y { position: absolute; top: 10px; inset-inline-end: 12px; background: none; border: 0; font-size: 1.3rem; cursor: pointer; color: var(--faint); line-height: 1; }
[hidden] { display: none !important; }
body.a11y-contrast { background: #fff; }
body.a11y-contrast, body.a11y-contrast p, body.a11y-contrast .muted, body.a11y-contrast .card p { color: #000 !important; }
body.a11y-links a { text-decoration: underline !important; }
body.a11y-nomotion * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
body.a11y-readable { font-family: Arial, sans-serif !important; }
body.a11y-readable h1, body.a11y-readable h2, body.a11y-readable h3 { font-family: Arial, sans-serif !important; }

/* cookie banner */
.cookie {
  position: fixed; inset-inline: 16px; bottom: 16px; z-index: 95; max-width: 560px; margin-inline: auto;
  background: #fff; border: 1px solid var(--hair); border-radius: var(--r); box-shadow: var(--sh-3);
  padding: 18px 20px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}
.cookie p { margin: 0; font-size: .9rem; color: var(--muted); flex: 1 1 260px; }

.skip-link { position: absolute; inset-inline-start: -9999px; }
.skip-link:focus { inset-inline-start: 12px; top: 12px; z-index: 200; background: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: var(--sh-2); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .g3, .g4, .plans, .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .main-nav {
    position: fixed; inset: 74px 0 auto; background: #fff; border-bottom: 1px solid var(--hair);
    padding: 16px 22px 22px; transform: translateY(-120%); transition: transform .22s; margin: 0;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 11px 0; border-bottom: 1px solid var(--hair-2); }
  .nav-toggle { display: block; margin-inline-start: auto; }
  .head-cta .btn { display: none; }
  .article { padding: 26px 20px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  section { padding: 54px 0; }
  .g2, .g3, .g4, .plans, .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 22px; }
  .vcard-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
