/* ============================================================
   BrijCode — About Hero responsive
   Mobile/tablet follows field-sales-automation hero pattern
   ============================================================ */

@media (max-width: 1199.98px) {
  .about-hero__title {
    font-size: clamp(2.1rem, 3.8vw, 2.85rem);
  }

  .about-hero__dock {
    width: min(94vw, 560px);
  }

  .about-hero__dock-stage {
    width: clamp(160px, 16vw, 205px);
  }

  .about-hero__dock-media {
    max-width: 205px;
  }

  .about-hero__dock-card {
    width: min(38vw, 178px);
    max-width: 178px;
    padding: 12px 13px;
  }
}

@media (max-width: 991.98px) {
  .about-page .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .about-hero {
    align-items: stretch;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    padding: 0;
    justify-content: flex-end;
  }

  .about-hero__media {
    inset: 0;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .about-hero__person-media {
    object-position: center center;
    transform: scale(1.03);
    transform-origin: center center;
  }

  .about-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(10, 24, 38, 0.22) 0%,
      rgba(10, 24, 38, 0.12) 28%,
      rgba(10, 24, 38, 0.45) 58%,
      rgba(10, 24, 38, 0.9) 100%
    );
  }

  .about-hero__fade {
    height: 52%;
    background: linear-gradient(
      to top,
      rgba(10, 24, 38, 0.92) 0%,
      rgba(10, 24, 38, 0.55) 42%,
      transparent 100%
    );
  }

  .about-hero__inner {
    flex: 0 0 auto;
    padding-top: 8px;
    padding-bottom: clamp(20px, 4vh, 32px);
  }

  .about-hero__content {
    max-width: none;
    width: 100%;
    margin: 0;
    align-items: flex-start;
    text-align: left;
  }

  .about-hero__actions {
    justify-content: flex-start;
  }

  .about-hero__badge {
    margin-bottom: 8px;
  }

  .about-hero__title {
    margin-bottom: 8px;
    max-width: none;
    font-size: clamp(1.7rem, 4vw, 2.2rem);
    line-height: 1.08;
    text-wrap: pretty;
  }

  .about-hero__title-line {
    display: block;
    white-space: nowrap;
  }

  .about-hero__lede {
    max-width: none;
    font-size: 0.95rem;
    margin-bottom: 12px;
  }

  .about-hero__dock {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .about-hero__title {
    font-size: clamp(1.45rem, 6vw, 1.75rem);
  }

  .about-hero__title-line {
    white-space: nowrap;
  }

  .about-hero__lede {
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 10px;
  }

  .about-hero__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }

  .about-hero__btn {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    min-height: 42px;
    padding: 0 10px;
    font-size: 0.78rem;
    white-space: nowrap;
  }
}

@media (max-width: 575.98px) {
  .about-hero__title {
    font-size: clamp(1.32rem, 5.8vw, 1.55rem);
  }

  .about-hero__lede {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .about-hero__title {
    font-size: 1.32rem;
  }

  .about-hero__btn {
    font-size: 0.74rem;
    padding: 0 8px;
  }
}

@media (max-width: 360px) {
  .about-hero__title {
    font-size: 1.15rem;
  }

  .about-hero__title-line {
    white-space: normal;
  }

  .about-hero__lede {
    font-size: 0.76rem;
    margin-bottom: 8px;
  }

  .about-hero__btn {
    font-size: 0.7rem;
    padding: 0 6px;
    min-height: 40px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .about-hero {
    height: auto;
    min-height: 0;
    max-height: none;
  }
}

@media (min-width: 992px) and (max-height: 820px) {
  .about-hero {
    padding-top: calc(72px + 1vh);
    padding-bottom: clamp(100px, 16vh, 140px);
  }

  .about-hero__dock-card {
    padding: 11px 12px;
  }

  .about-hero__dock-value {
    font-size: 0.84rem;
  }
}

@media (min-width: 992px) and (max-height: 700px) {
  .about-hero__dock {
    display: none;
  }

  .about-hero {
    padding-bottom: clamp(48px, 8vh, 80px);
  }
}
