/* =====================================================================
   AdVision – גרסת "אמרלד"
   אותה שפה עיצובית כמו emeraldltd.co.il: ירוק-פטרול כהה, מנטה בהיר,
   כפתורים עם פינות חתוכות, יהלומים וקווים דקים, וקווים אנכיים ברקע.
   ===================================================================== */
:root {
  --green: #1b2626;          /* הרקע הראשי (בדיוק כמו אמרלד) */
  --green-2: #223030;        /* גוון קצת בהיר לשכבות */
  --glass: rgba(52, 84, 70, .78); /* כרטיס הזכוכית הירוק */
  --mint: #dde8d7;           /* טקסט וכפתורים */
  --mint-dim: rgba(221, 232, 215, .55);
  --line: rgba(221, 232, 215, .35);
  --ink: #1b2626;            /* טקסט כהה על רקע בהיר */
  --accent: #cc3366;         /* נגיעה קטנה (כמו אמרלד) */
  --he: 'Assistant', 'Arial Hebrew', sans-serif;
  --lat: 'Bodoni Moda', 'Didot', serif;
  --cut: 9px;                /* גודל הפינה החתוכה */
  --pad: clamp(20px, 5vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--green); color: var(--mint); font-family: var(--he); font-size: clamp(16px, 1.5vw, 19.2px); line-height: 1.25; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
b { font-weight: 700; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.container { width: min(1180px, 100% - var(--pad) * 2); margin-inline: auto; position: relative; z-index: 1; }
.latin { font-family: var(--lat); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; direction: ltr; unicode-bidi: isolate; }  /* אנגלית תמיד משמאל לימין – אחרת המילים מתהפכות */
.skip { position: absolute; top: -60px; right: 12px; z-index: 999; background: var(--mint); color: var(--ink); padding: 10px 16px; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

/* ---------- הלוגו (טקסט בסגנון EMERALD / BY LEVY GROUP) ---------- */
.brand { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; direction: ltr; }
.brand__word { font-family: var(--lat); font-size: 26px; letter-spacing: .02em; }
.brand__tag { font-family: var(--lat); font-size: 6.5px; letter-spacing: .42em; margin-top: 4px; padding-left: .42em; }
.brand--lg .brand__word { font-size: 44px; } .brand--lg .brand__tag { font-size: 9px; margin-top: 6px; }
.brand--xl .brand__word { font-size: clamp(46px, 7vw, 92px); } .brand--xl .brand__tag { font-size: clamp(8px, 1vw, 13px); margin-top: 10px; }

/* ---------- קישוטים: יהלום + קו ---------- */
.dia { display: inline-block; width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); flex: none; }
.deco { display: inline-block; position: relative; width: clamp(50px, 8vw, 110px); height: 1px; background: currentColor; opacity: .8; vertical-align: middle; }
.deco::before { content: ""; position: absolute; top: -3px; right: -3px; width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); }
.deco--flip::before { right: auto; left: -3px; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0; font-weight: 400; font-size: clamp(28px, 3vw, 38.4px); line-height: 1; }
.eyebrow--start { justify-content: flex-start; }

/* ---------- כפתור עם פינות חתוכות (poly-btn) ---------- */
.poly-btn { display: inline-flex; align-items: center; gap: 12px; padding: 12.8px 19.2px; background: var(--mint); color: var(--ink); font-size: 16.64px; font-weight: 600; border-radius: 3px;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
  transition: background .3s, color .3s; }
.poly-btn .arr { transition: transform .3s; }
.poly-btn:hover .arr { transform: translateX(-5px); }
.poly-btn:hover { background: #fff; }
.poly-btn--dark { background: var(--ink); color: var(--mint); }
.poly-btn--dark:hover { background: #2a3b3b; }

/* ---------- קווים אנכיים ברקע ---------- */
.gridlines { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(221,232,215,.05) 1px, transparent 1px); background-size: calc(100vw / 14) 100%; }
@media (max-width: 700px) { .gridlines { background-size: calc(100vw / 6) 100%; } }

/* ---------- מסך הפתיחה ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; pointer-events: none; }
.preloader__door { position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--green); transition: transform 1s cubic-bezier(.77,0,.18,1);
  background-image: linear-gradient(to right, rgba(221,232,215,.05) 1px, transparent 1px); background-size: calc(100vw / 14) 100%; }
.preloader__door--r { right: 0; } .preloader__door--l { left: 0; }
.preloader.is-open .preloader__door--r { transform: translateX(100%); }
.preloader.is-open .preloader__door--l { transform: translateX(-100%); }
.preloader__logo { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .4s ease; }
.preloader__line { position: absolute; left: 50%; top: 0; width: 1px; height: 100%; background: var(--mint); opacity: .35; transform: scaleY(0); transform-origin: top; animation: plLine 1.1s .1s cubic-bezier(.6,0,.2,1) forwards, plLineOut .6s 1.4s ease forwards; }
@keyframes plLine { to { transform: scaleY(1); } }
@keyframes plLineOut { to { opacity: 0; } }
.preloader .brand { position: relative; }
.preloader .brand__word { display: inline-flex; }
.preloader .brand__word > span { opacity: 0; filter: blur(10px); transform: translateY(6px); animation: plChar .9s cubic-bezier(.2,.6,.2,1) forwards; }
.preloader .brand__tag { opacity: 0; letter-spacing: .9em; animation: plTag 1.2s 1.5s ease forwards; }
@keyframes plChar { to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes plTag { to { opacity: 1; letter-spacing: .42em; } }

/* ---------- כותרת עליונה ---------- */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 6vw; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--pad); color: var(--ink); }
.header__logo { color: inherit; transform-origin: right center; }  /* הלוגו מקבל את צבע הכותרת – כהה למעלה, בהיר אחרי גלילה */
.nav { display: flex; gap: clamp(18px, 2.4vw, 40px); position: absolute; left: 50%; transform: translateX(-50%); }
.nav a { font-size: 16.64px; letter-spacing: .02em; position: relative; padding: 4px 0; opacity: .85; }
.nav a::after { content: ""; position: absolute; right: 0; bottom: -2px; width: 0; height: 1px; background: currentColor; transition: width .35s; }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.nav a.is-active { font-weight: 700; opacity: 1; }
.header__cta { padding: 10px 16px; font-size: 15px; }
.burger { display: none; width: 40px; height: 40px; position: relative; color: inherit; }
.burger span { position: absolute; right: 8px; left: 8px; height: 1.5px; background: currentColor; transition: transform .3s, opacity .3s; }
.burger span:nth-child(1) { top: 13px; } .burger span:nth-child(2) { top: 19px; } .burger span:nth-child(3) { top: 25px; }

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: #cfd9c9; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__wash { position: absolute; inset: 0; background: linear-gradient(to left, rgba(221,232,215,.95) 0%, rgba(221,232,215,.82) 38%, rgba(221,232,215,.15) 72%, rgba(221,232,215,0) 100%); }
.hero__content { position: relative; z-index: 2; padding: 12vh var(--pad) 10vh; max-width: 1000px; color: var(--ink); }
.hero-heading { margin: 0 0 28px; font-weight: 400; font-size: clamp(54px, 9vw, 128px); line-height: .9; letter-spacing: -.01em; }
.hero__l1 { white-space: nowrap; }
.hero-heading .deco { width: clamp(40px, 8vw, 120px); margin-right: 18px; vertical-align: .35em; }
.deco--dark { color: var(--ink); }
.hero__sub { max-width: 540px; margin: 0 0 30px; font-size: clamp(16px, 1.5vw, 19.2px); line-height: 1.35; }
.hero__edge { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(26px, 3.2vw, 46px); z-index: 2; background: var(--green);
  clip-path: polygon(0 100%, 0 45%, 3% 0, 97% 0, 100% 45%, 100% 100%); }
.hero__edge::before { content: ""; position: absolute; inset: 0; }

/* ---------- חזון ---------- */
.vision-wrapper { position: relative; z-index: 1; padding: clamp(90px, 12vw, 170px) 0 clamp(90px, 10vw, 150px); text-align: center; }
.vision-wrapper .eyebrow { margin-bottom: 38px; }
.vision { max-width: 900px; margin: 0 auto; font-size: clamp(30px, 4.3vw, 55px); line-height: 1.1; font-weight: 300; }

/* ---------- תוצאות (פרויקטים) ---------- */
.projects { position: relative; z-index: 1; padding-bottom: clamp(70px, 8vw, 110px); }
.projects__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.projects__title { grid-column: 1; grid-row: 1; align-self: center; display: flex; flex-direction: column; align-items: flex-end; margin: 0; font-size: clamp(38px, 4.1vw, 52.48px); line-height: 1; font-weight: 400; }
.projects__title span:first-child { display: flex; align-items: center; gap: 16px; }
.projects__title .deco { width: 70px; order: -1; }
.projects__title .deco::before { right: auto; left: -3px; }
.card { position: relative; display: block; overflow: hidden; background: #0f1717; aspect-ratio: 4 / 3.4; text-align: right; }
.card--a { grid-column: 2; grid-row: 1; } .card--b { grid-column: 3; grid-row: 1; }
.card__img { position: absolute; inset: 0; background: var(--img) center top / contain no-repeat; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.card__img::before { content: ""; position: absolute; inset: -20px; z-index: -1; background: var(--img) center / cover; filter: blur(18px) brightness(.55); }
.card { isolation: isolate; }
.card:hover .card__img { transform: scale(1.04); }
.card__bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; background: rgba(40, 72, 58, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.card__bar b { font-size: 17px; }
.card__bar small { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; opacity: .8; }
.pin { width: 9px; height: 9px; border: 1.5px solid currentColor; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: inline-block; }
.projects__foot { display: flex; align-items: center; gap: 24px; margin-top: 44px; }
.projects__foot p { margin: 0; font-size: clamp(20px, 2vw, 25.6px); font-weight: 700; white-space: nowrap; }
.projects__rule { flex: 1; height: 1px; background: var(--line); }

/* ---------- MAKE IT GROW ---------- */
.grow { position: relative; z-index: 1; padding: clamp(60px, 7vw, 100px) 0; }
.grow__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.grow__title { margin: 0 0 26px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-weight: 400; }
.grow__title .latin { font-size: clamp(32px, 3vw, 38.4px); line-height: 1; }
.grow__he { display: flex; align-items: center; gap: 16px; font-size: clamp(28px, 3.1vw, 39.68px); }
.grow__he .deco { width: 60px; }
.grow__text p { margin: 0 0 16px; max-width: 520px; line-height: 1.4; opacity: .9; }
.grow__text .poly-btn { margin-top: 18px; }
.grow__media { position: relative; }
.grow__frame { position: absolute; inset: -14px -14px -14px 14px; border: 1px solid var(--line); pointer-events: none;
  clip-path: polygon(0 0, calc(100% - 60px) 0, 100% 60px, 100% 100%, 60px 100%, 0 calc(100% - 60px)); }
.grow__frame::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(45deg, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px)) right top / 60px 60px no-repeat,
  linear-gradient(45deg, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px)) left bottom / 60px 60px no-repeat; }
.compare { position: relative; aspect-ratio: 1.25; overflow: hidden; clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 48px 100%, 0 calc(100% - 48px)); user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.compare__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; direction: ltr; }
.compare__knob { position: absolute; top: 50%; left: var(--pos); width: 54px; height: 54px; transform: translate(-50%, -50%) rotate(45deg); background: var(--green); display: grid; place-items: center; pointer-events: none; }
.compare__knob svg { transform: rotate(-45deg); color: var(--mint); }
.compare::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 1px; background: var(--mint); pointer-events: none; }
.compare__tag { position: absolute; top: 14px; padding: 5px 10px; font-size: 13px; background: rgba(27,38,38,.7); pointer-events: none; }
.compare__tag--r { right: 14px; } .compare__tag--l { left: 64px; }

/* ---------- WHAT WE DO ---------- */
.wwd { position: relative; z-index: 1; padding: clamp(40px, 5vw, 70px) 0 0; }
.wwd__head { display: flex; align-items: center; gap: 30px; margin-bottom: 36px; }
.wwd__head h2 { margin: 0; font-size: clamp(32px, 3vw, 38.4px); line-height: 1; white-space: nowrap; }
.wwd__rule { flex: 1; height: 1px; background: var(--line); position: relative; display: grid; place-items: center; }
.wwd__rule .dia { color: var(--mint); }
.wwd__head p { margin: 0; max-width: 380px; font-weight: 600; }
.services-wrapper { display: flex; height: clamp(360px, 38vw, 480px); overflow: hidden; }
.panel { --sk: 7%; position: relative; flex: 1; margin-inline: calc(var(--sk) * -.5); overflow: hidden; outline: none; transition: flex .7s cubic-bezier(.2,.7,.2,1);
  clip-path: polygon(var(--sk) 0, 100% 0, calc(100% - var(--sk)) 100%, 0 100%); }
.panel:first-child { margin-right: 0; clip-path: polygon(var(--sk) 0, 100% 0, 100% 100%, 0 100%); }
.panel:last-child { margin-left: 0; clip-path: polygon(0 0, 100% 0, calc(100% - var(--sk)) 100%, 0 100%); }
.panel::before { content: ""; position: absolute; inset: 0; background: var(--img) center / cover; transition: filter .7s, transform 1s; }
.panel::after { content: ""; position: absolute; inset: 0; background: rgba(27,38,38,0); transition: background .7s; }
.panel__in { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 12%; text-align: center; }
.panel h3 { margin: 0; padding: 8px 18px; font-size: clamp(19px, 2vw, 25.6px); background: rgba(27,38,38,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px); }
.panel p { max-width: 380px; margin: 0; max-height: 0; opacity: 0; overflow: hidden; font-size: 16px; line-height: 1.4; transition: opacity .5s, max-height .7s, margin .5s; }
.panel:hover, .panel:focus-within, .panel.is-open { flex: 2.3; }
.panel:hover::before, .panel:focus-within::before, .panel.is-open::before { filter: blur(6px); transform: scale(1.06); }
.panel:hover::after, .panel:focus-within::after, .panel.is-open::after { background: rgba(27,38,38,.45); }
.panel:hover p, .panel:focus-within p, .panel.is-open p { max-height: 220px; opacity: 1; margin-top: 16px; transition-delay: .15s; }

/* ---------- תו האיכות (ננעל בגלילה) ---------- */
.values-wrapper { position: relative; z-index: 1; height: 100vh; height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.values { width: 100%; padding: 0 var(--pad); }
.values .eyebrow { font-size: clamp(26px, 3.1vw, 39.68px); }
.letters { display: flex; justify-content: center; font-size: clamp(56px, 8vw, 102.4px); line-height: 1.05; margin: 14px 0 clamp(40px, 6vh, 70px); }
.letter { opacity: .3; }
.values__list { position: relative; min-height: 170px; }
.letter_value { position: absolute; inset: 0; opacity: 0; }
.letter_value:first-child { opacity: 1; }
.lv__t { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 0 0 18px; font-size: clamp(28px, 3.5vw, 44.8px); line-height: 1; flex-wrap: wrap; }
.lv__t .latin { font-size: .86em; }
.lv__t .dia { width: 8px; height: 8px; }
.letter_value p:last-child { max-width: 420px; margin: 0 auto; line-height: 1.35; font-weight: 600; }

/* ---------- הסיפור ---------- */
.story { position: relative; z-index: 1; padding: 0 0 clamp(60px, 7vw, 100px); }
.story__img { height: clamp(260px, 42vw, 560px); background: var(--img) center 30% / cover; }
.story .container { margin-top: clamp(-420px, -32vw, -200px); display: flex; justify-content: flex-start; }
.story__card { width: min(520px, 100%); padding: clamp(28px, 3.5vw, 44px); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  clip-path: polygon(40px 0, calc(100% - 40px) 0, 100% 40px, 100% calc(100% - 40px), calc(100% - 40px) 100%, 40px 100%, 0 calc(100% - 40px), 0 40px); }
.story__card .eyebrow { margin-bottom: 26px; }
.story__card .deco { width: 70px; }
.story__card p { margin: 0 0 14px; line-height: 1.4; font-size: 16.5px; }
.story__card .poly-btn { margin-top: 16px; }

/* ---------- מספרים ---------- */
.counters { position: relative; z-index: 1; padding: clamp(40px, 5vw, 70px) 0 clamp(60px, 7vw, 100px); }
.counters__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.counter__n { margin: 0 0 14px; font-size: clamp(56px, 7vw, 89.6px); line-height: 1; text-transform: none; }
.counter p:last-child { margin: 0; line-height: 1.25; }

/* ---------- LET'S TALK ---------- */
.contact { position: relative; z-index: 1; padding-bottom: clamp(60px, 7vw, 100px); }
.talk { --c: 44px; padding: 1px; background: var(--line);
  clip-path: polygon(var(--c) 0, calc(100% - var(--c)) 0, 100% var(--c), 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, var(--c) 100%, 0 calc(100% - var(--c)), 0 var(--c)); }
.talk__in { position: relative; padding: clamp(40px, 5vw, 56px) clamp(22px, 5vw, 60px) clamp(36px, 4vw, 50px); background: var(--green); text-align: center;
  clip-path: polygon(calc(var(--c) - .4px) 0, calc(100% - var(--c) + .4px) 0, 100% calc(var(--c) - .4px), 100% calc(100% - var(--c) + .4px), calc(100% - var(--c) + .4px) 100%, calc(var(--c) - .4px) 100%, 0 calc(100% - var(--c) + .4px), 0 calc(var(--c) - .4px)); }
.talk__in::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line); pointer-events: none;
  clip-path: polygon(38px 0, calc(100% - 38px) 0, 100% 38px, 100% calc(100% - 38px), calc(100% - 38px) 100%, 38px 100%, 0 calc(100% - 38px), 0 38px); }
.talk .eyebrow { gap: 12px; }
.talk .dash { width: 18px; height: 1px; background: currentColor; }
.talk__h { margin: 10px 0 30px; font-size: clamp(26px, 2.8vw, 36px); }
.talk__p { margin: 0 0 30px; opacity: .85; }
.lead { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 18px 26px; align-items: end; text-align: right; }
.field { position: relative; }
.field label { display: block; font-size: 15px; opacity: .85; margin-bottom: 6px; }
.field input, .field select { width: 100%; padding: 8px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--mint); font: inherit; border-radius: 0; -webkit-appearance: none; appearance: none; }
.field select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23dde8d7'/%3E%3C/svg%3E") left center no-repeat; }
.field select option { background: var(--green); }
.field input:focus, .field select:focus { outline: none; border-bottom-color: var(--mint); }
.field.is-error input { border-bottom-color: var(--accent); }
.lead__send { align-self: end; }
.check { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 15px; opacity: .9; }
.check input { width: 16px; height: 16px; accent-color: var(--mint); }
.check a { text-decoration: underline; }
.lead__msg { grid-column: 1 / -1; margin: 0; min-height: 1em; font-size: 15px; }
.lead__msg.is-err { color: #ff9fbf; } .lead__msg.is-ok { color: var(--mint); }

/* ---------- פוטר ---------- */
.footer { position: relative; z-index: 1; padding: 20px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer__brand .brand { align-items: center; }
.footer__contact { list-style: none; padding: 0; margin: 22px 0 0; }
.footer__contact li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__col h3 { margin: 0 0 8px; font-size: 21px; }
.footer__col a:hover { text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; opacity: .8; }
.footer__bottom p { margin: 0; display: flex; gap: 18px; }

/* ---------- נגישות ---------- */
.a11y-btn { position: fixed; left: 14px; bottom: 14px; z-index: 60; width: 44px; height: 44px; display: grid; place-items: center; background: var(--mint); color: var(--ink);
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px); }
.a11y-panel { position: fixed; left: 14px; bottom: 68px; z-index: 61; width: min(300px, calc(100vw - 28px)); background: var(--mint); color: var(--ink); padding: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.4); }
.a11y-panel__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid button { padding: 10px 6px; border: 1px solid rgba(27,38,38,.25); font-size: 14px; }
.a11y-grid button[aria-pressed="true"], .a11y-grid button.is-on { background: var(--ink); color: var(--mint); }
.a11y-panel__link { display: block; margin-top: 12px; text-decoration: underline; font-size: 14px; }
html.a11y-text-115 { font-size: 115%; } html.a11y-text-130 { font-size: 130%; } html.a11y-text-150 { font-size: 150%; }
html.a11y-text-115 body { font-size: 115%; } html.a11y-text-130 body { font-size: 130%; } html.a11y-text-150 body { font-size: 150%; }
html.a11y-contrast { filter: contrast(1.35); }
html.a11y-links a { text-decoration: underline !important; outline: 1px dashed currentColor; }
html.a11y-font body, html.a11y-font .latin { font-family: Arial, sans-serif !important; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; }

/* ---------- הגדלת תמונה ---------- */
.lb { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 30px; background: rgba(15,22,22,.94); opacity: 0; pointer-events: none; transition: opacity .3s; }
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb img { max-height: 88vh; width: auto; }
.lb__close { position: absolute; top: 16px; left: 16px; font-size: 22px; color: var(--mint); }

/* ===================== רספונסיבי ===================== */
@media (max-width: 1024px) {
  .header { height: 64px; }
  .nav { position: fixed; inset: 0; transform: none; flex-direction: column; align-items: center; justify-content: center; gap: 26px; background: var(--green); color: var(--mint); opacity: 0; pointer-events: none; transition: opacity .35s; z-index: -1; }
  .nav a { font-size: 26px; }
  .header.menu-open .nav { opacity: 1; pointer-events: auto; }
  .header.menu-open { color: var(--mint) !important; }
  .header.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .header.menu-open .burger span:nth-child(2) { opacity: 0; }
  .header.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .burger { display: block; order: -1; }
  .header__logo { margin-inline-start: auto; margin-inline-end: auto; }
  .header { justify-content: space-between; }
  .header__logo { position: absolute; left: 50%; transform: translateX(-50%); transform-origin: center; }
}
@media (max-width: 800px) {
  .hero { align-items: flex-end; }
  .hero__wash { background: linear-gradient(to top, rgba(221,232,215,.97) 0%, rgba(221,232,215,.9) 50%, rgba(221,232,215,.35) 80%, rgba(221,232,215,.1) 100%); }
  .hero__content { padding-bottom: 80px; }
  .hero-heading .deco { display: none; }
  .projects__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .projects__title { grid-column: 1 / -1; grid-row: auto; margin-bottom: 10px; }
  .card--a, .card--b { grid-column: auto; grid-row: auto; }
  .card--e { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .card__bar { padding: 9px 10px; } .card__bar b { font-size: 14px; } .card__bar small { font-size: 12px; }
  .projects__foot { flex-wrap: wrap; } .projects__rule { display: none; }
  .grow__grid { grid-template-columns: 1fr; }
  .grow__media { order: -1; margin: 0 14px 20px 0; }
  .wwd__head { flex-direction: column; align-items: flex-start; gap: 14px; } .wwd__rule { display: none; }
  .services-wrapper { flex-direction: column; height: auto; }
  .panel, .panel:first-child, .panel:last-child { margin: 0; clip-path: none; flex: none; height: 170px; transition: height .6s cubic-bezier(.2,.7,.2,1); }
  .panel.is-open { height: 330px; }
  .panel:hover, .panel:focus-within { flex: none; }
  .letters { font-size: clamp(44px, 12vw, 70px); }
  .story .container { margin-top: -80px; }
  .counters__row { grid-template-columns: 1fr; gap: 44px; }
  .lead { grid-template-columns: 1fr; }
  .lead__send { justify-self: stretch; justify-content: center; }
  .talk { --c: 26px; }
  .talk__in::before { clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .preloader { display: none; }
}

/* מצב סטטי (בלי אנימציות / אם GSAP לא נטען): כל הערכים מוצגים ברשימה */
.static .values-wrapper { height: auto; padding: 90px 0; }
.static .letter { opacity: 1; }
.static .values__list { display: grid; gap: 40px; min-height: 0; }
.static .letter_value { position: static; opacity: 1; }

/* תיקון: בנייד שום דבר לא חורג מרוחב המסך (בלי גלילה הצידה) */
.grow__grid > *, .projects__grid > * { min-width: 0; }
main, .footer { overflow-x: clip; }
@media (max-width: 800px) {
  .grow__grid { grid-template-columns: minmax(0, 1fr); }
  .grow__he { font-size: 26px; gap: 10px; }
  .grow__he .deco { width: 28px; }
  .grow__frame { inset: -10px -10px -10px 10px; }
}
@media (max-width: 520px) {
  .header__cta span { display: none; }                 /* בטלפון: רק אייקון וואטסאפ, שלא יכסה את הלוגו */
  .header__cta { padding: 10px 12px; }
  .header__cta svg { width: 20px; height: 20px; }
}

/* =====================================================================
   דפי שירות + מעבר בין דפים
   ===================================================================== */
/* כפתור "לכל הפרטים" בתוך הפאנל – מופיע כשהפאנל נפתח */
.panel { cursor: pointer; }
.panel__more { margin-top: 0; max-height: 0; opacity: 0; overflow: hidden; padding-block: 0; transition: opacity .5s, max-height .6s, margin .5s, padding .5s; }
.panel:hover .panel__more, .panel:focus-within .panel__more, .panel.is-open .panel__more { max-height: 60px; opacity: 1; margin-top: 18px; padding-block: 12.8px; transition-delay: .2s; }

/* שכבת המעבר: התמונה של הפאנל מתרחבת למסך מלא ואז נפתח הדף */
.pt { position: fixed; z-index: 2000; background: var(--img) center / cover; pointer-events: none; }
.pt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,38,38,.9), rgba(27,38,38,.25) 60%, rgba(27,38,38,.35)); opacity: 0; transition: opacity .6s; }
.pt.is-full::after { opacity: 1; }
/* כשמגיעים לדף שירות מהמעבר – התמונה כבר על המסך, ונעלמת בעדינות */
.pt-in { position: fixed; inset: 0; z-index: 2000; background: var(--img) center / cover; pointer-events: none; animation: ptIn .9s .15s ease forwards; }
.pt-in::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,38,38,.9), rgba(27,38,38,.25) 60%, rgba(27,38,38,.35)); }
@keyframes ptIn { to { opacity: 0; visibility: hidden; } }

/* הכותרת העליונה בדפים עם פתיח כהה – בהירה מההתחלה */
.dark-top .header { color: var(--mint); }
.dark-top .header__cta { background: var(--mint); color: var(--ink); }

/* ---------- פתיח דף שירות ---------- */
.svc-hero { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #0f1717; }
.svc-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-hero__media--img { background-size: cover; background-position: center; }
.svc-hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,38,38,.95) 0%, rgba(27,38,38,.55) 45%, rgba(27,38,38,.25) 75%, rgba(27,38,38,.45) 100%); }
.svc-hero__content { position: relative; z-index: 2; width: 100%; padding: 0 var(--pad) clamp(90px, 12vh, 140px); }
.crumbs { display: flex; align-items: center; gap: 12px; font-size: 15px; opacity: .8; margin-bottom: 26px; }
.crumbs .dia { width: 5px; height: 5px; }
.crumbs a:hover { text-decoration: underline; }
.svc-hero__latin { margin: 0 0 6px; font-size: clamp(22px, 2.4vw, 32px); opacity: .85; }
.svc-hero .hero-heading { color: var(--mint); font-size: clamp(50px, 8.5vw, 124px); margin-bottom: 20px; }
.svc-hero__sub { max-width: 560px; margin: 0 0 28px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.35; }

/* ---------- מה כלול ---------- */
.incl { position: relative; z-index: 1; padding: 0 0 clamp(70px, 9vw, 120px); }
.incl__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.incl__head { position: sticky; top: 120px; }
.incl__head .projects__title { align-items: flex-start; margin-bottom: 18px; }
.incl__head p { margin: 0; opacity: .85; }
.incl__list { list-style: none; margin: 0; padding: 0; }
.incl__list li { display: flex; align-items: center; gap: 18px; padding: 22px 4px; border-bottom: 1px solid var(--line); font-size: clamp(19px, 1.9vw, 24px); transition: padding .4s, background .4s; }
.incl__list li:first-child { border-top: 1px solid var(--line); }
.incl__list li:hover { padding-inline-start: 16px; background: rgba(221,232,215,.04); }

/* ---------- התהליך ---------- */
.steps { position: relative; z-index: 1; padding: clamp(70px, 9vw, 120px) 0; }
.steps__track { position: relative; margin-top: 30px; }
.steps__line { position: absolute; top: 58px; right: 0; left: 0; height: 1px; background: var(--mint); transform-origin: right; }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step__n { display: block; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; margin-bottom: 14px; opacity: .9; }
.step > .dia { display: block; width: 11px; height: 11px; margin: 0 0 24px 0; background: var(--mint); box-shadow: 0 0 0 6px var(--green); }
.step h3 { margin: 0 0 8px; font-size: clamp(22px, 2vw, 26px); }
.step p { margin: 0; opacity: .85; line-height: 1.4; }

/* ---------- שאלות ---------- */
.faq { position: relative; z-index: 1; padding: 0 0 clamp(70px, 9vw, 120px); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq .projects__title { align-items: flex-start; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: clamp(19px, 1.8vw, 23px); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .dia { transition: transform .4s, background .4s; background: transparent; border: 1px solid var(--mint); width: 10px; height: 10px; }
.qa[open] summary .dia { transform: rotate(225deg); background: var(--mint); }
.qa p { margin: 0 0 22px; max-width: 620px; line-height: 1.45; opacity: .9; }

/* ---------- השירות הבא ---------- */
.next { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: clamp(220px, 28vw, 340px); padding: 0 var(--pad); overflow: hidden; isolation: isolate; margin-bottom: 40px; }
.next::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) center / cover; transition: transform 1.2s cubic-bezier(.2,.6,.2,1); }
.next::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to left, rgba(27,38,38,.92), rgba(27,38,38,.55)); transition: background .6s; }
.next:hover::before { transform: scale(1.06); }
.next:hover::after { background: linear-gradient(to left, rgba(27,38,38,.8), rgba(27,38,38,.3)); }
.next__in { display: flex; flex-direction: column; gap: 6px; }
.next__in small { font-size: 15px; opacity: .8; }
.next__in b { font-size: clamp(34px, 5vw, 70px); font-weight: 400; line-height: 1; }
.next__in .latin { font-size: clamp(16px, 1.6vw, 22px); opacity: .8; }
.next__arr { font-size: clamp(40px, 5vw, 70px); transition: transform .5s; }
.next:hover .next__arr { transform: translateX(-14px); }

/* ---------- החלק המגניב (אחד לכל שירות) ---------- */
.cool { position: relative; z-index: 1; padding: clamp(70px, 9vw, 120px) 0; }
.cool .eyebrow { margin-bottom: 20px; }
.cool__lead { text-align: center; max-width: 560px; margin: 0 auto 50px; opacity: .85; line-height: 1.4; }
.cool__big { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; margin: 0 0 18px; }
.phone-sec .cool__lead, .chat-sec .cool__lead { text-align: right; margin: 0; }

/* קמפיינים: משפך שמתמלא בגלילה */
.funnel__list { list-style: none; margin: 0 auto 60px; padding: 0; max-width: 820px; display: flex; flex-direction: column; align-items: center; gap: 10px; counter-reset: f; }
.funnel__list li { --w: 100%; width: var(--w); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 30px; text-align: center; border: 1px solid var(--line); color: var(--mint);
  clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 26px 100%); background: rgba(221,232,215,.04); transition: background .6s, color .6s; }
.funnel__list li:nth-child(2) { --w: 84%; } .funnel__list li:nth-child(3) { --w: 68%; } .funnel__list li:nth-child(4) { --w: 52%; }
.funnel__list li b { font-size: clamp(19px, 2vw, 24px); }
.funnel__list li span { font-size: 15px; opacity: .8; }
.funnel__list li.is-lit { background: var(--mint); color: var(--ink); }
.funnel__shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* סושיאל: טלפון שמנגן את הסרטון + לבבות שעולים */
.phone-sec__grid, .chat-sec__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.phone { justify-self: center; width: min(300px, 78vw); aspect-ratio: 9 / 19; padding: 10px; background: #0b1010; border-radius: 42px; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -30px rgba(0,0,0,.7); }
.phone__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 33px; }
.phone__screen video { width: 100%; height: 100%; object-fit: cover; }
.phone__ui { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: flex-end; padding: 16px 12px 22px; background: linear-gradient(to top, rgba(0,0,0,.45), transparent 35%); direction: ltr; }
.phone__user { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #fff; }
.phone__user i { width: 22px; height: 22px; border-radius: 50%; background: var(--mint); }
.phone__side { display: flex; flex-direction: column; gap: 16px; color: #fff; font-size: 20px; margin-bottom: 30px; }
.hearts { position: absolute; inset: 0; pointer-events: none; }
.hearts i { position: absolute; bottom: 90px; right: 18px; font-style: normal; font-size: 22px; animation: heart 2.6s ease-out forwards; }
@keyframes heart { 0% { transform: translate(0, 0) scale(.4); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(var(--dx), -320px) scale(1.1); opacity: 0; } }

/* ימי צילום: עינית של מצלמה */
.vf { position: relative; aspect-ratio: 16 / 9; max-width: 980px; margin: 0 auto; overflow: hidden; background: #000;
  clip-path: polygon(40px 0, calc(100% - 40px) 0, 100% 40px, 100% calc(100% - 40px), calc(100% - 40px) 100%, 40px 100%, 0 calc(100% - 40px), 0 40px); }
.vf video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.vf__ui { position: absolute; inset: 0; color: #fff; font-family: ui-monospace, Menlo, monospace; font-size: clamp(11px, 1.2vw, 15px); direction: ltr; }
.vf__c { position: absolute; width: 36px; height: 36px; border: 2px solid rgba(255,255,255,.85); }
.vf__c--tl { top: 7%; left: 5%; border-right: 0; border-bottom: 0; } .vf__c--tr { top: 7%; right: 5%; border-left: 0; border-bottom: 0; }
.vf__c--bl { bottom: 7%; left: 5%; border-right: 0; border-top: 0; } .vf__c--br { bottom: 7%; right: 5%; border-left: 0; border-top: 0; }
.vf__rec { position: absolute; top: 9%; left: 9%; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.vf__rec i { width: 11px; height: 11px; border-radius: 50%; background: #ff3b3b; animation: blink 1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.vf__tc { position: absolute; top: 9%; right: 9%; }
.vf__info { position: absolute; bottom: 9%; left: 9%; opacity: .85; }
.vf__bat { position: absolute; bottom: 9%; right: 9%; letter-spacing: 1px; }
.vf__focus { position: absolute; top: 50%; left: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border: 1.5px solid rgba(255,255,255,.8); animation: focus 3.2s ease-in-out infinite; }
@keyframes focus { 0%, 100% { transform: scale(1.35); border-color: rgba(255,255,255,.5); } 30%, 80% { transform: scale(1); border-color: #7dff9b; } }

/* אתרים ואוטומציות: שיחת וואטסאפ חיה */
.chat { width: min(380px, 100%); justify-self: center; background: #0b141a; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 40px 80px -30px rgba(0,0,0,.7); }
.chat__top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #202c33; color: #e9edef; }
.chat__top small { display: block; font-size: 12px; opacity: .7; }
.chat__av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--ink); font-style: normal; font-family: var(--lat); }
.chat__body { height: 400px; padding: 14px; display: flex; flex-direction: column; gap: 8px; justify-content: flex-end; overflow: hidden;
  background: #0b141a radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 14px 14px; }
.msg { max-width: 82%; padding: 7px 10px 5px; border-radius: 8px; font-size: 14.5px; line-height: 1.35; color: #e9edef; animation: msgIn .35s ease; }
.msg small { display: block; text-align: left; font-size: 10.5px; opacity: .6; margin-top: 2px; }
.msg--in { align-self: flex-end; background: #202c33; border-top-right-radius: 0; }   /* הליד (מימין, כמו בוואטסאפ בעברית) */
.msg--out { align-self: flex-start; background: #005c4b; border-top-left-radius: 0; } /* הבוט */
.msg--typing { display: flex; gap: 4px; padding: 11px 12px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: #aebac1; animation: dot 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; } .msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.97); } }

@media (max-width: 800px) {
  .incl__grid, .faq__grid, .phone-sec__grid, .chat-sec__grid { grid-template-columns: minmax(0, 1fr); }
  .incl__head { position: static; }
  .steps__line { top: 0; bottom: 0; right: 5px; left: auto; width: 1px; height: auto; transform-origin: top; }
  .steps__list { grid-template-columns: 1fr; gap: 34px; padding-right: 34px; }
  .step > .dia { position: absolute; right: 0; margin: 0; }
  .step { position: relative; }
  .step > .dia { top: 20px; }
  .funnel__list li { padding: 16px 20px; }
  .funnel__list li:nth-child(2) { --w: 90%; } .funnel__list li:nth-child(3) { --w: 80%; } .funnel__list li:nth-child(4) { --w: 70%; }
  .funnel__shots { grid-template-columns: 1fr 1fr; } .funnel__shots .card:last-child { display: none; }
  .next__arr { display: none; }
  .vf__info { display: none; }
  .phone-sec .cool__lead, .chat-sec .cool__lead { margin-bottom: 10px; }
}
@media (max-width: 800px) {
  .step > .dia { right: -34px; }
}
.svc-hero__latin, .next__in .latin { text-align: right; }  /* טקסט באנגלית בשורה משלו – מיושר לימין כמו השאר */
@media (min-width: 801px) { .steps__line { top: calc(clamp(40px, 4.4vw, 60px) + 19.5px); } }  /* הקו עובר בדיוק דרך היהלומים */

/* כותרת "התוצאות שלנו" בעברית – מיושרת לימין, הקו והיהלום משמאל למילה */
.projects__title--he { align-items: flex-start; font-family: var(--he); font-weight: 300; line-height: 1.05; }
.projects__title--he .deco { order: 0; }

/* ===== הכול בעברית: כותרות שהיו באנגלית עוברות לפונט העברי ===== */
.grow__kicker { font-size: clamp(18px, 1.6vw, 21px); letter-spacing: .04em; opacity: .75; }
.wwd__head h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 300; }
.eyebrow span:not(.dash) { font-weight: 300; }
.svc-hero__latin { font-weight: 300; }
.next__tag { font-size: clamp(16px, 1.6vw, 21px); opacity: .8; }

/* סרטון הפתיח בדפי השירות – נכנס בעדינות מעל התמונה רק כשהוא באמת מתחיל לרוץ */
.svc-hero__vid { opacity: 0; transition: opacity 1.4s ease; }
.svc-hero__vid.is-on { opacity: 1; }

/* תיקון: בריחוף, ההגדלה (transform) העלתה את שכבת הרקע המטושטשת מעל התמונה והכול נהיה אפור.
   עכשיו שתי השכבות הן "ילדים" מסודרים: רקע מטושטש למטה, צילום המסך החד מעליו – גם בזמן ההגדלה. */
.card__img { background: none; }
.card__img::before { z-index: 0; }
.card__img::after { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--img) center top / contain no-repeat; }
.card__bar { z-index: 2; }

/* ---------- הלקוחות שלנו: רצועת לוגואים בעיגולים ---------- */
.clients { position: relative; z-index: 1; padding: clamp(60px, 7vw, 100px) 0 0; }
.clients .eyebrow { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: clamp(30px, 4vw, 50px); padding: 0 var(--pad); }
.marquee { overflow: hidden; direction: ltr;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: clamp(18px, 2.4vw, 34px); list-style: none; margin: 0; padding: 6px 0; width: max-content; will-change: transform; }
.client { flex: none; width: clamp(92px, 9vw, 128px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: var(--bg, #fff); box-shadow: 0 0 0 1px var(--line), 0 0 0 6px rgba(221,232,215,.04); transition: transform .4s, box-shadow .4s; }
.client img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.client--contain img { width: 78%; height: 78%; object-fit: contain; }
.client:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--mint), 0 0 0 6px rgba(221,232,215,.08); }

/* ---------- לפני/אחרי: שני "דשבורדים" מצוירים (המחשה, בלי מספרים) ---------- */
.dash { position: absolute; inset: 0; overflow: hidden; }
.dash::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(221,232,215,.06) 1px, transparent 1px); background-size: 100% 25%; }
.dash--after { background: radial-gradient(ellipse at 15% 20%, rgba(159,240,192,.22), transparent 60%), #1f3230; }
.dash--before { background: #161d1d; filter: saturate(.4); }
.dash__chart { position: absolute; left: 0; right: 0; top: 16%; height: 62%; width: 100%; }
.dash__bars { position: absolute; left: 6%; right: 6%; bottom: 0; height: 30%; display: flex; flex-direction: row-reverse; align-items: flex-end; gap: 3.5%; opacity: .5; }
.dash__bars i { flex: 1; height: var(--h); background: linear-gradient(to top, rgba(221,232,215,.05), rgba(221,232,215,.35)); transform-origin: bottom; }
.dash--before .dash__bars i { background: linear-gradient(to top, rgba(125,138,135,.05), rgba(125,138,135,.35)); }
.dash__pts { position: absolute; bottom: 7%; margin: 0; padding: 12px 14px; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: clamp(12px, 1.2vw, 15px); font-weight: 600;
  background: rgba(15,22,22,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dash__pts li { display: flex; align-items: center; gap: 8px; }
.dash__pts--r { right: 4%; color: #b9c2bf; }
.dash__pts--r li::before { content: "✕"; color: #ff8fa8; font-size: .9em; }
.dash__pts--l { left: 4%; color: var(--mint); }
.dash__pts--l li::before { content: "✓"; color: #9ff0c0; }
.compare__tag--l { left: 14px; }
/* אנימציה כשנכנסים למסך: הקו של "אחרי" מצטייר והעמודות צומחות */
.compare .dash--after .dash__line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.compare.is-in .dash--after .dash__line { animation: drawLine 2.2s cubic-bezier(.4,0,.2,1) both; }
.compare.is-in .dash--after .dash__area { animation: fadeArea 2.2s .6s ease both; }
.compare.is-in .dash__bars i { animation: growBar 1.2s cubic-bezier(.2,.7,.2,1) both; }
.compare.is-in .dash__bars i:nth-child(2) { animation-delay: .08s; } .compare.is-in .dash__bars i:nth-child(3) { animation-delay: .16s; }
.compare.is-in .dash__bars i:nth-child(4) { animation-delay: .24s; } .compare.is-in .dash__bars i:nth-child(5) { animation-delay: .32s; }
.compare.is-in .dash__bars i:nth-child(6) { animation-delay: .4s; } .compare.is-in .dash__bars i:nth-child(7) { animation-delay: .48s; }
@keyframes drawLine { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fadeArea { from { opacity: 0; } to { opacity: 1; } }
@keyframes growBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 800px) { .dash__pts { padding: 8px 10px; gap: 4px; } }

/* =====================================================================
   הגרף "הרגע שבו זה מתהפך" (במקום לפני/אחרי)
   --t הוא ההתקדמות: 0 = לפני (ירידה, אדום-דהוי), 1 = אחרי (צמיחה, מנטה זוהר)
   ===================================================================== */
.gv { --t: 0; position: relative; aspect-ratio: 1.12; display: flex; flex-direction: column; padding: clamp(16px, 2.4vw, 26px) clamp(14px, 2.2vw, 24px) clamp(14px, 2vw, 20px); overflow: hidden;
  background: radial-gradient(ellipse at 85% 15%, rgba(159,240,192, calc(var(--t) * .22)), transparent 60%), radial-gradient(ellipse at 80% 80%, rgba(217,103,126, calc((1 - var(--t)) * .12)), transparent 55%), #151d1d;
  clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 48px 100%, 0 calc(100% - 48px)); user-select: none; }
.gv__status { position: relative; height: 34px; }
.gv__s { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; font-size: clamp(13px, 1.3vw, 15px); font-weight: 700; background: rgba(15,22,22,.75); border: 1px solid var(--line); transition: opacity .3s; white-space: nowrap; }
.gv__s--down { opacity: calc(1 - var(--t) * 2); color: #f0a9b8; }
.gv__s--up { opacity: calc(var(--t) * 2 - 1); color: #bff5d4; }
.gv__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 25%, transparent); animation: gvBlink 1.6s ease-in-out infinite; }
@keyframes gvBlink { 50% { opacity: .35; } }
.gv__plot { position: relative; flex: 1; margin: 14px 0 6px; touch-action: pan-y; cursor: ew-resize; }
.gv__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gv__grid line { stroke: rgba(221,232,215,.07); stroke-width: 1; vector-effect: non-scaling-stroke; }
.gv__start { position: absolute; top: -4px; bottom: 0; left: 42%; border-left: 1px dashed rgba(221,232,215,.45); }
.gv__start em { position: absolute; top: 0; left: 8px; font-style: normal; font-size: clamp(11px, 1.05vw, 13px); white-space: nowrap; color: var(--mint); opacity: .8; direction: rtl; }
.gv__start::before { content: ""; position: absolute; bottom: -4px; left: -4px; width: 7px; height: 7px; background: var(--mint); transform: rotate(45deg); }
.gv__end { position: absolute; left: 100%; top: 50%; width: 0; height: 0; }
.gv__pulse { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--gv-col, #dde8d7); box-shadow: 0 0 18px var(--gv-col, #dde8d7); }
.gv__pulse::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--gv-col, #dde8d7); animation: gvPulse 1.8s ease-out infinite; }
@keyframes gvPulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.gv__tag { position: absolute; right: 16px; top: -17px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; white-space: nowrap; font-size: clamp(13px, 1.35vw, 16px);
  background: var(--gv-col, #dde8d7); color: var(--ink); clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px); }
.gv__arrow { display: inline-block; transform: rotate(var(--gv-rot, 45deg)); direction: ltr; }
.gv__sparks { position: absolute; inset: 0; pointer-events: none; }
.gv__sparks i { position: absolute; width: 4px; height: 4px; margin: -2px; border-radius: 50%; background: #bff5d4; box-shadow: 0 0 8px #9ff0c0; animation: gvSpark 1.6s ease-out forwards; }
@keyframes gvSpark { to { transform: translate(var(--dx), -70px) scale(.3); opacity: 0; } }
.gv__months { display: flex; justify-content: space-between; font-size: clamp(9px, .9vw, 11.5px); opacity: .5; padding: 0 2px; }
.gv__ctrl { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 13px; font-weight: 600; opacity: .9; direction: ltr; }
.gv__range { flex: 1; -webkit-appearance: none; appearance: none; height: 3px; background: linear-gradient(to right, #d9677e, #dde8d7 50%, #9ff0c0); border-radius: 2px; outline: none; cursor: ew-resize; }
.gv__range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; background: var(--green); border: 2px solid var(--mint); transform: rotate(45deg); cursor: grab; box-shadow: 0 0 0 5px rgba(221,232,215,.12); }
.gv__range::-moz-range-thumb { width: 18px; height: 18px; background: var(--green); border: 2px solid var(--mint); border-radius: 0; transform: rotate(45deg); cursor: grab; }
.gv__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(221,232,215,.45); }
@media (max-width: 800px) { .gv { aspect-ratio: .95; } .gv__start em { font-size: 10.5px; } }
.gv__ctrl { padding-left: clamp(22px, 3vw, 34px); }  /* שהמילה "לפני" לא תיחתך בפינה החתוכה */

/* הגרף רץ לבד – בלי גרירה. פס התקדמות שמתמלא יחד עם המהפך */
.gv__plot { cursor: default; }
.gv__bar { position: relative; flex: 1; height: 3px; background: rgba(221,232,215,.12); border-radius: 2px; overflow: hidden; }
.gv__fill { position: absolute; inset: 0; background: linear-gradient(to right, #d9677e, #dde8d7 50%, #9ff0c0); transform: scaleX(0); transform-origin: left; }

/* ===== 7 פאנלים בשורה אחת: צרים יותר, אלכסון בגודל קבוע, כותרת קטנה יותר ===== */
.services-wrapper--7 .panel { --sk: 34px; margin-inline: -17px; clip-path: polygon(var(--sk) 0, 100% 0, calc(100% - var(--sk)) 100%, 0 100%); }
.services-wrapper--7 .panel:first-child { margin-right: 0; clip-path: polygon(var(--sk) 0, 100% 0, 100% 100%, 0 100%); }
.services-wrapper--7 .panel:last-child { margin-left: 0; clip-path: polygon(0 0, 100% 0, calc(100% - var(--sk)) 100%, 0 100%); }
.services-wrapper--7 .panel h3 { font-size: clamp(15px, 1.35vw, 20px); padding: 7px 12px; line-height: 1.2; }
.services-wrapper--7 .panel__in { padding: 0 16%; }
.services-wrapper--7 .panel:hover, .services-wrapper--7 .panel:focus-within, .services-wrapper--7 .panel.is-open { flex: 3.2; }
.services-wrapper--7 .panel p { font-size: 15px; }
@media (max-width: 800px) {
  .services-wrapper--7 .panel, .services-wrapper--7 .panel:first-child, .services-wrapper--7 .panel:last-child { margin: 0; clip-path: none; height: 130px; }
  .services-wrapper--7 .panel.is-open { height: 300px; }
  .services-wrapper--7 .panel:hover, .services-wrapper--7 .panel:focus-within { flex: none; }
}

/* ===== פרזנטורית: טלפרומפטר ===== */
.tp { max-width: 820px; margin: 0 auto; }
.tp__screen { position: relative; height: clamp(300px, 36vw, 420px); overflow: hidden; background: #050807; border: 1px solid var(--line);
  clip-path: polygon(30px 0, calc(100% - 30px) 0, 100% 30px, 100% calc(100% - 30px), calc(100% - 30px) 100%, 30px 100%, 0 calc(100% - 30px), 0 30px);
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.tp__scroll { text-align: center; animation: tpScroll 26s linear infinite; }
.tp__scroll p { margin: 0; padding: 10px 20px; font-size: clamp(26px, 3.4vw, 44px); font-weight: 600; color: #f4f7f2; line-height: 1.25; }
@keyframes tpScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.tp__line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: linear-gradient(to right, transparent, #ff5a6e 15%, #ff5a6e 85%, transparent); opacity: .7; }
.tp__line::before, .tp__line::after { content: ""; position: absolute; top: -6px; border: 7px solid transparent; }
.tp__line::before { left: 6px; border-left-color: #ff5a6e; } .tp__line::after { right: 6px; border-right-color: #ff5a6e; }
.tp__meta { display: flex; justify-content: space-between; margin-top: 12px; font-family: ui-monospace, Menlo, monospace; font-size: 13px; opacity: .75; direction: ltr; }
.tp__rec { display: flex; align-items: center; gap: 7px; }
.tp__rec i { width: 9px; height: 9px; border-radius: 50%; background: #ff3b3b; animation: blink 1s steps(2, start) infinite; }

/* ===== אתרים: אתר שנבנה מול העיניים ===== */
.bw { position: relative; max-width: 900px; margin: 0 auto; background: #0f1616; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.bw__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #1a2424; direction: ltr; }
.bw__bar > i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .bw__bar > i:nth-child(2) { background: #febc2e; } .bw__bar > i:nth-child(3) { background: #28c840; }
.bw__url { flex: 1; margin-left: 14px; padding: 5px 12px; border-radius: 6px; background: #0f1616; font-size: 13px; opacity: .75; text-align: center; }
.bw__page { display: flex; flex-direction: column; gap: 14px; padding: clamp(16px, 2.4vw, 26px); min-height: clamp(320px, 38vw, 440px); background: linear-gradient(160deg, #f3f6f1, #dde8d7); }
.bw__b { position: relative; border: 2px dashed rgba(27,38,38,.25); border-radius: 8px; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .6s, transform .6s cubic-bezier(.2,.7,.2,1), border-color .6s, background .6s; }
.bw.s1 .bw__nav, .bw.s2 .bw__hero, .bw.s3 .bw__cards, .bw.s4 .bw__form { opacity: 1; transform: none; }
.bw.s5 .bw__b { border-color: transparent; }
.bw__nav { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; }
.bw__logo { width: 90px; height: 16px; border-radius: 4px; background: var(--ink); }
.bw__links { display: flex; gap: 10px; } .bw__links i { width: 44px; height: 8px; border-radius: 4px; background: rgba(27,38,38,.3); }
.bw__hero { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; }
.bw__h { width: 62%; height: 22px; border-radius: 5px; background: var(--ink); } .bw__h--2 { width: 44%; }
.bw__p { width: 70%; height: 9px; border-radius: 4px; background: rgba(27,38,38,.3); }
.bw__btn { margin-top: 6px; padding: 9px 18px; font-size: 13px; font-weight: 700; color: var(--mint); background: var(--ink); border-radius: 4px; }
.bw__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 12px; }
.bw__cards i { height: clamp(46px, 6vw, 70px); border-radius: 8px; background: rgba(27,38,38,.12); }
.bw__form { display: flex; gap: 10px; padding: 12px; align-items: center; }
.bw__form span { flex: 1; height: 30px; border-radius: 5px; background: #fff; border: 1px solid rgba(27,38,38,.2); }
.bw__send { padding: 8px 20px; font-size: 13px; color: var(--mint); background: var(--ink); border-radius: 4px; transition: transform .15s; }
.bw.s6 .bw__send { transform: scale(.92); background: #2f6b52; }
.bw__cursor { position: absolute; left: 30%; top: 40%; width: 18px; height: 18px; opacity: 0; transition: left 1.1s cubic-bezier(.5,0,.2,1), top 1.1s cubic-bezier(.5,0,.2,1), opacity .4s;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 9-7 2-3 7z' fill='%23111' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E"); }
.bw.s5 .bw__cursor { opacity: 1; left: var(--cx, 12%); top: var(--cy, 88%); }
.bw__toast { position: absolute; top: 64px; left: 50%; padding: 12px 18px; border-radius: 10px; background: var(--ink); color: var(--mint); font-weight: 700; font-size: 15px; white-space: nowrap;
  box-shadow: 0 16px 40px rgba(0,0,0,.35); opacity: 0; transform: translate(-50%, -16px); transition: opacity .4s, transform .5s cubic-bezier(.2,.7,.2,1); }
.bw.s7 .bw__toast { opacity: 1; transform: translate(-50%, 0); }

/* ===== סוכני AI: מסך הבקרה של הסוכן ===== */
.agent { width: min(420px, 100%); justify-self: center; background: #0f1616; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.agent__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.agent__top small { display: block; font-size: 12.5px; opacity: .7; }
.agent__orb { width: 38px; height: 38px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #fff, #9ff0c0 30%, #2f6b52 70%); box-shadow: 0 0 22px rgba(159,240,192,.6); animation: orb 2.4s ease-in-out infinite; }
@keyframes orb { 50% { transform: scale(.88); box-shadow: 0 0 34px rgba(159,240,192,.9); } }
.agent__msg { padding: 10px 12px; margin-bottom: 14px; background: #202c33; border-radius: 10px; font-size: 14.5px; }
.agent__steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.agent__steps li { position: relative; padding: 8px 10px 8px 10px; padding-inline-start: 34px; border-radius: 8px; font-size: 14px; opacity: .3; transition: opacity .4s, background .4s; }
.agent__steps li::before { content: ""; position: absolute; right: 10px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 2px solid rgba(221,232,215,.4); }
.agent__steps li.is-run { opacity: 1; background: rgba(221,232,215,.06); }
.agent__steps li.is-run::before { border-color: var(--mint) transparent var(--mint) transparent; animation: spin .8s linear infinite; }
.agent__steps li.is-done { opacity: 1; }
.agent__steps li.is-done::before { border: 0; background: #9ff0c0; content: "✓"; color: var(--ink); font-size: 10px; font-weight: 800; display: grid; place-items: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.agent__done { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: rgba(159,240,192,.14); color: #bff5d4; font-weight: 700; font-size: 14.5px; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.agent.is-finished .agent__done { opacity: 1; transform: none; }

/* תיקון: גלילה חלקה על כל הדף שיבשה את חישובי הגלילה של GSAP (הסקשן הננעל קפץ למקום הלא נכון).
   עכשיו הגלילה החלקה קורית רק בלחיצה על קישור בתפריט – דרך JavaScript (main.js חלק 20). */
html { scroll-behavior: auto !important; }

/* ===== אתרים: טופס שמתמלא, "נשלח בהצלחה" והתראת ליד ===== */
.bw__page { position: relative; }
.bw__form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 10px; align-items: end; }
.bw__form > span:not(.bw__f) { display: none; }
.bw__f { display: flex; flex-direction: column; gap: 4px; }
.bw__f small { font-size: 11px; color: rgba(27,38,38,.6); font-weight: 600; }
.bw__in { display: flex; align-items: center; height: 34px; padding: 0 10px; border-radius: 5px; background: #fff; border: 1px solid rgba(27,38,38,.2); color: var(--ink); font-size: 14px; font-weight: 600; transition: border-color .3s, box-shadow .3s; }
.bw__in[dir="ltr"] { justify-content: flex-end; }
.bw__in.is-typing { border-color: #2f6b52; box-shadow: 0 0 0 3px rgba(47,107,82,.18); }
.bw__in.is-typing::after { content: ""; width: 1.5px; height: 16px; margin-inline-start: 2px; background: var(--ink); animation: blink .9s steps(2, start) infinite; }
.bw__send { height: 34px; display: grid; place-items: center; }
.bw__success { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: var(--ink);
  background: rgba(243,246,241,.94); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .5s; }
.bw__success b { font-size: clamp(20px, 2.4vw, 28px); } .bw__success span { font-size: 15px; opacity: .8; }
.bw__check { width: 74px; height: 74px; fill: none; stroke: #2f6b52; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.bw__check circle { stroke-dasharray: 151; stroke-dashoffset: 151; }
.bw__check path { stroke-dasharray: 40; stroke-dashoffset: 40; }
.bw.s8 .bw__success { opacity: 1; }
.bw.s8 .bw__check circle { animation: chk .7s .1s ease forwards; }
.bw.s8 .bw__check path { animation: chk .45s .7s ease forwards; }
@keyframes chk { to { stroke-dashoffset: 0; } }
.bw__toast { display: flex; flex-direction: column; gap: 3px; min-width: 250px; top: 56px; left: auto; right: 18px; transform: translate(0, -16px); text-align: right; }
.bw.s7 .bw__toast { transform: translate(0, 0); }
.bw__toast b { font-size: 15px; } .bw__toast span { font-size: 13.5px; font-weight: 600; opacity: .9; } .bw__toast small { font-size: 11px; opacity: .6; }
.bw__toast { z-index: 4; }
@media (max-width: 800px) {
  .bw__form { grid-template-columns: 1fr 1fr; } .bw__send { grid-column: 1 / -1; }
  .bw__toast { right: 10px; left: 10px; min-width: 0; }
}

/* ===== לקוחות ממליצים: כרטיסי סרטון אנכיים + נגן שנפתח מעל הדף ===== */
.testi { position: relative; z-index: 1; padding: clamp(30px, 4vw, 60px) 0 clamp(70px, 8vw, 110px); }
.testi__grid { display: grid; grid-template-columns: minmax(260px, .8fr) 2fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.testi__head .projects__title { margin-bottom: 20px; }
.testi__lead { margin: 0 0 26px; max-width: 360px; line-height: 1.45; opacity: .9; }
.testi__list { display: flex; flex-wrap: wrap; gap: 18px; justify-content: flex-start; }
.tv { position: relative; width: clamp(170px, 17vw, 230px); aspect-ratio: 9 / 16; overflow: hidden; padding: 0; background: #0f1616; isolation: isolate;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 14px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px); }
.tv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.6,.2,1), filter .6s; filter: saturate(.9) brightness(.9); }
.tv::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,22,22,.9), transparent 45%); }
.tv:hover img, .tv:focus-visible img { transform: scale(1.06); filter: none; }
.tv__play { position: absolute; top: 50%; left: 50%; z-index: 2; width: 58px; height: 58px; margin: -29px 0 0 -29px; display: grid; place-items: center; color: var(--ink); background: var(--mint);
  border-radius: 50%; box-shadow: 0 0 0 8px rgba(221,232,215,.2); transition: transform .4s, box-shadow .4s; }
.tv__play svg { margin-left: 3px; }
.tv__play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(221,232,215,.55); animation: gvPulse 2.2s ease-out infinite; }
.tv:hover .tv__play { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(221,232,215,.25); }
.tv__meta { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; color: var(--mint); text-align: right; }
.tv__meta b { font-size: 15px; } .tv__meta small { font-size: 12px; opacity: .8; direction: ltr; }
.vmodal { position: fixed; inset: 0; z-index: 950; display: grid; place-items: center; padding: 20px; background: rgba(10,15,15,.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.vmodal[hidden] { display: none; }
.vmodal__video { max-height: 88vh; max-width: min(92vw, 520px); aspect-ratio: 9 / 16; background: #000; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.vmodal__close { position: absolute; top: 16px; left: 16px; width: 44px; height: 44px; font-size: 20px; color: var(--mint); border: 1px solid var(--line); border-radius: 50%; }
@media (max-width: 800px) {
  .testi__grid { grid-template-columns: minmax(0, 1fr); }
  .testi__list { justify-content: center; }
  .tv { width: calc(50% - 9px); max-width: 230px; }
}

/* שם הלקוח/ה ותחום העסק בכרטיס ההמלצה */
.tv__who { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tv__who em { font-style: normal; font-size: 12px; line-height: 1.3; opacity: .8; }

/* ===== דפים משפטיים (פרטיות, נגישות) בעיצוב החדש ===== */
.legal-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 22px var(--pad); color: var(--mint); border-bottom: 1px solid var(--line); }
.legal-top__back { padding: 10px 16px; font-size: 15px; }
.legal { position: relative; z-index: 1; width: min(820px, 100% - var(--pad) * 2); margin: 0 auto; padding: clamp(40px, 6vw, 80px) 0; line-height: 1.7; }
.legal h1 { font-weight: 300; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.1; margin: 0 0 12px; }
.legal h2 { font-weight: 600; font-size: clamp(21px, 2vw, 26px); margin: 38px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.legal p, .legal li { opacity: .9; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal ul { padding-inline-start: 22px; }
.legal-foot { padding-top: 0; }
.story { padding-top: clamp(70px, 8vw, 120px); }  /* מרווח בין פאנלי השירותים לסיפור שלנו */

/* ערכי ה-DNA: המילה באנגלית (שמתחילה באות שנדלקת) בגדול, והפירוש בעברית מתחתיה */
.lv__t { flex-direction: column; gap: 8px; }
.lv__en { font-size: clamp(34px, 4.4vw, 56px); line-height: 1; }
.lv__he { font-size: clamp(20px, 2vw, 26px); opacity: .85; }
.values__list { min-height: 230px; }

/* הסיפור שלנו – טקסט ארוך יותר: כרטיס רחב יותר ומשפט המפתח מודגש */
.story__card { width: min(640px, 100%); }
.story__card p { font-size: 16px; line-height: 1.55; margin-bottom: 12px; }
.story__punch { font-size: clamp(20px, 2vw, 24px) !important; font-weight: 700; margin: 20px 0 !important; }
.story__card { background: rgba(38, 62, 53, .93); }  /* רקע כמעט אטום – שהטקסט הארוך יהיה קריא גם מעל התמונה */

.talk__mail { grid-column: 1 / -1; margin: 18px 0 0; font-size: 15px; opacity: .85; text-align: center; }
.talk__mail a { text-decoration: underline; text-underline-offset: 3px; }

/* טלפון: במקום סקשן שננעל בגלילה (שגרם ל"קפיצות"), הערכים מוצגים כרשימה רגילה */
.values-static .values-wrapper { height: auto; padding: 80px 0; }
.values-static .letter { opacity: 1; }
.values-static .values__list { display: grid; gap: 34px; min-height: 0; }
.values-static .letter_value { position: static; opacity: 1; }
