/*
Theme Name: Extreme Simulations
Theme URI: https://extremesimulations.com
Description: Child theme for Extreme Simulations Ltd. — Israel's leading medical simulation company
Author: Extreme Simulations Ltd.
Author URI: https://extremesimulations.com
Template: twentytwentyfive
Version: 3.3.0
Text Domain: extreme-simulations
*/

/* ============================================================
   CSS VARIABLES — לבן + כתום + נייבי
   ============================================================ */
:root {
  /* Primary palette */
  --es-white:      #ffffff;
  --es-off-white:  #f8f9fa;
  --es-light:      #f2f4f7;
  --es-light-2:    #e8ecf0;

  /* Navy / dark text */
  --es-navy:       #1a2540;
  --es-navy-2:     #243050;
  --es-dark:       #2d3748;
  --es-gray:       #6b7280;
  --es-gray-light: #9ca3af;
  --es-gray-2:     #d1d5db;
  --es-border:     #e5e7eb;
  --es-border-2:   #d1d5db;

  /* Orange — brand color (X in logo) */
  --es-orange:     #f97316;
  --es-orange-2:   #ea6c0a;
  --es-orange-dim: rgba(249,115,22,0.1);
  --es-orange-glow:rgba(249,115,22,0.2);

  /* Accent green for badges */
  --es-green:      #16a34a;
  --es-green-dim:  rgba(22,163,74,0.1);

  /* Fonts */
  --es-font-body:  'Heebo', 'Arial', sans-serif;
  --es-font-head:  'Heebo', 'Arial Black', sans-serif;
  --es-font-mono:  'Heebo', 'Courier New', monospace;

  /* Radii & transitions */
  --es-radius:     6px;
  --es-radius-lg:  12px;
  --es-radius-xl:  18px;
  --es-transition: 0.22s ease;
  --es-shadow-sm:  0 1px 4px rgba(26,37,64,0.08);
  --es-shadow:     0 4px 16px rgba(26,37,64,0.12);
  --es-shadow-lg:  0 12px 40px rgba(26,37,64,0.16);

  --es-header-h:   82px;
  --es-max-w:      1300px;
  --es-section-pad: 96px 24px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; direction: rtl; overflow-x: hidden; max-width: 100%; }
body {
  background: var(--es-white);
  color: var(--es-dark);
  font-family: var(--es-font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

.wp-block-template-part, #wp-template-part-header,
#wp-template-part-footer { display: none !important; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--es-orange); text-decoration: none; transition: color var(--es-transition); }
a:hover { color: var(--es-orange-2); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--es-font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: var(--es-navy);
}

/* ============================================================
   UTILITY
   ============================================================ */
.container { max-width: var(--es-max-w); margin: 0 auto; padding: 0 28px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; font-family: var(--es-font-head);
  font-size: 0.92rem; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; border: none; border-radius: var(--es-radius);
  cursor: pointer; transition: all var(--es-transition); white-space: nowrap;
}
.btn-primary { background: var(--es-orange); color: var(--es-white); }
.btn-primary:hover {
  background: var(--es-orange-2); color: var(--es-white);
  transform: translateY(-2px); box-shadow: 0 6px 20px var(--es-orange-glow);
}
.btn-navy { background: var(--es-navy); color: var(--es-white); }
.btn-navy:hover { background: var(--es-navy-2); color: var(--es-white); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--es-navy); border: 2px solid var(--es-border-2); }
.btn-outline:hover { border-color: var(--es-orange); color: var(--es-orange); background: var(--es-orange-dim); }

/* Labels & badges */
.section-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--es-font-mono); font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--es-orange);
  border-right: 2px solid var(--es-orange); padding-right: 10px;
  margin-bottom: 16px; font-weight: 700;
}
.section-label::before { content: ''; display: inline-block; width: 5px; height: 5px; background: var(--es-orange); border-radius: 50%; }

.section-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem); margin-bottom: 16px;
  font-weight: 900; letter-spacing: -0.01em; color: var(--es-navy);
}
.section-subtitle {
  font-size: 1.05rem; color: var(--es-gray); max-width: 620px;
  font-weight: 400; text-transform: none; letter-spacing: 0; line-height: 1.8;
}

.badge-orange {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--es-orange-dim); border: 1px solid rgba(249,115,22,0.3);
  color: var(--es-orange); font-family: var(--es-font-mono);
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px; font-weight: 700;
}
.badge-navy {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(26,37,64,0.08); border: 1px solid rgba(26,37,64,0.2);
  color: var(--es-navy); font-family: var(--es-font-mono);
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px; font-weight: 700;
}
.badge-green {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--es-green-dim); border: 1px solid rgba(22,163,74,0.3);
  color: var(--es-green); font-family: var(--es-font-mono);
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px; font-weight: 700;
}
.badge-green::before { content: '✓'; font-weight: 800; }

/* Cards */
.card {
  background: var(--es-white); border: 1px solid var(--es-border);
  border-radius: var(--es-radius-xl); padding: 36px 32px;
  box-shadow: var(--es-shadow-sm);
  transition: box-shadow var(--es-transition), transform var(--es-transition), border-color var(--es-transition);
}
.card:hover {
  box-shadow: var(--es-shadow);
  transform: translateY(-3px);
  border-color: var(--es-orange);
}
.card-orange-top { border-top: 4px solid var(--es-orange); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   HEADER — Design D: Minimal Authority
   4px כתום עליון · לבן נקי · underline active · dual CTA
   ============================================================ */
#es-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--es-white);
  border-top: 4px solid var(--es-orange);
  border-bottom: 1px solid var(--es-border);
  transition: box-shadow var(--es-transition);
}
#es-header.scrolled { box-shadow: 0 2px 20px rgba(26,37,64,0.09); }
#es-header .header-inner {
  max-width: var(--es-max-w); margin: 0 auto; padding: 0 28px;
  width: 100%; height: var(--es-header-h);
  display: flex; align-items: center; justify-content: space-between;
}

/* Logo — custom-logo image OR X mark + text fallback */
.es-logo {
  display: flex; flex-direction: row; align-items: center;
  gap: 10px; text-decoration: none; flex-shrink: 0;
}
/* Native WP custom logo — size controlled via es-critical inline style in functions.php */
.es-logo-wrap { flex-shrink: 0; }
.es-logo-wrap .custom-logo-link { display: flex; align-items: center; }
.es-logo-wrap .custom-logo,
.es-logo-wrap img {
  height: 54px !important;
  width: auto !important;
  max-width: 220px !important;
  object-fit: contain !important;
  object-position: right center !important;
  display: block !important;
}
.logo-mark {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--es-orange); border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--es-font-head); font-size: 1.5rem; font-weight: 900;
  color: var(--es-white); line-height: 1; user-select: none;
  transition: background var(--es-transition);
}
.es-logo:hover .logo-mark { background: var(--es-orange-2); }
.es-logo .logo-text { display: flex; flex-direction: column; gap: 2px; }
.es-logo .logo-main {
  font-family: var(--es-font-head); font-size: 1.05rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.03em; color: var(--es-navy);
  line-height: 1;
}
.es-logo .logo-sub {
  font-family: var(--es-font-mono); font-size: 0.52rem;
  letter-spacing: 0.18em; color: var(--es-gray-light); text-transform: uppercase;
}

/* Nav */
.es-nav ul { display: flex; list-style: none; gap: 0; }
.es-nav a {
  font-family: var(--es-font-head); font-size: 0.84rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--es-gray-light); padding: 10px 15px;
  border-radius: var(--es-radius);
  transition: color var(--es-transition);
  position: relative; display: block;
}
.es-nav a:hover { color: var(--es-navy); background: transparent; }
.es-nav a.active {
  color: var(--es-navy); font-weight: 900; background: transparent;
}
.es-nav a.active::after {
  content: '';
  position: absolute; bottom: -4px; right: 15px; left: 15px;
  height: 2.5px; background: var(--es-orange); border-radius: 1px;
}

/* Dual CTA */
.header-cta { display: flex; align-items: center; gap: 10px; }
.btn-nav-outline {
  font-family: var(--es-font-head); font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 10px 20px; border-radius: var(--es-radius);
  border: 1.5px solid var(--es-navy); color: var(--es-navy);
  background: transparent; cursor: pointer; white-space: nowrap;
  transition: all var(--es-transition); text-decoration: none; display: inline-flex; align-items: center;
}
.btn-nav-outline:hover { background: var(--es-navy); color: var(--es-white); }
.btn-nav-demo {
  font-family: var(--es-font-head); font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 10px 22px; border-radius: var(--es-radius);
  background: var(--es-navy); color: var(--es-white);
  border: none; cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
  transition: all var(--es-transition); text-decoration: none;
}
.btn-nav-demo .demo-arrow {
  color: var(--es-orange); font-size: 0.7rem;
}
.btn-nav-demo:hover {
  background: var(--es-navy-2); color: var(--es-white);
  transform: translateY(-1px); box-shadow: 0 4px 14px rgba(26,37,64,0.2);
}

.hamburger { display: none; flex-direction: column; justify-content: space-between; width: 26px; height: 18px; background: none; border: none; cursor: pointer; padding: 0; }
.hamburger span { display: block; height: 2px; background: var(--es-navy); border-radius: 2px; transition: all var(--es-transition); }
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO — לבן נקי עם צבעוניות כתומה
   ============================================================ */
.es-hero {
  position: relative; min-height: 92vh; display: flex;
  align-items: center; padding-top: var(--es-header-h);
  background: var(--es-white); overflow: hidden;
}

/* Subtle geometric background */
.es-hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 85% 20%, rgba(249,115,22,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(26,37,64,0.04) 0%, transparent 55%);
  z-index: 0;
}

/* Orange accent line */
.es-hero::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--es-orange), transparent);
  z-index: 0;
}

.es-hero .container { position: relative; z-index: 1; }

.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }

.hero-headline {
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  font-weight: 900; color: var(--es-navy);
  line-height: 0.95; letter-spacing: -0.03em; margin-bottom: 24px;
}
.hero-headline em { font-style: normal; color: var(--es-orange); }

.hero-tagline {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem); color: var(--es-gray);
  letter-spacing: 0.04em; margin-bottom: 40px; line-height: 1.7; max-width: 560px;
}
.hero-tagline strong { color: var(--es-navy); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 72px; }

/* Stats bar — בהיר */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--es-border);
  border: 1px solid var(--es-border); border-radius: var(--es-radius-lg);
  overflow: hidden; box-shadow: var(--es-shadow-sm);
}
.stat-item {
  background: var(--es-white); padding: 22px 20px; text-align: center;
  transition: background var(--es-transition);
}
.stat-item:hover { background: var(--es-off-white); }
.stat-value {
  font-family: var(--es-font-head); font-size: 2rem; font-weight: 900;
  color: var(--es-orange); display: block; line-height: 1;
}
.stat-label {
  font-family: var(--es-font-mono); font-size: 0.62rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--es-gray); display: block; margin-top: 6px;
}

/* ============================================================
   TRUST BAR (לוגואים של לקוחות)
   ============================================================ */
.es-trust-bar {
  padding: 28px 0; background: var(--es-navy);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.trust-bar-label {
  font-family: var(--es-font-mono); font-size: 0.65rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); text-align: center; margin-bottom: 18px;
}
.trust-logos { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-logo-item {
  font-family: var(--es-font-head); font-size: 0.9rem; font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); transition: color var(--es-transition);
}
.trust-logo-item:hover { color: rgba(255,255,255,0.8); }

/* ============================================================
   CERTIFICATIONS BAR
   ============================================================ */
.es-certs-bar {
  padding: 16px 0; background: var(--es-light);
  border-bottom: 1px solid var(--es-border);
}
.es-certs-bar .container {
  display: flex; align-items: center; gap: 32px;
  justify-content: center; flex-wrap: wrap;
}
.cert-item {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--es-font-mono); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--es-gray);
  white-space: nowrap;
}
.cert-sep { width: 1px; height: 20px; background: var(--es-border-2); }

/* ============================================================
   NUMBERS SHOWCASE
   ============================================================ */
.es-numbers { padding: var(--es-section-pad); background: var(--es-navy); }
.numbers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--es-radius-xl); overflow: hidden; margin-top: 64px;
}
.number-card {
  background: rgba(255,255,255,0.04); padding: 44px 28px; text-align: center;
  transition: background var(--es-transition);
}
.number-card:hover { background: rgba(249,115,22,0.08); }
.number-big {
  font-family: var(--es-font-head); font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900; color: var(--es-orange); display: block; line-height: 1; margin-bottom: 8px;
}
.number-label {
  font-family: var(--es-font-mono); font-size: 0.66rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5);
  display: block; line-height: 1.6;
}
.number-source { font-size: 0.62rem; color: rgba(255,255,255,0.25); margin-top: 8px; display: block; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.es-products { padding: var(--es-section-pad); background: var(--es-off-white); }
.products-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 64px;
}
.product-card {
  background: var(--es-white); border: 1px solid var(--es-border);
  border-radius: var(--es-radius-xl); padding: 40px 36px;
  box-shadow: var(--es-shadow-sm);
  transition: all var(--es-transition); position: relative;
  border-top: 4px solid transparent;
}
.product-card:hover { box-shadow: var(--es-shadow); transform: translateY(-4px); border-top-color: var(--es-orange); }
.card-tag {
  font-family: var(--es-font-mono); font-size: 0.62rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--es-orange); background: var(--es-orange-dim);
  display: inline-block; padding: 4px 10px; border-radius: 100px; margin-bottom: 20px; font-weight: 700;
}
.card-title { font-size: 1.7rem; font-weight: 900; margin-bottom: 14px; color: var(--es-navy); }
.card-desc { color: var(--es-gray); font-size: 0.93rem; line-height: 1.75; margin-bottom: 28px; }
.card-specs { list-style: none; margin-bottom: 32px; }
.card-specs li {
  display: flex; align-items: flex-start; gap: 10px;
  flex-direction: row-reverse; justify-content: flex-end;
  font-size: 0.86rem; color: var(--es-gray);
  padding: 7px 0; border-bottom: 1px solid var(--es-border);
}
.card-specs li::before { content: '◂'; color: var(--es-orange); flex-shrink: 0; margin-top: 2px; }
.card-link {
  font-family: var(--es-font-head); font-size: 0.85rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--es-orange);
  display: inline-flex; align-items: center; flex-direction: row-reverse;
  gap: 8px; transition: gap var(--es-transition);
}
.card-link:hover { gap: 14px; }
.card-link::before { content: '←'; }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.es-features { padding: var(--es-section-pad); background: var(--es-white); }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 64px;
}
.feature-item {
  padding: 36px 30px; border: 1px solid var(--es-border);
  border-radius: var(--es-radius-xl); background: var(--es-white);
  transition: all var(--es-transition); box-shadow: var(--es-shadow-sm);
}
.feature-item:hover {
  border-color: var(--es-orange); transform: translateY(-4px);
  box-shadow: var(--es-shadow);
}
.feature-icon { font-size: 2rem; margin-bottom: 20px; display: block; }
.feature-title { font-size: 1.05rem; margin-bottom: 10px; color: var(--es-navy); }
.feature-desc { font-size: 0.88rem; color: var(--es-gray); line-height: 1.75; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.es-testimonials { padding: var(--es-section-pad); background: var(--es-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; margin-top: 56px; }
.testimonial-card {
  background: var(--es-white); border: 1px solid var(--es-border);
  border-radius: var(--es-radius-xl); padding: 40px 36px;
  box-shadow: var(--es-shadow-sm); position: relative;
  transition: all var(--es-transition);
}
.testimonial-card::before {
  content: '"'; position: absolute; top: 16px; left: 24px;
  font-family: Georgia, serif; font-size: 5rem; line-height: 1;
  color: var(--es-orange); opacity: 0.15;
}
.testimonial-card:hover { box-shadow: var(--es-shadow); border-color: var(--es-orange); }
.testimonial-text { font-size: 0.95rem; color: var(--es-dark); line-height: 1.8; margin-bottom: 28px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--es-orange-dim); border: 2px solid rgba(249,115,22,0.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--es-font-head); font-size: 0.9rem; font-weight: 900;
  color: var(--es-orange); flex-shrink: 0;
}
.author-name { font-family: var(--es-font-head); font-size: 0.92rem; font-weight: 800; color: var(--es-navy); }
.author-role { font-family: var(--es-font-mono); font-size: 0.63rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--es-gray-light); margin-top: 3px; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.es-comparison { padding: var(--es-section-pad); background: var(--es-white); }
.comparison-table { width: 100%; border-collapse: collapse; margin-top: 56px; border-radius: var(--es-radius-lg); overflow: hidden; box-shadow: var(--es-shadow); }
.comparison-table th {
  padding: 18px 24px; background: var(--es-navy);
  font-family: var(--es-font-head); font-size: 0.8rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.7);
}
.comparison-table th.highlight { background: var(--es-orange); color: var(--es-white); }
.comparison-table td { padding: 16px 24px; border-bottom: 1px solid var(--es-border); font-size: 0.88rem; color: var(--es-dark); }
.comparison-table tr:hover td { background: var(--es-off-white); }
.comparison-table td.highlight { background: rgba(249,115,22,0.04); }
.comparison-table .check { color: var(--es-green); font-size: 1rem; font-weight: 700; }
.comparison-table .cross { color: var(--es-gray-light); }
.comparison-table .partial { color: #d97706; font-size: 0.78rem; }
.row-label { font-family: var(--es-font-head); font-size: 0.86rem; font-weight: 700; color: var(--es-navy); }

/* ============================================================
   PROCESS
   ============================================================ */
.es-process { padding: var(--es-section-pad); background: var(--es-off-white); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 36px; right: 12.5%; left: 12.5%;
  height: 2px; background: linear-gradient(90deg, var(--es-orange), var(--es-light-2));
  z-index: 0;
}
.process-step { padding: 0 20px; text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--es-white); border: 2px solid var(--es-orange);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; box-shadow: var(--es-shadow-sm);
  font-family: var(--es-font-head); font-size: 1.4rem; font-weight: 900; color: var(--es-orange);
  transition: all var(--es-transition);
}
.process-step:hover .step-number { background: var(--es-orange); color: var(--es-white); box-shadow: 0 0 20px var(--es-orange-glow); }
.step-title { font-family: var(--es-font-head); font-size: 1rem; font-weight: 800; color: var(--es-navy); margin-bottom: 10px; }
.step-desc { font-size: 0.84rem; color: var(--es-gray); line-height: 1.7; }

/* ============================================================
   FAQ
   ============================================================ */
.es-faq { padding: var(--es-section-pad); background: var(--es-white); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.faq-item {
  background: var(--es-off-white); border: 1px solid var(--es-border);
  border-radius: var(--es-radius-lg); padding: 28px 32px;
  cursor: pointer; transition: all var(--es-transition);
}
.faq-item:hover { border-color: var(--es-orange); background: var(--es-white); }
.faq-question {
  font-family: var(--es-font-head); font-size: 0.93rem; font-weight: 800;
  color: var(--es-navy); margin-bottom: 12px; display: flex;
  justify-content: space-between; align-items: flex-start; gap: 12px;
}
.faq-question::after { content: '+'; color: var(--es-orange); font-size: 1.2rem; flex-shrink: 0; }
.faq-answer { font-size: 0.88rem; color: var(--es-gray); line-height: 1.8; }

/* ============================================================
   QUOTE / PHILOSOPHY — כתום
   ============================================================ */
.es-quote {
  padding: var(--es-section-pad); background: var(--es-navy);
  text-align: center; position: relative; overflow: hidden;
}
.es-quote::before {
  content: '"'; position: absolute; top: -0.2em; left: 50%;
  transform: translateX(-50%); font-size: 22rem; font-family: Georgia, serif;
  color: rgba(249,115,22,0.06); line-height: 1; pointer-events: none;
}
.quote-text {
  font-family: var(--es-font-head); font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900; text-transform: uppercase; color: var(--es-white);
  position: relative; z-index: 1; max-width: 900px; margin: 0 auto 24px; line-height: 1.15;
}
.quote-attribution {
  font-family: var(--es-font-mono); font-size: 0.72rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); position: relative; z-index: 1;
}

/* ============================================================
   CTA BANNER — כתום
   ============================================================ */
.es-cta-banner {
  padding: var(--es-section-pad); background: var(--es-orange);
  text-align: center; position: relative; overflow: hidden;
}
.es-cta-banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(255,255,255,0.1), transparent 60%);
}
.es-cta-banner .container { position: relative; z-index: 1; }
.es-cta-banner .section-label { color: rgba(255,255,255,0.7); border-right-color: rgba(255,255,255,0.5); }
.es-cta-banner .section-label::before { background: rgba(255,255,255,0.5); }
.es-cta-banner .section-title { color: var(--es-white); }
.cta-desc { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 560px; margin: 0 auto 44px; line-height: 1.75; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.es-cta-banner .btn-primary { background: var(--es-white); color: var(--es-orange); }
.es-cta-banner .btn-primary:hover { background: var(--es-navy); color: var(--es-white); }
.es-cta-banner .btn-outline { border-color: rgba(255,255,255,0.5); color: var(--es-white); }
.es-cta-banner .btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--es-white); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.es-about-hero {
  padding-top: calc(var(--es-header-h) + 80px); padding-bottom: 80px;
  background: var(--es-light); position: relative; overflow: hidden;
}
.es-about-hero::before {
  content: ''; position: absolute; top: 0; right: 0; width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(249,115,22,0.04));
}
.about-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; padding: var(--es-section-pad); background: var(--es-white);
}
.about-stats-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
  background: var(--es-white); border: 1px solid var(--es-border);
  border-radius: var(--es-radius-xl); padding: 30px 24px; text-align: center;
  box-shadow: var(--es-shadow-sm); transition: all var(--es-transition);
}
.stat-card:hover { border-color: var(--es-orange); transform: translateY(-2px); box-shadow: var(--es-shadow); }
.stat-card .big-number { font-family: var(--es-font-head); font-size: 2.5rem; font-weight: 900; color: var(--es-orange); display: block; }
.stat-card .big-label { font-family: var(--es-font-mono); font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--es-gray); display: block; margin-top: 8px; }
.values-grid { padding: var(--es-section-pad); background: var(--es-off-white); }
.values-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 48px; }
.value-card {
  border-top: 4px solid var(--es-orange); background: var(--es-white);
  padding: 32px 28px; border-radius: 0 0 var(--es-radius-xl) var(--es-radius-xl);
  box-shadow: var(--es-shadow-sm); transition: all var(--es-transition);
}
.value-card:hover { box-shadow: var(--es-shadow); transform: translateY(-3px); }
.value-num { font-family: var(--es-font-head); font-size: 3rem; color: rgba(249,115,22,0.15); line-height: 1; margin-bottom: 12px; }
.value-title { font-size: 1.05rem; margin-bottom: 10px; color: var(--es-navy); }
.value-desc { font-size: 0.88rem; color: var(--es-gray); line-height: 1.75; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.es-contact-page {
  padding-top: calc(var(--es-header-h) + 80px); padding-bottom: 80px;
  background: var(--es-off-white); min-height: 100vh;
}
.contact-layout {
  display: grid; grid-template-columns: 1fr 1.7fr; gap: 56px;
  align-items: start; margin-top: 56px;
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--es-border);
}
.info-icon {
  width: 40px; height: 40px; background: var(--es-orange-dim);
  border: 1px solid rgba(249,115,22,0.2); border-radius: var(--es-radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.info-label { font-family: var(--es-font-mono); font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--es-gray-light); display: block; margin-bottom: 4px; }
.info-value { font-size: 0.93rem; color: var(--es-dark); }
.info-value a { color: var(--es-dark); }
.info-value a:hover { color: var(--es-orange); }

.es-contact-form {
  background: var(--es-white); border: 1px solid var(--es-border);
  border-radius: var(--es-radius-xl); padding: 44px 40px;
  box-shadow: var(--es-shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-family: var(--es-font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--es-gray); font-weight: 700; }
.form-group input, .form-group select, .form-group textarea {
  background: var(--es-off-white); border: 1px solid var(--es-border);
  border-radius: var(--es-radius); color: var(--es-dark);
  font-family: var(--es-font-body); font-size: 0.93rem;
  padding: 12px 16px; outline: none;
  transition: border-color var(--es-transition), box-shadow var(--es-transition);
  width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--es-orange); box-shadow: 0 0 0 3px var(--es-orange-dim);
  background: var(--es-white);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center;
  padding-left: 38px; cursor: pointer; text-align: right;
}
.form-group textarea { resize: vertical; min-height: 128px; }
.form-status { padding: 12px 16px; border-radius: var(--es-radius); font-size: 0.88rem; display: none; }
.form-status.success { display: block; background: var(--es-green-dim); border: 1px solid rgba(22,163,74,0.3); color: var(--es-green); }
.form-status.error { display: block; background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.25); color: #dc2626; }

/* ============================================================
   FOOTER — נייבי כהה
   ============================================================ */
#es-footer { background: var(--es-navy); border-top: 3px solid var(--es-orange); }
.footer-top {
  padding: 72px 28px 48px; max-width: var(--es-max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand .es-logo { margin-bottom: 20px; }
.footer-brand .es-logo .logo-main { color: var(--es-white); }
.footer-brand .es-logo .logo-main span { color: var(--es-orange); }
.footer-brand .es-logo .logo-sub { color: rgba(255,255,255,0.35); }
.footer-brand p { font-size: 0.87rem; color: rgba(255,255,255,0.5); line-height: 1.75; margin-bottom: 24px; max-width: 280px; }
.footer-col h4 {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--es-white); margin-bottom: 20px; padding-bottom: 10px;
  border-bottom: 2px solid var(--es-orange); display: inline-block;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color var(--es-transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-col a:hover { color: var(--es-orange); }
.footer-col a::before { content: '—'; font-size: 0.7rem; opacity: 0.35; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.5; }
.footer-contact-item .fi { color: var(--es-orange); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 28px;
  max-width: var(--es-max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.76rem; color: rgba(255,255,255,0.3); font-family: var(--es-font-mono); letter-spacing: 0.06em; }
.footer-bottom a { color: rgba(255,255,255,0.3); }
.footer-bottom a:hover { color: var(--es-orange); }

/* ============================================================
   PAGE HERO
   ============================================================ */
.page-hero {
  padding-top: calc(var(--es-header-h) + 80px); padding-bottom: 64px;
  background: var(--es-light); border-bottom: 1px solid var(--es-border);
  position: relative;
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 40%; height: 4px; background: linear-gradient(90deg, transparent, var(--es-orange));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-title { font-size: clamp(2.5rem, 6vw, 5rem); }

/* ============================================================
   VALIDATED BADGE
   ============================================================ */
.validated-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--es-green-dim); border: 1px solid rgba(22,163,74,0.3);
  color: var(--es-green); font-family: var(--es-font-mono); font-size: 0.66rem;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; font-weight: 700;
}
.validated-badge::before { content: '✓'; font-weight: 800; }

/* ============================================================
   PRODUCT/SPEC TABLES
   ============================================================ */
.es-product-detail { padding: var(--es-section-pad); background: var(--es-white); }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; margin-top: 64px; }
.wound-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.wound-tag {
  font-family: var(--es-font-mono); font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--es-gray); background: var(--es-off-white);
  border: 1px solid var(--es-border); padding: 8px 14px; border-radius: var(--es-radius);
  text-align: center; transition: all var(--es-transition);
}
.wound-tag:hover { border-color: var(--es-orange); color: var(--es-navy); }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.spec-table tr { border-bottom: 1px solid var(--es-border); }
.spec-table td { padding: 12px 0; font-size: 0.88rem; color: var(--es-dark); }
.spec-table td:first-child { color: var(--es-gray); font-family: var(--es-font-mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; width: 42%; }
.products-catalog { padding: var(--es-section-pad); background: var(--es-off-white); }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 48px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .product-layout, .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-layout { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-steps::before { display: none; }
  .faq-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --es-section-pad: 64px 20px; --es-header-h: 64px; }

  /* ── NAV: hidden by default on mobile, shown only when .open ── */
  .es-nav {
    display: none;
    position: fixed; top: var(--es-header-h); left: 0; right: 0;
    background: rgba(255,255,255,0.98); border-bottom: 1px solid var(--es-border);
    padding: 24px; z-index: 999; box-shadow: var(--es-shadow);
  }
  .es-nav.open { display: block; }
  .es-nav ul { flex-direction: column; gap: 4px; flex-wrap: wrap; }
  .es-nav li { width: 100%; }
  .es-nav a { display: block; padding: 12px 16px; text-align: right; }

  /* ── HAMBURGER: visible on mobile ── */
  .hamburger { display: flex; }

  /* ── DESKTOP-ONLY elements hidden on mobile ── */
  .header-cta .btn-nav-outline { display: none; }
  .header-cta .btn-nav-demo { display: none; }

  /* ── LAYOUT FIXES ── */
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-stats-visual { grid-template-columns: 1fr 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .comparison-table th, .comparison-table td { font-size: 0.75rem; padding: 10px 8px; }

  /* ── OVERFLOW FIXES — mobile 768px ── */

  /* 1. Container — מגן בלי לשבור layout */
  .container { max-width: 100%; box-sizing: border-box; }

  /* 2. טבלת השוואה — גלילה אופקית בתוך הסקשן */
  .es-comparison .container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 16px;
    padding-left: 16px;
  }
  .comparison-table {
    min-width: 460px;
  }

  /* 3. Cert bar — אפשר עטיפה (white-space:nowrap גורם overflow) */
  .cert-item { white-space: normal; }
  .cert-sep  { display: none; }

  /* 4. img / video / iframe — מנע overflow של מדיה */
  img, video, iframe { max-width: 100%; height: auto; }

  /* ════════════════════════════════════════════
     FULL-SITE OVERFLOW FIX — כל הדפים 360px
     ════════════════════════════════════════════ */

  /* 5. קריטי: מאפשר ל-flex/grid items להתכווץ מתחת לרוחב התוכן */
  * { min-width: 0; }

  /* 6. גרידים inline (ללא class) בתוך .container — מחסנים לבלוק */
  .container > div:not([class]) {
    display: block !important;
    width: 100%;
  }

  /* 7. page-hero: קבועים בתוך הגריד (rescue 420px col) */
  .page-hero .container > div {
    display: block !important;
    width: 100%;
  }

  /* 8. page-hero: ריפוד + headline קטן יותר */
  .page-hero {
    padding-top: calc(var(--es-header-h) + 40px);
    padding-bottom: 40px;
  }
  .page-hero .section-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .page-hero .section-subtitle { font-size: 0.95rem; }

  /* 9. about-layout: מגן מ-overflow קצה */
  .about-layout { box-sizing: border-box; width: 100%; }

  /* 10. word-break — מונע overflow מ-urls/emails/מחרוזות ארוכות */
  p, h1, h2, h3, h4, a, span, td, th, li {
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

/* ── HAMBURGER: hidden on desktop ── */
@media (min-width: 769px) {
  .hamburger { display: none !important; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .wound-areas { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   BLOG / POSTS
   ============================================================ */

/* Single Post Hero */
.post-hero-image {
  position: relative; width: 100%; height: 65vh; min-height: 480px;
  overflow: hidden; margin-top: var(--es-header-h);
}
.post-hero-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.post-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(26,37,64,0.88) 0%, rgba(26,37,64,0.3) 60%, transparent 100%);
}
.post-hero-content {
  position: absolute; bottom: 0; right: 0; left: 0; padding: 48px 0;
}
.post-cat-badge {
  display: inline-block; background: var(--es-orange); color: var(--es-white);
  font-family: var(--es-font-mono); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 14px;
  border-radius: 100px; margin-bottom: 16px; text-decoration: none;
  transition: background var(--es-transition);
}
.post-cat-badge:hover { background: var(--es-orange-2); color: var(--es-white); }
.post-hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; color: var(--es-white);
  line-height: 1.15; margin-bottom: 20px; max-width: 800px;
}
.post-meta-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--es-font-mono); font-size: 0.75rem; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
}
.post-meta-bar.post-meta-light { color: var(--es-gray); }
.post-meta-sep { opacity: 0.4; }
.post-meta-item { display: flex; align-items: center; gap: 5px; }

/* No hero image */
.post-hero-no-image {
  padding-top: calc(var(--es-header-h) + 72px); padding-bottom: 56px;
  background: var(--es-light); border-bottom: 1px solid var(--es-border);
  position: relative;
}
.post-hero-no-image::after {
  content: ''; position: absolute; bottom: 0; right: 0;
  width: 35%; height: 4px;
  background: linear-gradient(90deg, transparent, var(--es-orange));
}
.post-no-img-title {
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; color: var(--es-navy);
  max-width: 800px; margin-top: 16px;
}

/* Post Layout */
.post-layout { padding: 64px 0 80px; background: var(--es-white); }
.post-grid {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 56px; align-items: start;
}

/* Post Content */
.post-content {
  font-size: 1.05rem; line-height: 1.85; color: var(--es-dark);
}
.post-content h2 {
  font-size: 1.6rem; font-weight: 900; color: var(--es-navy);
  margin: 48px 0 20px; padding-bottom: 12px;
  border-bottom: 3px solid var(--es-orange);
  text-transform: none; letter-spacing: 0;
}
.post-content h3 {
  font-size: 1.2rem; font-weight: 800; color: var(--es-navy);
  margin: 36px 0 14px; text-transform: none; letter-spacing: 0;
}
.post-content p { margin-bottom: 24px; }
.post-content img {
  border-radius: var(--es-radius-xl); box-shadow: var(--es-shadow);
  margin: 32px 0; width: 100%;
}
.post-content ul, .post-content ol {
  padding-right: 28px; margin-bottom: 24px;
}
.post-content li { margin-bottom: 10px; line-height: 1.75; }
.post-content blockquote {
  border-right: 4px solid var(--es-orange); padding: 20px 24px;
  margin: 32px 0; background: var(--es-orange-dim); border-radius: 0 var(--es-radius-lg) var(--es-radius-lg) 0;
}
.post-content blockquote p {
  font-size: 1.1rem; font-style: italic; color: var(--es-navy);
  margin: 0; font-weight: 600;
}
.post-content strong { color: var(--es-navy); font-weight: 800; }
.post-content a { color: var(--es-orange); text-decoration: underline; }
.post-content a:hover { color: var(--es-orange-2); }
.post-content .wp-block-image figcaption {
  font-size: 0.82rem; color: var(--es-gray); text-align: center; margin-top: 8px;
}

/* Tags */
.post-tags {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 28px 0; border-top: 1px solid var(--es-border); margin-top: 48px;
}
.tags-label { font-family: var(--es-font-mono); font-size: 0.72rem; color: var(--es-gray); letter-spacing: 0.1em; text-transform: uppercase; }
.post-tag {
  background: var(--es-off-white); border: 1px solid var(--es-border);
  color: var(--es-gray); font-size: 0.82rem; padding: 4px 12px;
  border-radius: 100px; transition: all var(--es-transition);
}
.post-tag:hover { background: var(--es-orange-dim); border-color: var(--es-orange); color: var(--es-orange); }

/* Share */
.post-share {
  display: flex; align-items: center; gap: 10px; padding: 24px 0;
  border-top: 1px solid var(--es-border);
}
.share-label { font-family: var(--es-font-mono); font-size: 0.72rem; color: var(--es-gray); letter-spacing: 0.1em; text-transform: uppercase; }
.share-btn {
  font-family: var(--es-font-head); font-size: 0.78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 8px 18px; border-radius: 100px; transition: all var(--es-transition);
  text-decoration: none;
}
.share-linkedin { background: #0a66c2; color: var(--es-white); }
.share-linkedin:hover { background: #004182; color: var(--es-white); }
.share-wa { background: #25d366; color: var(--es-white); }
.share-wa:hover { background: #128c7e; color: var(--es-white); }
.share-email { background: var(--es-light); color: var(--es-navy); border: 1px solid var(--es-border); }
.share-email:hover { background: var(--es-orange-dim); border-color: var(--es-orange); color: var(--es-orange); }

/* Post navigation */
.post-navigation {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding-top: 40px; border-top: 1px solid var(--es-border); margin-top: 16px;
}
.post-nav-item {
  background: var(--es-off-white); border: 1px solid var(--es-border);
  border-radius: var(--es-radius-xl); padding: 20px 22px;
  text-decoration: none; transition: all var(--es-transition); display: block;
}
.post-nav-item:hover { border-color: var(--es-orange); background: var(--es-white); }
.nav-direction {
  display: block; font-family: var(--es-font-mono); font-size: 0.68rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--es-orange);
  margin-bottom: 6px;
}
.nav-title { font-family: var(--es-font-head); font-size: 0.88rem; font-weight: 800; color: var(--es-navy); }

/* Sidebar */
.post-sidebar { position: sticky; top: calc(var(--es-header-h) + 80px); }
.sidebar-card {
  background: var(--es-white); border: 1px solid var(--es-border);
  border-radius: var(--es-radius-xl); padding: 28px 24px;
  margin-bottom: 20px; box-shadow: var(--es-shadow-sm);
}
.sidebar-logo { margin-bottom: 14px; }
.sidebar-about { font-size: 0.86rem; color: var(--es-gray); line-height: 1.7; margin-bottom: 20px; }
.sidebar-title {
  font-family: var(--es-font-head); font-size: 0.85rem; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--es-navy);
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--es-orange);
  display: inline-block;
}
.sidebar-posts { list-style: none; }
.sidebar-post-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--es-border);
}
.sidebar-post-item:last-child { border-bottom: none; }
.sidebar-post-thumb img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--es-radius); flex-shrink: 0; }
.sidebar-post-title { font-size: 0.85rem; color: var(--es-dark); font-weight: 600; line-height: 1.5; flex: 1; }
.sidebar-post-title:hover { color: var(--es-orange); }
.sidebar-links { list-style: none; }
.sidebar-links li { border-bottom: 1px solid var(--es-border); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a { display: flex; align-items: center; gap: 6px; padding: 10px 0; font-size: 0.88rem; color: var(--es-dark); transition: color var(--es-transition); }
.sidebar-links a::before { content: '←'; color: var(--es-orange); }
.sidebar-links a:hover { color: var(--es-orange); }

/* ============================================================
   ARCHIVE / BLOG
   ============================================================ */

/* Filter bar */
.blog-filter-bar {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; overflow-x: auto;
}
.filter-btn {
  font-family: var(--es-font-head); font-size: 0.78rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 7px 18px; border-radius: 100px; border: 1px solid var(--es-border);
  color: var(--es-gray); background: var(--es-white); cursor: pointer;
  transition: all var(--es-transition); text-decoration: none; white-space: nowrap;
}
.filter-btn:hover { color: var(--es-orange); border-color: var(--es-orange); background: var(--es-orange-dim); }
.filter-btn.active { background: var(--es-orange); color: var(--es-white); border-color: var(--es-orange); }
.filter-count {
  background: rgba(0,0,0,0.1); border-radius: 100px;
  padding: 1px 7px; font-size: 0.68rem; margin-right: 4px;
}
.filter-btn.active .filter-count { background: rgba(255,255,255,0.25); }

/* Featured post */
.post-featured-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--es-white); border: 1px solid var(--es-border);
  border-radius: var(--es-radius-xl); overflow: hidden;
  box-shadow: var(--es-shadow); text-decoration: none;
  transition: box-shadow var(--es-transition), transform var(--es-transition);
}
.post-featured-inner:hover { box-shadow: var(--es-shadow-lg); transform: translateY(-3px); }
.post-featured-image { overflow: hidden; min-height: 360px; }
.post-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.post-featured-inner:hover .post-featured-image img { transform: scale(1.03); }
.post-no-thumb {
  background: var(--es-navy); display: flex; align-items: center;
  justify-content: center; font-size: 4rem; min-height: 360px;
}
.post-featured-content { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.post-featured-title {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem); font-weight: 900; color: var(--es-navy);
  margin: 16px 0; line-height: 1.25; text-transform: none; letter-spacing: 0;
}
.post-featured-excerpt { font-size: 0.95rem; color: var(--es-gray); line-height: 1.75; margin-bottom: 24px; }
.post-featured-meta { font-family: var(--es-font-mono); font-size: 0.72rem; color: var(--es-gray-light); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.post-read-more { font-family: var(--es-font-head); font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--es-orange); }

/* Posts grid */
.posts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.post-card {
  background: var(--es-white); border: 1px solid var(--es-border);
  border-radius: var(--es-radius-xl); overflow: hidden;
  box-shadow: var(--es-shadow-sm); transition: all var(--es-transition);
  display: flex; flex-direction: column;
}
.post-card:hover { box-shadow: var(--es-shadow); transform: translateY(-4px); border-color: var(--es-orange); }

/* Fix: image container — explicit height so child height:100% resolves correctly */
.post-card > a {
  display: block;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.post-card > a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-card-image-link { display: block; position: relative; overflow: hidden; aspect-ratio: 16/9; }
.post-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-card-img { transform: scale(1.05); }
.post-card-no-image {
  width: 100%; background: var(--es-navy); display: flex;
  align-items: center; justify-content: center; aspect-ratio: 16/9;
}
.post-card-cat {
  position: absolute; top: 12px; right: 12px;
  background: var(--es-orange); color: var(--es-white);
  font-family: var(--es-font-mono); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
}
.post-card-body { padding: 24px 22px; flex: 1; display: flex; flex-direction: column; }
.post-card-title { font-size: 1rem; font-weight: 800; margin-bottom: 10px; line-height: 1.4; flex: 1; }
.post-card-title a { color: var(--es-navy); text-decoration: none; }
.post-card-title a:hover { color: var(--es-orange); }
.post-card-excerpt { font-size: 0.84rem; color: var(--es-gray); line-height: 1.65; margin-bottom: 16px; }
.post-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--es-font-mono); font-size: 0.68rem; color: var(--es-gray-light);
  padding-top: 14px; border-top: 1px solid var(--es-border);
}

/* Pagination */
.blog-pagination {
  display: flex; justify-content: center; gap: 8px; margin-top: 56px;
}
.blog-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--es-radius);
  border: 1px solid var(--es-border); font-family: var(--es-font-head);
  font-size: 0.88rem; font-weight: 800; color: var(--es-gray);
  text-decoration: none; transition: all var(--es-transition);
}
.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current { background: var(--es-orange); border-color: var(--es-orange); color: var(--es-white); }
.blog-pagination .prev, .blog-pagination .next { width: auto; padding: 0 16px; }

/* Responsive — posts */
@media (max-width: 1024px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .post-featured-inner { grid-template-columns: 1fr; }
  .post-featured-image { min-height: 280px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .posts-grid { grid-template-columns: 1fr; }
  .post-hero-image { height: 55vw; min-height: 280px; }
  .post-navigation { grid-template-columns: 1fr; }
}

/* ============================================================
   DESIGN TOUCH-UP v2 — UI/UX Pro Max Recommendations
   ============================================================ */

/* 1. cursor-pointer on all interactive cards */
.product-card,
.feature-item,
.faq-item,
.testimonial-card,
.stat-card,
.stat-item,
.number-card,
.value-card,
.post-card,
.process-step,
[onmouseover] { cursor: pointer; }

/* 2. Better focus states — orange ring */
:focus-visible {
  outline: 2px solid var(--es-orange);
  outline-offset: 3px;
  border-radius: var(--es-radius);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--es-orange);
  outline-offset: 3px;
}

/* 3. Better button transitions & active state */
.btn {
  transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary:active {
  background: var(--es-orange-2);
  box-shadow: 0 2px 8px var(--es-orange-glow);
}

/* 4. Enhanced card hover — left orange accent line */
.product-card {
  position: relative;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--es-orange), var(--es-orange-2));
  transition: width 0.3s ease;
}
.product-card:hover::after { width: 100%; }

/* 5. Feature item — icon area improvement */
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--es-orange-dim);
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: var(--es-radius-lg);
  margin-bottom: 16px;
  font-size: 1.4rem;
  transition: all var(--es-transition);
}
.feature-item:hover .feature-icon {
  background: var(--es-orange);
  border-color: var(--es-orange);
  transform: scale(1.08);
  filter: drop-shadow(0 4px 8px var(--es-orange-glow));
}

/* 6. Hero stats — left border accent on hover */
.stat-item {
  transition: background 0.2s ease;
  position: relative;
}
.stat-item::before {
  content: '';
  position: absolute;
  top: 20%; bottom: 20%; right: 0;
  width: 0;
  background: var(--es-orange);
  transition: width 0.2s ease;
  opacity: 0.4;
}
.stat-item:hover::before { width: 2px; }

/* 7. Nav links — smooth underline from right (RTL) */
.es-nav a {
  transition: color 0.18s ease, background 0.18s ease;
}

/* 8. Section label — subtle pulse on the dot */
@keyframes labelPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.3); }
}
.section-label::before {
  animation: labelPulse 3s ease-in-out infinite;
}

/* 9. Process step number — ring glow on hover */
.step-number {
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.process-step:hover .step-number::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid var(--es-orange);
  border-radius: 50%;
  opacity: 0.4;
  animation: ringExpand 0.4s ease forwards;
}
@keyframes ringExpand {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1);   opacity: 0.4; }
}

/* 10. testimonial card — subtle left border on hover */
.testimonial-card {
  border-right: 3px solid transparent;
  transition: all 0.22s ease;
}
.testimonial-card:hover {
  border-right-color: var(--es-orange);
  transform: translateX(-3px);
}

/* 11. Numbers section — stronger number glow */
.number-big {
  text-shadow: 0 0 32px rgba(249,115,22,0.18);
  transition: text-shadow 0.3s ease;
}
.number-card:hover .number-big {
  text-shadow: 0 0 48px rgba(249,115,22,0.4);
}

/* 12. CTA banner — animated subtle gradient */
.es-cta-banner {
  background: linear-gradient(135deg, var(--es-orange) 0%, #fb923c 50%, var(--es-orange-2) 100%);
  background-size: 200% 200%;
  animation: ctaGradient 6s ease infinite;
}
@keyframes ctaGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 13. Image hover effect */
.post-card-image-link img,
.post-featured-image img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 14. prefers-reduced-motion — accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .section-label::before { animation: none; }
  .es-cta-banner { animation: none; }
}

/* 15. Smooth scrollbar styling */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--es-off-white); }
::-webkit-scrollbar-thumb { background: var(--es-border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--es-orange); }

/* ============================================================
   DROPDOWN NAV
   ============================================================ */
.es-nav li.has-dropdown { position: relative; }

.dropdown-arrow {
  display: inline-block; vertical-align: middle;
  margin-right: 4px; margin-top: -1px;
  transition: transform 0.2s ease;
  opacity: 0.5;
}
.es-nav li.has-dropdown:hover .dropdown-arrow,
.es-nav li.has-dropdown:focus-within .dropdown-arrow {
  transform: rotate(180deg); opacity: 1;
}

/* Dropdown panel */
.es-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  background: var(--es-white);
  border: 1px solid var(--es-border);
  border-radius: var(--es-radius-xl);
  box-shadow: var(--es-shadow-lg);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 1001;
}

/* Show on hover / focus-within */
.es-nav li.has-dropdown:hover .es-dropdown,
.es-nav li.has-dropdown:focus-within .es-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dropdown items */
.es-dropdown li a {
  display: block;
  padding: 10px 14px;
  font-family: var(--es-font-head);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--es-gray);
  border-radius: var(--es-radius-lg);
  transition: all 0.15s ease;
  text-decoration: none;
}
.es-dropdown li a:hover,
.es-dropdown li a.active {
  background: var(--es-orange-dim);
  color: var(--es-orange);
}
.es-dropdown li a.active { font-weight: 800; }

/* Orange top accent on first item */
.es-dropdown li:first-child a {
  border-top: 2px solid var(--es-orange);
  margin-top: 2px;
  color: var(--es-navy);
}
.es-dropdown li:first-child a:hover { color: var(--es-orange); }

/* Mobile — show as flat list inside hamburger menu */
@media (max-width: 768px) {
  .es-dropdown {
    position: static;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    border-right: 2px solid var(--es-orange-dim);
    margin: 4px 0;
  }
  .dropdown-arrow { display: none; }
  .es-dropdown li a {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
}

/* ============================================================
   SIMULATOR PAGE TEMPLATE — .sim-hero + .sim-body
   תבנית סימולטור: hero כהה אחיד + body חופשי
   ============================================================ */

/* ── Hero wrapper ───────────────────────────────────────────── */
.sim-hero {
  position: relative;
  background: var(--es-navy);
  padding-top: calc(var(--es-header-h) + 72px);
  padding-bottom: 72px;
  overflow: hidden;
  direction: rtl;
}

/* קו כתום צר בראש */
.sim-hero__topbar {
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--es-orange), transparent 60%);
}

/* קו כתום צר בתחתית */
.sim-hero__bottombar {
  position: absolute;
  bottom: 0; right: 0;
  width: 45%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--es-orange));
}

/* גריד נקודות (fallback ללא תמונה) */
.sim-hero__dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(249,115,22,0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

/* תמונת רקע + שכבת כיסוי */
.sim-hero__bg-img {
  position: absolute;
  inset: 0;
  background-image: var(--sim-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.sim-hero__bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26,37,64,0.96) 0%,
    rgba(26,37,64,0.82) 50%,
    rgba(26,37,64,0.55) 100%
  );
}

/* ── Hero inner content ─────────────────────────────────────── */
.sim-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

/* Badge */
.sim-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--es-font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--es-orange);
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.3);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.sim-hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--es-orange);
  flex-shrink: 0;
}

/* Headline */
.sim-hero__title {
  font-family: var(--es-font-head);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  text-transform: none;
}

/* Subtitle */
.sim-hero__subtitle {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.68);
  max-width: 640px;
  margin: 0 0 32px;
}

/* CTA */
.sim-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.sim-hero__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--es-orange);
  color: #fff;
  font-family: var(--es-font-head);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: var(--es-radius);
  text-decoration: none;
  transition: background var(--es-transition), box-shadow var(--es-transition);
}
.sim-hero__btn-primary:hover {
  background: var(--es-orange-2);
  box-shadow: 0 4px 16px rgba(249,115,22,0.35);
  color: #fff;
}

/* ── Body ───────────────────────────────────────────────────── */
.sim-body {
  /* אין max-width — Elementor ו-Gutenberg מנהלים את הרוחב בעצמם */
  background: var(--es-white);
}

/* כאשר Gutenberg בלי Elementor: מרווח בסיסי לבלוקים */
.sim-body > .wp-block-group,
.sim-body > .entry-content,
.sim-body > p,
.sim-body > h2,
.sim-body > h3 {
  max-width: var(--es-max-w);
  margin-right: auto;
  margin-left: auto;
  padding-right: 28px;
  padding-left: 28px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sim-hero {
    padding-top: calc(var(--es-header-h) + 40px);
    padding-bottom: 48px;
  }
  .sim-hero__title {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }
  .sim-hero__subtitle {
    font-size: 0.95rem;
  }
  .sim-hero__btn-primary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
}
