


@media (max-width: 1100px) {
  .hamburger {
    display: block;
    order: 3;
  }

  nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - var(--header-height));
    background: rgba(16, 19, 31, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition-med);
    z-index: 998;
  }

  nav.active {
    right: 0;
  }

  .nav-link {
    width: 100%;
    font-size: 1.3rem;
  }

  .header-utils {
    order: 2;
    margin-left: auto;
    gap: 1rem;
  }

  .header-utils .btn {
    display: none; 
  }
}

@media (max-width: 639px) {
  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 4rem 0;
  }

  .cookie-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
  }

  .cookie-actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .cookie-actions button, .cookie-actions a {
    flex-grow: 1;
    text-align: center;
  }

  .ai-agent-widget {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .ai-agent-panel {
    width: 290px;
    height: 380px;
    right: 0;
  }
}

@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  .footer-badges {
    justify-content: center;
  }
}

@media (min-width: 640px) {
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}


@media (min-width: 768px) {
  
  .hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    min-height: calc(100vh - var(--header-height));
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero-content {
    flex: 1.2;
    text-align: left;
  }

  .hero-visual {
    flex: 0.8;
    display: block;
  }

  
  .about-columns, .contact-columns, .projects-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
  }

  .contact-columns {
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
  }
}


@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  
  .policy-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
    align-items: start;
  }

  .policy-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
  }

  .policy-sidebar-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    text-transform: uppercase;
  }

  .policy-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .policy-nav a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: block;
    padding: 0.25rem 0;
  }

  .policy-nav a:hover, .policy-nav a.active {
    color: var(--accent-cyan);
    padding-left: 0.5rem;
    border-left: 2px solid var(--accent-cyan);
  }
}


@media (min-width: 1280px) {
  .container {
    padding: 0;
  }
}
