/* shmul.co.il — main stylesheet
   Open Sans Hebrew everywhere. Measurement-first, authoritative data UI. */

:root {
  --primary: #0B2C4A;
  --primary-dark: #071d31;
  --primary-container: #153a5e;
  --secondary: #00B4D8;
  --secondary-light: #90E0EF;
  --cta: #F59E0B;
  --cta-hover: #d97706;
  --surface: #ffffff;
  --surface-alt: #F8FAFC;
  --surface-data: #f1f5f9;
  --on-surface: #0f172a;
  --on-surface-muted: #475569;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 44, 74, 0.05);
  --shadow: 0 4px 14px rgba(11, 44, 74, 0.08);
  --shadow-lg: 0 12px 32px rgba(11, 44, 74, 0.12);
  --max-width: 1280px;
  --content-width: 800px;
  --font-display: 'Open Sans Hebrew', 'Arial Hebrew', sans-serif;
  --font-body: 'Open Sans Hebrew', 'Arial Hebrew', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--on-surface);
  background: var(--surface);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  max-width: 100%;
}

a { color: var(--primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--secondary); }

/* Prose body inline links = blue + underline */
.prose-body a:not(.btn):not(.chip):not(.card-link) {
  color: #1d4ed8;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose-body a:hover { color: #1e3a8a; text-decoration-thickness: 2px; }
.prose-body a[target="_blank"]::after { content: " ↗"; font-size: .85em; margin-right: 2px; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.25; color: var(--primary); }
h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1.25rem; }
ul, ol { margin: 1rem 2rem 1.5rem 0; }
li { margin-bottom: 0.5rem; }

img { max-width: 100%; height: auto; display: block; }
img[loading="lazy"] { min-height: 1px; }

.container { max-width: var(--max-width); margin-inline: auto; padding-inline: 24px; }
.content-container { max-width: var(--content-width); margin-inline: auto; padding-inline: 24px; }

/* Honeypot / sr-only */
.sr-only {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important; clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important; border: 0 !important;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.site-header .container { display: flex; align-items: center; gap: 32px; padding-block: 16px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.25rem; color: var(--primary); text-decoration: none; }
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #f1f5f9;
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name { letter-spacing: -0.02em; line-height: 1.1; }
.brand-sub { font-size: .72rem; font-weight: 500; color: var(--on-surface-muted); line-height: 1.2; }

.site-nav { display: flex; gap: 24px; align-items: center; font-weight: 600; font-size: .95rem; }
.site-nav a { color: var(--on-surface); }
.site-nav a:hover, .site-nav a.active { color: var(--primary); }
.site-nav .has-dropdown { position: relative; }
.site-nav .dropdown { position: absolute; top: 100%; right: 0; background: #fff; box-shadow: var(--shadow-lg); border-radius: var(--radius); padding: 8px; min-width: 240px; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: all .15s; z-index: 10; }
.site-nav .has-dropdown:hover .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.site-nav .dropdown a { display: block; padding: 10px 12px; border-radius: var(--radius-sm); font-weight: 500; }
.site-nav .dropdown a:hover { background: var(--surface-alt); }
.site-nav .dropdown a strong { display: block; font-weight: 700; color: var(--primary); }
.site-nav .dropdown a small { color: var(--on-surface-muted); font-size: .85rem; }

.header-ctas { margin-inline-start: auto; display: flex; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius); font-weight: 700; font-family: var(--font-display); font-size: .95rem; border: none; cursor: pointer; transition: all .15s; text-align: center; }
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--on-surface); }
.btn-ghost:hover { color: var(--primary); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-dark); color: #fff; }
.btn-large { padding: 16px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; }

.menu-toggle { display: none; background: transparent; border: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }

/* ===== HERO ===== */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, #cbd5e1 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.25;
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text .badge { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--secondary); margin-bottom: 20px; }
.hero-text h1 { margin-bottom: 20px; }
.hero-text .subtitle { font-size: 1.2rem; color: var(--on-surface-muted); margin-bottom: 32px; max-width: 520px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 32px; flex-wrap: wrap; font-size: .9rem; color: var(--on-surface-muted); }
.hero-trust span { display: flex; align-items: center; gap: 6px; }
.hero-image { position: relative; }
.hero-image img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.hero-image::after {
  content: ''; position: absolute; inset: -12px -12px auto auto;
  width: 80%; height: 80%; border: 2px solid var(--secondary);
  border-radius: var(--radius-xl); z-index: -1;
}

/* ===== DATA TICKER ===== */
.data-ticker {
  background: var(--primary);
  color: #fff;
  padding: 16px 0;
  overflow: hidden;
  border-block: 3px solid var(--secondary);
}
.data-ticker .container { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.data-ticker .ticker-label { color: var(--secondary); font-weight: 700; font-size: .85rem; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; }
.data-ticker .ticker-items { display: flex; gap: 40px; flex-wrap: wrap; font-size: .95rem; }
.data-ticker .ticker-items strong { color: var(--secondary-light); font-family: var(--font-mono); }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--primary); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.85); }
.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 12px; }
.section-heading p { color: var(--on-surface-muted); max-width: 640px; margin-inline: auto; font-size: 1.1rem; }

/* ===== PILLARS GRID ===== */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: all .2s;
  display: flex; flex-direction: column;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar-card::before { content: ''; position: absolute; inset-block: 0; inset-inline-end: 0; width: 4px; background: var(--accent, var(--primary)); border-radius: 4px 0 0 4px; }
.pillar-card .icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--surface-alt); border-radius: var(--radius); font-size: 1.5rem; margin-bottom: 16px; color: var(--accent, var(--primary)); }
.pillar-card h3 { margin-bottom: 12px; }
.pillar-card p { color: var(--on-surface-muted); margin-bottom: 20px; flex-grow: 1; }
.pillar-card .card-link { font-weight: 700; color: var(--accent, var(--primary)); }
.pillar-card .card-link::after { content: ' ←'; transition: margin-right .15s; }
.pillar-card .card-link:hover::after { margin-right: -4px; }

/* ===== SERVICES GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex; gap: 20px; align-items: flex-start;
  transition: all .2s;
}
.service-card:hover { border-color: var(--secondary); box-shadow: var(--shadow); }
.service-card .icon { width: 44px; height: 44px; min-width: 44px; background: var(--secondary); color: #fff; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); font-size: 1.25rem; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.service-card p { color: var(--on-surface-muted); margin-bottom: 12px; font-size: .95rem; }
.service-card .card-link { font-weight: 600; font-size: .9rem; color: var(--primary); }

/* ===== WHY BOX ===== */
.why-shmulik { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-shmulik ul { list-style: none; margin: 0; padding: 0; }
.why-shmulik li { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.why-shmulik li .check { color: var(--success); font-weight: 900; font-size: 1.25rem; flex-shrink: 0; }

/* ===== GEO SCAN TOOL BANNER ===== */
.geo-scan-banner {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  border-right: 6px solid var(--cta);
}
.geo-scan-banner .banner-badge { display: inline-block; background: var(--cta); color: #fff; padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; margin-bottom: 16px; }
.geo-scan-banner h2 { color: var(--primary); }
.geo-scan-banner p { color: var(--on-surface); font-size: 1.05rem; margin-bottom: 24px; }
.geo-scan-form { display: flex; gap: 12px; flex-wrap: wrap; max-width: 720px; }
.geo-scan-form input[type="text"], .geo-scan-form input[type="email"] {
  flex: 1 1 220px;
  padding: 14px 18px;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
}
.geo-scan-form input:focus { outline: none; border-color: var(--cta); }
.geo-scan-form button { flex-shrink: 0; }

/* ===== ARTICLE / BLOG ===== */
.article-hero { padding: 48px 0 32px; background: var(--surface-alt); border-bottom: 1px solid var(--border); }
.article-hero .container { max-width: 900px; }
.article-hero h1 { margin: 14px 0 16px; line-height: 1.2; overflow-wrap: break-word; word-wrap: break-word; }
.breadcrumbs { font-size: .85rem; color: var(--on-surface-muted); margin-bottom: 16px; }
.breadcrumbs a { color: var(--on-surface-muted); }
.breadcrumbs a:hover { color: var(--primary); }
.article-meta { display: flex; gap: 16px; color: var(--on-surface-muted); font-size: .9rem; margin-top: 16px; }
.article-meta img { width: 32px; height: 32px; border-radius: 50%; }

/* Chapter-page specific — cleaner, cap title size so long ones don't overflow */
.article-hero-chapter {
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
  padding: 40px 0 28px;
  border-bottom: none;
}
.article-hero-chapter h1 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  letter-spacing: -0.015em;
  max-width: 780px;
}
.chapter-chip {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-family: var(--font-display);
}

/* Guide progress bar */
.guide-progress {
  margin-top: 24px;
  max-width: 780px;
}
.guide-progress-track {
  height: 10px;
  background: #dbeafe;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(11,44,74,0.08);
}
.guide-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
  border-radius: 999px;
  transition: width .4s ease;
  position: relative;
}
.guide-progress-fill::after {
  content: '';
  position: absolute;
  inset-inline-end: 0;
  top: -2px;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(11,44,74,0.12);
}
.guide-progress-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: .85rem;
  color: var(--on-surface-muted);
}
.guide-progress-meta strong {
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
}

/* ===== SEOGUIDE HUB ===== */
.article-hero-guide {
  background: linear-gradient(135deg, #0B2C4A 0%, #1e3a5f 60%, #00B4D8 200%);
  color: #fff;
  padding: 64px 0 56px;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
.article-hero-guide::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(0,180,216,0.25), transparent 60%),
                    radial-gradient(circle at 80% 20%, rgba(245,158,11,0.18), transparent 60%);
  pointer-events: none;
}
.article-hero-guide .breadcrumbs,
.article-hero-guide .breadcrumbs a { color: rgba(255,255,255,0.7); }
.article-hero-guide .breadcrumbs a:hover { color: #fff; }
.article-hero-guide h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.article-hero-guide .chapter-chip { background: rgba(255,255,255,0.18); color: #fff; backdrop-filter: blur(8px); }
.article-hero-guide .guide-hero-lead {
  font-size: 1.2rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.92);
  max-width: 720px;
  margin-top: 16px;
}
.article-hero-guide .hero-trust { color: rgba(255,255,255,0.85); }

.chapters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.chapter-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--on-surface);
  transition: all .2s;
  position: relative;
}
.chapter-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}
.chapter-card-num {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc, #e0f2fe);
  border-radius: var(--radius);
}
.chapter-card-body { flex: 1; }
.chapter-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--primary);
}
.chapter-card-body p {
  font-size: .9rem;
  color: var(--on-surface-muted);
  margin: 0;
  line-height: 1.55;
}
.chapter-card-arrow {
  font-size: 1.4rem;
  color: var(--secondary);
  flex-shrink: 0;
  transition: transform .15s;
}
.chapter-card:hover .chapter-card-arrow { transform: translateX(-4px); color: var(--cta); }

@media (max-width: 768px) {
  .chapters-grid { grid-template-columns: 1fr; }
  .chapter-card-num { width: 56px; height: 56px; font-size: 1.5rem; }
}

/* Reasons grid (used on /seoguide/ + similar) */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.reason-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all .15s;
}
.reason-card:hover { border-color: var(--secondary); }
.reason-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}
.reason-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.reason-card p { font-size: .92rem; color: var(--on-surface-muted); margin: 0; line-height: 1.6; }
@media (max-width: 640px) { .reasons-grid { grid-template-columns: 1fr; } }

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-banner .btn { flex-shrink: 0; }

/* ===== SHMUL TV — video gallery ===== */
.article-hero-tv {
  background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 60%, var(--secondary) 200%);
  color: #fff;
  padding: 64px 0 48px;
  border-bottom: none;
}
.article-hero-tv .breadcrumbs,
.article-hero-tv .breadcrumbs a { color: rgba(255,255,255,0.7); }
.article-hero-tv .breadcrumbs a:hover { color: #fff; }
.article-hero-tv h1 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 14px 0; }
.article-hero-tv .chapter-chip { background: rgba(255,255,255,0.2); color: #fff; backdrop-filter: blur(6px); }
.article-hero-tv .guide-hero-lead { color: rgba(255,255,255,0.92); font-size: 1.1rem; max-width: 720px; }

.tv-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .tv-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tv-gallery { grid-template-columns: 1fr; } }

.tv-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--on-surface);
  display: flex;
  flex-direction: column;
  transition: all .18s;
}
.tv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--secondary); }
.tv-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface-alt);
  overflow: hidden;
}
.tv-card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.tv-card:hover .tv-card-thumb img { transform: scale(1.05); }
.tv-card-thumb-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  font-size: 3rem;
  background: linear-gradient(135deg, #f1f5f9, #e0f2fe);
  color: var(--primary);
}
.tv-card-play {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(11,44,74,0.35);
  color: #fff;
  font-size: 2.5rem;
  opacity: 0;
  transition: opacity .18s;
}
.tv-card-play::before {
  content: '';
  position: absolute;
  width: 64px; height: 64px;
  background: rgba(245,158,11,0.95);
  border-radius: 50%;
  z-index: -1;
}
.tv-card-play {
  text-shadow: 0 0 12px rgba(0,0,0,0.3);
}
.tv-card:hover .tv-card-play { opacity: 1; }
.tv-card-body {
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}
.tv-card-body h3 {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
  color: var(--primary);
}
.tv-card-body p {
  font-size: .85rem;
  color: var(--on-surface-muted);
  margin: 0;
  line-height: 1.55;
  flex-grow: 1;
}
.tv-card-link {
  font-size: .85rem;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 4px;
}
.tv-card:hover .tv-card-link { color: var(--cta); }

/* ===== ABOUT PAGE — timeline + bucket list ===== */
.about-hero {
  padding: 72px 0 56px;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 60%, #f0f9ff 100%);
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(0,180,216,0.15), transparent 60%),
                    radial-gradient(circle at 80% 20%, rgba(245,158,11,0.12), transparent 60%);
  pointer-events: none;
}
.about-hero .hero-image img {
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(11,44,74,0.15);
}

/* Timeline */
.about-timeline {
  position: relative;
  padding: 24px 0;
  max-width: 900px;
  margin: 0 auto;
}
.about-timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  inset-inline-start: 80px;
  width: 2px;
  background: linear-gradient(to bottom, var(--secondary), var(--primary));
  z-index: 1;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  margin-bottom: 32px;
  align-items: start;
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  padding: 12px 18px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 4px 12px rgba(11,44,74,0.15);
  position: relative;
  z-index: 2;
  min-width: 160px;
}
.timeline-year::after {
  content: '';
  position: absolute;
  inset-inline-start: calc(100% - 4px);
  top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  background: var(--secondary);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--border);
}
.timeline-body {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: all .18s;
}
.timeline-body:hover {
  box-shadow: var(--shadow);
  transform: translateX(-4px);
  border-color: var(--secondary);
}
.timeline-body p {
  margin: 0;
  line-height: 1.75;
  color: var(--on-surface);
}

@media (max-width: 768px) {
  .about-timeline::before { inset-inline-start: 24px; }
  .timeline-item { grid-template-columns: 1fr; gap: 12px; padding-inline-start: 56px; }
  .timeline-year { width: 120px; font-size: 1.2rem; padding: 8px 12px; min-width: 0; }
  .timeline-year::after { display: none; }
}

/* Bucket list */
.bucket-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.bucket-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  transition: all .18s;
}
.bucket-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.bucket-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--on-surface);
}
.bucket-check {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
}
.bucket-achieved { border-inline-start: 4px solid var(--success); }
.bucket-achieved .bucket-check { background: #d1fae5; color: var(--success); }
.bucket-todo { border-inline-start: 4px solid var(--cta); background: #fffbeb; }
.bucket-todo .bucket-check { background: #fef3c7; color: var(--cta); }

@media (max-width: 768px) {
  .bucket-grid { grid-template-columns: 1fr; }
}

/* ===== ENHANCED ARTICLE BODY (for migrated content) ===== */
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin: 1.75rem auto;
  display: block;
}
.article-body img.alignleft, .article-body img.alignright { box-shadow: none; }
.article-body figure {
  margin: 1.75rem 0;
  padding: 0;
}
.article-body figure img { margin: 0 auto; }
.article-body figcaption {
  text-align: center;
  font-size: .85rem;
  color: var(--on-surface-muted);
  margin-top: 8px;
  font-style: italic;
}

.article-body h1 {
  font-size: 1.85rem;
  margin: 2.5rem 0 1.25rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border);
}
.article-body h1:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.article-body h2 {
  font-size: 1.45rem;
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.article-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.article-body h3 {
  font-size: 1.2rem;
  margin: 2rem 0 .75rem;
  color: var(--primary);
}
.article-body h4 {
  font-size: 1.05rem;
  margin: 1.5rem 0 .5rem;
  color: var(--primary-container);
  text-transform: none;
  font-weight: 700;
}

.article-body ul, .article-body ol {
  margin: 1.25rem 2rem 1.5rem 0;
  padding: 0;
}
.article-body ul li, .article-body ol li {
  margin-bottom: .65rem;
  line-height: 1.75;
}
.article-body ul {
  list-style: none;
  padding-inline-start: 0;
}
.article-body ul > li {
  position: relative;
  padding-inline-start: 1.5rem;
}
.article-body ul > li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.75rem;
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
}
.article-body ol {
  list-style: decimal;
  list-style-position: outside;
  padding-inline-start: 1.5rem;
}
.article-body ol li::marker {
  color: var(--secondary);
  font-weight: 700;
}

/* Highlight first paragraph as a "lead" */
.article-body > p:first-child,
.article-body > div:first-child > p:first-child {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--primary);
  font-weight: 500;
}

/* Style strong/em better */
.article-body strong { color: var(--primary); font-weight: 700; }
.article-body em { font-style: italic; color: var(--on-surface); }

/* Block quotes — pull quotes */
.article-body blockquote {
  position: relative;
  border-right: 4px solid var(--cta);
  background: linear-gradient(to left, #fffaed, #fff);
  padding: 20px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.75rem 0;
  font-style: normal;
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1.7;
}
.article-body blockquote::before {
  content: '"';
  position: absolute;
  inset-inline-end: 16px;
  top: -16px;
  font-size: 4rem;
  color: var(--cta);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.4;
}

/* Callouts */
.tip-box, .warning-box, .data-box {
  position: relative;
  padding: 18px 24px 18px 24px;
  border-radius: var(--radius);
  margin: 1.75rem 0;
  font-size: .98rem;
  line-height: 1.7;
}

/* Horizontal rule */
.article-body hr {
  border: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 2.5rem 0;
}

/* Tighten Elementor wrapper noise */
.article-body .elementor-section,
.article-body .elementor-container,
.article-body .elementor-column,
.article-body .elementor-widget-wrap,
.article-body .elementor-widget,
.article-body .elementor-element,
.article-body .elementor-widget-container,
.article-body .elementor-text-editor,
.article-body .page-content {
  display: contents;
}
.article-body .elementor-divider,
.article-body .elementor-spacer,
.article-body .elementor-button-wrapper,
.article-body [class*="elementor-widget-shortcode"],
.article-body [class*="elementor-widget-google_maps"] {
  display: none;
}
/* Elementor headings — strip the inline weight/size that fights our typography */
.article-body .elementor-heading-title { font-size: inherit; font-weight: inherit; line-height: inherit; }

.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 60px; padding: 48px 0 80px; }
.article-body.prose-body {
  font-size: 1.1rem;
  line-height: 1.85;
}
.article-body pre { background: #0f172a; color: #e2e8f0; padding: 16px; border-radius: var(--radius); overflow-x: auto; font-family: var(--font-mono); font-size: .9rem; margin: 1.25rem 0; }
.article-body code { background: var(--surface-data); padding: 2px 6px; border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: .9em; }
.article-body pre code { background: transparent; padding: 0; color: inherit; }
.article-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.article-body th { background: var(--primary); color: #fff; padding: 12px; text-align: right; font-weight: 700; }
.article-body td { padding: 12px; border: 1px solid var(--border); }
.article-body tr:nth-child(even) td { background: var(--surface-alt); }

.tip-box { background: #fffaed; border-inline-start: 4px solid var(--cta); border-radius: var(--radius); padding: 16px 20px; margin: 1.5rem 0; }
.tip-box strong { color: var(--cta); }
.warning-box { background: #fef2f2; border-inline-start: 4px solid var(--danger); border-radius: var(--radius); padding: 16px 20px; margin: 1.5rem 0; }
.warning-box strong { color: var(--danger); }
.data-box { background: var(--primary); color: #fff; border-radius: var(--radius-lg); padding: 20px; margin: 1.5rem 0; font-family: var(--font-mono); font-size: .95rem; }
.data-box strong { color: var(--secondary-light); }

/* Sidebar sits in its column and flows naturally — no sticky (it was overlapping
   the lead-form section at the bottom of articles). */
.article-sidebar { position: static; align-self: start; }
.sidebar-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 24px; }
.sidebar-card h4 { color: var(--primary); margin-bottom: 12px; font-size: 1rem; }
.sidebar-card input[type="email"], .sidebar-card input[type="text"] { width: 100%; padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: var(--radius); font-family: var(--font-body); margin-bottom: 10px; }
.sidebar-related a { display: block; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .9rem; color: var(--on-surface); }
.sidebar-related a:hover { color: var(--primary); }
.sidebar-related a:last-child { border-bottom: none; }
.sidebar-related small { display: block; color: var(--on-surface-muted); margin-top: 2px; }

.sidebar-compact a { display: block; padding: 8px 0; font-size: .9rem; color: var(--on-surface); border-bottom: 1px solid var(--border); }
.sidebar-compact a:last-child { border-bottom: none; }
.sidebar-compact a:hover { color: var(--primary); padding-right: 4px; transition: padding .15s; }
.sidebar-compact a strong { font-weight: 600; }

/* Chapter nav (prev/next) for seoguide */
.chapter-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  margin: 4rem 0 0;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.chapter-nav-btn {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  line-height: 1.35;
  position: relative;
  overflow: hidden;
}
.chapter-nav-btn::before {
  content: '';
  position: absolute;
  inset-inline-end: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--secondary);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.chapter-nav-btn:hover::before { transform: scaleY(1); }
.chapter-nav-btn small {
  font-size: .78rem;
  color: var(--on-surface-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}
.chapter-nav-btn strong {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
  display: block;
}
.chapter-nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11,44,74,0.08);
  border-color: var(--secondary);
}
.chapter-nav-btn:hover strong { color: var(--secondary); }

/* Arrow icon — rendered via ::after, not in the anchor text */
.chapter-nav-prev .chapter-nav-arrow,
.chapter-nav-next .chapter-nav-arrow {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef2ff 0%, #dbeafe 100%);
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
  transition: all .18s ease;
}
.chapter-nav-btn:hover .chapter-nav-arrow {
  background: var(--secondary);
  color: #fff;
  transform: scale(1.08);
}

.chapter-nav-prev { text-align: start; }
.chapter-nav-next { text-align: start; }
.chapter-nav-next { direction: rtl; }
.chapter-nav-home {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  min-width: 140px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-container) 100%);
  border-color: var(--primary);
  padding: 20px 24px;
}
.chapter-nav-home small { color: rgba(255,255,255,0.75); font-size: .7rem; margin-bottom: 0; }
.chapter-nav-home strong { color: #fff; font-size: .95rem; }
.chapter-nav-home:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-color: var(--secondary);
}
.chapter-nav-home:hover strong { color: var(--secondary-light); }
.chapter-nav-home::before { display: none; }
.chapter-nav-home-icon {
  font-size: 1.4rem;
  color: var(--secondary-light);
  line-height: 1;
  margin-bottom: 4px;
}

@media (max-width: 640px) {
  .chapter-nav { grid-template-columns: 1fr; gap: 10px; }
  .chapter-nav-btn { padding: 16px 20px; }
  .chapter-nav-home { order: -1; }
}

/* ===== CARDS ROW ===== */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.article-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: all .2s; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.article-card .thumb { aspect-ratio: 16 / 9; background: var(--surface-alt); }
.article-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.article-card .chip { display: inline-block; background: var(--surface-alt); color: var(--primary); padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; margin-bottom: 10px; align-self: flex-start; }
.article-card .chip.geo { background: #cffafe; color: #0e7490; }
.article-card .chip.technical { background: #fef3c7; color: #92400e; }
.article-card .chip.archive { background: #e0e7ff; color: #3730a3; }
.article-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--primary); }
.article-card h3 a { color: inherit; }
.article-card .excerpt { color: var(--on-surface-muted); font-size: .9rem; margin-bottom: 12px; flex-grow: 1; }
.article-card .meta { font-size: .8rem; color: var(--on-surface-muted); display: flex; gap: 12px; }

/* ===== PRICING TIERS ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pricing-tier { background: #fff; border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; position: relative; }
.pricing-tier.featured { border-color: var(--cta); transform: scale(1.03); box-shadow: var(--shadow-lg); }
.pricing-tier .tier-badge { position: absolute; top: -12px; right: 24px; background: var(--cta); color: #fff; padding: 4px 16px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.pricing-tier h3 { font-size: 1.5rem; margin-bottom: 4px; }
.pricing-tier .subtitle { color: var(--on-surface-muted); margin-bottom: 20px; }
.pricing-tier .price { font-size: 2rem; font-weight: 800; color: var(--primary); font-family: var(--font-display); }
.pricing-tier .price-unit { color: var(--on-surface-muted); font-size: 1rem; font-weight: 500; }
.pricing-tier ul { list-style: none; margin: 20px 0; padding: 0; flex-grow: 1; }
.pricing-tier li { padding: 8px 0; font-size: .95rem; display: flex; gap: 8px; }
.pricing-tier li::before { content: '✓'; color: var(--success); font-weight: 900; }

/* ===== FAQ ===== */
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  list-style: none;
  user-select: none;
}
/* Hide the default disclosure triangle in WebKit and Firefox */
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { content: ""; }
.faq-question::after {
  content: '+';
  font-size: 1.75rem;
  line-height: 1;
  color: var(--secondary);
  transition: transform .2s;
  font-weight: 400;
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 20px; color: var(--on-surface-muted); line-height: 1.8; }

/* ===== LEAD FORM ===== */
.lead-form-section { padding: 64px 0; }
.lead-form { max-width: 600px; margin: 0 auto; background: #fff; border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-lg); }
.section-dark .lead-form { background: #fff; color: var(--on-surface); }
.lead-form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; color: var(--on-surface); }
.lead-form input, .lead-form textarea, .lead-form select { width: 100%; padding: 14px 18px; border: 2px solid var(--border); border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem; margin-bottom: 16px; background: #fff; color: var(--on-surface); }
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus { outline: none; border-color: var(--secondary); }
.lead-form textarea { min-height: 100px; resize: vertical; }

/* ===== BRANDS BAR ===== */
.brands-bar { padding: 48px 0; border-block: 1px solid var(--border); background: var(--surface-alt); }
.brands-bar .container { display: flex; gap: 32px; justify-content: space-around; align-items: center; flex-wrap: wrap; }
.brand-link { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--on-surface); font-weight: 700; }
.brand-link small { font-weight: 400; color: var(--on-surface-muted); font-size: .8rem; }
.brand-link:hover { color: var(--secondary); }

/* ===== FOOTER ===== */
.site-footer { background: var(--primary); color: rgba(255,255,255,0.85); padding: 64px 0 24px; }
.site-footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,0.75); font-size: .9rem; }
.site-footer a:hover { color: var(--secondary-light); }
.site-footer .footer-brand { font-size: 1.4rem; color: #fff; font-weight: 800; margin-bottom: 12px; display: block; }
.site-footer .social-icons { display: flex; gap: 12px; margin-top: 16px; }
.site-footer .social-icons a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; }
.site-footer .social-icons a:hover { background: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: .85rem; color: rgba(255,255,255,0.6); }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-disclaimer { font-size: .8rem; color: rgba(255,255,255,0.55); max-width: 900px; margin-top: 16px; line-height: 1.7; }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--surface-alt); padding: 24px 0; }
.trust-bar .container { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 24px; text-align: center; }
.trust-stat { font-family: var(--font-display); }
.trust-stat .num { display: block; font-size: 2rem; font-weight: 800; color: var(--primary); line-height: 1; }
.trust-stat .label { font-size: .85rem; color: var(--on-surface-muted); font-weight: 500; }

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-image { order: -1; max-width: 480px; margin-inline: auto; }
  .pillars-grid, .services-grid, .articles-grid, .pricing-grid { grid-template-columns: 1fr; }
  .pricing-tier.featured { transform: none; }
  .why-shmulik { grid-template-columns: 1fr; }
  /* Article layout collapses to 1 column — but cap the sidebar + chapter-nav
     so they don't stretch to full viewport width */
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar {
    position: static;
    max-width: 540px;
    margin: 2rem auto 0;
  }
  .chapter-nav {
    max-width: 720px;
    margin-inline: auto;
  }
  .article-body > *,
  .article-body.prose-body {
    max-width: 720px;
    margin-inline: auto;
  }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
  .menu-toggle { display: block; }
  .site-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; inset-inline: 0; background: #fff; padding: 16px; gap: 12px; border-bottom: 1px solid var(--border); }
  .brand-sub { display: none; }
  .section { padding: 56px 0; }
}
@media (max-width: 640px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
  .header-ctas .btn:not(.btn-primary) { display: none; }
  h1 { font-size: 2rem; }
  .pricing-tier { padding: 24px; }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
