@media (max-width: 68rem) {
  .nav-links,
  .nav-actions .button,
  .site-header.is-solid .nav-shell > .button {
    display: none;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: inline-grid;
  }

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

@media (max-width: 48rem) {
  :root {
    --gutter: 1rem;
  }

  .section {
    padding-block: 5.5rem;
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
  }

  .callback {
    padding-block: 3rem;
  }

  .callback-card {
    padding: 1.5rem;
  }

  .callback-form__grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    right: 0.75rem;
    left: 0.75rem;
  }

  .nav-shell {
    min-height: 3.9rem;
    gap: 0.45rem;
    padding: 0.4rem 0.4rem 0.4rem 0.85rem;
  }

  .nav-actions {
    gap: 0.35rem;
  }

  .language-switcher--header .language-switcher__option {
    min-width: 1.75rem;
    min-height: 1.75rem;
    padding-inline: 0.3rem;
    font-size: 0.62rem;
  }

  #site-header .language-switcher--header {
    display: none;
  }

  #site-header .nav-shell {
    position: relative;
    padding-right: 4rem;
  }

  #site-header .menu-toggle {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 0.4rem;
    display: inline-grid !important;
    visibility: visible;
    opacity: 1;
    transform: translateY(-50%);
  }

  .brand__logo {
    height: 1.875rem;
  }

  .footer__brand .brand__logo {
    height: 2.75rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__media img {
    object-position: 58% center;
  }

  .hero__veil {
    background:
      linear-gradient(180deg, rgba(0, 26, 51, 0.48) 0%, rgba(0, 26, 51, 0.18) 28%, rgba(0, 26, 51, 0.62) 100%),
      linear-gradient(90deg, rgba(0, 26, 51, 0.68) 0%, rgba(0, 26, 51, 0.34) 78%, rgba(0, 26, 51, 0.2) 100%);
  }

  .hero::before {
    background: rgba(0, 26, 51, 0.72);
  }

  .hero__content {
    grid-template-columns: 1fr;
    min-height: 100svh;
    gap: 0.9rem;
    align-content: end;
    padding-top: calc(5.25rem + env(safe-area-inset-top));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }

  .hero__copy {
    align-self: end;
  }

  .hero__title {
    max-width: 9ch;
    margin-bottom: 0.9rem;
    font-size: clamp(3.15rem, 15vw, 4.5rem);
    line-height: 0.87;
  }

  .hero__title-main {
    white-space: normal;
  }

  .hero__description {
    max-width: 35rem;
    margin-bottom: 1rem;
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .hero__actions .button {
    min-width: 0;
    padding-inline: 0.75rem;
  }

  .hero__aside {
    width: 100%;
    justify-self: stretch;
    padding: 0;
  }

  .trust-list {
    grid-template-columns: 1fr;
  }

  .trust-list li {
    min-height: 2.6rem;
    padding-top: 0.55rem;
  }

  .trust-list li:nth-child(n + 2) {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand p {
    margin-inline: auto;
  }

  .footer ul {
    justify-items: center;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .legal-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-content__nav,
  .legal-content__body {
    min-width: 0;
  }

  .legal-content__nav {
    position: static;
    display: flex;
    padding-bottom: 0.5rem;
    overflow-x: auto;
    white-space: nowrap;
  }

  .cookie-banner {
    right: 0.75rem;
    bottom: max(0.75rem, env(safe-area-inset-bottom));
    left: 0.75rem;
    width: auto;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-banner__actions .button:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-height: 720px) and (min-width: 48.01rem) {
  .hero__content {
    padding-top: 5.25rem;
    padding-bottom: 1rem;
  }

  .hero__title {
    max-width: 9.8ch;
    margin-bottom: 0.85rem;
    font-size: clamp(3.8rem, 5.8vw, 5.25rem);
  }

  .hero .section-label {
    margin-bottom: 0.7rem;
  }

  .hero__description {
    margin-bottom: 1rem;
    font-size: 1rem;
  }

  .hero__aside {
    gap: 0.5rem;
  }

  .trust-list li {
    min-height: 2.7rem;
  }
}

@media (max-width: 48rem) and (max-height: 720px) {
  .hero__content {
    gap: 0;
    padding-top: calc(4.7rem + env(safe-area-inset-top));
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  .hero .section-label {
    margin-bottom: 0.55rem;
  }

  .hero__title {
    margin-bottom: 0.65rem;
    font-size: clamp(2.85rem, 13.5vw, 3.75rem);
  }

  .hero__description {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.38;
  }

  .hero__aside {
    display: none;
  }
}

@media (max-width: 23rem) {
  .hero__actions,
  .cookie-banner__actions {
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions .button:first-child {
    grid-column: auto;
  }
}

@media (min-width: 110rem) and (min-height: 50rem) {
  :root {
    --container: 104rem;
  }

  .hero__content {
    padding-bottom: 4rem;
  }
}

