/* ============================================================
   BrijCode — About Business Impact responsive
   ============================================================ */

@media (max-width: 991.98px) {
  .about-impact--light {
    height: auto;
    min-height: 0;
    padding: 20px 0 14px;
    --ai-scene-w: min(980px, 98vw);
    --ai-scene-h: clamp(160px, 28vw, 240px);
  }

  .about-impact__inner {
    padding: 12px 16px 0;
  }

  .about-impact__visual {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    height: var(--ai-scene-h);
    margin-top: 2px;
  }

  .about-impact__scene-wrap {
    position: relative;
    left: 50%;
    bottom: auto;
    width: min(100%, 520px);
    height: 100%;
    transform: translateX(-50%);
  }

  .about-impact.is-revealed .about-impact__scene-wrap {
    transform: translateX(-50%);
  }

  .about-impact.is-parallax .about-impact__scene-wrap {
    transform: translateX(-50%);
  }

  .about-impact__bottom {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    padding: 10px 16px 0;
    margin-top: 6px;
  }

  .about-impact__title {
    max-width: none;
    font-size: clamp(1.35rem, 4.2vw, 1.75rem);
    margin-bottom: 6px;
  }

  .about-impact__hero-value {
    font-size: clamp(2rem, 9vw, 3.5rem);
  }
}

@media (max-width: 767.98px) {
  .about-impact--light {
    --ai-scene-h: clamp(130px, 34vw, 190px);
    padding: 16px 0 12px;
  }

  .about-impact__inner {
    padding: 8px 12px 0;
  }

  .about-impact__badge {
    margin-bottom: 8px;
    padding: 5px 12px;
    font-size: 0.72rem;
  }

  .about-impact__title {
    font-size: clamp(1.2rem, 5vw, 1.55rem);
    margin-bottom: 4px;
  }

  .about-impact__hero {
    padding-right: clamp(36px, 10vw, 56px);
  }

  .about-impact__hero-value {
    font-size: clamp(1.75rem, 10vw, 2.75rem);
  }

  .about-impact__hero-note {
    right: -28%;
    bottom: -18%;
    max-width: 140px;
    padding: 6px 9px;
    font-size: 0.62rem;
  }

  .about-impact__visual {
    margin-top: 0;
    height: var(--ai-scene-h);
  }

  .about-impact__scene-wrap {
    width: min(100%, 400px);
  }

  .about-impact__bottom {
    padding: 8px 12px 0;
    margin-top: 4px;
  }

  .about-impact__metric-value {
    font-size: clamp(1.15rem, 4.8vw, 1.5rem);
  }

  .about-impact__metric-label {
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .about-impact--light {
    --ai-scene-h: clamp(115px, 32vw, 165px);
    padding: 14px 0 10px;
  }

  .about-impact__inner {
    padding: 6px 10px 0;
  }

  .about-impact__hero {
    padding-right: clamp(32px, 12vw, 48px);
  }

  .about-impact__hero-value {
    font-size: clamp(1.55rem, 9.5vw, 2.2rem);
  }

  .about-impact__scene-wrap {
    width: min(100%, 340px);
  }

  .about-impact__metrics {
    gap: 4px 8px;
  }

  .about-impact__metric-label {
    font-size: 0.6rem;
    max-width: 11ch;
  }
}

@media (max-height: 720px) and (min-width: 992px) {
  .about-impact--light {
    --ai-scene-h: clamp(180px, 36vh, 280px);
  }

  .about-impact__title {
    font-size: clamp(1.35rem, 4vh, 1.75rem);
  }

  .about-impact__hero-value {
    font-size: clamp(2rem, 8vh, 3.25rem);
  }

  .about-impact__visual {
    bottom: clamp(44px, 8vh, 60px);
  }

  .about-impact__metric-value {
    font-size: clamp(1.2rem, 3vh, 1.65rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-impact.is-revealed .about-impact__scene-wrap {
    transform: translateX(-50%);
  }
}
