/*
 * services.css - single-service + services lobby
 * Pass 2 - pixel-accurate from Figma (2026-06-15)
 * Inherits tokens from theme.css. No globals touched.
 * RTL: direction:rtl is set on body in theme.css.
 *
 * BEM-ish naming: svc-* for single-service, svc-lobby-* for lobby
 * Typographic scale (from Figma + home.css precedent):
 *   Hero title:         clamp(2.5rem, 5vw, 4rem)   weight 800
 *   Hero sub:           1.25rem                     weight 400
 *   Section title h2:   clamp(1.75rem,2.5vw,2.5rem) weight 700
 *   Value card title:   1.375rem (22px)             weight 700
 *   Value card body:    1rem (16px)                 weight 400
 *   Process num:        clamp(3rem,6vw,5rem)        weight 900 Poppins
 *   Process h3:         1.375rem                    weight 600
 *   Tech label:         0.875rem                    weight 400
 *   Tech value:         2rem (32px)                 weight 600 Poppins
 *   FAQ question:       1.125rem                    weight 600
 *   FAQ answer:         1rem                        weight 400
 */

/* ============================================================
   SHARED SECTION HEADER
   ============================================================ */
.svc-section-head {
  margin-bottom: var(--space-10);
}

.svc-section-title {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem); /* 40px at 1440 - same as hp-section-title */
  font-weight: var(--weight-bold);           /* 700 */
  color: #242424;
  line-height: 1.4;
  margin: 0;
}

/* On dark sections, colour is set inline */

/* ============================================================
   1. HERO
   Figma: full-height dark BG, gradient overlay, content bottom
   min-height matches home hero 716px + navbar
   ============================================================ */
.svc-hero {
  position: relative;
  min-height: calc(680px + var(--nav-height, 72px));
  display: flex;
  align-items: flex-end;     /* text anchored to bottom */
  padding-block: var(--section-pad);
  overflow: hidden;
  background: var(--color-bg-dark);
}

/* BG image */
.svc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.svc-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* show upper portion of drone photo */
}

/* Dark gradient - bottom-heavy like home hero */
.svc-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(20,20,20,.25)  0%,
    rgba(20,20,20,.50) 45%,
    rgba(20,20,20,.88) 100%
  );
}

/* Content */
.svc-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  max-width: 760px;
}

/* Division badge */
.svc-division-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.85rem;
  border-radius: var(--radius-full);
  font-family: var(--font-english);
  font-size: 0.8125rem;   /* 13px */
  font-weight: var(--weight-semi);
  color: #fff;
  line-height: 1;
}

/* Title */
.svc-hero__title {
  font-size: clamp(2.25rem, 4.5vw, 4rem); /* 64px at 1440 */
  font-weight: 700;                        /* Bold per E-Vision Figma spec */
  color: #fff;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

/* Sub */
.svc-hero__sub {
  font-size: 1.25rem;   /* 20px - same as hp-section-sub */
  font-weight: 400;
  color: rgba(255,255,255,.75);
  line-height: 1.6;
  max-width: 580px;
  margin: 0;
}

/* CTAs */
.svc-hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}


/* ============================================================
   2. VALUE PROPS
   Figma: white BG, 3-col grid, card with line icon top + title + body
   Card: white, border #e9e9e9, radius 24px, padding 32px 24px
   Icon container: 56x56, radius 12px, bg division-color/20
   Title: 22px/700 #242424
   Body: 16px/400 muted
   ============================================================ */
.svc-values {
  /* inherits section-pad section-white */
}

.svc-values__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  /* auto-fit מרכז כרטיס יתום בשורה אחרונה (3+1 → 1 יורד למרכז) */
}

.svc-value-card {
  background: var(--color-bg-white);
  border: 1px solid #e3e3e3;
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .07); /* כרטיס לבן קריא על רקע #f5f5f5 */
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition:
    box-shadow var(--dur-base) var(--ease),
    transform  var(--dur-base) var(--ease);
}
@media (hover: hover) {
  .svc-value-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
  }
}

.svc-value-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(0,0,0,.04); /* neutral tint, icon color carries the brand */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.svc-value-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--div-color);
}

/* Fallback for text icon (ACF plain text field) */
.svc-value-card__icon-text {
  font-size: var(--size-2xl);
  line-height: 1;
  color: var(--div-color);
  margin-bottom: var(--space-2);
}

.svc-value-card__title {
  font-size: 1.375rem; /* 22px */
  font-weight: var(--weight-bold);
  color: #242424;
  line-height: 1.36;
  margin: 0;
}

.svc-value-card__body {
  font-size: 1rem; /* 16px */
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}


/* ============================================================
   3. PROCESS
   Figma: light BG, vertical list max-width 720px centered,
   number: huge Poppins weight-900, very faded, color per division
   h3: 22px/600, body: 16px/400 muted
   Connector line between steps (optional visual polish)
   ============================================================ */
.svc-process__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin-inline: auto;
}

.svc-process__step {
  display: flex;
  gap: var(--space-8);
  align-items: flex-start;
  padding-block: var(--space-8);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.svc-process__step:last-child {
  border-bottom: none;
}

.svc-process__num {
  font-family: var(--font-english);
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* 72px at 1440 */
  font-weight: 900;                       /* Black per Figma */
  line-height: 1;
  min-width: 80px;
  color: rgba(36, 36, 36, 0.10);         /* dark עמום - לא צבע חטיבה */
  flex-shrink: 0;
  /* Align baseline with text */
  padding-top: 4px;
}

.svc-process__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.svc-process__step-title {
  font-size: 1.375rem; /* 22px */
  font-weight: var(--weight-semi);
  color: #242424;
  line-height: 1.36;
  margin: 0;
}

.svc-process__step-body {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}


/* ============================================================
   4. TECH SPEC
   Figma: dark BG, grid of cells separated by 1px rgba(white,.12) lines
   Label: 14px/400 rgba(white,.5)
   Value: 28-32px/600 Poppins division color
   ============================================================ */
.svc-tech {
  /* inherits section-pad section-dark */
}

.svc-tech__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,.12); /* becomes the cell dividers */
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-4);
}

.svc-tech__cell {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-6) var(--space-8);
  background: var(--color-bg-dark); /* restore dark between the 1px gaps */
  transition: background var(--dur-fast) var(--ease);
}
.svc-tech__cell:hover {
  background: rgba(255,255,255,.04);
}

.svc-tech__label {
  font-size: 0.875rem; /* 14px */
  font-weight: 400;
  color: rgba(255,255,255,.5);
  line-height: 1.4;
}

.svc-tech__value {
  font-family: var(--font-english);
  font-size: 2rem;   /* 32px */
  font-weight: var(--weight-semi);
  color: var(--div-color);
  line-height: 1.2;
}


/* ============================================================
   5. FAQ
   Figma: white BG, max-width 720 centered list
   Item: border-bottom 1px #e4e4e7
   Open item: border-bottom 1px division-color
   Question: 18px/600, icon chevron SVG
   Answer: 16px/400 muted
   ============================================================ */
.svc-faq {
  /* inherits section-pad section-white */
}

.svc-faq__inner {
  max-width: 720px;
  margin-inline: auto;
}

/* אקורדיון קנוני - זהה ל-page-faq (faq.css): כרטיס לבן מעוגל, אייקון +/-.
   פיגמה node 1:965 (E-Vision) + 1:902 (עמוד FAQ). מקור-אמת יחיד לעיצוב ה-FAQ. */
.svc-faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: var(--space-2);
}

.svc-faq__item {
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 16px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.svc-faq__item.svc-faq-open {
  border-color: #424242;
}

.svc-faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: none;
  border: none;
  font-family: var(--font-base);
  font-size: 1.0625rem; /* 17px - זהה ל-faq.css */
  font-weight: var(--weight-semi);
  color: var(--color-ink, #1a1714);
  text-align: right;
  cursor: pointer;
}
.svc-faq-open .svc-faq__question {
  font-weight: 700;
}

/* אייקון +/- מ-pseudo-elements. ה-SVG chevron המקורי מוסתר (נשאר ב-HTML
   לתאימות לאחור, לא נראה). זהה בדיוק ל-.faq-item__icon בעמוד ה-FAQ. */
.svc-faq__icon {
  position: relative;
  flex-shrink: 0;
  /* גודל קנוני 16px לאייקוני אקורדיון בכל האתר (גיא 12.7) */
  width: 16px;
  height: 16px;
}
.svc-faq__icon > svg { display: none; }
.svc-faq__icon::before,
.svc-faq__icon::after {
  content: "";
  position: absolute;
  background: var(--color-ink, #1a1714);
  border-radius: 2px;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.svc-faq__icon::before { /* אופקי */
  top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%);
}
.svc-faq__icon::after { /* אנכי */
  left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%);
}
.svc-faq-open .svc-faq__icon::after {
  opacity: 0;
  transform: translateX(-50%) rotate(90deg);
}

.svc-faq__answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-slow) var(--ease);
}
.svc-faq__answer:not([hidden]) {
  max-height: 600px;
}
.svc-faq__answer[hidden] {
  display: block; /* keep it in flow so max-height transition works */
  max-height: 0;
  visibility: hidden;
}

.svc-faq__answer p {
  padding: 2px 24px 24px;
  font-size: .9375rem;
  font-weight: 400;
  color: #4a4a4a;
  line-height: 1.7;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .svc-faq__answer,
  .svc-faq__icon::before,
  .svc-faq__icon::after { transition: none; }
}


/* ============================================================
   6. RELATED PROJECTS
   Figma: light BG, 3-col photo cards with bottom overlay
   Card height: 300px, radius 24px, image fill + dark overlay
   Body below: white bg, pill badge, title, excerpt
   ============================================================ */
.svc-related {
  /* section-pad section-light */
}

.svc-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: var(--space-4);
}

.svc-proj-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition:
    transform  var(--dur-base) var(--ease),
    box-shadow var(--dur-base) var(--ease);
}
@media (hover: hover) {
  .svc-proj-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
  }
}

/* Image area */
.svc-proj-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.svc-proj-card__img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--color-bg-dark);
}
.svc-proj-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--dur-slow) var(--ease);
  display: block;
}
@media (hover: hover) {
  .svc-proj-card:hover .svc-proj-card__img img {
    transform: scale(1.04);
  }
}
.svc-proj-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}
.svc-proj-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.45) 100%);
}

/* Text body */
.svc-proj-card__body {
  padding: var(--space-5) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.svc-div-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-english);
  font-size: 0.75rem;
  font-weight: var(--weight-semi);
  color: #fff;
  align-self: flex-start;
}

.svc-proj-card__title {
  font-size: 1.125rem; /* 18px */
  font-weight: var(--weight-semi);
  color: var(--color-text-dark);
  line-height: 1.4;
  margin: 0;
}
.svc-proj-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.svc-proj-card__title a:hover {
  color: var(--div-color);
}

.svc-proj-card__exc {
  font-size: 0.875rem; /* 14px */
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* CTA wrap */
.svc-section-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-10);
}


/* ============================================================
   7. CTA STRIP
   Figma: dark BG, text centered, h2 large, sub muted, 2 buttons
   ============================================================ */
.svc-cta {
  /* section-pad section-dark */
}

.svc-cta__inner {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.svc-cta__title {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem); /* 40px at 1440 */
  font-weight: var(--weight-bold);
  color: #fff;
  line-height: 1.3;
  margin: 0 0 var(--space-4) 0;
}

.svc-cta__sub {
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin: 0 0 var(--space-8) 0;
}

.svc-cta__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  justify-content: center;
}


/* ============================================================
   SERVICES LOBBY (page-services.php)
   Pass 4 (2026-07-06) - Figma faithful: light hero (breadcrumb
   right, centered title+intro), zigzag rows with logo badge,
   certification standard section. BEM prefix: slh-*
   ============================================================ */

/* --- HERO (light) ------------------------------------------- */
.slh-hero {
  /* הנאבבר fixed - עמוד בהיר מפצה עם padding-top (דפוס news/magazine) */
  padding-top: calc(var(--nav-height, 72px) + clamp(1.5rem, 3vw, 2.25rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* שם מוצר אנגלי בתוך טקסט עברי - לא נשבר באמצע (E-R&D, E-DRONE) */
.en-token {
  white-space: nowrap;
  unicode-bidi: isolate;
  direction: ltr;
}

.slh-hero__crumbs {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  justify-content: flex-start; /* RTL: start = ימין, כמו בפיגמה */
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.slh-hero__title {
  font-size: clamp(2rem, 3.4vw, 3rem); /* 48px at 1440 */
  font-weight: 700;
  color: #242424;
  line-height: 1.3;
  text-align: center;
  text-wrap: balance;
  margin: 0 0 clamp(1.25rem, 2.5vw, 1.75rem);
}

.slh-hero__intro {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.75;
  color: #3f3f3f;
  text-wrap: pretty;
}

/* --- ZIGZAG ROWS --------------------------------------------- */
.slh-rows {
  padding-block: clamp(1.5rem, 3vw, 2.5rem) var(--section-pad);
}

.slh-rows .container {
  display: flex;
  flex-direction: column;
  gap: clamp(4rem, 8vw, 6.5rem);
}

.slh-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(2.5rem, 8vw, 8rem);
  align-items: center;
}

/* RTL grid: עמודה 1 = ימין. שורה רגילה: טקסט ימין, תמונה שמאל */
.slh-row__text  { grid-column: 1; grid-row: 1; }
.slh-row__media { grid-column: 2; grid-row: 1; }

/* שורת flip (E-R&D): תמונה ימין, טקסט שמאל */
.slh-row--flip .slh-row__text  { grid-column: 2; }
.slh-row--flip .slh-row__media { grid-column: 1; }

.slh-row__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* RTL: מיושר לימין */
}

.slh-row__title {
  font-size: clamp(1.5rem, 2.4vw, 2rem); /* 32px at 1440 */
  font-weight: 700;
  color: #242424;
  line-height: 1.4;
  /* pretty ולא balance: שומר את השבירה של הפיגמה
     ("פתרונות מחקר ופיתוח | E-R&D" ואז "בהתאמה אישית") בלי יתום */
  text-wrap: pretty;
  margin: 0 0 var(--space-4);
}

.slh-row__body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #585858;
  text-wrap: pretty;
  margin: 0 0 1.75rem;
}

/* כפתור outline כהה pill - עידון מעל btn-outline-dark */
.slh-row__cta {
  border-width: 1.5px;
  padding: 0.7rem 2rem;
}

/* Media + badge */
.slh-row__media {
  position: relative;
}

.slh-row__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

/* באדג' לוגו בפינה העליונה-ימנית של התמונה, צבע חטיבה */
.slh-row__badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px; /* RTL: ימין פיזי */
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: var(--div-color);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.slh-row__badge::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 10px;
  pointer-events: none;
}
.slh-row__badge-glyph {
  width: 30px;
  height: 30px;
  display: block;
}

/* --- SHARED STANDARD (certifications) ------------------------ */
.slh-standard {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 6.5rem);
}

.slh-standard__inner {
  text-align: center;
}

.slh-standard__eyebrow {
  font-size: 0.9375rem;
  font-weight: var(--weight-semi);
  color: #585858;
  margin: 0 0 var(--space-3);
}

.slh-standard__title {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem); /* 44px at 1440 */
  font-weight: 700;
  color: #242424;
  line-height: 1.25;
  text-wrap: balance;
  margin: 0 0 var(--space-5);
}

.slh-standard__body {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #585858;
  text-wrap: pretty;
}
.slh-standard__body strong {
  color: #242424;
  font-weight: 700;
}

/* שלושה באדג'י הסמכה עגולים בקו-מתאר */
.slh-standard__badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3rem);
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  list-style: none;
  color: #2b2b2b;
}

.slh-cert {
  width: clamp(72px, 8vw, 88px);
}
.slh-cert svg {
  width: 100%;
  height: auto;
  display: block;
}



/* ============================================================
   HERO THUMBNAILS (.svc-hero__thumbs)
   3 small image + label below hero, anchored to bottom-right of hero
   ============================================================ */
.svc-hero__thumbs {
  position: absolute;
  bottom: var(--space-8);
  left: var(--space-8); /* RTL: left = visual right side is covered by content; left = secondary area */
  z-index: 3;
  display: flex;
  gap: var(--space-3);
  align-items: flex-end;
}

.svc-hero__thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  cursor: default;
}

.svc-hero__thumb img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: var(--radius-sm, 8px);
  border: 2px solid rgba(255,255,255,.35);
  transition: border-color var(--dur-fast) var(--ease);
  display: block;
}
.svc-hero__thumb img:hover {
  border-color: var(--div-color);
}

.svc-hero__thumb-label {
  font-size: 0.6875rem; /* 11px */
  font-weight: var(--weight-semi);
  color: rgba(255,255,255,.75);
  line-height: 1.2;
  white-space: nowrap;
}


/* ============================================================
   GALLERY SECTION (.svc-gallery)
   Grid 2-col, מחזר sp-gallery__item pattern
   ============================================================ */
.svc-gallery {
  /* inherits section-pad section-light */
}

.svc-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: var(--space-4);
}

/* מחזר sp-gallery__item - עיצוב כפי שהוא */
.svc-gallery__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-bg-dark);
  aspect-ratio: 16 / 9;
}

.svc-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease);
}
@media (hover: hover) {
  .svc-gallery__item:hover img {
    transform: scale(1.04);
  }
}

/* Play button overlay */
.svc-gallery__play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--dur-fast) var(--ease);
}
.svc-gallery__item--play:hover .svc-gallery__play-btn {
  opacity: 0.85;
}


/* ============================================================
   AUDIENCE SECTION (.svc-audience)
   מחזר svc-values__grid + svc-value-card עם variant תמונה
   ============================================================ */
.svc-audience {
  /* inherits section-pad section-light */
}

/* Variant: כרטיס עם תמונה במקום אייקון */
.svc-value-card--audience {
  padding: 0; /* תמונה מגיעה עד לקצה */
  overflow: hidden;
}

.svc-value-card__img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  flex-shrink: 0;
}

.svc-value-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-slow) var(--ease);
}
@media (hover: hover) {
  .svc-value-card--audience:hover .svc-value-card__img img {
    transform: scale(1.04);
  }
}

/* הטקסט בתוך audience card מקבל padding כמו הכרטיס הרגיל */
.svc-value-card--audience .svc-value-card__title,
.svc-value-card--audience .svc-value-card__body {
  padding-inline: var(--space-6);
}
.svc-value-card--audience .svc-value-card__title {
  padding-top: var(--space-5);
}
.svc-value-card--audience .svc-value-card__body {
  padding-bottom: var(--space-6);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet 1024px */
@media (max-width: 1024px) {
  .svc-hero {
    min-height: calc(560px + var(--nav-height, 72px));
  }

  .svc-values__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-tech__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .svc-hero__thumbs {
    display: none; /* לא מציגים thumbs בטאבלט */
  }

  .svc-gallery__grid {
    grid-template-columns: 1fr;
  }

  /* Lobby slh-* tablet: הזיגזג נערם - תמונה מעל טקסט */
  .slh-row,
  .slh-row--flip {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
  }
  .slh-row__media,
  .slh-row--flip .slh-row__media {
    grid-column: 1;
    grid-row: 1;
  }
  .slh-row__text,
  .slh-row--flip .slh-row__text {
    grid-column: 1;
    grid-row: 2;
  }
}

/* Mobile 768px */
@media (max-width: 768px) {
  .svc-hero {
    min-height: calc(480px + var(--nav-height, 72px));
    align-items: flex-end;
    padding-bottom: var(--space-10);
  }

  .svc-hero__title {
    font-size: clamp(2rem, 7vw, 2.75rem);
  }

  .svc-hero__sub {
    font-size: 1.0625rem;
  }

  /* כפתורי hero side-by-side קומפקטיים (אחיד עם עמוד הבית) */
  .svc-hero__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
  }
  .svc-hero__actions .btn {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-width: 0;
    height: 44px;
    padding: 0 16px;
    font-size: 0.9375rem;
    white-space: nowrap;
    justify-content: center;
  }

  /* evision: כפתור hero יחיד - קומפקטי, לא רוחב מלא */
  .svc-hero-split__text > .btn {
    align-self: flex-start;
    width: auto;
    max-width: none;
    height: 44px;
    padding: 0 20px;
    font-size: 0.9375rem;
    white-space: nowrap;
  }

  .svc-values__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .svc-process__step {
    flex-direction: column;
    gap: var(--space-3);
  }
  .svc-process__num {
    font-size: 2.5rem;
    min-width: auto;
    opacity: 0.25;
  }

  .svc-tech__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .svc-tech__value {
    font-size: 1.5rem;
  }

  .svc-related__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .svc-cta__actions {
    flex-direction: column;
    align-items: center;
  }
  .svc-cta__actions .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Lobby slh-* mobile */
  .slh-hero__intro {
    font-size: 1rem;
  }
  .slh-rows .container {
    gap: 3rem;
  }
  .slh-row__title {
    font-size: 1.375rem;
  }
  .slh-row__badge {
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }
  .slh-row__badge::after {
    border-radius: 8px;
  }
  .slh-row__badge-glyph {
    width: 26px;
    height: 26px;
  }
}

/* Mobile small 480px */
@media (max-width: 480px) {
  .svc-tech__grid {
    grid-template-columns: 1fr;
  }

  .svc-section-title {
    font-size: 1.5rem;
  }

  .svc-faq__question {
    font-size: 1rem;
  }

  /* Lobby slh-* small */
  .slh-standard__badges {
    gap: 1.25rem;
  }
}


/* ============================================================
   EVISION - סקשנים חדשים (2026-06-24)
   ============================================================ */

/* --- HERO SPLIT ----------------------------------------------- */
.svc-hero-split {
  padding-block: clamp(4rem, 8vw, 6rem);
}

.svc-hero-split__inner {
  display: flex;
  flex-direction: row;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  min-height: 540px;
}

/* צד ימין: טקסט (DOM ראשון = RTL ימין) */
.svc-hero-split__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* breadcrumb */
.site-breadcrumb {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}
.site-breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
}
.site-breadcrumb a:hover {
  color: #20C7A0;
}
.site-breadcrumb [aria-current="page"] {
  color: #242424;
  font-weight: var(--weight-semi);
}

/* badge pill כהה */
.svc-evision-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(32, 199, 160, 0.12);
  color: #157a62;
  border-radius: var(--radius-full);
  padding: 0.32rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: var(--weight-semi);
  align-self: flex-start;
}

/* כותרת hero split */
.svc-hero-split__title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  color: #242424;
  line-height: 1.25;
  margin: 0;
  text-wrap: balance;
}

/* תת-כותרת */
.svc-hero-split__sub {
  font-size: 1.0625rem;
  color: #585858;
  line-height: 1.75;
  max-width: 540px;
  margin: 0;
}

/* צד שמאל: תמונה (DOM שני = RTL שמאל) */
.svc-hero-split__media {
  flex: 1;
}
.svc-hero-split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

/* responsive @900 */
@media (max-width: 900px) {
  .svc-hero-split__inner {
    flex-direction: column;
    min-height: auto;
  }
  .svc-hero-split__sub {
    max-width: 100%;
  }
  .svc-hero-split__media {
    width: 100%;
  }
}


/* --- VALUE CARD BADGE EVISION --------------------------------- */
/* badge ירוק 60x60, radius 16px 4px 16px 16px - לא נוגע ב-svc-value-card__icon */
.svc-value-card__badge-icon--evision {
  width: 60px;
  height: 60px;
  border-radius: 16px 4px 16px 16px;
  background: #20C7A0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #242424;
}
.svc-value-card__badge-icon--evision svg {
  width: 28px;
  height: 28px;
  stroke: #242424;
  fill: none;
}


/* --- VIDEO SECTION -------------------------------------------- */
.svc-video {
  /* inherits section-pad section-light */
}

.svc-section-title--center {
  text-align: center;
  text-wrap: balance;
}

.svc-video__wrap {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
}
.svc-video__wrap img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.svc-video__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
}
.svc-video__play svg {
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.25));
  transition: transform var(--dur-base) var(--ease);
}
.svc-video__play:hover svg {
  transform: scale(1.1);
}
.svc-video__play:focus-visible {
  outline: 3px solid #20C7A0;
  outline-offset: 4px;
  border-radius: 50%;
}


/* --- TESTIMONIAL --------------------------------------------- */
.svc-testimonial {
  /* section-dark - רקע #242424, טקסט לבן */
}

.svc-testimonial__inner {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}

.svc-testimonial__logo {
  height: 34px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1); /* לוגו לבן על רקע כהה */
  opacity: 0.95;
}

.svc-testimonial__quote {
  margin: 0;
}
.svc-testimonial__quote p {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.75;
  margin: 0 0 var(--space-5) 0;
}

.svc-testimonial__author {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}
.svc-testimonial__role {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}

/* dots */
.svc-testimonial__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.svc-testimonial__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  display: block;
}
.svc-testimonial__dot--active {
  background: #20C7A0;
  transform: scale(1.25);
}


/* --- CONTENT SPLIT ------------------------------------------- */
.svc-split {
  /* inherits section-pad section-light */
}

.svc-split__inner {
  display: flex;
  flex-direction: row;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

/* צד ימין: טקסט (DOM ראשון = RTL ימין) */
.svc-split__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.svc-split__body {
  font-size: 1.0625rem;
  color: #585858;
  line-height: 1.8;
  margin: 0;
}

/* צד שמאל: תמונה (DOM שני = RTL שמאל) */
.svc-split__media {
  flex: 1;
}
.svc-split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 24px;
  display: block;
}

@media (max-width: 900px) {
  .svc-split__inner {
    flex-direction: column;
  }
  .svc-split__media {
    width: 100%;
  }
}


/* --- VISUALLY HIDDEN ------------------------------------------ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
