.adv-wrap {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  width: 100%;
  position: relative;
}

/* ── NAME ROW ── */
.adv-name-row {
  display: grid;
  grid-template-columns: 1fr 52% 1fr;
  width: 100%;
  background: #ffffff;
  position: relative;
  z-index: 1;
  overflow: visible; /* Allow names to slide in from outside */
}
.adv-name-left {
  font-size: clamp(48px, 7.5vw, 110px);
  font-weight: 900;
  letter-spacing: -2px;
  color: #111111;
  line-height: 1;
  white-space: nowrap;
  text-align: right;
  /* Initial hidden state */
  opacity: 0;
  transform: translateX(-400px) translateY(60px);
  filter: blur(12px);
}
.adv-name-right {
  font-size: clamp(48px, 7.5vw, 110px);
  font-weight: 900;
  letter-spacing: -2px;
  color: #111111;
  line-height: 1;
  white-space: nowrap;
  text-align: left;
  /* Initial hidden state */
  opacity: 0;
  transform: translateX(600px) translateY(60px);
  filter: blur(12px);
}

/* ── HERO BOX ── */
.adv-hero {
  position: relative;
  width: 100%;
  min-height: 460px;
  background: linear-gradient(256deg, #5372b0b3 0%, #5372b0 88%);
  border-radius: 20px;
  overflow: visible;
  display: flex;
  align-items: flex-end;
  padding: 48px 52px;
  box-sizing: border-box;
  z-index: 2;
  /* Initial hidden state */
  opacity: 0;
  transform: translateY(40px);
}
.adv-hero__bg {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.adv-hero__bg::after {
  content: none;
}

/* ── IMAGE WRAP ── clips bottom at box edge, bleeds top only ── */
.adv-hero__image-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: calc(100% + 180px);
  width: auto;
  max-width: 52%;
  z-index: 10;
  pointer-events: none;
  overflow: hidden;
  /* clip bottom flush with box, allow top bleed via negative top offset */
  clip-path: inset(-9999px -9999px 0px -9999px);
  /* Initial hidden state */
  opacity: 0;
}
.adv-hero__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  transform-origin: bottom center;
  /* Initial hidden state */
  transform: scale(1.1);
}

/* ── LEFT / RIGHT ── */
.adv-hero__left {
  position: relative;
  z-index: 15;
  width: 30%;
  max-width: 300px;
  align-self: flex-end;
  /* Initial hidden state */
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
}

.adv-hero__right {
  position: relative;
  z-index: 5;
  width: 26%;
  max-width: 240px;
  margin-left: auto;
  align-self: flex-end;
  /* Initial hidden state */
  opacity: 0;
  transform: translateY(24px);
  filter: blur(8px);
}
.adv-hero__heading {
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 600;
  line-height: 1.35;
  color: #ffffff;
  margin: 0;
}
.adv-hero__desc {
  font-size: clamp(12px, 0.9vw, 14px);
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin: 0;
}

/* ── CTA ── */

/* ── MOBILE image wrapper ── */
.adv-mobile-img-wrap { 
  display: none;
  /* Initial hidden state */
  opacity: 0;
  transform: translateY(30px);
}


/* Description visibility by breakpoint */
.adv-desc-mobile  { display: none; }
.adv-desc-desktop { display: block; }

/* ── TABLET ── */
@media (min-width: 768px) and (max-width: 1024px) {
  .adv-name-left, .adv-name-right { font-size: 56px; }
  .adv-hero { min-height: 380px; padding: 36px; }
  .adv-hero__image-wrap { max-width: 50%; }
  .adv-hero__left { width: 34%; }
  .adv-hero__right { width: 28%; }
}

/* ── MOBILE ── */
@media (max-width: 767px) {
  .adv-name-row {
    display: flex !important;
    grid-template-columns: unset !important;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    overflow: hidden;
  }
  .adv-name-mid { display: none; }
  .adv-name-left, .adv-name-right {
    font-size: clamp(36px, 11vw, 52px);
    letter-spacing: -1px;
    text-align: center;
    padding: 0;
    margin: 0 !important;
    white-space: nowrap;
    flex: none;
  }
  .adv-mobile-img-wrap {
    display: flex !important;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    z-index: 5;
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -100px;
    pointer-events: none;
    overflow: visible;
  }
  .adv-mobile-img-wrap img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 90%;
    margin: 0 auto;
  }
  .adv-mobile-img-wrap img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
    display: block;
  }
  .adv-hero__image-wrap { display: none !important; }
  .adv-mobile-img-wrap { display: flex !important; }
  .adv-hero {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
    min-height: unset !important;
    padding: 110px 24px 32px !important;
    overflow: hidden;
    border-radius: 16px;
    gap: 0;
  }
  .adv-desc-mobile  { display: block; }
  .adv-desc-desktop { display: none; }
  .adv-hero__right  { display: none !important; }
  .adv-hero__left {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 20px;
    margin: 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .adv-hero__heading { font-size: 22px; font-weight: 700; line-height: 1.3; text-align: center; }
  .adv-hero__desc { font-size: 13px; text-align: center; margin: 14px 0 0; }
  .adv-cta-card { flex-direction: column; align-items: flex-start; padding: 28px 24px; gap: 16px; }
  .adv-cta-card__heading { font-size: 26px; text-transform: none; }
  .adv-cta-card__right { width: 100%; }
  .adv-cta-card__btn { width: 100%; justify-content: space-between; }
}
