@media (max-width: 1180px) {
  .header-main .container {
    gap: 18px;
  }

  .nav-link,
  .nav-toggle {
    padding-inline: 10px;
    font-size: 0.84rem;
  }

  .services-grid,
  .blog-grid,
  .blog-archive-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }

  .gallery-grid .gallery-card {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .hero-inner,
  .testimonial-shell,
  .lead-shell,
  .trust-layout,
  .content-layout,
  .founder-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .contact-grid,
  .cluster-grid,
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-bottom-nav,
  .footer-bottom-meta {
    justify-self: start;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 78px;
  }

  .desktop-nav,
  .header-actions .button,
  .header-actions .button-outline {
    display: none;
  }

  .mobile-toggle,
  .mobile-menu {
    display: block;
  }

  .header-actions {
    gap: 10px;
  }

  .language-trigger {
    min-width: 140px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-frame {
    margin-left: 0;
  }

  .hero::before {
    inset: 0 0 auto;
    height: 100%;
    border-radius: 0 0 32px 32px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 10vw, 5rem);
  }

  .hero-main-image img {
    min-height: 420px;
    object-position: center top;
  }

  .hero-secondary {
    width: min(180px, 34%);
    bottom: -28px;
  }

  .hero-floating-card,
  .hero-floating-badge {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: none;
    margin-top: 16px;
  }

  .footer-top {
    gap: 22px;
  }

  .stat-card:nth-child(2),
  .stat-card:nth-child(4) {
    transform: none;
  }

  .footer-shell {
    padding: 26px 24px 24px;
  }

  .footer-divider {
    height: 76px;
    margin-left: -24px;
    margin-right: -24px;
  }
}

@media (max-width: 768px) {
  .section,
  .page-banner {
    padding: 72px 0;
  }

  .section-head {
    display: grid;
    gap: 14px;
  }

  .section-head h2,
  .display-title,
  .page-banner h1,
  .founder-copy h2,
  .lead-panel h2,
  .modal h3 {
    font-size: clamp(2rem, 8vw, 3.1rem);
  }

  .top-strip .container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 0 14px;
  }

  .top-strip-meta {
    display: grid;
    gap: 6px;
    width: 100%;
    text-align: center;
    justify-items: center;
  }

  .top-strip-meta span,
  .top-strip-meta a {
    white-space: normal;
    line-height: 1.4;
  }

  .top-strip-right {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .top-strip-social {
    justify-content: center;
    gap: 10px;
  }

  .language-switcher--top .language-trigger {
    min-width: 0;
    width: min(100%, 228px);
  }

  .header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 76px;
  }

  .brand-logo-only {
    justify-content: flex-start;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .brand-name {
    font-size: 1.16rem;
  }

  .hero::before {
    top: 0;
  }

  .hero-inner,
  .stats-grid,
  .services-grid,
  .blog-grid,
  .blog-archive-grid,
  .gallery-grid,
  .contact-grid,
  .cluster-grid,
  .value-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .post-card-media,
  .post-card-placeholder {
    min-height: 220px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .hero-copy,
  .trust-panel,
  .trust-intro,
  .lead-panel,
  .form-shell,
  .content-card,
  .page-card,
  .testimonial-panel,
  .testimonial-slide,
  .service-card,
  .service-cluster {
    padding: 24px;
  }

  .hero-secondary {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 18px;
  }

  .service-card h3,
  .service-cluster h3,
  .article-card h3,
  .faq-item button {
    font-size: 1.7rem;
  }

  .trust-intro h2 {
    max-width: none;
  }

  .footer-cta {
    padding-bottom: 54px;
  }

  .footer-cta h2 {
    max-width: 11ch;
  }

  .footer-cta-actions,
  .footer-bottom-nav,
  .footer-bottom-meta {
    justify-content: flex-start;
  }

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

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

  .mobile-menu {
    padding-top: 86px;
  }

  .floating-buttons {
    display: none;
  }

  .floating-dock {
    display: flex;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero,
  .section,
  .page-banner {
    padding-left: 0;
    padding-right: 0;
  }

  .button,
  .button-ghost,
  .button-outline {
    width: 100%;
  }

  .button-row,
  .action-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-shell {
    padding-inline: 18px;
  }

  .footer-divider {
    height: 72px;
    margin-left: -18px;
    margin-right: -18px;
  }

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

  .footer-cta-actions a {
    width: 100%;
  }

  .top-strip .container {
    gap: 10px;
  }

  .top-strip-meta {
    font-size: 0.84rem;
  }

  .top-strip-social a {
    width: 36px;
    height: 36px;
  }

  .language-trigger {
    min-width: 126px;
    padding-inline: 12px;
  }

  .faq-item button {
    padding: 18px 18px;
  }

  .faq-answer-inner {
    padding: 0 18px 18px;
  }

  .modal {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .lightbox {
    padding: 16px;
  }
}
