.hm-login-page {
  background: var(--background-secondary);
}

.hm-login-shell {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(420px, 1.05fr);
  background: var(--background-secondary);
}

.hm-login-visual {
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  padding: 72px max(44px, calc((100vw - 1120px) / 2)) 72px 64px;
  color: #fff;
  background-image: linear-gradient(180deg, rgba(7, 56, 76, .14), rgba(7, 56, 76, .86)), url('/img/site13/hero-homino.png');
  background-size: cover;
  background-position: center left;
}

.hm-login-kicker {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.hm-login-visual h1 {
  max-width: 500px;
  margin: 0 0 18px;
  color: #fff;
  font-size: 48px;
  line-height: 1.12;
  font-weight: 850;
}

.hm-login-visual p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 17px;
  line-height: 1.7;
}

.hm-login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 48px;
}

.hm-login-card {
  width: min(100%, 480px);
  padding: 42px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 24px 55px rgba(16, 24, 40, .12);
}

.hm-login-head span {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.hm-login-head h2 {
  margin: 0 0 10px;
  color: #0A3950;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 850;
}

.hm-login-head p {
  margin: 0 0 26px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.hm-alert {
  margin-bottom: 18px;
  padding: 13px 15px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.hm-alert-success {
  color: #087654;
  background: rgba(39, 215, 178, .12);
  border: 1px solid rgba(39, 215, 178, .28);
}

.hm-alert-danger {
  color: #A33A3A;
  background: #FFF5F5;
  border: 1px solid #FFD8D8;
}

.hm-google-form,
.hm-login-form {
  margin: 0;
}

.hm-google-btn,
.hm-submit {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  font-weight: 850;
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.hm-google-btn {
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
}

.hm-google-btn:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 20px rgba(10, 138, 168, .1);
}

.hm-google-mark {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: var(--primary);
  font-weight: 850;
}

.hm-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 800;
}

.hm-divider::before,
.hm-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--border);
}

.hm-form-field {
  display: block;
  margin-bottom: 18px;
}

.hm-form-field span,
.hm-check span {
  display: block;
  margin-bottom: 8px;
  color: #24384A;
  font-size: 14px;
  font-weight: 850;
}

.hm-form-field input {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: 0;
}

.hm-form-field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(10, 138, 168, .12);
}

.hm-login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 22px;
}

.hm-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}

.hm-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.hm-check span {
  margin: 0;
  color: var(--text-secondary);
  font-weight: 750;
}

.hm-login-row a,
.hm-register-note a {
  color: var(--primary);
  font-weight: 850;
  text-decoration: none;
}

.hm-login-row a:hover,
.hm-register-note a:hover {
  color: var(--primary-hover);
}

.hm-submit {
  color: #fff;
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 14px 30px rgba(10, 138, 168, .22);
}

.hm-submit:hover {
  background: linear-gradient(135deg, var(--primary-hover), var(--accent-hover));
}

.hm-register-note {
  margin: 24px 0 0;
  color: var(--text-secondary);
  text-align: center;
}

@media (max-width: 980px) {
  .hm-login-shell {
    grid-template-columns: 1fr;
  }

  .hm-login-visual {
    min-height: 360px;
    padding: 48px 28px;
  }

  .hm-login-visual h1 {
    font-size: 36px;
  }
}

@media (max-width: 620px) {
  .hm-login-panel {
    padding: 28px 14px;
  }

  .hm-login-card {
    padding: 28px 20px;
  }

  .hm-login-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}