/* ==========================================================================
   mayashpilman.co.il - stylesheet
   מערכת עיצוב לפי mayashpilman-homepage-v4-audo.html (רפרנס מחייב).
   כללי ברזל: אבן חמה, מונוכרום חם, טיפוגרפיה שקטה, קישורי CTA (לא כפתורים).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  color-scheme: only light;

  /* פלטה (מהרפרנס). --ink-soft הוכהה מ-#6E6A60 ל-#5F5B52 כדי לעבור
     ניגודיות AA (4.5:1) גם על רקע --stone-deep (מקטע statement). */
  --stone:      #F5F3EB;
  --stone-deep: #EBE8DD;
  --ink:        #1E1C18;
  --ink-soft:   #5F5B52;
  --hair:       #DAD6C9;

  /* גופנים */
  --font-serif: 'Bellefair', 'David Libre', 'Frank Ruhl Libre', serif;
  --font-sans:  'Assistant', 'Heebo', system-ui, -apple-system, sans-serif;

  /* קצבי מרווח */
  --wrap-max:   1240px;
  --pad-x:      22px;

  /* קצבי אנימציה */
  --ease-slow:  cubic-bezier(.2,.6,.2,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
/* html font-size הועלה מברירת המחדל (16px) ל-20px = 1rem = 20px.
   בשילוב עם body ב-0.9rem, טקסט רץ = 18px, וסולם הטיפוגרפיה גדל
   1.25× באחיד. גם html מקבל את רקע האבן, כי בגלילת iOS ה-body
   לא מגיע לכל הגובה של viewport. */
html {
  font-size: 20px;
  scroll-behavior: smooth;
  background: var(--stone);
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* ---------- Base ---------- */
body {
  background: var(--stone) !important;   /* אבן חמה - הרפרנס. לא לבן */
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;         /* = 18px, טקסט רץ נדיב לקהל מבוגר */
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* טעינת תוכן - קונטיינר בסיסי */
.wrap {
  max-width: var(--wrap-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ---------- Accessibility utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.skip-link {
  position: absolute; top: -60px; right: 0; z-index: 100;
  background: var(--ink); color: var(--stone);
  padding: 12px 18px;
  font-size: .85rem; letter-spacing: .18em; text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- qlink - CTA טקסטואלי בסגנון Audo ---------- */
.qlink {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: .86rem;
  font-weight: 300;
  letter-spacing: .14em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: opacity .3s;
}
.qlink:hover { opacity: .55; }
.qlink:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 5px;
}

/* ---------- Header ---------- */
header.site {
  background: var(--stone);
  border-bottom: 1px solid var(--hair);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topline {
  text-align: center;
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--ink-soft);
  padding: 8px 0;
  border-bottom: 1px solid var(--hair);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.brand {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  letter-spacing: .14em;
  text-decoration: none;
  color: var(--ink);
}
nav.primary ul {
  display: flex;
  gap: 28px;
  list-style: none;
}
nav.primary a {
  text-decoration: none;
  font-size: .82rem;
  font-weight: 300;
  letter-spacing: .16em;
  color: var(--ink);
  transition: opacity .25s;
}
nav.primary a:hover { opacity: .55; }
nav.primary a[aria-current="page"] {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.nav-phone {
  font-size: .85rem;
  letter-spacing: .1em;
  text-decoration: none;
  color: var(--ink);
}
@media (max-width: 960px) {
  nav.primary ul { display: none; }
}

/* ---------- Hero (דף הבית) ---------- */
.hero-img {
  position: relative;
  height: min(78vh, 680px);
  overflow: hidden;
  background: var(--stone-deep);
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: saturate(.85) sepia(.08);
}
.hero-txt {
  text-align: center;
  padding: 64px 22px 70px;
}
.hero-txt .lockup span {
  display: block;
  white-space: nowrap;
  max-width: 100%;
}
.lk1 {
  font-family: var(--font-serif);
  font-weight: 400;
  /* עם ".ma" קטן, השם עצמו יכול לחזור ל-2rem min של הרפרנס. */
  font-size: clamp(2rem, 7vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: .06em;
}

/* התואר MA שליד השם - קטן, אפור-חם, מוגבה מעט. חל בכל מקום שבו
   מופיע השם + התואר: hero, footer, meta text. */
.ma {
  font-size: 0.5em;
  letter-spacing: .08em;
  color: var(--ink-soft);
  vertical-align: 0.35em;
  font-weight: 400;
  margin-inline-start: 0.15em;
}
.lk2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.05rem, 3.4vw, 1.5rem);
  letter-spacing: .2em;
  color: var(--ink-soft);
  margin-top: .7em;
}
.lk3, .lk4 {
  font-weight: 200;
  font-size: clamp(.85rem, 2.9vw, 1.02rem);
  letter-spacing: .22em;
  color: var(--ink-soft);
}
.lk3 { margin-top: 2em; }
.lk4 { margin-top: .4em; }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 40px;
  margin-top: 44px;
}

/* ---------- Category grid (3 שירותים) ---------- */
.cats { padding: 26px 0 90px; }
.cats-head {
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: .34em;
  margin-bottom: 36px;
  color: var(--ink);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; gap: 30px; }
}
.cat {
  position: relative;
  text-decoration: none;
  color: var(--ink);
  display: block;
}
.cat .ph {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--stone-deep);
  position: relative;
}
.cat .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-slow);
  filter: saturate(.82) sepia(.08);
}
.cat:hover .ph img,
.cat:focus-visible .ph img { transform: scale(1.035); }
.cat .ph .fb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #EFEBDF, #E2DDCE);
  font-family: var(--font-serif);
  font-size: .85rem;
  letter-spacing: .3em;
  color: var(--ink-soft);
}
.cat h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.28rem;
  letter-spacing: .1em;
  margin-top: 16px;
  text-align: center;
}
.cat p {
  text-align: center;
  color: var(--ink-soft);
  font-size: .9rem;
  font-weight: 300;
  max-width: 30em;
  margin: 6px auto 0;
}
.cat .mini {
  display: block;
  text-align: center;
  font-size: .72rem;
  letter-spacing: .22em;
  color: var(--ink);
  margin-top: 14px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  width: fit-content;
  margin-inline: auto;
}

/* ---------- Statement block ---------- */
.statement {
  background: var(--stone-deep);
  padding: 110px 0;
}
.statement .quote {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 3.2vw, 1.95rem);
  line-height: 1.9;
  letter-spacing: .03em;
}
.statement .who {
  display: block;
  margin-top: 30px;
  font-family: var(--font-sans);
  font-size: .74rem;
  letter-spacing: .4em;
  color: var(--ink-soft);
  font-weight: 300;
}
.statement .center { text-align: center; }
.statement .qlink { margin-top: 40px; }

/* ---------- Trust bar ---------- */
.trust {
  padding: 70px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.trust ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 860px) { .trust ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust ul { grid-template-columns: 1fr;   } }
.trust li {
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 300;
  letter-spacing: .14em;
  color: var(--ink-soft);
  line-height: 1.6;
}
.trust li b {
  display: block;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: .08em;
  margin-bottom: 6px;
}

/* ---------- Groups split section ---------- */
.groups { padding: 100px 0; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
}
.split .ph {
  aspect-ratio: 5/4;
  overflow: hidden;
  background: var(--stone-deep);
  position: relative;
}
.split .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) sepia(.08);
}
.groups .kick {
  font-size: .72rem;
  letter-spacing: .34em;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.groups h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: .05em;
  line-height: 1.35;
  margin-bottom: 26px;
}
.groups .facts { list-style: none; margin-bottom: 36px; }
.groups .facts li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hair);
  font-size: .95rem;
  font-weight: 300;
}
.groups .facts li b {
  font-weight: 400;
  letter-spacing: .06em;
  white-space: nowrap;
}

/* ---------- Approach block ---------- */
.approach {
  padding: 100px 0;
  text-align: center;
}
.approach .body {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 2;
  color: var(--ink);
}
.approach .body p + p { margin-top: 1em; }
.approach .qlink { margin-top: 36px; }

/* ---------- Closing CTA ---------- */
.close-cta {
  padding: 100px 0 130px;
  text-align: center;
  border-top: 1px solid var(--hair);
}
.close-cta h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  letter-spacing: .08em;
  margin-bottom: 22px;
}
.close-cta p {
  color: var(--ink-soft);
  font-size: .95rem;
  max-width: 34em;
  margin: 0 auto 40px;
}
.close-cta .qlinks {
  display: flex;
  justify-content: center;
  gap: 26px 44px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Service page (long-form article layout: /adults/, /children-teens/, …)
   ========================================================================== */
.svc-header {
  padding: 80px 0 40px;
  text-align: center;
}
.svc-header .kick {
  font-size: .72rem;
  letter-spacing: .34em;
  color: var(--ink-soft);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.svc-header h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3rem);
  letter-spacing: .06em;
  line-height: 1.25;
  margin-bottom: 26px;
}
.svc-header .sub {
  max-width: 42em;
  margin: 0 auto;
  font-size: 1.02rem;
  color: var(--ink-soft);
  line-height: 1.9;
}

.svc-cover {
  height: min(56vh, 460px);
  overflow: hidden;
  background: var(--stone-deep);
  margin: 30px 0 0;
}
.svc-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) sepia(.08);
}

.svc-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px var(--pad-x) 80px;
  font-size: 1.02rem;
  line-height: 2;
  color: var(--ink);
}
.svc-body > * + * { margin-top: 1.2em; }
.svc-body h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: .05em;
  line-height: 1.35;
  margin-top: 2.2em;
  margin-bottom: .6em;
  color: var(--ink);
}
.svc-body h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.22rem;
  letter-spacing: .06em;
  margin-top: 1.6em;
  margin-bottom: .3em;
  color: var(--ink);
}
.svc-body p { color: var(--ink); }
.svc-body ul,
.svc-body ol {
  padding-inline-start: 1.4em;
  color: var(--ink);
}
.svc-body li + li { margin-top: .35em; }
.svc-body a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink-soft);
  text-decoration: none;
  transition: opacity .25s;
}
.svc-body a:hover { opacity: .6; }

/* פסקה מובלטת בעמוד שירות */
.svc-body .pullout {
  background: var(--stone-deep);
  padding: 30px 32px;
  border-inline-start: 3px solid var(--ink);
  margin: 2em 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.85;
  letter-spacing: .02em;
}

/* FAQ בתוך עמוד שירות */
.svc-body .faq { margin-top: 2em; }
.svc-body .faq details {
  border-top: 1px solid var(--hair);
  padding: 20px 0;
}
.svc-body .faq details:last-child {
  border-bottom: 1px solid var(--hair);
}
.svc-body .faq summary {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.08rem;
  letter-spacing: .04em;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.svc-body .faq summary::-webkit-details-marker { display: none; }
.svc-body .faq summary::after {
  content: "+";
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--ink-soft);
  transition: transform .3s;
}
.svc-body .faq details[open] summary::after {
  content: "–";
  transform: rotate(0deg);
}
.svc-body .faq details[open] > *:not(summary) {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: .98rem;
  line-height: 1.85;
}

/* CTA חוזר בסוף עמוד שירות */
.svc-cta {
  background: var(--stone-deep);
  padding: 80px 0;
  text-align: center;
}
.svc-cta p {
  max-width: 34em;
  margin: 0 auto 34px;
  font-size: 1.02rem;
  color: var(--ink);
  line-height: 1.9;
}
.svc-cta .qlinks {
  display: flex;
  justify-content: center;
  gap: 24px 40px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Contact page - form + info block
   ========================================================================== */
.contact-grid {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px var(--pad-x) 80px;
}
.contact-lede {
  font-size: 1.02rem;
  line-height: 2;
  color: var(--ink);
  margin-bottom: 40px;
}
.contact-lede p + p { margin-top: 1em; }
.contact-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  padding: 24px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  margin-bottom: 40px;
  font-size: 1rem;
}
.contact-channels a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink-soft);
  padding-bottom: 3px;
}
.contact-channels a:hover { opacity: .65; }

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-form label {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: .1em;
  color: var(--ink);
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--stone);
  border: 1px solid var(--hair);
  padding: 14px 16px;
  border-radius: 0;
  transition: border-color .2s;
  font-family: var(--font-sans);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ink);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .hint {
  font-size: .85rem;
  color: var(--ink-soft);
  margin-top: -4px;
}
.contact-form button {
  align-self: flex-start;
  margin-top: 8px;
  background: var(--ink);
  color: var(--stone);
  padding: 14px 32px;
  font-size: .9rem;
  letter-spacing: .18em;
  cursor: pointer;
  transition: opacity .3s;
}
.contact-form button:hover { opacity: .8; }
.contact-form button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.contact-form .honeypot { display: none; }
.contact-note {
  margin-top: 28px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  letter-spacing: .04em;
}

/* ==========================================================================
   Legal pages (accessibility, privacy)
   ========================================================================== */
.legal-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px var(--pad-x) 80px;
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--ink);
}
.legal-body h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: .05em;
  margin-top: 2em;
  margin-bottom: .6em;
}
.legal-body p + p { margin-top: 1em; }
.legal-body ul { padding-inline-start: 1.4em; margin-top: .5em; }
.legal-body li + li { margin-top: .3em; }
.legal-body .meta {
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--hair);
  padding-top: 20px;
  margin-top: 40px;
}

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--hair);
  padding: 70px 0 130px;
  background: var(--stone);
}
.foot {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  color: var(--ink-soft);
  font-size: .88rem;
  font-weight: 300;
}
@media (max-width: 860px) {
  .foot { grid-template-columns: 1fr; gap: 36px; }
}
.foot b {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  font-size: 1.15rem;
  margin-bottom: 14px;
  letter-spacing: .16em;
}
/* Right-column brand block — 4-line prose, name slightly larger. */
.foot .brand-block b {
  font-size: 1.28rem;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.foot .brand-block span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.75;
}
.foot a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .25s;
}
.foot a:hover { color: var(--ink); }
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.legal {
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--ink-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Mobile bar (שיחה + וואטסאפ) ---------- */
.mbar {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
}
.mbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
  font-size: .85rem;
  letter-spacing: .26em;
  text-decoration: none;
  font-weight: 300;
}
.mbar .call { background: var(--ink); color: var(--stone); }
.mbar .wa   { background: var(--stone); color: var(--ink); }
@media (max-width: 860px) {
  .mbar { display: grid; }
  body { padding-bottom: 60px; } /* לא להסתיר תוכן מאחורי הפס */
}

/* ---------- Reveal on scroll ---------- */
.rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s ease, transform 1s ease;
}
.rv.in {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .rv { opacity: 1; transform: none; }
}
