/* Service page: ליווי עוסק מורשה (sherutim/osek-murshe/). On top of yeda-v5.css, site-extras.css and pages-v5.css.
   Motion, all off under reduced motion or ?reduce=1 (everything is shown in its final state):
   the case-file tabs in the hero come in one after another, the VAT calendar and the "what changes" bars switch
   with a gliding pill, the bars fill and their numbers count, and the start steps tick themselves in turn. */
.pg-sherutim-osek-murshe{--om-pad:clamp(20px,4.2vw,80px);--om-max:1240px;--om-sheet:#e1e4dc;--om-sheet2:#d8ddd6;--om-vat:repeating-linear-gradient(-45deg,#102848 0 3px,#3a5878 3px 7px)}
.om-hero,.om-section{max-width:var(--om-max);margin-inline:auto;padding-inline:var(--om-pad);box-sizing:content-box}
.om-section{margin-top:clamp(56px,7vw,96px)}
.om-section.yd-facts,.om-section.yd-related{margin-inline:auto;margin-top:clamp(56px,7vw,96px)}
.om-section h2{margin:0;font-size:clamp(28px,3vw,44px);line-height:1.2;font-weight:600;letter-spacing:-.02em}
.om-sub{margin:10px 0 0;font-size:18px;color:var(--yd-muted)}
.om-vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.om-section a:not(.yd-btn){color:var(--yd-gdark);font-weight:500}
.om-links{display:flex;flex-wrap:wrap;gap:10px 24px;margin:18px 0 0}
.om-links a,.om-grid li>a,.om-faq-more a{border-bottom:2px solid currentColor;padding-bottom:2px}
/* On the grey sheets the dark green is under 4.5:1, so links there are navy with a green line */
.om-section .om-grid li>a,.om-section .om-honest a{color:var(--navy);border-bottom-color:var(--green)}

/* Hero: the promise, the short answer and the case file */
.om-hero{padding-top:30px}
.om-hero-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);gap:clamp(30px,5vw,80px);align-items:start;margin-top:10px}
.om-hero h1{margin:0;font-size:clamp(40px,5.4vw,80px);line-height:1.04;font-weight:600;letter-spacing:-.035em}
.om-hero h1 span{display:block;margin-top:.18em;font-family:var(--yd-serif);font-weight:400;font-size:.56em;line-height:1.25;letter-spacing:-.01em;color:var(--yd-gdark)}
.om-lead{max-width:60ch;margin:22px 0 0;font-size:clamp(18px,1.5vw,21px);line-height:1.8}
.om-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:28px}
.om-tel{font-weight:500;border-bottom:2px solid var(--green);padding-bottom:2px}
.om-file{position:relative;margin-top:40px;padding:14px 22px 10px;background:var(--yd-white);border-top:4px solid var(--navy);box-shadow:0 20px 44px #1028481a}
.om-file-tab{position:absolute;top:-34px;right:-1px;margin:0;padding:6px 18px 6px 30px;background:var(--navy);color:var(--paper);font-size:14px;font-weight:500;clip-path:polygon(0 0,100% 0,100% 100%,14px 100%)}
.om-file ul{list-style:none;margin:0;padding:0}
.om-file li+li{border-top:1px solid var(--line)}
.om-file a{display:grid;grid-template-columns:auto 1fr;column-gap:12px;align-items:baseline;padding:10px 0;transition:color .2s}
.om-file a:before{content:'';grid-row:1/3;width:8px;height:8px;margin-top:2px;background:var(--green);transform:rotate(45deg)}
.om-file b{font-weight:600;font-size:17px}
.om-file small{grid-column:2;font-size:13.5px;color:var(--yd-muted)}
.om-file a:hover b{color:var(--yd-gdark)}
.pg .om-hero .yd-review{margin-top:32px}

/* What is included */
.om-grid{list-style:none;margin:30px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;counter-reset:om}
.om-grid li{display:flex;flex-direction:column;align-items:flex-start;padding:22px 20px 20px;background:var(--om-sheet);scroll-margin-top:110px}
.om-grid li:nth-child(even){background:var(--om-sheet2)}
.om-grid li:target{outline:3px solid var(--green);outline-offset:-3px}
.om-no{font-family:var(--yd-serif);font-size:30px;line-height:1;color:var(--yd-gdark)}
.om-grid h3{margin:12px 0 8px;font-size:19px;font-weight:600}
.om-grid p{margin:0 0 16px;font-size:16px;line-height:1.7;flex:1}
.om-grid li>a{font-size:15px}

/* How often a VAT report is due: the answer next to a calendar with a switch */
.om-two{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,4vw,64px);align-items:start}
.om-two>div>p{max-width:62ch;margin:16px 0 0;font-size:18px;line-height:1.8}
.om-answer{font-size:clamp(19px,1.6vw,22px)!important;line-height:1.7!important}
.om-cal,.om-vs{padding:20px 20px 16px;background:var(--yd-white);border-top:3px solid var(--green)}
.om-switch-label{margin:0 0 8px;font-size:14.5px;color:var(--yd-muted)}
.om-switch{position:relative;display:inline-flex;flex-wrap:wrap;max-width:100%;border:1px solid var(--navy);background:var(--paper);--x:0px;--w:50%}
.om-switch button{position:relative;z-index:1;min-height:44px;padding:8px 16px;border:0;background:none;font-size:15.5px;font-weight:500;color:var(--navy);transition:color .3s}
.om-switch button[aria-pressed="true"]{color:var(--paper)}
.om-switch-pill{position:absolute;top:0;left:0;width:var(--w);height:var(--h,100%);transform:translate(var(--x),var(--y,0px));background:var(--navy);transition:transform .45s var(--ease),width .45s var(--ease)}
.om-view-name{margin:16px 0 4px;font-size:15px;font-weight:600;color:var(--yd-gdark)}
.om-ready .om-view-name{display:none}
.om-switch:not(.is-ready) .om-switch-pill{display:none}
.om-switch:not(.is-ready) button[aria-pressed="true"]{color:var(--navy);text-decoration:underline;text-decoration-color:var(--green);text-decoration-thickness:3px;text-underline-offset:6px}
.om-cal-say{margin:16px 0 10px;font-size:16px}
.om-cal-say b{font-weight:600}
.om-months{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.om-months.is-bi{grid-template-columns:repeat(3,minmax(0,1fr))}
.om-months.is-mono{grid-template-columns:repeat(4,minmax(0,1fr))}
.om-months li{display:grid;gap:3px;padding:10px 10px 9px;background:var(--paper);border-top:2px solid var(--navy)}
.om-months span{font-size:15px;font-weight:600}
.om-months small{display:flex;align-items:center;gap:6px;font-size:13.5px;color:var(--yd-gdark)}
.om-months small:before{content:'';width:7px;height:7px;flex:none;background:var(--green);transform:rotate(45deg)}
.om-cal-note,.om-vs-note{margin:12px 0 0;font-size:13.5px;line-height:1.6;color:var(--yd-muted)}

/* Who does what */
.om-split{width:100%;margin-top:26px;border-collapse:collapse;font-size:16.5px;line-height:1.6}
.om-split th,.om-split td{padding:14px 16px;text-align:right;vertical-align:top;border-bottom:1px solid var(--line)}
.om-split thead th{font-size:14px;font-weight:500;color:var(--yd-muted);border-bottom:2px solid var(--navy)}
.om-split tbody th{width:18%;font-weight:600}
.om-split td:nth-of-type(1){background:#10985012}

/* From exempt to licensed: the 400 example */
.om-two.is-media{grid-template-columns:minmax(0,1.5fr) minmax(0,.5fr)}
.om-vs{margin-top:24px}
.om-bars{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:14px}
/* A fixed column for the sums keeps every bar on the same scale (472 ש״ח = the full track) */
.om-bars li{display:grid;grid-template-columns:110px minmax(0,1fr) 190px;gap:12px;align-items:center}
.om-bar-name{font-size:15px;font-weight:500}
.om-bar{display:flex;height:22px;background:#1028480f}
.om-bar span{display:block;height:100%;width:var(--w);transition:width .9s var(--ease)}
.om-net{background:var(--green)}
.om-vat{background:var(--om-vat)}
.om-bar-sum{font-size:15px;white-space:nowrap}
.om-bar-sum b{font-weight:600}
.om-vs-say{margin:14px 0 0;font-size:16.5px;line-height:1.7}
.om-legend{display:flex;flex-wrap:wrap;gap:6px 18px;margin:12px 0 0;font-size:13.5px;color:var(--yd-muted)}
.om-legend span{display:inline-flex;align-items:center;gap:6px}
.om-key{display:inline-block;width:14px;height:10px}
.om-key.is-net{background:var(--green)}.om-key.is-vat{background:var(--om-vat)}
.om-video{margin:0;justify-self:center;width:100%;max-width:300px}
.om-video figcaption{display:grid;gap:2px;padding-top:10px;font-size:14px;color:var(--yd-muted)}
.om-video figcaption strong{color:var(--navy);font-weight:500}

/* Who it is for, and when you may not need us */
.om-who-list{list-style:none;margin:26px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 36px}
.om-who-list li{position:relative;padding:12px 26px 12px 0;border-top:1px solid var(--line);font-size:17px;line-height:1.7}
.om-who-list li:before{content:'';position:absolute;right:2px;top:22px;width:9px;height:9px;background:var(--green);transform:rotate(45deg)}
.om-honest{margin-top:30px;padding:22px 24px;background:var(--om-sheet);border-right:4px solid var(--navy)}
.om-honest h3{margin:0 0 8px;font-size:20px;font-weight:600}
.om-honest p{margin:0;max-width:78ch;font-size:17px;line-height:1.8}
.om-honest .om-links{margin-top:14px}

/* How to start: steps that tick themselves */
.om-steps{list-style:none;margin:34px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;position:relative}
.om-steps:before{content:'';position:absolute;top:17px;right:17px;left:17px;height:2px;background:var(--line)}
.om-steps li{position:relative}
.om-tick{position:relative;display:block;width:36px;height:36px;margin-bottom:14px;background:var(--green);clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%)}
.om-tick:after{content:'';position:absolute;left:12px;top:10px;width:12px;height:7px;border:solid #fff;border-width:0 0 3px 3px;transform:rotate(-45deg)}
.om-steps h3{margin:0 0 6px;font-size:18px;font-weight:600}
.om-steps p{margin:0;font-size:16px;line-height:1.7}
.om-step-cta{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px;margin:30px 0 0}
.om-note{max-width:80ch;margin:28px 0 0;padding-top:18px;border-top:1px solid var(--line);font-size:16.5px;line-height:1.8}

/* Questions */
.om-faq-list{margin-top:24px;max-width:900px;border-bottom:1px solid var(--line)}
.om-faq details{border-top:1px solid var(--line)}
.om-faq summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;cursor:pointer;list-style:none}
.om-faq summary::-webkit-details-marker{display:none}
.om-faq summary h3{margin:0;font-size:19px;font-weight:600;line-height:1.45}
.om-faq summary:after{content:'+';flex:none;display:grid;place-items:center;width:30px;height:30px;font-size:22px;line-height:1;color:var(--green);border:1px solid var(--line);transition:transform .3s var(--ease)}
.om-faq details[open] summary:after{transform:rotate(45deg)}
.om-faq details>div{padding:0 0 20px}
.om-faq details p{margin:0;max-width:72ch;font-size:17px;line-height:1.8}
.om-faq .om-faq-more{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:10px;font-size:15px}
.om-scope{margin:16px 0 0;font-size:14.5px;color:var(--yd-muted)}
.om-related ul{margin-top:6px}
.om-end{margin-top:40px}
.pg-sherutim-osek-murshe .yd-cta{margin-top:clamp(56px,7vw,96px)}

/* Motion (only with motion allowed, and never under ?reduce=1) */
@media(prefers-reduced-motion:no-preference){
  html:not(.om-reduce).xr-armed .om-file:not(.is-in) li{transform:translateY(10px)}
  .om-file li{transition:opacity .5s var(--ease),transform .5s var(--ease);transition-delay:calc(.15s + var(--i,0) * 70ms)}
  html:not(.om-reduce).xr-armed .om-cal:not(.is-in) .om-months li,.om-months.is-pre li{transform:translateY(8px) scale(.97)}
  .om-months li{transition:opacity .4s var(--ease),transform .4s var(--ease);transition-delay:calc(var(--i,0) * 45ms)}
  html:not(.om-reduce).xr-armed .om-vs:not(.is-in) .om-bar span,.om-vs-view.is-pre .om-bar span{width:0}
  .om-bar span+span{transition-delay:.35s}
  html:not(.om-reduce).xr-armed .om-steps:not(.is-in) .om-tick{background:var(--paper);box-shadow:inset 0 0 0 2px #10284840}
  html:not(.om-reduce).xr-armed .om-steps:not(.is-in) .om-tick:after{opacity:0;transform:rotate(-45deg) scale(.4)}
  .om-tick{transition:background .35s var(--ease) calc(var(--i,0) * 220ms),box-shadow .35s calc(var(--i,0) * 220ms)}
  .om-tick:after{transition:opacity .3s calc(.15s + var(--i,0) * 220ms),transform .4s cubic-bezier(.34,1.6,.64,1) calc(.15s + var(--i,0) * 220ms)}
}
.om-reduce *,.om-reduce *:before,.om-reduce *:after{transition:none!important;animation:none!important}

/* On phones the three steps stack along a vertical line */
@media(max-width:700px){
  .om-steps{grid-template-columns:1fr;gap:0;max-width:760px}
  .om-steps:before{top:18px;bottom:18px;right:17px;left:auto;width:2px;height:auto}
  .om-steps li{display:grid;grid-template-columns:36px 1fr;gap:16px;padding-bottom:22px}
  .om-tick{margin:0}
}
@media(max-width:1100px){
  .om-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
  .om-hero-grid,.om-two,.om-two.is-media{grid-template-columns:1fr}
  .om-file{max-width:520px}
  .om-video{justify-self:start}
}
@media(max-width:700px){
  .om-grid,.om-who-list{grid-template-columns:1fr}
  .om-months.is-bi{grid-template-columns:repeat(2,minmax(0,1fr))}
  .om-months.is-mono{grid-template-columns:repeat(3,minmax(0,1fr))}
  .om-switch{display:flex}
  .om-switch button{flex:1 1 auto;padding:8px 12px}
  .om-bars li{grid-template-columns:1fr auto;row-gap:6px}
  .om-bar{grid-column:1/-1;grid-row:2}
  .om-split thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .om-split,.om-split tbody,.om-split tr,.om-split th,.om-split td{display:block;width:auto}
  .om-split tr{margin-bottom:12px;background:var(--yd-white);border-top:3px solid var(--green)}
  .om-split tbody th{width:auto;padding:12px 14px 4px;border:0;font-size:17px}
  .om-split td{padding:8px 14px 10px;border:0;border-top:1px solid var(--line)}
  .om-split td:before{content:attr(data-who);display:block;font-size:13px;font-weight:600;color:var(--yd-gdark)}
  .om-split td:nth-of-type(1){background:none}
  .om-split tr{display:grid;grid-template-columns:1fr 1fr}
  .om-split tbody th{grid-column:1/-1}
  .om-split td+td{border-right:1px solid var(--line)}
  /* The case file repeats "what is included", so phones skip it */
  .om-file{display:none}
  /* On phones "what is included" is a tight list rather than eight cards */
  .om-grid{gap:0;margin-top:18px}
  .om-grid li,.om-grid li:nth-child(even){display:block;padding:12px 0;background:none;border-top:1px solid var(--line)}
  .om-no{display:none}
  .om-grid h3{margin:0 0 2px;font-size:17px}
  .om-grid p{display:inline;margin:0;font-size:15.5px;line-height:1.6}
  .om-grid li>a{margin-inline-start:6px;font-size:14.5px;white-space:nowrap}
  /* The video becomes a small thumbnail beside its caption */
  .om-video{display:grid;grid-template-columns:110px 1fr;gap:14px;align-items:center;max-width:none}
  .om-video figcaption{padding-top:0}
}
