/* ============================================================
   components.css - Nicoll MTR
   סגנון מבוסס VODALAND: hero עם תמונת רקע, גלי SVG,
   כרטיסים לבנים, whitespace רווחי, טיפוגרפיה Heebo
   ============================================================ */


/* ----------------------------
   כפתורים (BEM)
   ---------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--radius-full);
  font-family: var(--font-family);
  font-size: var(--text-base);
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.15s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn:active {
  transform: scale(0.97);
}

/* ירוק - ראשי */
.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

/* מסגרת שקופה על רקע כהה */
.btn--ghost {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn--ghost:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
  border-color: var(--color-white);
}

/* לבן - על רקע ירוק */
.btn--white {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.btn--white:hover {
  background-color: var(--color-light);
  border-color: var(--color-light);
}

/* גדלים */
.btn--lg {
  padding: var(--space-md) var(--space-2xl);
  font-size: var(--text-lg);
}

/* רוחב מלא */
.btn--full {
  width: 100%;
  justify-content: center;
}


/* ----------------------------
   TOP BAR
   ---------------------------- */

.top-bar {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding-block: var(--space-sm);
  font-size: var(--text-sm);
}

.top-bar__text {
  text-align: center;
  font-weight: 700;
  font-size: clamp(0.6rem, 3vw, var(--text-base));
  color: var(--color-white);
  margin: 0;
  white-space: nowrap;
}

.top-bar a {
  color: var(--color-white);
  transition: opacity 0.2s;
}
.top-bar a:hover {
  opacity: 0.75;
}

/* תמיד ממורכז - גם על דסקטופ */


/* ----------------------------
   HEADER
   ---------------------------- */

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header {
  position: relative;
  z-index: 100;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-block: var(--space-sm);
}

@media (min-width: 1100px) {
  .header__nav {
    gap: var(--space-md);
  }
}

.header__logos {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-width: 0;
  flex-shrink: 1;
}

@media (min-width: 1100px) {
  .header__logos {
    gap: var(--space-md);
  }
}

.header__logo {
  height: clamp(72px, 26vw, 120px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.header__logo--mtr {
  height: clamp(60px, 22vw, 100px);
}

.header__logo--vodaland {
  height: clamp(72px, 26vw, 120px);
}

.header__logo-divider {
  display: block;
  width: 1px;
  height: clamp(50px, 18vw, 80px);
  background-color: var(--color-border);
  flex-shrink: 0;
}

@media (min-width: 1100px) {
  .header__logo {
    height: 120px;
  }
  .header__logo--mtr {
    height: 100px;
  }
  .header__logo--vodaland {
    height: 120px;
  }
  .header__logo-divider {
    height: 80px;
  }
}

/* קישורי ניווט - dropdown מובייל מתחת ל-header, רגיל בדסקטופ */
.header__links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: var(--shadow-lg);
  z-index: 150;
  overflow: hidden;
  max-height: 0;
  visibility: hidden;
  transition: max-height 0.35s ease, visibility 0.35s ease;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
}

/* כותרת ה-drawer: שורת טלפון + X */
.header__drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 2px solid var(--color-primary);
  background-color: var(--color-light);
}

.header__drawer-phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  direction: ltr;
}
.header__drawer-phone svg {
  flex-shrink: 0;
}
.header__drawer-phone:hover {
  color: var(--color-primary);
}

.header__drawer-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s, color 0.2s;
}
.header__drawer-close:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.header__link {
  display: block;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.2s, background-color 0.2s;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  text-align: right;
  width: 100%;
}

/* קו תחתון מונפש */
.header__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  left: 0;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transition: transform 0.2s;
  transform-origin: right;
}
.header__link:hover,
.header__link.is-active {
  color: var(--color-primary);
}
.header__link:hover::after,
.header__link.is-active::after {
  transform: scaleX(1);
}

/* קישור CTA בניווט */
.header__link--cta {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-md) var(--space-lg);
  border-radius: 0;
  border-bottom: none;
}
.header__link--cta::after {
  display: none;
}
.header__link--cta.is-active {
  color: var(--color-white);
  background-color: var(--color-primary);
}
.header__link--cta:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
}

.header__social {
  display: none;
  gap: var(--space-sm);
  align-items: center;
}

.header__social-link {
  color: var(--color-muted);
  transition: color 0.2s;
  padding: var(--space-xs);
  display: flex;
  align-items: center;
}
.header__social-link:hover {
  color: var(--color-primary);
}

.header__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  order: -1;
}

.header__logos {
  order: 1;
}

.header__burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__burger[aria-expanded="true"] .header__burger-line:nth-child(2) {
  opacity: 0;
}
.header__burger[aria-expanded="true"] .header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* dropdown פתוח */
.header__links.is-open {
  max-height: 600px;
  visibility: visible;
}

/* overlay - רקע כהה מאחורי התפריט */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: rgba(0, 0, 0, 0.45);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-overlay.is-visible {
  visibility: visible;
  opacity: 1;
}

@media (min-width: 1100px) {
  .header__burger {
    order: 0;
    display: none;
  }
  .header__logos {
    order: 0;
  }
  .header__links {
    display: flex;
    position: static;
    width: auto;
    max-height: none;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: var(--space-lg);
    transition: none;
    visibility: visible;
    padding: 0;
    box-shadow: none;
    background: none;
    z-index: auto;
    overflow: visible;
  }
  .header__drawer-header {
    display: none;
  }
  .header__link {
    font-size: var(--text-base);
    font-weight: 500;
    padding: var(--space-xs) 0;
    border-bottom: none;
    width: auto;
    text-align: right;
  }
  .header__link--cta {
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
  }
  .header__social {
    display: flex;
  }
  .header__links.is-open {
    position: static;
    max-height: none;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
    background: none;
  }
}


/* ----------------------------
   HERO - תמונת רקע מלאה + גל SVG לבן
   ---------------------------- */

.hero {
  position: relative;
  /* תמונת רקע placeholder - תוחלף לאחר קבלת תמונה */
  background-color: var(--color-dark);
  background-image:
    linear-gradient(
      to bottom,
      rgba(26, 35, 50, 0.25) 0%,
      rgba(26, 35, 50, 0.45) 100%
    ),
    url('../assets/optimized-images/hero background.webp');
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  /* padding-bottom גדול לפנות מקום לצורת ההרים */
  padding-top: calc(var(--section-py) * 1.8);
  padding-bottom: calc(var(--section-py) * 1.8 + 100px);
  text-align: center;
  overflow: hidden;
}

/* overlay כהה - יונח מעל תמונת רקע אחרי הוספתה */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 35, 50, 0.5) 0%,
    rgba(26, 35, 50, 0.7) 100%
  );
  z-index: 1;
}

.hero__container {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: var(--space-xs) var(--space-lg);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero__title-accent {
  color: var(--color-primary);
  /* ירוק בהיר יותר על רקע כהה */
  filter: brightness(1.3);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.hero__subtitle-line {
  display: block;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* גל SVG לבן בתחתית ה-hero */
.hero__wave {
  position: absolute;
  bottom: -1px;
  right: 0;
  left: 0;
  z-index: 3;
  line-height: 0;
}

.hero__wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

@media (min-width: 1100px) {
  .hero__title {
    font-size: var(--text-5xl);
  }
  .hero__subtitle {
    font-size: var(--text-xl);
  }
  .hero__wave svg {
    height: 120px;
  }
}


/* ----------------------------
   גלי SVG בין סקשנים (wave dividers)
   ---------------------------- */

/* מיכל גל בתחתית סקשן */
.wave-bottom {
  position: relative;
  margin-top: var(--space-2xl);
  line-height: 0;
}

.wave-bottom svg {
  display: block;
  width: 100%;
  height: 48px;
}

@media (min-width: 1100px) {
  .wave-bottom svg {
    height: 60px;
  }
}


/* ----------------------------
   CHANNELS - 4 סוגי תעלות
   רקע לבן עם overflow לגל
   ---------------------------- */

.channels {
  position: relative;
  padding-bottom: 60px;
  overflow: visible;
}

.channels__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 480px) {
  .channels__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .channels__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ----------------------------
   FLIP CARD - כרטיס מתהפך
   חזית: תמונה + כותרת | גב: תוכן מפורט
   ---------------------------- */

/* מיכל חיצוני - קובע perspective */
.flip-card {
  perspective: 1000px;
  height: 300px;
}

/* מיכל פנימי - מסתובב */
.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

/* הפיכה ב-hover (דסקטופ) וב-click/tap (מובייל) */
.flip-card:hover .flip-card__inner,
.flip-card.is-flipped .flip-card__inner {
  transform: rotateY(180deg);
}

/* צד משותף - חזית וגב */
.flip-card__front,
.flip-card__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* חזית - תמונה עם כותרת */
.flip-card__front {
  background-color: var(--color-light);
}

.flip-card__img {
  width: 100%;
  height: 100%;
  background-size: 75%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--color-white);
}

/* שכבת gradient + טקסט בתחתית החזית */
.flip-card__front-content {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  padding: var(--space-lg);
  background: linear-gradient(
    to top,
    rgba(0, 54, 54, 0.9) 0%,
    transparent 100%
  );
  color: var(--color-white);
}

/* גב - רקע כהה */
.flip-card__back {
  background-color: #002828;
  color: var(--color-white);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}

.flip-card__title {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
}

.flip-card__front-content .flip-card__title {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.flip-card__back .flip-card__title {
  margin-bottom: var(--space-md);
}

.flip-card__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.flip-card__link {
  display: inline-block;
  color: var(--color-white);
  font-weight: 700;
  font-size: var(--text-sm);
  transition: opacity 0.2s;
}
.flip-card__link:hover {
  opacity: 0.75;
}

/* מובייל: גובה מותאם */
@media (max-width: 479px) {
  .flip-card {
    height: 260px;
  }
}


/* ----------------------------
   ABOUT - רקע ירוק
   ---------------------------- */

.section--green {
  background: linear-gradient(135deg, var(--color-primary-deep) 0%, var(--color-primary-dark) 50%, var(--color-primary) 100%);
  color: var(--color-white);
  position: relative;
  padding-top: calc(var(--section-py) + 60px);
  padding-bottom: calc(var(--section-py) + 60px);
  overflow: visible;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section--green::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(0,188,188,0.18) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0,188,188,0.18) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(0,188,188,0.18) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(0,188,188,0.18) 75%);
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  mask-image:
    radial-gradient(ellipse 40% 60% at 0% 100%, black 30%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 100% 0%, black 30%, transparent 70%);
  -webkit-mask-image:
    radial-gradient(ellipse 40% 60% at 0% 100%, black 30%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 100% 0%, black 30%, transparent 70%);
  mask-composite: add;
  -webkit-mask-composite: source-over;
  pointer-events: none;
  z-index: 0;
}

.section--green > .container {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about__layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
  width: 100%;
  text-align: center;
}

.about__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about__label {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--space-sm);
}

.about__title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

.about__text {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.about__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: stretch;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  min-height: 300px;
}

/* ----------------------------
   קרוסלה אוטומטית
   ---------------------------- */

.carousel-section {
  padding-block: var(--space-2xl);
  overflow: hidden;
}

.carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  direction: ltr;
}

.carousel::before,
.carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--color-light), transparent);
}

.carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--color-light), transparent);
}

.carousel__track {
  display: flex;
  direction: ltr;
  gap: var(--space-md);
  will-change: transform;
  animation: carouselScroll 120s linear infinite;
}

@media (hover: hover) {
  .carousel__track:hover {
    animation-play-state: paused;
  }
}

.carousel__track.is-touching {
  animation-play-state: paused;
}


@keyframes carouselScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--carousel-shift, -3000px)); }
}

/* 3 slides גלויים בכל breakpoint: calc((100% - gap*2) / 3) */
.carousel__slide {
  flex: 0 0 calc((100% - var(--space-md) * 2) / 3);
  width: calc((100% - var(--space-md) * 2) / 3);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}

.carousel__slide:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.carousel__slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--color-white);
  display: block;
  border-radius: 15px;
}

@media (min-width: 601px) {
  .carousel__slide img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
}

.carousel__caption {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
}

@media (max-width: 600px) {
  .carousel__slide {
    flex: 0 0 calc((100% - var(--space-md)) / 2);
    width: calc((100% - var(--space-md)) / 2);
  }

  .carousel__track {
    animation-duration: 100s;
  }
}

/* גל לבן בראש ה-section--green */
.wave-top {
  position: absolute;
  top: -1px;
  right: 0;
  left: 0;
  line-height: 0;
}

.wave-top svg {
  display: block;
  width: 100%;
}

/* גל לבן בתחתית - חלק מה-section--green */
.section--green .wave-bottom {
  position: absolute;
  bottom: -1px;
  right: 0;
  left: 0;
  margin-top: 0;
}

@media (min-width: 1100px) {
  .about__layout {
    flex-direction: row;
    align-items: center;
    text-align: right;
  }
  .about__content,
  .about__image {
    flex: 1;
    align-self: stretch;
  }
  .about__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
  .about__title {
    font-size: var(--text-4xl);
  }
}


/* ----------------------------
   LEADERS - מוצרי ליידרים
   ---------------------------- */

.leaders__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 600px) {
  .leaders__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .leaders__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* כרטיס מוצר */
.product-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.25s, transform 0.25s;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-card__image {
  background: var(--color-white);
  height: 220px;
  position: relative;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--space-md);
}

.product-card__badge {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm);
  letter-spacing: 0.03em;
}

.product-card__badge--a15,
.product-card__badge--b125,
.product-card__badge--c250,
.product-card__badge--d400,
.product-card__badge--accessory {
  background-color: var(--color-primary);
}

/* פס ירוק בראש הכרטיס */
.product-card__image::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background-color: var(--color-primary);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-lg);
}

.product-card__name {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
}

.product-card__desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.product-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: auto;
}

.product-card__link {
  color: var(--color-primary);
  font-weight: 700;
  font-size: var(--text-sm);
  transition: color 0.2s;
}
.product-card__link:hover {
  color: var(--color-primary-dark);
}

.product-card__video {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-xs) var(--space-sm);
  transition: color 0.2s, border-color 0.2s;
}
.product-card__video:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.product-card__pdf {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
  background-color: var(--color-primary);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-full);
  padding: var(--space-xs) var(--space-sm);
  transition: background-color 0.2s, border-color 0.2s;
}
.product-card__pdf:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.leaders__cta {
  margin-top: var(--space-2xl);
}



/* ----------------------------
   FAQ - accordion שאלות ותשובות
   ---------------------------- */

.faq__list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq__item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s;
}

.faq__item:has(.faq__question[aria-expanded="true"]) {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  background: none;
  border: none;
  font-family: var(--font-family);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-dark);
  cursor: pointer;
  text-align: right;
  transition: background-color 0.2s, color 0.2s;
  gap: var(--space-md);
}

.faq__question:hover {
  background-color: rgba(27, 107, 82, 0.04);
  color: var(--color-primary);
}

.faq__question[aria-expanded="true"] {
  color: var(--color-primary);
}

/* אייקון + / - */
.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  position: relative;
  transition: background-color 0.2s, transform 0.3s;
}

.faq__question:hover .faq__icon {
  background-color: var(--color-primary-dark);
}

/* קו אופקי */
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background-color: var(--color-white);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq__icon::before {
  width: 12px;
  height: 2px;
}

/* קו אנכי - נעלם בסיבוב */
.faq__icon::after {
  width: 2px;
  height: 12px;
  transition: transform 0.3s ease;
}

.faq__question[aria-expanded="true"] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* תשובה - אנימציית max-height */
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s cubic-bezier(0, 1, 0, 1);
}

.faq__answer.is-open {
  max-height: 500px;
  transition: max-height 0.7s ease-in-out;
}

.faq__answer p {
  padding: 0 var(--space-xl) var(--space-xl);
  color: var(--color-text);
  line-height: 1.8;
  font-size: var(--text-base);
}

/* קו הפרדה לפני התשובה */
.faq__answer p:first-child {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
}


/* ----------------------------
   CONTACT FORM - טופס לידים
   ---------------------------- */

.contact-form {
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  background-color: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 600px) {
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-field__label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-dark);
}

.form-field__input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-family);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-white);
  direction: rtl;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 107, 82, 0.12);
}

.form-field__input::placeholder {
  color: var(--color-muted);
}

.form-field__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__success {
  text-align: center;
  padding: var(--space-xl);
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: var(--text-lg);
}

.contact-form__error {
  text-align: center;
  padding: var(--space-xl);
  background-color: var(--color-error);
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: var(--text-lg);
}

.contact-form__submit {
  margin-top: var(--space-sm);
}

.form-field--checkbox {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-sm);
}

.form-field__checkbox-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-field__checkbox {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.form-field__checkbox-label {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.5;
  cursor: pointer;
}

.form-field__checkbox-label a {
  color: var(--color-link);
  text-decoration: underline;
}

.form-field__checkbox-label a:hover {
  color: var(--color-link-hover);
}

.form-field__checkbox.is-error {
  outline: 2px solid var(--color-error);
  border-radius: 2px;
}

.form-field__error {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: var(--space-xs);
}

.form-field__error[hidden] {
  display: none;
}

/* רקע אפרפר לסקשן contact */
.contact {
  background-color: var(--color-light);
}


/* ----------------------------
   FOOTER
   ---------------------------- */

.site-footer {
  background-color: var(--color-dark);
  color: var(--color-muted);
  padding-bottom: var(--space-2xl);
}

/* גל לבן בראש ה-footer */
.footer__wave {
  line-height: 0;
  margin-bottom: var(--space-2xl);
  margin-top: -2px;
}

.footer__wave svg {
  display: block;
  width: 100%;
  height: 48px;
}

.footer__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

@media (min-width: 1100px) {
  .footer__layout {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
  }
}

.footer__logo-text {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: 1.6;
}

.footer__nav-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--color-muted);
  transition: color 0.2s;
}
.footer__link:hover {
  color: var(--color-white);
}

.footer__social-links {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  transition: background-color 0.2s, border-color 0.2s;
}
.footer__social-link:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-lg);
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.footer__privacy-link {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: var(--text-sm);
  color: var(--color-muted);
  text-decoration: underline;
  transition: color 0.2s;
}
.footer__privacy-link:hover {
  color: var(--color-white);
}


/* ----------------------------
   WHATSAPP FLOATING BUTTON
   ---------------------------- */

@keyframes whatsapp-pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.whatsapp-btn {
  position: fixed;
  bottom: var(--space-xl);
  left: var(--space-xl);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background-color: #25D366;
  color: var(--color-white);
  border-radius: var(--radius-full);
  padding: var(--space-md) var(--space-lg);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  font-family: var(--font-family);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: background-color 0.2s, transform 0.2s;
  animation: whatsapp-pulse 1.6s ease-in-out infinite;
}

.whatsapp-btn:hover {
  background-color: #1EBE59;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  animation-play-state: paused;
  transform: scale(1.1);
}

.whatsapp-btn__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.whatsapp-btn__label {
  display: none;
}

@media (min-width: 480px) {
  .whatsapp-btn__label {
    display: inline;
  }
}

/* =============================================
   LOAD CLASSES - דרגות עומס EN 1433
   ============================================= */

.load-classes__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.load-classes__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.2s;
  align-items: start;
}

.load-classes__row:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

@media (min-width: 640px) {
  .load-classes__row {
    grid-template-columns: 88px 1fr 1fr;
    align-items: center;
    gap: var(--space-lg);
  }
}

.load-classes__icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  color: var(--color-white);
  flex-shrink: 0;
}

.load-classes__icon-box--img {
  padding: 0;
  overflow: hidden;
}

.load-classes__icon-box--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.load-classes__icon-box--a { background-color: var(--color-primary); }
.load-classes__icon-box--b { background-color: var(--color-primary-dark); }
.load-classes__icon-box--c { background-color: var(--color-primary-deep); }
.load-classes__icon-box--d { background-color: var(--color-primary-deep); }
.load-classes__icon-box--e { background-color: var(--color-dark); }
.load-classes__icon-box--f { background-color: var(--color-dark); }

.load-classes__row:has(.load-classes__icon-box--a) { border-inline-end: 4px solid var(--color-primary); }
.load-classes__row:has(.load-classes__icon-box--b) { border-inline-end: 4px solid var(--color-primary-dark); }
.load-classes__row:has(.load-classes__icon-box--c) { border-inline-end: 4px solid var(--color-primary-deep); }
.load-classes__row:has(.load-classes__icon-box--d) { border-inline-end: 4px solid var(--color-primary-deep); }
.load-classes__row:has(.load-classes__icon-box--e) { border-inline-end: 4px solid var(--color-dark); }
.load-classes__row:has(.load-classes__icon-box--f) { border-inline-end: 4px solid var(--color-dark); }

.load-classes__letter {
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1;
  color: var(--color-white);
}

.load-classes__icon-svg {
  opacity: 0.85;
}

.load-classes__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.load-classes__class-name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.4;
}

.load-classes__rating {
  color: var(--color-primary);
}

.load-classes__kn {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-muted);
}

.load-classes__load-label {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary-dark);
  background-color: rgba(0, 188, 188, 0.1);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  width: fit-content;
}

.load-classes__uses {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding: 0;
  margin: 0;
}

.load-classes__uses li {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
  padding-inline-end: var(--space-md);
  position: relative;
}

.load-classes__uses li::before {
  content: '';
  position: absolute;
  inset-inline-end: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

@media (min-width: 1100px) {
  .load-classes__class-name {
    font-size: var(--text-lg);
  }

  .load-classes__kn {
    font-size: var(--text-base);
  }

  .load-classes__load-label {
    font-size: var(--text-base);
  }

  .load-classes__uses li {
    font-size: var(--text-base);
  }
}


/* ============================================================
   COOKIE BANNER - באנר עוגיות
   ============================================================ */

.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 9998;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: var(--space-md);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-md);
}

.cookie-banner__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  text-align: start;
}

.cookie-banner__text {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.5;
}

.cookie-banner__link {
  font-size: var(--text-sm);
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-banner__link:hover {
  color: var(--color-primary-dark);
}

.cookie-banner__btn {
  align-self: flex-start;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 0;
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-family);
  font-size: var(--text-base);
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.cookie-banner__btn:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.cookie-banner__btn:focus-visible {
  outline: 2px solid var(--color-primary-deep);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .cookie-banner {
    padding: var(--space-lg);
  }

  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-xl);
  }

  .cookie-banner__btn {
    align-self: center;
    order: 0;
  }

  .cookie-banner__content {
    flex: 1;
  }
}
