@media (max-width: 1366px) {
  .site-brand__logo {
    left: 210px;
  }

  .site-header__cta {
    right: 140px;
  }
}

@media (max-width: 1100px) {
  .site-header {
    width: 100%;
    left: 0;
    right: 0;
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding-top: 18px;
    padding-left: 40px;
    padding-right: 40px;
    width: 100%;
    box-sizing: border-box;
  }

  .site-brand {
    grid-column: 1;
    left: 0;
    top: 0;
  }

  .site-brand__logo {
    width: 101px;
    height: 101px;
    left: -14px;
    top: 6px;
  }

  .site-nav {
    grid-column: 2;
    justify-self: center;
    gap: 12px;
    padding-top: 20px;
    left: 0;
    right: 0;
    flex-wrap: nowrap;
  }

  .site-nav a {
    font-size: 0.92rem;
  }

  .site-header__cta {
    grid-column: 3;
    justify-self: end;
    min-width: 142px;
    min-height: 44px;
    padding: 0.68rem 0.95rem;
    right: 0;
    top: 18px;
  }

  .site-header--compact .site-header__inner,
  .site-header--inner .site-header__inner {
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 28px;
    padding-right: 28px;
  }

  .site-header--compact .site-brand__logo,
  .site-header--inner .site-brand__logo {
    width: 64px;
    height: 64px;
    left: 0;
    top: 0;
  }

  .site-header--compact .site-header__cta,
  .site-header--inner .site-header__cta {
    min-width: 126px;
    min-height: 38px;
    top: 4px;
    right: 0;
    padding: 0.58rem 0.88rem;
    font-size: 0.88rem;
  }

  .site-header--compact .site-nav,
  .site-header--inner .site-nav {
    padding-top: 14px;
    gap: 10px;
  }

  .site-header--compact .site-nav a,
  .site-header--inner .site-nav a {
    font-size: 0.9rem;
  }

  .home-feature-cards__grid {
    gap: 20px;
  }

  .feature-tile__image {
    height: 124px;
  }

  .feature-tile__body {
    padding: 20px 20px 18px;
  }

  .feature-tile__title {
    font-size: 2rem;
  }

  .feature-tile__text {
    font-size: 1rem;
  }

  .home-hero__panel {
    min-height: 540px;
    padding: 132px 40px 56px;
    border-radius: 0;
  }

  .home-hero__title-top {
    font-size: clamp(1.9rem, 3vw, 3rem);
  }

  .home-hero__title {
    font-size: clamp(2rem, 4vw, 3.5rem);
  }

  .home-hero__subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  }

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

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

@media (max-width: 900px) {
  .site-header,
  .site-header--compact,
  .site-header--inner {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(244, 241, 234, 0.94) !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    overflow: visible !important;
    z-index: 5000 !important;
  }

  .site-header__inner,
  .site-header--compact .site-header__inner,
  .site-header--inner .site-header__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    padding-bottom: 10px;
    padding-left: 18px;
    padding-right: 18px;
    width: 100%;
    box-sizing: border-box;
    overflow: visible !important;
  }

  .site-brand {
    grid-column: 1;
    justify-self: start;
    left: 0;
    top: 0;
  }

  .site-brand__logo,
  .site-header--compact .site-brand__logo,
  .site-header--inner .site-brand__logo {
    width: 86px;
    height: 86px;
    left: 12px;
    top: 2px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
  }

  .site-menu-toggle {
    display: inline-flex !important;
    grid-column: 2;
    justify-self: center;
    align-self: center;
    width: 46px;
    height: 46px;
  }

  .site-header__cta,
  .site-header--compact .site-header__cta,
  .site-header--inner .site-header__cta {
    grid-column: 3;
    justify-self: end;
    align-self: center;
    min-width: 118px;
    min-height: 40px;
    padding: 0.64rem 0.9rem;
    font-size: 0.9rem;
    right: 8px;
    top: 0;
  }

  .site-main {
    padding: 108px 0 48px;
  }

  .page-top-spacing {
    padding-top: 0;
  }

  .page-section {
    margin-bottom: 24px;
  }

  .home-feature-cards {
    margin-top: 0;
    margin-bottom: 28px;
  }

  .home-feature-cards__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature-tile {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .feature-tile__image {
    height: 146px;
  }

  .feature-tile__body {
    padding: 20px 18px 20px;
  }

  .feature-tile__title {
    font-size: 1.95rem;
    line-height: 1.04;
  }

  .feature-tile__text {
    max-width: 320px;
    font-size: 1rem;
    line-height: 1.32;
    margin-left: auto;
    margin-right: auto;
  }

  .feature-tile__actions {
    margin-top: 16px;
  }

  .feature-tile__button {
    min-width: 176px;
    min-height: 46px;
    font-size: 0.94rem;
    padding: 0.66rem 1rem;
  }

  .home-hero__panel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 500px;
    padding: 122px 26px 42px;
    border-radius: 0;
  }

  .home-hero__title-top {
    font-size: clamp(1.7rem, 6vw, 2.35rem);
  }

  .home-hero__title {
    font-size: clamp(1.95rem, 6.1vw, 2.45rem);
    line-height: 1.02;
    white-space: normal;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero__subtitle {
    margin-top: 16px;
    font-size: 1.02rem;
    line-height: 1.45;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero__actions {
    margin-top: 22px;
  }

  .home-hero__cta {
    min-width: 240px;
    min-height: 52px;
  }

  .home-card-grid,
  .news-grid,
  .quick-links-grid {
    grid-template-columns: 1fr;
  }

  .feature-band,
  .contact-banner {
    padding: 24px;
    border-radius: 22px;
  }

  .contact-banner {
    min-height: 360px;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: min(100% - 20px, 100%);
  }

  .site-header__inner,
  .site-header--compact .site-header__inner,
  .site-header--inner .site-header__inner {
    width: 100%;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 10px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-brand__logo,
  .site-header--compact .site-brand__logo,
  .site-header--inner .site-brand__logo {
    width: 79px;
    height: 79px;
    left: 10px;
    top: 2px;
  }

  .site-menu-toggle {
    width: 44px;
    height: 44px;
  }

  .site-menu-toggle__dots {
    grid-template-columns: repeat(3, 6px);
    grid-template-rows: repeat(2, 6px);
    gap: 6px;
  }

  .site-menu-toggle__dots span {
    width: 6px;
    height: 6px;
  }

  .site-header__cta,
  .site-header--compact .site-header__cta,
  .site-header--inner .site-header__cta {
    min-width: 106px;
    min-height: 38px;
    padding: 0.58rem 0.82rem;
    font-size: 0.84rem;
    right: 6px;
  }

  .site-main {
    padding-top: 100px;
  }

  .home-hero__panel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 450px;
    padding: 104px 18px 36px;
  }

  .home-hero__title-top {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .home-hero__title {
    font-size: clamp(1.7rem, 7.4vw, 2.1rem);
    line-height: 1.04;
    max-width: 320px;
  }

  .home-hero__subtitle {
    font-size: 0.98rem;
    line-height: 1.45;
    max-width: 300px;
  }

  .home-card__body,
  .news-card__body {
    padding: 18px;
  }

  .quick-link-card {
    min-height: 72px;
    padding: 16px 18px;
  }
}