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

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

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .section {
    padding: var(--space-3xl) 0;
  }

  .hero-grid,
  .section-grid,
  .contact-cta-box,
  .contact-layout {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-content,
  .section-content {
    max-width: 100%;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    min-height: 320px;
  }

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

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

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

  .contact-cta-actions {
    width: 100%;
  }

  .contact-cta-actions .btn {
    width: 100%;
  }

  .navbar {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-actions {
    justify-self: end;
  }

  .nav-menu {
    position: absolute;
    top: calc(var(--header-height) + 1px);
    left: 0;
    width: 100%;
    padding: 0 1rem 1rem;
    display: none;
    justify-content: initial;
  }

  .nav-menu.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
    padding: 1rem;
    border: 1px solid var(--site-border);
    border-radius: var(--radius-lg);
    background-color: var(--site-surface);
    box-shadow: var(--shadow-md);
  }

  .site-header {
    position: relative;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, var(--container-width));
  }

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

  .hero {
    padding-top: var(--space-2xl);
  }

  .hero-content h1 {
    font-size: clamp(2.1rem, 9vw, 3.2rem);
  }

  .section-heading h2,
  .section-content h2,
  .contact-cta-box h2,
  .contact-info-card h2,
  .contact-form-card h2 {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .services-grid,
  .gallery-preview-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 200px;
  }

  .gallery-preview-grid img {
    height: 220px;
  }

  .gallery-item img {
    height: 240px;
  }

  .contact-cta-box {
    padding: var(--space-xl);
  }

  .contact-info-card,
  .contact-form-card {
    padding: var(--space-xl);
  }

  .lightbox-content {
    width: min(94%, 980px);
    margin: 6vh auto;
    padding: 0.8rem;
  }

  .brand-logo-full {
    max-height: 42px;
  }

  .theme-toggle {
    width: 42px;
    height: 42px;
  }
 
  .lang-toggle {
  width: 42px;
  height: 42px;
 }
}

@media (max-width: 420px) {
  .brand-logo-full {
    display: none;
  }

  .brand-logo-simple {
    display: block;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .back-to-top {
    right: 1rem;
    bottom: 1rem;
    width: 42px;
    height: 42px;
  }
}