/* OpenNeo AI — Responsive overrides */

@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-list {
    gap: var(--space-4);
  }

  .nav-link {
    font-size: 14px;
  }

  .lang-switcher {
    margin-left: var(--space-4);
  }
}

.hide-mobile {
  display: inline;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }

  .site-header {
    position: fixed;
    padding-top: 10px;
  }

  .header-inner {
    height: 56px;
    padding: 0 var(--space-4);
  }

  .site-main {
    padding-top: 82px;
  }

  .desktop-nav,
  .desktop-lang-switcher {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
    inset: 76px 14px 14px 14px;
    border-radius: var(--radius-lg);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-base), opacity var(--transition-base);
  }

  body.nav-open .mobile-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open {
    overflow: hidden;
  }

  .hero {
    padding: var(--space-8) 0 var(--space-9);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-actions {
    justify-content: center;
  }

  .section {
    padding: var(--space-8) 0;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }

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

  .feature-inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .feature:nth-child(even) .feature-inner {
    direction: ltr;
  }

  .feature-title {
    font-size: 26px;
  }

  .feature-visual {
    min-height: 240px;
    padding: var(--space-5);
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .cta-title {
    font-size: 26px;
  }

  .page-title {
    font-size: 32px;
  }

  .page-header {
    padding: var(--space-7) 0 var(--space-5);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-about {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .service-list--grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    grid-template-columns: 1fr;
  }

  .service-number {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .not-found-code {
    font-size: 80px;
  }

  .not-found-title {
    font-size: 26px;
  }

  .mobile-nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .section-title {
    font-size: 26px;
  }

  .feature-title,
  .cta-title,
  .page-title,
  .not-found-title {
    font-size: 24px;
  }

  .feature-visual {
    min-height: 200px;
    padding: var(--space-5);
  }

  .card {
    padding: var(--space-5);
  }

  .footer-grid {
    margin-bottom: var(--space-5);
  }
}
