@media (max-width: 1040px) {
  .top-bar__inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px 0;
    gap: 10px 18px;
  }

  .hero__grid,
  .split-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding-left: 0;
  }

  .hero-map {
    min-height: 340px;
  }

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

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

@media (max-width: 860px) {
  :root {
    --header-height: 118px;
  }

  .top-bar__inner {
    min-height: 42px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .navbar,
  .nav-inner {
    min-height: 76px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    top: 118px;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 24px;
    background: var(--ivory);
    border-left: 1px solid var(--line);
    box-shadow: -20px 0 44px rgba(13, 39, 30, 0.16);
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }

  .nav-flags {
    display: none;
  }

  .nav-menu.is-open {
    transform: translateX(0);
  }

  .nav-menu a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-menu .btn {
    margin-top: 18px;
    border-bottom: 0;
  }

  .hero,
  .page-hero {
    min-height: auto;
    padding: 72px 0;
  }

  .hero__actions {
    align-items: stretch;
  }

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

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

  .trust-item {
    border-right: 0;
  }

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

  .footer-grid {
    gap: 26px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1140px);
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand-copy strong {
    font-size: 0.8rem;
  }

  .hero,
  .page-hero,
  .section {
    padding: 56px 0;
  }

  h1 {
    font-size: 2.55rem;
  }

  .hero__text,
  .page-hero p,
  .split-layout p {
    font-size: 1rem;
  }

  .hero__actions,
  .relation-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .trust-grid,
  .activity-grid,
  .values-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .hero-map {
    min-height: 310px;
  }

  .hero-trust {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .relation-box.hero-relation {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    grid-template-columns: 1fr;
    margin-top: 220px;
  }

  .relation-divider {
    display: none;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 58px;
    height: 58px;
    font-size: 1.9rem;
  }

  .brand-mark i {
    width: 24px;
    height: 24px;
  }

  .brand-copy strong {
    font-size: 1.2rem;
  }

  .brand-copy span {
    font-size: 0.68rem;
  }

  .relation-box,
  .text-panel,
  .service-card,
  .contact-info,
  .contact-form,
  .legal-content {
    padding: 22px;
  }

  .activity-card {
    min-height: 124px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
