/* ══════════════════════════════════════════════════
   PrizMind — מודל שבעת התפקידים
   עיצוב נאמן לתבנית ה-PPTX
   ══════════════════════════════════════════════════ */

/* ── משתני צבע (מה-PPTX) ── */
:root {
  --blue-primary:   #448BE3;
  --green-accent:   #A3B72B;
  --card-bg:        #E9EFF6;
  --dark-navy:      #0E2841;
  --teal:           #0F9ED5;
  --orange:         #E97132;
  --forest-green:   #196B24;
  --purple:         #7030A0;
  --white:          #FFFFFF;
  --gray-light:     #E8E8E8;
  --gray-text:      #555;
  --body-text:      #0E2841;

  --radius-card:    12px;
  --radius-section: 10px;
  --shadow-card:    0 4px 16px rgba(14, 40, 65, 0.10);
  --shadow-hover:   0 8px 28px rgba(14, 40, 65, 0.18);
  --transition:     0.22s ease;
}

/* ── ריסט ו-RTL ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
}

body {
  font-family: 'Assistant', sans-serif;
  background: #f4f7fb;
  color: var(--body-text);
  min-height: 100vh;
  line-height: 1.65;
}

.hidden {
  display: none !important;
}

/* ══════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════ */
.site-header {
  background: var(--dark-navy);
  color: var(--white);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-logo {
  font-family: 'Karantina', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--blue-primary);
  letter-spacing: 1px;
  line-height: 1;
}

.brand-logo.small {
  font-size: 1.6rem;
}

/* לוגו תמונה */
.brand-logo-img {
  height: 26px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand-logo-img.small {
  height: 19px;
}

.brand-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
}

/* תפריט ניווט עליון */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav-item {
  background: none;
  border: none;
  color: rgba(255,255,255,0.78);
  font-family: 'Assistant', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.site-nav-item:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.site-nav-brand {
  font-family: 'Karantina', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.5px;
  padding: 4px 10px;
}

.site-nav-brand:hover {
  background: rgba(15,158,213,0.15);
}

.site-nav-sep {
  color: rgba(255,255,255,0.25);
  font-size: 1rem;
  user-select: none;
  padding: 0 2px;
}

/* לוגו תמונה בתפריט — תמיד בצד שמאל */
.brand-logo-nav-img {
  height: 30px;
  width: auto;
  max-width: 120px;
  display: block;
  object-fit: contain;
  margin-inline-start: auto;
  flex-shrink: 0;
  vertical-align: middle;
}

/* ══════════════════════════════════════════════════
   LANDING HERO — Full Viewport
══════════════════════════════════════════════════ */
.hero-landing {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(
      rgba(6, 4, 22, 0.32) 0%,
      rgba(6, 4, 22, 0.42) 60%,
      rgba(6, 4, 22, 0.52) 100%
    ),
    url('Picture4.png') left center / cover no-repeat;
  /* fallback אם התמונה לא קיימת */
  background-color: #14053a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 32px 80px;
}

/* גרפיקת פריזמה — רקע */
.hero-bg-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-prism-svg {
  width: 100%;
  height: 100%;
}

/* תוכן מרכזי */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: right;
  max-width: 820px;
  width: 100%;
}

/* תווית "שאלה" */
.hero-question-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
  opacity: 0.85;
}

/* עטיפת השאלה המתחלפת */
.hero-question-wrap {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 36px;
}

/* שאלה מתחלפת — ימין, prefix+AI קבועים, suffix בלבד מתחלף */
.hero-rotating-question {
  display: block;
  text-align: right;
  font-family: 'Assistant', sans-serif;
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 200;
  color: rgba(255,255,255,0.80);
  line-height: 1.25;
  text-shadow: none;
  margin: 0;
}

/* prefix — קבוע, טקסט רגיל */
.hero-q-fixed {
  display: inline;
}

/* מילת ה-AI — קבועה, בולטת בתכלת עם glow */
.hero-q-ai {
  display: inline;
  color: var(--teal);
  font-weight: 800;
  padding: 0 0.16em;
  text-shadow:
    0 0 36px rgba(15,158,213,0.80),
    0 0 12px rgba(15,158,213,0.50),
    0 2px 10px rgba(0,0,0,0.40);
}

/* suffix — מתחלף בלבד */
#hero-q-suffix {
  display: inline-block;
  vertical-align: baseline;
  transition: opacity 0.30s ease, transform 0.30s ease;
}

#hero-q-suffix.fade-out {
  opacity: 0;
  transform: translateY(-8px);
}

@keyframes questionFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0);    }
}

#hero-q-suffix.fade-in {
  animation: questionFadeIn 0.38s ease forwards;
}

/* מפריד — ימין */
.hero-divider {
  width: 56px;
  height: 2px;
  background: linear-gradient(270deg, var(--teal), transparent);
  margin: 0 0 28px;
}

/* משפט מותג — PrizMind + תיאור */
.hero-brand-sentence {
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: rgba(255,255,255,0.96);
  margin-bottom: 10px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  font-weight: 700;
  text-shadow: 0 2px 18px rgba(0,0,0,0.45);
}

.hero-brand-suffix {
  font-family: 'Karantina', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  display: block;
  line-height: 1.2;
  letter-spacing: 1px;
}

.hero-prizmind {
  font-family: 'Karantina', sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 2px;
  vertical-align: middle;
  text-shadow: 0 0 24px rgba(15,158,213,0.6);
}

/* tagline */
.hero-tagline-lp {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 44px;
  line-height: 1.65;
}

/* CTA */
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: 'Assistant', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 44px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 6px 28px rgba(68,139,227,0.38);
  letter-spacing: 0.3px;
}

.hero-cta-btn:hover {
  background: #2a6fd6;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(68,139,227,0.48);
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(5px); }
}

/* ══════════════════════════════════════════════════
   תוכן ראשי — כרטיסי תפקידים
══════════════════════════════════════════════════ */
.main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 0 64px;
  scroll-margin-top: 72px; /* offset for sticky header */
}

/* ══════════════════════════════════════════════════
   רשת כרטיסי תפקידים — שורה אחת
══════════════════════════════════════════════════ */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding: 0 32px;
}

.role-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 0 0 20px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 4px solid var(--dark-navy);
  position: relative;
  overflow: hidden;
}

.role-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(14,40,65,0.25), transparent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.role-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.role-card:hover::after {
  transform: scaleX(1);
}

.role-card:focus {
  outline: 3px solid var(--blue-primary);
  outline-offset: 3px;
}

/* תמונה אנכית בכרטיס — ממלאת את רוב הגובה */
.card-image-wrap {
  overflow: hidden;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  height: 220px;
  flex-shrink: 0;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.35s ease;
}

.role-card:hover .card-image {
  transform: scale(1.05);
}

.card-icon {
  font-size: 2.2rem;
  line-height: 1;
  padding: 20px 16px 0;
}

.card-name {
  font-family: 'Karantina', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark-navy);
  padding: 12px 16px 6px;
}

.card-subtitle {
  font-size: 0.8rem;
  color: var(--gray-text);
  font-weight: 400;
  line-height: 1.5;
  flex: 1;
  padding: 0 16px;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  padding: 10px 16px 0;
  transition: gap var(--transition);
}

.role-card:hover .card-cta {
  gap: 8px;
}

.card-cta::after {
  content: '←';
  font-size: 0.9rem;
}

/* ══════════════════════════════════════════════════
   דף פירוט תפקיד
══════════════════════════════════════════════════ */
.role-header .header-inner {
  justify-content: space-between;
}

/* ── Hero של תפקיד ── */
.role-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}

.role-hero {
  text-align: center;
  margin-bottom: 48px;
  padding: 40px 32px;
  background: var(--dark-navy);
  border-radius: 16px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* ── Hero תפקיד — ללא overlay, gradient רק בתחתית ── */
.role-hero::before {
  display: none;
}

.role-hero > * {
  position: relative;
  z-index: 1;
}

/* כשיש תמונה — gradient עדין בתחתית בלבד */
.role-hero.has-image {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 280px;
  padding: 0;
  background-color: var(--dark-navy);
}

/* gradient רק ב-35% התחתונים — שאר התמונה חשופה לגמרי */
.role-hero.has-image::before {
  display: block;
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(
    to top,
    rgba(10, 28, 50, 0.72) 0%,
    rgba(10, 28, 50, 0.35) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
  border-radius: 0 0 16px 16px;
}

.role-hero.has-image .role-icon-large,
.role-hero.has-image .role-subtitle-detail {
  display: none;
}

.role-hero.has-image .role-title {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 0;
  padding: 20px 32px 24px;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  color: var(--white);
  text-shadow:
    0 2px 12px rgba(0,0,0,0.55),
    0 1px 3px rgba(0,0,0,0.4);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

.role-icon-large {
  font-size: 3.5rem;
  margin-bottom: 12px;
  line-height: 1;
}

.role-title {
  font-family: 'Karantina', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 10px;
}

.role-subtitle-bar {
  background: var(--dark-navy);
  padding: 14px 28px;
  border-radius: 0 0 12px 12px;
  margin-bottom: 36px;
  text-align: right;
}

.role-subtitle-detail {
  font-size: 1rem;
  color: var(--teal);
  font-weight: 600;
}

/* ── חלוקות תוכן ── */
.sections-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.content-section {
  background: var(--white);
  border-radius: var(--radius-section);
  box-shadow: 0 2px 8px rgba(14,40,65,0.07);
  overflow: hidden;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  cursor: pointer;
  user-select: none;
  background: var(--card-bg);
  transition: background var(--transition);
  border: none;
  width: 100%;
  text-align: right;
  font-family: 'Assistant', sans-serif;
}

.section-header:hover {
  background: #d9e8f5;
}

.section-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-navy);
  flex: 1;
  text-align: right;
}

.section-chevron {
  font-size: 0.85rem;
  color: var(--gray-text);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.content-section.open .section-chevron {
  transform: rotate(180deg);
}

.section-body {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
}

.content-section.open .section-body {
  max-height: 2000px;
  padding: 20px 24px 28px;
}

/* ── טקסט גוף ── */
.section-body p {
  font-size: 1rem;
  color: var(--body-text);
  line-height: 1.8;
}

/* ── רשימות ── */
.principles-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.principles-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--body-text);
}

.principles-list li::before {
  content: '◆';
  color: var(--green-accent);
  font-size: 0.7rem;
  margin-top: 5px;
  flex-shrink: 0;
}

/* ── פרומפטים ── */
.prompts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prompt-item {
  background: #f8f9fb;
  border-radius: 8px;
  border-right: 4px solid var(--blue-primary);
  padding: 16px 20px;
}

.prompt-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prompt-text {
  font-size: 0.93rem;
  color: var(--body-text);
  line-height: 1.75;
  white-space: pre-wrap;
  font-family: 'Assistant', sans-serif;
}

.prompt-copy-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-primary);
  background: none;
  border: 1px solid var(--blue-primary);
  border-radius: 6px;
  padding: 4px 12px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  font-family: 'Assistant', sans-serif;
}

.prompt-copy-btn:hover {
  background: var(--blue-primary);
  color: var(--white);
}

.prompt-copy-btn.copied {
  background: var(--green-accent);
  border-color: var(--green-accent);
  color: var(--white);
}

/* ── ניווט תחתון ── */
.role-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.role-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--blue-primary);
  color: var(--blue-primary);
  font-family: 'Assistant', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.role-nav-btn:hover {
  background: var(--blue-primary);
  color: var(--white);
}

.back-home-btn {
  background: var(--dark-navy);
  border-color: var(--dark-navy);
  color: var(--white);
}

.back-home-btn:hover {
  background: #1a3d5c;
  border-color: #1a3d5c;
}

/* ── פוטר ── */
.site-footer {
  text-align: center;
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-light);
  font-size: 0.82rem;
  color: #aaa;
}

/* ══════════════════════════════════════════════════
   כפתור השוואה — דף ראשי
══════════════════════════════════════════════════ */
.compare-btn-wrap {
  display: flex;
  justify-content: center;
  padding: 36px 32px 0;
}

.compare-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark-navy);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-family: 'Assistant', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 14px rgba(14,40,65,0.18);
}

.compare-btn:hover {
  background: #1a3d5c;
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════
   קרוסלה + Single Post
══════════════════════════════════════════════════ */
.carousel-view {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 72px);
  background: #eef2f8;
}

/* ── רצועת thumbnails (sticky) ── */
.carousel-strip {
  position: sticky;
  top: 72px;
  z-index: 20;
  background: var(--dark-navy);
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding: 18px 32px;
  overflow-x: auto;
  justify-content: center;
  box-shadow: 0 3px 16px rgba(0,0,0,0.28);
  scrollbar-width: none;
}

.carousel-strip::-webkit-scrollbar { display: none; }

/* ── thumbnail בודד ── */
.carousel-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 12px;
  border-radius: 14px;
  border: 2px solid transparent;
  cursor: pointer;
  min-width: 96px;
  transition: transform 0.25s ease, opacity 0.25s ease, border-color 0.25s ease;
  opacity: 0.55;
  font-family: 'Assistant', sans-serif;
}

.carousel-thumb.active {
  border-color: rgba(255,255,255,0.7);
  opacity: 1;
  transform: translateY(-3px);
}

.carousel-thumb:hover:not(.active) {
  opacity: 0.82;
  transform: translateY(-2px);
}

.carousel-thumb-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.4);
  flex-shrink: 0;
}

.carousel-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.carousel-thumb-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  white-space: nowrap;
  line-height: 1.3;
}

/* ── אזור ה-single post ── */
.carousel-post-area {
  flex: 1;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 36px 32px 8px;
}

/* אנימציות מעבר */
.carousel-post-area.post-exit {
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

@keyframes cpostEnter {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.carousel-post-area.post-enter {
  animation: cpostEnter 0.38s ease forwards;
}

/* ── כפתורי ניווט תחתון ── */
.carousel-post-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 24px 32px 48px;
}

.carousel-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--blue-primary);
  color: var(--blue-primary);
  font-family: 'Assistant', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.carousel-nav-btn:hover:not(:disabled) {
  background: var(--blue-primary);
  color: var(--white);
}

/* ══════════════════════════════════════════════════
   Single Post (cpost)
══════════════════════════════════════════════════ */
.cpost {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(14,40,65,0.12);
}

/* ── Hero — תמונת רקע אופקית ── */
.cpost-hero {
  position: relative;
  min-height: 240px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* gradient בתחתית — כמו ה-hero בדף התפקיד */
.cpost-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(
    to top,
    rgba(10, 28, 50, 0.80) 0%,
    rgba(10, 28, 50, 0.40) 55%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

.cpost-hero-text {
  position: relative;
  z-index: 1;
  padding: 24px 40px 28px;
}

.cpost-title {
  font-family: 'Karantina', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
}

.cpost-subtitle {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* ── גריד סקשנים ── */
.cpost-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 32px 40px 40px;
  background: #f6f9fd;
}

.cpost-section {
  background: var(--white);
  border-radius: 12px;
  border-top: 3px solid var(--blue-primary);
  padding: 22px 24px;
  box-shadow: 0 2px 8px rgba(14,40,65,0.06);
}

/* Principles — full width */
.cpost-full {
  grid-column: 1 / -1;
}

.cpost-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  padding: 10px 20px;
  /* מתפשט לקצוות הכרטיס */
  margin: -22px -24px 16px;
  border-radius: 10px 10px 0 0;
}

.cpost-sec-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1); /* הופך לבן על רקע תכלת */
}

.cpost-sec-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.4px;
}

/* תוכן הסקשן — שימוש חוזר בסגנונות הקיימים */
.cpost-section-body .section-body {
  max-height: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

.cpost-section-body p {
  font-size: 0.92rem;
  line-height: 1.78;
  color: var(--body-text);
  margin: 0;
}

.cpost-section-body .principles-list li {
  font-size: 0.92rem;
}

.cpost-section-body .prompts-list {
  gap: 12px;
}

.cpost-section-body .prompt-item {
  font-size: 0.88rem;
}

/* ══════════════════════════════════════════════════
   רספונסיביות
══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .roles-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  /* שאלה — mobile */
  .hero-rotating-question {
    font-size: clamp(2rem, 7.5vw, 3rem);
    font-weight: 200;
  }

  .header-inner {
    padding: 14px 20px;
  }

  .site-nav-item {
    font-size: 0.88rem;
    padding: 5px 8px;
  }

  .site-nav-brand {
    font-size: 1.2rem;
  }

  .brand-logo-nav-img {
    height: 24px;
    max-width: 90px;
  }

  .role-content {
    padding: 0 8px 48px;
  }

  .role-hero {
    padding: 24px 12px;
    border-radius: 10px;
  }

  .section-header {
    padding: 14px 16px;
  }

  .content-section.open .section-body {
    padding: 16px 16px 22px;
  }

  .hero-main {
    height: 300px;
    border-radius: 0;
  }

  .hero-text-on-image {
    padding: 16px 20px 24px;
  }

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

  .card-image-wrap {
    height: 160px;
  }

  .card-name {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 10px 14px;
    gap: 8px;
  }

  .site-nav-item {
    font-size: 0.78rem;
    padding: 4px 5px;
  }

  .site-nav-brand {
    font-size: 1rem;
  }

  .site-nav-sep {
    padding: 0;
  }

  .brand-logo-nav-img {
    height: 20px;
    max-width: 70px;
  }

  .roles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 12px;
  }

  .role-nav {
    flex-direction: column;
    gap: 10px;
  }

  .role-nav-btn {
    width: 100%;
    justify-content: center;
  }

  .brand-logo {
    font-size: 1.7rem;
  }

  .brand-tagline {
    display: none;
  }
}

/* ══════════════════════════════════════════════════
   אנימציית כניסה
══════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.role-card {
  animation: fadeInUp 0.4s ease both;
}

.role-card:nth-child(1) { animation-delay: 0.05s; }
.role-card:nth-child(2) { animation-delay: 0.10s; }
.role-card:nth-child(3) { animation-delay: 0.15s; }
.role-card:nth-child(4) { animation-delay: 0.20s; }
.role-card:nth-child(5) { animation-delay: 0.25s; }
.role-card:nth-child(6) { animation-delay: 0.30s; }
.role-card:nth-child(7) { animation-delay: 0.35s; }

.content-section {
  animation: fadeInUp 0.35s ease both;
}

/* ══════════════════════════════════════════════════
   LANDING PAGE SECTIONS
══════════════════════════════════════════════════ */

/* ── משותף לכל הסקשנים ── */
.lp-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.lp-section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(15,158,213,0.1);
  border: 1px solid rgba(15,158,213,0.25);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.lp-tag-light {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
}

.lp-section-title {
  font-family: 'Karantina', sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  color: var(--dark-navy);
  line-height: 1.15;
  margin-bottom: 14px;
}

.lp-title-light {
  color: var(--white);
}

.lp-section-lead {
  font-size: 1.1rem;
  color: #5a6a7e;
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 0;
}

/* ══ סקשן 1: ערכים ══ */
.lp-values-section {
  background: #ffffff;
  padding: 88px 0 96px;
}

.lp-values-title {
  text-align: center;
  max-width: 100%;
}

.lp-values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.lp-value-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 28px 16px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

/* קו צבעוני תחתון — ישר, לפי צבע תפקיד */
.lp-value-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 0;
}

.lp-values-grid .lp-value-card:nth-child(1)::after { background: linear-gradient(90deg, #448BE3, #0F9ED5); }
.lp-values-grid .lp-value-card:nth-child(2)::after { background: linear-gradient(90deg, #0F9ED5, #0a7a9e); }
.lp-values-grid .lp-value-card:nth-child(3)::after { background: linear-gradient(90deg, #E97132, #f5a623); }
.lp-values-grid .lp-value-card:nth-child(4)::after { background: linear-gradient(90deg, #7030A0, #a855c8); }
.lp-values-grid .lp-value-card:nth-child(5)::after { background: linear-gradient(90deg, #A3B72B, #6d8a1a); }
.lp-values-grid .lp-value-card:nth-child(6)::after { background: linear-gradient(90deg, #E74C3C, #e91e8c); }

/* צבע אייקון וכותרת לפי צבע הסטריפ של הכרטיס */
.lp-values-grid .lp-value-card:nth-child(1) .lp-value-icon,
.lp-values-grid .lp-value-card:nth-child(1) .lp-value-title { color: #448BE3; }

.lp-values-grid .lp-value-card:nth-child(2) .lp-value-icon,
.lp-values-grid .lp-value-card:nth-child(2) .lp-value-title { color: #0F9ED5; }

.lp-values-grid .lp-value-card:nth-child(3) .lp-value-icon,
.lp-values-grid .lp-value-card:nth-child(3) .lp-value-title { color: #E97132; }

.lp-values-grid .lp-value-card:nth-child(4) .lp-value-icon,
.lp-values-grid .lp-value-card:nth-child(4) .lp-value-title { color: #7030A0; }

.lp-values-grid .lp-value-card:nth-child(5) .lp-value-icon,
.lp-values-grid .lp-value-card:nth-child(5) .lp-value-title { color: #A3B72B; }

.lp-values-grid .lp-value-card:nth-child(6) .lp-value-icon,
.lp-values-grid .lp-value-card:nth-child(6) .lp-value-title { color: #E74C3C; }

.lp-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(68,139,227,0.13);
}

.lp-value-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
}

.lp-value-icon svg {
  width: 100%;
  height: 100%;
}

.lp-value-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.3;
}

.lp-value-text {
  font-size: 0.95rem;
  color: #5a6a7e;
  line-height: 1.8;
}

/* ══ סקשן 2: מחקר ══ */
.lp-research-section {
  background: #ffffff;
  padding: 88px 0 96px;
}

.lp-research-layout {
  display: flex;
  gap: 64px;
  align-items: center;
}

.lp-research-text-col {
  flex: 1;
}

.lp-research-img-col {
  flex: 0 0 400px;
}

.lp-research-img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  display: block;
}

.lp-research-body {
  font-size: 1.05rem;
  color: var(--body-text);
  line-height: 1.85;
  margin-bottom: 20px;
}

.lp-research-credit {
  font-size: 0.82rem;
  color: #8a9ab0;
  margin-top: 24px;
}

.lp-research-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(15,158,213,0.35);
  transition: color 0.2s, border-color 0.2s;
}

.lp-research-link:hover {
  color: var(--blue-primary);
  border-color: var(--blue-primary);
}

/* ══ ציטוט Mollick ══ */
.lp-quote-strip {
  background: var(--dark-navy);
  padding: 72px 0 80px;
  text-align: center;
}

.lp-quote-text {
  direction: ltr;
  unicode-bidi: embed;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 20px;
  font-weight: 400;
}

.lp-quote-source {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ══ סקשן 3: Human in the Loop ══ */
.lp-hitl-section {
  background: #f4f8fd;
  padding: 88px 0 96px;
}

.lp-hitl-section .lp-section-title,
.lp-hitl-section .lp-section-lead,
.lp-models-section .lp-section-title,
.lp-models-section .lp-section-lead {
  text-align: center;
  margin-right: auto;
  margin-left: auto;
}

.lp-hitl-story {
  max-width: 720px;
  margin: 20px auto 44px;
  font-size: 1rem;
  color: #5a6a7e;
  line-height: 1.85;
  text-align: center;
}

.lp-hitl-story strong {
  color: var(--dark-navy);
  font-weight: 700;
}

.lp-hitl-grid {
  display: flex;
  gap: 0;
  align-items: stretch;
  margin: 44px auto 0;
  max-width: 860px;
}

.lp-hitl-col {
  flex: 1;
  background: var(--white);
  border-radius: 0;
  padding: 0 32px 40px;
  box-shadow: 0 4px 20px rgba(14,40,65,0.08);
  overflow: hidden;
}

.lp-hitl-student {
  border-radius: 0;
}

.lp-hitl-ai {
  border-radius: 0;
}

.lp-hitl-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 -32px 28px;
  padding: 18px 32px;
  background: var(--teal);
}

.lp-hitl-ai .lp-hitl-col-header {
  background: var(--teal);
}

.lp-hitl-icon {
  width: 26px;
  height: 26px;
  color: var(--white);
  flex-shrink: 0;
}

.lp-hitl-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-hitl-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.97rem;
  color: var(--body-text);
  line-height: 1.5;
}

.lp-hitl-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

.lp-hitl-ai .lp-hitl-list li::before {
  background: var(--teal);
}

.lp-hitl-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  flex-shrink: 0;
}

.lp-hitl-vs {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark-navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ══ סקשן 4: ששת המודלים ══ */
.lp-models-section {
  background: var(--white);
  padding: 88px 0 96px;
}

.lp-models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}

.lp-model-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(14,40,65,0.09);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid #e8eef6;
}

.lp-model-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(14,40,65,0.16);
}

.lp-model-card:focus {
  outline: 3px solid var(--blue-primary);
  outline-offset: 3px;
}

.lp-model-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 20px 18px;
}

.lp-model-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(255,255,255,0.5);
  flex-shrink: 0;
}

.lp-model-name {
  font-family: 'Karantina', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.lp-model-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lp-model-subtitle {
  font-size: 1rem;
  color: #5a6a7e;
  line-height: 1.55;
}

.lp-model-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  transition: letter-spacing var(--transition);
}

.lp-model-card:hover .lp-model-cta {
  letter-spacing: 0.3px;
}

.lp-models-cta {
  display: flex;
  justify-content: center;
  margin-top: 52px;
}

/* ── פוטר דף נחיתה ── */
.lp-footer {
  background: var(--white);
  border-top: 1px solid #e4ecf5;
  padding: 32px 40px;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.lp-footer-feedback-btn {
  display: inline-block;
  padding: 10px 22px;
  background: var(--dark-navy, #0E2841);
  color: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s;
  flex-shrink: 0;
}

.lp-footer-feedback-btn:hover {
  background: #1a3d5c;
}

/* ══════════════════════════════════════════════════
   רספונסיביות — LP
══════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .lp-inner {
    padding: 0 20px;
  }

  .lp-values-section,
  .lp-research-section,
  .lp-hitl-section,
  .lp-models-section {
    padding: 64px 0 72px;
  }

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

  .lp-research-layout {
    flex-direction: column;
    gap: 36px;
  }

  .lp-research-img-col {
    flex: 0 0 auto;
    width: 100%;
  }

  .lp-hitl-grid {
    flex-direction: column;
    gap: 16px;
  }

  .lp-hitl-divider {
    width: auto;
    height: 40px;
  }

  .lp-models-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Hero */
  .hero-landing {
    min-height: 100vh;
    min-height: 100svh;
    padding: 80px 20px 48px;
    background-position: 8% center;
  }

  .hero-question-wrap {
    min-height: 120px;
  }

  .hero-rotating-question {
    font-size: clamp(2rem, 6.5vw, 2.8rem);
    font-weight: 200;
  }

  .hero-brand-sentence {
    font-size: clamp(1rem, 3.5vw, 1.3rem);
  }

  .hero-prizmind,
  .hero-brand-suffix {
    font-size: clamp(2.2rem, 8.5vw, 3.2rem);
  }

  /* טבלת השוואה — mobile */
  .map-scroll-hint {
    display: block;
  }

  .map-model-avatar {
    width: 38px;
    height: 38px;
  }

  .map-copy-btn {
    padding: 10px 16px;
    font-size: 0.82rem;
    min-height: 44px;
  }

  /* סגירת רווח בין header ל-strip במובייל */
  .carousel-strip {
    top: 52px;
  }

  .carousel-view {
    min-height: calc(100vh - 52px);
  }

  /* Carousel nav — מפה בשורה נפרדת */
  .carousel-post-nav {
    flex-wrap: wrap;
    padding: 20px 16px 40px;
    gap: 12px;
  }

  .carousel-map-btn {
    order: -1;
    width: 100%;
    justify-content: center;
  }

  /* Thumbnails — touch targets */
  .carousel-thumb {
    min-width: 68px;
    min-height: 56px;
    padding: 8px 8px 10px;
  }

  /* עמודי דגמים — צמצום שוליים */
  .carousel-post-area {
    padding: 16px 8px 8px;
  }

  .cpost-hero-text {
    padding: 16px 16px 20px;
  }

  /* עמודי דגמים — כל שדה בשורה מלאה */
  .cpost-sections {
    grid-template-columns: 1fr;
    padding: 12px 10px 24px;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .carousel-strip {
    top: 44px;
  }

  .carousel-view {
    min-height: calc(100vh - 44px);
  }

  .lp-values-grid {
    grid-template-columns: 1fr;
  }

  .lp-models-grid {
    grid-template-columns: 1fr;
  }

  .lp-hitl-col {
    padding: 24px 20px 28px;
  }

  .hero-rotating-question {
    font-size: clamp(1.9rem, 8vw, 2.5rem);
    font-weight: 200;
  }

  .hero-prizmind,
  .hero-brand-suffix {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }

  .hero-brand-sentence {
    font-size: clamp(0.95rem, 4vw, 1.3rem);
  }
}

/* ══════════════════════════════════════════════════
   מפת השוואת הדגמים
══════════════════════════════════════════════════ */
.model-map-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.model-map-heading {
  text-align: right;
  margin-bottom: 36px;
}

.model-map-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--dark-navy);
  font-weight: 800;
  margin-bottom: 6px;
}

.model-map-subtitle {
  font-size: 1rem;
  color: var(--gray-text);
}

.model-map-table-wrap {
  overflow-x: auto;
  border-radius: 14px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.10);
  position: relative;
}

/* gradient בצד שמאל — רמז גלילה */
.model-map-table-wrap::after {
  content: '';
  display: none;
  position: sticky;
  left: 0;
  top: 0;
  bottom: 0;
  width: 32px;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0.85), transparent);
  pointer-events: none;
  z-index: 5;
  border-radius: 0 0 14px 14px;
}

.model-map-table {
  width: 100%;
  border-collapse: collapse;
  direction: rtl;
  font-family: 'Assistant', sans-serif;
}

/* ── עמודות כותרת ── */
.map-th-label {
  min-width: 100px;
  width: 100px;
  padding: 14px 12px;
  background: #0a1e33;
  position: sticky;
  right: 0;
  z-index: 2;
}

.map-th-model {
  min-width: 165px;
  padding: 18px 12px 14px;
  background: var(--dark-navy);
  text-align: center;
  vertical-align: bottom;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.map-model-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 8px;
  border: 2px solid rgba(255,255,255,0.4);
  flex-shrink: 0;
}

.map-model-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.map-model-name {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  border-bottom: 3px solid var(--role-color);
  padding-bottom: 4px;
  white-space: nowrap;
}

/* ── שורות נתונים ── */
.map-row:nth-child(odd)  { background: #ffffff; }
.map-row:nth-child(even) { background: #f5f8fc; }

.map-td-label {
  background: var(--dark-navy);
  color: var(--white);
  vertical-align: middle;
  white-space: normal;
  position: sticky;
  right: 0;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0;
}

.map-td-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 14px 12px;
  height: 100%;
  gap: 4px;
}

.map-row-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  flex-shrink: 0;
}

.map-row-icon svg {
  width: 18px;
  height: 18px;
  stroke: rgba(255,255,255,0.85);
}

.map-row-label {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
}

/* שורת פרומפט לדוגמא */
.map-row-prompt .map-td-label {
  background: #0a1e33;
}

.map-row-prompt .map-td-cell {
  vertical-align: top;
  padding: 14px 16px;
}

.map-prompt-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-prompt-preview {
  font-size: 0.8rem;
  color: #5a6a7e;
  line-height: 1.6;
  margin: 0;
}

.map-copy-btn {
  display: inline-block;
  align-self: flex-start;
  background: var(--teal);
  color: var(--white);
  border: none;
  font-family: 'Assistant', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
  min-height: 36px;
}

.map-copy-btn:hover {
  opacity: 0.85;
}

/* רמז גלילה — מובייל בלבד */
.map-scroll-hint {
  display: none;
  text-align: center;
  font-size: 0.82rem;
  color: #8a9ab0;
  margin-top: 10px;
  direction: rtl;
}

.map-td-cell {
  padding: 16px 16px;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--body-text);
  vertical-align: top;
  border-right: 1px solid #e4ecf5;
  border-top: 1px solid #e4ecf5;
}

.map-td-cell::before {
  content: '';
  display: block;
  height: 2px;
  background: var(--role-color);
  opacity: 0.25;
  margin-bottom: 10px;
  border-radius: 2px;
}

/* כפתור מפה בניווט הקרוסלה */
.carousel-map-btn {
  background: var(--dark-navy);
  color: var(--white);
  border-color: var(--dark-navy);
}

.carousel-map-btn:hover {
  background: #1a3a5c;
  border-color: #1a3a5c;
  color: var(--white);
}

@media (max-width: 768px) {
  .model-map-wrapper {
    padding: 32px 0 60px;
  }

  /* רמז גלילה — מופיע במובייל */
  .model-map-table-wrap::after {
    display: block;
  }

  /* עמודת רובריקה — אייקון בלבד, מינימלית */
  .map-th-label {
    min-width: 40px;
    width: 40px;
    padding: 10px 6px;
  }

  .map-td-label {
    min-width: 40px;
    width: 40px;
    padding: 10px 6px;
  }

  .map-td-inner {
    flex-direction: column;
    gap: 2px;
    align-items: center;
  }

  /* מסתיר טקסט רובריקה, משאיר רק אייקון */
  .map-row-label {
    display: none;
  }

  .map-row-icon {
    width: 26px;
    height: 26px;
    margin-left: 0;
  }

  .map-row-icon svg {
    width: 26px;
    height: 26px;
  }

  /* עמודות תפקיד */
  .map-th-model {
    min-width: 120px;
    padding: 10px 8px;
  }

  .map-td-cell {
    padding: 10px 8px;
    font-size: 0.79rem;
  }

  .map-model-name {
    font-size: 0.72rem;
  }

  .map-model-avatar {
    width: 36px;
    height: 36px;
  }

  .map-copy-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
    min-height: 40px;
  }

  /* scroll-hint — מוצג */
  .map-scroll-hint {
    display: block;
    font-size: 0.8rem;
    margin-top: 8px;
  }
}

/* ══════════════════════════════════════════════════
   קרוסלה — טבלת השוואה במובייל
══════════════════════════════════════════════════ */
.mm-carousel-wrapper {
  width: 100%;
  overflow: hidden;
  direction: rtl;
}

.mm-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 12px;
  padding: 4px 16px 16px;
}

.mm-carousel-track::-webkit-scrollbar {
  display: none;
}

.mm-carousel-card {
  flex: 0 0 calc(100vw - 48px);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 3px 14px rgba(14,40,65,0.1);
  overflow: hidden;
}

.mm-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--dark-navy);
  color: var(--white);
}

.mm-card-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.mm-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.mm-card-row {
  border-top: 1px solid #e4ecf5;
  padding: 12px 16px;
}

.mm-card-row:first-of-type {
  border-top: none;
}

.mm-row-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #8a9ab0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.mm-row-label svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.mm-row-content {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--body-text);
}

/* ניווט קרוסלה */
.mm-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.mm-carousel-arrow {
  background: none;
  border: 1.5px solid #c5d3e0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--dark-navy);
  transition: background 0.15s, border-color 0.15s;
  line-height: 1;
  flex-shrink: 0;
}

.mm-carousel-arrow:hover {
  background: #e4ecf5;
  border-color: var(--dark-navy);
}

.mm-carousel-dots {
  display: flex;
  gap: 7px;
  align-items: center;
}

.mm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c5d3e0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.mm-dot.active {
  background: var(--dark-navy);
  transform: scale(1.3);
}
