.pilot-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px 16px;
}
.pilot-header .brand { min-width: 0; font-weight: 700; }
.pilot-phone, .pilot-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 15px;
  border-radius: 28px;
  background: #dbc768;
  color: #31230e;
  text-decoration: none;
  font-weight: 700;
}
.pilot-phone { white-space: nowrap; }
.pilot-menu summary { min-height: 44px; padding: 11px 0; cursor: pointer; }
.pilot-menu nav {
  position: absolute;
  z-index: 10;
  top: 100%;
  right: 0;
  width: min(300px, 100%);
  display: grid;
  gap: 2px;
  padding: 12px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: #fffaf3;
  box-shadow: 0 10px 24px #34270f19;
}
.pilot-menu nav a { min-height: 44px; padding: 8px 12px; }
.pilot-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.pilot-actions a { min-height: 44px; display: inline-flex; align-items: center; }
.pilot-card { display: none; }
html:has(.pilot-card:target) { scroll-behavior: auto; }
.pilot-card:target {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 260px);
  align-items: start;
  gap: 18px;
  margin-block: 20px;
  padding: clamp(16px, 3vw, 30px);
  border: 1px solid var(--rule);
  background: #fffaf3;
  border-radius: 16px;
  scroll-margin-top: 12px;
}
.pilot-card h2 { font-size: clamp(23px, 4vw, 34px); line-height: 1.1; margin: 0 0 8px; }
.pilot-address { font-size: 18px; font-weight: 700; }
.pilot-card img { width: 100%; border-radius: 10px; }
.citygroup .pilot-branch-link { display: inline-flex; text-decoration: underline; }
@media (max-width: 580px) {
  header.pilot-header { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding-block: 9px; }
  .pilot-header .brand { grid-column: 1; grid-row: 1; }
  .pilot-header .brand-service { display: none; }
  .pilot-menu { grid-column: 2; grid-row: 1; }
  .pilot-phone { grid-column: 1 / -1; grid-row: 2; }
  .pilot-card:target { grid-template-columns: 1fr; }
  .pilot-card img { max-width: 280px; }
}
