/* Contact page (tzor-kesher/), on top of yeda-v5.css and pages-v5.css.
   Motion, all off under reduced motion (motion library): the details card lands like the paper on the home page,
   a pill glides to the chosen topic (site/btn-toggle), floating labels and a green line under the active field
   (site/sec-form), the message bubble lands once and follows the typing (site/hero-chat), the send button tells
   what happens (site/btn-states). Copy buttons and the toast are the shared ones (site-extras). */
.pg-tzor-kesher{--tk-card:var(--v4-white,#fbfbf6);--tk-rule:var(--v4-rule,#10284830);--tk-bubble:#e2f3e8;--tk-tilt:-1.5deg}

/* Hero: copy and the details card */
.tk-hero{max-width:var(--od-max);margin-inline:auto;padding:30px var(--od-pad) 0;box-sizing:content-box}
.tk-hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(30px,5vw,80px);align-items:start;margin-top:10px}
.tk-hero h1{margin:0;font-size:clamp(40px,5.6vw,84px);line-height:1.05;font-weight:600;letter-spacing:-.035em}
.tk-hero h1 span{display:block;font-family:var(--yd-serif);font-weight:400;color:var(--yd-gdark)}
.tk-lead{max-width:56ch;margin:22px 0 0;font-size:clamp(18px,1.5vw,21px);line-height:1.75}
.tk-now{display:flex;align-items:center;gap:10px;margin:18px 0 0;font-size:16px;color:var(--yd-muted)}
.tk-now:before{content:'';flex:none;width:10px;height:10px;background:#9aa5ad;transform:rotate(45deg)}
.tk-now.is-open{color:var(--navy)}
.tk-now.is-open:before{background:var(--green)}
.tk-jump{display:flex;flex-wrap:wrap;gap:10px 24px;margin:22px 0 0;font-size:16px}
.tk-jump a{font-weight:600;color:var(--yd-gdark);border-bottom:2px solid currentColor;padding-bottom:2px}

.tk-card{position:relative;margin-top:26px;padding:26px 28px 24px;background:var(--tk-card);color:var(--navy);transform:rotate(var(--tk-tilt));box-shadow:9px 12px 0 #10284814}
.tk-card:after{content:'';position:absolute;left:0;bottom:0;width:34px;height:34px;background:linear-gradient(45deg,var(--paper) 49%,#10284830 50%,#10284809 100%)}
.tk-card:focus-within{transform:none}
.tk-card-label{margin:0;padding-top:12px;border-top:1px solid var(--tk-rule);font-size:13px;font-weight:500;letter-spacing:0;color:var(--yd-muted)}
.tk-card-primary{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;padding-bottom:20px;border-bottom:1px solid var(--navy);font-size:clamp(25px,2.4vw,30px);font-weight:500;line-height:1.2}
.tk-card-primary .ey-ico{width:1em;height:1em;color:var(--green);margin-left:.35em}
.tk-card-primary small{display:block;margin-top:6px;font-size:15px;font-weight:400;color:var(--yd-muted)}
.tk-card-primary+.tk-card-primary{margin-top:14px}
.tk-card-primary>span:last-child{font-size:40px;color:var(--yd-gdark);transition:transform .25s var(--ease)}
.tk-lines{list-style:none;margin:0;padding:0}
.tk-lines li{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--tk-rule)}
.tk-lines a{flex:1;min-width:0;display:grid;gap:2px;padding:13px 0}
.tk-lines a>span{display:flex;align-items:center;font-size:14px;color:var(--yd-muted)}
.tk-lines a .ey-ico{color:var(--green);margin-left:.35em}
.tk-lines bdi{justify-self:start;font-size:19px;font-weight:500}
.tk-lines a:hover bdi{color:var(--yd-gdark)}
.tk-copy{flex:none;min-height:40px;padding:6px 14px;border:1px solid var(--tk-rule);border-radius:999px;background:transparent;color:var(--navy);font-size:14px;font-weight:500;transition:background-color .15s var(--ease),color .15s var(--ease),border-color .15s var(--ease)}
.tk-copy.is-done{background:var(--yd-gdark);border-color:var(--yd-gdark);color:#fff}
.tk-meta{margin:16px 0 0;display:grid;gap:10px}
.tk-meta div{display:grid;grid-template-columns:7.5em 1fr;gap:10px;font-size:15.5px;line-height:1.55}
.tk-meta dt{color:var(--yd-muted)}
.tk-meta dd{margin:0;font-weight:500}
.tk-meta dd small{display:block;font-size:14px;font-weight:400;color:var(--yd-muted)}
.tk-checked{margin:16px 0 0;font-size:13px;color:var(--yd-muted)}
.tk-a11y{margin:14px 0 0;padding-top:12px;border-top:1px solid var(--tk-rule);font-size:14px;line-height:1.6;color:var(--yd-muted)}
.tk-a11y span{white-space:nowrap}
.tk-a11y a{color:var(--navy);font-weight:500;text-decoration:underline;text-underline-offset:3px}
.tk-a11y a:hover{color:var(--yd-gdark)}
.pg-tzor-kesher .yd-review{margin-top:34px}

/* "On what shall we talk": topics, fields, the message bubble */
.tk-form{margin-top:26px}
.tk-topics{margin:0;padding:0;border:0;min-width:0}
.tk-topics legend{padding:0;margin-bottom:12px;font-size:15px;font-weight:600;color:var(--yd-gdark)}
.tk-topic-row{position:relative;display:flex;flex-wrap:wrap;gap:10px}
/* Who gets it: the same pills, without the gliding one */
.tk-to{margin:20px 0 0;padding:0;border:0;min-width:0}
.tk-to legend{padding:0;margin-bottom:10px;font-size:15px;font-weight:600;color:var(--yd-gdark)}
.tk-to-row{display:flex;flex-wrap:wrap;gap:8px}
.tk-topic-row label,.tk-to-row label{position:relative;z-index:1;cursor:pointer}
.tk-topic-row input,.tk-to-row input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.tk-topic-row label>span,.tk-to-row label>span{display:inline-flex;align-items:center;min-height:44px;padding:9px 18px;border:1px solid var(--tk-rule);border-radius:999px;background:var(--tk-card);font-size:16px;font-weight:500;transition:color .25s var(--ease),border-color .25s var(--ease),background-color .25s var(--ease)}
.tk-topic-row input:checked+span,.tk-to-row input:checked+span{color:#fff;border-color:var(--navy);background:var(--navy)}
.tk-topic-row input:focus-visible+span,.tk-to-row input:focus-visible+span{outline:3px solid var(--green);outline-offset:3px}
.tk-topic-row label:hover>span,.tk-to-row label:hover>span{border-color:var(--navy)}
/* The gliding pill sits under the chosen topic. With JS the chosen pill's own background steps aside for it. */
.tk-pill{position:absolute;z-index:0;top:0;right:0;width:0;height:0;border-radius:999px;background:var(--navy);opacity:0;pointer-events:none}
.tk-topic-row.has-pill input:checked+span{background:transparent;border-color:transparent}
.tk-topic-row.has-pill .tk-pill{opacity:1}

.tk-hints{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:10px;max-width:760px}
.tk-hints li{padding:14px 18px;background:#10985012;border-right:3px solid var(--green);font-size:16.5px;line-height:1.7}
.tk-hints a{display:inline-block;margin-inline-start:10px;font-weight:600;color:var(--yd-gdark);border-bottom:2px solid currentColor;line-height:1.4}
.tk-hints.is-picking li{display:none}
.tk-hints.is-picking li.is-on{display:block}
.tk-hints.is-picking li b{display:none}

.tk-compose{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:clamp(22px,4vw,56px);align-items:start;margin-top:26px}
.tk-fields{display:grid;gap:22px}
.tk-field{position:relative}
.tk-field input,.tk-field textarea{display:block;width:100%;padding:26px 14px 10px;border:0;border-bottom:2px solid var(--tk-rule);background:linear-gradient(var(--green),var(--green)) no-repeat right bottom/0 2px,var(--tk-card);color:var(--navy);font:inherit;font-size:17px;line-height:1.6;border-radius:0;resize:vertical}
.tk-field input:focus,.tk-field textarea:focus{background-size:100% 2px,auto}
.tk-field textarea{min-height:150px}
.tk-field label{position:absolute;top:18px;right:14px;font-size:17px;color:var(--yd-muted);pointer-events:none;transform-origin:right top;transition:transform .25s var(--ease),color .25s var(--ease)}
.tk-field input:focus+label,.tk-field input:not(:placeholder-shown)+label,.tk-field textarea:focus+label,.tk-field textarea:not(:placeholder-shown)+label{transform:translateY(-12px) scale(.78);color:var(--yd-gdark)}
.tk-field.is-error input,.tk-field.is-error textarea{border-bottom-color:#b3261e}
.tk-err{margin:8px 0 0;font-size:15px;color:#9b1c14}

.tk-preview{margin:0}
.tk-preview figcaption{margin-bottom:10px;font-size:14px;font-weight:600;color:var(--yd-gdark)}
.tk-bubble{position:relative;padding:14px 16px 10px;background:var(--tk-bubble);border-radius:14px 2px 14px 14px;box-shadow:0 1px 0 #10284814}
.tk-bubble:before{content:'';position:absolute;top:0;right:-9px;border-width:0 0 12px 10px;border-style:solid;border-color:transparent transparent transparent var(--tk-bubble)}
.tk-bubble p{margin:0;font-size:16.5px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.tk-bubble-meta{display:block;margin-top:8px;font-size:12.5px;color:var(--yd-muted)}
.tk-bubble-meta a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.tk-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.tk-actions{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;margin-top:26px}
/* Dark green: white text on the light brand green is 3.7:1, under the 4.5:1 that body-size text needs */
.tk-send{position:relative;border:0;cursor:pointer;font:inherit;font-size:17px;background:var(--yd-gdark)}
.tk-send:hover{background:var(--navy)}
.tk-send .tk-check{display:none;width:1.15em;height:1.15em;margin-left:.4em;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.tk-send .tk-check path{stroke-dasharray:100;stroke-dashoffset:100}
.tk-send.is-done .ey-ico{display:none}
.tk-send.is-done .tk-check{display:inline-block}
.tk-send.is-done .tk-check path{stroke-dashoffset:0;transition:stroke-dashoffset .35s var(--ease)}
.tk-send.is-busy,.tk-send.is-done{background:var(--navy)}
.tk-alt{min-height:44px;display:inline-flex;align-items:center;padding:0;border:0;background:none;color:var(--yd-gdark);font:inherit;font-size:16px;font-weight:600;border-bottom:2px solid currentColor;cursor:pointer}
.tk-alt.is-done{color:var(--navy)}
/* Privacy: a short note that opens from "פרטיות" (click or tap, hover with a mouse), like the terms on the company page */
.tk-tipwrap{display:inline-flex}
.tk-tip-btn{min-height:44px;display:inline-flex;align-items:center;gap:7px;padding:0;border:0;background:none;color:var(--yd-muted);font:inherit;font-size:15px;cursor:help;touch-action:manipulation}
.tk-tip-btn>span{display:inline-grid;place-items:center;width:19px;height:19px;border:1.5px solid currentColor;border-radius:50%;font-size:12px;font-weight:700;line-height:1}
.tk-tip-btn:hover,.tk-tip-btn[aria-expanded="true"]{color:var(--navy)}
.tk-tip-btn:focus-visible{outline:3px solid var(--green);outline-offset:2px}
/* The note sits above the actions row, on its left side where "פרטיות" is, and can never be wider than the row,
   so it never sticks out of the screen (on a phone that widens the whole page). On a wide screen it opens from the button itself. */
.tk-tip{display:none;position:absolute;z-index:5;bottom:calc(100% + 6px);left:0;width:min(340px,100%);padding:12px 14px;background:var(--navy);color:var(--paper);font-size:14.5px;line-height:1.6;box-shadow:0 10px 30px #08142a33}
.tk-tip:after{content:"";position:absolute;left:0;right:0;top:100%;height:8px}
.tk-tip-btn[aria-expanded="true"]+.tk-tip{display:block}
@media (hover:hover) and (pointer:fine){.tk-tipwrap:not(.is-dismissed):hover .tk-tip{display:block}}
@media (max-width:600px){.tk-tip{right:0;width:auto}}
@media (min-width:880px){.tk-tipwrap{position:relative}.tk-tip{left:auto;right:0;width:340px}}

/* After writing: the steps reuse the path line of the about page */
.tk-steps{margin-top:28px}
.tk-lead a,.tk-now a,.tk-meta dd a,.tk-steps a,.tk-next-more a,.tk-faq .v5-answer a,.tk-clients .od-sub a,.tk-clients-note a,.tk-where-grid p:not(.od-links) a{color:var(--navy);text-decoration:underline;text-decoration-color:var(--green);text-decoration-thickness:2px;text-underline-offset:4px}
.tk-next-more{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1000px}
.tk-next-more p{margin:0;padding:20px;background:#e1e4dc;font-size:16.5px;line-height:1.7}
.tk-next-more p:nth-child(2){background:#d8ddd6}
.tk-next-more b{display:block;margin-bottom:4px;font-size:18px;font-weight:600}

/* Existing clients */
.tk-client-grid{list-style:none;margin:26px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.tk-client-grid a{position:relative;display:grid;gap:4px;height:100%;padding:20px 20px 20px 54px;background:var(--tk-card);border-top:3px solid var(--green);transition:transform .25s var(--ease),box-shadow .25s var(--ease)}
.tk-client-grid b{display:flex;align-items:center;font-size:18px;font-weight:600}
.tk-client-grid b .gov-mark{width:20px;height:20px}
.tk-client-grid span{font-size:15px;line-height:1.5;color:var(--yd-muted)}
.tk-client-grid i{position:absolute;left:18px;top:50%;margin-top:-.5em;font-size:22px;line-height:1;color:var(--yd-gdark)}
.tk-clients-note{margin:16px 0 0;font-size:16px;color:var(--yd-muted)}

/* Where */
.tk-where-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,4vw,60px);align-items:start;margin-top:14px}
.tk-where p{max-width:60ch;margin:0 0 14px;font-size:18px;line-height:1.8}
.tk-places{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.tk-places li{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:6px 14px;background:var(--tk-card);border:1px solid var(--tk-rule);border-radius:999px;font-size:15px}
.tk-places li:before{content:'';width:7px;height:7px;background:#10284855;transform:rotate(45deg)}
.tk-places .is-home{background:var(--navy);border-color:var(--navy);color:var(--paper);font-weight:600}
.tk-places .is-home:before{width:9px;height:9px;background:var(--green)}
.tk-places .is-all{border-style:dashed;color:var(--yd-gdark);font-weight:600}
.tk-places .is-all:before{background:var(--green)}

/* Questions */
.tk-qa{margin-top:14px;max-width:980px;border-top:1px solid var(--tk-rule)}
.tk-qa .v5-qa-item{border-bottom:1px solid var(--tk-rule)}
.pg-tzor-kesher main bdi{white-space:nowrap}
.tk-more .yd-disclaimer{margin-top:22px!important}

@media(hover:hover) and (pointer:fine){
  .tk-card-primary:hover>span:last-child{transform:translate(-4px,-4px)}
  .tk-copy:hover{border-color:var(--navy);background:var(--navy);color:#fff}
  .tk-client-grid a:hover{transform:translateY(-3px);box-shadow:0 12px 26px #10284814}
}

@media(prefers-reduced-motion:no-preference){
  .tk-card{animation:tk-land .9s var(--ease) .15s both}
  .tk-field input,.tk-field textarea{transition:background-size .35s var(--ease)}
  .tk-pill{transition:transform .45s var(--ease),width .45s var(--ease),height .45s var(--ease),opacity .2s}
  .tk-bubble.is-new{animation:tk-bubble .45s var(--ease) both}
  .tk-now.is-open.is-in:before{animation:tk-ping .9s var(--ease) 2}
}
@keyframes tk-land{from{opacity:0;transform:translateY(36px) rotate(3deg)}to{opacity:1;transform:rotate(var(--tk-tilt))}}
@keyframes tk-bubble{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
@keyframes tk-ping{0%{box-shadow:0 0 0 0 #10985066}100%{box-shadow:0 0 0 9px #10985000}}
@media(prefers-reduced-motion:reduce){
  .tk-card{transform:none}
  .tk-field label,.tk-field input,.tk-field textarea,.tk-topic-row label>span,.tk-to-row label>span,.tk-copy,.tk-send .tk-check path,.tk-card-primary>span:last-child,.tk-client-grid a{transition:none!important}
}

@media(max-width:980px){
  .tk-hero-grid{grid-template-columns:1fr}
  .tk-card{max-width:560px;margin-top:6px}
  .tk-compose{grid-template-columns:1fr}
  .tk-client-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tk-where-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .pg-tzor-kesher{--tk-tilt:-1deg}
  .tk-card{padding:22px 20px 20px;box-shadow:6px 8px 0 #10284814;margin-inline:4px}
  .tk-card-primary>span:last-child{font-size:34px}
  .tk-lines bdi{font-size:18px}
  .tk-meta div{grid-template-columns:1fr;gap:0}
  .tk-topic-row{gap:8px}
  .tk-topic-row label>span,.tk-to-row label>span{padding:8px 14px;font-size:15px}
  .tk-next-more,.tk-client-grid{grid-template-columns:1fr}
  .tk-hints a{margin-inline-start:0;margin-inline-end:12px;margin-top:4px}
}
