/* Hebrew / RTL layer for the /he/* pages only. Loaded AFTER the shared site stylesheet;
   the English pages never load this file, so nothing here can change them. */

/* Hebrew glyphs: Inter and IBM Plex Mono have none, so register Heebo under the SAME family
   names with a Hebrew-only unicode-range. Latin text and digits keep rendering in Inter.
   The mono face also takes the space (U+0020): a monospace space between Hebrew words reads as a gap. */
@font-face{font-family:'Inter';font-style:normal;font-weight:400 800;font-display:swap;src:url('../fonts/heebo-hebrew-var.woff2') format('woff2');unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400 800;font-display:swap;src:url('../fonts/heebo-hebrew-var.woff2') format('woff2');unicode-range:U+0020,U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}

/* Wide tracking is for Latin capitals; on Hebrew letterforms it breaks words apart. */
html[lang="he"] :is(.eyebrow,.hero-stats dt,.lockup-sub,.techlist h3,.step-b .h4,.case-n,.case-k,.case-res b,.field label,.ftr-apps b,.applist b,.techlabel,.direct-or){letter-spacing:.02em}
html[lang="he"] .wt tbody td::before{letter-spacing:.02em}
html[lang="he"] .lockup-sub{padding-inline-start:0}

/* Header: nav underline grows from the reading edge. */
html[dir="rtl"] .hdr-nav a::after{transform-origin:right}

/* Skip link sits off the right edge, appears top-right. */
html[dir="rtl"] .skip{left:auto;right:-9999px;border-radius:0 0 0 10px}
html[dir="rtl"] .skip:focus{right:0}

/* Mobile drawer slides in from the left (the burger is on the left in RTL). */
html[dir="rtl"] [data-webydo-header-drawer][aria-hidden]{right:auto!important;left:0!important;transform:translateX(-105%)!important}
html[dir="rtl"] [data-webydo-header-drawer][aria-hidden="false"]{transform:translateX(0)!important}

/* Directional arrows (→) point the reading way. Rotated "down" arrows are left alone. */
html[dir="rtl"] svg[data-rtl-flip]{transform:scaleX(-1)}

/* Charts / diagrams keep their drawn geometry; SVG text anchors stay as designed. */
html[dir="rtl"] svg{direction:ltr}

/* Brand lockup "GES-AI" is a Latin word mark — keep its internal order and wave. */
html[dir="rtl"] .lockup-type{direction:ltr}

/* Comparison table: first column reads from the right. */
html[dir="rtl"] .wt thead th:first-child,html[dir="rtl"] .wt tbody th{text-align:right}
@media (max-width:900px){html[dir="rtl"] .wt tbody td{text-align:left}}

/* Success cases: the alternate (flipped) rows must still alternate, and text stays RTL. */
html[dir="rtl"] .case--flip .case-in{direction:ltr}
html[dir="rtl"] .case--flip .case-in>*{direction:rtl}
@media (max-width:920px){html[dir="rtl"] .case-in,html[dir="rtl"] .case--flip .case-in{direction:rtl}}

/* Decorative art mirrored to the opposite side. */
html[dir="rtl"] .cta>svg.cta-wave{right:auto;left:-4%;transform:scaleX(-1)}
html[dir="rtl"] .hero-eng{right:auto;left:-5%}

/* Play triangle keeps its optical offset to the right. */
html[dir="rtl"] .video-play svg{margin-inline-start:0;margin-left:9%}

/* Reading-progress bar fills from the right. */
html[dir="rtl"] .prog{left:auto;right:0;background:linear-gradient(270deg,var(--blue),var(--cyan),var(--orange))}

/* Customer-logo marquee is pictures only — keep its LTR track so the loop stays seamless. */
html[dir="rtl"] .lm{direction:ltr}

/* E-mail and phone values are typed left-to-right. */
html[dir="rtl"] input[type="email"],html[dir="rtl"] input[type="tel"]{direction:ltr;text-align:right}
html[dir="rtl"] input[type="email"]::placeholder,html[dir="rtl"] input[type="tel"]::placeholder{text-align:right}

/* 2026-10-08 customer request: small labels unreadable in Hebrew */
html[lang="he"] .eyebrow,html[lang="he"] .techlabel{font-size:16px}
html[lang="he"] .hero-stats dt{font-size:14px}

/* 2026-10-08 customer request: step titles level across the 5 solution cards */
@media (min-width:1181px){html[lang="he"] .step-b h3{min-height:2.5em;min-height:2lh}}
