@media (max-width: 1024px) {
  .hero__content { grid-template-columns: 1fr; text-align: center; gap: 2rem; padding-top: 2rem; }
  .hero__subtitle { margin: 0 auto 2.5rem; }
  .hero__actions { justify-content: center; }
  .hero__visual { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .news__grid { grid-template-columns: repeat(2, 1fr); }
  .news-page .news__list { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header__inner { height: 4rem; }

  .nav-toggle { display: flex; }
  .header__cta { display: none; }

  .nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: var(--z-fixed);
  }

  .nav.open { opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; gap: 1.5rem; }
  .nav__link { font-size: var(--font-fluid-2xl); font-weight: var(--fw-bold); }

  html.dark .nav { background: rgba(15,23,42,0.98); }

  .hero { min-height: 90vh; }
  .hero__title { font-size: var(--font-fluid-3xl); }
  .hero__subtitle { font-size: var(--font-fluid-base); }

  .section { padding: 4rem 0; }
  .section__header { margin-bottom: 2.5rem; }

  .services__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .news__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .news-page .news__list { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .article-page .article-header h1 { font-size: var(--font-fluid-2xl); }

  .portfolio__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .portfolio__filters { gap: 0.5rem; }
  .portfolio__filter-btn { font-size: var(--font-fluid-xs); padding: 0.375rem 1rem; }

  .contact__form { grid-template-columns: 1fr; padding: 1.5rem; }
  .contact__grid { gap: 2rem; }

  .footer__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__form-group { flex-direction: column; }

  .about__stats { max-width: 280px; margin: 0 auto; }

  .toast { left: 1rem; right: 1rem; bottom: 1rem; max-width: none; }

  .modal__content { margin: 1rem; }
  .modal__body { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .hero__title { font-size: var(--font-fluid-2xl); }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { text-align: center; }
  .section__title { font-size: var(--font-fluid-2xl); }
  .stat-card__number { font-size: var(--font-fluid-3xl); }
}

@media print {
  .header { position: static; background: none; border-bottom: 1px solid #ddd; }
  .nav, .nav-toggle, .header__cta, .theme-toggle, .hero__bg, .hero__visual,
  .portfolio__filters, .footer__form { display: none !important; }
  .hero { min-height: auto; padding: 3rem 0; }
  .hero__title, .hero__subtitle { color: #000 !important; }
  .section { padding: 2rem 0; page-break-inside: avoid; }
  .portfolio-card { break-inside: avoid; }
  .modal { display: none !important; }
}
