@media (max-width: 1180px) {
  .sx-header__inner { padding: 0 26px; gap: 24px; }
  .sx-logo { min-width: 190px; }
  .sx-logo__text strong { font-size: 26px; }
  .sx-logo__text em { font-size: 13px; }
  .sx-nav { gap: 24px; }
  .sx-home-hero h1 { font-size: 44px; }
  .sx-tech-visual { transform: scale(.84); transform-origin: center; }
  .sx-service-grid { gap: 18px; }
}

@media (max-width: 900px) {
  .sx-container { width: calc(100% - 40px); }
  .sx-topbar { height: 42px; overflow: hidden; }
  .sx-topbar__inner { height: 42px; justify-content: center; font-size: 12px; }
  .sx-topbar__inner span:nth-child(2) { display: none; }
  .sx-header { top: 42px; position: absolute; }
  .sx-header__inner {
    width: calc(100% - 24px);
    height: 86px;
    padding: 0 18px;
    border-radius: 0 0 10px 10px;
  }
  .sx-logo__mark { width: 46px; height: 46px; }
  .sx-logo__mark::after { inset: 12px; }
  .sx-logo__text strong { font-size: 22px; }
  .sx-logo__text em { font-size: 10px; }
  .sx-nav, .sx-header__cta { display: none; }
  .sx-menu-toggle {
    margin-left: auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 5px;
    background: #fff;
    border: 1px solid var(--gna-border);
    border-radius: 8px;
  }
  .sx-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #111;
  }
  .sx-mobile-nav {
    position: absolute;
    top: 92px;
    right: 20px;
    width: 250px;
    padding: 18px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(17,17,17,.18);
  }
  .sx-mobile-nav:not([hidden]) { display: grid; }
  .sx-mobile-nav a {
    padding: 13px 6px;
    border-bottom: 1px solid var(--gna-border);
    color: #111;
    font-size: 15px;
    font-weight: 700;
  }
  .sx-home-hero { padding-top: 120px; }
  .sx-home-hero__inner {
    width: calc(100% - 24px);
    min-height: 350px;
    height: auto;
    grid-template-columns: 1fr;
    padding: 44px 24px 34px;
  }
  .sx-home-hero__copy { padding-left: 0; }
  .sx-home-hero h1 {
    margin-top: 22px;
    font-size: 34px;
    line-height: 1.12;
  }
  .sx-home-hero p {
    font-size: 15px;
    line-height: 1.75;
  }
  .sx-home-hero .sx-btn { min-height: 50px; padding: 0 28px; }
  .sx-tech-visual { display: none; }
  .sx-home-about { padding: 86px 0 62px; }
  .sx-about__grid,
  .sx-profile__grid,
  .sx-contact-form__grid,
  .sx-about-story__grid,
  .sx-work-method__grid,
  .sx-service-boundary__grid,
  .sx-contact-map__panel {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .sx-about__copy h2,
  .sx-section-title h2,
  .sx-about-page h2,
  .sx-profile__intro h2,
  .sx-contact-form__copy h2 {
    font-size: 31px;
  }
  .sx-about__num strong { font-size: 52px; }
  .sx-about__tags { display: grid; gap: 14px; }
  .sx-home-services {
    width: calc(100% - 20px);
    min-height: auto;
    padding: 66px 20px;
    border-radius: 24px;
  }
  .sx-service-grid,
  .sx-services-list,
  .sx-contact-info__grid,
  .sx-trust__grid,
  .sx-counter__grid,
  .sx-profile__list,
  .sx-form,
  .sx-services-nav__grid,
  .sx-service-columns,
  .sx-process-line {
    grid-template-columns: 1fr;
  }
  .sx-page-hero--about,
  .sx-page-hero--services,
  .sx-page-hero--profile,
  .sx-page-hero--contact {
    min-height: 320px;
    padding: 165px 0 72px;
  }
  .sx-about-story,
  .sx-about-principles,
  .sx-work-method,
  .sx-services-nav,
  .sx-services-detail,
  .sx-service-process,
  .sx-service-boundary,
  .sx-profile-note,
  .sx-contact-map {
    padding: 62px 0;
  }
  .sx-about-story h2,
  .sx-work-method h2,
  .sx-service-process h2,
  .sx-service-boundary h2,
  .sx-contact-map h2 {
    font-size: 30px;
  }
  .sx-principle-list article {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
  }
  .sx-principle-list h3 {
    font-size: 24px;
  }
  .sx-service-detail,
  .sx-service-detail:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px;
  }
  .sx-service-detail__media {
    min-height: 220px;
  }
  .sx-service-detail h2 {
    font-size: 30px;
  }
  .sx-process-line span {
    border-right: 0;
    border-bottom: 1px solid var(--gna-border);
  }
  .sx-process-line span:last-child {
    border-bottom: 0;
  }
  .sx-service-row { grid-template-columns: 1fr; }
  .sx-page-hero {
    min-height: 333px;
    padding: 165px 0 80px;
  }
  .sx-page-hero h1 {
    font-size: 32px;
    line-height: 1;
  }
  .sx-inner-image img { max-height: 260px; }
  .sx-counter__grid div { border-right: 0; border-bottom: 1px solid var(--gna-border); }
  .sx-counter__grid div:last-child { border-bottom: 0; }
  .sx-consult__panel {
    width: 100%;
    min-height: auto;
    padding: 90px 20px 40px;
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .sx-consult--short .sx-consult__panel {
    padding: 70px 20px;
  }
  .sx-consult h2 {
    font-size: 32px;
    line-height: 1.24;
  }
  .sx-consult p {
    font-size: 16px;
  }
  .sx-trust {
    padding: 70px 0;
  }
  .sx-trust article {
    grid-template-columns: 52px 1fr;
    column-gap: 18px;
  }
  .sx-trust h3 { font-size: 20px; }
  .sx-footer {
    padding-top: 82px;
  }
  .sx-footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .sx-footer__bottom {
    min-height: 100px;
    display: grid;
    align-content: center;
  }
}

@media (max-width: 900px) {
  .sx-header {
    top: 0 !important;
    background: transparent !important;
  }
  .sx-header__inner {
    width: calc(100% - 24px) !important;
    min-height: 66px !important;
    height: auto !important;
    margin: 10px auto 0 !important;
    padding: 0 18px !important;
    border: 1px solid rgba(148, 191, 255, .20) !important;
    border-radius: 8px !important;
    background: rgba(6, 20, 38, .82) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .18) !important;
    backdrop-filter: blur(16px);
  }
  .sx-logo {
    min-width: 0 !important;
  }
  .sx-logo__mark,
  .sx-logo__mark img {
    width: 42px !important;
    height: 42px !important;
  }
  .sx-logo__mark {
    background: none !important;
  }
  .sx-logo__mark::after,
  .sx-logo__mark i {
    display: none !important;
  }
  .sx-logo__text strong {
    color: #fff !important;
    font-size: 18px !important;
  }
  .sx-logo__text em {
    color: rgba(167, 205, 255, .92) !important;
    font-size: 10px !important;
  }
  .sx-menu-toggle {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.22) !important;
  }
  .sx-menu-toggle span {
    background: #fff !important;
  }
}

@media (max-width: 520px) {
  .sx-logo__text em {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .sx-container { width: calc(100% - 24px); }
  .sx-home-hero h1 { font-size: 31px; }
  .sx-mini-label { font-size: 12px; padding: 7px 10px; }
  .sx-service-card { min-height: 250px; }
  .sx-form .is-wide { grid-column: auto; }
}
