/* ---------------------------------------------
   DiPStrategy -- Hero Section
   style/hero.css
   --------------------------------------------- */

/* --- HERO BG --- */
.hero-bg {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: var(--navy);
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/pattern-01.png');
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.55;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.55) 40%,
    rgba(0,0,0,0.15) 75%,
    rgba(0,0,0,0) 100%
  );
  z-index: 1;
}

/* --- SERVICE VISUAL SLIDER --- */
.hero-service-slider {
  position: absolute;
  top: calc(53% - 44px);
  right: 2%;
  z-index: 9;
  width: min(45vw, 600px);
  aspect-ratio: 4 / 5;
  transform: translateY(-50%) /* rotate(3deg) */; 
}

.hero-service-track,
.hero-service-slide {
  position: absolute;
  inset: 0;
}

.hero-service-slide {
  opacity: 0;
  transform: translateX(110%);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-service-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.hero-service-slide.is-exiting {
  opacity: 0;
  transform: translateX(-110%);
}

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

.hero-service-caption {
  position: absolute;
  top:120px;
  right: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  max-width: 58%;
  text-align: right;
}

.hero-service-caption span {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(222,255,45,0.84);
}

.hero-service-caption strong {
  font-family: var(--font-headline);
  font-size: clamp(15px, 1.35vw, 21px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--white);
}

.hero-service-dots {
  position: absolute;
  z-index: 3;
  left: 18px;
  bottom: 18px;
  display: flex;
  gap: 8px;
}

.hero-service-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.36);
  padding: 0;
  cursor: pointer;
}

.hero-service-dot.active {
  width: 24px;
  background: var(--lime);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 180px 56px 60px;
  max-width: 1400px;
}

.accent-line {
  width: 160px;
  height: 4px;
  background: var(--lime);
  margin-bottom: 28px;
  opacity: 0;
  animation: slideInLeft 0.7s 0.2s forwards;
}

.headline {
  font-family: var(--font-headline);
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 32px;
}

.hl-1 {
  display: block;
  font-weight: 200;
  font-size: clamp(1.8rem, 5.86vw, 5rem);
  letter-spacing: -0.05em;
  opacity: 0;
  animation: fadeUp 0.7s 0.4s forwards;
}

.hl-2 {
  display: block;
  font-weight: 500;
  font-size: clamp(2rem, 7.32vw, 6rem);
  letter-spacing: 0em;
  opacity: 0;
  animation: fadeUp 0.7s 0.55s forwards;
}

.hl-3-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: fadeUp 0.7s 0.7s forwards;
}

.hl-3 {
  display: block;
  font-weight: 900;
  font-size: clamp(2.6rem, 8.78vw, 8rem); 
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.starburst-wrap {
  flex-shrink: 0;
  transform: translate(-20px, -40px);
}

.starburst {
  width: clamp(40px, 4vw, 68px);
  height: clamp(40px, 4vw, 68px);
  opacity: 0.9;
  animation: spin 12s linear infinite;
}

.subline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.3;
  color: rgba(255,255,255,0.72);
  max-width: 860px;
  margin-top: -20px;
  margin-bottom:60px;
  opacity: 0;
  animation: fadeUp 0.7s 0.9s forwards;
}

/* --- EKG DIVIDER --- */
.ekg-divider {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 56px;
  margin-top: -30px;
  opacity: 0;
  animation: fadeUp 0.7s 1.0s forwards;
}

.ekg-divider svg {
  width: 100%;
  height: 32px;
  opacity: 0.35;
}

/* --- STATS + CTA ROW --- */
.bottom-row {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 56px 48px;
  max-width: 1400px;
  margin-top: -120px;
  opacity: 0;
  animation: fadeUp 0.7s 1.1s forwards;
}

.stats { display: flex; gap: 64px; }

.stat-number {
  font-family: var(--font-headline);
  font-weight: 200;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.cta-group { display: flex; gap: 16px; align-items: center; }

.btn {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.6);
  background: transparent;
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-filled {
  background: var(--lime);
  border: 1.5px solid var(--lime);
  color: #000;
}

.btn-filled:hover {
  background: #f0ff50;
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(222,255,45,0.35);
}

.btn-star { width: 18px; height: 18px; }

/* --- CLIENT STRIP --- */
.client-strip {
  position: relative;
  z-index: 10;
  background: var(--lime);
  padding: 39px 0;
  overflow: hidden;
}

.client-strip-label {
  text-align: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(14px, 1.3vw, 17px);
  letter-spacing: 0.03em;
  color: rgba(0,0,0,0.6);
  margin-bottom: 22px;
  padding: 0 56px;
}

.client-track-wrap { overflow: hidden; width: 100%; }

.client-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.client-track:hover { animation-play-state: paused; }

.client-logo {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(14px, 1.3vw, 17px);
  letter-spacing: 0.05em;
  color: rgba(0,0,0,0.55);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  flex-shrink: 0;
  transition: color 0.2s;
}

.client-logo:hover { color: rgba(0,0,0,0.85); }

.client-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
  flex-shrink: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
  .hero-service-slider {
    position: relative;
    top: auto;
    right: auto;
    width: min(420px, calc(100% - 48px));
    margin: -28px 24px 56px auto;
    transform: rotate(2deg);
  }
}

@media (max-width: 900px) {
  .hero-content { padding: 140px 24px 48px; }
  .hero-service-slider { display: none; }
  .hl-3-wrap { gap: 8px; }
  .starburst  { width: 28px; height: 28px; }
  .ekg-divider  { padding: 0 24px; }
  .bottom-row   { flex-direction: column; align-items: flex-start; gap: 32px; padding: 24px 24px 40px; }
  .stats        { gap: 36px; margin-bottom: 20px; }
  .client-strip { margin-top: 0; margin-bottom: 0; }
}
