
@media (prefers-reduced-motion: reduce) {
  .horbath-home:not(.hh-motion-full) *,
  .horbath-home:not(.hh-motion-full) *::before,
  .horbath-home:not(.hh-motion-full) *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    scroll-behavior: auto;
    transition-duration: 0.01ms;
  }
}

@media (max-width: 1080px) {
  .horbath-home .hh-nav {
    height: auto;
    min-height: 76px;
  }

  .horbath-home .hh-nav-inner {
    flex-wrap: wrap;
    width: min(100% - 40px, 1200px);
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .horbath-home .hh-brand {
    min-width: 0;
  }

  .horbath-home .hh-nav-links {
    order: 3;
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    opacity: 0;
    transform: translateY(-8px);
    transition: max-height 0.34s ease, padding-top 0.34s ease, opacity 0.24s ease, transform 0.34s ease;
  }

  .horbath-home .hh-nav-links a {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
  }

  .horbath-home .hh-lang-switch {
    width: 100%;
    justify-content: center;
    height: 40px;
  }

  .horbath-home .hh-nav-burger {
    display: flex;
  }

  .horbath-home .hh-nav-check:checked ~ .hh-nav-links {
    max-height: 430px;
    padding-top: 14px;
    opacity: 1;
    transform: translateY(0);
  }

  .horbath-home .hh-hero-grid,
  .horbath-home .hh-about-grid {
    grid-template-columns: 1fr;
  }

  .horbath-home .hh-title {
    font-size: 54px;
  }

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

  .horbath-home .hh-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .horbath-home .hh-container {
    width: min(100% - 48px, 1180px);
  }

  .horbath-home .hh-hero.hh-dark-grid {
    background:
      linear-gradient(90deg, rgba(6, 21, 69, 0.92) 0%, rgba(10, 34, 108, 0.82) 48%, rgba(6, 21, 69, 0.64) 100%),
      url("../home/hero-fallback.webp") center / cover no-repeat,
      linear-gradient(135deg, var(--hh-navy) 0%, var(--hh-navy-2) 55%, #030a28 100%);
  }

  .horbath-home .hh-hero.hh-dark-grid::before {
    left: -18%;
    right: -18%;
    bottom: -48px;
    height: 136px;
    z-index: 0;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: var(--hh-soft);
    transform: none;
    filter: none;
    animation: none;
    box-shadow: 0 64px 0 var(--hh-soft);
  }

  .horbath-home .hh-hero.hh-dark-grid::after {
    display: none;
  }

  .horbath-home .hh-nav-inner {
    width: min(100% - 28px, 1200px);
    flex-wrap: nowrap;
    gap: 12px;
  }

  .horbath-home .hh-section {
    padding: 70px 0;
  }

  .horbath-home .hh-brand-logo {
    height: 34px;
  }

  .horbath-home .hh-brand-prod {
    display: none;
  }

  .horbath-home .hh-nav-cta .hh-btn {
    display: none;
  }

  .horbath-home .hh-nav-links {
    display: none;
  }

  .horbath-home .hh-nav-check:checked ~ .hh-nav-links {
    display: none;
    max-height: 0;
    padding-top: 0;
    opacity: 0;
  }

  .horbath-home .hh-nav-burger {
    display: flex;
    flex: 0 0 auto;
  }

  .horbath-home .hh-hero {
    min-height: 720px;
    min-height: 100vh;
    min-height: 100svh;
    align-items: center;
    padding: 120px 0 92px;
    text-align: left;
  }

  .horbath-home .hh-eyebrow {
    justify-content: flex-start;
  }

  .horbath-home .hh-title {
    max-width: 520px;
    font-size: clamp(34px, 9vw, 42px);
    line-height: 1.12;
  }

  .horbath-home .hh-heading,
  .horbath-home .hh-cta h2 {
    font-size: 34px;
  }

  .horbath-home .hh-lead {
    max-width: 520px;
    font-size: 21px;
    line-height: 1.35;
  }

  .horbath-home .hh-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    justify-content: flex-start;
  }

  .horbath-home .hh-hero .hh-btn {
    width: 220px;
    max-width: 100%;
  }

  .horbath-home .hh-hero .hh-btn-secondary {
    display: none;
  }

  .horbath-home .hh-hero-showcase {
    display: none;
  }

  .horbath-home .hh-mini-grid,
  .horbath-home .hh-promises,
  .horbath-home .hh-logo-grid,
  .horbath-home .hh-solutions-grid,
  .horbath-home .hh-footer-grid {
    grid-template-columns: 1fr;
  }

  .horbath-home .hh-footer {
    text-align: left;
  }

  .horbath-home .hh-footer-bottom {
    flex-direction: column;
  }

  .horbath-home .hh-about-panel,
  .horbath-home .hh-promise,
  .horbath-home .hh-solution-card {
    text-align: center;
  }

  .horbath-home .hh-mini-icon,
  .horbath-home .hh-icon,
  .horbath-home .hh-promise-number {
    margin-left: auto;
    margin-right: auto;
  }

  .horbath-home .hh-solution-card p {
    min-height: auto;
  }
}
