@media (max-width: 980px){
  .grid-2{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }

  .services-home .services-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .services-home .service-tile{
    display: flex;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 18px;
    gap: 14px;
    min-height: auto;
    overflow: hidden;
  }

  .services-home .service-tile .service-avatar{
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
  }

  .services-home .service-tile h3{
    margin: 0 0 6px;
    font-size: 1.1rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  .services-home .service-tile p{
    font-size: 0.95rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
    margin: 0;
  }
}

@media (max-width: 767px){
  .hero-buttons{
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
  }

  .hero-buttons .btn{
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    text-align: center;
    padding: 8px 8px;
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .hero-buttons .btn-primary{
    padding: 9px 10px;
    font-size: 0.86rem;
  }

  .services-home .section-title{
    font-size: 22px;
    text-align: center;
    width: 100%;
    margin-top: -5px;
    margin-right: auto;
    margin-bottom: 30px;
    margin-left: auto;
    padding: 0 6px;
  }

  .services-home .services-grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-home .service-tile{
    width: 100%;
  }

  .services-home .service-tile .service-avatar{
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
  }
}

@media (max-width: 720px){
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .nav{
    position: absolute;
    right: 16px;
    top: 64px;
    width: min(340px, calc(100vw - 32px));
    display:none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(11,15,25,.92);
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(0,0,0,.45);
  }
  .nav.open{ display:flex; }
  .nav-link{ padding: 12px 12px; }

  .footer-grid{ grid-template-columns: 1fr; }

  .cookie-banner{
    width: calc(100% - 16px);
    bottom: 8px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-accept{
    align-self: flex-end;
  }

  .services-home .service-tile{
    padding: 16px;
    border-radius: 18px;
    gap: 12px;
  }

  .services-home .service-tile .service-avatar{
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
  }

  .services-home .service-tile h3{
    font-size: 1rem;
  }

  .services-home .service-tile p{
    font-size: 0.92rem;
  }
}
