@media (max-width: 1180px) {
  .primary-menu {
    gap: 18px;
  }

  .services-grid {
    gap: 18px;
  }

  .stat-item {
    padding-inline: 24px;
  }
}

@media (max-width: 1024px) {
  :root {
    --section-space: 52px;
  }

  .header-inner {
    gap: 16px;
  }

  .header-track-button {
    padding-inline: 16px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-visual {
    transform: scale(0.92);
    transform-origin: center left;
  }

  .tracking-card {
    grid-template-columns: 1fr;
  }

  .tracking-form {
    grid-template-columns: 1fr 1fr 210px;
  }

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

  .routes-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

@media (max-width: 900px) {
  html,
  body,
  .site-main,
  .site-footer {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.has-sticky-header {
    padding-top: 74px;
  }

  body.has-sticky-header .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
  }

  body.admin-bar.has-sticky-header .site-header {
    top: 46px;
  }

  .mohr-container {
    width: min(calc(100% - 32px), var(--container));
  }

  .mobile-menu-toggle {
    display: grid;
    place-items: center;
  }

  .header-actions {
    margin-inline-start: auto;
  }

  .primary-nav {
    position: fixed;
    z-index: 1000;
    top: var(--header-height-mobile, 74px);
    right: 16px;
    left: 16px;
    max-height: calc(100dvh - var(--header-height-mobile, 74px) - 24px);
    overflow: auto;
    padding: 18px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-card-hover);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition-property: transform, opacity;
    transition-duration: 180ms;
  }

  .is-menu-open .primary-nav,
  .mobile-menu-open .primary-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-menu {
    display: grid;
    justify-content: stretch;
    gap: 4px;
  }

  .primary-menu a {
    min-height: 48px;
    padding-inline: 12px;
    border-radius: 12px;
  }

  .primary-menu a:hover {
    background: rgba(35, 55, 140, 0.06);
  }

  .primary-menu .current-menu-item > a::after,
  .primary-menu a:hover::after {
    content: none;
  }

  .site-brand {
    width: var(--mohr-logo-width-mobile);
  }

  .header-track-button {
    display: none;
  }

  .lang-switch {
    min-width: 42px;
    min-height: 42px;
    padding-inline: 8px;
    border-radius: 12px;
    background: rgba(35, 55, 140, 0.06);
  }

  .floating-contact {
    gap: 10px;
    bottom: max(16px, env(safe-area-inset-bottom));
    right: auto;
    left: auto;
  }

  .floating-mobile-bottom-right {
    right: max(16px, env(safe-area-inset-right));
  }

  .floating-mobile-bottom-left {
    left: max(16px, env(safe-area-inset-left));
  }

  .floating-contact-button {
    width: var(--floating-size-mobile, 54px);
    height: var(--floating-size-mobile, 54px);
  }

  .hero-section {
    min-height: auto;
    padding: 34px 0 82px;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .hero-pattern-waves {
    right: 0;
    top: 96px;
    width: min(220px, 42%);
    height: 128px;
    opacity: 0.36;
  }

  .hero-pattern-dots {
    left: 0;
    top: 48px;
    width: min(140px, 32%);
    height: 170px;
    opacity: 0.32;
  }

  .hero-grid {
    direction: rtl;
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 100%;
  }

  .hero-content {
    width: 100%;
    max-width: none;
    padding-top: 0;
    text-align: center;
  }

  .hero-content p {
    margin-inline: auto;
  }

  .hero-benefits {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-visual {
    width: min(calc(100vw - 16px), 520px);
    max-width: 100%;
    min-height: 620px;
    margin: 20px auto -18px;
    transform: none;
    overflow: visible;
  }

  .hero-orange-ring {
    right: auto;
    left: 50%;
    top: 146px;
    width: 340px;
    height: 340px;
    border-width: 44px;
    transform: translateX(-50%);
  }

  .hero-soft-shadow {
    right: auto;
    left: 50%;
    bottom: 28px;
    width: 340px;
    transform: translateX(-50%);
  }

  .hero-courier-layer {
    right: auto;
    left: 50%;
    bottom: -18px;
    width: 340px;
    height: auto;
    transform: translateX(-50%);
  }

  .hero-box-layer {
    left: 50%;
    bottom: -46px;
    width: 412px;
    transform: translateX(-50%);
  }

  .tracking-section {
    margin-top: -48px;
  }

  .tracking-card {
    min-width: 0;
    padding: 20px;
    border-radius: 20px;
  }

  .tracking-copy {
    text-align: center;
  }

  .tracking-form {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .process-timeline::before {
    top: 0;
    right: 37px;
    left: auto;
    width: 2px;
    height: 100%;
    background-image: linear-gradient(to bottom, var(--mohr-primary-muted) 45%, transparent 45%);
    background-size: 2px 12px;
  }

  .process-step {
    display: grid;
    grid-template-columns: 74px 1fr;
    grid-template-areas: "icon title" "icon text";
    gap: 0 16px;
    text-align: right;
  }

  .process-icon {
    grid-area: icon;
    margin: 0;
  }

  .process-step h3 {
    grid-area: title;
    align-self: end;
  }

  .process-step p {
    grid-area: text;
    max-width: none;
    margin: 4px 0 0;
  }

  body.lang-en .process-timeline::before {
    right: auto;
    left: 37px;
  }

  body.lang-en .process-step {
    grid-template-columns: 74px minmax(0, 1fr);
    grid-template-areas: "icon title" "icon text";
    text-align: left;
  }

  body.lang-en .process-step h3,
  body.lang-en .process-step p {
    text-align: left;
  }

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

  .stat-item:nth-child(2)::after {
    content: none;
  }

  .routes-panel {
    grid-template-columns: 1fr;
  }

  .routes-panel .section-title,
  .route-map {
    grid-column: auto;
    grid-row: auto;
  }

  .routes-panel .section-title {
    text-align: center;
  }

  .section-title-inline h2::after {
    right: 50%;
    transform: translateX(50%);
  }

  .routes-panel p {
    text-align: center;
  }

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

  .facebook-posts-grid {
    gap: 20px;
  }

  .cta-card {
    grid-template-columns: 1fr 168px;
    gap: 16px;
    padding-left: 218px;
  }

  .cta-card .mohr-button {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .cta-boxes-layer {
    left: 20px;
    bottom: -10px;
    width: 198px;
    max-width: 30%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .site-footer {
    margin-bottom: -1px;
    padding-bottom: max(1px, env(safe-area-inset-bottom));
  }

  .footer-grid,
  .footer-bottom,
  .footer-brand,
  .footer-column,
  .footer-contact li,
  .innox-credit {
    min-width: 0;
    max-width: 100%;
  }

  .footer-bottom p,
  .footer-column a,
  .footer-contact span,
  .innox-credit span {
    overflow-wrap: anywhere;
  }

  .innox-credit {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  :root {
    --section-space: 42px;
  }

  body.has-sticky-header {
    padding-top: 68px;
  }

  body {
    font-size: 15px;
  }

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

  .hero-content h1 {
    max-width: 100%;
    font-size: 31px;
    overflow-wrap: anywhere;
  }

  .hero-content h1 span,
  .hero-content h1 strong {
    max-width: min(100%, 340px);
    margin-inline: auto;
  }

  .hero-content p {
    font-size: 15px;
  }

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

  .hero-benefits div {
    grid-template-columns: 35px 1fr;
    place-items: center start;
    width: min(260px, 100%);
    margin-inline: auto;
    text-align: right;
  }

  .hero-actions {
    width: min(100%, 340px);
    margin-inline: auto;
  }

  .video-link {
    width: 100%;
    justify-content: center;
  }

  .mohr-button-primary {
    width: 100%;
  }

  .hero-visual {
    width: min(calc(100vw - 8px), 500px);
    max-width: 100%;
    min-height: clamp(520px, 110vw, 585px);
    margin-bottom: -18px;
  }

  .hero-orange-ring {
    top: 140px;
    width: clamp(290px, 66vw, 340px);
    height: clamp(290px, 66vw, 340px);
    border-width: clamp(34px, 7vw, 42px);
  }

  .hero-soft-shadow {
    bottom: 22px;
    width: 284px;
  }

  .hero-courier-layer {
    width: clamp(286px, 61vw, 320px);
    bottom: -18px;
    transform: translateX(-50%);
  }

  .hero-box-layer {
    bottom: -46px;
    width: clamp(336px, 78vw, 404px);
    transform: translateX(-50%);
  }

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

  .service-card {
    min-height: 0;
  }

  .stats-bar {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: 22px 24px;
  }

  .stat-item::after {
    content: none !important;
  }

  .testimonial-card {
    padding-inline: 24px;
  }

  .facebook-posts-grid {
    grid-template-columns: 1fr;
  }

  .facebook-post-body {
    padding: 18px;
  }

  .slider-prev {
    right: -6px;
  }

  .slider-next {
    left: -6px;
  }

  .cta-card {
    direction: rtl;
    grid-template-columns: 1fr;
    min-height: 220px;
    padding: 96px 22px 24px;
    text-align: center;
  }

  .cta-copy {
    text-align: center;
  }

  .cta-copy h2 {
    font-size: 25px;
  }

  .cta-boxes-layer {
    top: -54px;
    left: 50%;
    bottom: auto;
    width: min(224px, 70%);
    max-width: none;
    transform: translateX(-50%);
  }

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

  .booking-panel {
    padding: 28px 18px;
    border-radius: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .innox-credit img {
    width: var(--mohr-innox-logo-width-mobile);
  }
}

@media (max-width: 430px) {
  .mohr-container {
    width: min(calc(100% - 24px), var(--container));
  }

  .hero-content h1 {
    font-size: 27px;
  }

  .hero-content h1 span,
  .hero-content h1 strong,
  .hero-actions {
    max-width: 312px;
  }

  .hero-pattern-waves,
  .hero-pattern-dots {
    max-width: 100%;
  }

  .hero-content p,
  .tracking-copy p,
  .faq-question {
    overflow-wrap: anywhere;
  }

  .tracking-card {
    padding: 16px;
  }

  .tracking-status-grid {
    grid-template-columns: 1fr;
  }

  .hero-orange-ring {
    top: 134px;
    width: 292px;
    height: 292px;
    border-width: 38px;
  }

  .hero-visual {
    width: min(calc(100vw - 8px), 420px);
    max-width: 100%;
    min-height: 532px;
  }

  .hero-courier-layer {
    width: 278px;
    bottom: -18px;
    transform: translateX(-50%);
  }

  .hero-box-layer {
    width: 330px;
    bottom: -44px;
    transform: translateX(-50%);
  }

  .cta-card {
    padding-top: 90px;
  }

  .cta-boxes-layer {
    top: -46px;
    width: min(204px, 68%);
  }

  .stat-item {
    grid-template-columns: 44px 1fr;
  }
}

@media (max-width: 390px) {
  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content h1 span,
  .hero-content h1 strong,
  .hero-actions {
    max-width: 292px;
  }

  .hero-visual {
    width: min(calc(100vw - 8px), 390px);
    max-width: 100%;
    min-height: 512px;
  }

  .hero-orange-ring {
    top: 132px;
    width: 278px;
    height: 278px;
    border-width: 36px;
  }

  .hero-courier-layer {
    width: 268px;
    bottom: -18px;
  }

  .hero-box-layer {
    width: 316px;
    bottom: -44px;
  }

  .cta-boxes-layer {
    width: min(196px, 66%);
  }
}

@media (max-width: 375px) {
  .hero-content h1 {
    font-size: 23px;
  }

  .hero-content h1 span,
  .hero-content h1 strong,
  .hero-actions {
    max-width: 282px;
  }

  .hero-visual {
    width: min(calc(100vw - 8px), 375px);
    max-width: 100%;
    min-height: 492px;
  }

  .hero-courier-layer {
    width: 258px;
    bottom: -16px;
  }

  .hero-box-layer {
    width: 306px;
    bottom: -42px;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 900px) {
    html {
      background-color: var(--mohr-primary-dark);
    }

    .site-footer {
      padding-bottom: max(18px, env(safe-area-inset-bottom));
      box-shadow: 0 100vh 0 100vh var(--mohr-primary-dark);
    }
  }
}
