/* ===== REBRAND SECTION ===== */
.rebrand-section {
  position: relative;
  background: #001a38;
}

.rebrand-pin {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: clip;
}

.rebrand-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  padding: 100px 0;
}

/* LEFT — text */
.rebrand-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.rebrand-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  padding-top: 50px;
  text-transform: uppercase;
  color: #0183D9;
  font-weight: 600;
}

.rebrand-headline {
  font-family: 'HVN Bold', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  color: #ffffff;
  line-height: 1.1;
  filter: blur(12px);
  opacity: 0;
}

.rebrand-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rebrand-line {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  filter: blur(8px);
  opacity: 0;
}

.rebrand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(1, 131, 218, 0.95);
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #ffffff;
  opacity: 0;
  width: fit-content;
}

.rebrand-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3cf687;
}

/* RIGHT — logo swap */
.rebrand-logos {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 280px;
}


/* OLD logo — base layer */
.rebrand-logo-old {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rebrand-logo-old img {
  max-width: 280px;   /* bigger */
  max-height: 180px;
  object-fit: contain;
  filter: grayscale(30%);
}

/* NEW logo — clips in from left */
.rebrand-logo-new {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: inset(0 100% 0 0);
}

.rebrand-logo-new img {
  max-width: 280px;   /* bigger */
  max-height: 180px;
  object-fit: contain;
}

/* Logo wrap — bigger overall */
.rebrand-logo-wrap {
  position: relative;
  width: 340px;
  height: 220px;
}

.rebrand-logos {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
}

/* Handle — NO dots */
.rebrand-swipe-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #ffffff;
  left: 0%;
  opacity: 0;
  box-shadow: 0 0 12px rgba(1, 131, 217, 0.8);
  /* Remove ::before and ::after pseudo elements */
}

.rebrand-swipe-handle::before,
.rebrand-swipe-handle::after {
  display: none;
}

/* Labels */
.rebrand-label {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  opacity: 0;
  white-space: nowrap;
  text-align: center;
}

.rebrand-label-old { color: rgba(255,255,255,0.4); }
.rebrand-label-new { color: #0183D9; }



@media (max-width: 767px) {
  .rebrand-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 80px 0;
  }

  .rebrand-logos {
    height: 180px;
    width: 100%;
  }

  .rebrand-logo-wrap {
    width: 100%;
    max-width: 260px;
    height: 140px;
  }

  .rebrand-logo-old img,
  .rebrand-logo-new img {
    max-width: 180px;
    max-height: 100px;
    width: 100%;
    object-fit: contain;
  }
}


@media (min-width: 992px) and (max-width: 1366px) {

  /* Slightly reduce logo wrap so it doesn't push layout on short viewports */
  .rebrand-logo-wrap {
    width: 300px;
    height: 190px;
  }

  .rebrand-logos {
    height: 300px;
  }

  /* Tighten the grid gap so left text + right logo fit comfortably */
  .rebrand-inner {
    gap: 52px;
    padding: 80px 0;
  }

  /* Headline font: already uses clamp(32px, 4vw, 52px).
     At 1280px: 4vw = 51.2px which is fine.
     Body line height is generous — keep as is. */
}
