﻿html,
body,
main {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 600px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 0 16px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand-logo {
    width: min(132px, 40vw);
  }

  .header-actions {
    flex: 0 0 auto;
    min-width: 0;
  }

  .header-login {
    width: 112px;
    min-width: 112px;
    max-width: 112px;
    justify-content: center;
    gap: 0;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13px;
  }

  .header-login span {
    display: none;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(32px, 8.8vw, 36px);
    line-height: 1.08;
    letter-spacing: 0;
  }

  .hero,
  .products-section,
  .institution-section,
  footer {
    max-width: 100vw;
    overflow-x: hidden;
  }
}

@media (max-width: 360px) {
  .brand-logo {
    width: 118px;
  }

  .header-login {
    width: 98px;
    min-width: 98px;
    max-width: 98px;
    font-size: 12px;
  }

  h1 {
    font-size: 32px;
  }
}
