/* ============================================================
   BrijCode — Service Hero responsive
   ============================================================ */

.service-page--field-sales section {
  scroll-margin-top: 64px;
}

@media (max-width: 1199px) {
  .service-hero {
    min-height: 660px;
    height: clamp(640px, 76vh, 720px);
  }

  .service-hero__title {
    font-size: clamp(2.35rem, 3.8vw, 3.2rem);
  }

  .service-hero__card {
    width: min(210px, 30vw);
    padding: 12px;
  }

  .service-hero__card--visits {
    right: 36%;
  }
}

@media (max-width: 991px) {
  .service-page--field-sales .container {
    padding: 10px 18px 15px;
  }

  .service-hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
  }

  .service-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(7, 26, 51, 0.22) 0%,
      rgba(7, 26, 51, 0.12) 28%,
      rgba(7, 26, 51, 0.45) 58%,
      rgba(7, 26, 51, 0.88) 100%
    );
  }

  .service-hero__fade {
    height: 52%;
    background: linear-gradient(
      to top,
      rgba(7, 26, 51, 0.9) 0%,
      rgba(7, 26, 51, 0.55) 42%,
      transparent 100%
    );
  }

  .service-hero__inner {
    height: auto;
    flex: 0 0 auto;
    padding-top: 8px;
    padding-bottom: 0;
  }

  .service-hero__content {
    max-width: none;
    width: 100%;
  }

  .service-hero__eyebrow {
    margin-bottom: 8px;
  }

  .service-hero__title {
    margin-bottom: 8px;
    font-size: clamp(1.7rem, 4vw, 2.2rem);
    line-height: 1.08;
  }

  .service-hero__description {
    font-size: 0.95rem;
    max-width: none;
    margin-bottom: 12px;
  }

  .service-hero__connectors {
    display: none;
  }

  .service-hero__stage {
    position: relative;
    inset: auto;
    z-index: 4;
    flex: 0 0 auto;
    padding: 10px 18px 16px;
  }

  .service-hero__cards {
    position: relative;
    inset: auto;
  }

  .service-hero__card {
    display: none;
  }

  .service-hero__card--mobile {
    display: block;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    padding: 12px 14px 10px;
  }
}

@media (max-width: 767px) {
  .service-hero__title {
    font-size: clamp(1.45rem, 6vw, 1.75rem);
  }

  .service-hero__description {
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 10px;
  }

  .service-hero__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 8px;
  }

  .service-hero__btn {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    min-height: 42px;
    padding: 0 10px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .service-hero__btn-arrow {
    display: none;
  }

  .service-hero__stage {
    padding: 8px 16px 14px;
  }

  .service-hero__card-place {
    margin-bottom: 6px;
  }
}

@media (max-width: 575px) {
  .service-hero__title {
    font-size: clamp(1.32rem, 5.8vw, 1.55rem);
  }

  .service-hero__description {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .service-hero__title {
    font-size: 1.32rem;
  }

  .service-hero__btn {
    font-size: 0.74rem;
    padding: 0 8px;
  }

  .service-hero__stage {
    padding: 8px 14px 12px;
  }
}

@media (max-width: 360px) {
  .service-hero__title {
    font-size: 1.2rem;
  }

  .service-hero__description {
    font-size: 0.76rem;
    margin-bottom: 8px;
  }

  .service-hero__btn {
    font-size: 0.7rem;
    padding: 0 6px;
    min-height: 40px;
  }

  .service-hero__stage {
    padding: 6px 14px 12px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .service-hero {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .service-hero__card--mobile {
    width: min(280px, 100%);
  }
}
