/* Lynx v57 – inner pages (services, niches, blog, contact, thanks). Loaded last, only on those pages. */
:root{
  --green-deep:#0B4F44;
  --ink-green:#0E1F1A;
  --r-lg:24px;
  --shadow-lift:0 2px 4px rgb(11 79 68/.06),0 18px 44px rgb(11 79 68/.12);
  --v57-ease:cubic-bezier(.2,.7,.2,1);
}

/* ---------- 1. anchors: never land under the sticky header ---------- */
#fit,#contact-form{scroll-margin-top:84px}

/* ---------- 2. fit quiz, last step: submit button right after the fields ---------- */
.cta-x-form .fit-step[data-step="4"]>.fit-step-h{order:0}
.cta-x-form .fit-step[data-step="4"]>label{order:1}
.cta-x-form .fit-step[data-step="4"]>button[type=submit]{order:2}
.cta-x-form .fit-step[data-step="4"]>.fit-promise{order:3}
.cta-x-form .fit-step[data-step="4"]>.fit-after{order:4}
.cta-x-form .fit-step[data-step="4"]>.fit-back{order:5}

/* ---------- 3. inline CTA after proof (.proof-cta) ---------- */
.v57-row{margin-block:28px}
.section+.v57-row,.v57-row+.section{margin-block:32px}
.proof-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 18px;margin:28px auto;padding:20px 22px;text-align:center;
  background:var(--green-soft,#E6F1ED);border-radius:20px;color:#141614;max-width:760px}
.v57-row>.proof-cta{margin-block:0}
.v57-row>.cs-proof+.proof-cta,.v57-row>.v57-also+.proof-cta{margin-top:14px}
.proof-cta .proof-cta-q{flex:1 1 100%;margin:0;font-weight:800;font-size:1.12rem;line-height:1.35;color:#141614}
.proof-cta .btn{min-height:48px}
.proof-cta .btn-primary{background:#0F6B5C!important;color:#fff!important;border-color:#0F6B5C!important}
.proof-cta .btn-primary:hover{background:#0B4F44!important;border-color:#0B4F44!important}
.proof-cta a.proof-cta-wa{display:inline-flex;align-items:center;min-height:44px;padding:4px 6px;font-weight:700;color:#0B4F44;text-decoration:underline;text-underline-offset:3px}
.proof-cta a.proof-cta-wa:hover{color:#141614}
.proof-cta .proof-cta-fine{flex:1 1 100%;margin:0;font-size:.88rem;color:#3d4541;font-weight:500}
.proof-cta a:focus-visible{outline:3px solid #0F6B5C;outline-offset:3px;border-radius:999px}
.prose .proof-cta{margin-block:30px}
@media (max-width:600px){
  .proof-cta{padding:18px 16px;gap:8px}
  .proof-cta .btn{width:100%;justify-content:center}
  .proof-cta .proof-cta-q{font-size:1.05rem}
}
.v57-preband{padding-block:44px 36px}
.v57-preband .proof-cta{background:none;padding:0;justify-content:flex-start;margin:18px 0 12px;text-align:start}
.v57-preband .cta-fit{margin:0;color:var(--muted,#4F5752)}
@media (max-width:760px){.v57-preband{padding-block:28px 22px}}

/* ---------- 4. links to case studies (.cs-proof) + related line ---------- */
.cs-proof{margin:28px auto;padding:18px 20px;background:#fff;border:1px solid var(--line,#E1E8E5);border-inline-start:5px solid #0F6B5C;border-radius:16px;box-shadow:0 1px 2px rgb(20 22 20/.05);max-width:760px;text-align:start;color:#141614}
.v57-row>.cs-proof{margin-block:0}
.cs-proof .cs-proof-k{margin:0 0 10px;font-size:.82rem;font-weight:800;letter-spacing:.02em;color:#0B4F44}
.cs-proof ul{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.cs-proof li{margin:0;padding:0;display:grid;gap:3px}
.cs-proof li::before,.cs-proof li::marker{content:none}
.cs-proof li+li{padding-top:12px;border-top:1px solid var(--line,#E1E8E5)}
.cs-proof a{font-weight:800;color:#141614;text-decoration:underline;text-decoration-color:#0F6B5C;text-decoration-thickness:2px;text-underline-offset:4px;line-height:1.4}
.cs-proof a:hover{color:#0F6B5C}
.cs-proof a:focus-visible{outline:3px solid #0F6B5C;outline-offset:2px;border-radius:4px}
.cs-proof span{font-size:.92rem;color:#4F5752}
.cs-proof span b{color:#0B4F44;font-weight:800;white-space:nowrap}
.v57-also{margin:22px auto;padding:12px 16px;background:var(--sand,#EEF5F2);border-radius:12px;font-size:.98rem;max-width:760px;color:#141614}
.v57-row>.v57-also{margin-block:14px 0}
.v57-row>.v57-also:first-child{margin-top:0}
.v57-also a{font-weight:700}
.tool-inline~.cs-proof,.dx~.cs-proof{margin-top:32px}

/* ---------- 5. service / niche hero ---------- */
.page-hero{background:radial-gradient(50% 80% at 12% 10%,rgb(63 208 160/.14),transparent 70%),
  radial-gradient(60% 90% at 88% 20%,rgb(15 107 92/.5),transparent 70%),var(--ink-green)}
.page-hero .v-chs{flex-wrap:wrap}
.hero-panel{position:relative;background:rgb(255 255 255/.06);border:1px solid rgb(255 255 255/.16);border-radius:var(--r-lg);padding:20px 22px;margin-top:24px;max-width:400px;box-sizing:border-box}
@supports (backdrop-filter:blur(6px)){.hero-panel{backdrop-filter:blur(6px)}}
.page-hero .hero-panel .hp-title{margin:0 0 14px;font-weight:800;color:#fff;font-size:1rem}
.hp-rows{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.hp-rows li{display:grid;grid-template-columns:118px 1fr;align-items:center;gap:10px;font-size:.88rem;color:#DBE6E1;margin:0;padding:0}
.hp-rows li span{grid-column:1;grid-row:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hp-rows li i{grid-column:2;height:12px;border-radius:6px;background:rgb(255 255 255/.1);position:relative;overflow:hidden}
.hp-rows li i::after{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:calc(var(--w)*100%);background:var(--c);border-radius:6px}
.page-hero .hero-panel .hp-foot{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0 0}
.hp-foot b{background:rgb(255 255 255/.1);border-radius:10px;padding:8px 4px;text-align:center;font-size:.86rem;color:#fff;font-weight:700}
@media (max-width:1099px){
  .hp-rows li:nth-child(n+4){display:none}
  .hero-panel{padding:16px 18px;margin-top:20px}
  .page-hero .hero-panel .hp-foot{margin-top:14px}
}
@media (min-width:1100px){
  section.page-hero.has-panel>.wrap{min-height:330px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
  section.page-hero.has-panel>.wrap>*{width:100%}
  section.page-hero.has-panel .hero-panel{position:absolute;inset-inline-end:20px;top:50%;transform:translateY(-50%);width:340px;max-width:340px;margin:0}
}
@media (prefers-reduced-motion:no-preference){
  .hp-rows li i::after{transform-origin:right center;animation:v57hp .9s var(--v57-ease) both}
  .hp-rows li:nth-child(2) i::after{animation-delay:.08s}.hp-rows li:nth-child(3) i::after{animation-delay:.16s}
  .hp-rows li:nth-child(4) i::after{animation-delay:.24s}.hp-rows li:nth-child(5) i::after{animation-delay:.32s}
  @keyframes v57hp{from{transform:scaleX(.1)}to{transform:none}}
}

/* ---------- 6. desktop: labelled green WhatsApp pill instead of the black circle ---------- */
@media (min-width:900px){
  .wa-float{background:#1f7a4d!important;color:#fff!important;width:auto!important;height:auto!important;min-height:52px;padding:12px 20px 12px 18px!important;gap:10px!important;border-radius:999px;box-shadow:0 8px 24px rgb(11 79 68/.28)}
  .wa-float:hover{background:#18653f!important}
  .wa-float svg{width:24px;height:24px;flex:none}
  .wa-float span{position:static!important;width:auto!important;height:auto!important;clip:auto!important;overflow:visible!important;white-space:nowrap;font-weight:700;font-size:1rem}
  .wa-float span::before{content:"שאלה קצרה? "}
  .wa-float:focus-visible{outline:3px solid #141614;outline-offset:3px}
}

/* ---------- 7. blog index ---------- */
.post-list>li{position:relative}
.post-list h2.h-small{font-size:1.2rem!important;line-height:1.3}
.post-list .meta{font-size:.82rem}
.post-list>li::before{content:attr(data-cat);position:absolute;z-index:1;inset-block-start:34px;inset-inline-start:34px;
  background:var(--cc,#0F6B5C);color:#fff;font-size:.78rem;font-weight:700;border-radius:999px;padding:3px 11px;line-height:1.5;pointer-events:none}
.post-list>li[data-cat="אימייל ואוטומציות"]{--cc:#B0461F}
.post-list>li[data-cat="פרסום ומדידה"]{--cc:#0A58CA}
.post-list>li[data-cat="מבצעים ולוח מכירות"]{--cc:#C8452A}
.post-list>li[data-cat="קריאייטיב"]{--cc:#B3134A}
.post-list>li[data-cat="יחס המרה"]{--cc:#0F6B5C}
.post-list>li[data-cat="שימור לקוחות"]{--cc:#0B4F44}
.post-list a:focus-visible{outline:3px solid #0F6B5C;outline-offset:3px}
@media (min-width:761px){
  .post-list>li:not(:first-child) a>p:last-child{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
}
@media (min-width:1000px){
  .post-list{grid-template-columns:repeat(6,minmax(0,1fr))}
  .post-list>li{grid-column:span 2}
  .post-list>li:first-child{grid-column:1/-1}
  .post-list>li:nth-child(2),.post-list>li:nth-child(3){grid-column:span 3}
  .post-list>li:first-child>a{display:grid;grid-template-columns:55% minmax(0,1fr);column-gap:32px;align-content:center;align-items:center;background:var(--green-soft,#E6F1ED);border-color:transparent;border-radius:var(--r-lg);padding:22px}
  .post-list>li:first-child .post-thumb{grid-column:1;grid-row:1/span 3;margin:0;border-radius:18px;align-self:stretch;height:100%;min-height:280px}
  .post-list>li:first-child>a>:not(.post-thumb){grid-column:2}
  .post-list>li:first-child>a>.meta{align-self:end}
  .post-list>li:first-child>a>p:last-child{align-self:start;font-size:1.05rem;color:#3d4541}
  .post-list>li:first-child h2.h-small{font-size:2rem!important;line-height:1.18;margin-block:6px 10px}
  .post-list>li:nth-child(2) h2.h-small,.post-list>li:nth-child(3) h2.h-small{font-size:1.4rem!important}
  body:has(.post-list) .page-hero{padding:28px 0 36px}
}
@media (max-width:760px){
  .post-list>li::before{inset-block-start:auto;inset-block-end:18px;inset-inline-start:18px;font-size:.68rem;padding:1px 7px;max-width:92px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .post-list>li::before{display:none}
  .post-list>li{border-inline-start:4px solid var(--cc,#0F6B5C);border-radius:var(--r,14px)}
  .post-list>li>a{border-start-start-radius:0;border-end-start-radius:0}
}

/* ---------- 8. contact ---------- */
.page-contact .page-hero{padding:24px 0 28px}
.page-contact .page-hero .contact-sub{margin:10px 0 0;color:#DBE6E1}
#contact-form button[type=submit]{background:#0F6B5C!important;border-color:#0F6B5C!important;color:#fff!important;min-height:56px;font-size:1.05rem}
#contact-form button[type=submit]:hover{background:#0B4F44!important;border-color:#0B4F44!important}
#contact-form input:not([type=checkbox]),#contact-form select,#contact-form textarea{border:1.5px solid #7E8F88;border-radius:12px}
#contact-form input:not([type=checkbox]):focus,#contact-form select:focus,#contact-form textarea:focus{border-color:#0F6B5C;box-shadow:0 0 0 4px var(--green-soft,#E6F1ED)}
#contact-form label small{font-weight:500;color:#4F5752}
.contact-assure{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px 16px;font-size:.9rem;font-weight:600;color:#0B4F44}
.contact-assure li{position:relative;padding-inline-start:20px;margin:0}
.contact-assure li::before{content:"✓";position:absolute;inset-inline-start:0;font-weight:900;color:#0F6B5C}
.contact-side .box{border-radius:18px}
.contact-face{display:flex;align-items:center;gap:14px}
.contact-face img{width:72px;height:72px;border-radius:50%;object-fit:cover;flex:none}
.contact-face p{margin:0;display:grid;line-height:1.3}
.contact-face p b{font-size:1.1rem}
.contact-face p span{font-size:.9rem;color:#4F5752}
.contact-stats{list-style:none;margin:16px 0 0;padding:14px 0 0;border-top:1px solid var(--line,#E1E8E5);display:grid;grid-template-columns:repeat(3,1fr);gap:8px;text-align:center}
.contact-stats li{display:grid;margin:0}
.contact-stats b{font-size:1.5rem;font-weight:800;line-height:1.1;color:#141614}
.contact-stats span{font-size:.8rem;color:#4F5752;font-weight:600;margin-top:3px}
.next-steps{list-style:none;margin:0;padding:0;counter-reset:ns}
.next-steps li{position:relative;padding:3px 0 18px;padding-inline-start:44px;counter-increment:ns;margin:0}
.next-steps li:last-child{padding-bottom:0}
.next-steps li::before{content:counter(ns);position:absolute;inset-inline-start:0;top:0;width:30px;height:30px;border-radius:50%;
  background:#0F6B5C;color:#fff;font-weight:800;display:grid;place-items:center;font-size:.9rem}
.next-steps li:not(:last-child)::after{content:"";position:absolute;inset-inline-start:14px;top:33px;bottom:3px;width:2px;background:#CFE0D9}
.contact-quote{margin:14px 0 0;background:var(--green-soft,#E6F1ED);border-color:transparent}
.contact-quote blockquote{margin:0;padding:0;border:0;background:none}
.contact-quote blockquote p{margin:0;font-size:1.05rem;font-weight:600;line-height:1.5;color:#141614}
.contact-quote figcaption{margin-top:8px;font-size:.88rem;color:#3d4541}
.contact-steps .h-small{margin-bottom:14px}
@media (min-width:900px){.page-contact .contact-side{position:sticky;top:96px;align-self:start}}
@media (max-width:899px){
  .page-contact .contact-grid{display:flex;flex-direction:column;gap:16px}
  .page-contact .contact-side{display:contents}
  .page-contact .contact-side .box{margin:0}
  .page-contact .contact-wa{order:-1}
}

/* ---------- 9. thanks ---------- */
.notfound .thanks-next,.notfound .thanks-more{text-align:start;max-width:620px;margin:36px auto 0;padding:24px;background:#fff;border:1px solid var(--line,#E1E8E5);border-radius:20px}
.notfound .thanks-more{background:var(--sand,#EEF5F2);border-color:transparent}
.thanks-next .h-small,.thanks-more .h-small{margin:0 0 16px}
.thanks-prep{margin:18px 0 0;padding:14px 16px;background:var(--green-soft,#E6F1ED);border-radius:12px;font-size:.96rem}
.thanks-cases{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:10px}
.thanks-cases li{margin:0}
.thanks-cases a{display:grid;gap:4px;padding:14px 16px;background:#fff;border:1px solid var(--line,#E1E8E5);border-radius:14px;text-decoration:none;color:#141614}
.thanks-cases a:hover{border-color:#0F6B5C}
.thanks-cases a:focus-visible{outline:3px solid #0F6B5C;outline-offset:2px}
.thanks-cases b{font-weight:800}
.thanks-cases span{font-size:.9rem;color:#4F5752}
.thanks-more p{margin:0}
@media (min-width:700px){.thanks-cases{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.notfound{padding:44px 0}.notfound .thanks-next,.notfound .thanks-more{padding:18px;margin-top:24px}}
