.sec-hero-content {
  position: relative;
  overflow: hidden;
  color: #fff;
}

/* Swappable background layer — gradient today, a <video> or image can drop
   in here later without touching the slider markup/logic. */
.sec-hero-content__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, #4a78f0 0%, #3f74f5 35%, var(--color-brand) 70%, #7ab0ff 100%);
}

.sec-hero-content__swiper {
  position: relative;
  z-index: 1;
  height: 460px;
}

.sec-hero-content__slide {
  display: flex;
  align-items: flex-end;
}

.sec-hero-content__grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 64px 24px;
  max-height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.sec-hero-content__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 580px;
  flex-shrink: 0;
  text-align: left;
}

.sec-hero-content__title {
  font-family: "Merriweather", serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.143;
  color: #fff;
  margin: 0;
}

.sec-hero-content__title-accent {
  color: #101211;
}

.sec-hero-content__subtitle {
  font-family: "Cabin", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  color: #e4e5e1;
  max-width: 520px;
  margin: 0;
}

.sec-hero-content__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.sec-hero-content__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Cabin", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  padding: 15px 30px;
  border-radius: 999px;
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.sec-hero-content__btn--solid {
  background-color: #fff;
  color: #101211;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.15);
}

.sec-hero-content__btn--solid:hover {
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.22);
}

.sec-hero-content__btn--outline {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 600;
  border: 1.5px solid #fff;
  padding: 13.5px 28.5px;
}

.sec-hero-content__btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.16);
}

.sec-hero-content__visual {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
  padding: 0;
  box-sizing: border-box;
}

.sec-hero-content__visual img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

/* Slide 2's artwork is final at its current size — keep it from growing
   when the shared .visual flexes to fill the row. */
.sec-hero-content__visual--fixed {
  flex: 0 1 auto;
  padding: 16px;
  max-width: 500px;
}

/* Placeholder for slides without final artwork yet — swap the .visual's
   child for a real <img> once the asset is ready. */
.sec-hero-content__placeholder {
  width: 420px;
  height: 340px;
  max-width: 100%;
  max-height: 100%;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: 24px;
}

/* ===== Slide tabs (nice.com-style progress indicator) ===== */
.sec-hero-content__tabs {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 72px;
  padding: 8px 40px 40px;
  box-sizing: border-box;
}

.sec-hero-content__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
}

.sec-hero-content__tab-label {
  font-family: "Cabin", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.sec-hero-content__tab.is-active .sec-hero-content__tab-label {
  font-weight: 700;
  color: #fff;
}

.sec-hero-content__tab-track {
  display: block;
  position: relative;
  width: 120px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.sec-hero-content__tab-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: #fff;
  transition: width 0.1s linear;
}

/* ==================== Tablet ≤1024 ==================== */
@media (max-width: 1024px) {
  .sec-hero-content__swiper {
    height: 600px;
  }
  .sec-hero-content__grid {
    padding: 48px 40px;
    gap: 40px;
  }
  .sec-hero-content__title {
    font-size: 42px;
    line-height: 1.2;
  }
  .sec-hero-content__copy {
    max-width: 460px;
  }
  .sec-hero-content__tabs {
    gap: 40px;
  }
}

/* ==================== Stack ≤900 ==================== */
@media (max-width: 900px) {
  .sec-hero-content__swiper {
    height: 760px;
  }
  .sec-hero-content__grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .sec-hero-content__visual {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    justify-content: center;
  }
}

/* ==================== Phone ≤600 ==================== */
@media (max-width: 600px) {
  .sec-hero-content__grid {
    padding: 40px 20px;
    gap: 32px;
  }
  .sec-hero-content__title {
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.25;
    text-wrap: balance;
    overflow-wrap: break-word;
  }
  .sec-hero-content__subtitle {
    font-size: 16px;
    line-height: 24px;
  }
  .sec-hero-content__actions {
    flex-wrap: wrap;
  }
  .sec-hero-content__btn {
    padding: 13px 22px;
    font-size: 13px;
  }
  .sec-hero-content__tabs {
    gap: 24px;
    padding: 16px 16px;
  }
  .sec-hero-content__tab-label {
    font-size: 12px;
  }
  .sec-hero-content__tab-track {
    width: 72px;
  }
}
