/*
Theme Name: Analytica Eight
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: Custom theme inspired by Eight Advisory layout.
Version: 1.0
Text Domain: analytica-eight
*/

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fb;
  --color-primary: #0d2e50; /* main blue */
  --color-primary-soft: #d4dde8;
  --color-accent: #ca8d42; /* gold */
  --color-text: #141820;
  --color-text-soft: #5b6475;
  --font-base: "Heebo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-heading: var(--font-base);
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 40px rgba(5, 21, 58, 0.12);
  --transition-fast: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* הגבלת רוחב ו-overflow ברמת ה-HTML – מונע תזוזה על ציר X */
html {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  box-sizing: border-box;
}

body[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

/* Smooth scroll wrapper – ScrollSmoother (when loaded) controls these */
#smooth-wrapper {
  position: relative;
  overflow-x: hidden;
}
#smooth-content {
  position: relative;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;

  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-fast),
    color var(--transition-fast), border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 30px rgba(202, 141, 66, 0.4);
}

.btn-primary:hover {
  background: #b57837;
  box-shadow: 0 14px 40px rgba(202, 141, 66, 0.6);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgb(0 59 123 / 50%);
  background: transparent;
  color: #0b1630;
  cursor: pointer;
  transition: background-color var(--transition-fast),
    color var(--transition-fast), border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn-ghost:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(13, 46, 80, 0.3);
}

.btn-ghost.btn-dark {
  border-color: rgba(20, 24, 32, 0.16);
  color: var(--color-text);
}

.btn-ghost.btn-dark:hover {
  background: rgba(22, 59, 107, 0.06);
}

.cookie-settings-link {
  background: none;
  border: none;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
  margin-inline-start: 12px;
}

.cookie-consent {
  position: fixed;
  inset-inline: 16px;
  bottom: 16px;
  z-index: 120;
}

.cookie-consent__inner {
  background: #ffffff;
  border: 1px solid rgba(12, 22, 47, 0.12);
  border-radius: 14px;
  box-shadow: 0 14px 32px rgba(5, 18, 35, 0.2);
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.cookie-consent__text {
  margin: 0;
  color: var(--color-text-soft);
  font-size: 0.9rem;
}

.cookie-consent__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 35, 0.48);
}

.cookie-modal__dialog {
  position: relative;
  width: min(680px, calc(100% - 24px));
  margin: 8vh auto 0;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 20px 55px rgba(5, 18, 35, 0.32);
}

.cookie-modal__dialog h3 {
  margin-bottom: 8px;
}

.cookie-modal__dialog > p {
  margin-top: 0;
  color: var(--color-text-soft);
}

.cookie-modal__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(12, 22, 47, 0.1);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}

.cookie-modal__row p {
  margin: 4px 0 0;
  color: var(--color-text-soft);
  font-size: 0.88rem;
}

.cookie-modal__row--locked {
  background: #f8fafc;
}

.cookie-modal__state {
  font-size: 0.85rem;
  color: var(--color-text-soft);
  white-space: nowrap;
}

.cookie-modal__actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent__actions,
  .cookie-modal__actions {
    width: 100%;
  }

  .cookie-consent__actions .btn,
  .cookie-modal__actions .btn {
    width: 100%;
  }

  .cookie-modal__dialog {
    margin-top: 4vh;
    padding: 16px;
  }
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 600;
  margin: 0 0 8px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Header */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 20;
  background: radial-gradient(900px 520px at 50% 18%, rgba(201, 162, 74, .11), transparent 60%), radial-gradient(1100px 650px at 50% 80%, rgba(56, 106, 170, .12), transparent 62%), linear-gradient(180deg, #ffffff 0%, #f2f5fb 52%, #e9edf7 100%);
  box-shadow: 0 10px 28px rgba(5, 15, 32, 0.5);
  color: #050f20;
  transition: background-color var(--transition-fast),
    box-shadow var(--transition-fast), transform var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-mark.logo-mark-image img {
  height: 48px;
  width: auto;
}

.main-nav ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
  white-space: nowrap;
}


.main-nav a,
.nav-link-toggle {
  position: relative;
  padding: 4px 0;
  border: none;
  background: transparent;
  color: #090b38;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.main-nav a::after,
.nav-link-toggle::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-fast);
}

.main-nav a:hover::after,
.nav-link-toggle:hover::after {
  width: 100%;
}

/* סימון עמוד נוכחי: קו תחתון קבוע + משקל גופן */
.nav-item.is-current > a::after,
.nav-item.is-current > .nav-link-toggle::before {
  width: 100%;
}
.nav-item.is-current > a,
.nav-item.is-current > .nav-link-toggle {
  font-weight: 700;
}
/* כשלא בדף הבית – אין קו תחתון ל"ראשי" */
.nav-item--home:not(.is-current) > a::after {
  width: 0;
}

/* dropdown: קו תחתון ב־hover (::before) כמו לשאר הפריטים; חץ ב־::after */
.nav-item.has-dropdown > .nav-link-toggle::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-item.has-dropdown > .nav-link-toggle:hover::before,
.nav-item.has-dropdown:hover > .nav-link-toggle::before {
  width: 100%;
}

.nav-item.has-dropdown > .nav-link-toggle::after {
  content: "▾";
  margin-right: 6px;
  font-size: 0.95rem;
  margin-inline-end: 6px;
  display: inline-block;
  transform: translateY(-1px);
  position: static;
  width: auto;
  min-width: auto;
  height: auto;
  bottom: auto;
  background: none;
  transition: none;
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  min-width: 220px;
  background: #ffffff;
  color: var(--color-text);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 18px 45px rgba(5, 18, 35, 0.22);
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 30;
}

.dropdown-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.86rem;
}

.dropdown-panel li + li {
  margin-top: 6px;
}

.dropdown-panel a {
  color: var(--color-text-soft);
}

.dropdown-panel a:hover {
  color: var(--color-primary);
}

.dropdown-panel-wide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dropdown-column h4 {
  margin: 0 0 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-soft);
}

/* Featured item in dropdown (e.g. התערבות פיננסית) */
.dropdown-item-featured a {
  font-weight: 600;
  padding: 8px 0;
  border-inline-start: 3px solid var(--color-accent, currentColor);
  padding-inline-start: 12px;
}

/* הדרופדאון נפתח בלחיצה או ב־hover */
.nav-item.has-dropdown.open > .dropdown-panel {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .nav-item.has-dropdown.open > .dropdown-panel {
    box-shadow: none;
    margin-top: 6px;
  }
  .dropdown-panel,
  .dropdown-panel-wide {
    grid-template-columns: minmax(0, 1fr);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 6px 10px;
  background: transparent;
  color: #fff;
  font-size: 0.75rem;
  cursor: pointer;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 3px;
  border: none;
  background: transparent;
  padding: 4px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #1a2332;
}

/* Hero */

.hero {
  position: relative;
  min-height: 100vh;
  color: #1a2332;
  overflow: hidden;
  overflow-x: clip;
  background: #fff;
}

.hero .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  min-width: 0;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
}

.hero .hero-video--mobile {
  display: none;
}

.hero .hero-video--desktop {
  display: block;
}

@media (max-width: 767px) {
  .hero .hero-video--mobile {
    display: block;
  }
  .hero .hero-video--desktop {
    display: none;
  }
}

.hero .hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero .hero-cover {
  position: absolute !important;
  inset: 0;
  z-index: 3 !important; /* תמיד מעל הווידאו וה־overlay – שכבת כיסוי קבועה */
  width: 100%;
  height: 100%;
  max-width: 100%;
  min-width: 0;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  opacity: 1 !important;
  visibility: visible !important;
  transition: none !important;
}

.hero .hero-cover--desktop {
  display: block;
}

.hero .hero-cover--mobile {
  display: none;
}

@media (max-width: 768px) {
  .hero .hero-cover--desktop {
    display: none;
  }
  .hero .hero-cover--mobile {
    display: block;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 5;
  padding-top: 120px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-text {
  text-align: center;
  max-width: 720px;
  padding: 2rem 2.5rem 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 24px;
  border: 1px solid rgba(26, 35, 50, 0.08);
}

.hero-text .hero-title {
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  font-weight: 700;
  margin: 0 0 0.35em;
  line-height: 1.2;
  color: #1a2332;
  text-shadow: none;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 400;
  max-width: 520px;
  margin: 0 auto 0.5em;
  color: #1a2332;
  line-height: 1.5;
  opacity: 0.9;
}

.hero-tagline {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  margin: 0.6em 0 0;
  line-height: 1.25;
  color: #1a2332;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
  justify-content: center;
}

.hero-cta .btn-ghost {
  border-color: rgba(26, 35, 50, 0.35);
  color: #1a2332;
}

.hero-cta .btn-ghost:hover {
  border-color: #1a2332;
  background: rgba(26, 35, 50, 0.06);
}

.hero-stats {
  display: grid;
  gap: 12px;
}

.stat {
  background: rgba(10, 26, 62, 0.88);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Generic sections */

.section {
  padding: 72px 0;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* סקשן הלוגואים תמיד גלוי – לא מחכה ל-scroll */
#clients-logos {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.section-alt {
  position: relative;
  z-index: 2;
  background:#090b38;
}

.section.in-view {
  opacity: 0.9;
  transform: translateY(0);
}

.section-header {
  text-align: left;
  margin-bottom: 32px;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.section-header h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.bg-blue {
  background: #090b38;
}
.text-intro{
  color: #bed9ff;
}
.section-intro {
  margin: 0;
  color: #bed9ff;
  font-size: 0.98rem;
}

/* כותרת סקשן במרכז – כמו "מי אנחנו" (כותרת + קו דקורציה) */
.section-header--centered {
  margin: 3rem;
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-header--centered .section-title-wrap {
  position: relative;
  display: inline-block;
}

.section-header--centered .section-title-wrap h2 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 0.75rem;
}

.section-header--centered .section-title-line {
  display: block;
  width: 56px;
  height: 3px;
  margin: 0 auto;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #a0c8f3 20%, #a0c8f3 80%, transparent);
  opacity: 0.85;
}

.section-header--centered .section-intro {
  max-width: 42em;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  text-align: center;
}

.section-header--centered .section-subtitle {
  margin: 0.75rem auto 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ana-navy, #0f172a);
  opacity: 0.88;
  text-align: center;
}

#clients-logos .section-subtitle.clients-logos-subtitle {
  margin-top: 0.875rem;
}

/* Strip values */

.strip {
  background: radial-gradient(
      120% 140% at 10% 0%,
      rgba(26, 86, 140, 0.35) 0%,
      rgba(11, 34, 59, 0.9) 45%,
      #0b223b 100%
    );
  color: #161616;
  padding: 56px 0;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}



.ana-who {
  --ana-navy: #0b1630;
  --ana-ink: #0f172a;
  --ana-muted: #334155;
  --ana-gold: var(--color-accent, #0ea5e9);

  padding: clamp(48px, 6vw, 88px) 0;
  position: relative;
  overflow: hidden;
  color: var(--ana-ink);
  font-family: var(--font-heading);
  background:
    radial-gradient(900px 420px at 50% 10%, rgba(14, 165, 233, 0.12), transparent 60%),
    radial-gradient(820px 520px at 20% 40%, rgba(15, 23, 42, 0.08), transparent 60%),
    radial-gradient(900px 520px at 80% 55%, rgba(15, 23, 42, 0.06), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 60%, #eef1f8 100%);
}

.ana-who::before {
  content: "";
  position: absolute;
  inset: -120px;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.65) 0 1px, transparent 2px),
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.55) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.55) 0 1px, transparent 2px),
    radial-gradient(circle at 35% 75%, rgba(255,255,255,.45) 0 1px, transparent 2px),
    radial-gradient(circle at 85% 35%, rgba(255,255,255,.42) 0 1px, transparent 2px);
  opacity: .55;
  filter: blur(.2px);
  pointer-events: none;
  transform: rotate(-2deg);
}

.ana-who::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(1200px 700px at 50% 0%, transparent 60%, rgba(2,6,23,.06));
  pointer-events: none;
}

.ana-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ana-top {
  text-align: center;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.ana-kicker {
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(11,22,48,.55);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}

.ana-title {
  margin: 0;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  color: var(--ana-navy);
  font-weight: 800;
}

/* תוכן מ־WYSIWYG (שתי שורות, מודגש) – בלי רווחים/גודל משלו */
.ana-title p,
.ana-title h2,
.ana-title h3 {
  margin: 0 0 0.25em;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}
.ana-title p:last-child,
.ana-title h2:last-child,
.ana-title h3:last-child {
  margin-bottom: 0;
}

.ana-underline {
  width: 78px;
  height: 3px;
  margin: 16px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #a0c8f3, transparent);
}

.ana-lead {
  width: min(860px, 100%);
  margin: 18px auto 0;
  font-size: 18px;
  line-height: 1.95;
  color: rgba(51,65,85,.92);
}

.ana-stats {
  width: min(980px, 100%);
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 14px 10px;
  border-radius: 20px;
  border: 1px solid rgba(11,22,48,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,.40));
  box-shadow: 0 18px 50px rgba(2,6,23,.10);
  backdrop-filter: blur(10px);
}

.ana-stat {
  padding: 14px 10px;
  position: relative;
}

.ana-stat:not(:first-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  inset-inline-start: 0;
  width: 1px;
  background: rgba(11,22,48,.08);
}

.ana-stat-value {
  font-size: 34px;
  font-weight: 800;
  color: var(--ana-navy);
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}

.ana-stat-label {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(51,65,85,.88);
  font-weight: 600;
}

.ana-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* שלושה כרטיסים בלבד: השלישי לכל רוחב שני העמודות */
.ana-card--full-row {
  grid-column: 1 / -1;
}

.ana-card {
  position: relative;
  border-radius: 22px;
  padding: 28px 28px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.70), rgba(255,255,255,.52));
  border: 1px solid rgba(11,22,48,.10);
  box-shadow: 0 14px 40px rgba(2,6,23,.18);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.ana-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(260px 260px at 18% 18%, rgba(14, 165, 233, 0.12), transparent 60%),
    radial-gradient(420px 360px at 80% 60%, rgba(11,22,48,.10), transparent 65%);
  pointer-events: none;
}

.ana-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 26px 70px rgba(2,6,23,.18);
}

.ana-pin {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 18px;
  height: calc(100% - 52px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  opacity: .95;
}

[dir="rtl"] .ana-pin {
  right: auto;
  left: 26px;
}

.ana-pin-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ana-gold);
  box-shadow: 0 0 0 7px rgba(14, 165, 233, 0.18);
}

.ana-pin-line {
  flex: 1;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgb(13 46 80), rgba(14, 165, 233, 0.12));}

.ana-card-title {
  margin: 0 0 12px;
  padding-right: 38px;
  font-size: 26px;
  font-weight: 800;
  color: var(--ana-navy);
}

[dir="rtl"] .ana-card-title {
  padding-right: 0;
  padding-left: 38px;
}

.ana-card-text {
  margin: 0;
  padding-right: 38px;
  color: rgba(51,65,85,.92);
  font-size: 16px;
  line-height: 2.0;
}

[dir="rtl"] .ana-card-text {
  padding-right: 0;
  padding-left: 38px;
}

.ana-chips {
  margin-top: 18px;
  padding-right: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

[dir="rtl"] .ana-chips {
  padding-right: 0;
  padding-left: 38px;
}

.ana-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  color: rgba(11,22,48,.88);
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(11,22,48,.10);
  box-shadow: 0 10px 22px rgba(2,6,23,.08);
}

@media (max-width: 920px) {
  .ana-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ana-stat:not(:first-child)::after {
    display: none;
  }
  .ana-grid {
    grid-template-columns: 1fr;
  }
  .ana-pin {
    right: 20px;
  }
  [dir="rtl"] .ana-pin {
    right: auto;
    left: 20px;
  }
  .ana-card {
    padding: 22px 18px 18px;
  }
  .ana-card-title,
  .ana-card-text,
  .ana-chips {
    padding-right: 34px;
  }
  [dir="rtl"] .ana-card-title,
  [dir="rtl"] .ana-card-text,
  [dir="rtl"] .ana-chips {
    padding-right: 0;
    padding-left: 34px;
  }
}

/* מה הלקוחות מקבלים – מסלול טיימליין: מסילה עליונה, קווים אנכיים, כרטיסים, מסילה תחתונה + נצנוץ */
.ana-path {
  --ana-path-navy: #0b1630;
  --ana-path-ink: #0f172a;
  --ana-path-muted: #64748b;
  --ana-path-gold: #a0c8f3;
  --ana-path-gold-rgb: 201, 162, 74;

  padding: clamp(44px, 6vw, 86px) 0;
  position: relative;
  background:#090b38;
  overflow: hidden;
  font-family: var(--font-heading);
}

/* נצנוץ / stardust ברקע – נקודות אור סטטיות */
.ana-path__sparkle {
  position: absolute;
  inset: -80px;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,.7) 0 1px, transparent 2px),
    radial-gradient(circle at 45% 18%, rgba(255,255,255,.6) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 30%, rgba(255,255,255,.65) 0 1px, transparent 2px),
    radial-gradient(circle at 22% 55%, rgba(255,255,255,.5) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 48%, rgba(255,255,255,.55) 0 1px, transparent 2px),
    radial-gradient(circle at 55% 70%, rgba(255,255,255,.45) 0 1px, transparent 2px),
    radial-gradient(circle at 8% 72%, rgba(255,255,255,.4) 0 1px, transparent 2px),
    radial-gradient(circle at 92% 15%, rgba(255,255,255,.5) 0 1px, transparent 2px);
  background-size: 100% 100%;
  opacity: 0.85;
}

.ana-path__wrap {
  width: min(1200px, calc(100% - 44px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ana-path__head {
  text-align: center;
  margin-bottom: 28px;
}
.text-white {
  color: #fff;
}
.ana-path__title {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;

}

.ana-path__underline {
  width: 74px;
  height: 3px;
  border-radius: 999px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, var(--ana-path-gold), transparent);
  box-shadow: 0 0 16px rgba(var(--ana-path-gold-rgb), 0.6);
}

.ana-path__sub {
  margin: 16px 0 0;
  color:#bed9ff;
  line-height: 1.9;
}

/* מסילה עליונה/תחתונה */
.ana-path__rail {
  position: relative;
  height: 48px;
  width: 100%;
  margin: 0 auto;
  overflow-x: clip;
}

.ana-path__rail--top {
  margin-bottom: 0;
}

.ana-path__rail--bottom {
  margin-top: 0;
}

.ana-path__railLine {
  position: absolute;
  inset: 50% 0 auto 0;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent 0%, rgba(var(--ana-path-gold-rgb), 0.6) 15%, rgba(var(--ana-path-gold-rgb), 0.75) 50%, rgba(var(--ana-path-gold-rgb), 0.6) 85%, transparent 100%);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(var(--ana-path-gold-rgb), 0.5);
}

.ana-path__glow {
  position: absolute;
  inset: 50% 0 auto 0;
  height: 16px;
  transform: translateY(-50%);
  background: radial-gradient(ellipse 80% 8px at 50% 50%, rgba(var(--ana-path-gold-rgb), 0.25), transparent 75%);
  filter: blur(4px);
  pointer-events: none;
}

/* זוהר עדין על הקו (ללא תזוזה) */
.ana-path__sparkle-line {
  position: absolute;
  left: -10%;
  right: -10%;
  top: 50%;
  height: 14px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: radial-gradient(ellipse 80% 7px at 50% 50%, rgba(255,255,255,0.45), transparent 72%);
  filter: blur(2px);
  pointer-events: none;
}

.ana-path__dots {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(var(--path-cols, 3), 1fr);
  align-items: center;
  justify-items: center;
  pointer-events: none;
}

.ana-path__dot {
  position: relative;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.ana-path__dot-core {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ca8d42;
  box-shadow:
    0 0 0 4px #ca8d42, 0.35,
    0 0 0 14px #ca8d42, 0.18,
    0 0 28px #ca8d42, 0.65,
    0 0 40px #ca8d42, 0.35,
    inset 0 0 10px rgba(255,255,255,0.45);
}

/* קווים אנכיים מחברים */
.ana-path__connectors {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(var(--path-cols, 3), 1fr);
  height: 28px;
  margin: -4px 0 0;
  align-items: stretch;
  justify-items: center;
}

.ana-path__vline {
  width: 2px;
  height: 100%;
  position: relative;
  background: linear-gradient(180deg, rgba(var(--ana-path-gold-rgb), 0.75), rgba(var(--ana-path-gold-rgb), 0.3));
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(var(--ana-path-gold-rgb), 0.45);
}

.ana-path__vline-inner {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 50%, rgba(255,255,255,0.2) 100%);
  pointer-events: none;
}

/* כרטיסי תוכן */
.ana-path__steps {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(var(--path-cols, 3), minmax(0, 1fr));
  gap: 24px 20px;
  align-items: start;
  padding-top: 20px;
}

.ana-step {
  position: relative;
  text-align: center;
  padding: 0 8px;
}

.ana-step__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
}

.ana-step__text {
  margin: 0 auto;
  color: #bed9ff;
  line-height: 1.9;
  max-width: 300px;
  font-size: 15px;
}

/* מתי חברה צריכה CFO – בלוק נפרד (לא steps): רשימת מצבים עם קו צד */
.ana-path__when {
  margin-top: clamp(48px, 8vw, 72px);
  padding-top: clamp(32px, 5vw, 48px);
  border-top: 1px solid rgba(var(--ana-path-gold-rgb), 0.35);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: right;
}

.ana-path__when-title {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.ana-path__when-intro {
  margin: 0 0 10px;
  color: #bed9ff;
  line-height: 1.85;
  font-size: 16px;
}

.ana-path__when-lead {
  margin: 18px 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: #a0c8f3;
}

.ana-path__when-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ana-path__when-item {
  position: relative;
  padding: 18px 20px;
  border-inline-start: 3px solid rgba(var(--ana-path-gold-rgb), 0.7);
  background: rgba(15, 23, 42, 0.4);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

[dir="rtl"] .ana-path__when-item {
  border-radius: 8px 0 0 8px;
}

.ana-path__when-item-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}

.ana-path__when-item-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #bed9ff;
}

/* מה הלקוחות מקבלים – מובייל: אותו עיצוב (מסילות, נקודות, קווים) בקנה מידה מותאם */
@media (max-width: 980px) {
  .ana-path {
    padding: clamp(32px, 5vw, 56px) 0;
  }

  .ana-path__wrap {
    width: min(980px, calc(100% - 32px));
    padding: 0 16px;
  }

  .ana-path__head {
    margin-bottom: 20px;
  }

  .ana-path__title {
    font-size: clamp(22px, 4vw, 32px);
  }

  .ana-path__underline {
    width: 56px;
    height: 2.5px;
    margin: 10px auto 0;
  }

  .ana-path__sub {
    margin: 10px 0 0;
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.75;
  }

  .ana-path__rail {
    height: 36px;
  }

  .ana-path__railLine {
    height: 1.5px;
  }

  .ana-path__glow {
    height: 12px;
  }

  .ana-path__dot {
    width: 16px;
    height: 16px;
  }

  .ana-path__dot-core {
    width: 10px;
    height: 10px;
    box-shadow:
      0 0 0 3px #ca8d42,
      0 0 0 10px #ca8d42, 0.15,
      0 0 20px rgba(var(--services-accent, #ca8d42), 0.5);
  }

  .ana-path__connectors {
    height: 20px;
    margin: -2px 0 0;
  }

  .ana-path__vline {
    width: 1.5px;
  }

  .ana-path__steps {
    gap: 16px 12px;
    padding-top: 14px;
  }

  .ana-step {
    padding: 0 4px;
    text-align: center;
  }

  [dir="rtl"] .ana-step {
    text-align: center;
  }

  .ana-step__title {
    font-size: clamp(16px, 2.5vw, 18px);
    margin: 0 0 6px;
  }

  .ana-step__text {
    font-size: clamp(13px, 1.8vw, 14px);
    line-height: 1.7;
    max-width: none;
    margin: 0 auto;
  }

  .ana-path__when {
    margin-top: 40px;
    padding-top: 32px;
  }

  .ana-path__when-title {
    font-size: clamp(20px, 4vw, 24px);
  }

  .ana-path__when-item {
    padding: 14px 16px;
  }

  .ana-path__when-item-title {
    font-size: 16px;
  }

  .ana-path__when-item-text {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .main-nav a,
.nav-link-toggle {
  color: #ffffff;
}
  .ana-path {
    padding: 28px 0 40px;
  }

  .ana-path__wrap {
    width: calc(100% - 24px);
    padding: 0 12px;
  }

  .ana-path__head {
    margin-bottom: 16px;
  }

  .ana-path__title {
    font-size: 22px;
  }

  .ana-path__sub {
    font-size: 14px;
  }

  .ana-path__rail {
    height: 32px;
  }

  .ana-path__dot {
    width: 14px;
    height: 14px;
  }

  .ana-path__dot-core {
    width: 8px;
    height: 8px;
    box-shadow:
      0 0 0 2px rgba(var(--services-accent, #ca8d42), 0.35),
      0 0 0 8px #ca8d42,
      0 0 14px #ca8d42;
  }

  .ana-path__connectors {
    height: 16px;
  }

  .ana-path__steps {
    gap: 12px 8px;
    padding-top: 12px;
  }

  .ana-step__title {
    font-size: 16px;
  }

  .ana-step__text {
    font-size: 13px;
  }
}

@media (max-width: 520px) {
  .ana-path {
    padding: 24px 0 32px;
  }

  .ana-path__wrap {
    width: calc(100% - 20px);
    padding: 0 10px;
  }

  .ana-path__rail {
    height: 28px;
  }

  .ana-path__dot {
    width: 12px;
    height: 12px;
  }

  .ana-path__dot-core {
    width: 7px;
    height: 7px;
    box-shadow:
      0 0 0 2px #ca8d42, 0.35,
      0 0 0 6px #ca8d42, 0.1,
      0 0 12px #ca8d42;
  }

  .ana-path__connectors {
    height: 14px;
  }

  .ana-path__steps {
    gap: 10px 6px;
    padding-top: 10px;
  }

  .ana-step {
    padding: 0 2px;
  }

  .ana-step__title {
    font-size: 15px;
  }

  .ana-step__text {
    font-size: 12px;
  }
}


.strip::before,
.strip::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #ca8d42 18%,
    #ca8d42 70%
  );
  filter: blur(10px);
  pointer-events: none;
}

.ana-who.strip::before,
.ana-who.strip::after {
  display: none;
}

.strip::before {
  top: -240px;
  right: -120px;
}

.strip::after {
  bottom: -260px;
  left: -160px;
}

.strip.in-view {
  opacity: 1;
  transform: translateY(0);
}

.strip-header {
  margin-bottom: 32px;
  text-align: center;
}

.strip-header h2 {
  font-size: 1.75rem;
  margin: 0;
  letter-spacing: 0.02em;
}

.strip-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.strip-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(6px);
  box-shadow: 0 16px 40px rgba(5, 12, 32, 0.25);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.strip-item.strip-item-wide {
  grid-column: 1 / -1;
}

.strip-item:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 20px 46px rgba(5, 12, 32, 0.32);
}

.strip-item h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  color: #fff;
}

.strip-item p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(4, 0, 56, 0.82);
  line-height: 1.65;
}

/* ========= Services Section (ana-services) – מודרני, צבע עדין, אייקונים כבאדג'ים ========= */
.ana-services{
  --svc-navy: #0f172a;
  --svc-border: #e2e8f0;
  --svc-muted: #475569;
  --svc-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 12px 40px rgba(15, 23, 42, 0.06);

  position: relative;
  overflow: hidden;
  padding: clamp(52px, 6vw, 96px) 0;
  background:
    radial-gradient(ellipse 120% 70% at 50% -15%, rgba(13, 148, 136, 0.11), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 30%, rgba(79, 70, 229, 0.07), transparent 50%),
    radial-gradient(ellipse 70% 45% at 0% 70%, rgba(2, 132, 199, 0.08), transparent 50%),
    linear-gradient(185deg, #f8fafc 0%, #eef2f7 48%, #e8edf4 100%);
}

.ana-services::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.035) 1px, transparent 0);
  background-size: 22px 22px;
  pointer-events: none;
  opacity: 0.55;
}

.ana-services::after{
  display: none;
}

.ana-services__wrap{
    padding-top: 62px;
  width: min(1200px, calc(100% - 44px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ana-services__head{
  text-align: center;
  margin-bottom: clamp(26px, 3vw, 44px);
}

.ana-services__title{
  margin: 0;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  color: rgba(11,22,48,.86);
  letter-spacing: .01em;
}

.ana-services__underline{
  width: 72px;
  height: 3px;
  border-radius: 999px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, transparent, #a0c8f3, transparent);

  opacity: 0.85;
}

.ana-services__subtitle-wrap {
  max-width: 36em;
  margin: 0.875rem auto 0;
  text-align: center;
}

.ana-services__subtitle-heading {
  margin: 0 0 0.35em;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(11, 22, 48, 0.8);
}

.ana-services__subtitle {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 600;
  color: rgba(11, 22, 48, 0.92);
}

.ana-services__grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

/* צבעי הדגשה שונים לכל כרטיס (חוזר אחרי 6) */
.ana-scard{
  --card-accent: #0d9488;
  --card-accent-mid: #14b8a6;
  --card-tint: rgba(13, 148, 136, 0.09);
  --card-tint-strong: rgba(13, 148, 136, 0.16);
}

.ana-scard:nth-child(6n + 2){
  --card-accent: #ff9500;
  --card-accent-mid: #ff9500;
  --card-tint: rgba(79, 70, 229, 0.09);
  --card-tint-strong: rgba(79, 70, 229, 0.16);
}

.ana-scard:nth-child(6n + 3){
  --card-accent: #0369a1;
  --card-accent-mid: #0284c7;
  --card-tint: rgba(3, 105, 161, 0.09);
  --card-tint-strong: rgba(3, 105, 161, 0.16);
}

.ana-scard:nth-child(6n + 4){
  --card-accent: #7c3aed;
  --card-accent-mid: #8b5cf6;
  --card-tint: rgba(124, 58, 237, 0.09);
  --card-tint-strong: rgba(124, 58, 237, 0.16);
}

.ana-scard:nth-child(6n + 5){
  --card-accent: #c026d3;
  --card-accent-mid: #d946ef;
  --card-tint: rgba(192, 38, 211, 0.09);
  --card-tint-strong: rgba(192, 38, 211, 0.16);
}

.ana-scard:nth-child(6n + 6){
  --card-accent: #059669;
  --card-accent-mid: #10b981;
  --card-tint: rgba(5, 150, 105, 0.09);
  --card-tint-strong: rgba(5, 150, 105, 0.16);
}

.ana-scard{
  position: relative;
  border-radius: 14px;
  padding: 28px 26px 24px;
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--card-accent) 14%, var(--svc-border));
  box-shadow: var(--svc-shadow);
  overflow: hidden;
  min-height: 240px;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.2s ease;
  /* עמודה צרה לאייקון + טקסט — בלי ריווח ימני ענק */
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 0;
  align-items: start;
}

.ana-scard::before{
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--card-accent-mid), var(--card-accent));
  pointer-events: none;
}

.ana-scard::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, var(--card-tint) 0%, transparent 52%);
  pointer-events: none;
  border-radius: inherit;
}

.ana-scard:hover{
  border-color: color-mix(in srgb, var(--card-accent) 28%, var(--svc-border));
  box-shadow: 0 8px 32px color-mix(in srgb, var(--card-accent) 12%, rgba(15, 23, 42, 0.06));
}

.ana-scard--left,
.ana-scard--right{
  box-shadow: var(--svc-shadow);
}

/* עוטף טקסט — כותרת+רשימה+CTA בעמודה אחת, בלי “חור” בין כותרת לרשימה (גריד היה משך שורה לגובה האייקון) */
.ana-scard__body{
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.ana-scard__title{
  margin: 0 0 12px;
  padding: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--svc-navy);
  line-height: 1.35;
  letter-spacing: -0.02em;
  min-width: 0;
}

@media (min-width: 992px) {
  .ana-scard__title{
    font-size: 1.35rem;
  }
}

/* באדג' עגול — בעמודת גריד (RTL: עמודה 1 = ימין), לא absolute */
.ana-scard__icon{
  grid-column: 1;
  grid-row: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  align-self: start;
  justify-self: end;
  margin: 0;
  background:
    radial-gradient(circle at 30% 25%, #ffffff 0%, color-mix(in srgb, var(--card-accent) 8%, #f8fafc) 100%);
  border: 2px solid color-mix(in srgb, var(--card-accent) 35%, #ffffff);
  box-shadow:
    0 0 0 4px var(--card-tint-strong),
    0 8px 18px color-mix(in srgb, var(--card-accent) 18%, transparent);
}

.ana-scard__icon::after{
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--card-accent) 14%, transparent) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.ana-scard__icon .ana-scard__svg,
.ana-scard__icon svg{
  width: 30px;
  height: 30px;
  display: block;
  flex-shrink: 0;
  color: var(--card-accent);
  opacity: 0.95;
  filter: drop-shadow(0 1px 1px color-mix(in srgb, var(--card-accent) 25%, transparent));
}

.ana-scard__list{
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--svc-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  font-weight: 400;
  min-width: 0;
}

.ana-scard__list li{
  position: relative;
  padding-inline-start: 0.85em;
}

.ana-scard__list li::before{
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--card-accent-mid), var(--card-accent));
  opacity: 0.85;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--card-accent) 20%, transparent);
}

.ana-scard__cta-wrap{
  margin: 16px 0 0;
  min-width: 0;
}
.ana-scard__cta{
  display: inline-block;
  padding: 8px 18px;
  background: transparent;
  color: var(--card-accent);
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 38%, var(--svc-border));
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.ana-scard__cta:hover{
  background: var(--card-tint);
  border-color: color-mix(in srgb, var(--card-accent) 55%, var(--svc-border));
  color: var(--card-accent);
}

/* מצב קומפקטי בדף הבית: אייקון + כותרת בלבד, בלי גובה מיותר */
.ana-services--compact .ana-scard{
  min-height: 0;
  padding: 18px 20px;
  align-items: center;
}

.ana-services--compact .ana-scard__body{
  align-self: center;
}

.ana-services--compact .ana-scard__title{
  margin: 0;
}

.ana-services--compact .ana-scard__icon{
  width: 46px;
  height: 46px;
}

.ana-services--compact .ana-scard__icon .ana-scard__svg,
.ana-services--compact .ana-scard__icon svg{
  width: 26px;
  height: 26px;
}

@media (max-width: 900px){
  .ana-services__grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px){
  .ana-services__grid{
    grid-template-columns: 1fr;
  }
  .ana-scard__title{ font-size: 1.15rem; }
  .ana-scard{
    min-height: unset;
    column-gap: 8px;
  }
  .ana-scard__icon{
    width: 46px;
    height: 46px;
  }
  .ana-scard__icon svg,
  .ana-scard__icon img{
    width: 24px;
    height: 24px;
  }
}
.sr-only{
  position:absolute; left:-9999px;
}
/* —— שירותים תלת־ממדי (Services 3D – תבנית דף נפרדת) —— */

/* גובה הסקשן נקבע ב־JS: N*100vh לגלילה דביקה (Sticky). ה־viewport נשאר במקום והמשתמש גולל "על ריק" */
.section-services-3d {
  position: relative;
  min-height: 100vh;
  padding: 0;
  overflow: visible;
}

/* העוטף של הקנבס וה־UI – sticky כך שבגלילה הסקשן נשאר במקום והמצלמה זזה לפי הפרוגרס */
.section-services-3d .services-3d-viewport {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  min-height: 400px;
  overflow: hidden;
}

.section-services-3d .services-3d-canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-services-3d .services-3d-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.section-services-3d .services-3d-fallback-inner {
  position: relative;
  bottom: 22%;
  max-width: 560px;
  text-align: center;
}

.section-services-3d .services-3d-fallback-title {
  color: var(--color-text);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 24px;
  font-weight: 600;
}

.section-services-3d .services-3d-fallback .services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-services-3d .services-3d-fallback .services-list li {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--color-text-soft);
  border: 1px solid rgba(13, 46, 80, 0.12);
  background: rgba(255, 255, 255, 0.6);
}

/* UI overlay (HUD) */

/* רמז גלילה – מוסתר אחרי כמה שניות או בגלילה ראשונה */
.section-services-3d .services-3d-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 120px;
  transform: translateX(-50%);
  margin: 0;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--color-text-soft);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(13, 46, 80, 0.12);
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-services-3d .services-3d-scroll-hint.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
  visibility: hidden;
}
@media (max-width: 600px) {
  .section-services-3d .services-3d-scroll-hint {
    white-space: normal;
    text-align: center;
    max-width: 80%;
    bottom: 100px;
  }
}

.section-services-3d .services-3d-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(20px, 4vw, 40px) 24px clamp(48px, 40vw, 350px);
  pointer-events: none;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* כותרת סקשן השירותים – אותו עיצוב כמו מי אנחנו, מותאם לרקע כהה */
.section-services-3d .services-3d-header {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 1rem;
  margin-inline-start: auto;
  margin-inline-end: auto;
  pointer-events: auto;
}

.section-services-3d .services-3d-header.section-header--centered {
  margin-bottom: 1rem;
}

.section-services-3d .services-3d-heading {
  margin: 0 0 0.75rem;
  color: var(--color-text);
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
  pointer-events: auto;
}

.section-services-3d .services-3d-title-line {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5) 20%, rgba(202, 141, 66, 0.95) 50%, rgba(255, 255, 255, 0.5) 80%, transparent);
  opacity: 0.9;
}

.section-services-3d .services-3d-ui-inner {
  position: relative;
  max-width: 520px;
  margin-inline-start: 24px;
  margin-inline-end: auto;
  pointer-events: auto;
  min-height: 146px;
}

/* שתי התחנות תמיד absolute באותו מיקום – מעבר רק ב־opacity, בלי ריענון layout */
.section-services-3d .services-3d-station {
  position: absolute;
  top: 0;
  right: 24px;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0);
  /* מעבר פייד נעים יותר – משך ארוך יותר ו־ease-in-out */
  pointer-events: none;
}

.section-services-3d .services-3d-station.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* בדסקטופ: תחנה שנייה – טקסט יותר ימינה, בלי רקע */
@media (min-width: 769px) {
  .section-services-3d .services-3d-station[data-station="1"].is-active {
    margin-inline-end: 2rem;
  }
}
/*mobile*/
/* במובייל בלבד: תחנה שנייה – רקע גרדיאנט אנכי (שחור → שקוף) */
@media (max-width: 768px) {
  .section-services-3d .services-3d-header {
    padding-inline: 24px;
  }
  .section-services-3d .services-3d-station[data-station="1"].is-active {
   
    padding: 0em 0.5em 0.5em;
    border-radius: 4px;
  }
  .section-services-3d .services-3d-station[data-station="0"].is-active {
    
    padding: 0em 0.5em 0.5em;
    border-radius: 4px;
  }
}

.section-services-3d .services-3d-title {
  color: var(--color-text);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  margin: 0 0 8px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.section-services-3d .services-3d-desc {
  color: var(--color-text-soft);
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  line-height: 1.5;
  margin: 0 0 16px;
  max-width: 420px;
}

.section-services-3d .services-3d-bullets {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  max-width: 420px;
}

.section-services-3d .services-3d-bullets li {
  color: var(--color-text-soft);
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  line-height: 1.6;
  padding-right: 1.2em;
  position: relative;
}

.section-services-3d .services-3d-bullets li::before {
  content: "\2022";
  position: absolute;
  right: 0;
  color: var(--color-accent, #ca8d42);
}

.section-services-3d .services-3d-cta {
  pointer-events: auto;
}

/* Dots (progress) */

.section-services-3d .services-3d-dots {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 20px;
  pointer-events: auto;
}

.section-services-3d .services-3d-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.section-services-3d .services-3d-dot:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.2);
}

.section-services-3d .services-3d-dot.is-active {
  background: var(--color-accent, #ca8d42);
  border-color: var(--color-accent, #ca8d42);
}

@media (prefers-reduced-motion: reduce) {
  .section-services-3d .services-3d-station {
    transition-duration: 0.2s;
  }
}

/* Fallback mode: UI when canvas hidden */

.section-services-3d .services-3d-ui.is-fallback {
  position: relative;
  background: transparent;
  padding: 24px;
}

/* Mobile: larger touch targets, optional horizontal scroll hint */

[dir="rtl"] .section-services-3d .services-3d-dots {
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .section-services-3d .services-3d-ui-inner {
    max-width: 100%;
  }
  .section-services-3d .services-3d-ui {
    right: 0;
  }
  .section-services-3d .services-3d-fallback-inner{
    bottom: 36%;
  }
  .section-services-3d .services-3d-ui{
    padding: clamp(20px, 4vw, 40px) 24px clamp(48px, 200vw, 530px);
  }
  .section-services-3d .services-3d-dot {
    width: 12px;
    height: 12px;
  }
}

/* דף הבית: סקשן #services (רשימה) – רווח ללוגו */
#services .container {
  padding-left: calc(4% + min(52vw, 420px) + 2rem);
}
@media (max-width: 900px) {
  #services .container {
    padding-left: 24px;
  }
}

/* —— רשימת שירותים (כללי + fallback) —— */

.services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.services-list li {
  position: relative;
  padding: 16px 20px 16px 48px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(18, 35, 77, 0.08);
  border: 1px solid rgba(16, 34, 77, 0.06);
  font-size: 1rem;
  color: var(--color-text);
}

.services-list li::before {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent, #c88c41);
}

[dir="rtl"] .services-list li::before {
  right: auto;
  left: 20px;
}

.services-list li:hover {
  border-color: rgba(16, 34, 77, 0.12);
  box-shadow: 0 12px 36px rgba(18, 35, 77, 0.1);
}

/* What clients get (benefits) */

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.benefit-item {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(18, 35, 77, 0.08);
  border: 1px solid rgba(16, 34, 77, 0.06);
}

.benefit-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.benefit-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

/* Logos roller (marquee) – לופ אינסופי: שלושה עותקים, אנימציה 33.333% */

.logos-roller {
  overflow: hidden;
  width: 100%;
  min-height: 88px;
  position: relative;
  /* RTL: mask מימין לשמאל (to left = לכיוון סוף הטקסט ב-RTL) */
  mask-image: linear-gradient(
    to left,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to left,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.logos-roller-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  padding: 28px 0;
  animation: logos-roll 35s linear infinite;
  animation-play-state: running;
  will-change: transform;
  opacity: 1;
  visibility: visible;
}

.logos-roller:hover .logos-roller-track {
  animation-play-state: paused;
}

/* RTL: האנימציה הולכת בכיוון הפוך (ימין לשמאל) */
[dir="rtl"] .logos-roller-track {
  animation: logos-roll-rtl 35s linear infinite;
}

@keyframes logos-roll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

@keyframes logos-roll-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(33.333%);
  }
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 48px;
}

.logo-item img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.6) saturate(0.9);
  opacity: 0.85;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.logo-item:hover img {
  filter: grayscale(0) saturate(1.25);
  opacity: 1;
}

.logo-item.logo-placeholder {
  min-width: 100px;
  height: 48px;
  background: var(--color-bg-alt);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--color-text-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .logos-roller-track {
    gap: 32px;
    padding: 22px 0;
    animation-duration: 35s;
  }

  .logo-item {
    height: 40px;
  }

  .logo-item img {
    max-height: 40px;
  }

  .logo-item.logo-placeholder {
    min-width: 80px;
    height: 40px;
    font-size: 0.75rem;
  }
}

@media (max-width: 520px) {
  .logos-roller-track {
    gap: 24px;
    padding: 18px 0;
    animation-duration: 30s;
  }

  .logo-item {
    height: 36px;
  }

  .logo-item img {
    max-height: 36px;
  }

  .logo-item.logo-placeholder {
    min-width: 70px;
    height: 36px;
  }
}

/* Testimonials Gallery - גלריה עם גרירה, בדיוק כמו סקשן המאמרים */

#testimonials {
  overflow: visible;
}

#testimonials .container {
  max-width: 100%;
  overflow: visible;
}

#testimonials .testimonials-gallery {
  position: relative;
  padding-bottom: 2rem;
  overflow: visible;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

#testimonials .testimonials-gallery__wrap {
  position: relative;
}

#testimonials .testimonials-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  pointer-events: auto;
}

@media (min-width: 768px) {
  #testimonials .testimonials-gallery__arrow {
    display: flex;
  }
}

#testimonials .testimonials-gallery__arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
}

#testimonials .testimonials-gallery__arrow:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* חצים מחוץ לאזור הכרטיסים – ריווח מהקצוות */
#testimonials .testimonials-gallery__arrow--right {
  right: -90px;
  left: auto;
}

#testimonials .testimonials-gallery__arrow--left {
  left: -90px;
  right: auto;
}

#testimonials .testimonials-gallery__track {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  padding-left: 52px;
  padding-right: 52px;
  padding-bottom: 0.5rem;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

#testimonials .testimonials-gallery__track:active,
#testimonials .testimonials-gallery__track.is-dragging {
  cursor: grabbing;
}

@media (min-width: 768px) {
  #testimonials .testimonials-gallery__track {
    gap: 1rem;
  }
}

#testimonials .testimonials-gallery__track::-webkit-scrollbar {
  display: none;
}

/* דריסת ברירת המחדל של blockquote (מרחקים וכו') – כרטיסי ההמלצות */
#testimonials blockquote.testimonial-card,
#testimonials .testimonial-card {
  margin-block-start: 0!important;
  margin-block-end: 0!important;
  margin-inline-start: 0!important;
  margin-inline-end: 0!important;
  flex-shrink: 0;
  width: min(400px, 72vw);
  min-width: 240px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 10px 40px rgba(18, 35, 77, 0.1);
  border: 1px solid rgba(16, 34, 77, 0.08);
  box-sizing: border-box;
  overflow: hidden;
  min-height: 220px;
  /* יוצר context לשכבות כדי שהכפתור לא יוכל לכסות את שם הכותב */
  position: relative;
  isolation: isolate;
}

/* גובה מקסימלי רק כשהציטוט מקוצץ – ב"קרא עוד" פתוח הכרטיס חייב להתארך עם כל הטקסט (אחרת הטקסט גולש מתחת לפוטר) */
#testimonials blockquote.testimonial-card:not(.is-expanded),
#testimonials .testimonial-card:not(.is-expanded) {
  max-height: 400px;
}

@media (min-width: 768px) {
 
}

@media (max-width: 767px) {
  #testimonials .testimonial-card:not(.is-expanded) {
    max-height: 350px;
  }

  .testimonials-gallery__hint {
    margin-top: 12px;
    font-size: 0.9rem;
    text-align: center;
    opacity: 0.9;
  }
}

@media (min-width: 768px) {
  .testimonials-gallery__hint {
    display: none;
  }
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  font-size: 1.25rem;
  line-height: 1;
}

.testimonial-card__star {
  color: #e5e7eb;
}

.testimonial-card__star.filled {
  color: #c9a227;
}

.testimonial-card__quote-wrap {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-bottom: 0;
  position: relative;
  z-index: 0;
}

.testimonial-card__quote,
.testimonial-card p {
  padding: 3px;
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.65;
  font-style: italic;
  color: var(--color-text);
  flex: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

/* כרטיס פתוח – הצגת כל הטקסט */
.testimonial-card.is-expanded .testimonial-card__quote,
.testimonial-card.is-expanded .testimonial-card p {
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
  /* בלי flex-grow – הטקסט לא "נמתח" באמצע והפוטר נשאר ממש מתחת לציטוט */
  flex: 0 0 auto;
}

.testimonial-card.is-expanded .testimonial-card__quote-wrap {
  /* רק גובה התוכן; לא תופס את כל גובה הכרטיס – מונע מצב ששם הממליץ נראה באמצע */
  flex: 0 1 auto;
  min-height: 0;
  overflow: visible;
}

/* ספציפיות מול #testimonials .testimonial-card – כרטיס פתוח: ללא תקרה, כל הציטוט מעל הפוטר */
#testimonials .testimonial-card.is-expanded {
  max-height: none;
  overflow: visible;
  min-height: 0;
}

.testimonial-card__read-more {
  display: none;
  margin: 0;
  padding: 4px 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary, #0d2e50);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  align-self: flex-start;
  position: relative;
  z-index: 1;
}

.testimonial-card--has-more .testimonial-card__read-more {
  display: inline-block;
}

.testimonial-card__read-more:hover {
  color: var(--color-accent, #ca8d42);
}

@media (min-width: 768px) and (max-width: 991px) {
  .testimonial-card__quote,
  .testimonial-card p {
    -webkit-line-clamp: 5;
  }
}

@media (max-width: 767px) {
  .testimonial-card__quote,
  .testimonial-card p {
    -webkit-line-clamp: 4;
    font-size: 0.95rem;
  }
}

.testimonial-card__footer,
.testimonial-card footer {
  margin: 0;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(16, 34, 77, 0.08);
  font-size: 0.9rem;
  color: var(--color-text-soft);
  position: relative;
  z-index: 1;
  background: #fff;
  flex-shrink: 0;
}

/* כשהציטוט פתוח – הפוטר מיד אחרי גוף הציטוט (בלי margin:auto שדוחף את הפוטר למעלה מול תוכן שגולש) */
#testimonials .testimonial-card.is-expanded .testimonial-card__footer,
#testimonials .testimonial-card.is-expanded footer,
.testimonial-card.is-expanded .testimonial-card__footer,
.testimonial-card.is-expanded footer {
  margin-top: 12px;
}

.testimonial-card__name,
.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  display: block;
  color: var(--color-text);
}

.testimonial-card__role {
  display: block;
  margin-top: 2px;
  font-weight: 400;
  color: var(--color-text-soft);
}

/* Cards */

.cards-grid {
  display: grid;
  gap: 20px;
}

.cards-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cards-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px 20px 18px;
  box-shadow: 0 15px 38px rgba(18, 35, 77, 0.08);
  border: 1px solid rgba(16, 34, 77, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast), background-color var(--transition-fast);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(5, 18, 35, 0.16);
  border-color: var(--color-primary-soft);
}

.card-index {
  font-size: 0.82rem;
  color: var(--color-text-soft);
}

.card h3 {
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.card-link {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 600;
}

.card-link::after {
  content: " →";
}

.section-alt .card {
  background: #fff;
}

.card-horizontal {
  position: relative;
  padding-top: 32px;
}

.card-tag {
  position: absolute;
  top: 16px;
  inset-inline-start: 18px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-accent);
  font-weight: 600;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--color-text-soft);
}

/* Horizontal article gallery scroll */

.article-gallery-scroll {
  padding-bottom: 2rem;
  overflow: visible;
}

.article-gallery-scroll .container {
  overflow: visible;
}

/* דף הבית בלבד: סקשן מאמרים עד 1230px בווב */
@media (min-width: 769px) {
  #article-gallery-scroll > .container {
    max-width: 1230px;
  }
}

/* כותרת "מאמרים" – אותו עיצוב כמו "מי אנחנו", במרכז */
.article-gallery-scroll__section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.article-gallery-scroll__section-header .section-title-wrap {
  position: relative;
  display: inline-block;
}

.article-gallery-scroll__section-header .article-gallery-scroll__heading {
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1a2332;
  margin: 0 0 0.75rem;
}

.article-gallery-scroll__section-header .section-title-line {
  display: block;
  width: 56px;
  height: 3px;
  margin: 0 auto;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #a0c8f3 20%, #a0c8f3 80%, transparent);
  opacity: 0.85;
}

.article-gallery-scroll__section-header .section-subtitle.article-gallery-subtitle {
  margin-top: 0.875rem;
  color: #1a2332;
}

.article-gallery-scroll__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin-bottom: 2.5rem;
}

.article-gallery-scroll__title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 1.875rem;
  font-weight: 400;
  color: var(--color-text);
  cursor: pointer;
  letter-spacing: -0.02em;
  transition: color var(--transition-fast);
}

@media (min-width: 768px) {
  .article-gallery-scroll__title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .article-gallery-scroll__title {
    font-size: 3rem;
  }
}

.article-gallery-scroll__title:hover {
  color: #3b82f6;
}

.article-gallery-scroll__title--active {
  color: #3b82f6;
  font-weight: 600;
}

.article-gallery-scroll__arrow {
  font-size: 1.5em;
  line-height: 1;
}

.article-gallery-scroll__title:not(.article-gallery-scroll__title--active) .article-gallery-scroll__arrow {
  display: none;
}

.article-gallery-scroll__track {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin-left: -24px;
  margin-right: -24px;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 0.5rem;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.article-gallery-scroll__track:active,
.article-gallery-scroll__track.is-dragging {
  cursor: grabbing;
}

@media (min-width: 768px) {
  .article-gallery-scroll__track {
    gap: 2rem;
  }
}

.scrollbar-hide {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.article-gallery-card {
  flex-shrink: 0;
  /* מובייל: כרטיס קטן יותר + חלק מהשני נראה כדי להראות שאפשר לגלול */
  width: min(400px, 72vw);
  min-width: 240px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 38px rgba(18, 35, 77, 0.08);
  border: 1px solid rgba(16, 34, 77, 0.06);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.article-gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(5, 18, 35, 0.16);
}

.article-gallery-card.is-dragging {
  cursor: grabbing;
}

@media (min-width: 768px) {
  .article-gallery-card {
    width: 360px;
    min-width: 360px;
  }
}

.article-gallery-card__image-wrap {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--color-bg-alt);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.article-gallery-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-gallery-card__image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 140px;
  background: var(--color-bg-alt);
  display: block;
}

.article-gallery-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  z-index: 2;
}

.article-gallery-card__cover-link {
  position: absolute;
  inset: 0;
  z-index: 10;
  /* חוסם את קליקי העכבר/טאץ' על כל הכרטיס ללינק יחיד */
  text-decoration: none;
}

.article-gallery-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.article-gallery-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3b82f6;
  flex-shrink: 0;
}

.article-gallery-card__category {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-soft);
}

.article-gallery-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.article-gallery-card__date {
  font-size: 0.875rem;
  color: var(--color-text-soft);
  margin: 0 0 1rem;
}

.article-gallery-card__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.article-gallery-card__line {
  flex: 1;
  min-width: 40px;
  height: 1px;
  background: #e5e7eb;
}

.article-gallery-card__link {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.article-gallery-card__link:hover {
  color: #3b82f6;
}

.article-gallery-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.article-gallery-card__title a:hover {
  color: #3b82f6;
}

.article-gallery-card__excerpt {
  font-size: 0.875rem;
  color: var(--color-text-soft);
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.articles-page__header {
  margin-bottom: 1.5rem;
}

.articles-page__header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1rem;
}

#articles-page .articles-page__header-row .articles-page__search {
  grid-column: 1;
  justify-self: start;
}

#articles-page .articles-page__header-row .section-title-wrap {
  grid-column: 2;
  justify-self: center;
  text-align: center;
}

.articles-page__search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.articles-page__search input[type="search"] {
  width: min(320px, 72vw);
  border-radius: 999px;
  border: 1px solid rgba(12, 22, 47, 0.16);
  padding: 9px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
}

/* Grid layout לעמוד המאמרים – עד 3 כרטיסים בשורה, ריווח גדול */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 360px));
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
}

@media (max-width: 1100px) {
  .articles-grid {
    grid-template-columns: repeat(2, minmax(260px, 360px));
    justify-content: center;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .articles-page__header-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .articles-page__search {
    grid-column: 1;
    width: 100%;
    justify-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .articles-page__search input[type="search"] {
    width: 100%;
    min-width: 0;
  }

  .articles-page__search .btn {
    width: 100%;
  }

  #articles-page .articles-page__header-row .section-title-wrap {
    grid-column: 1;
    order: -1;
  }

  .articles-grid {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
    justify-items: center;
    gap: 2rem;
  }

  #articles-page .articles-grid .article-gallery-card {
    justify-self: center;
  }
}

/* Pagination */
.articles-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  padding: 1rem 0;
}

.articles-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  background: #fff;
  border: 1px solid rgba(16, 34, 77, 0.1);
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.articles-pagination .page-numbers:hover,
.articles-pagination .page-numbers.current {
  color: #fff;
  background: #3b82f6;
  border-color: #3b82f6;
}

.articles-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  cursor: default;
}

.articles-pagination .page-numbers.dots:hover {
  color: var(--color-text);
  background: transparent;
}

/* דף לקוחות (template-clients.php) – לוגואים + fade-in מימין לשמאל */
.clients-page__section {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.clients-page__title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--color-text, #1a2332);
}

.clients-page__subtitle {
  margin-top: 0.75rem;
  color: rgba(26, 35, 50, 0.88);
}

.clients-page__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  direction: rtl;
}

.clients-page__logo-item {
  opacity: 0;
  animation: clients-page-logo-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--clients-i, 0) * 0.14s);
}

@keyframes clients-page-logo-in {
  from {
    opacity: 0;
    transform: translateX(32px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

.clients-page__logo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(16, 34, 77, 0.08);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.clients-page__logo-item:hover .clients-page__logo-inner {
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.clients-page__logo-img {
  max-width: min(200px, 32vw);
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.clients-page__empty {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--color-text-soft, #64748b);
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  .clients-page__logo-item {
    animation: none;
    opacity: 1;
    filter: none;
  }
}

/* Offices */

.offices-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 32px;
}

.offices-highlight {
  background: linear-gradient(145deg, #0d2e50, #174066);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: grid;
  gap: 12px;
}

.office-stat {
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 12px;
}

.offices-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.office-group h3 {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.office-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  color: var(--color-text-soft);
}

.office-group li + li {
  margin-top: 4px;
}

/* Careers */

.careers-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
}

.careers-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-soft);
}

.careers-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.careers-card ul {
  margin: 0;
  padding-inline-start: 18px;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

.careers-card li + li {
  margin-top: 4px;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.contact-layout .contact-header {
  grid-column: 1;
}

.contact-layout .contact-form {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 22px 22px 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-soft);
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 999px;
  border: 1px solid rgba(12, 22, 47, 0.16);
  padding: 9px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition-fast),
    box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-field textarea {
  border-radius: 16px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(13, 46, 80, 0.3);
  background: #fff;
}

/* Background logo – full-page SVG, above .section-alt, below content */
#smooth-content > main {
  position: relative;
}

/* לוגו ברקע: סטיקי עד "מה הלקוחות שלנו מקבלים", מעל רקע "מי אנחנו" */
.background-logo {
  position: fixed;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-inline-start: 4%;
  pointer-events: none;
  clip-path: inset(var(--logo-clip-top, 100vh) 0 0 0);
}

/* רק בסקשן "השירותים שלנו": מפסיק sticky, נשאר במקום במסמך, צבע מלא בלי שקיפות */
.background-logo.is-unpinned {
  position: absolute;
  top: var(--logo-freeze-top, 0);
  left: 0;
  right: 0;
  bottom: auto;
  height: 100vh;
  clip-path: none;
}

/* מעבר רך כשהלוגו ננעל במקום – opacity scale עדין במקום שינוי מיידי */
.background-logo.is-unpinned .background-logo-svg {
  opacity: 1;
  transform: scale(1);
  animation: logo-settle 0.5s ease-out forwards;
}

@keyframes logo-settle {
  from {
    opacity: 0.4;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

[dir="rtl"] .background-logo {
  justify-content: flex-end;
  padding-inline-start: 0;
  padding-inline-end: 4%;
}

/* .section-alt מעל הלוגו (z-index: 2) עם רקע חצי שקוף. תוכן (טקסט, כפתורים, טופס) מעל הלוגו. */
#contact {
  position: relative;
  z-index: 2;
}

.section > *,
.hero > *,
.strip > *,
.contact-form,
.cards-grid,
.cards-grid-4,
.cards-grid-3 {
  position: relative;
  z-index: 2;
}

/* Cards grid (גלריה מאמרים) – מעל הלוגו ברקע */
#articles-gallery {
  position: relative;
  z-index: 2;
}

#articles-gallery .cards-grid.cards-grid-3 {
  position: relative;
  z-index: 3;
}

/* טופס צור קשר – מעל הלוגו ברקע */
#contact .contact-form {
  position: relative;
  z-index: 3;
}

.background-logo-svg {
  width: 25%;
  max-width: 420px;
  height: auto;
  opacity: 0.4;
}

.background-logo path.animated {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.background-logo path.cls-1 {
  stroke: #c88c41;
}

.background-logo path.cls-2 {
  stroke: #0f2e50;
}

/* Footer */



.site-footer .footer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

/* Accessibility icon in footer (top-right) */
.site-footer {
  position: relative;
}

.site-footer .pojo-a11y-toolbar-toggle,
.site-footer #pojo-a11y-toolbar,
.site-footer .wp-accessibility-helper,
.site-footer .wp-accessibility-trigger,
.site-footer #wp-accessibility-icon,
.site-footer [class*="accessibility"][class*="icon"],
.site-footer [id*="accessibility"][id*="icon"] {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  z-index: 3 !important;
}

.footer-top {
  margin-top: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 2fr);
  gap: 32px;
  margin-bottom: 18px;
}

.footer-brand p {
  margin-top: 10px;
  color: rgba(245, 246, 250, 0.8);
}

.footer-brand img {
  display: block;
  width: min(240px, 100%);
  height: auto;
  margin-inline: auto;
}

.footer-brand {
  text-align: center;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.footer-col h4 {
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.footer-col li + li {
  margin-top: 3px;
}

.footer-col a {
  color: #090b38;
  font-size: 0.84rem;
}

.footer-col a:hover {
  color: #090b38;  
}

.footer-bottom {
  border-top: 1px solid rgba(245, 246, 250, 0.12);
  padding-top: 10px;
  text-align: center;
  color: rgba(245, 246, 250, 0.7);
}

/* Responsive */

@media (max-width: 960px) {

  .cards-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offices-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .offices-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .careers-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header {
    background: radial-gradient(900px 520px at 50% 18%, rgba(201, 162, 74, .11), transparent 60%), radial-gradient(1100px 650px at 50% 80%, rgba(56, 106, 170, .12), transparent 62%), linear-gradient(180deg, #ffffff 0%, #f2f5fb 52%, #e9edf7 100%);
    box-shadow: 0 10px 28px rgba(5, 15, 32, 0.5);
    color: #050f20;  }

  .main-nav {
    position: fixed;
    top: 73px;
    inset-inline-end: 0;
    width: min(320px, 85vw);
    max-width: 100%;
    background: #050c22;
    padding: 12px 24px 16px;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-fast),
      opacity var(--transition-fast);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .site-header.nav-open .main-nav {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .burger {
    display: inline-flex;
    margin-inline-end: 8px;
  }

  .header-inner {
    padding-inline-end: 20px;
  }

  .header-actions .btn {
    display: none;
  }

  .strip-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid-4,
  .cards-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-inner {
    padding-top: 110px;
  }

  .hero-text {
    padding: 1.5rem 1.25rem;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* מניעת תזוזה על ציר X במובייל */
  main {
    overflow-x: hidden;
  }

  .article-gallery-scroll {
    overflow-x: hidden;
  }

  .article-gallery-scroll__track {
    margin-left: 0;
    margin-right: 0;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 520px) {
  .container {
    padding-inline: 18px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

/* Single Post Styles */
.single-post-section {
  padding: 72px 0;
}

.single-post-container {
  padding:33px;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.single-post {
  width: 100%;
}

.single-post-header {
  margin-bottom: 2rem;
}

.single-post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-soft);
}

.single-post-category {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #3b82f6;
}

.single-post-date {
  color: var(--color-text-soft);
}

.single-post-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
  color: var(--color-text);
}

.single-post-content {
  width: 100%;
  overflow: visible;
}

.single-post-featured-image {
  margin-bottom: 2rem;
  width: 100%;
}

.single-post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.single-post-entry-content {
  width: 100%;
  max-width: 100%;
  overflow: visible;
  word-wrap: break-word;
  word-break: normal;
}

.single-post-entry-content p {
  margin: 0 0 1.5rem;
  line-height: 1.8;
  color: var(--color-text);
  width: 100%;
  max-width: 100%;
  overflow: visible;
  text-overflow: clip;
}

.single-post-entry-content h2,
.single-post-entry-content h3,
.single-post-entry-content h4 {
  margin: 2rem 0 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
}

.single-post-entry-content h2 {
  font-size: 2rem;
}

.single-post-entry-content h3 {
  font-size: 1.5rem;
}

.single-post-entry-content h4 {
  font-size: 1.25rem;
}

.single-post-entry-content ul,
.single-post-entry-content ol {
  margin: 1rem 0;
  padding-inline-start: 2rem;
}

.single-post-entry-content li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.single-post-entry-content a {
  color: #3b82f6;
  text-decoration: underline;
}

.single-post-entry-content a:hover {
  color: #2563eb;
}

.single-post-entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.single-post-nav {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(16, 34, 77, 0.12);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.single-post-nav__item {
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(16, 34, 77, 0.12);
  background: #fff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.single-post-nav__item:hover {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 8px 20px rgba(16, 34, 77, 0.08);
  transform: translateY(-1px);
}

.single-post-nav__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-soft);
  margin-bottom: 4px;
}

.single-post-nav__title {
  display: block;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--color-text);
}

.single-post-nav__item--empty {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 768px) {
  .single-post-title {
    font-size: 2rem;
  }

  .single-post-container {
    padding-inline: 24px;
  }

  .single-post-entry-content {
    padding: 0;
  }

  .single-post-nav {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 520px) {
  .single-post-title {
    font-size: 1.75rem;
  }

  .single-post-container {
    padding-inline: 18px;
  }
}

/* ========= About Us Page – Premium Section (מי אנחנו) ========= */
/* עיצוב פרימיום לדף אודותינו – גרדיאנט, כותרת זהב, בלוקים עריכתיים */
main .about-premium,
.about-premium {
  --about-navy: #0b1628;
  --about-navy-soft: #1a2744;
  --about-body: #4a5568;
  --about-gold: #b8860b;
  --about-gold-muted: rgba(184, 134, 11, 0.35);
  --about-bg-start: #fafbfc;
  --about-bg-end: #eef2f6;
  --about-glow: rgba(220, 228, 238, 0.4);

  position: relative;
  min-height: 100vh;
  width: 100%;
  padding: clamp(100px, 12vw, 160px) 24px clamp(80px, 10vw, 120px);
  font-family: var(--font-base);
  direction: rtl;
  text-align: right;
  box-sizing: border-box;
  opacity: 1;
  transform: none;
}

.about-premium__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    var(--about-bg-start) 0%,
    var(--about-bg-end) 100%
  );
  pointer-events: none;
}

.about-premium__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 40%,
    var(--about-glow) 0%,
    transparent 60%
  );
  pointer-events: none;
}

/* Very subtle grain texture */
.about-premium__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.about-premium__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

/* Headline */
.about-premium__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.about-premium__title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  color: var(--about-navy);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.about-premium__underline {
  display: block;
  width: 72px;
  height: 3px;
  margin: 1.25rem auto 0;
  background: var(--about-gold);
  border-radius: 2px;
}

/* Intro paragraphs */
.about-premium__intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.about-premium__intro p {
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--about-body);
  font-weight: 500;
  margin: 0 0 1.25rem;
}

.about-premium__intro p:last-child {
  margin-bottom: 0;
}

/* Services section heading */
.about-premium__services-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--about-navy);
  margin: 0 0 2rem;
  text-align: right;
}

/* Content blocks – editorial, no cards */
.about-premium__blocks {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-premium__block {
  position: relative;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(11, 22, 40, 0.08);
  text-align: right;
}

.about-premium__block:last-child {
  border-bottom: none;
}

.about-premium__dot {
  position: absolute;
  top: 2.5rem;
  right: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--about-gold-muted);
  flex-shrink: 0;
}

.about-premium__block-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--about-navy);
  margin: 0 0 0.75rem;
  padding-inline-start: 1.25rem;
  line-height: 1.35;
}

.about-premium__block-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--about-body);
  margin: 0;
  padding-inline-start: 1.25rem;
  font-weight: 500;
}

.about-premium__block-text p {
  margin: 0 0 0.75rem;
}

.about-premium__block-text p:last-child {
  margin-bottom: 0;
}

/* Owner & team (footer text) */
.about-premium__footer-text {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(11, 22, 40, 0.08);
}

.about-premium__footer-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--about-body);
  font-weight: 500;
  margin: 0 0 1rem;
}

.about-premium__footer-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .about-premium {
    padding: 80px 20px 60px;
  }

  .about-premium__intro {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }

  .about-premium__block {
    padding: 1.5rem 0;
  }

  .about-premium__block-title {
    font-size: 1.125rem;
  }

  .about-premium__block-text {
    font-size: 0.9375rem;
  }
}

/* Services page (list view) */
.services-page {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.services-page__section {
  padding: clamp(56px, 7vw, 92px) 0;
}

.services-page__container {
  max-width: 1120px;
}

.services-page__header {
  margin-bottom: clamp(22px, 3vw, 36px);
}

.services-page__title {
  margin: 0;
  color: #0f172a;
}

.services-page__subtitle-heading {
  margin: 14px 0 4px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #334155;
}

.services-page__subtitle,
.services-page__intro {
  margin: 0.4rem auto 0;
  max-width: 70ch;
  color: #475569;
  line-height: 1.75;
}

.services-list {
  display: grid;
  gap: 14px;
}

.services-list__item {
  display: block;
  align-items: start;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.services-list__content {
  min-width: 0;
}

.services-list__title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.35;
  color: #0f172a;
}

.services-list__bullets {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: #334155;
}

.services-list__bullets li {
  position: relative;
  line-height: 1.65;
}

.services-list__bullets li::before {
  content: none;
}

.services-list__cta-wrap {
  margin: 12px 0 0;
}

.services-list__cta {
  display: inline-block;
  text-decoration: none;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.875rem;
  font-weight: 600;
}

.services-list__cta:hover {
  background: #eff6ff;
}

@media (max-width: 768px) {
  .services-list__item {
    padding: 14px;
  }

  .services-list__title {
    font-size: 1.45rem;
  }
}


/* Chaty widget icon color override */
.chaty-widget .chaty-svg svg .chaty-st0 {
  fill: #090b38 !important;
}

.chaty-widget .chaty-svg svg ellipse {
  fill: #090b38 !important;
}

.chaty-widget .chaty-svg svg circle,
.chaty .chaty-svg svg circle,
.chaty-widget .chaty-svg svg [fill="#A886CD"],
.chaty .chaty-svg svg [fill="#A886CD"] {
  fill: #090b38 !important;
}
#chaty-widget-0 .channel-icon-Whatsapp .color-element {
  fill: #49E670!important;
  color: #49E670!important;
}
#chaty-widget-0 .Whatsapp-channel .color-element {
  fill: #49E670!important;
  color: #49E670!important;
}
#chaty-widget-0 .channel-icon-Phone .color-element {
  fill: #03E78B!important;
  color: #03E78B!important;
}

#chaty-widget-0 .Phone-channel .color-element {
  fill: #03E78B!important;
  color: #03E78B!important;
}
.chaty-widget .chaty-svg svg ellipse {
  fill: #090b38 !important;
}
.chaty-widget .chaty-svg svg .chaty-st4 {
  fill: #ffffff !important;
}

/* Chaty: enforce dark blue bubble on all trigger/channel variants */
.chaty-widget .chaty-channel button,
.chaty-widget .chaty-cta-button button,
.chaty-widget button.open-chaty,
.chaty-widget button.open-chaty-channel {
  background-color: #090b38 !important;
}

#chaty-widget-0 .chaty-i-trigger .chaty-cta-button button {
  background-color: #090b38!important;
}

#chaty-widget-0 .chaty-i-trigger .chaty-cta-button {
  background-color: #090b38!important;
}