/* ─── GastroSection ──────────────────────────────────────────────────────── */

.new-landing-gastro-section {
  display: flex;
  box-sizing: border-box;
  width: 100%;
  margin: 40px 0 8px;
  overflow: hidden;
  border-radius: 20px;
  background: #ffe600;
}

.new-landing-gastro-section__image-col {
  position: relative;
  flex: 0 0 calc(50% - 4px);
  min-height: 534px;
}

.new-landing-gastro-section__image-wrapper {
  position: absolute;
  inset: 8px 0 8px 8px;
  overflow: hidden;
  border-radius: 16px;
}

.new-landing-gastro-section__image-wrapper img {
  display: block;
  width: 100%;
  height: 100%;
}

.new-landing-gastro-section__image {
  display: none;
  object-fit: cover;
  object-position: center;
}

.new-landing-gastro-section__image--desktop {
  display: block;
}

.new-landing-gastro-section__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  flex: 0 0 calc(50% - 4px);
  min-height: 534px;
  padding: 40px 88px 40px 40px;
  background: #ffe600;
}

.new-landing-gastro-section__card-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.new-landing-gastro-section__heading {
  max-width: 720px;
  margin: 0;
  color: #282834;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.new-landing-gastro-section__card-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.new-landing-gastro-section__features {
  padding: 0;
  margin: 0;
  list-style: none;
}

.new-landing-gastro-section__feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #282834;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
}

.new-landing-gastro-section__feature-item:not(:last-child) {
  margin-bottom: 20px;
}

.new-landing-gastro-section__feature-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: #282834;
}

.new-landing-gastro-section__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 127px;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  background-color: #4850e5;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.new-landing-gastro-section__cta:hover,
.new-landing-gastro-section__cta:focus {
  background-color: #3940c8;
  color: #fff;
}

/* ─── Desktop 1920+ ─────────────────────────────────────────────────────── */

@media only screen and (min-width: 1920px) {
  .new-landing-gastro-section {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto 8px;
  }

  .new-landing-gastro-section__image--desktop-large {
    display: block;
  }

  .new-landing-gastro-section__image--desktop,
  .new-landing-gastro-section__image--tablet,
  .new-landing-gastro-section__image--mobile {
    display: none;
  }
}

@media only screen and (min-width: 1025px) {
  .new-landing-gastro-section {
    height: 712px;
  }

  .new-landing-gastro-section__image-col,
  .new-landing-gastro-section__card {
    height: 100%;
    min-height: 0;
  }
}

@media only screen and (min-width: 1025px) and (max-width: 1279px) {
  .new-landing-gastro-section {
    margin-top: 40px;
  }
}

@media only screen and (min-width: 1280px) and (max-width: 1919px) {
  .new-landing-gastro-section {
    margin-top: 0;
  }
}

/* ─── Tablet (768px – 1024px) ───────────────────────────────────────────── */

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .new-landing-gastro-section {
    flex-direction: row;
    align-items: stretch;
    height: 640px;
  }

  .new-landing-gastro-section__image-col {
    order: 1;
    flex: 0 0 calc(50% - 4px);
    width: auto;
    height: 100%;
    min-height: 640px;
  }

  .new-landing-gastro-section__image-wrapper {
    inset: 8px 0 8px 8px;
  }

  .new-landing-gastro-section__image {
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
  }

  .new-landing-gastro-section__image--tablet {
    display: block;
  }

  .new-landing-gastro-section__image--desktop-large,
  .new-landing-gastro-section__image--desktop,
  .new-landing-gastro-section__image--mobile {
    display: none;
  }

  .new-landing-gastro-section__card {
    order: 2;
    flex: 0 0 calc(50% - 4px);
    width: auto;
    min-height: 640px;
    padding: 40px;
  }

  .new-landing-gastro-section__card-top {
    padding-right: 40px;
  }

  .new-landing-gastro-section__card-bottom {
    gap: 24px;
  }

  .new-landing-gastro-section__heading {
    max-width: none;
    font-size: 48px;
    letter-spacing: 0;
  }
}

/* ─── Mobile (< 768px) ──────────────────────────────────────────────────── */

@media only screen and (max-width: 767px) {
  .new-landing-gastro-section {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0 0 8px;
  }

  .new-landing-gastro-section__image-col {
    order: 2;
    flex: none;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 8px;
  }

  .new-landing-gastro-section__image-wrapper {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
  }

  .new-landing-gastro-section__image {
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
  }

  .new-landing-gastro-section__image--mobile {
    display: block;
  }

  .new-landing-gastro-section__image--desktop-large,
  .new-landing-gastro-section__image--desktop,
  .new-landing-gastro-section__image--tablet {
    display: none;
  }

  .new-landing-gastro-section__card {
    order: 1;
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 48px;
    box-sizing: border-box;
    width: 100%;
    min-height: auto;
    padding: 24px;
  }

  .new-landing-gastro-section__card-top,
  .new-landing-gastro-section__card-bottom {
    padding: 0;
  }

  .new-landing-gastro-section__card-top {
    gap: 16px;
  }

  .new-landing-gastro-section__heading {
    max-width: none;
    font-size: 32px;
    line-height: 1;
    letter-spacing: -1.28px;
  }
}
