.aak-filter {
  --aak-blue: #009ee0;
  --aak-blue-dark: #0073a5;
  --aak-blue-light: #e5f2ff;
  --aak-text: #444;
  --aak-muted: #5c5c5c;
  --aak-border: #e4e7ea;
  --aak-panel: #f7f8f9;
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px) clamp(18px, 3vw, 28px) 32px;
  color: var(--aak-text);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  box-sizing: border-box;
}

.aak-filter *,
.aak-filter *::before,
.aak-filter *::after { box-sizing: border-box; }

.aak-intro { max-width: 54rem; margin: 0 0 clamp(24px, 4vw, 34px); }
.aak-intro h1 {
  position: relative;
  margin: 0 0 14px;
  padding: 0 0 13px;
  color: #222;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 600;
  line-height: 1.13;
  overflow-wrap: break-word;
}
.aak-intro h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 108px; height: 5px; background: #3cb9f0; }
.aak-intro p { margin: 0; color: #4c4c4c; font-size: clamp(16px, 1.8vw, 18px); }
.aak-status { margin-top: 10px; color: #666; font-size: 14px; }

.aak-filters { padding: clamp(18px, 3vw, 26px); border-top: 4px solid var(--aak-blue); border-radius: 0 0 10px 10px; background: var(--aak-panel); }
.aak-filter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.aak-filter-grid label { display: block; margin: 0; color: var(--aak-text); font-weight: 600; }
.aak-filter-grid select {
  appearance: none;
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 7px 0 0;
  padding: 9px 44px 9px 13px;
  border: 1px solid #bec4c9;
  border-radius: 7px;
  color: var(--aak-text);
  background-color: #fff;
  background-image: linear-gradient(45deg, transparent 50%, #666 50%), linear-gradient(135deg, #666 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px;
  font: inherit;
  line-height: 1.35;
  cursor: pointer;
}
.aak-filter-grid select:focus-visible { outline: 3px solid rgba(51, 156, 255, .4); outline-offset: 2px; border-color: var(--aak-blue-dark); }

.aak-result-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; margin-top: clamp(26px, 4vw, 38px); }
.aak-result-head h2 { margin: 0; color: #222; font-family: Georgia, "Times New Roman", Times, serif; font-size: clamp(25px, 3vw, 32px); font-weight: 600; line-height: 1.2; }
.aak-count { color: var(--aak-muted); font-size: 14px; white-space: nowrap; }
.aak-results { display: grid; gap: 16px; margin-top: 14px; }
.aak-card { min-width: 0; padding: clamp(18px, 3vw, 25px); border: 1px solid var(--aak-border); border-left: 5px solid var(--aak-blue); border-radius: 0 10px 10px 0; background: #fff; box-shadow: 0 3px 16px rgba(0, 0, 0, .07); overflow-wrap: break-word; }
.aak-card h3 { margin: 10px 0 3px; color: #222; font-family: Georgia, "Times New Roman", Times, serif; font-size: clamp(22px, 2.6vw, 27px); font-weight: 600; line-height: 1.2; }
.aak-badges { display: flex; flex-wrap: wrap; gap: 7px; }
.aak-badge { display: inline-block; padding: 5px 10px; border-radius: 5px; color: var(--aak-blue-dark); background: var(--aak-blue-light); font-size: 13px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.aak-unit { color: var(--aak-muted); }
.aak-meta { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 8px 14px; margin: 16px 0 0; }
.aak-meta dt { color: var(--aak-muted); font-weight: 600; }
.aak-meta dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.aak-phone { display: inline-block; margin: 2px 0; color: var(--aak-blue-dark) !important; font-weight: 600; text-decoration: underline !important; text-decoration-thickness: 1px !important; text-underline-offset: 3px; }
.aak-card details { margin-top: 16px; border-top: 1px solid var(--aak-border); }
.aak-card summary { position: relative; min-height: 48px; padding: 13px 38px 10px 0; color: var(--aak-blue-dark); font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none; touch-action: manipulation; }
.aak-card summary::-webkit-details-marker { display: none; }
.aak-card summary::after { content: "+"; position: absolute; top: 8px; right: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--aak-blue-dark); background: var(--aak-blue-light); font-size: 24px; font-weight: 400; line-height: 1; }
.aak-card details[open] summary::after { content: "−"; }
.aak-card summary:focus-visible { outline: 3px solid rgba(51, 156, 255, .4); outline-offset: 3px; border-radius: 4px; }
.aak-services { margin: 8px 0 4px; padding-left: 22px; }
.aak-services li { padding-left: 3px; }
.aak-services li + li { margin-top: 14px; }
.aak-referral { display: block; margin-top: 3px; color: #525252; }
.aak-empty { padding: 18px 0; color: var(--aak-muted); }
.aak-contact { min-width: 0; margin-top: clamp(28px, 5vw, 44px); padding: 20px 22px; border: 1px solid #dae0e4; border-left: 4px solid var(--aak-blue); border-radius: 0 9px 9px 0; background: #f2f9fd; }
.aak-contact h2 { margin: 0 0 8px; color: #222; font-family: Georgia, "Times New Roman", Times, serif; font-size: 22px; font-weight: 600; line-height: 1.25; }
.aak-contact p { margin: 0; color: #4c4c4c; }
.aak-contact address { margin-top: 12px; color: #3c3c3c; font-style: normal; }
.aak-contact address strong { color: #222; }
.aak-contact a { color: var(--aak-blue-dark) !important; font-weight: 600; text-decoration: underline !important; text-decoration-thickness: 1px !important; text-underline-offset: 3px; overflow-wrap: anywhere; }

@media (max-width: 820px) {
  .aak-filter { padding-inline: 20px; }
  .aak-filter-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .aak-filter { padding: 26px 16px 24px; font-size: 16px; }
  .aak-intro { margin-bottom: 22px; }
  .aak-intro h1 { font-size: clamp(28px, 9vw, 36px); }
  .aak-intro p { font-size: 16px; line-height: 1.5; }
  .aak-filters { margin-inline: -16px; padding: 18px 16px 20px; border-radius: 0; }
  .aak-filter-grid { gap: 15px; }
  .aak-result-head { display: block; margin-top: 28px; }
  .aak-count { display: block; margin-top: 4px; white-space: normal; }
  .aak-results { gap: 14px; margin-top: 12px; }
  .aak-card { padding: 18px 16px; border-left-width: 4px; }
  .aak-meta { grid-template-columns: 1fr; gap: 2px; margin-top: 14px; }
  .aak-meta dd { margin-bottom: 6px; }
  .aak-card summary { padding-right: 42px; }
  .aak-services { padding-left: 20px; }
  .aak-contact { padding: 17px 16px; }
}

@media (max-width: 380px) {
  .aak-filter { padding-inline: 13px; }
  .aak-filters { margin-inline: -13px; padding-inline: 13px; }
  .aak-card { padding-inline: 14px; }
}
