@media (max-width: 1100px) {
  :root {
    --bc-section: 60px;
  }

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

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

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

  .hero-panel {
    min-height: 300px;
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 22px;
  }

  h4 {
    font-size: 18px;
  }

  .header-inner {
    min-height: 70px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    background: var(--bc-white);
    border: 1px solid var(--bc-border);
    border-radius: 10px;
  }

  .menu-toggle-line {
    display: block;
    width: 20px;
    height: 2px;
    margin-inline: auto;
    background: var(--bc-navy);
  }

  .site-navigation {
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 70px);
    padding: 18px 20px 28px;
    overflow-y: auto;
    background: var(--bc-white);
    border-bottom: 1px solid var(--bc-border);
    box-shadow: var(--bc-shadow);
  }

  .site-navigation.is-open {
    display: block;
  }

  .primary-menu {
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }

  .primary-menu a {
    justify-content: space-between;
    padding: 12px 0;
  }

  .primary-menu .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 8px;
    padding: 8px 12px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .primary-menu li.is-open > .sub-menu {
    display: grid;
  }

  .submenu-toggle {
    position: absolute;
    top: 4px;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bc-light);
    border: 1px solid var(--bc-border);
    border-radius: 10px;
  }

  .submenu-toggle::after {
    content: "+";
    color: var(--bc-primary);
    font-weight: 800;
  }

  .menu-item-has-children.is-open > .submenu-toggle::after {
    content: "-";
  }

  .header-cta {
    display: none;
  }

  .split-layout,
  .contact-layout,
  .two-column-cards,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .three-column,
  .services-grid,
  .why-grid,
  .related-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-with-link,
  .cta-banner,
  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  :root {
    --bc-section: 40px;
  }

  .container {
    width: min(100% - 28px, var(--bc-container));
  }

  .hero {
    padding: 58px 0 48px;
  }

  .hero-actions,
  .search-form {
    flex-direction: column;
  }

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

  .hero-panel {
    min-height: 260px;
    padding: 18px;
    border-radius: 18px;
  }

  .hero-card-main {
    padding: 22px;
  }

  .hero-card-main strong {
    font-size: 22px;
  }

  .hero-signal-list {
    right: 18px;
    bottom: 18px;
    left: 18px;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-signal-list span {
    min-height: 54px;
  }

  .three-column,
  .services-grid,
  .why-grid,
  .metrics-grid,
  .process-grid,
  .related-services,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .why-card,
  .process-step,
  .metric-card,
  .content-card,
  .related-card,
  .empty-state,
  .card-body,
  .testimonial-card,
  .contact-form-panel,
  .contact-details,
  .case-study-section,
  .cta-banner {
    padding: 22px;
  }

  .footer-grid {
    padding: 52px 0 36px;
  }
}