.brand {
  display: flex;
  align-items: center;
  line-height: 1;
}

.brand img {
  display: block;
  width: auto;
  height: 50px;
  aspect-ratio: 40 / 9;
}

.footer-brand img {
  height: 58px;
}

.client-area {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid #d9cccf;
  border-radius: 6px;
  color: #5a0b25;
  white-space: nowrap;
}

.client-area:hover {
  border-color: #5a0b25;
  background: #f8f5f1;
}

.footer-client {
  align-self: flex-start;
  margin-top: 12px;
  color: #fff;
  font-weight: 700;
}

.footer-client:hover {
  color: #d7aabb;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.social-links a {
  padding: 6px 10px;
  border: 1px solid #5b4a50;
  border-radius: 4px;
  color: #fff;
  font-size: 0.82rem;
  transition: border-color 0.2s, background 0.2s;
}

.social-links a:hover {
  border-color: #d7aabb;
  background: rgba(255, 255, 255, 0.06);
}

.firm-registration {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #d9cccf;
  border-radius: 6px;
  color: #5a0b25;
}

.firm-registration span {
  white-space: nowrap;
}

.about-logo {
  display: block;
  width: min(54%, 350px);
  height: auto;
  aspect-ratio: 898 / 900;
  margin-bottom: 78px;
  filter: drop-shadow(0 16px 30px rgba(30, 0, 10, 0.2));
}

/* Keep the statement readable on narrow screens without horizontal scrolling. */
.problem-strip span { white-space: normal; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .service, .client-portal, .social-links a { transition: none; }
}

.section-head .solutions-title {
  margin-top: 0;
  font-size: clamp(3rem, 6vw, 5.6rem);
}

@media (max-width: 560px) {
  .brand img {
    height: 42px;
  }

  .footer-brand img {
    height: 52px;
  }

  .client-area {
    justify-content: center;
  }

  .firm-registration {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .about-logo {
    width: min(58%, 270px);
    margin-bottom: 72px;
  }
}
