.client-body {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(12, 107, 79, 0.05), transparent 45%),
    #f3f8f5;
}
.client-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 48px auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1fr);
  gap: 22px;
}
.client-hero-panel, .client-card, .client-profile {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.client-hero-panel {
  min-height: 560px;
  display: flex;
  align-items: end;
  padding: 34px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(7,48,64,0.96), rgba(8,122,85,0.82)),
    radial-gradient(circle at 78% 20%, rgba(242,181,68,0.36), transparent 28%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 1px, transparent 1px 18px);
}
.client-hero-panel .eyebrow { color: var(--gold); }
.client-hero-panel h1 { font-size: clamp(34px, 5vw, 58px); }
.client-card, .client-profile { padding: 28px; }
.client-profile h3 {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.login-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-top: 20px;
}
.tab-button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}
.tab-button.active { background: var(--deep); color: #fff; }
.client-auth-form {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.captcha {
  grid-template-columns: auto 1fr;
  align-items: center;
}
.captcha input { grid-column: 1 / -1; }
.service-panel {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfefd;
}
.service-panel h4 {
  margin: 0 0 14px;
  color: var(--deep);
}
.client-profile {
  grid-column: 1 / -1;
  animation: client-enter 320ms ease both;
}
.client-profile-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}
.client-card .button, .client-profile .button {
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.client-card .button:hover, .client-profile .button:hover {
  box-shadow: 0 12px 22px rgba(12, 107, 79, 0.18);
}
@keyframes client-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 860px) {
  .client-shell { grid-template-columns: 1fr; margin: 20px auto; }
  .client-hero-panel { min-height: 280px; }
}
