/* ===== המנות שלנו — סקשן אחרי הירו ===== */
.dishes-hakfar {
  position: relative;
  margin-top: -2px;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.5rem) clamp(4rem, 8vw, 5.5rem);
  background-color: #f7f2ea;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: 1;
}

.dishes-hakfar__inner {
  max-width: 1180px;
  margin-inline: auto;
}

/* ----- Header ----- */
.dishes-hakfar__header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.dishes-hakfar__title {
  font-family: var(--hk-font, "Assistant", sans-serif);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: var(--hk-navy, #1a3260);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.dishes-hakfar__subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--hk-font, "Assistant", sans-serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  color: var(--hk-orange, #f26522);
  margin-bottom: 0.5rem;
}

.dishes-hakfar__leaf {
  color: var(--hk-orange, #f26522);
  opacity: 0.85;
  display: flex;
  line-height: 0;
}

.dishes-hakfar__leaf--flip {
  transform: scaleX(-1);
}

.dishes-hakfar__heart {
  display: block;
  color: var(--hk-navy, #1a3260);
  font-size: 0.75rem;
  line-height: 1;
}

/* ----- Grid ----- */
.dishes-hakfar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

/* ----- Card ----- */
.dish-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dish-card__visual {
  position: relative;
  width: 100%;
  margin-bottom: 1.25rem;
}

.dish-card__img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(26, 50, 96, 0.12);
  background-color: #ebe4d8;
  background-image: url("../images/dishes-section.png");
  background-repeat: no-repeat;
  /* zoom into food row only (skip header & labels in source mockup) */
  background-size: 335% 175%;
}

.dish-card__img--sabich {
  background-position: 90% 46%;
}

.dish-card__img--falafel {
  background-position: 50% 46%;
}

.dish-card__img--tunisian {
  background-position: 10% 46%;
}

.dish-card__img.has-custom-bg {
  background-size: cover !important;
  background-position: center !important;
}

.dish-card__label {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  min-width: 72%;
  padding: 0.55rem 1.5rem 0.65rem;
  font-family: var(--hk-font, "Assistant", sans-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 800;
  color: var(--hk-white, #fff);
  text-align: center;
  white-space: nowrap;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 48' preserveAspectRatio='none'%3E%3Cpath fill='%23F26522' d='M8 24 C8 8 20 2 40 4 L200 4 C220 2 232 8 232 24 C232 40 220 46 200 44 L40 44 C20 46 8 40 8 24 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 3px 8px rgba(242, 101, 34, 0.35));
  z-index: 2;
}

.dish-card__desc {
  font-family: var(--hk-font, "Assistant", sans-serif);
  font-size: clamp(0.88rem, 1.6vw, 0.98rem);
  font-weight: 600;
  line-height: 1.55;
  color: var(--hk-navy, #1a3260);
  max-width: 30ch;
  margin-bottom: 1.5rem;
  min-height: 4.5em;
}

.dish-card__features {
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  width: 100%;
  flex-wrap: wrap;
}

.dish-card__features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
  min-width: 72px;
  max-width: 100px;
}

.dish-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--hk-navy, #1a3260);
  color: var(--hk-white, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dish-card__features li > span:last-child {
  font-family: var(--hk-font, "Assistant", sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--hk-navy, #1a3260);
  line-height: 1.3;
}

/* Scroll reveal */
.dishes-hakfar .dish-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.dishes-hakfar.visible .dish-card {
  opacity: 1;
  transform: translateY(0);
}

.dishes-hakfar.visible .dish-card:nth-child(1) { transition-delay: 0.05s; }
.dishes-hakfar.visible .dish-card:nth-child(2) { transition-delay: 0.15s; }
.dishes-hakfar.visible .dish-card:nth-child(3) { transition-delay: 0.25s; }

/* ----- Mobile ----- */
@media (max-width: 900px) {
  .dishes-hakfar__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

  .dish-card__desc {
    min-height: auto;
  }

  .dish-card__img {
    background-size: 335% 175%;
  }

  .dish-card__img--sabich {
    background-position: 90% 46%;
  }

  .dish-card__img--falafel {
    background-position: 50% 46%;
  }

  .dish-card__img--tunisian {
    background-position: 10% 46%;
  }
}

@media (max-width: 480px) {
  .dish-card__features {
    gap: 0.5rem;
  }

  .dish-card__icon {
    width: 42px;
    height: 42px;
  }

  .dish-card__label {
    min-width: 80%;
    font-size: 1.05rem;
  }
}
