/* think. לצוותים — תוספות לדף בסגנון החדש (מעל landing.css) */

/* תפריט: הלוגו עם המילה "לצוותים" */
.teams .nav__logo { display: flex; align-items: center; gap: 10px; }
.teams .nav__logo em { font-style: normal; font-size: 15px; font-weight: 500; opacity: .7; padding-inline-start: 10px; border-inline-start: 1px solid rgba(245, 245, 242, .28); line-height: 1.2; }

/* ראש הדף: כותרת ארוכה יותר, שתי שורות */
.teams .hero__title { font-size: clamp(34px, 6.5vw, 126px); line-height: .96; }
.teams .hero__lead { max-width: 31em; font-size: clamp(17px, 1.25vw, 21px); line-height: 1.4; }

/* הבעיה: הפסים ואז שלושה כרטיסים נערמים */
.teams .problem .ticker:first-of-type { margin-top: clamp(48px, 6vw, 100px); }
.teams .problem { padding-bottom: calc(var(--sec) + var(--rad)); }
.tm-stack { margin-top: clamp(56px, 7vw, 120px); }
.tm-stack .why__card:nth-child(3) .why__in { background: var(--blue); color: #fff; box-shadow: 0 -18px 50px rgba(11, 11, 12, .22); }
.tm-stack .why__card:nth-child(3) .dot { color: #fff; }
.tm-stack .why__card:nth-child(3) .why__n::before { background: #fff; }

/* מה הארגון מקבל */
.tm-gets .sec-head__sub { max-width: 34em; }
.tm-grid { grid-template-columns: repeat(3, 1fr); }
.tm-grid .xt-wide { min-height: 520px; }
.tm-grid .xt-wide .xt-vis { padding: 36px 36px 36px 20px; }
.tm-shot { width: min(100%, 540px); height: auto; border-radius: 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 0 1px rgba(245, 245, 242, .12); rotate: -2deg; transition: rotate .6s var(--spring), translate .6s var(--spring); }
.xt-wide:hover .tm-shot { rotate: 0deg; translate: 0 -6px; }
.tm-get { min-height: 260px; justify-content: flex-end; --gx: 80%; --gy: 0%; }
.tm-get .xt-text { padding: 32px 32px 36px; }

/* איך נראית סדנה */
.tm-agenda { padding: var(--sec) 0 calc(var(--sec) + var(--rad)); background: #0b0b0c; color: #f5f5f2; }
.tm-steps { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.tm-steps li { display: grid; grid-template-columns: 9.5em 1fr 1.1fr; gap: clamp(16px, 3vw, 60px); align-items: center; padding: clamp(22px, 2.6vw, 44px) 0; border-top: 1px solid var(--line); }
.tm-steps time { display: flex; align-items: center; gap: 12px; font-size: clamp(15px, 1.2vw, 19px); font-weight: 500; font-variant-numeric: tabular-nums; color: rgba(245, 245, 242, .7); justify-content: flex-start; flex-direction: row-reverse; }
.tm-steps time::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--c); }
.tm-steps h3 { font-size: clamp(34px, 5.4vw, 100px); font-weight: 600; line-height: .95; letter-spacing: -.035em; }
.tm-steps p { max-width: 26em; font-size: clamp(17px, 1.3vw, 21px); line-height: 1.45; color: rgba(245, 245, 242, .72); }
.tm-out { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: clamp(28px, 3vw, 48px); padding: clamp(22px, 2.4vw, 36px) clamp(22px, 2.8vw, 44px); border-radius: 34px; background: var(--blue); color: #fff; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.35; }
.tm-out b { font-weight: 600; opacity: .75; font-size: .8em; }

/* מה מודדים */
.tm-measure { padding: var(--sec) 0 calc(var(--sec) + var(--rad)); }
.tm-m { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tm-m article { display: flex; flex-direction: column; min-height: clamp(220px, 20vw, 340px); padding: clamp(24px, 2.4vw, 40px); border-radius: 34px; border: 1.5px solid #0b0b0c; }
.tm-m article:nth-child(2) { background: #0b0b0c; color: #f5f5f2; }
.tm-m i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); }
.tm-m h3 { margin-top: auto; font-size: clamp(28px, 3vw, 54px); font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.tm-m p { margin-top: 12px; font-size: clamp(17px, 1.25vw, 20px); line-height: 1.4; opacity: .72; max-width: 22em; }

/* מסלולים */
.tm-plans { padding-bottom: calc(var(--sec) + var(--rad)); }
.tm-plans .sec-head__sub { max-width: 30em; }
.tm-plans .plans__grid { grid-template-columns: 1fr 1.12fr 1fr; max-width: 1480px; align-items: stretch; }
.tm-plans .plan__k { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; letter-spacing: .08em; opacity: 1; direction: ltr; }
.tm-plans .plan__k em { font-style: normal; letter-spacing: 0; direction: rtl; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--blue); font-size: 14px; }
.tm-plans .plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 12px; margin-top: clamp(22px, 2.4vw, 40px); font-size: clamp(44px, 4.6vw, 84px); white-space: nowrap; }
.tm-plans .plan__price small { font-size: 18px; font-weight: 500; letter-spacing: 0; opacity: .7; }
.tm-plans .plan .btn { height: 62px; font-size: 19px; }
.btn--line { background: transparent; color: #f5f5f2; box-shadow: inset 0 0 0 1px rgba(245, 245, 242, .4); }
.btn--line::before { background: #f5f5f2; }
.btn--line:hover span { color: #0b0b0c; }
.tm-plans .plans__safe { max-width: 50em; }

/* פיילוט */
.tm-pilot { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(20px, 3vw, 56px); align-items: center; margin-top: clamp(48px, 6vw, 110px); padding: clamp(24px, 3.4vw, 64px); border-radius: 34px; background: var(--cream); color: #0b0b0c; --muted: #6f6f6a; --line: rgba(11, 11, 12, .16); scroll-margin-top: 90px; }
.tm-pilot > * { min-width: 0; }
.tm-pilot__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.tm-pilot__text > p:not(.eyebrow) { max-width: 27em; font-size: clamp(17px, 1.3vw, 21px); line-height: 1.45; opacity: .78; }
.tm-pilot__card { padding: clamp(24px, 2.8vw, 48px); border-radius: 28px; background: #0b0b0c; color: #f5f5f2; }
.tm-pilot__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: clamp(56px, 6.4vw, 116px); font-weight: 600; line-height: .9; letter-spacing: -.04em; white-space: nowrap; }
.tm-pilot__price small { font-size: 17px; font-weight: 500; letter-spacing: 0; opacity: .7; }
.tm-pilot__card ul { list-style: none; display: grid; gap: 12px; margin-top: 26px; padding-top: 24px; border-top: 1px solid rgba(245, 245, 242, .22); }
.tm-pilot__card li { position: relative; padding-inline-start: 24px; }
.tm-pilot__card li::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.tm-pilot__credit { margin-top: 24px; padding: 16px 20px; border-radius: 18px; background: rgba(245, 245, 242, .08); font-size: 16px; line-height: 1.45; }

/* בואו נדבר */
.tm-talk { padding: var(--sec) 0 calc(var(--sec) + var(--rad)); background: #0b0b0c; color: #f5f5f2; }
.tm-talk__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 110px); align-items: start; }
.tm-talk__text { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 110px; }
.tm-talk__text > p:not(.eyebrow) { max-width: 26em; font-size: clamp(17px, 1.3vw, 21px); line-height: 1.45; color: rgba(245, 245, 242, .72); }
.tm-form { padding: clamp(22px, 2.8vw, 48px); border-radius: 34px; background: #19191b; box-shadow: inset 0 0 0 1px rgba(245, 245, 242, .1); }
.tm-form .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tm-form .field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.tm-form .full { grid-column: 1 / -1; }
.tm-form label, .tm-form legend { font-size: 15px; font-weight: 500; color: rgba(245, 245, 242, .8); padding: 0; }
.tm-form legend { margin-bottom: 10px; }
.tm-form small { font-weight: 400; opacity: .6; }
.tm-form input:not([type="radio"]), .tm-form textarea { width: 100%; height: 54px; padding: 0 18px; border-radius: 16px; border: 1px solid rgba(245, 245, 242, .2); background: rgba(245, 245, 242, .04); color: #f5f5f2; font: inherit; font-size: 17px; outline: none; transition: border-color .25s, background-color .25s; }
.tm-form textarea { height: 110px; padding: 14px 18px; resize: vertical; line-height: 1.4; }
.tm-form input::placeholder, .tm-form textarea::placeholder { color: rgba(245, 245, 242, .38); }
.tm-form input:not([type="radio"]):focus, .tm-form textarea:focus { border-color: var(--blue); background: rgba(245, 245, 242, .07); }
.tm-form [aria-invalid="true"]:not(fieldset) { border-color: #ff6b6b; }
.tm-form .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-form .chip { position: relative; cursor: pointer; }
.tm-form .chip input { position: absolute; opacity: 0; inset: 0; }
.tm-form .chip span { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(245, 245, 242, .24); font-size: 16px; font-weight: 500; color: #f5f5f2; transition: background-color .25s, color .25s, border-color .25s; }
.tm-form .chip:hover span { border-color: rgba(245, 245, 242, .6); }
.tm-form .chip input:checked + span { background: #f5f5f2; color: #0b0b0c; border-color: #f5f5f2; }
.tm-form .chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.tm-form fieldset[aria-invalid="true"] .chip span { border-color: #ff6b6b; }
.tm-form .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tm-form .send { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 26px; }
.tm-form .send .btn { height: 62px; padding: 0 40px; font-size: 19px; }
.tm-form .send .btn:disabled { opacity: .6; }
.tm-form .err { color: #ff8f8f; font-size: 16px; font-weight: 500; }
.tm-form .privacy { margin-top: 18px; font-size: 14px; color: rgba(245, 245, 242, .55); }
.tm-form .privacy a { text-decoration: underline; text-underline-offset: 3px; }
.tm-form .done { display: none; text-align: center; padding: 40px 0; outline: none; }
.tm-form.sent .fields, .tm-form.sent .send, .tm-form.sent .privacy { display: none; }
.tm-form.sent .done { display: block; }
.tm-form .mark { position: relative; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--execute); }
.tm-form .mark::after { content: ""; position: absolute; left: 50%; top: 46%; width: 24px; height: 12px; border: solid #0b0b0c; border-width: 0 0 3px 3px; transform: translate(-50%, -50%) rotate(-45deg); }
.tm-form .done h3 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 600; letter-spacing: -.02em; }
.tm-form .done p { margin-top: 10px; color: rgba(245, 245, 242, .72); max-width: 24em; margin-inline: auto; }

.teams .faq__more { overflow-wrap: anywhere; }

@media (max-width: 1100px) {
  .tm-plans .plans__grid { grid-template-columns: 1fr; max-width: 640px; }
  .tm-plans .plan--you { order: -1; }
}
@media (max-width: 900px) {
  .tm-grid { grid-template-columns: 1fr; }
  .tm-grid .xt-wide { flex-direction: column; align-items: stretch; min-height: 0; }
  .tm-grid .xt-wide .xt-text { flex: none; padding: 28px 24px 8px; }
  .tm-grid .xt-wide .xt-vis { padding: 20px 20px 28px; min-height: 0; }
  .tm-get { min-height: 0; }
  .tm-get .xt-text { padding: 26px 24px 28px; }
  .tm-m { grid-template-columns: 1fr; }
  .tm-m article { min-height: 0; gap: 0; }
  .tm-m h3 { margin-top: 26px; }
  .tm-pilot, .tm-talk__grid { grid-template-columns: 1fr; }
  .tm-talk__text { position: static; }
  .tm-steps li { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
}
@media (max-width: 760px) {
  .teams .nav__logo em { display: none; }
  .teams .hero__title { font-size: 10.6vw; line-height: 1; }
  .teams .hero__title .line { white-space: normal; display: block; }
  .teams .hero__title { text-wrap: balance; }
  .tm-steps h3 { font-size: 11vw; }
  .tm-form .fields { grid-template-columns: 1fr; }
  .tm-form .send .btn { width: 100%; }
  .tm-pilot { padding: 22px; border-radius: 28px; }
  .tm-pilot__price { font-size: 15vw; line-height: 1; }
  .tm-plans .plan__price { font-size: 13vw; }
  .tm-out { border-radius: 26px; }
  .sticky-cta b { font-weight: 500; opacity: .8; }
}

/* מונים: כל ספרה בתא משלה, כדי ששאריות של הספרה הקודמת לא יציצו מלמעלה */
.teams .num__n { height: 1em; line-height: 1; }
.teams .digit span { flex: none; height: 1em; line-height: 1; overflow: hidden; }
.teams .in .digit { transform: translateY(calc(var(--to) * -1em)); }
