/* ==========================================================================
   GUY MIZINSKI — Design System
   Pure HTML + CSS, RTL Hebrew
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
video,
svg {
  max-width: 100%;
  display: block;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

input,
textarea,
select {
  font: inherit;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --c-bg: #F5F5F5;
  --c-bg-alt: #FFFFFF;
  --c-dark: #111111;
  --c-dark-2: #222222;
  /* פלטת שחור-לבן — משתני ה"סגול" הישנים ממופים כעת לשחור/אפור */
  --c-purple: #111111;
  --c-purple-2: #333333;
  --c-purple-deep: #000000;        /* black for CTAs */
  --c-purple-deeper: #000000;
  --c-purple-light: #DADADA;
  --c-purple-pale: #F0F0F0;
  --c-text: #141414;
  --c-text-muted: #666666;
  --c-text-light: #FFFFFF;
  --c-border: #E4E4E4;
  --c-border-strong: #CFCFCF;
  --c-whatsapp: #25D366;
  --c-whatsapp-dark: #128C7E;

  /* Hero gradient — grayscale fallback */
  --grad-hero:
    radial-gradient(ellipse at 80% 30%, #3a3a3a 0%, transparent 50%),
    radial-gradient(ellipse at 30% 70%, #2a2a2a 0%, transparent 55%),
    radial-gradient(ellipse at 60% 50%, #1a1a1a 0%, transparent 60%),
    radial-gradient(ellipse at 90% 80%, #4a4a4a 0%, transparent 40%),
    linear-gradient(135deg, #111111 0%, #262626 50%, #3a3a3a 100%);

  /* Hero with real iridescent image */
  --hero-image: var(--grad-hero);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;

  /* Sizes */
  --container: 1240px;
  --container-narrow: 960px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(20,20,20, 0.04);
  --shadow-md: 0 8px 24px rgba(20,20,20, 0.08);
  --shadow-lg: 0 16px 48px rgba(20,20,20, 0.12);
  --shadow-card: 0 4px 16px rgba(0,0,0, 0.08);

  /* Spacing rhythm — tightened to 8px scale (48/56/64/96 max) */
  --section-py: clamp(48px, 6vw, 96px);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
}

.section-tight {
  padding: clamp(28px, 4vw, 56px) 0;
}
/* Collapse double padding when two sections stack back-to-back */
.section + .section,
.section + .section-tight,
.section-tight + .section,
.section-tight + .section-tight { padding-top: 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--c-text);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.5vw, 40px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }
h4 { font-size: clamp(18px, 1.6vw, 22px); }

.eyebrow {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-purple);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}

.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--c-text-muted);
  text-align: right;
}

/* ---------- Brand mark (V triangle) — HIDDEN per request ---------- */
.v-mark, .v-divider { display: none !important; }

/* ---------- Logo (uses real PNG) ---------- */
.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo img {
  height: 72px;
  width: auto;
  display: block;
}
.brand-logo--small img { height: 64px; }
.brand-logo--large img { height: 88px; }
/* Light variant — invert PNG for dark backgrounds */
.brand-logo--light img { filter: invert(1) brightness(2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--c-purple-deep);
  color: var(--c-text-light);
}
.btn--primary:hover {
  background: var(--c-purple-deeper);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background: transparent;
  border-color: var(--c-border-strong);
  color: var(--c-text);
}
.btn--ghost:hover {
  border-color: var(--c-purple);
  color: var(--c-purple);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--whatsapp {
  background: var(--c-purple-deep);
  color: #fff;
  border: 1px solid var(--c-purple-deep);
}
.btn--whatsapp::before {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--c-whatsapp);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
  background-size: 14px 14px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.btn--whatsapp:hover {
  background: var(--c-purple-deeper);
  border-color: var(--c-purple-deeper);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(74, 47, 163, 0.35);
}

.btn--purple {
  background: var(--c-purple-deep);
  color: #fff;
}
.btn--purple:hover {
  background: var(--c-purple-deeper);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(74, 47, 163, 0.35);
}

.btn--secondary {
  background: #fff;
  color: var(--c-text);
  border: 1.5px solid var(--c-purple-light);
  box-shadow: 0 2px 8px rgba(0,0,0, 0.08);
}
.btn--secondary:hover {
  background: var(--c-purple-pale);
  border-color: var(--c-purple);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0, 0.18);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--c-purple);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s, gap 0.2s;
}
.btn-link::after { content: '\2190'; font-weight: 700; }
.btn-link:hover { gap: 10px; color: var(--c-text); }

.btn-link--light { color: rgba(255,255,255,0.85); }
.btn-link--light:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 241, 248, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  gap: 24px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 400;
  color: var(--c-text);
  position: relative;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--c-purple); }
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--c-purple);
  transition: width 0.3s;
}
.main-nav a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--c-text);
  right: 0;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--c-bg);
  z-index: 200;
  display: none;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--c-border);
}
.mobile-menu__close {
  font-size: 24px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}
.mobile-menu__nav {
  padding: 8px 24px;
}
.mobile-menu__nav a {
  display: block;
  text-align: center;
  padding: 22px 0;
  font-size: 20px;
  font-weight: 700;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
}
.mobile-menu__nav a:last-child { border-bottom: 0; }
.mobile-menu__cta {
  margin: 24px;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--grad-hero);
  background-size: cover;
  text-align: center;
  color: #fff;
}
.mobile-menu__cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  background: rgba(255,255,255,0.15);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  backdrop-filter: blur(6px);
}
.mobile-menu__cta-text {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.4;
}
.mobile-menu__social {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 24px;
}
.mobile-menu__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
}

/* ---------- Hero ---------- */
.hero {
  padding: 24px 24px 0;
}
.hero__card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-color: var(--c-dark);
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  min-height: 420px;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero__card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,20,20,0.55) 0%, rgba(20,20,20,0.15) 40%, rgba(20,20,20,0.5) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero__card > * { position: relative; z-index: 2; }

@keyframes heroShift {
  0%   { transform: scale(1) translateX(0); }
  50%  { transform: scale(1.04) translateX(-1%); }
  100% { transform: scale(1) translateX(0); }
}

.hero__card::before {
  /* glossy overlay */
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255,255,255,0.18), transparent 60%),
    radial-gradient(ellipse at 100% 100%, rgba(0,0,0,0.25), transparent 50%);
  pointer-events: none;
}

.hero__partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 16, 40, 0.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.95);
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  direction: ltr;
  unicode-bidi: isolate;
}
.hero__partner-badge .make-logo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hero__partner-badge .make-logo img {
  height: 24px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.hero__partner-badge {
  font-size: 14px;
  padding: 10px 22px;
}

.hero__title {
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
  letter-spacing: -0.02em;
  animation: fadeUp 0.8s ease 0.1s both;
}
.hero__subtitle {
  font-size: clamp(15px, 1.4vw, 18px);
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin: 0 auto 28px;
  line-height: 1.55;
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s ease 0.25s both;
}
.hero__cta {
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s ease 0.4s both;
}

.hero__corner-mark {
  position: absolute;
  top: 28px;
  left: 28px;
  width: 36px;
  height: 42px;
  z-index: 2;
}
.hero__corner-mark svg {
  width: 100%;
  height: 100%;
}

.hero__vertical-text {
  display: none;
}

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

/* ---------- Marquee (track has bg so mix-blend-mode multiply on logos works) ---------- */
.marquee {
  overflow: hidden;
  position: relative;
  padding: 36px 0;
  background: var(--c-bg);
}
.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  right: 0;
  background: linear-gradient(to left, var(--c-bg), transparent);
}
.marquee::after {
  left: 0;
  background: linear-gradient(to right, var(--c-bg), transparent);
}
.marquee__track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 30s linear infinite;
  align-items: center;
  /* Background here gives mix-blend-mode on logos something to multiply with —
     the transform animation creates a stacking context that isolates the blend */
  background: var(--c-bg);
}
.marquee:hover .marquee__track { animation-play-state: paused; }

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

.brand-logo-item {
  display: inline-flex;
  align-items: center;
  height: 32px;
  font-size: 18px;
  font-weight: 600;
  color: var(--c-text);
  opacity: 0.85;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-logo-item--apple::before {
  content: '\f8ff';
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 22px;
  margin-left: 6px;
}

/* ---------- Tools grid (logos) ---------- */
.tools-section {
  padding: 60px 0 80px;
}
.tools-section__heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  color: var(--c-text);
  font-weight: 500;
}
.tools-grid {
  display: grid;
  /* גריד כלים שמתפרס לשורות (נוסח ספריית כלים) */
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) { .tools-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tools-grid { grid-template-columns: repeat(2, 1fr); } }
.tool-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: grid;
  place-items: center;
  height: 90px;
  transition: all 0.25s ease;
  min-width: 0;
}
.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--c-purple-light);
}
.tool-card img {
  max-width: 100%;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.1);
  transition: filter 0.25s;
}
.tool-card:hover img { filter: grayscale(0); }

/* Client logo (in marquee) — full color, white BG removed via blend mode */
.client-logo {
  display: inline-flex;
  align-items: center;
  height: 64px;
  flex-shrink: 0;
}
.client-logo img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  /* Multiplies the image with the page background, so any pure-white pixels
     blend into the lavender page bg and "disappear". Preserves colored areas. */
  mix-blend-mode: multiply;
}
.client-logo:hover img { transform: scale(1.05); }
/* Exception: "לב ההר" logo should keep its white card background */
.client-logo--solid img { mix-blend-mode: normal; }

/* Big italic display marquee — Rubik bold italic, 2 rows matching Figma */
.display-marquee {
  background: var(--c-bg);
  padding: 12px 0 16px;
  overflow: hidden;
  position: relative;
  direction: ltr;
}
.display-marquee__row {
  overflow: hidden;
  position: relative;
  direction: ltr;
}
.display-marquee__track {
  display: flex;
  gap: 44px;
  width: max-content;
  direction: ltr;
  unicode-bidi: isolate;
  font-family: 'Rubik', sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(60px, 9.5vw, 130px);
  letter-spacing: -0.035em;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--c-purple);
  padding: 6px 0;
}
.display-marquee__track span {
  flex-shrink: 0;
  direction: ltr;
  unicode-bidi: isolate;
}
.display-marquee__row--1 .display-marquee__track {
  animation: marquee 32s linear infinite;
}
.display-marquee__row--2 .display-marquee__track {
  animation: marqueeReverse 40s linear infinite;
}
@keyframes marqueeReverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ---------- Service cards (3-col) ---------- */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-purple-light);
}
.service-card__image {
  aspect-ratio: 16 / 11;
  background: linear-gradient(135deg, #8a8a8a, #111111);
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card__image {
  transform: scale(1.04);
}
.service-card__image--people {
  background:
    linear-gradient(135deg, rgba(20,20,20,0.2), rgba(0,0,0,0.4)),
    linear-gradient(120deg, #cccccc 0%, #999999 50%, #111111 100%);
}
.service-card__image--event {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(255,82,180,0.6), transparent 70%),
    linear-gradient(120deg, #1a1a1a 0%, #333333 50%, #777777 100%);
}
.service-card__image--tech {
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,0.4), transparent 60%),
    linear-gradient(135deg, #eaeaea, #cbcbcb 50%, #333333 100%);
}
.service-card__body {
  padding: 28px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card__desc {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

/* ---------- Section heads ---------- */
.section-head {
  text-align: center;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.section-head__title {
  font-size: clamp(26px, 3vw, 36px);
}

/* ---------- Quiz / Intro pair ---------- */
.intro-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.intro-block__eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-purple);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}
.intro-block__title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

.quiz-pair {
  display: grid;
  grid-template-columns: 1fr 2.6fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 56px;
}

.quiz-question {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.quiz-step-content {
  display: none;
  flex-direction: column;
  gap: 24px;
  animation: fadeIn 0.4s ease;
}
.quiz-step-content.is-active { display: flex; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.quiz-step-content--done .quiz-question__title { color: var(--c-purple); }
.quiz-question__title {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
}
.quiz-options {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.quiz-option {
  flex: 1 1 auto;
  min-width: 140px;
  max-width: 240px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-border-strong);
  background: #fff;
  font-size: 14px;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}
.quiz-option:hover {
  border-color: var(--c-purple);
  background: var(--c-purple-pale);
  color: var(--c-purple);
}
.quiz-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.quiz-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-bg);
  color: var(--c-text);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--c-border);
}
.quiz-step--active {
  background: var(--c-purple);
  color: #fff;
  border-color: var(--c-purple);
}
.quiz-step--done {
  background: var(--c-dark);
  color: #fff;
  border-color: var(--c-dark);
}
.quiz-step-line {
  width: 18px;
  height: 1px;
  background: var(--c-border-strong);
}

.quiz-cta {
  background: var(--c-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quiz-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,0,0,0.28), transparent 50%);
  pointer-events: none;
}
.quiz-cta__text {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 1.35;
  position: relative;
}

/* ---------- Quote / testimonial-card ---------- */
.quote-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 56px 56px 44px;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}
.quote-card__mark {
  font-family: var(--font-display);
  font-size: 64px;
  color: var(--c-purple);
  line-height: 0.6;
  margin-bottom: 18px;
}
.quote-card__text {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  color: var(--c-purple);
  line-height: 1.5;
  margin-bottom: 16px;
}
.quote-card__sub {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 700px;
  margin-inline: auto;
}
/* Secondary WhatsApp CTA — white with subtle purple gradient, smaller */
.quote-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: linear-gradient(135deg, #ffffff 0%, var(--c-purple-pale) 100%);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-text);
  transition: all 0.2s;
  border: 1.5px solid var(--c-purple-light);
  box-shadow: 0 2px 8px rgba(0,0,0, 0.08);
}
.quote-card__cta:hover {
  background: linear-gradient(135deg, var(--c-purple-pale) 0%, var(--c-purple-light) 100%);
  border-color: var(--c-purple);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0, 0.18);
}
.quote-card__cta::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--c-whatsapp);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
  background-size: 11px 11px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* ---------- Photo masonry grid ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 16px;
  margin-top: 48px;
}
/* .photo-grid__item is now a <figure> wrapper holding photo + caption */
.photo-grid__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.4s ease;
  margin: 0;
}
.photo-grid__item:hover {
  transform: translateY(-3px);
}
/* The actual photo (was the item itself before) */
.photo-grid__photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--c-purple-pale);
  aspect-ratio: 3/4;
  width: 100%;
}
/* Caption now appears BELOW the photo (was overlay) — matches Figma */
.photo-grid__caption {
  font-size: 12px;
  line-height: 1.45;
  color: var(--c-text-muted);
  text-align: center;
  padding: 0 6px;
  margin: 0;
}
/* Legacy variants kept for backward compatibility */
.photo-grid__item--tall .photo-grid__photo { aspect-ratio: 3/5; }
.photo-grid__item--short .photo-grid__photo { aspect-ratio: 1; }

/* ---------- Course card carousel ---------- */
.courses-carousel {
  position: relative;
  padding: 0 56px;
}
.courses-carousel__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.courses-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  z-index: 2;
}
.courses-arrow--prev { right: 0; }
.courses-arrow--next { left: 0; }
.courses-arrow:hover { background: var(--c-purple); }

.course-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.course-card__img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #1a1a1a, #111111);
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.course-card:hover .course-card__img {
  transform: scale(1.04);
}
.course-card__img--phone {
  background:
    radial-gradient(circle at 50% 70%, #00D26A 0%, #00D26A 8%, transparent 10%),
    linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 100%);
}
.course-card__img--gears {
  background:
    radial-gradient(circle at 30% 40%, rgba(0,0,0,0.5), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(0,210,255,0.4), transparent 50%),
    linear-gradient(135deg, #eaeaea, #1a1a1a);
}
.course-card__img--tech {
  background:
    linear-gradient(135deg, rgba(0,0,0,0.4), transparent),
    linear-gradient(120deg, #111111, #1A1A1A);
}
.course-card__body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-card__tags {
  display: flex;
  gap: 8px;
  justify-content: flex-start;
  margin-bottom: 8px;
  font-size: 11px;
  color: var(--c-text-muted);
}
.course-card__title {
  font-size: 22px;
  font-weight: 700;
  text-align: right;
  margin-bottom: 8px;
}
.course-card__desc {
  font-size: 13px;
  color: var(--c-text-muted);
  text-align: right;
  line-height: 1.55;
}

/* ---------- Featured blog block (dark) ---------- */
.feature-block {
  background: var(--c-dark);
  border-radius: var(--radius-lg);
  padding: 44px 44px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.feature-block::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(0,0,0,0.25), transparent 60%);
  pointer-events: none;
}
.feature-block__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  position: relative;
}
.feature-block__title {
  font-size: clamp(22px, 2.4vw, 30px);
  color: #fff;
}
.feature-block__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  position: relative;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-list__item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 14px;
  align-items: center;
  background: rgba(255,255,255,0.04);
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.25s;
}
.feature-list__item:hover {
  background: rgba(255,255,255,0.08);
}
.feature-list__thumb {
  width: 90px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #111111, #1a1a1a);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.feature-list__thumb--book {
  background: linear-gradient(135deg, #C9D5F5, #5A6FB5);
}
.feature-list__thumb--mtg {
  background: linear-gradient(135deg, #cccccc, #999999);
}
.feature-list__thumb--yoga {
  background: linear-gradient(135deg, #FFD86E, #FF9A52);
}
.feature-list__text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
}
.feature-list__tag {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 4px;
  display: block;
}
.feature-list__chevron {
  color: rgba(255,255,255,0.6);
  font-size: 18px;
}

.feature-block__main {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  min-height: 280px;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  isolation: isolate;
  transition: transform 0.5s ease;
}
.feature-block__main:hover { transform: scale(1.01); }
.feature-block__main::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 40% 40%, rgba(0,0,0,0.2), transparent 50%),
    linear-gradient(to top, rgba(0,0,0,0.75), transparent 50%);
  z-index: 0;
}
.feature-block__main > * { position: relative; z-index: 1; }
.feature-block__main-title {
  color: #fff;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.3;
  font-weight: 700;
}
.feature-block__main-tag {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}

/* ---------- CTA Form ---------- */
.cta-form-section {
  padding: 80px 0 60px;
  text-align: center;
}
.cta-form-section__title {
  font-size: clamp(28px, 3.6vw, 44px);
  margin-bottom: 12px;
  line-height: 1.25;
  max-width: 800px;
  margin-inline: auto;
}
.cta-form-section__sub {
  color: var(--c-text-muted);
  margin-bottom: 36px;
  font-size: 16px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 200px;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}
.contact-form__field { position: relative; }
.contact-form__label {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--c-bg);
  padding: 0 6px;
  font-size: 12px;
  color: var(--c-text-muted);
}
.contact-form__input {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid var(--c-border-strong);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--c-text);
  font-size: 14px;
  transition: border-color 0.2s;
}
.contact-form__input:focus {
  outline: none;
  border-color: var(--c-purple);
}
.contact-form__submit {
  background: var(--c-purple-deep);
  color: #fff;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s;
  cursor: pointer;
  border: none;
}
.contact-form__submit:hover {
  background: var(--c-purple-deeper);
  box-shadow: 0 8px 20px rgba(74, 47, 163, 0.35);
}

.contact-form__check {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--c-text-muted);
  justify-content: center;
  margin-top: 8px;
}
.contact-form__check input {
  width: 18px;
  height: 18px;
  accent-color: var(--c-purple);
}
.cta-form-section__alt {
  margin-top: 28px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: transparent;
  padding: 56px 0 24px;
  border-top: 1px solid var(--c-border);
  margin-top: 60px;
}
.site-footer--minimal {
  padding: 40px 0 32px;
}
.site-footer--minimal .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer-social--minimal { justify-content: center; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.footer-legal a {
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--c-purple-deep);
  text-decoration: underline;
}
.footer-legal a[aria-current="page"] {
  color: var(--c-dark);
  font-weight: 500;
}
.footer-legal__sep {
  color: var(--c-text-muted);
  opacity: 0.5;
}
.footer-copy {
  font-size: 12px;
  color: var(--c-text-muted);
}
.footer-top {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--c-border);
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-dark);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s;
}
.footer-social a:hover {
  background: var(--c-purple-deep);
  transform: translateY(-2px);
}
.footer-social a svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}
/* Mobile menu social same style */
.mobile-menu__social a svg {
  width: 16px; height: 16px; fill: #fff;
}
.mobile-menu__social a {
  width: 40px; height: 40px;
}
/* Article share */
.article-share a svg { width: 14px; height: 14px; fill: currentColor; }

.footer-brand {
  text-align: left;
}
.footer-brand__tagline {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-top: 6px;
  max-width: 480px;
  margin-inline-start: auto;
  line-height: 1.5;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 40px 0;
}
.footer-col__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col__list a {
  font-size: 14px;
  color: var(--c-text-muted);
  transition: color 0.2s;
}
.footer-col__list a:hover { color: var(--c-purple); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
  font-size: 12px;
  color: var(--c-text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom__legal {
  display: flex;
  gap: 24px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Page hero (other pages) ---------- */
.page-hero {
  background-color: var(--c-dark);
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  color: #fff;
  border-radius: var(--radius-xl);
  margin: 16px 24px 8px;
  padding: clamp(40px, 5vw, 64px) clamp(24px, 4vw, 48px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,20,20,0.55) 0%, rgba(20,20,20,0.15) 40%, rgba(20,20,20,0.5) 100%);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero__crumbs {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.page-hero__crumbs a { color: rgba(255,255,255,0.7); }
.page-hero__crumbs a:hover { color: #fff; }
.page-hero__title {
  font-size: clamp(28px, 3.6vw, 44px);
  color: #fff;
  margin-bottom: 12px;
}
.page-hero__sub {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto;
}
.page-hero__search {
  margin: 28px auto 0;
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 2px;
  background: #fff;
  border-radius: var(--radius-pill);
  /* RTL: button is on the right (first flex child), text fills to its
     left → keep breathing room on the LEFT (inline-end) so long text
     doesn't hug the far edge of the pill */
  padding: 6px 18px 6px 6px;
  padding-inline-end: 24px;
  box-shadow: 0 8px 30px rgba(20,20,20, 0.18);
}
.page-hero__search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 4px;
  font-size: 14px;
  outline: none;
  text-align: right;
  color: var(--c-text);
}
.page-hero__search input::placeholder { color: var(--c-text-muted); }
.page-hero__search button {
  width: 28px; height: 28px;
  background: transparent;
  color: var(--c-purple-deep);
  display: grid; place-items: center;
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  flex-shrink: 0;
  border: none;
  padding: 0;
}
.page-hero__search button svg {
  width: 22px;
  height: 22px;
  display: block;
}
.page-hero__search button:hover {
  color: var(--c-purple-deeper);
  transform: scale(1.1);
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-tab {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid var(--c-border-strong);
  font-size: 13px;
  color: var(--c-text);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-tab:hover, .filter-tab--active {
  background: var(--c-dark);
  border-color: var(--c-dark);
  color: #fff;
}

/* Categories chip grid */
.chips-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 980px;
  margin: 0 auto;
}
.chip {
  background: var(--c-purple-pale);
  border: 1px solid transparent;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  color: var(--c-text);
  transition: all 0.2s;
  cursor: pointer;
}
.chip:hover {
  background: var(--c-purple-light);
  border-color: var(--c-purple);
}

/* Article body */
.article-content {
  max-width: 820px;
  margin: 0 auto;
}
.article-content__tag {
  display: inline-block;
  background: var(--c-purple-pale);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  color: var(--c-purple);
  margin-bottom: 16px;
}
.article-content h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 24px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.article-content__hero-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
}
.article-content__hero-img--placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #111111, #1a1a1a);
}
.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 28px;
}
.article-share { display: flex; gap: 14px; }
.article-share a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-bg);
  display: grid;
  place-items: center;
  color: var(--c-text);
  font-size: 13px;
}
.article-share a:hover { background: var(--c-purple); color: #fff; }
.article-date { font-size: 13px; color: var(--c-text-muted); }

.article-excerpt {
  font-size: 17px;
  font-weight: 500;
  color: var(--c-text);
  line-height: 1.75;
  padding: 20px 24px;
  background: #F8F4FE;
  border-right: 3px solid var(--c-purple);
  border-radius: 8px;
  margin: 0 0 32px;
}

.article-tags {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.article-tags__label {
  font-size: 13px;
  color: var(--c-text-muted);
  font-weight: 600;
}
.article-tags__tag {
  display: inline-block;
  padding: 5px 12px;
  background: #F4EEFA;
  color: var(--c-purple);
  border-radius: 14px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}

/* Shared long-form prose typography (articles, legal pages, page content).
   Uses lobotomized-owl pattern for automatic vertical rhythm.
   text-align: right keeps Hebrew RTL paragraphs flush-right even when a
   parent container is centered (UX: avoids ragged "river" gaps in the
   middle of multi-line text). */
.prose,
.article-body,
.legal-page__content {
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--c-text);
  text-align: right;
}
.prose p, .prose ul, .prose ol, .prose blockquote,
.article-body p, .article-body ul, .article-body ol, .article-body blockquote,
.legal-page__content p, .legal-page__content ul, .legal-page__content ol, .legal-page__content blockquote {
  text-align: right;
}
.prose > * + *,
.article-body > * + *,
.legal-page__content > * + * { margin-top: 1.1em; }

.prose p,
.article-body p,
.legal-page__content p {
  margin: 0;
  line-height: 1.85;
}

.prose h2, .article-body h2, .legal-page__content h2 {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.35;
  margin-top: 2em;
  margin-bottom: 0;
  letter-spacing: -0.005em;
}
.prose h3, .article-body h3, .legal-page__content h3 {
  font-size: clamp(19px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.4;
  margin-top: 1.8em;
  margin-bottom: 0;
}
.prose h4, .article-body h4, .legal-page__content h4 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.45;
  margin-top: 1.6em;
  margin-bottom: 0;
}
.prose h2 + p, .article-body h2 + p, .legal-page__content h2 + p,
.prose h3 + p, .article-body h3 + p, .legal-page__content h3 + p,
.prose h4 + p, .article-body h4 + p, .legal-page__content h4 + p { margin-top: 0.7em; }

.prose ul, .prose ol,
.article-body ul, .article-body ol,
.legal-page__content ul, .legal-page__content ol {
  padding-inline-start: 24px;
  margin: 0;
}
.prose li, .article-body li, .legal-page__content li {
  margin-bottom: 0.55em;
  line-height: 1.8;
}
.prose li:last-child,
.article-body li:last-child,
.legal-page__content li:last-child { margin-bottom: 0; }

.prose strong, .article-body strong, .legal-page__content strong {
  font-weight: 700;
  color: var(--c-text);
}
.prose a, .article-body a, .legal-page__content a {
  color: var(--c-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose blockquote, .article-body blockquote, .legal-page__content blockquote {
  margin: 0;
  padding: 18px 22px;
  background: #F8F4FE;
  border-right: 3px solid var(--c-purple);
  border-radius: 8px;
  font-style: italic;
  color: var(--c-text);
  line-height: 1.75;
}
.prose img, .article-body img, .legal-page__content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}
.prose hr, .article-body hr, .legal-page__content hr {
  border: 0;
  border-top: 1px solid var(--c-border);
  margin: 2em 0;
}

/* Bottom-of-article contact form (replaces the old sidebar CTA) */
.article-form {
  margin-top: 56px;
  padding: 36px 32px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
}
.article-form__title {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  line-height: 1.3;
}
.article-form__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.article-form .contact-form__submit { margin-top: 8px; }
.article-whatsapp {
  margin-top: 24px;
  text-align: center;
}

.article-toc {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 28px;
}
.article-toc summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.article-toc summary::after {
  content: '\25BC';
  font-size: 11px;
  color: var(--c-text-muted);
  transition: transform 0.2s;
}
.article-toc[open] summary::after { transform: rotate(180deg); }
.article-toc__list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 18px;
}
.article-toc__list li {
  list-style: disc;
  font-size: 14px;
}

/* Service / course detail page */
.detail-hero {
  background-color: var(--c-dark);
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  color: #fff;
  border-radius: var(--radius-xl);
  margin: 16px 24px 8px;
  padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 48px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,20,20,0.55) 0%, rgba(20,20,20,0.15) 40%, rgba(20,20,20,0.5) 100%);
  pointer-events: none;
}
.detail-hero > * { position: relative; }
.detail-hero__crumbs {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.detail-hero__title {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 46px);
  margin-bottom: 14px;
  line-height: 1.2;
}
.detail-hero__price {
  font-size: clamp(22px, 2.4vw, 30px);
  color: #fff;
  margin-bottom: 24px;
  font-weight: 600;
}
.detail-hero__price span { color: rgba(255,255,255,0.6); font-weight: 400; font-size: 14px; }

.detail-hero__pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.detail-pill {
  padding: 6px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  font-size: 12px;
  color: rgba(255,255,255,0.95);
}

.detail-hero__cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Two parent rows (title auto + desc 1fr) for the first pair, plus
     grid-auto-rows that repeats the same auto/1fr pattern for any
     additional rows generated at narrower breakpoints (e.g. 2-col).
     Cards span both rows via subgrid so titles & descriptions all
     align on the same baselines across siblings. */
  grid-template-rows: auto 1fr;
  grid-auto-rows: auto 1fr;
  gap: 16px;
  margin: 0;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: right;
  transition: all 0.25s;
  /* Subgrid inherits the parent's 2 row tracks so every card's
     title sits on the same horizontal line, and every desc starts
     on the same horizontal line — even when titles wrap differently. */
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  row-gap: 10px;
}
/* Fallback for browsers without subgrid support */
@supports not (grid-template-rows: subgrid) {
  .feature-card {
    grid-template-rows: auto 1fr;
  }
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.feature-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  align-self: end;
}
.feature-card__desc {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin: 0;
  align-self: start;
}

.syllabus {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
  margin: 32px auto 0;
}
.syllabus__item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.syllabus__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-purple-pale);
  color: var(--c-purple);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.syllabus__text {
  font-size: 15px;
  font-weight: 500;
  flex: 1;
}
.syllabus__chev {
  color: var(--c-text-muted);
  font-size: 18px;
}

/* 404 */
.notfound {
  padding: 80px 24px 60px;
  text-align: center;
}
.notfound__art {
  width: 280px;
  height: 220px;
  margin: 0 auto 40px;
  position: relative;
  background:
    radial-gradient(circle at 70% 50%, rgba(0,0,0,0.2), transparent 60%),
    var(--c-bg);
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
}
.notfound__title {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 12px;
}
.notfound__sub {
  color: var(--c-text-muted);
  margin-bottom: 28px;
}

/* Article cards (for blog archive / search) */
.article-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.article-card__img {
  aspect-ratio: 16/11;
  background: linear-gradient(135deg, #cbcbcb, #111111);
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.article-card:hover .article-card__img { transform: scale(1.04); }
.article-card__img--1 {
  background-image: url('assets/courses/automation-tools.png');
  background-color: #5A8FCB;
}
.article-card__img--2 {
  background-image: url('assets/services/payments.png');
  background-color: #111111;
}
.article-card__img--3 {
  background-image: url('assets/events/lecture.png');
  background-color: #999999;
}
.article-card__img--4 {
  background-image: url('assets/events/workshop-certificate.png');
  background-color: #FF9A52;
}
.article-card__body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-card__tag {
  font-size: 11px;
  color: var(--c-text-muted);
}
.article-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

/* Blog dark archive */
.blog-archive-content {
  padding: 80px 0;
  background: var(--c-bg);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.blog-grid--3 { grid-template-columns: repeat(3, 1fr); }
.blog-grid__empty {
  text-align: center;
  font-size: 15px;
  color: var(--c-text-muted);
  padding: 40px 0;
}
.article-card__excerpt {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-top: 2px;
}

/* Categories large */
.cat-circles {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.cat-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.cat-circle:hover { transform: translateY(-4px); }
.cat-circle__bubble {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  font-size: 22px;
  color: rgba(255,255,255,0.85);
}
.cat-circle__label {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  max-width: 130px;
  line-height: 1.4;
}

/* About page extras */
.about-team-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 40px 0;
}
.about-team-row__photo {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #FFC9A8, #B07A60);
  background-size: cover;
  background-position: center;
}
.about-team-row__photo--2 { background: linear-gradient(135deg, #cbcbcb, #111111); }
.about-team-row__photo--3 { background: linear-gradient(135deg, #B7E0FF, #5A8FCB); }
.about-quote {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  max-width: 920px;
  margin: 48px auto 0;
}
.about-quote__mark {
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--c-purple);
  line-height: 0.5;
  margin-bottom: 16px;
}
.about-quote__text {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  color: var(--c-purple);
  line-height: 1.5;
  margin-bottom: 16px;
}
.about-quote__sub {
  font-size: 14px;
  color: var(--c-text-muted);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 56px;
}
.about-section__title {
  font-size: clamp(22px, 2.4vw, 28px);
  margin-bottom: 16px;
}
.about-section__text p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text);
  margin-bottom: 14px;
}

/* AutoTuesday partner banner (homepage) */
.autotuesday-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 48px;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(0,0,0, 0.35), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(40,40,40, 0.30), transparent 55%),
    linear-gradient(135deg, #1a1a1a 0%, #1a1a1a 100%);
  border-radius: var(--radius-xl);
  color: #fff;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(20,20,20, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.autotuesday-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 80px rgba(20,20,20, 0.35);
}
.autotuesday-banner__logo {
  display: block;
  max-width: 240px;
  height: auto;
  margin: 0 auto 22px;
}
.autotuesday-banner__text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
  margin: 0 auto 24px;
}
.autotuesday-banner__cta {
  background: #fff;
  color: var(--c-text);
  white-space: nowrap;
  font-weight: 600;
  padding: 14px 36px;
  align-self: center;
}
.autotuesday-banner:hover .autotuesday-banner__cta {
  background: var(--c-purple-light);
  color: var(--c-text);
}
@media (max-width: 768px) {
  .autotuesday-banner { padding: 32px 24px; }
}

/* Homepage about-intro block */
.home-intro {
  max-width: 880px;
  margin: 0 auto;
}
.home-intro__text {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.85;
  color: var(--c-text);
  font-weight: 300;
  text-align: right;
}
.home-intro__ctas {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
}
.home-intro__cta {
  min-width: 220px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-pill);
  text-align: center;
}
.home-intro__cta--whatsapp::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--c-whatsapp);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E");
  background-size: 11px 11px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  margin-inline-end: 8px;
}
@media (max-width: 480px) {
  .home-intro__cta { min-width: 0; width: 100%; }
}

/* Services-all CTA below offerings grid */
.services-all-cta {
  text-align: center;
  margin-top: 40px;
}
.services-all-cta .btn { padding: 14px 36px; font-weight: 600; font-size: 16px; }

/* Contact page — single centered column */
.contact-center {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.contact-center__title {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.contact-center__subtitle {
  font-size: 15px;
  color: var(--c-text-muted);
  margin-top: -16px;
}
.contact-center__form-wrap {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  width: 100%;
  text-align: right;
}
.contact-center__form-intro {
  font-size: 14px;
  color: var(--c-text-muted);
  margin-bottom: 24px;
  text-align: center;
}
.contact-center__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-center__whatsapp { margin-top: 4px; }
.contact-center__direct {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
.contact-center__direct a { color: var(--c-purple); }
.contact-center__hours {
  width: 100%;
  padding: 18px 22px;
  background: var(--c-purple-pale);
  border-radius: var(--radius-md);
  text-align: center;
}
.contact-center__hours h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}
.contact-center__hours div {
  font-size: 13px;
  color: var(--c-text-muted);
}
@media (max-width: 768px) {
  .contact-center__form-wrap { padding: 28px 20px; }
}

/* Textarea matches inputs */
.contact-form__textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid var(--c-border-strong);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--c-text);
  font-size: 14px;
  font-family: inherit;
  line-height: 1.5;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.2s;
}
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--c-purple);
}
.contact-form__textarea::placeholder {
  color: var(--c-text-muted);
  opacity: 0.6;
}

/* Legal pages (privacy, accessibility, terms) */
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 24px 60px;
}
.legal-page__crumbs {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 24px;
}
.legal-page__crumbs a { color: var(--c-purple); }
.legal-page h1 {
  font-size: clamp(28px, 3.4vw, 42px);
  margin-bottom: 8px;
}
.legal-page__updated {
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-border);
}
.legal-page h2 {
  font-size: 22px;
  margin: 36px 0 14px;
  color: var(--c-text);
}
.legal-page h3 {
  font-size: 17px;
  margin: 24px 0 8px;
  color: var(--c-text);
}
.legal-page p,
.legal-page li {
  font-size: 15px;
  line-height: 1.85;
  color: var(--c-text);
  margin-bottom: 12px;
}
.legal-page ul,
.legal-page ol {
  margin: 8px 24px 16px;
  padding-right: 16px;
}
.legal-page ul li { list-style: disc; }
.legal-page ol li { list-style: decimal; }
.legal-page a { color: var(--c-purple); text-decoration: underline; }
.legal-page__contact {
  background: var(--c-purple-pale);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-top: 36px;
}
.legal-page__contact strong { color: var(--c-text); }
.legal-disclaimer {
  margin-top: 32px;
  font-size: 12px;
  color: var(--c-text-muted);
  padding: 14px 18px;
  background: var(--c-bg);
  border-right: 3px solid var(--c-purple);
  border-radius: var(--radius-sm);
}

/* About intro split layout */
.about-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-intro__photo img {
  max-width: 340px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 48px rgba(0,0,0, 0.25));
}
@media (max-width: 768px) {
  .about-intro { grid-template-columns: 1fr; gap: 32px; text-align: center; }
}

/* Two col hero (service detail with image) */
.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}
.service-feature {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}
.service-feature__icon {
  font-size: 24px;
  color: var(--c-purple);
  margin-bottom: 14px;
}
.service-feature__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-feature__desc {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .quiz-pair { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-block__inner { grid-template-columns: 1fr; }
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
  .about-section { grid-template-columns: 1fr; gap: 32px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav, .header-cta-desktop { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { height: 60px; }

  .hero { padding: 12px; }
  .hero__card { min-height: 360px; padding: 60px 24px; }
  .hero__corner-mark { top: 18px; left: 18px; width: 28px; height: 32px; }
  .hero__vertical-text { display: none; }

  .cards-grid-3 { grid-template-columns: 1fr; }
  .courses-carousel__inner { grid-template-columns: 1fr; }
  .courses-carousel { padding: 0; }
  .courses-arrow { display: none; }

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

  .quote-card { padding: 36px 24px; }
  .feature-block { padding: 28px 20px; }
  .feature-list__item { grid-template-columns: 70px 1fr auto; }

  .contact-form { grid-template-columns: 1fr; }
  .contact-form__submit { order: 99; }

  .article-form { padding: 28px 20px; margin-top: 40px; }
  .article-body { font-size: 16px; }
  .article-body h2 { margin-top: 36px; }
  .article-body h3 { margin-top: 28px; }

  .footer-top { grid-template-columns: 1fr; gap: 20px; }
  .footer-brand { text-align: right; }
  .footer-brand__tagline { margin-inline-start: 0; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); padding: 28px 0; gap: 24px; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; }

  .feature-cards { grid-template-columns: 1fr; }
  .service-feature-grid { grid-template-columns: 1fr; }
  .about-team-row { grid-template-columns: 1fr; }
  .blog-grid, .blog-grid--3 { grid-template-columns: 1fr; }

  .page-hero, .detail-hero { margin: 12px; padding: 44px 24px; }

  .display-marquee__track { font-size: 56px; gap: 36px; }
}

/* ============================================================
   Accessibility Widget — ת"י 5568 / WCAG 2.0 AA
   ============================================================ */

/* ---- Widget container ---- */
#a11y-widget {
  position: fixed;
  bottom: 20px;
  inset-inline-start: 20px;     /* RTL-aware: right side in he, left in ltr */
  z-index: 9999;
  font-family: 'Rubik', system-ui, -apple-system, sans-serif;
  direction: rtl;
}
#a11y-widget *,
#a11y-widget *::before,
#a11y-widget *::after { box-sizing: border-box; }

/* ---- Toggle button (always visible) ---- */
.a11y-toggle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #111111;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.28);
  transition: transform 0.18s ease, background 0.18s ease;
  padding: 0;
}
.a11y-toggle:hover,
.a11y-toggle:focus-visible {
  background: #000000;
  transform: scale(1.06);
  outline: 3px solid #FFD400;
  outline-offset: 2px;
}
.a11y-toggle svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* ---- Panel ---- */
.a11y-panel {
  position: absolute;
  bottom: 64px;
  inset-inline-start: 0;
  width: 320px;
  max-width: calc(100vw - 24px);
  background: #fff;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
  overflow: hidden;
}
.a11y-panel[hidden] { display: none; }
.a11y-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #111111;
  color: #fff;
}
.a11y-panel__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}
.a11y-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.a11y-close:hover,
.a11y-close:focus-visible {
  background: #fff;
  color: #111111;
  outline: 2px solid #FFD400;
  outline-offset: 2px;
}
.a11y-panel__body {
  padding: 14px 16px 8px;
  max-height: 60vh;
  overflow-y: auto;
}
.a11y-group { margin-bottom: 14px; }
.a11y-group__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #6B6485;
  margin-bottom: 8px;
}
.a11y-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.a11y-btn {
  flex: 1 1 auto;
  min-width: 90px;
  padding: 8px 10px;
  border: 1.5px solid #D5CCE5;
  background: #fff;
  color: #1a1a1a;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.a11y-btn:hover,
.a11y-btn:focus-visible {
  border-color: #111111;
  background: #f0f0f0;
  outline: 2px solid #FFD400;
  outline-offset: 1px;
}
.a11y-btn.is-active {
  background: #111111;
  color: #fff;
  border-color: #111111;
}
.a11y-panel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid #E5DFEC;
  background: #FAF7FE;
}
.a11y-reset {
  padding: 8px 14px;
  border: 1.5px solid #1a1a1a;
  background: transparent;
  color: #1a1a1a;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
}
.a11y-reset:hover,
.a11y-reset:focus-visible {
  background: #1a1a1a;
  color: #fff;
  outline: 2px solid #FFD400;
  outline-offset: 2px;
}
.a11y-statement-link {
  color: #111111;
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
}
.a11y-statement-link:hover,
.a11y-statement-link:focus-visible {
  color: #000000;
  outline: 2px solid #FFD400;
  outline-offset: 2px;
}

/* Don't apply accessibility transforms to the widget itself */
#a11y-widget,
#a11y-widget * {
  filter: none !important;
  font-size: revert !important;
}

/* ---- Accessibility state effects on the rest of the site ---- */

/* Text size (target body + descendants, except the widget) */
html[data-a11y-text="110"] body { font-size: 17.6px; }
html[data-a11y-text="125"] body { font-size: 20px; }
html[data-a11y-text="150"] body { font-size: 24px; }

/* High contrast: dark background, white text, yellow accents */
html[data-a11y-contrast="high"] body,
html[data-a11y-contrast="high"] body * {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}
html[data-a11y-contrast="high"] a {
  color: #FFD400 !important;
  text-decoration: underline !important;
}
html[data-a11y-contrast="high"] img,
html[data-a11y-contrast="high"] video {
  filter: grayscale(0.2) contrast(1.1);
}
/* Restore widget's own colors in high-contrast mode */
html[data-a11y-contrast="high"] #a11y-widget .a11y-toggle,
html[data-a11y-contrast="high"] #a11y-widget .a11y-panel__head,
html[data-a11y-contrast="high"] #a11y-widget .a11y-btn.is-active {
  background-color: #111111 !important;
  color: #fff !important;
}
html[data-a11y-contrast="high"] #a11y-widget .a11y-panel,
html[data-a11y-contrast="high"] #a11y-widget .a11y-btn {
  background-color: #fff !important;
  color: #1a1a1a !important;
}
html[data-a11y-contrast="high"] #a11y-widget .a11y-panel__foot {
  background-color: #FAF7FE !important;
}
html[data-a11y-contrast="high"] #a11y-widget .a11y-statement-link {
  color: #111111 !important;
}

/* Invert (negative) contrast */
html[data-a11y-contrast="invert"] body {
  filter: invert(1) hue-rotate(180deg);
}
html[data-a11y-contrast="invert"] body #a11y-widget {
  filter: invert(1) hue-rotate(180deg); /* counter the body invert */
}
html[data-a11y-contrast="invert"] img,
html[data-a11y-contrast="invert"] video,
html[data-a11y-contrast="invert"] svg:not(#a11y-widget svg) {
  filter: invert(1) hue-rotate(180deg);
}

/* Grayscale */
html.a11y-grayscale body {
  filter: grayscale(1);
}
html.a11y-grayscale #a11y-widget {
  filter: grayscale(0); /* keep widget colored */
}

/* Highlight links */
html.a11y-highlight-links a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
  background-color: #FFF7B0 !important;
  color: #1a1a1a !important;
  padding: 0 3px;
  border-radius: 3px;
}
/* Undo the highlight inside the widget itself */
html.a11y-highlight-links #a11y-widget a {
  background-color: transparent !important;
  color: #111111 !important;
  padding: 0 !important;
}

/* Readable font: force a clean sans-serif everywhere */
html.a11y-readable-font body,
html.a11y-readable-font body * {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif !important;
  letter-spacing: 0.02em !important;
  word-spacing: 0.05em !important;
  line-height: 1.7 !important;
}
/* Restore widget's font - keep it readable but consistent */
html.a11y-readable-font #a11y-widget,
html.a11y-readable-font #a11y-widget * {
  font-family: Arial, sans-serif !important;
}

/* Stop animations and transitions */
html.a11y-no-animations *,
html.a11y-no-animations *::before,
html.a11y-no-animations *::after {
  animation-duration: 0.001s !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001s !important;
  scroll-behavior: auto !important;
}

/* Big cursor */
html.a11y-big-cursor,
html.a11y-big-cursor *,
html.a11y-big-cursor *::before,
html.a11y-big-cursor *::after {
  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 fill='%23000' stroke='%23fff' stroke-width='1.5' d='M5 2 L5 20 L9.5 16 L12 22 L15 21 L12.5 15 L19 15 Z'/></svg>") 0 0, auto !important;
}

/* Mobile: widget panel fills near-full width */
@media (max-width: 480px) {
  .a11y-panel {
    width: calc(100vw - 24px);
    inset-inline-start: 0;
  }
  .a11y-toggle {
    width: 48px;
    height: 48px;
  }
  .a11y-toggle svg { width: 24px; height: 24px; }
}

/* Respect users who already requested reduced motion at OS level */
@media (prefers-reduced-motion: reduce) {
  .a11y-toggle { transition: none; }
}

/* ============================================================================
   Homepage v2 — הלבשת הווירפריים על הבסיס החי (תוספת בלבד)
   ============================================================================ */
.hero-lite { background: var(--c-bg, #F6F6F7); padding: 80px 0 48px; }
.hero-lite__inner { max-width: 980px; margin: 0 auto; text-align: right; }
.hero-lite__title { font-size: clamp(38px, 6vw, 76px); font-weight: 700; line-height: 1.06; letter-spacing: -0.02em; color: var(--c-text, #1c1c22); max-width: 900px; margin: 0; }
.hero-lite__sub { font-size: clamp(16px, 1.5vw, 20px); color: var(--c-text-muted, #55555f); line-height: 1.55; max-width: 640px; margin: 20px 0 0; }
.hero-lite__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-start; margin-top: 30px; }
.section-head--right { text-align: right; margin-bottom: 40px; }
.viewall-right { margin-top: 32px; text-align: right; }
.section-band { background: var(--c-bg, #F6F6F7); }
.banner { border-radius: var(--radius-lg, 16px); padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.banner--light { background: #fff; border: 1px solid var(--c-border, #e2e2e5); }
.banner__title { font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; margin: 0; line-height: 1.2; }
.service-card__eyebrow { display: inline-block; font-size: 12px; font-weight: 600; color: var(--c-purple, #111111); letter-spacing: 0.04em; margin-bottom: 8px; }
@media (max-width: 640px) {
  .hero-lite { padding: 56px 0 36px; }
  .banner { padding: 32px 24px; justify-content: center; text-align: center; }
}

/* ---- Final CTA (wireframe) ---- */
.final-cta { text-align: center; max-width: 720px; margin: 0 auto; }
.final-cta__title { font-size: clamp(26px, 3vw, 40px); font-weight: 700; line-height: 1.15; margin: 0 0 14px; }
.final-cta__sub { color: var(--c-text-muted, #55555f); font-size: 17px; line-height: 1.5; margin: 0 0 28px; }

/* הירו נושם: ריווח גדול יותר + קרוסלת לוגואים קטנה ונמוכה יותר */
.hero-lite { padding-bottom: 56px; }
.marquee--hero { padding-top: 52px; padding-bottom: 40px; }
.marquee--hero .client-logo { height: 46px; }
.marquee--hero .client-logo img { max-height: 42px; }

/* ============ Tools directory page (/tools/) ============ */
.tools-page-hero { background: var(--c-bg, #F6F6F7); padding: 64px 0 40px; text-align: center; }
.tools-page-hero__title { font-size: clamp(30px, 4vw, 52px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; color: var(--c-text, #1a1a1a); }
.tools-page-hero__sub { color: var(--c-text-muted, #55555f); font-size: 18px; line-height: 1.6; max-width: 640px; margin: 0 auto; }
.tools-page__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tools-page__card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: #fff; border: 1px solid var(--c-border, #e2e2e5); border-radius: var(--radius-lg, 16px); padding: 34px 20px; min-height: 160px; text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.tools-page__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg, 0 18px 40px rgba(20,20,20,.12)); border-color: var(--c-purple-light, #8a8a8a); }
.tools-page__logo { height: 46px; display: flex; align-items: center; justify-content: center; }
.tools-page__logo img { max-height: 46px; max-width: 160px; width: auto; object-fit: contain; }
.tools-page__name { font-size: 15px; font-weight: 600; color: var(--c-text, #1a1a1a); }
@media (max-width: 900px) { .tools-page__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tools-page__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .tools-page__card { min-height: 140px; padding: 26px 14px; } }

/* ===== Tools directory cards (/tools/) — logo + tag + name + description ===== */
.tool-dir__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool-dir__card { display: flex; flex-direction: column; gap: 12px; background: #fff; border: 1px solid var(--c-border, #E4E4E4); border-radius: 14px; padding: 22px 20px; min-height: 172px; text-decoration: none; text-align: right; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.tool-dir__card:hover { transform: translateY(-3px); border-color: #111; box-shadow: 0 12px 30px rgba(0,0,0,.09); }
.tool-dir__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tool-dir__logo { height: 34px; display: flex; align-items: center; }
.tool-dir__logo img { max-height: 34px; max-width: 120px; width: auto; object-fit: contain; }
.tool-dir__tag { font-size: 11px; font-weight: 600; color: #555; background: #F2F2F2; border: 1px solid #E4E4E4; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.tool-dir__name { font-size: 18px; font-weight: 700; color: var(--c-text, #141414); margin-top: 4px; }
.tool-dir__desc { font-size: 14px; color: var(--c-text-muted, #666); line-height: 1.55; }
@media (max-width: 900px) { .tool-dir__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tool-dir__grid { grid-template-columns: 1fr; } }
