@media (max-width: 900px) {
  .menu-button {
    position: relative;
    width: 42px;
    height: 40px;
    display: block;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }
  .menu-button span { position: absolute; left: 12px; width: 17px; height: 2px; border-radius: 2px; background: var(--ink-950); transition: transform .18s var(--ease), opacity .18s ease; }
  .menu-button span:nth-child(1) { top: 12px; }
  .menu-button span:nth-child(2) { top: 18px; }
  .menu-button span:nth-child(3) { top: 24px; }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1200;
    width: min(340px, 88vw);
    height: 100dvh;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    box-shadow: -18px 0 42px rgba(20, 35, 49, .16);
    transform: translateX(104%);
    visibility: hidden;
    transition: transform .24s var(--ease), visibility .24s step-end;
  }
  .site-nav.open { transform: none; visibility: visible; transition: transform .24s var(--ease), visibility 0s; }
  .site-nav > a { min-height: 46px; padding-inline: 13px; }
  .site-nav > .main-site-link { margin: auto 0 0; padding-top: 15px; border-top: 1px solid var(--line); border-left: 0; }
  .drawer-head { margin-bottom: 8px; padding: 2px 0 12px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .drawer-head strong { font-size: .9rem; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 1100; background: rgba(20, 35, 49, .4); }
  .nav-backdrop.visible { display: block; }
  .advanced-grid { grid-template-columns: 1fr 1fr; }
  .emergency-layout { grid-template-columns: 1fr; }
  .call-card { max-width: 320px; }
}

@media (max-width: 700px) {
  :root { --header-h: 58px; }
  .container, .search-shell { width: calc(100% - 28px); }
  .nav-shell { width: calc(100% - 24px); }
  .brand img { width: 30px; height: 30px; }
  .brand-product { display: none; }
  .search-intro .search-shell { padding: 27px 0 22px; }
  .search-title-row { margin-bottom: 18px; flex-direction: column; gap: 8px; }
  .search-title-row h1 { font-size: 1.8rem; }
  .search-title-row p { font-size: .88rem; }
  .emergency-shortcut { margin-top: 0; }
  .search-form { padding: 14px; }
  .search-row { grid-template-columns: 1fr; }
  .search-submit { width: 100%; }
  .advanced-grid { grid-template-columns: 1fr; }
  .advanced-grid .text-button { justify-self: start; }
  .institution-card { grid-template-columns: 1fr; gap: 13px; }
  .institution-actions { justify-content: flex-start; }
  .page-hero .container { padding: 32px 0 23px; }
  .page-title { font-size: 1.9rem; }
  .content-section { padding-top: 24px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .info-card:last-child { border-bottom: 0; }
  .footer-shell { flex-direction: column; gap: 16px; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 430px) {
  .institution-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .institution-actions .button { width: 100%; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
}
