/* ==========================================================================
   SmartLeads 1-to-1 Design Replica for "השקעות בלי חליפות" - נדב מיכאלי
   Exact Colors, Typography (Heebo), Grid, Markers, Pill Badges & Layout
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;500;700;800;900&display=swap');

:root {
  /* SmartLeads-modeled Color Palette (accent color: green, not blue) */
  --bg-main: #F5F5F5;
  --bg-white: #FFFFFF;
  --bg-dark-section: #1E1E1E;
  --bg-dark-card: #2D2D2D;

  /* SmartLeads' own leading accent - a light, textual, professional-financial blue. */
  --blue-primary: #5C9DF2;
  --blue-hover: #3D7BD9;
  --blue-light-bg: #EAF2FE;

  /* Textured version of the brand blue — soft highlight + shadow blobs over a
     diagonal gradient, so solid blue fills read as a material, not a flat
     color swatch. Used on buttons, banners and other solid-blue surfaces. */
  --blue-primary-texture:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.14), transparent 45%),
    radial-gradient(circle at 82% 85%, rgba(0, 0, 0, 0.2), transparent 55%),
    linear-gradient(135deg, #7BB4F7 0%, #5C9DF2 45%, #4586DD 100%);

  --red-marker: #EA3E4E;
  --yellow-marker-bg: rgba(255, 228, 77, 0.45);

  --text-dark: #0D0D0D;
  --text-muted: #555555;
  --text-light: #FFFFFF;

  /* Font & Radius */
  --font-main: 'Heebo', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 18px 44px rgba(0, 0, 0, 0.22);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  direction: rtl;
  text-align: right;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.container.small {
  max-width: 920px;
}

.container.large {
  max-width: 1220px;
}

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

/* Exact SmartLeads Markers & Highlights */
.yellow-marker {
  background-image: linear-gradient(rgba(255, 228, 77, 0.45), rgba(255, 228, 77, 0.45));
  background-repeat: no-repeat;
  background-position: center 60%;
  background-size: 100% 80%;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  display: inline;
}

.red-marker {
  color: var(--red-marker);
  border-bottom: 3px solid var(--red-marker);
  padding-bottom: 0;
  line-height: 1.15;
  font-weight: 900;
  display: inline-block;
}

.red-text {
  color: var(--red-marker);
  font-weight: 900;
}

.pain-section-light .red-marker {
  border-bottom: none;
  padding-bottom: 0;
}

.blue-pill-badge {
  background: var(--blue-primary-texture);
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  padding: 4px 18px;
  border-radius: var(--radius-sm);
  display: inline-block;
  font-weight: 900;
}

.extra-big-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Buttons — pill-shaped, modeled on SmartLeads, with smooth hover/click motion */
.blue-round-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--blue-primary-texture);
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  font-size: 1.3rem;
  font-weight: 900;
  padding: 18px 42px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(92, 157, 242, 0.35);
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.blue-round-button:hover {
  filter: brightness(0.92);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(92, 157, 242, 0.45);
}

.blue-round-button:active {
  transform: translateY(-1px) scale(0.98);
}

.dark-round-button {
  background-color: #1E1E1E;
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 900;
  padding: 16px 38px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.dark-round-button:hover {
  background-color: #000000;
  transform: translateY(-3px);
}

.dark-round-button:active {
  transform: translateY(-1px) scale(0.98);
}

/* Continuous "glint" sweep — like a shining blade — shared by every primary
   submit/CTA button, not just the hero's */
.shine-btn {
  position: relative;
  overflow: hidden;
}

.shine-btn::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: heroCtaShine 3.2s ease-in-out infinite;
}

@keyframes heroCtaShine {
  0% { left: -60%; }
  35% { left: 130%; }
  100% { left: 130%; }
}

@media (prefers-reduced-motion: reduce) {
  .shine-btn::after { animation: none; display: none; }
}

/* ===== HERO SECTION — rounded framed panel with a light-center vignette ===== */
.hero-section-outer {
  background: var(--bg-main);
  padding: 28px 0;
}

.hero-section-dark {
  position: relative;
  width: 94%;
  max-width: 1320px;
  margin: 0 auto;
  border-radius: 36px;
  background: radial-gradient(ellipse at 50% 38%, #6B6B6B 0%, #444444 55%, #262626 100%);
  padding: 56px 0 56px;
  text-align: center;
}

.hero-top-banner {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #FFFFFF;
  color: var(--text-dark);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 16px 34px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 90%;
  text-align: center;
  z-index: 3;
}

.hero-brandmark {
  position: absolute;
  top: 28px;
  right: 28px;
  font-weight: 900;
  font-size: 1.25rem;
  color: #FFFFFF;
  z-index: 3;
}

.hero-brandmark-underline {
  display: inline-block;
  border-bottom: 3px solid var(--blue-primary);
  padding-bottom: 2px;
}

.hero-headline-wrap {
  max-width: 980px;
  margin: 28px auto 0;
  padding: 0 20px;
}

.hero-headline-dark {
  font-size: 2.7rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 18px;
  white-space: normal;
}

.headline-highlight {
  background: var(--blue-primary-texture);
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  padding: 2px 14px;
  border-radius: 8px;
  white-space: nowrap;
  display: inline-block;
}

.hero-headline-dark .headline-highlight {
  transform: rotate(-1.5deg) translateY(25%);
  font-size: 0.92em;
}

.hero-sub-dark {
  font-size: 1.28rem;
  color: #FFFFFF;
  font-weight: 600;
  max-width: 660px;
  margin: 0 auto;
  transform: translateY(15%);
}

/* Composed hero visual: profile portrait + brand mascot, side by side (not overlapping) */
.hero-visual-composition {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 48px auto 0;
}

.hero-mascot {
  width: 230px;
  height: auto;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.45));
}

.hero-profile-frame {
  width: 230px;
  height: 230px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #FFFFFF;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 0 3px var(--blue-primary);
}

.hero-profile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

@media (max-width: 640px) {
  .hero-visual-composition {
    gap: 16px;
  }
  .hero-profile-frame {
    width: 170px;
    height: 170px;
  }
  .hero-mascot {
    width: 170px;
  }
}

.hero-cta {
  width: auto;
  display: inline-flex;
  margin-top: 40px;
}

@media (max-width: 640px) {
  .hero-headline-dark { font-size: 2.1rem; }
  .hero-brandmark { font-size: 1.05rem; top: 18px; right: 18px; }
  .hero-top-banner { font-size: 0.92rem; padding: 12px 22px; }
}

/* Hero Video / Photo Wrapper with Floating Proof (SmartLeads Style) */
.hero-video-wrapper {
  background: #1E1E1E;
  border-radius: var(--radius-lg);
  padding: 16px;
  max-width: 820px;
  margin: 0 auto 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
  position: relative;
}

.video-tagline {
  background: var(--blue-primary-texture);
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 900;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.video-frame-placeholder {
  width: 100%;
  height: 400px;
  background: #2D2D2D;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.hero-social-proof-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-profiles {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-muted);
}

.avatars-flex {
  display: flex;
}
.avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  background: var(--blue-primary);
  margin-right: -10px;
}

/* ===== SOCIAL PROOF NUMBER GRID (Exact SmartLeads Style) ===== */
.light-gray-section {
  background-color: var(--bg-main);
  padding: 50px 0;
  border-bottom: 1px solid #EAEAEA;
}

.social-proof-number-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background-color: rgba(45, 45, 45, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.social-proof-number-block {
  background-color: #F5F5F5;
  padding: 26px 16px;
  text-align: center;
}

.social-proof-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--blue-primary);
  line-height: 1.1;
}

.social-proof-number-block div:not(.social-proof-number) {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== DARK SECTION (Pain & Agitation) ===== */
.dark-section {
  background-color: var(--bg-dark-section);
  color: #FFFFFF;
  padding: 48px 0;
}

.pains-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.dark-section h2 {
  font-size: 2.7rem;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.2;
}

.dark-section p {
  font-size: 1.18rem;
  color: #DDDDDD;
  margin-bottom: 18px;
  line-height: 1.7;
}

.graphic-box-dark {
  background: var(--bg-dark-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid #3A3A3F;
}

/* ===== WHITE SECTION ("BUT THAT'S NOT YOUR FAULT") ===== */
.white-section {
  background-color: var(--bg-white);
  padding: 48px 0;
  color: var(--text-dark);
}

.white-section h2,
.light-gray-section h2 {
  font-size: 2.7rem;
  font-weight: 900;
  margin-bottom: 20px;
}

.white-section p {
  font-size: 1.18rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Exact SmartLeads Blue List Blocks Stack (1-2-3-4 Steps & Domains) */
.blue-list-blocks-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 820px;
  margin: 36px auto 0;
}

.blue-list-block {
  background: var(--blue-primary-texture);
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  padding: 18px 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.25rem;
  font-weight: 800;
}

.blue-list-icon {
  width: 28px;
  height: 28px;
  background: #FFFFFF;
  color: var(--blue-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Domains Grid Pill Layout */
.domains-list-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 940px;
  margin: 36px auto 0;
}

.domains-list-wrapper .blue-list-block {
  padding: 12px 24px;
  font-size: 1.08rem;
  width: auto;
  box-shadow: 0 4px 15px rgba(76, 133, 246, 0.25);
}

/* Case Study Blocks (SmartLeads Style) */
.case-studies-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.case-study-block {
  background-color: var(--bg-white);
  border: 2px solid var(--blue-primary);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow-card);
}

.case-study-profile {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

/* FLOATING BLUE FORM WRAPPER (SmartLeads Exact Style) */
.half-dark-section {
  background-color: var(--bg-dark-section);
  padding: 100px 0;
}

.blue-form-wrapper {
  background: var(--blue-primary-texture);
  border-radius: var(--radius-md);
  padding: 56px 40px;
  max-width: 860px;
  margin: 0 auto;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.form-header {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.2;
}

.lead-form-grid {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 18px;
}

.lead-consent-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto 16px;
  text-align: right;
}

.lead-consent-row input[type="checkbox"] {
  margin-top: 4px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--blue-primary);
  cursor: pointer;
}

.lead-consent-row label {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
  cursor: pointer;
}

.lead-consent-row label a {
  color: var(--blue-primary);
  font-weight: 700;
  text-decoration: underline;
}

/* Wraps each input so a real, consistently-positioned, colored required
   asterisk can sit inside the field — a native placeholder string can't have
   part of it colored differently, which is why "* שם מלא" used to render
   inconsistently between RTL and the dir="ltr" phone field. */
.field-wrap {
  position: relative;
  flex: 1 1 240px;
  display: block;
}

.field-wrap::before {
  content: '*';
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--red-marker);
  font-weight: 900;
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 1;
}

.round-text-field {
  width: 100%;
  padding: 18px 30px 18px 24px;
  border-radius: var(--radius-pill);
  border: none;
  font-family: var(--font-main);
  font-size: 1.1rem;
  outline: none;
  font-weight: 700;
}

.round-text-field:focus-visible {
  outline: 3px solid var(--blue-primary) !important;
  outline-offset: 2px !important;
}

/* Distinguished callout box for highlighted single-idea statements inside a
   larger paragraph block — modeled on the reference site's quote boxes:
   subtle background, colored accent border, no shouting colors or weight. */
.callout-box {
  font-weight: 700;
  background: #FFFFFF;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border-right: 4px solid var(--blue-primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  margin: 0 -12px;
}

/* Specificity fix: ".white-section p" elsewhere sets a muted gray color that
   otherwise wins over ".callout-box" and washes the text out. */
.white-section p.callout-box,
.light-gray-section p.callout-box,
.dark-section p.callout-box {
  color: var(--text-dark);
}

/* Variant with brand-blue text on a plain white background */
.callout-box-blue {
  background: #FFFFFF;
}

.light-gray-section p.callout-box.callout-box-blue,
.white-section p.callout-box.callout-box-blue,
.dark-section p.callout-box.callout-box-blue {
  color: var(--blue-primary);
}

/* Quote-card structure: generous padding, centered, relaxed line-height, and
   a big decorative quotation mark in the corner — same organization as the
   reference card, independent of this box's own colors. */
.callout-box-quote {
  position: relative;
  text-align: center;
  border-right: none;
  padding: 40px 44px;
  line-height: 1.7;
  overflow: hidden;
}

.callout-box-quote::before {
  content: '"';
  position: absolute;
  top: -30px;
  right: 16px;
  font-size: 7rem;
  font-weight: 900;
  font-family: Georgia, serif;
  line-height: 1;
  color: currentColor;
  opacity: 0.12;
  pointer-events: none;
}

.form-footer {
  display: inline-block;
  background: #1E1E1E;
  color: #FFFFFF;
  padding: 8px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 800;
  margin-top: 16px;
}

/* FAQ DARK ACCORDION BOXES (SmartLeads Exact Style) */
.faq-dark-box {
  background-color: var(--bg-dark-section);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
}

.faq-dark-btn {
  width: 100%;
  padding: 22px 28px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  cursor: pointer;
  text-align: right;
  transition: background-color 0.2s ease;
}

.faq-dark-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-arrow {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--blue-primary);
  transition: transform 0.3s ease;
}

.faq-dark-box.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-dark-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 28px;
  color: #CCCCCC;
  font-size: 1.12rem;
  line-height: 1.7;
}

/* Explicit — .white-section p elsewhere sets a dark gray color that would otherwise
   win by specificity and make the answer text unreadable on this dark background. */
.faq-dark-content p {
  color: #CCCCCC;
}

.faq-dark-box.active .faq-dark-content {
  padding: 16px 28px 26px;
  max-height: 500px;
  border-top: 1px solid #333;
}

/* FOOTER */
.site-footer {
  background-color: #111113;
  padding: 40px 0;
  text-align: center;
  color: #888888;
  font-size: 0.95rem;
}

.site-footer-link {
  color: var(--blue-primary);
  text-decoration: underline;
  font-weight: 700;
}

/* Responsive */
@media (max-width: 900px) {
  .pains-grid { grid-template-columns: 1fr; }
  .case-study-block { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .blue-round-button { font-size: 1.1rem; padding: 16px 24px; }
  .lead-form-grid { flex-direction: column; }
  .field-wrap { flex: 1 1 auto; width: 100%; }
}

/* ===== CLEARLEE-AI STYLE HERO CIRCLE AVATAR ===== */
.hero-avatar-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 24px;
}

.hero-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 5px solid var(--blue-primary);
  box-shadow: 0 16px 40px rgba(76, 133, 246, 0.35);
  background-color: var(--blue-light-bg);
  display: block;
}

.hero-avatar-badge {
  position: absolute;
  top: 8px;
  right: -20px;
  background: #FFFFFF;
  border: 2px solid var(--blue-primary);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 0.88rem;
  padding: 6px 14px;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transform: rotate(-6deg);
  white-space: nowrap;
  z-index: 5;
}

/* ===== QUOTE CARDS (Buffett / Gates / Kiyosaki) — dark gradient card, overlapping portrait ===== */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

@media (max-width: 900px) {
  /* Three cards stacked one under the other reads as a boring, endless list on
     a phone. A swipeable horizontal carousel (like a stories row) keeps the
     same cards but lets people flick between them — feels intentional, not
     like the desktop layout just got squeezed into a column. */
  .quotes-grid {
    display: flex;
    grid-template-columns: unset;
    max-width: 100%;
    margin: 0;
    padding: 0 20px 16px;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .quotes-grid::-webkit-scrollbar {
    display: none;
  }

  .quote-card {
    flex: 0 0 78%;
    max-width: 300px;
    scroll-snap-align: center;
  }
}

.quote-card {
  position: relative;
  padding-top: 207px; /* how much of the portrait peeks above the card (~90%) */
  text-align: center;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.quote-card-portrait {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 230px;
  height: 230px;
  object-fit: contain; /* shows the WHOLE image - nothing ever gets cut off */
  object-position: top center;
  background: transparent;
  z-index: 1; /* BEHIND the card - the opaque card hides its lower half naturally */
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, 0.4));
  transition: transform 0.3s ease;
}

.quote-card-portrait-buffett {
  transform: translateX(-50%) translateY(1%) scale(1.28);
}

.quote-card-portrait-gates {
  transform: translateX(-50%) translateY(4%);
}

/* Hover-lift only on devices with a real mouse — on touchscreens (mobile),
   a tap was triggering this "hover" and pushing the portrait's head up into
   the quote box above it, with no way to un-hover cleanly. */
@media (hover: hover) and (pointer: fine) {
  .quote-card:hover .quote-card-portrait {
    transform: translateX(-50%) translateY(-10px) scale(1.05);
  }

  .quote-card:hover .quote-card-portrait-buffett {
    transform: translateX(-50%) translateY(calc(1% - 10px)) scale(1.33);
  }

  .quote-card:hover .quote-card-portrait-gates {
    transform: translateX(-50%) translateY(calc(4% - 10px)) scale(1.05);
  }
}

.quote-card-body {
  position: relative;
  z-index: 2; /* IN FRONT of the portrait - covers its lower half completely */
  background: linear-gradient(160deg, #14243D 0%, #0D0D0D 100%);
  border: 1px solid transparent;
  border-radius: var(--radius-lg);
  padding: 32px 20px 24px;
  color: #FFFFFF;
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .quote-card:hover .quote-card-body {
    transform: translateY(-8px);
    border-color: rgba(92, 157, 242, 0.5);
    box-shadow: 0 0 34px rgba(92, 157, 242, 0.25);
  }
}

.quote-mark {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1;
  z-index: 3;
}

.quote-card-text {
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.6;
  color: #EDEDED;
  margin-bottom: 14px;
  flex: 1;
}

.quote-card-name {
  font-weight: 900;
  color: var(--blue-primary);
  font-size: 1rem;
  white-space: nowrap;
}

/* Cinematic entrance — bigger movement + scale, staggered per card */
.reveal-cinema {
  opacity: 0;
  transform: translateY(70px) scale(0.82);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-cinema.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-cinema:nth-child(1) { transition-delay: 0s; }
.reveal-cinema:nth-child(2) { transition-delay: 0.15s; }
.reveal-cinema:nth-child(3) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-cinema {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== PERFECT PHOTO CARDS (NO CROPPING, PROPER SIZING) ===== */
.aviad-photo-card {
  position: relative;
  width: 100%;
  max-width: 440px; /* Balanced card size */
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.08);
  background: #FFFFFF;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.aviad-photo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(92, 157, 242, 0.25);
}

.photo-card-large {
  max-width: 100%;
}

.aviad-photo-card img {
  width: 100%;
  height: auto;
  object-fit: contain; /* Never crop top/bottom of head */
  display: block;
  background-color: #FAFAFA;
}




/* ===== LECTURE MULTI-CARD MARQUEE CAROUSEL (thetip.co.il STYLE) ===== */
.lecture-slider-wrapper {
  position: relative;
  direction: ltr; /* RTL block boxes anchor to the right by default, which broke the -50% loop math */
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  overflow: hidden;
  padding: 10px 0 24px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.lecture-slider-track {
  display: flex;
  gap: 16px;
  align-items: center;
}

.lecture-slide {
  flex: 0 0 auto; /* width follows the image's own aspect ratio — never cropped */
  height: 220px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  background: var(--bg-white);
  border: 1px solid rgba(0,0,0,0.06);
  user-select: none;
}

/* Full, uncropped hover preview - like Instagram's long-press peek */
.lecture-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lecture-preview-overlay.active {
  opacity: 1;
}

.lecture-preview-overlay img {
  max-width: 58vw;
  max-height: 58vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.25s ease;
}

.lecture-preview-overlay.active img {
  transform: scale(1);
}

.lecture-slide-img-box {
  height: 100%;
  width: auto;
  overflow: hidden;
  position: relative;
  background: var(--bg-main);
}

.lecture-slide-img-box img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Instagram-style long-press focus: hovering one slide blurs its siblings and
   brings the hovered one forward, enlarged and sharp. */
/* Hover no longer scales the slide in place (the wrapper clips overflow for the
   marquee mask, so an enlarged slide would get cropped). Instead, hovering shows
   a full, uncropped preview in a fixed overlay - see .lecture-preview-overlay. */

.slide-caption-compact {
  padding: 14px 16px;
  text-align: right;
  background: #FFFFFF;
}

.slide-caption-compact-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slide-caption-compact-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive break points for the lecture marquee */
@media (max-width: 1024px) {
  .lecture-slide {
    height: 180px;
  }
}

@media (max-width: 640px) {
  .lecture-slide {
    height: 140px;
  }
  .slide-caption-compact {
    padding: 10px 12px;
  }
  .slide-caption-compact-title {
    font-size: 0.9rem;
  }
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: pointer;
}

.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.25s ease forwards;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  left: 24px;
  color: #FFF;
  font-size: 2.2rem;
  font-weight: 900;
  cursor: pointer;
  background: rgba(255,255,255,0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: var(--red-marker);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== LEAD MODAL — pops up over a blurred backdrop from the hero CTA ===== */
.lead-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 30, 45, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lead-modal-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease forwards;
}

.lead-modal-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 440px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: leadModalPop 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

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

.lead-modal-header {
  position: relative;
  background: var(--blue-primary-texture);
  padding: 22px 28px 18px;
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.lead-modal-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.lead-modal-header p {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.92;
  margin: 0;
  line-height: 1.4;
}

.lead-modal-close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.lead-modal-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.lead-modal-close::before,
.lead-modal-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: #FFFFFF;
}

.lead-modal-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.lead-modal-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.lead-modal-body {
  padding: 22px 26px 26px;
}

.lead-modal-body .lead-form-grid {
  flex-direction: column;
  margin-bottom: 0;
}

.lead-modal-body .field-wrap {
  flex: 1 1 auto;
  width: 100%;
}

.lead-modal-body .round-text-field {
  padding: 13px 30px 13px 18px;
  font-size: 0.95rem;
  background: var(--bg-main);
  border: 1px solid #C7C7C7;
  color: var(--text-dark);
}

.lead-modal-body .lead-banner-submit {
  padding: 13px 20px;
  font-size: 1rem;
}

@media (max-width: 480px) {
  .lead-modal-header {
    padding: 20px 20px 16px;
  }

  .lead-modal-body {
    padding: 20px 18px 22px;
  }
}

/* ===== ONBOARDING QUIZ — opens right after any lead form submits ===== */
.quiz-overlay {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 30, 45, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.quiz-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease forwards;
}

.quiz-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  animation: leadModalPop 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.quiz-header {
  position: relative;
  flex-shrink: 0;
  background: var(--blue-primary-texture);
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  padding: 26px 32px 20px;
  text-align: center;
}

.quiz-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.quiz-header p {
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.95;
  margin: 0;
  line-height: 1.5;
}

.quiz-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.quiz-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.quiz-close::before,
.quiz-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1.5px;
  background: #FFFFFF;
}

.quiz-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.quiz-close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.quiz-body {
  padding: 24px 28px 28px;
  overflow-y: auto;
}

.quiz-question {
  margin-bottom: 22px;
}

.quiz-question-label {
  display: block;
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.quiz-question-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  margin-top: -4px;
}

/* When the hint follows the 1-5 scale instead of preceding a pill group, it
   needs breathing room above it (not the tight -4px meant for right under a
   heading) so it reads at the same distance as the hints elsewhere. */
.quiz-scale + .quiz-question-hint {
  margin-top: 12px;
}

.quiz-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quiz-pill-group-col {
  flex-direction: column;
}

.quiz-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #E0E0E0;
  background: var(--bg-main);
  color: var(--text-dark);
  padding: 11px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.quiz-pill:hover {
  border-color: var(--blue-primary);
}

.quiz-pill input {
  accent-color: var(--blue-primary);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Checkboxes (the multi-select question) render square by default in every
   browser - style them to match the round radio look used everywhere else,
   since visually they should feel like the same control family. */
.quiz-pill input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 50%;
  border: 1.5px solid #B0B0B0;
  background: #FFFFFF;
  position: relative;
}

.quiz-pill input[type="checkbox"]:checked {
  border-color: var(--blue-primary);
  background: var(--blue-primary);
}

.quiz-pill input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  transform: translate(-50%, -50%);
}

.quiz-pill.is-selected {
  border-color: var(--blue-primary);
  background: var(--blue-light-bg);
  color: var(--blue-hover);
  box-shadow: 0 0 0 1px var(--blue-primary);
}

.quiz-other-input {
  margin-top: 10px;
}

.quiz-other-input .round-text-field {
  width: 100%;
  padding: 12px 18px;
  font-size: 0.92rem;
}

.quiz-textarea {
  width: 100%;
  border: 1.5px solid #E0E0E0;
  border-radius: var(--radius-md);
  background: var(--bg-main);
  padding: 14px 16px;
  font-family: var(--font-main);
  font-size: 0.92rem;
  color: var(--text-dark);
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease;
}

.quiz-textarea:focus {
  border-color: var(--blue-primary);
}

.quiz-scale {
  display: flex;
  gap: 8px;
}

.quiz-scale-btn {
  flex: 1;
  padding: 12px 0;
  border: 1.5px solid #E0E0E0;
  background: var(--bg-main);
  color: var(--text-dark);
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.quiz-scale-btn:hover {
  border-color: var(--blue-primary);
}

.quiz-scale-btn.is-selected {
  background: var(--blue-primary-texture);
  border-color: var(--blue-primary);
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.quiz-submit {
  width: 100%;
  margin-top: 4px;
}

.quiz-thankyou {
  text-align: center;
  padding: 20px 10px 10px;
}

.quiz-thankyou-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-light-bg);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.quiz-thankyou h3 {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.quiz-thankyou p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .quiz-header {
    padding: 20px 20px 16px;
  }

  .quiz-body {
    padding: 18px 18px 22px;
  }
}

/* ===== LECTURE CAROUSEL — INFINITE AUTO-MOVING MARQUEE ===== */
.lecture-slider-track {
  direction: ltr;
  animation: lectureMarquee 46s linear infinite;
  width: max-content;
}

.lecture-slider-wrapper:hover .lecture-slider-track {
  animation-play-state: paused;
}

@keyframes lectureMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .lecture-slider-track {
    animation-duration: 32s;
  }
}

/* ===== VIDEO TESTIMONIALS PLACEHOLDER ===== */
.video-placeholder-box {
  max-width: 640px;
  margin: 40px auto 0;
  padding: 50px 30px;
  border: 2px dashed #D5D5D5;
  border-radius: var(--radius-lg);
  text-align: center;
  background: var(--bg-main);
}

.video-placeholder-box p {
  color: var(--text-muted);
  font-weight: 700;
  text-align: center;
  margin: 0;
}

/* ===== FEEDBACK & PORTFOLIO COLLAGE GALLERIES — full images, never cropped ===== */
.collage-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px 6px;
  margin-top: 48px;
  padding: 16px 0;
}

.collage-card {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  padding: 8px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.collage-card:hover {
  border-color: var(--blue-primary);
  box-shadow: 0 16px 32px rgba(92, 157, 242, 0.3);
  z-index: 5;
}

.collage-card.a1 { transform: rotate(-3deg); margin: 0 -10px; }
.collage-card.a2 { transform: rotate(2deg); margin: 0 -10px; }
.collage-card.a3 { transform: rotate(-1.5deg); margin: 0 -10px; }

.collage-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 320px;
  max-height: 290px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.collage-row {
  margin-top: 10px;
}

.collage-row:first-child {
  margin-top: 0;
}

/* ===== PROCESS TIMELINE ("איך זה עובד") — connected steps instead of plain boxes ===== */
.process-timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 44px;
  bottom: 44px;
  right: 39px;
  width: 3px;
  background: linear-gradient(var(--blue-primary), #1E1E1E);
  z-index: 0;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.process-node {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--blue-primary-texture);
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(92, 157, 242, 0.4);
  border: 4px solid #FFFFFF;
  transition: transform 0.3s ease;
}

.process-step:hover .process-node {
  transform: scale(1.08);
}

.process-node-final {
  background: #1E1E1E;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.process-card {
  flex: 1;
  background: var(--bg-main);
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  text-align: right;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover .process-card {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(92, 157, 242, 0.22);
}

.process-tag {
  display: inline-block;
  background: var(--blue-primary);
  color: #FFFFFF;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-weight: 900;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.process-tag-dark {
  background: #1E1E1E;
}

.process-card h3 {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.process-card p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .process-step {
    gap: 14px;
  }
  .process-node {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    border-width: 3px;
  }
  .process-timeline::before {
    right: 21px;
  }
  .process-card {
    padding: 20px 18px;
  }
}

/* ===== FIT / NOT-FIT SECTION — big grid card + compact strip, no wasted empty space ===== */
.fit-card {
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  text-align: right;
  margin-bottom: 20px;
}

.fit-card-yes {
  /* Same brand texture, but with the bright highlight blob moved away from
     the top-right corner — this card's own heading sits right there, and the
     highlight was washing it out even with the text-shadow. */
  background:
    radial-gradient(circle at 30% 90%, rgba(255, 255, 255, 0.14), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(0, 0, 0, 0.22), transparent 55%),
    linear-gradient(135deg, #7BB4F7 0%, #5C9DF2 45%, #4586DD 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-card);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);
}

.fit-card-yes h3 {
  font-size: 1.7rem;
  font-weight: 900;
  margin-bottom: 22px;
}

.fit-list {
  list-style: none;
}

.fit-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 30px;
}

.fit-list-grid li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 12px;
}

.fit-icon {
  background: #FFFFFF;
  color: var(--blue-primary);
  text-shadow: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  line-height: 1;
  flex-shrink: 0;
}

.fit-card-no {
  background-color: var(--bg-dark-section);
  color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.fit-card-no h3 {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 18px;
}

.fit-list-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fit-list-row li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
  padding: 16px 20px;
  border-radius: var(--radius-md);
}

.fit-icon-no {
  background: var(--red-marker);
  color: #FFFFFF;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.75rem;
  flex-shrink: 0;
}

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

/* ===== PAIN SECTION — light background, bold red headline, marker highlights ===== */
.pain-section-light {
  background-color: var(--bg-white);
  padding: 48px 0;
  color: var(--text-dark);
  text-align: center;
}

.pain-headline {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--red-marker);
  margin-bottom: 32px;
  text-align: center;
  text-shadow: 0 4px 18px rgba(234, 62, 78, 0.3);
}

.pain-section-light p {
  font-size: 1.15rem;
  color: var(--text-dark);
  line-height: 1.85;
  margin-bottom: 20px;
  text-align: center;
}

/* ===== LEAD BANNER (Form 2 / Final CTA) — one row, light fields, accent button ===== */
.lead-banner-section {
  background-color: var(--bg-main);
  padding: 48px 0;
}

/* Same two-part structure as the popup modal: a textured-blue header banner
   with the title, then a plain white body with the form — so every lead form
   on the page (in-page and popup) shares one consistent, recognizable style. */
.lead-banner-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-card);
  border: 1px solid #EDEDED;
}

.lead-banner-header {
  background: var(--blue-primary-texture);
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  padding: 30px 36px 26px;
  text-align: center;
}

.lead-banner-body {
  padding: 32px 36px 40px;
}

.lead-banner-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.lead-banner-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0;
}

.mobile-line-break {
  display: inline;
}

@media (max-width: 768px) {
  .mobile-line-break {
    display: block;
  }
}

.lead-banner-title strong {
  color: #FFE9B8;
  font-weight: 900;
}

.lead-banner-card .lead-form-grid {
  align-items: center;
}

.lead-banner-card .round-text-field {
  background: var(--bg-main);
  border: 1px solid #C7C7C7;
  color: var(--text-dark);
}

.lead-banner-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue-primary-texture);
  color: #FFFFFF;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
  font-size: 1.15rem;
  font-weight: 900;
  padding: 16px 34px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: filter 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.lead-banner-submit .btn-arrow {
  display: inline-flex;
  align-items: center;
}

.lead-banner-submit:hover {
  filter: brightness(0.92);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(92, 157, 242, 0.4);
}

.lead-banner-submit:active {
  transform: translateY(-1px) scale(0.98);
}

/* ===== FEEDBACK SECTION — light gray, headline in blue banner, framed gallery ===== */
.feedback-section-dark {
  background: var(--bg-main);
  padding: 48px 0;
}

.feedback-frame,
.portfolio-frame {
  border: 1px solid #E5E5E5;
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  margin-top: 40px;
}

.feedback-frame {
  background: radial-gradient(ellipse at 50% 38%, #6B6B6B 0%, #444444 55%, #262626 100%);
}

/* Gentle focus-pop on hover, like the lecture slider but subtler - just a small
   lift, not a full-size preview. */
.feedback-frame .collage-card {
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feedback-frame:hover .collage-card {
  filter: blur(1.5px);
  opacity: 0.8;
}

.feedback-frame:hover .collage-card.a1:hover { transform: rotate(-3deg) scale(1.07); }
.feedback-frame:hover .collage-card.a2:hover { transform: rotate(2deg) scale(1.07); }
.feedback-frame:hover .collage-card.a3:hover { transform: rotate(-1.5deg) scale(1.07); }

.feedback-frame:hover .collage-card:hover {
  filter: none;
  opacity: 1;
  z-index: 10;
}

.portfolio-frame {
  background: #FFFFFF;
}

/* Some portfolio screenshots are themselves white, so a plain white card border
   isn't enough to separate them from the white frame - use a visible border and
   a stronger shadow for real depth. */
.portfolio-frame .collage-card {
  border: 1px solid #D8D8D8;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.feedback-headline {
  font-size: 1rem;
  margin: 0;
}

.feedback-headline .headline-highlight {
  font-size: 1.7rem;
  font-weight: 900;
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  white-space: normal;
  box-shadow: 0 10px 25px rgba(31, 138, 95, 0.35);
}

/* ===== SCROLL-REVEAL ANIMATION — subtle, one-time fade + rise ===== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(48px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== CARD-DEALING ANIMATION — collage cards "deal out" like a deck ===== */
.card-deal-trigger .collage-card {
  opacity: 0;
  transform: scale(0.25) rotate(0deg);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
  /* Promote each card to its own compositor layer so the browser can scale
     it (plus its box-shadow) as a single cached bitmap instead of
     re-rastering the blurred shadow on every intermediate frame - that
     re-rastering, multiplied across ~20 cards animating in a staggered
     burst, is what was making the reveal look laggy/delayed. */
  will-change: transform, opacity;
}

.card-deal-trigger .collage-card.dealt.a1 { opacity: 1; transform: rotate(-3deg) scale(1); }
.card-deal-trigger .collage-card.dealt.a2 { opacity: 1; transform: rotate(2deg) scale(1); }
.card-deal-trigger .collage-card.dealt.a3 { opacity: 1; transform: rotate(-1.5deg) scale(1); }

@media (prefers-reduced-motion: reduce) {
  .card-deal-trigger .collage-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}



/* ===== ACCESSIBILITY WIDGET ===== */
.a11y-toggle-btn {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1E7AB9;
  color: #FFFFFF;
  border: 4px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  box-shadow: 6px 8px 16px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s ease;
}

.a11y-toggle-btn:hover,
.a11y-toggle-btn:focus {
  border-color: orangered;
}

.a11y-panel {
  position: fixed;
  top: 50%;
  left: 78px;
  transform: translateY(-50%);
  width: 460px;
  max-width: calc(100vw - 40px);
  max-height: 92vh;
  overflow-y: auto;
  background: #FFFFFF;
  border: 6px solid #EFEFEF;
  border-radius: 0;
  box-shadow: 0 2px 12px 1px rgba(36, 36, 36, 0.33);
  z-index: 10000;
  direction: rtl;
  font-family: Arial, Helvetica, sans-serif;
}

.a11y-panel[hidden] {
  display: none;
}

.a11y-panel-header {
  background: #1E7AB9;
  color: #FFFFFF;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1;
}

.a11y-panel-title {
  font-weight: 400;
  font-size: 20px;
  color: #fff;
  margin: 0;
  padding: 0;
}

.a11y-panel-close {
  background: none;
  color: transparent;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 0;
  cursor: pointer;
  font-size: 0;
  flex-shrink: 0;
  position: relative;
  transition: none;
}

.a11y-panel-close::before,
.a11y-panel-close::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  position: absolute;
  top: 11px;
  left: 0;
}

.a11y-panel-close::before {
  transform: rotate(45deg);
}

.a11y-panel-close::after {
  transform: rotate(-45deg);
}

.a11y-panel-body {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.a11y-row {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 4px 16px;
  border-bottom: 1px solid rgba(36, 36, 36, 0.1);
  background: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.a11y-row:last-child {
  border-bottom: 0;
}

.a11y-row:hover {
  background: whitesmoke;
}

.a11y-row-label {
  flex-grow: 1;
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 22px;
  color: #333333;
  text-align: right;
}

.a11y-row-icon {
  color: #333333;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 8px;
}

.a11y-row-icon svg {
  width: 18px;
  height: 18px;
}

.a11y-switch {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 500px;
  background: rgba(36, 36, 36, 0.22);
  box-shadow: inset 0 0 2px rgba(36, 36, 36, 0.07);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.a11y-switch::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 50%;
  bottom: auto;
  right: auto;
  border-radius: 50%;
  background: #FFFFFF;
  transform: translateY(-50%) translateX(20px);
  transition: transform 0.2s ease;
}

.a11y-switch[aria-pressed="true"] {
  background: #3c8dbc;
}

.a11y-switch[aria-pressed="true"]::after {
  transform: translateY(-50%) translateX(0px);
}

.a11y-reset-btn {
  background: var(--blue-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 5px;
  padding: 10px;
  margin: 12px 20px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.a11y-reset-btn:hover {
  background: var(--blue-hover);
}

@media (max-width: 768px) {
  .a11y-toggle-btn {
    top: auto;
    bottom: 16px;
    left: 16px;
    transform: none;
    width: 42px;
    height: 42px;
  }

  .a11y-toggle-btn:hover,
  .a11y-toggle-btn:focus {
    transform: none;
  }

  .a11y-toggle-btn svg {
    width: 24px;
    height: 24px;
  }

  .a11y-panel {
    top: auto;
    bottom: 16px;
    left: 66px;
    transform: none;
    max-height: 70vh;
  }
}

@media (max-width: 480px) {
  .a11y-panel { width: 320px; }
}

/* ===== ACCESSIBILITY EFFECT CLASSES (applied to <html> when toggles are on) ===== */

/* Text size — simple on/off, one fixed level each */
html.a11y-text-larger {
  font-size: 140% !important;
}

html.a11y-text-smaller {
  font-size: 85% !important;
}

/* Readable font (Arial) */
html.a11y-readable-font body,
html.a11y-readable-font button,
html.a11y-readable-font input,
html.a11y-readable-font h1,
html.a11y-readable-font h2,
html.a11y-readable-font h3,
html.a11y-readable-font p,
html.a11y-readable-font li,
html.a11y-readable-font span {
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.2px;
}

/* Highlight links — yellow background + underline on every link */
html.a11y-mark-links a {
  background: #FFE901 !important;
  color: #000000 !important;
  text-decoration: underline !important;
  box-shadow: 0 0 0 2px #FFE901 !important;
  font-weight: 700 !important;
}

/* High contrast — black background, yellow/white text */
html.a11y-high-contrast,
html.a11y-high-contrast body {
  background: #000000 !important;
}

html.a11y-high-contrast * {
  background-color: #000000 !important;
  color: #FFDE59 !important;
  border-color: #FFDE59 !important;
}

html.a11y-high-contrast a,
html.a11y-high-contrast .a11y-row-label {
  color: #FFFFFF !important;
}

html.a11y-high-contrast .a11y-switch {
  background-color: #000000 !important;
  border: 2px solid #FFDE59 !important;
}

html.a11y-high-contrast .a11y-switch[aria-pressed="true"] {
  background-color: var(--blue-primary) !important;
  border-color: var(--blue-primary) !important;
}

html.a11y-high-contrast .a11y-switch::after {
  background-color: #FFFFFF !important;
}

/* Monochrome — grayscale the whole page */
html.a11y-monochrome {
  filter: grayscale(1);
}

/* Block animations / flashing elements */
html.a11y-no-motion *,
html.a11y-no-motion *::before,
html.a11y-no-motion *::after {
  animation: none !important;
  transition: none !important;
}

/* Enlarged cursor */
html.a11y-big-cursor,
html.a11y-big-cursor * {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24"><path d="M2 2l7.5 20 2.5-8 8-2.5z" fill="%23000000" stroke="%23FFFFFF" stroke-width="1.5"/></svg>') 4 4, auto !important;
}

/* Keyboard focus — strong, unmistakable outline on every focusable element */
.a11y-toggle-btn:focus-visible,
.a11y-panel-close:focus-visible,
.a11y-switch:focus-visible,
.a11y-reset-btn:focus-visible,
.site-footer-link:focus-visible {
  outline: 3px solid var(--blue-primary) !important;
  outline-offset: 3px !important;
}

/* Reading guide bar - a horizontal strip that follows the mouse */
.a11y-reading-guide {
  position: fixed;
  left: 0;
  right: 0;
  height: 40px;
  background: rgba(255, 222, 89, 0.35);
  border-top: 2px solid #FFDE59;
  border-bottom: 2px solid #FFDE59;
  pointer-events: none;
  z-index: 9999;
  display: none;
}

html.a11y-reading-guide-on .a11y-reading-guide {
  display: block;
}

/* ==========================================================================
   MOBILE OVERHAUL — real, dedicated mobile layout (not the desktop layout
   just squeezed narrower). Typography, spacing and proportions are all
   reduced deliberately for a phone screen, section by section.
   ========================================================================== */
@media (max-width: 768px) {
  /* Minimal section rhythm on mobile — just enough to tell sections apart,
     not a visible "dead zone" between them (matches the reference site,
     which uses very little vertical breathing room). */
  .dark-section,
  .white-section,
  .pain-section-light,
  .half-dark-section,
  .lead-banner-section,
  .feedback-section-dark {
    padding: 20px 0;
  }

  .light-gray-section {
    padding: 16px 0;
  }

  /* Headline scale-down across every section — small enough that short/medium
     headlines fit on one line instead of wrapping awkwardly. */
  .dark-section h2,
  .white-section h2,
  .light-gray-section h2 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .dark-section p,
  .white-section p {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .pain-headline {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .pain-section-light p {
    font-size: 0.96rem;
  }

  .form-header {
    font-size: 1.5rem;
  }

  .lead-banner-title {
    font-size: 0.95rem;
  }

  .process-card h3 {
    font-size: 1.15rem;
  }

  .process-card p {
    font-size: 0.94rem;
  }

  /* Hero */
  .hero-section-outer {
    padding: 16px 0;
  }

  .hero-section-dark {
    border-radius: 22px;
    padding: 36px 0 40px;
  }

  .hero-brandmark {
    font-size: 0.85rem;
    top: 14px;
    right: 14px;
  }

  .hero-top-banner {
    font-size: 0.8rem;
    padding: 9px 16px;
    max-width: 82%;
  }

  .hero-headline-wrap {
    margin-top: 34px;
    padding: 0 12px;
  }

  .hero-headline-dark {
    font-size: 1.55rem;
    line-height: 1.4;
    margin-bottom: 14px;
  }

  .hero-sub-dark {
    font-size: 1rem;
    transform: translateY(10%);
  }

  .hero-visual-composition {
    gap: 10px;
    margin-top: 32px;
  }

  .hero-profile-frame {
    width: 120px;
    height: 120px;
    border-width: 3px;
  }

  .hero-mascot {
    width: 120px;
  }

  .hero-cta {
    margin-top: 28px;
  }

  .blue-round-button {
    font-size: 1.05rem;
    padding: 15px 20px;
  }

  /* Social proof numbers */
  .social-proof-number {
    font-size: 1.8rem;
  }

  .social-proof-number-block {
    padding: 18px 10px;
  }

  /* Blue list blocks / domains */
  .blue-list-block {
    padding: 14px 18px;
    font-size: 1.02rem;
  }

  .domains-list-wrapper .blue-list-block {
    padding: 10px 18px;
    font-size: 0.95rem;
  }

  /* Case studies */
  .case-study-block {
    padding: 24px 20px;
    gap: 18px;
  }

  /* Lead forms */
  .blue-form-wrapper {
    padding: 32px 20px;
  }

  .round-text-field {
    padding: 15px 28px 15px 18px;
    font-size: 1rem;
  }

  .lead-banner-header {
    padding: 22px 18px 18px;
  }

  .lead-banner-body {
    padding: 22px 18px 28px;
  }

  .lead-banner-submit {
    width: 100%;
    padding: 15px 20px;
  }

  /* FAQ */
  .faq-dark-btn {
    padding: 16px 18px;
    font-size: 0.96rem;
  }

  .faq-dark-content {
    padding: 0 18px;
    font-size: 0.94rem;
  }

  .faq-dark-box.active .faq-dark-content {
    padding: 12px 18px 20px;
  }

  /* Fit / not-fit cards */
  .fit-card {
    padding: 26px 20px;
  }

  .fit-card-yes h3 {
    font-size: 1.2rem;
  }

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

  .fit-list-grid li {
    font-size: 0.9rem;
  }

  /* Avoid a lone last word ("הבנק") wrapping to its own line, while still
     reading bigger and sitting closer to the heading above it */
  .lead-line {
    font-size: 1.1rem;
    margin-top: -10px;
  }

  /* "מה שאנחנו מחפשים" box — the inherited 1.85 line-height from its parent
     wrapper reads far too airy at this smaller width; tighten it up */
  .callout-box-blue {
    font-size: 1rem;
    line-height: 1.5;
  }

  /* Feedback headline banner — small enough + wide enough box that the whole
     sentence wraps evenly instead of leaving one lone word on its own line */
  .feedback-headline .headline-highlight {
    font-size: 0.98rem;
    padding: 12px 14px;
    display: block;
    margin: 0 -8px;
  }

  .feedback-frame,
  .portfolio-frame {
    padding: 22px 14px;
  }
}

@media (max-width: 420px) {
  .hero-visual-composition {
    gap: 8px;
  }

  .hero-profile-frame {
    width: 96px;
    height: 96px;
  }

  .hero-mascot {
    width: 96px;
  }

  .hero-headline-dark {
    font-size: 1.35rem;
  }
}

/* ==========================================================================
   MOBILE POLISH PASS 2 — center-aligned body copy (matches a real mobile
   landing page instead of desktop's right-aligned block text), bigger/bolder
   emphasis inside highlight boxes, and per-request tweaks.
   ========================================================================== */
@media (max-width: 768px) {
  /* Centered body copy instead of right-aligned desktop blocks */
  .dark-section,
  .white-section,
  .process-card,
  .lead-banner-card,
  .quote-card-body {
    text-align: center;
  }

  .dark-section h2,
  .white-section h2,
  .dark-section p,
  .white-section p,
  .process-card h3,
  .process-card p {
    text-align: center;
  }

  .pains-grid {
    justify-items: center;
  }

  /* Emphasized text inside highlighted/quoted boxes reads bigger+bolder than
     surrounding body copy, but still smaller than the section headline. */
  .white-section p strong,
  .dark-section p strong,
  .pain-section-light p strong,
  .process-card p strong {
    font-size: 1.08em;
    font-weight: 900;
  }

  /* ===== Quote cards (Buffett / Gates / Kiyosaki) — clean stacked cards
     instead of a stacked column OR a swipe carousel; generously spaced,
     centered, full-width so nothing feels cramped. ===== */
  .quotes-grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    overflow-x: visible;
    scroll-snap-type: none;
    max-width: 320px;
    margin: 0 auto;
    padding: 0;
    gap: 32px;
  }

  .quote-card {
    flex: none;
    width: 100%;
    max-width: 320px;
  }

  /* ===== Portfolio photos — a packed 2-column mosaic (CSS columns) so
     screenshots of different heights sit flush against each other with no
     dead white space — like tiles, not a strip of separate cards. ===== */
  .collage-gallery {
    display: block;
    column-count: 2;
    column-gap: 20px;
    margin-top: 24px;
    padding: 0;
  }

  .collage-card {
    display: block;
    width: 100%;
    break-inside: avoid;
    margin: 0 0 20px;
    padding: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .collage-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
  }

  /* Only cancel the FINAL resting rotation once a card has "dealt" — the
     pre-deal hidden state (opacity 0, scale 0.25) must stay untouched or the
     pop-in entrance animation never shows on mobile. */
  .card-deal-trigger .collage-card.dealt.a1,
  .card-deal-trigger .collage-card.dealt.a2,
  .card-deal-trigger .collage-card.dealt.a3 {
    transform: none;
  }

  .collage-row {
    margin-top: 0;
  }

  /* Black-background screenshots: their own dark corners nearly match the
     card's white frame, so a too-thin frame makes the rounded corner look
     clipped. Give these specific photos a bit more white padding. */
  .feedback-frame .collage-card.frame-lg {
    padding: 5px;
  }

  /* The real culprit for "no gaps in feedback": .collage-card.a1/.a2/.a3
     (desktop, unconditional) sets margin: 0 -10px with two-class specificity
     that beats the plain .collage-card margin rule regardless of source
     order — so feedback cards were stuck at 0 vertical margin. Match that
     specificity here, scoped to feedback, to actually win. */
  .feedback-frame .collage-card.a1,
  .feedback-frame .collage-card.a2,
  .feedback-frame .collage-card.a3 {
    margin: 0 0 20px;
  }

  /* The hover-blur "focus pop" reads as a mouse-only effect — on a touch
     screen, tapping a photo just blurs everything else with no clean way to
     undo it, so disable it on mobile. */
  .feedback-frame:hover .collage-card {
    filter: none;
    opacity: 1;
  }

  .feedback-frame:hover .collage-card.a1:hover,
  .feedback-frame:hover .collage-card.a2:hover,
  .feedback-frame:hover .collage-card.a3:hover {
    transform: none;
  }

  /* Portfolio gallery — drop the surrounding frame box on mobile only (kept
     on desktop) and give the tiles a touch more breathing room. */
  .portfolio-frame {
    border: none;
    background: transparent;
    padding: 0;
    margin-top: 24px;
    column-gap: 10px;
  }

  .portfolio-frame .collage-card {
    margin-bottom: 10px;
    padding: 6px;
  }

  /* ===== "מי אני" section — photo stacked above text, centered ===== */
  #story .pains-grid {
    grid-template-columns: 1fr;
  }

  /* Final lead-form headline was too small once split across two lines */
  .lead-banner-title {
    font-size: 1.25rem;
    line-height: 1.35;
  }
}

