/* ==========================================================================
   YMDigital Store Kit — sections.css
   עיצוב ספריית הסקשנים. כל הערכים נגזרים מהטוקנים הגלובליים.
   ========================================================================== */

.ym-sec {
  --sec-gray: color-mix(in srgb, var(--ink) 4%, var(--bg));
  --sec-ink: var(--ink);
  --sec-soft: var(--ink-soft);
  --sec-eyebrow: var(--accent);
  --sec-card: var(--surface);
  --sec-line: var(--line);
  position: relative;
  padding-block: var(--section-pad);
  color: var(--sec-ink);
  font-family: var(--font-main);
}
.ym-sec * { box-sizing: border-box; }
.ym-sec__in {
  position: relative;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ---------- גווני רקע ---------- */
.ym-tone-light { background: var(--bg); }
.ym-tone-gray  { background: color-mix(in srgb, var(--ink) 4%, var(--bg)); }
.ym-tone-dark,
.ym-tone-brand {
  --sec-ink: var(--ink-invert, #fff);
  --sec-soft: color-mix(in srgb, #fff 78%, transparent);
  --sec-card: color-mix(in srgb, #fff 8%, transparent);
  --sec-line: color-mix(in srgb, #fff 18%, transparent);
  color: var(--sec-ink);
}
.ym-tone-dark  { background: var(--bg-deep); --sec-eyebrow: var(--lime); }
.ym-tone-brand { background: var(--accent); --sec-eyebrow: color-mix(in srgb, #fff 85%, transparent); }
.ym-tone-dark .ym-sec__title,
.ym-tone-brand .ym-sec__title { color: var(--sec-ink); }
.ym-tone-dark .ym-btn,
.ym-tone-brand .ym-btn { background: #fff; color: var(--ink); }
.ym-tone-dark .ym-btn:hover,
.ym-tone-brand .ym-btn:hover { background: color-mix(in srgb, #fff 88%, var(--accent)); color: var(--ink); }
.ym-tone-dark .ym-btn--ghost,
.ym-tone-brand .ym-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 0.125rem color-mix(in srgb, #fff 55%, transparent); }
.ym-tone-dark .ym-btn--ghost:hover,
.ym-tone-brand .ym-btn--ghost:hover { background: color-mix(in srgb, #fff 12%, transparent); color: #fff; box-shadow: inset 0 0 0 0.125rem #fff; }
.ym-tone-dark a:not(.ym-btn),
.ym-tone-brand a:not(.ym-btn) { color: #fff; }

/* ---------- כותרת סקשן ---------- */
.ym-sec__head { display: flex; flex-direction: column; gap: var(--sp-3); margin-block-end: var(--sp-10); max-width: 46rem; }
.ym-sec--align-center .ym-sec__head { margin-inline: auto; text-align: center; align-items: center; }
.ym-sec__head--row { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--sp-4) var(--sp-8); max-width: none; }
.ym-sec__head-main { display: flex; flex-direction: column; gap: var(--sp-3); max-width: 46rem; }
.ym-sec__eyebrow { font-size: 0.9375rem; font-weight: 700; color: var(--sec-eyebrow); }
.ym-sec__title {
  margin: 0;
  font-size: clamp(1.75rem, 3.4vw, 2.375rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--sec-ink);
}
.ym-sec__text { color: var(--sec-soft); font-size: 1.0625rem; line-height: 1.7; }
.ym-sec__text p { margin: 0 0 var(--sp-3); }
.ym-sec__text p:last-child { margin: 0; }
.ym-sec__btns { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.ym-sec--align-center .ym-sec__btns { justify-content: center; }
.ym-sec__btn { min-height: 2.875rem; font-size: 1.0625rem; font-weight: 700; justify-content: center; }
.ym-sec__btn--ghost { background: var(--bg); }
.ym-sec__foot { display: flex; justify-content: center; margin-block-start: var(--sp-8); }
.ym-sec__link { font-weight: 700; white-space: nowrap; }
.ym-sec__link-wrap { text-align: center; margin: calc(var(--sp-6) * -1) 0 var(--sp-8); }
.ym-sec__notice { padding: var(--sp-6); border: 0.0625rem dashed var(--line); border-radius: var(--radius-md); text-align: center; color: var(--ink-soft); }

/* ---------- תמונות ---------- */
.ym-sec__img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); display: block; }
.ym-sec__img--empty {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; background: color-mix(in srgb, var(--ink) 8%, var(--bg)); color: var(--ink-soft);
}
.ym-sec__img--empty svg { width: 3rem; height: 3rem; opacity: 0.6; }

/* ---------- הסתרה לפי מסך ---------- */
@media (max-width: 47.9375rem) { .ym-hide-m { display: none !important; } }
@media (min-width: 48rem) { .ym-hide-d { display: none !important; } }

/* ==========================================================================
   פתיחה
   ========================================================================== */
.ym-sec--hero { padding-block: clamp(3rem, 7vw, 5rem); }
.ym-sec--hero .ym-sec__head { margin-block-end: var(--sp-7); max-width: 38rem; gap: var(--sp-5); }
.ym-sec--hero .ym-sec__title { font-size: var(--fs-hero); line-height: 1.1; letter-spacing: -0.03em; }
.ym-sec--hero .ym-sec__text { font-size: 1.1875rem; }
.ym-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.ym-hero__media { min-width: 0; }
.ym-hero__grid .ym-hero__media .ym-sec__img { aspect-ratio: 4 / 4.2; height: auto; max-height: 34rem; }
.ym-hero__badges { list-style: none; margin: var(--sp-6) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); font-size: 0.9375rem; color: var(--sec-soft); }
.ym-hero__badges li { display: inline-flex; align-items: center; gap: var(--sp-2); }
.ym-hero__badges svg { width: 1.125rem; height: 1.125rem; color: var(--success); flex: none; }
.ym-tone-dark .ym-hero__badges svg,
.ym-tone-brand .ym-hero__badges svg,
.ym-sec--hero.has-bg .ym-hero__badges svg { color: var(--lime); }
.ym-sec--hero.ym-sec--layout-center .ym-hero__content { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ym-sec--hero.ym-sec--layout-center .ym-sec__head { margin-inline: auto; align-items: center; }
.ym-sec--hero.ym-sec--layout-center .ym-sec__btns,
.ym-sec--hero.ym-sec--layout-center .ym-hero__badges { justify-content: center; }
.ym-sec--hero.ym-sec--layout-center .ym-hero__media { margin-block-start: var(--sp-10); }
.ym-sec--hero.ym-sec--layout-center .ym-hero__media .ym-sec__img { aspect-ratio: 21 / 9; }
.ym-sec--hero.has-bg { min-height: min(42rem, 85vh); display: flex; align-items: center; color: #fff; --sec-ink: #fff; --sec-soft: color-mix(in srgb, #fff 85%, transparent); --sec-eyebrow: #fff; }
.ym-sec--hero.has-bg .ym-sec__in { width: 100%; }
.ym-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ym-sec--hero.has-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to left, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.25)); }
.ym-sec--hero.has-bg .ym-sec__in { z-index: 2; }
.ym-sec--hero.has-bg .ym-btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 0.125rem color-mix(in srgb, #fff 60%, transparent); }
@media (max-width: 56rem) {
  .ym-hero__grid { grid-template-columns: 1fr; }
  .ym-hero__grid .ym-hero__media .ym-sec__img { aspect-ratio: 4 / 3; }
}

/* ==========================================================================
   יתרונות
   ========================================================================== */
.ym-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); }
.ym-feat { display: flex; gap: var(--sp-4); align-items: center; }
.ym-feat__icon {
  flex: none; width: 3rem; height: 3rem; border-radius: var(--radius-pill);
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--accent);
}
.ym-tone-dark .ym-feat__icon,
.ym-tone-brand .ym-feat__icon { background: color-mix(in srgb, #fff 14%, transparent); color: #fff; }
.ym-feat__icon svg { width: 1.375rem; height: 1.375rem; }
.ym-feat__body { display: flex; flex-direction: column; gap: 0.125rem; }
.ym-feat__title { font-size: 1rem; font-weight: 700; }
.ym-feat__text { font-size: 0.875rem; color: var(--sec-soft); }
.ym-sec--features.ym-sec--layout-row { padding-block: var(--sp-7); border-block-end: 0.0625rem solid var(--sec-line); }
.ym-sec--features.ym-sec--layout-row .ym-sec__head { margin-block-end: var(--sp-6); }
.ym-sec--features.ym-sec--layout-cards .ym-feat {
  flex-direction: column; align-items: flex-start; gap: var(--sp-4);
  background: var(--sec-card); border: 0.0625rem solid var(--sec-line); border-radius: var(--radius-md); padding: var(--sp-8);
}
.ym-sec--features.ym-sec--layout-cards.ym-sec--align-center .ym-feat { align-items: center; text-align: center; }
.ym-sec--features.ym-sec--layout-cards .ym-feat__title { font-size: 1.1875rem; }
.ym-sec--features.ym-sec--layout-cards .ym-feat__text { font-size: 1rem; line-height: 1.6; }
.ym-sec--features.ym-sec--layout-list .ym-feats { grid-template-columns: 1fr; max-width: 46rem; gap: var(--sp-5); }
.ym-sec--features.ym-sec--layout-list.ym-sec--align-center .ym-feats { margin-inline: auto; width: max-content; max-width: 100%; }
.ym-sec--features .ym-sec__btns { margin-block-start: var(--sp-8); }
@media (max-width: 48rem) {
  .ym-sec--features.ym-sec--layout-row .ym-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 0.75rem; }
  .ym-sec--features.ym-sec--layout-row .ym-feat { flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; }
  .ym-sec--features.ym-sec--layout-row .ym-feat__icon { width: 2.5rem; height: 2.5rem; }
  .ym-sec--features.ym-sec--layout-row .ym-feat__icon svg { width: 1.125rem; height: 1.125rem; }
  .ym-sec--features.ym-sec--layout-row .ym-feat__title { font-size: 0.9375rem; }
  .ym-sec--features.ym-sec--layout-row .ym-feat__text { font-size: 0.8125rem; line-height: 1.4; }
}

/* ==========================================================================
   טקסט ותמונה
   ========================================================================== */
.ym-ti__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.ym-sec--layout-image-end .ym-ti__media { order: 2; }
.ym-ti__media .ym-sec__img { aspect-ratio: 4 / 3.4; height: auto; }
.ym-ti__content .ym-sec__head { margin-block-end: var(--sp-6); }
.ym-ti__bullets { list-style: none; margin: 0 0 var(--sp-7); padding: 0; display: flex; flex-direction: column; gap: var(--sp-3); font-size: 1.0625rem; }
.ym-ti__bullets li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.ym-ti__bullets svg { width: 1.25rem; height: 1.25rem; color: var(--accent); flex: none; margin-top: 0.25rem; }
.ym-tone-dark .ym-ti__bullets svg, .ym-tone-brand .ym-ti__bullets svg { color: var(--lime); }
.ym-sec--text-image .ym-sec__btn:not(.ym-sec__btn--ghost) { background: var(--ink); }
.ym-sec--text-image .ym-sec__btn:not(.ym-sec__btn--ghost):hover { background: color-mix(in srgb, var(--ink) 85%, var(--accent)); }
.ym-tone-dark.ym-sec--text-image .ym-sec__btn:not(.ym-sec__btn--ghost),
.ym-tone-brand.ym-sec--text-image .ym-sec__btn:not(.ym-sec__btn--ghost) { background: #fff; }
.ym-sec--text-image.has-bg { color: #fff; --sec-ink: #fff; --sec-soft: color-mix(in srgb, #fff 85%, transparent); --sec-eyebrow: #fff; }
.ym-ti__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ym-sec--text-image.has-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(15, 23, 42, 0.62); }
.ym-sec--text-image.has-bg .ym-sec__in { z-index: 2; }
.ym-sec--text-image.has-bg .ym-ti__content { max-width: 40rem; }
.ym-sec--text-image.has-bg.ym-sec--align-center .ym-ti__content { margin-inline: auto; text-align: center; }
@media (max-width: 56rem) {
  .ym-ti__grid { grid-template-columns: 1fr; }
  .ym-sec--layout-image-end .ym-ti__media { order: 0; }
}

/* ==========================================================================
   מוצרים
   ========================================================================== */
@media (min-width: 64.0625rem) {
  .ym-prods--cols-2 .woocommerce ul.products { --ym-cols: 2; }
  .ym-prods--cols-3 .woocommerce ul.products { --ym-cols: 3; }
  .ym-prods--cols-4 .woocommerce ul.products { --ym-cols: 4; }
}
.ym-prods .woocommerce ul.products { margin-bottom: 0; }
.ym-tabs__list { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.ym-sec--align-center .ym-tabs__list { justify-content: center; margin-block: calc(var(--sp-4) * -1) var(--sp-8); }
.ym-tabs__btn {
  min-height: 2.75rem; padding: 0 var(--sp-5);
  border-radius: var(--radius-pill); border: 0.09375rem solid color-mix(in srgb, var(--ink) 22%, var(--bg));
  background: var(--bg); color: var(--ink);
  font-family: inherit; font-size: 0.9375rem; font-weight: 700; cursor: pointer;
  transition: background var(--tr-fast), color var(--tr-fast), border-color var(--tr-fast);
}
.ym-tabs__btn:hover { border-color: var(--ink); }
.ym-tabs__btn[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ym-sec--products .ym-sec__foot .ym-btn { background: var(--ink); }
.ym-sec--products .ym-sec__foot .ym-btn:hover { background: color-mix(in srgb, var(--ink) 85%, var(--accent)); }

.ym-carousel { position: relative; }
.ym-carousel ul.products,
.ym-carousel .ym-quotes {
  display: flex !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: var(--sp-6);
}
.ym-carousel ul.products::-webkit-scrollbar,
.ym-carousel .ym-quotes::-webkit-scrollbar { display: none; }
.ym-carousel ul.products li.product { flex: 0 0 min(17rem, 75vw); scroll-snap-align: start; }
.ym-carousel .ym-quotes > li { flex: 0 0 min(24rem, 85vw); scroll-snap-align: start; }
.ym-carousel__nav { display: flex; justify-content: center; gap: var(--sp-3); margin-block-start: var(--sp-6); }
.ym-carousel__btn {
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius-pill);
  border: 0.0625rem solid var(--line); background: var(--bg); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.ym-carousel__btn:hover { border-color: var(--ink); }
.ym-carousel__btn svg { width: 1.25rem; height: 1.25rem; }

/* ==========================================================================
   קטגוריות
   ========================================================================== */
.ym-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); }
.ym-cat__link { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); color: var(--sec-ink); text-decoration: none; }
.ym-cat__link:hover { color: var(--accent); }
.ym-cat__media { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-md); background: color-mix(in srgb, var(--ink) 5%, var(--bg)); }
.ym-cat__img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--tr-med); }
.ym-cat__link:hover .ym-cat__img { transform: scale(1.05); }
.ym-cat__name { font-size: 1.0625rem; font-weight: 700; text-align: center; }
.ym-sec--layout-circles .ym-cats { display: flex; flex-wrap: wrap; justify-content: flex-start; }
.ym-sec--layout-circles .ym-cats > * { flex: 0 1 10rem; min-width: 0; }
.ym-sec--layout-circles.ym-sec--align-center .ym-cats { justify-content: center; }
.ym-sec--layout-circles .ym-cat__media { border-radius: 50%; }
.ym-sec--layout-banners .ym-cats { grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); }
.ym-sec--layout-banners .ym-cat__link { position: relative; overflow: hidden; border-radius: var(--radius-md); }
.ym-sec--layout-banners .ym-cat__media { aspect-ratio: 16 / 10; border-radius: 0; }
.ym-sec--layout-banners .ym-cat__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15, 23, 42, 0.7), transparent 60%); }
.ym-sec--layout-banners .ym-cat__name,
.ym-sec--layout-banners .ym-cat__count { position: absolute; z-index: 1; inset-inline-start: var(--sp-5); color: #fff; text-align: start; }
.ym-sec--layout-banners .ym-cat__name { bottom: calc(var(--sp-5) + 1.4rem); font-size: 1.375rem; }
.ym-sec--layout-banners .ym-cat__count { bottom: var(--sp-5); font-size: 0.875rem; opacity: 0.85; }
@media (max-width: 40rem) {
  .ym-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
  .ym-sec--layout-circles .ym-cats > * { flex-basis: calc((100% - 2 * var(--sp-4)) / 3); }
  .ym-sec--layout-banners .ym-cats { grid-template-columns: 1fr; }
}

/* ==========================================================================
   המלצות
   ========================================================================== */
.ym-quotes { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); }
.ym-quote {
  display: flex; flex-direction: column; gap: var(--sp-4); text-align: start;
  background: var(--sec-card); color: var(--sec-ink);
  border: 0.0625rem solid var(--sec-line); border-radius: var(--radius-md); padding: var(--sp-8);
}
.ym-tone-gray .ym-quote { background: var(--bg); }
.ym-quote__text { margin: 0; font-size: 1.0625rem; line-height: 1.7; }
.ym-quote__text p { margin: 0; }
.ym-quote__by { display: flex; gap: var(--sp-3); align-items: center; margin-top: auto; }
.ym-quote__by > span { display: flex; flex-direction: column; }
.ym-quote__by strong { font-size: 0.9375rem; }
.ym-quote__role { font-size: 0.8125rem; color: var(--sec-soft); }
.ym-quote__avatar { width: 2.75rem; height: 2.75rem; border-radius: 50%; object-fit: cover; flex: none; }
.ym-quote__avatar--initial { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--accent); }
.ym-stars { display: inline-flex; gap: 0.125rem; }
.ym-stars svg { width: 1.125rem; height: 1.125rem; }
.ym-stars .is-on { fill: #B45309; }
.ym-stars .is-off { fill: color-mix(in srgb, var(--ink) 18%, var(--bg)); }
.ym-tone-dark .ym-stars .is-on, .ym-tone-brand .ym-stars .is-on { fill: #FBBF24; }
.ym-sec--layout-single .ym-quotes { grid-template-columns: 1fr; max-width: 48rem; margin-inline: auto; }
.ym-sec--layout-single .ym-quote { text-align: center; align-items: center; padding: var(--sp-12) var(--sp-10); }
.ym-sec--layout-single .ym-quote__text { font-size: clamp(1.25rem, 2.4vw, 1.625rem); font-weight: 500; line-height: 1.55; }
.ym-sec--testimonials .ym-sec__btns { margin-block-start: var(--sp-8); }

/* ==========================================================================
   שאלות נפוצות
   ========================================================================== */
.ym-faq { display: flex; flex-direction: column; gap: var(--sp-3); max-width: 50rem; }
.ym-sec--align-center .ym-faq { margin-inline: auto; }
.ym-faq__item { background: var(--sec-card); border: 0.0625rem solid var(--sec-line); border-radius: var(--radius-md); padding: 0 var(--sp-6); transition: border-color var(--tr-fast); }
.ym-tone-gray .ym-faq__item { background: var(--bg); }
.ym-faq__item[open] { border-color: var(--accent); }
.ym-faq__q {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  padding: var(--sp-5) 0; font-size: 1.125rem; font-weight: 700;
}
.ym-faq__q::-webkit-details-marker { display: none; }
.ym-faq__icon { position: relative; flex: none; width: 1.25rem; height: 1.25rem; }
.ym-faq__icon::before,
.ym-faq__icon::after { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 100%; height: 0.125rem; margin-top: -0.0625rem; background: currentColor; border-radius: 1rem; transition: transform var(--tr-fast); }
.ym-faq__icon::after { transform: rotate(90deg); }
.ym-faq__item[open] .ym-faq__icon::after { transform: rotate(0deg); }
.ym-faq__a { padding-block-end: var(--sp-5); color: var(--sec-soft); line-height: 1.7; }
.ym-faq__a p { margin: 0 0 var(--sp-3); }
.ym-faq__a p:last-child { margin: 0; }
.ym-sec--layout-two-col .ym-faq { display: grid; grid-template-columns: 1fr 1fr; align-items: start; max-width: none; }
@media (max-width: 48rem) { .ym-sec--layout-two-col .ym-faq { grid-template-columns: 1fr; } }
.ym-sec--faq .ym-sec__btns { margin-block-start: var(--sp-8); }

/* ==========================================================================
   קריאה לפעולה
   ========================================================================== */
.ym-sec--cta { padding-block: var(--sp-8); }
.ym-sec--cta.ym-sec--layout-band { padding-block: var(--sp-14); }
.ym-cta__box,
.ym-cta__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-8); }
.ym-cta__box { border-radius: var(--radius-md); padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem); color: var(--sec-ink); }
.ym-cta__box.ym-tone-light { border: 0.0625rem solid var(--line); }
.ym-cta__box.ym-tone-dark,
.ym-cta__box.ym-tone-brand { --sec-ink: #fff; --sec-soft: color-mix(in srgb, #fff 82%, transparent); }
.ym-cta__box.ym-tone-dark { --sec-eyebrow: var(--lime); }
.ym-cta__box.ym-tone-brand { --sec-eyebrow: color-mix(in srgb, #fff 85%, transparent); }
.ym-cta__content { flex: 1 1 24rem; min-width: 0; }
.ym-cta__content .ym-sec__head { margin: 0; }
.ym-sec--cta .ym-sec__title { font-size: clamp(1.625rem, 3.6vw, 2.625rem); }
.ym-cta__side { flex: 0 1 auto; display: flex; flex-direction: column; gap: var(--sp-4); align-items: flex-start; }
.ym-sec--layout-form .ym-cta__side { flex: 1 1 22rem; align-items: stretch; }
.ym-sec--cta.ym-sec--align-center .ym-cta__box,
.ym-sec--cta.ym-sec--align-center .ym-cta__row { flex-direction: column; text-align: center; }
.ym-sec--cta.ym-sec--align-center .ym-cta__side { align-items: center; }
.ym-sec--cta.ym-sec--align-center .ym-cta__content,
.ym-sec--cta.ym-sec--align-center .ym-cta__side { flex: 0 0 auto; }
.ym-sec--cta.ym-sec--align-center.ym-sec--layout-form .ym-cta__side { width: 100%; max-width: 34rem; align-items: stretch; }
.ym-sec--cta .ym-sec__btn { font-weight: 800; }

.ym-timer { display: flex; gap: var(--sp-2); }
.ym-timer__unit { display: flex; flex-direction: column; align-items: center; min-width: 4.25rem; padding: var(--sp-2) 0; border-radius: var(--radius-sm); background: #fff; color: var(--ink); }
.ym-tone-light .ym-timer__unit, .ym-tone-gray .ym-timer__unit { background: var(--bg-deep); color: #fff; }
.ym-timer__num { font-size: 1.625rem; font-weight: 800; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ym-timer__label { font-size: 0.75rem; color: var(--ink-soft); }
.ym-tone-light .ym-timer__label, .ym-tone-gray .ym-timer__label { color: color-mix(in srgb, #fff 75%, transparent); }
.ym-timer.is-ended { opacity: 0.6; }

.ym-cta__form .ym-form { max-width: none; }
.ym-cta__form .ym-form--inline { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: stretch; }
.ym-cta__form .ym-form--inline .ym-form__grid { flex: 1 1 14rem; display: block; margin: 0; }
.ym-cta__form .ym-form--inline .ym-form__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ym-cta__form .ym-form--inline .ym-form__input { min-height: 3.25rem; border: 0; background: #fff; color: var(--ink); }
.ym-cta__form .ym-form--inline .ym-form__submit { margin: 0; min-height: 3.25rem; }
.ym-cta__form .ym-form--inline .ym-form__msg { flex: 1 1 100%; }
.ym-cta__box.ym-tone-dark .ym-form__submit { background: var(--accent); color: #fff; }
.ym-cta__box.ym-tone-light .ym-form--inline .ym-form__input,
.ym-cta__box.ym-tone-gray .ym-form--inline .ym-form__input,
.ym-sec--cta.ym-tone-light .ym-form--inline .ym-form__input,
.ym-sec--cta.ym-tone-gray .ym-form--inline .ym-form__input { border: 0.0625rem solid var(--line); }
.ym-cta__box.ym-tone-dark .ym-form__msg,
.ym-cta__box.ym-tone-brand .ym-form__msg { color: #fff; }

@media (max-width: 40rem) {
  .ym-timer__unit { min-width: 3.5rem; }
  .ym-cta__side { width: 100%; }
  .ym-cta__side .ym-sec__btns, .ym-cta__side .ym-sec__btn { width: 100%; }
}

/* ---------- עורך ---------- */
.ym-sec-ed > * { pointer-events: none; }
.editor-styles-wrapper .wp-block[data-type^="ym/"] { max-width: none; margin-inline: 0; }
.ym-sec-ed__empty { padding: 2rem; text-align: center; border: 1px dashed #c3c4c7; border-radius: 6px; color: #50575e; font-family: system-ui, sans-serif; }

/* ==========================================================================
   טופס
   ========================================================================== */
.ym-formsec__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 2.5rem); align-items: start; }
.ym-formsec__card {
  background: var(--surface); color: var(--ink);
  border: 0.0625rem solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-md);
}
.ym-formsec__only .ym-formsec__card { max-width: 46rem; }
.ym-sec--align-center .ym-formsec__only .ym-formsec__card { margin-inline: auto; }
.ym-formsec__details {
  background: color-mix(in srgb, var(--accent) 6%, var(--bg)); color: var(--ink);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.25rem);
}
.ym-tone-gray .ym-formsec__details { background: var(--bg); border: 0.0625rem solid var(--line); }
.ym-formsec__dtitle { margin: 0 0 var(--sp-6); font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.ym-formsec__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-5); }
.ym-formsec__item { display: flex; gap: var(--sp-4); align-items: flex-start; }
.ym-formsec__icon { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--accent); color: #fff; }
.ym-formsec__icon svg { width: 1.25rem; height: 1.25rem; }
.ym-formsec__txt { display: flex; flex-direction: column; gap: 0.125rem; min-width: 0; }
.ym-formsec__label { font-size: 0.8125rem; color: var(--ink-soft); font-weight: 600; }
.ym-formsec__val { font-size: 1.0625rem; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.ym-formsec__val a { color: var(--ink); }
.ym-formsec__val a:hover { color: var(--accent); }
.ym-formsec__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 24rem; height: 100%; background: color-mix(in srgb, var(--ink) 6%, var(--bg)); }
.ym-formsec__map iframe { display: block; width: 100%; height: 100%; min-height: 24rem; border: 0; }
@media (max-width: 56rem) { .ym-formsec__grid { grid-template-columns: 1fr; } }


/* ---------- פתיחה: פריסת פסיפס ---------- */
.ym-sec--hero.ym-sec--layout-mosaic { overflow: hidden; }
.ym-sec--hero.ym-sec--layout-mosaic::before,
.ym-sec--hero.ym-sec--layout-mosaic::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.ym-sec--hero.ym-sec--layout-mosaic::before { inset-block-start: -18rem; inset-inline-end: -14rem; width: 42rem; height: 42rem; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent) 0%, transparent 65%); }
.ym-sec--hero.ym-sec--layout-mosaic::after { inset-block-end: -16rem; inset-inline-start: -12rem; width: 34rem; height: 34rem; background: radial-gradient(circle, color-mix(in srgb, var(--orange) 12%, transparent) 0%, transparent 65%); }
.ym-sec--layout-mosaic .ym-sec__in { z-index: 1; }
.ym-sec--layout-mosaic .ym-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); }
.ym-hero__eyebrow { display: inline-flex; align-items: center; gap: var(--sp-2); align-self: flex-start; padding: var(--sp-2) var(--sp-4); border-radius: var(--radius-pill); background: var(--sec-card); border: 0.0625rem solid var(--sec-line); box-shadow: var(--shadow-sm); color: var(--sec-soft); font-size: var(--fs-small); font-weight: 600; }
.ym-hero__eyebrow i { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--sec-eyebrow); box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent) 20%, transparent); }
.ym-sec--layout-mosaic .ym-hero__content { display: flex; flex-direction: column; gap: var(--sp-4); }
.ym-sec--layout-mosaic .ym-hero__title { font-family: var(--font-heading); font-size: clamp(2.375rem, 5.4vw, 4.25rem); line-height: 1.08; letter-spacing: -0.025em; }
.ym-hero__mark { position: relative; display: inline-block; color: var(--accent); }
.ym-tone-dark .ym-hero__mark, .ym-tone-brand .ym-hero__mark { color: var(--lime); }
.ym-hero__mark::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -0.28em; height: 0.42em;
  background: color-mix(in srgb, currentColor 35%, transparent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9C40 3 90 2 198 6' fill='none' stroke='black' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9C40 3 90 2 198 6' fill='none' stroke='black' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.ym-sec--layout-mosaic .ym-hero__lead { max-width: 34rem; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.75; }
.ym-sec--layout-mosaic .ym-sec__btns { margin-block-start: var(--sp-4); }
.ym-sec--layout-mosaic .ym-sec__btn { min-height: 3.5rem; padding-inline: var(--sp-8); }
.ym-sec--layout-mosaic .ym-hero__badges svg { color: var(--accent); }
.ym-hero__mosaic { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; grid-template-rows: 1fr 1fr; gap: var(--sp-4); height: clamp(22rem, 46vw, 34rem); }
.ym-hero__tile { margin: 0; min-height: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--sec-card); box-shadow: var(--shadow-lg); }
.ym-hero__tile .ym-sec__img { width: 100%; height: 100%; border-radius: 0; transition: transform 0.9s cubic-bezier(.2, .7, .2, 1); }
.ym-hero__tile .ym-sec__img--empty { aspect-ratio: auto; }
.ym-hero__tile:hover .ym-sec__img { transform: scale(1.05); }
.ym-hero__tile--a { grid-row: 1 / 3; }
.ym-hero__chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); border: 0.0625rem solid var(--line); box-shadow: var(--shadow-lg); }
.ym-hero__chip b { display: block; font-size: 1rem; line-height: 1.2; }
.ym-hero__chip small { display: block; color: var(--ink-soft); font-size: 0.8125rem; }
.ym-hero__chip--1 { inset-block-start: 1.25rem; inset-inline-start: -1rem; }
.ym-hero__chip--2 { inset-block-end: 1.5rem; inset-inline-end: 38%; }
.ym-hero__chip-badge { display: flex; align-items: center; justify-content: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); color: var(--accent); font-weight: 800; font-size: 0.9375rem; }
.ym-hero__chip-badge--sale { background: var(--orange); color: #fff; }
.ym-hero__chip-badge svg { width: 1.375rem; height: 1.375rem; }
.ym-sec--layout-mosaic.is-moving .ym-hero__tile { animation: ym-hero-in 0.8s cubic-bezier(.2, .7, .2, 1) both; }
.ym-sec--layout-mosaic.is-moving .ym-hero__tile--b { animation-delay: 0.12s; }
.ym-sec--layout-mosaic.is-moving .ym-hero__tile--c { animation-delay: 0.24s; }
.ym-sec--layout-mosaic.is-moving .ym-hero__chip { animation: ym-hero-float 6s ease-in-out infinite; }
.ym-sec--layout-mosaic.is-moving .ym-hero__chip--2 { animation-delay: -3s; }
@keyframes ym-hero-in { from { opacity: 0; transform: translateY(1.25rem) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes ym-hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-0.5rem); } }
@media (max-width: 62rem) {
  .ym-sec--layout-mosaic .ym-hero__grid { grid-template-columns: 1fr; }
}
@media (max-width: 40rem) {
  .ym-hero__mosaic { height: 24rem; gap: var(--sp-3); }
  .ym-hero__chip--1 { inset-inline-start: 0.5rem; }
  .ym-hero__chip--2 { inset-inline-end: auto; inset-inline-start: 0.5rem; inset-block-end: 0.75rem; }
  .ym-sec--layout-mosaic .ym-sec__btns .ym-sec__btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .ym-sec--layout-mosaic .ym-hero__tile, .ym-sec--layout-mosaic .ym-hero__chip { animation: none !important; }
  .ym-hero__tile .ym-sec__img { transition: none; }
}

/* ==========================================================================
   מספרים
   ========================================================================== */
.ym-stats { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.ym-stat { display: flex; flex-direction: column; gap: var(--sp-1); }
.ym-sec--align-center .ym-stat { align-items: center; text-align: center; }
.ym-stat__num { display: inline-flex; align-items: baseline; gap: 0.125rem; font-family: var(--font-heading); font-size: clamp(2.25rem, 4.6vw, 3.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: var(--accent); font-variant-numeric: tabular-nums; direction: ltr; }
.ym-tone-dark .ym-stat__num { color: var(--lime); }
.ym-tone-brand .ym-stat__num { color: #fff; }
.ym-stat__suffix { font-size: 0.6em; }
.ym-stat__label { font-size: 1.0625rem; font-weight: 700; color: var(--sec-ink); }
.ym-stat__text { font-size: 0.9375rem; color: var(--sec-soft); line-height: 1.5; }
.ym-sec--stats.ym-sec--layout-row .ym-stat + .ym-stat { border-inline-start: 0.0625rem solid var(--sec-line); }
.ym-sec--stats.ym-sec--layout-cards .ym-stat { padding: var(--sp-8) var(--sp-6); border-radius: var(--radius-md); background: var(--sec-card); border: 0.0625rem solid var(--sec-line); }
.ym-tone-light .ym-sec--stats .ym-stat, .ym-sec--stats.ym-tone-light.ym-sec--layout-cards .ym-stat { box-shadow: var(--shadow-sm); }
.ym-stats__split { display: grid; gap: var(--sp-10); align-items: center; }
.ym-stats__split .ym-sec__head { margin-block-end: var(--sp-6); }
.ym-stats__split .ym-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
.ym-stats__split .ym-stat { align-items: flex-start; text-align: start; padding: var(--sp-6); border-radius: var(--radius-md); background: var(--sec-card); border: 0.0625rem solid var(--sec-line); }
.ym-sec--stats .ym-sec__btns { margin-block-start: var(--sp-8); }
.ym-stats__split .ym-sec__btns { margin-block-start: 0; }
@media (min-width: 62rem) { .ym-stats__split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--sp-16); } }
@media (max-width: 40rem) {
  .ym-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-6) var(--sp-4); }
  .ym-sec--stats.ym-sec--layout-row .ym-stat + .ym-stat { border: 0; }
}

/* ==========================================================================
   שלבים וציר זמן
   ========================================================================== */
.ym-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-8); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); counter-reset: none; }
.ym-step { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
.ym-sec--steps.ym-sec--align-center .ym-step { align-items: center; text-align: center; }
.ym-step__num { display: inline-flex; align-items: center; justify-content: center; min-width: 3.25rem; height: 3.25rem; padding: 0 var(--sp-3); border-radius: var(--radius-pill); background: color-mix(in srgb, var(--accent) 12%, var(--sec-card)); color: var(--accent); font-family: var(--font-heading); font-weight: 800; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.ym-tone-dark .ym-step__num, .ym-tone-brand .ym-step__num { background: color-mix(in srgb, #fff 14%, transparent); color: #fff; }
.ym-step__title { margin: 0; font-family: var(--font-heading); font-size: 1.1875rem; font-weight: 800; color: var(--sec-ink); }
.ym-step__text { margin: var(--sp-2) 0 0; color: var(--sec-soft); line-height: 1.65; }
/* שורה: קו מחבר בין המספרים */
@media (min-width: 62rem) {
  .ym-sec--steps.ym-sec--layout-row .ym-steps { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; }
  .ym-sec--steps.ym-sec--layout-row .ym-step:not(:last-child)::after { content: ""; position: absolute; top: 1.625rem; inset-inline-start: calc(50% + 2.25rem); width: calc(100% - 4.5rem + var(--sp-8)); border-top: 0.125rem dashed color-mix(in srgb, var(--accent) 40%, transparent); }
  .ym-sec--steps.ym-sec--layout-row.ym-sec--align-start .ym-step:not(:last-child)::after { inset-inline-start: 4.25rem; width: calc(100% - 4.25rem); }
}
/* כרטיסים */
.ym-sec--steps.ym-sec--layout-cards .ym-step { padding: var(--sp-8) var(--sp-6); border-radius: var(--radius-md); background: var(--sec-card); border: 0.0625rem solid var(--sec-line); }
.ym-sec--steps.ym-sec--layout-cards .ym-step__num { min-width: 0; height: auto; padding: 0; background: none; font-size: 2.75rem; line-height: 1; color: color-mix(in srgb, var(--accent) 55%, var(--sec-card)); }
.ym-tone-dark.ym-sec--steps.ym-sec--layout-cards .ym-step__num { color: var(--lime); }
/* ציר זמן */
.ym-sec--steps.ym-sec--layout-timeline .ym-steps { grid-template-columns: 1fr; gap: 0; max-width: 54rem; margin-inline: auto; position: relative; }
.ym-sec--steps.ym-sec--layout-timeline .ym-steps::before { content: ""; position: absolute; inset-block: 0.5rem; inset-inline-start: 1.625rem; border-inline-start: 0.125rem solid color-mix(in srgb, var(--accent) 25%, var(--sec-line)); }
.ym-sec--steps.ym-sec--layout-timeline .ym-step { flex-direction: row; align-items: flex-start; text-align: start; gap: var(--sp-6); padding-block-end: var(--sp-10); }
.ym-sec--steps.ym-sec--layout-timeline .ym-step:last-child { padding-block-end: 0; }
.ym-sec--steps.ym-sec--layout-timeline .ym-step__num { position: relative; z-index: 1; flex-shrink: 0; min-width: 3.25rem; background: var(--accent); color: #fff; box-shadow: 0 0 0 0.375rem var(--bg); font-size: 0.9375rem; }
.ym-tone-gray.ym-sec--steps.ym-sec--layout-timeline .ym-step__num { box-shadow: 0 0 0 0.375rem var(--sec-gray); }
.ym-tone-dark.ym-sec--steps.ym-sec--layout-timeline .ym-step__num { box-shadow: 0 0 0 0.375rem var(--bg-deep); background: var(--lime); color: var(--bg-deep); }
.ym-sec--steps.ym-sec--layout-timeline .ym-step__body { padding: var(--sp-5) var(--sp-6); border-radius: var(--radius-md); background: var(--sec-card); border: 0.0625rem solid var(--sec-line); flex: 1; }
.ym-sec--steps .ym-sec__btns { margin-block-start: var(--sp-10); }
.ym-sec--steps.ym-sec--align-center .ym-sec__btns { justify-content: center; }

/* ==========================================================================
   גלריה
   ========================================================================== */
.ym-gal { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.ym-gal__item { min-width: 0; }
.ym-gal__link { position: relative; display: block; height: 100%; margin: 0; overflow: hidden; border-radius: var(--radius-md); background: var(--sec-card); color: #fff; text-decoration: none; }
.ym-gal__img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0; transition: transform 0.7s cubic-bezier(.2, .7, .2, 1); }
.ym-gal--portrait .ym-gal__img { aspect-ratio: 4 / 5; }
.ym-gal--landscape .ym-gal__img { aspect-ratio: 4 / 3; }
a.ym-gal__link:hover .ym-gal__img { transform: scale(1.05); }
.ym-gal__cap { position: absolute; inset-inline: var(--sp-3); inset-block-end: var(--sp-3); padding: var(--sp-2) var(--sp-4); border-radius: var(--radius-pill); background: color-mix(in srgb, #fff 92%, transparent); color: var(--ink); font-size: 0.9375rem; font-weight: 700; width: max-content; max-width: calc(100% - 2 * var(--sp-3)); }
.ym-tone-dark a.ym-gal__link, .ym-tone-brand a.ym-gal__link { color: #fff; }
.ym-sec--gallery.ym-sec--layout-bento .ym-gal { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 19vw, 17rem); }
.ym-sec--gallery.ym-sec--layout-bento .ym-gal__item:first-child { grid-column: span 2; grid-row: span 2; }
.ym-sec--gallery.ym-sec--layout-bento .ym-gal__img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.ym-sec--gallery.ym-sec--layout-strip .ym-gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block-end: var(--sp-2); }
.ym-sec--gallery.ym-sec--layout-strip .ym-gal::-webkit-scrollbar { display: none; }
.ym-sec--gallery.ym-sec--layout-strip .ym-gal__item { flex: 0 0 clamp(14rem, 24vw, 19rem); scroll-snap-align: start; }
.ym-sec--gallery .ym-sec__btns { margin-block-start: var(--sp-8); }
@media (max-width: 40rem) {
  .ym-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
  .ym-sec--gallery.ym-sec--layout-bento .ym-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ym-gal__cap { font-size: 0.8125rem; padding: var(--sp-1) var(--sp-3); }
}

/* ==========================================================================
   באנרים
   ========================================================================== */
.ym-promos { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ym-sec--promos.ym-sec--layout-trio .ym-promos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ym-sec--promos.ym-sec--layout-split .ym-promos { grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; }
.ym-sec--promos.ym-sec--layout-split .ym-promo:first-child { grid-row: span 2; }
.ym-promo { min-width: 0; }
.ym-promo__link { position: relative; display: flex; align-items: flex-end; height: 100%; min-height: 17rem; overflow: hidden; border-radius: var(--radius-lg); color: #fff; text-decoration: none; isolation: isolate; }
.ym-sec--promos.ym-sec--layout-split .ym-promo:first-child .ym-promo__link { min-height: 36rem; }
.ym-promo__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 0.8s cubic-bezier(.2, .7, .2, 1); }
.ym-promo__link::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 12, 20, 0.72) 0%, rgba(10, 12, 20, 0.18) 55%, transparent 80%); }
a.ym-promo__link:hover .ym-promo__img { transform: scale(1.05); }
.ym-promo__body { display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-2); padding: var(--sp-8); }
.ym-promo__eyebrow { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.02em; color: color-mix(in srgb, #fff 85%, transparent); }
.ym-promo__title { font-family: var(--font-heading); font-size: clamp(1.375rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.15; color: #fff; }
.ym-promo__cta { display: inline-flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-2); padding: var(--sp-2) var(--sp-5); border-radius: var(--radius-btn); background: #fff; color: var(--ink); font-weight: 700; font-size: 0.9375rem; }
.ym-promo__cta svg { width: 1rem; height: 1rem; transition: transform var(--tr-fast); }
a.ym-promo__link:hover .ym-promo__cta svg { transform: translateX(-0.25rem); }
.ym-promo .ym-sec__img--empty { position: absolute; inset: 0; z-index: -2; aspect-ratio: auto; }
.ym-sec--promos .ym-sec__btns { margin-block-start: var(--sp-8); }
@media (max-width: 48rem) {
  .ym-promos, .ym-sec--promos.ym-sec--layout-trio .ym-promos, .ym-sec--promos.ym-sec--layout-split .ym-promos { grid-template-columns: 1fr; grid-template-rows: none; }
  .ym-sec--promos.ym-sec--layout-split .ym-promo:first-child { grid-row: auto; }
  .ym-promo__link, .ym-sec--promos.ym-sec--layout-split .ym-promo:first-child .ym-promo__link { min-height: 15rem; }
  .ym-promo__body { padding: var(--sp-6); }
}

/* ==========================================================================
   לוגואים
   ========================================================================== */
.ym-sec--logos { padding-block: var(--sp-12); }
.ym-sec--logos .ym-sec__head { margin-block-end: var(--sp-8); }
.ym-sec--logos .ym-sec__title { font-size: clamp(1.125rem, 2vw, 1.375rem); }
.ym-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-6) clamp(2rem, 5vw, 4rem); }
.ym-sec--align-start .ym-logos { justify-content: flex-start; }
.ym-logo { display: flex; align-items: center; }
.ym-logo a { display: flex; color: inherit; text-decoration: none; }
.ym-logo__img { display: block; max-height: 2.5rem; width: auto; filter: grayscale(1); opacity: 0.7; transition: opacity var(--tr-fast), filter var(--tr-fast); }
.ym-logo:hover .ym-logo__img { filter: none; opacity: 1; }
.ym-logo__word { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 800; letter-spacing: -0.02em; color: color-mix(in srgb, var(--sec-ink) 45%, transparent); white-space: nowrap; transition: color var(--tr-fast); }
.ym-logo:nth-child(3n+2) .ym-logo__word { font-weight: 400; font-style: italic; letter-spacing: 0.02em; }
.ym-logo:nth-child(3n) .ym-logo__word { font-size: clamp(1rem, 1.7vw, 1.25rem); letter-spacing: 0.18em; }
.ym-logo:hover .ym-logo__word { color: var(--sec-ink); }
.ym-logos__marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ym-logos__track { direction: ltr; display: flex; width: max-content; animation: ym-logos-marquee 32s linear infinite; }
.ym-logos__track .ym-logos { flex-wrap: nowrap; flex-shrink: 0; padding-inline-end: clamp(2rem, 5vw, 4rem); }
.ym-logos__marquee:hover .ym-logos__track { animation-play-state: paused; }
@keyframes ym-logos-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ym-logos__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .ym-logos__track .ym-logos[aria-hidden] { display: none; }
}

/* ==========================================================================
   צוות
   ========================================================================== */
.ym-team { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.ym-member { display: flex; flex-direction: column; gap: var(--sp-1); }
.ym-sec--align-center .ym-member { align-items: center; text-align: center; }
.ym-member__img { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-md); margin-block-end: var(--sp-3); background: color-mix(in srgb, var(--accent) 12%, var(--sec-card)); color: var(--accent); font-family: var(--font-heading); font-size: 3rem; font-weight: 800; }
.ym-sec--team.ym-sec--layout-round .ym-member__img { width: 9rem; aspect-ratio: 1; border-radius: 50%; }
.ym-member__name { font-size: 1.125rem; font-weight: 800; color: var(--sec-ink); }
.ym-member__role { font-size: 0.9375rem; font-weight: 600; color: var(--sec-eyebrow); }
.ym-member__text { font-size: 0.9375rem; color: var(--sec-soft); line-height: 1.55; }
.ym-sec--team .ym-sec__btns { margin-block-start: var(--sp-8); }
