/* ============================================================
   DCX Hero Slider — hero.css
   BEM namespace: dcx-hero-slider-fw / dcx-hero-slide-fw
   ============================================================ */

:root {
  --dcx-header-offset: 96px;
  --dcx-header-safe: 122px;
}

.dcx-hero-slider-fw {
  position: relative;
  width: 100%;
  margin-top: 0;
  z-index: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.dcx-hero-slider-fw *,
.dcx-hero-slider-fw *::before,
.dcx-hero-slider-fw *::after {
  box-sizing: border-box;
}

.dcx-hero-slider-fw__viewport,
.dcx-hero-slider-fw__track,
.dcx-hero-slide-fw {
  position: relative;
  z-index: 0;
}

/* ── Viewport ─────────────────────────────────────────────── */
.dcx-hero-slider-fw__viewport {
  height: 100vh;
  position: relative;
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 26%),
    radial-gradient(circle at 88% 18%, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 24%),
    linear-gradient(135deg, #ff5b66 0%, #ff2c47 36%, #ff173e 64%, #f57d83 100%);
  box-shadow: 0 26px 80px rgba(237, 26, 59, 0.12);
}

/* ── Track / Slide ────────────────────────────────────────── */
.dcx-hero-slider-fw__track {
  height: 100%;
  display: flex;
  flex-direction: row;
  transition: transform 0.5s ease;
  will-change: transform;
}

.dcx-hero-slide-fw {
  display: flex;
  position: relative;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}

.dcx-hero-slide-fw::before {
  content: "";
  position: absolute;
  left: -4%;
  top: 8%;
  width: 40%;
  height: 34%;
  background: rgba(255,255,255,0.09);
  border-radius: 52% 48% 58% 42% / 55% 55% 45% 45%;
  pointer-events: none;
}

.dcx-hero-slide-fw::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: 56%;
  height: 56%;
  background: rgba(255,255,255,0.08);
  border-radius: 58% 42% 54% 46% / 46% 54% 46% 54%;
  pointer-events: none;
}

/* ── Container / Inner ────────────────────────────────────── */
.dcx-hero-slide-fw__container {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--dcx-header-safe) 20px 48px;
}

.dcx-hero-slide-fw__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
  align-items: center;
  gap: 34px;
  min-height: 700px;
}

/* ── Content side ─────────────────────────────────────────── */
.dcx-hero-slide-fw__content {
  max-width: 620px;
}

.dcx-hero-slide-fw__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.dcx-hero-slide-fw__title {
  margin: 22px 0 16px;
  color: #ffffff;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.dcx-hero-slide-fw__title strong {
  color: #1f1721;
  font-weight: 800;
}

.dcx-hero-slide-fw__desc {
  margin: 0;
  max-width: 560px;
  color: rgba(255,255,255,0.94);
  font-size: 20px;
  line-height: 1.6;
  font-weight: 500;
}

/* ── Actions / Buttons ────────────────────────────────────── */
.dcx-hero-slide-fw__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.dcx-hero-slide-fw__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dcx-hero-slide-fw__btn:hover {
  transform: translateY(-1px);
}

.dcx-hero-slide-fw__btn--primary {
  background: #ffffff;
  color: #111111;
  box-shadow: 0 16px 34px rgba(15, 23, 43, 0.12);
}

.dcx-hero-slide-fw__btn--primary:hover {
  background: #111111;
  color: #ffffff;
}

.dcx-hero-slide-fw__btn--secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.42);
}

.dcx-hero-slide-fw__btn--secondary:hover,
.dcx-hero-slide-fw__btn--secondary:focus-visible {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.66);
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

/* ── Benefits / Badges ────────────────────────────────────── */
.dcx-hero-slide-fw__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.dcx-hero-slide-fw__benefit {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

/* ── Visual side ──────────────────────────────────────────── */
.dcx-hero-slide-fw__visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 46px;
}

.dcx-hero-slide-fw__glass {
  position: absolute;
  right: 0;
  bottom: 24px;
  width: 88%;
  height: 78%;
  border-radius: 46px;
  background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.06) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  overflow: hidden;
}

.dcx-hero-slide-fw__person {
  position: absolute;
  right: 24px;
  bottom: 0;
  width: min(100%, 560px);
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  z-index: 2;
  filter: drop-shadow(0 20px 34px rgba(15, 23, 43, 0.14));
}

.dcx-hero-slide-fw__cover {
  position: absolute;
  right: 12px;
  bottom: 0;
  width: min(100%, 590px);
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.dcx-hero-slide-fw__cover-card {
  width: 100%;
  max-width: 560px;
  height: 88%;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(15, 23, 43, 0.16);
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(4px);
}

.dcx-hero-slide-fw__cover-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

/* ── Stats ────────────────────────────────────────────────── */
.dcx-hero-slide-fw__stat {
  position: absolute;
  z-index: 3;
  min-width: 136px;
  padding: 16px 18px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 14px 34px rgba(15, 23, 43, 0.12);
  text-align: center;
}

.dcx-hero-slide-fw__stat strong {
  display: block;
  color: #a51a2f;
  font-size: 20px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.dcx-hero-slide-fw__stat span {
  display: block;
  margin-top: 4px;
  color: #45556c;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
}

.dcx-hero-slide-fw__stat--one   { top: 78px; left: 12px; }
.dcx-hero-slide-fw__stat--two   { top: 62px; right: 8px; }
.dcx-hero-slide-fw__stat--three { right: 74px; bottom: 18px; }

/* ── Nav arrows ───────────────────────────────────────────── */
.dcx-hero-slider-fw__nav {
  position: absolute;
  inset: 50% 24px auto 24px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.dcx-hero-slider-fw__arrow {
  pointer-events: auto;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  color: #111111;
  box-shadow: 0 14px 30px rgba(15, 23, 43, 0.12);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.dcx-hero-slider-fw__arrow:hover,
.dcx-hero-slider-fw__arrow:focus-visible {
  transform: scale(1.04);
  background: #111111;
  color: #ffffff;
}

/* ── Dots ─────────────────────────────────────────────────── */
.dcx-hero-slider-fw__dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.dcx-hero-slider-fw__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.42);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.dcx-hero-slider-fw__dot.is-active {
  width: 28px;
  background: #ffffff;
}

/* ── Responsive: tablet ───────────────────────────────────── */
@media (max-width: 1180px) {
  :root {
    --dcx-header-offset: 82px;
    --dcx-header-safe: 112px;
  }
  .dcx-hero-slide-fw__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
  }
  .dcx-hero-slide-fw__content {
    max-width: none;
    text-align: center;
  }
  .dcx-hero-slide-fw__desc {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  .dcx-hero-slide-fw__actions,
  .dcx-hero-slide-fw__benefits {
    justify-content: center;
  }
  .dcx-hero-slide-fw__visual {
    min-height: 420px;
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
  }
  .dcx-hero-slide-fw__person {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  .dcx-hero-slide-fw__cover {
    position: relative;
    right: auto;
    width: 100%;
    height: 420px;
    justify-content: center;
  }
  .dcx-hero-slide-fw__cover-card {
    max-width: 620px;
    height: 100%;
  }
  .dcx-hero-slide-fw__stat--one   { left: 0; }
  .dcx-hero-slide-fw__stat--two   { right: 0; }
  .dcx-hero-slide-fw__stat--three { right: 28px; bottom: 18px; }
}

/* ── Responsive: mobile ───────────────────────────────────── */
@media (max-width: 767px) {
  :root {
    --dcx-header-offset: 72px;
    --dcx-header-safe: 98px;
  }
  .dcx-hero-slider-fw__viewport {
    height: auto;
    min-height: 100svh;
  }
  .dcx-hero-slider-fw__track {
    min-height: 100svh;
  }
  .dcx-hero-slide-fw {
    height: auto;
    min-height: 100svh;
  }
  .dcx-hero-slide-fw__container {
    justify-content: flex-start;
    min-height: 100svh;
    padding: calc(var(--dcx-header-safe) + 88px) 14px 64px;
  }
  .dcx-hero-slide-fw__inner {
    gap: 24px;
  }
  .dcx-hero-slide-fw__eyebrow {
    min-height: 34px;
    padding: 0 16px;
    font-size: 12px;
  }
  .dcx-hero-slide-fw__title {
    margin-top: 16px;
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1;
  }
  .dcx-hero-slide-fw__desc {
    font-size: 16px;
    line-height: 1.55;
  }
  .dcx-hero-slide-fw__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .dcx-hero-slide-fw__btn {
    width: 100%;
  }
  .dcx-hero-slide-fw__benefits {
    gap: 8px;
  }
  .dcx-hero-slide-fw__benefit {
    font-size: 13px;
    padding: 8px 10px;
  }
  .dcx-hero-slide-fw__visual {
    min-height: 320px;
    border-radius: 30px;
  }
  .dcx-hero-slide-fw__glass {
    width: 100%;
    height: 78%;
    right: 0;
    bottom: 0;
    border-radius: 30px;
  }
  .dcx-hero-slide-fw__person {
    width: min(100%, 330px);
    border-radius: 30px;
  }
  .dcx-hero-slide-fw__cover {
    height: 300px;
  }
  .dcx-hero-slide-fw__cover-card {
    border-radius: 24px;
  }
  .dcx-hero-slide-fw__stat {
    min-width: 108px;
    padding: 12px 12px 10px;
    border-radius: 14px;
  }
  .dcx-hero-slide-fw__stat strong { font-size: 18px; }
  .dcx-hero-slide-fw__stat span   { font-size: 12px; }
  .dcx-hero-slide-fw__stat--one   { top: 8px; left: 0; }
  .dcx-hero-slide-fw__stat--two   { top: 0; right: 0; }
  .dcx-hero-slide-fw__stat--three { right: 10px; bottom: 8px; }
  .dcx-hero-slider-fw__nav {
    inset: auto 14px 16px 14px;
    transform: none;
  }
  .dcx-hero-slider-fw__arrow {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
  .dcx-hero-slider-fw__dots {
    bottom: 20px;
  }
}

@media (max-width: 843px) {
  .dcx-hero-slider-fw__nav {
    display: none;
  }
}
