/* =========================================================
   Detective Designer — Mobile styles (≤ 480px, min-target 390px)
   ========================================================= */

/* ========== HERO ========== */

@media (max-width: 480px) {
  .hero {
    gap: 44px;
    padding: 40px 20px 48px;
  }

  .hero-copy {
    gap: 16px;
  }

  .hero-heading {
    font-size: 28px;
    line-height: 34px;
    width:400px;
  }

  .hero-heading br {
    display: none;
  }

  .palette {
    height: 27px;
    margin: 0 -2px;
    margin-bottom:-3px;
  }

  @media(max-width:460px){
  .palette:hover{
    height:40px;
    margin-bottom:-6px;
  
}
}

  .avatars {
    margin-top: -15px;
  }

  .avatars img {
    height: 26px;
    margin-left: -14px;
  }

  .avatars img:first-child {
    margin-left: 0;
  }

  .hero-subheading {
    font-size: 14px;
    line-height: 19px;
  }

  .hero-subheading-extra {
    display: none;
  }

  .hero-cta {
    height: 44px;
    padding: 13px 20px;
  }

  .hero-cta-label {
    font-size: 14px;
  }
}

@media (max-width: 410px) {
  .hero-heading {
    font-size: 26px;
    line-height: 31px;
    width:100%;

  }


@media (max-width: 370px) {
  .hero-heading {
    font-size: 26px;
    line-height: 31px

  }
}
/* ========== SERVICES ========== */

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
    padding: 0 18px;
  }

  .service-card {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    background-image: none !important;
    background-color: #ffffff;
  }

  .service-card-image {
    display: block;
    width: 100%;
    height: 170px;
    flex-shrink: 0;
    object-fit: cover;
  }

  .service-card-caption {
    position: static;
    width: 100%;
    max-width: 100%;
    padding: 16px;
  }

  .service-card-title {
    font-size: 14px;
    margin: 0 0 4px;
  }

  .service-card-text {
    font-size: 12px;
    line-height: 18px;
    width: auto;
  }
}



@media (max-width: 480px) {

  .cta-button-label {
  font-size: 14px;
  }

  .cta-button {
    height: 44px;
    padding: 13px 20px;
  }
  
  .cta-heading {
  font-size:28px;
  line-height:34px;

}

 .cta-subheading {
  font-size:14px;
  line-height:19px;

}




}