@media (max-width: 1199px) {
  :root {
    --econx-gutter: 24px;
  }

  .econx-primary-nav {
    display: none;
  }

  .econx-site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .econx-header-actions > .econx-language,
  .econx-header-actions > .econx-login {
    display: none;
  }

  .econx-menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 11px;
    border: 1px solid var(--econx-border-soft);
    border-radius: 50%;
    background: var(--econx-surface);
    gap: 7px;
    align-content: center;
    cursor: pointer;
  }

  .econx-menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--econx-white);
    transition: transform var(--econx-fast) ease;
  }

  .econx-menu-toggle[aria-expanded="true"] span:nth-last-child(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .econx-menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .econx-mobile-menu {
    position: fixed;
    z-index: 90;
    top: 88px;
    right: 24px;
    display: grid;
    width: min(420px, calc(100% - 48px));
    max-height: calc(100vh - 112px);
    padding: 28px;
    overflow: auto;
    border: 1px solid var(--econx-border-soft);
    border-radius: 24px;
    background: rgba(26, 26, 26, 0.98);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top right;
    transition: opacity 220ms var(--econx-ease), transform 220ms var(--econx-ease), visibility 220ms ease;
    visibility: hidden;
  }

  .econx-mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
  }

  .econx-mobile-menu[hidden] {
    display: none;
  }

  .econx-menu--mobile,
  .econx-mobile-menu .econx-menu {
    display: grid;
  }

  .econx-menu--mobile a,
  .econx-mobile-menu .econx-menu a {
    padding: 14px 0;
    border-bottom: 1px solid var(--econx-border-soft);
    border-radius: 0;
    font-size: 20px;
  }

  .econx-menu--mobile .current-menu-item > a,
  .econx-mobile-menu .econx-menu a[aria-current="page"] {
    color: var(--econx-green);
  }

  .econx-mobile-menu__actions {
    display: flex;
    padding-top: 24px;
    gap: 20px;
    align-items: center;
  }

  .econx-mobile-menu .econx-language__options {
    position: static;
    min-width: 92px;
    margin-top: 10px;
    transform: none;
  }

  body.menu-is-open::after {
    position: fixed;
    z-index: 80;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
    content: "";
  }

  .econx-contact {
    height: auto;
    min-height: 720px;
    padding: 72px 24px 56px;
  }

  .econx-contact::before,
  .econx-contact::after {
    top: 20px;
    height: 390px;
  }

  .econx-hero-card--budget {
    left: 22px;
    width: 205px;
  }

  .econx-hero-card--projects {
    right: 22px;
    width: 195px;
  }

  .econx-hero-card--innovation {
    right: 70px;
    width: 200px;
  }

  .econx-trust-points {
    gap: 28px;
  }

  .econx-feature-row {
    width: min(100%, 1020px);
  }

  .econx-card-grid--5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .econx-card-section--projects .econx-card {
    gap: clamp(48px, 6vw, 76px);
    grid-template-columns: minmax(0, 445px) minmax(360px, 471px);
  }

  .econx-card-section--panel {
    padding-inline: 48px;
  }

  body.page-id-6 .econx-card-section--about-services .econx-card,
  body.page-id-6 .econx-card-section--about-technology .econx-card {
    min-height: 220px;
    padding: 24px;
    gap: 20px;
  }

  body.page-id-6 .econx-card-section--about-services .econx-card__preset-image {
    width: 64px;
    height: 64px;
  }

  body.page-id-6 .econx-card-section--about-technology .econx-card__preset-image {
    width: 72px;
    height: 72px;
  }

  body.page-id-6 .econx-card-section--about-services .econx-card__copy,
  body.page-id-6 .econx-card-section--about-technology .econx-card__copy {
    margin-top: auto;
  }

  .econx-split-section,
  .econx-profile-row {
    width: calc(100% - 64px);
    gap: 70px;
  }
}

@media (max-width: 900px) {
  .econx-header-actions > .econx-language,
  .econx-header-actions > .econx-login {
    display: none;
  }

  .econx-hero--home {
    min-height: 650px;
  }

  .econx-hero-card--budget {
    top: 290px;
  }

  .econx-hero-card--projects {
    top: 286px;
  }

  .econx-hero-card--innovation {
    top: 385px;
  }

  .econx-trust-points {
    gap: 20px;
  }

  .econx-trust-points li {
    font-size: 15px;
  }

  .econx-feature-row {
    padding: 36px;
    grid-template-columns: 1fr;
  }

  .econx-feature-row--reverse .econx-feature-row__copy,
  .econx-profile-row--reverse > :first-child {
    order: 1;
  }

  .econx-feature-row--reverse .econx-feature-row__media,
  .econx-profile-row--reverse > :last-child {
    order: 2;
  }

  .econx-feature-row__copy {
    max-width: 620px;
  }

  .econx-card-grid--4,
  .econx-card-grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .econx-card-section--projects .econx-card {
    padding: 36px;
    gap: 36px;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
  }

  .econx-card-section--projects .econx-card__copy .econx-card__title {
    font-size: 32px;
    line-height: 36px;
  }

  body.home .econx-card-section--pricing .econx-card-grid,
  body.home .econx-card-section--testimonials .econx-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.home .econx-card-section--pricing .econx-card:last-child {
    width: calc(50% - 8px);
    grid-column: 1 / -1;
    justify-self: center;
  }

  .econx-feature-row__media {
    min-height: 240px;
  }

  .econx-split-section,
  .econx-profile-row,
  .econx-audience {
    grid-template-columns: 1fr;
  }

  .econx-profile-row,
  .econx-split-section {
    gap: 40px;
  }

  .econx-site-footer {
    grid-template-columns: auto 1fr auto;
  }
}

@media (max-width: 767px) {
  :root {
    --econx-gutter: 20px;
    --econx-radius: 24px;
  }

  h1 {
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.03;
  }

  h2,
  .econx-feature-row__copy h2,
  .econx-section-heading h2 {
    font-size: 32px;
  }

  .econx-content-flow {
    gap: 56px;
  }

  body.home .econx-content-flow,
  body.page-id-6 .econx-content-flow {
    gap: 48px;
  }

  .econx-main,
  .econx-site-header__inner,
  .econx-site-footer {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  .econx-hero h1 {
    overflow-wrap: anywhere;
  }

  .econx-site-header__inner {
    min-height: 76px;
  }

  .econx-logo,
  .econx-logo img {
    width: 116px;
    height: auto;
    max-height: 52px;
  }

  .econx-logo--custom,
  .econx-logo--custom img {
    width: 116px;
    height: auto;
    max-height: 52px;
  }

  .econx-mobile-menu {
    top: 76px;
    right: 20px;
    width: calc(100% - 40px);
  }

  .econx-hero {
    min-height: 470px;
    padding: 60px 22px;
  }

  .econx-hero--home {
    min-height: 540px;
    padding: 44px 22px 124px;
  }

  .econx-hero__intro {
    margin-bottom: 28px;
    font-size: 16px;
  }

  .econx-hero-card--budget {
    display: none;
  }

  .econx-hero-card--projects {
    display: none;
  }

  .econx-hero-card--innovation {
    display: none;
  }

  .econx-hero-card--custom {
    display: none;
  }

  .econx-trust-points {
    bottom: 20px;
    width: calc(100% - 28px);
    gap: 10px;
    justify-content: space-between;
  }

  .econx-trust-points li {
    max-width: none;
    gap: 6px;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.15;
    text-align: center;
    white-space: normal;
  }

  .econx-trust-points li:first-child {
    align-items: flex-start;
    text-align: left;
  }

  .econx-trust-points li:last-child {
    align-items: flex-end;
    text-align: right;
  }

  .econx-feature-row {
    width: 100%;
    min-height: 0;
    padding: 36px 24px;
    gap: 32px;
  }

  .econx-feature-row__text,
  .econx-section-heading p {
    font-size: 16px;
  }

  .econx-feature-row__media,
  .econx-media-placeholder,
  .econx-product-window {
    min-height: 250px;
  }

  .econx-card-grid--2,
  .econx-card-grid--3,
  .econx-card-grid--4,
  .econx-card-grid--5 {
    grid-template-columns: 1fr;
  }

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

  .econx-card-section--projects .econx-card-grid {
    padding-bottom: 0;
    gap: 20px;
  }

  .econx-card-section--projects .econx-card,
  .econx-card-section--projects .econx-card:not(:first-child) {
    min-height: 0;
    margin-top: 0;
    padding: 28px 24px 24px;
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .econx-card-section--projects .econx-card__copy .econx-card__title {
    margin-bottom: 16px;
    font-size: 28px;
    letter-spacing: -0.7px;
    line-height: 32px;
  }

  .econx-project-card__logo {
    width: min(82%, 280px);
    max-height: 120px;
  }

  body.home .econx-card-section--principles .econx-card,
  body.home .econx-card-section--security .econx-card {
    min-height: 156px;
    padding: 20px;
  }

  body.home .econx-card-section--process .econx-card,
  body.home .econx-card-section--solutions .econx-card {
    min-height: 220px;
    padding: 24px;
  }

  body.home .econx-card-section--pricing .econx-card {
    min-height: 176px;
    padding: 24px 20px;
  }

  body.home .econx-card-section--testimonials .econx-card {
    min-height: 204px;
    padding: 20px;
  }

  body.home .econx-card-section--pricing .econx-card-grid,
  body.home .econx-card-section--testimonials .econx-card-grid {
    grid-template-columns: 1fr;
  }

  body.home .econx-card-section--pricing .econx-card:last-child {
    width: 100%;
    grid-column: auto;
  }

  body.page-id-6 .econx-card-section--about-services .econx-card,
  body.page-id-6 .econx-card-section--about-technology .econx-card {
    min-height: 120px;
    padding: 18px;
    gap: 16px;
    align-items: center;
    flex-direction: row;
  }

  body.page-id-6 .econx-card-section--about-services .econx-card__preset-image,
  body.page-id-6 .econx-card-section--about-technology .econx-card__preset-image {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
  }

  body.page-id-6 .econx-card-section--about-services .econx-card__copy,
  body.page-id-6 .econx-card-section--about-technology .econx-card__copy {
    min-height: 0;
    margin: 0;
  }

  body.page-id-6 .econx-card-section--about-services .econx-card__copy h3,
  body.page-id-6 .econx-card-section--about-technology .econx-card__copy h3 {
    font-size: 18px;
    line-height: 1.15;
  }

  body.page-id-6 .econx-card-section--about-services .econx-card__copy p,
  body.page-id-6 .econx-card-section--about-technology .econx-card__copy p {
    font-size: 14px;
    line-height: 1.3;
  }

  body.home .econx-section-heading,
  body.page-id-6 .econx-section-heading {
    margin-bottom: 36px;
  }

  body.home .econx-card-section--security,
  body.home .econx-card-section--pricing {
    padding: 44px 16px;
  }

  body.single-project .econx-hero h1 {
    font-size: clamp(30px, 8.5vw, 40px);
    line-height: 1.02;
  }

  body.single-project .econx-card-section--project-principles .econx-card {
    min-height: 180px;
    padding: 24px;
  }

  body.single-project .econx-card-section--project-controls .econx-card {
    min-height: 250px;
    padding: 24px;
  }

  body.single-project .econx-feature-row__media {
    min-height: 200px;
  }

  .econx-card-section--principles .econx-card + .econx-card {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .econx-card-section--panel {
    padding: 52px 20px;
  }

  .econx-card-section--pricing .econx-card {
    margin-top: 12px;
  }

  .econx-split-section,
  .econx-profile-row {
    width: 100%;
    min-height: 0;
  }

  .econx-audience {
    min-height: 0;
    padding: 44px 24px;
    gap: 30px;
  }

  .econx-audience ul {
    padding-left: 20px;
  }

  .econx-project-features {
    gap: 56px;
  }

  .econx-contact {
    min-height: 0;
    padding: 56px 20px 48px;
  }

  .econx-contact__heading {
    margin-bottom: 40px;
  }

  .econx-contact__heading h1 {
    font-size: clamp(36px, 10vw, 44px);
    letter-spacing: -1px;
    line-height: 1.04;
  }

  .econx-contact::before,
  .econx-contact::after {
    top: 0;
    height: 360px;
  }

  .econx-contact__form {
    width: 100%;
    max-width: 400px;
  }

  .econx-site-footer {
    padding: 28px 22px;
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: center;
  }

  .econx-logo--footer,
  .econx-site-footer__contact {
    justify-self: center;
  }

  .econx-footer-menu {
    gap: 20px;
  }

  .econx-feature-stack {
    gap: 56px;
  }
}

@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .econx-card-section--projects .econx-card {
    position: sticky;
    z-index: calc(10 + var(--card-index));
    top: 10px;
  }

  body.home .econx-feature-stack {
    margin-block: 80px;
  }

  body.home .econx-feature-stack > .econx-feature-row {
    position: sticky;
    z-index: calc(10 + var(--econx-stack-index));
    top: var(--econx-stack-top);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  }
}

body.home .econx-card-section:not(.econx-card-section--projects) .econx-card-grid--3 {
  height: auto;
  grid-template-rows: none;
  grid-auto-rows: 1fr;
  align-items: stretch;
}

body.home .econx-card-section:not(.econx-card-section--projects) .econx-card-grid--3 > .econx-card {
  height: auto;
  min-height: 0;
  padding: 32px;
  align-self: stretch;
}

body.home .econx-card-grid--4 > .econx-card {
  padding: 32px;
  gap: 32px;
}

body.home .econx-card-section--pricing {
  height: auto;
  min-height: 505px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  [data-reveal],
  .reveal-pending {
    opacity: 1;
    transform: var(--econx-base-transform, none);
  }

  [data-parallax] {
    translate: none !important;
  }
}
