.akh-branch-finder {
  --akh-primary: #137333;
  --akh-primary-dark: #0b5725;
  --akh-dark: #102018;
  --akh-soft: #f3faf5;
  --akh-border: #dce8df;
  --akh-muted: #66736b;
  --akh-danger: #b42318;
  box-sizing: border-box;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px;
  color: var(--akh-dark);
  font-family: Arial, sans-serif;
}

.akh-branch-finder *,
.akh-branch-finder *::before,
.akh-branch-finder *::after {
  box-sizing: border-box;
}

.akh-hero {
  background: linear-gradient(135deg, #f4fbf6, #ffffff);
  border: 1px solid var(--akh-border);
  border-radius: 20px;
  padding: 34px 22px;
  text-align: center;
  box-shadow: 0 14px 35px rgba(16, 32, 24, 0.06);
  margin-bottom: 18px;
}

.akh-badge {
  display: inline-block;
  background: #e6f6eb;
  color: var(--akh-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.akh-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  color: var(--akh-dark);
}

.akh-hero p {
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: var(--akh-muted);
}

.akh-search-box {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  background: #fff;
  border: 1px solid var(--akh-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(16, 32, 24, 0.05);
  margin-bottom: 18px;
}

.akh-field label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--akh-dark);
  margin-bottom: 7px;
}

.akh-field select,
.akh-field input {
  width: 100%;
  min-height: 45px;
  border: 1px solid var(--akh-border);
  border-radius: 12px;
  padding: 0 13px;
  font-size: 14px;
  outline: none;
  background: #fff;
  color: var(--akh-dark);
}

.akh-field select:focus,
.akh-field input:focus {
  border-color: var(--akh-primary);
  box-shadow: 0 0 0 4px rgba(19, 115, 51, 0.08);
}

.akh-field select:disabled,
.akh-field input:disabled {
  background: #f6f7f6;
  cursor: not-allowed;
}

.akh-find-btn {
  min-height: 45px;
  border: 0;
  border-radius: 12px;
  background: var(--akh-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 0 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.2s ease;
}

.akh-find-btn:hover {
  background: var(--akh-primary-dark);
  transform: translateY(-1px);
}

.akh-find-btn:disabled {
  background: #aab6ad;
  cursor: not-allowed;
  transform: none;
}

.akh-status {
  border-radius: 14px;
  padding: 13px 15px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  background: var(--akh-soft);
  border: 1px solid var(--akh-border);
  color: var(--akh-dark);
}

.akh-status[hidden] {
  display: none;
}

.akh-status.error {
  background: #fff4f4;
  border-color: #ffd1d1;
  color: var(--akh-danger);
}

.akh-results-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: 18px 0 14px;
}

.akh-results-header h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  color: var(--akh-dark);
}

.akh-count {
  background: #e6f6eb;
  color: var(--akh-primary);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.akh-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.akh-card {
  background: #fff;
  border: 1px solid var(--akh-border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(16, 32, 24, 0.055);
}

.akh-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.akh-card h3 {
  margin: 0;
  font-size: 19px;
  color: var(--akh-dark);
  line-height: 1.3;
}

.akh-code {
  background: #f3faf5;
  color: var(--akh-primary);
  border: 1px solid #d5ebdc;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.akh-info {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.akh-row {
  display: grid;
  grid-template-columns: 125px 1fr;
  gap: 8px;
  font-size: 14px;
  line-height: 1.55;
}

.akh-row strong {
  color: var(--akh-dark);
}

.akh-row span {
  color: var(--akh-muted);
  overflow-wrap: anywhere;
}

.akh-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.akh-actions a,
.akh-map-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid var(--akh-border);
  background: #fff;
  color: var(--akh-primary);
}

.akh-actions a.call {
  background: var(--akh-primary);
  color: #fff;
  border-color: var(--akh-primary);
}

.akh-actions a:hover,
.akh-map-toggle:hover {
  background: #f3faf5;
}

.akh-actions a.call:hover {
  background: var(--akh-primary-dark);
}

.akh-map {
  display: none;
  width: 100%;
  margin-top: 14px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--akh-border);
}

.akh-map.is-open {
  display: block;
}

.akh-map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

.akh-note {
  margin-top: 18px;
  background: #fffdf5;
  border: 1px solid #f4e3aa;
  color: #725b13;
  padding: 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 850px) {
  .akh-search-box,
  .akh-grid {
    grid-template-columns: 1fr;
  }

  .akh-find-btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .akh-branch-finder {
    padding: 12px;
  }

  .akh-hero {
    padding: 26px 16px;
  }

  .akh-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .akh-card-top,
  .akh-results-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .akh-actions a,
  .akh-map-toggle {
    width: 100%;
  }
}
