/* ============ RESPONSIVE ============ */

/* Tablet */
@media (max-width: 1024px) {
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about__image img { height: 300px; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --header-height: 64px; }

  .hamburger { display: flex; }

  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 8px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    transition: right var(--transition);
    z-index: 999;
  }
  .nav.open { right: 0; }
  .nav__list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .nav__link {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    width: 100%;
  }
  .lang-switch {
    position: absolute;
    top: 18px;
    right: 60px;
  }
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
  }
  .nav-overlay.active { display: block; }

  .hero { min-height: 70vh; }
  .hero__emblem { width: 100px; height: 100px; margin-bottom: 24px; }
  .hero__title { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  .section { padding: 48px 0; }
  .section__subtitle { margin-bottom: 32px; }

  .card-grid--3,
  .card-grid--2 { grid-template-columns: 1fr; }

  .event-card { flex-direction: column; }
  .event-card__date-block {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
  }
  .event-card__day { font-size: 1.4rem; }
  .event-card__month { margin-top: 0; }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-banner { padding: 40px 0; }
  .search-bar { flex-direction: column; }

  .score-card { flex-direction: column; text-align: center; }
  .score-card__action { width: 100%; }
  .score-card__action .btn { width: 100%; justify-content: center; }

  .map-container { height: 280px; }

  .about__image img { height: 240px; }

  .org-chart__members { gap: 16px; }
  .composer-card { padding: 24px 16px; }
  .composer-card__photo { width: 100px; height: 100px; }

  .header__title { font-size: 0.88rem; max-width: 160px; }
  .header__logo { width: 40px; height: 40px; }
}

/* Small phones */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero__emblem { width: 80px; height: 80px; }
  .btn { padding: 12px 24px; font-size: 0.88rem; }
  .header__title { display: none; }
}
