.yh-etecsa {
  padding: 34px 0 0;
}

.yh-etecsa__panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 122, 77, .28), transparent 32%),
    radial-gradient(circle at 8% 92%, rgba(118, 94, 220, .35), transparent 38%),
    linear-gradient(135deg, #211A5C 0%, #3C2899 55%, #2A1B70 100%);
  color: #fff;
  box-shadow: 0 24px 60px rgba(27, 23, 56, .18);
}

.yh-etecsa__panel::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: linear-gradient(180deg, #002A8F 0 33%, #fff 33% 66%, #CF142B 66% 100%);
  opacity: .95;
}

.yh-etecsa__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.yh-etecsa__head-copy {
  max-width: 720px;
}

.yh-etecsa__eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--yh-orange-soft);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.yh-etecsa h2 {
  margin: 8px 0 6px;
  color: #fff;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
}

.yh-etecsa__head p {
  margin: 0;
  color: #D8D3F0;
  font-size: 13.5px;
  line-height: 1.5;
}

.yh-etecsa__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 6px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.yh-etecsa__all:hover {
  border-color: #fff;
  background: #fff;
  color: var(--yh-indigo-dark);
  text-decoration: none;
}

.yh-etecsa__all svg {
  width: 14px;
  height: 14px;
}

.yh-etecsa__viewport {
  position: relative;
  z-index: 1;
}

.yh-etecsa__track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.yh-etecsa__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  color: var(--yh-text);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
  scroll-snap-align: start;
}

.yh-etecsa__visual {
  position: relative;
  height: 110px;
  overflow: hidden;
  background: linear-gradient(135deg, #3C2899, #2A1B70);
}

.yh-etecsa__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.yh-etecsa__fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #fff;
}

.yh-etecsa__fallback svg {
  width: 42px;
  height: 42px;
  opacity: .9;
}

.yh-etecsa__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--yh-orange);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}

.yh-etecsa__dates {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(27, 23, 56, .78);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.yh-etecsa__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 13px 14px 14px;
}

.yh-etecsa__body h3 {
  margin: 0 0 4px;
  color: var(--yh-text);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.25;
}

.yh-etecsa__benefit {
  margin: 0 0 12px;
  color: var(--yh-orange);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.35;
}

.yh-etecsa__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.yh-etecsa__price {
  color: var(--yh-text);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.yh-etecsa__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 4px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--yh-orange);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background .18s ease, transform .18s ease;
}

.yh-etecsa__cta:hover {
  background: #C92F09;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.yh-etecsa__cta svg {
  width: 13px;
  height: 13px;
}

.yh-etecsa__dots {
  display: none;
}

@media (max-width: 991px) {
  .yh-etecsa {
    padding-top: 28px;
  }

  .yh-etecsa__panel {
    padding: 22px 0 18px;
    border-radius: 20px;
  }

  .yh-etecsa__head {
    align-items: flex-start;
    padding: 0 20px;
    margin-bottom: 16px;
  }

  .yh-etecsa__head-copy {
    max-width: none;
  }

  .yh-etecsa__all {
    min-height: 38px;
    padding: 0 14px;
    font-size: 11.5px;
  }

  .yh-etecsa__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 20px 4px;
    scroll-padding-left: 20px;
    scroll-padding-right: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .yh-etecsa__viewport::-webkit-scrollbar {
    display: none;
  }

  .yh-etecsa__track {
    display: flex;
    gap: 12px;
    width: max-content;
  }

  .yh-etecsa__card {
    flex: 0 0 300px;
  }

  .yh-etecsa__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
  }

  .yh-etecsa__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
  }

  .yh-etecsa__dot.is-active {
    background: #fff;
    transform: scale(1.15);
  }
}

@media (max-width: 767px) {
  .yh-etecsa__panel {
    padding: 20px 0 16px;
  }

  .yh-etecsa__head {
    flex-direction: column;
    gap: 12px;
    padding: 0 18px;
  }

  .yh-etecsa__all {
    align-self: flex-start;
  }

  .yh-etecsa__viewport {
    padding: 0 18px 4px;
    scroll-padding-left: 18px;
    scroll-padding-right: 18px;
  }

  .yh-etecsa__card {
    flex: 0 0 82vw;
    max-width: 340px;
  }

  .yh-etecsa__visual {
    height: 104px;
  }

  .yh-etecsa__body {
    padding: 12px 13px 13px;
  }

  .yh-etecsa__body h3 {
    font-size: 15.5px;
  }

  .yh-etecsa__price {
    font-size: 18px;
  }
}

@media (max-width: 479px) {
  .yh-etecsa h2 {
    font-size: 22px;
  }

  .yh-etecsa__card {
    flex: 0 0 86vw;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yh-etecsa__cta,
  .yh-etecsa__all,
  .yh-etecsa__dot {
    transition: none;
  }
}
