/* ============================================================
   RESPONSIVE
   1280px / 900px / 600px / 480px
   ============================================================ */

@media (max-width: 1280px) {
  .section--hero .section__container {
    grid-template-columns: 1fr;
  }
  .container__right {
    display: none;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .expertise__intro {
    grid-template-columns: 1fr 1fr;
  }
  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 3.75rem 1.5rem;
  }
  .section__main-title {
    font-size: 2rem;
  }
  h2.section__title {
    font-size: var(--font-size-h2);
  }
  .section__lead {
    max-width: 100%;
  }

  .header__container {
    padding: 0 1.5rem;
    gap: 1rem;
  }
  .header__nav {
    display: none;
  }

  .section--hero {
    height: auto;
    min-height: calc(100vh - 4.5rem);
  }
  .section--hero .section__container {
    grid-template-columns: 1fr;
  }
  .section--hero .container__left {
    min-height: unset !important;
    justify-content: flex-start;
  }

  .hero__title {
    font-size: 2rem;
  }
  .news__list {
    grid-template-columns: 1fr;
  }

  .options {
    grid-template-columns: 1fr;
  }
  .options__note {
    flex-wrap: wrap;
  }
  .note {
    width: 100%;
  }
  .timeline {
    width: 100%;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 1.875rem;
  }
  .task__part {
    grid-template-columns: 1fr;
  }

  .step::before,
  .step::after {
    display: none;
  }
  .step__num {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    background-image: none;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent);
    display: block;
    margin: 0 0 0.5rem;
  }

  .sectors__connectors {
    display: none;
  }
  .expertise__intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .expertise__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .expertise__footer-benefits {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .reason:last-child {
    grid-column: span 1;
  }

  .system__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .contour-node--center {
    grid-column: span 2;
  }

  .member {
    grid-template-columns: 8.75rem 1fr;
  }
  .member__icon {
    width: 8.75rem;
  }

  .cta__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__main {
    grid-template-columns: 1fr 1fr;
    padding: 2.5rem 1.5rem 2rem;
  }
  .footer__bottom-inner {
    padding: 1rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  /* Отключаем hover-анимации на touch */
  .sector:hover,
  .result:hover,
  .task:hover,
  .service:hover,
  .option:hover,
  .card:hover,
  .reason:hover,
  .member:hover,
  .practice:hover {
    transform: none;
    box-shadow:
      0 1px 2px rgba(26, 37, 64, 0.03),
      0 4px 12px rgba(26, 37, 64, 0.06);
  }

  .ornament {
    width: 60%;
  }
  .ornament-bottom {
    width: 100%;
  }
}

@media (max-width: 600px) {
  body {
    padding-top: 3.75rem;
  }

  .header__container {
    height: 3.75rem;
    padding: 0 1rem;
  }
  .header__btn {
    padding: 0.625rem 1rem;
    font-size: 1rem;
  }

  .section {
    padding: 3rem 1rem;
  }
  .section__main-title {
    font-size: 1.625rem;
  }
  h2.section__title {
    font-size: 1.375rem;
    line-height: 1.35;
  }

  .hero__title {
    font-size: 1.6rem;
    line-height: 1.35;
  }
  .actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .actions__btns {
    flex-direction: column;
    width: 100%;
  }
  .actions__col {
    width: 100%;
    flex: unset;
  }
  .actions__col .btn {
    align-self: stretch;
    width: 100%;
  }

  .news__list {
    grid-template-columns: 1fr;
  }
  .practice__header {
    grid-template-columns: 3.75rem auto;
  }
  .practice__ico {
    width: 3.75rem;
    height: 3.75rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .result__header {
    grid-template-columns: 3.75rem auto;
  }
  .result__ico {
    width: 3.75rem;
    height: 3.75rem;
  }

  .task__header {
    grid-template-columns: 3.75rem auto;
  }
  .task__ico {
    width: 3.75rem;
    height: 3.75rem;
  }

  .system__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .contour-node--center {
    grid-column: span 1;
  }
  .contour-node {
    clip-path: none;
    border-radius: 0.625rem;
  }

  .member {
    grid-template-columns: 1fr;
  }
  .member__icon {
    width: 100%;
    height: 13.75rem;
  }
  .member__content {
    padding: 0 0.5rem 0.5rem;
  }

  .cta__layout {
    grid-template-columns: 1fr;
  }
  .cta__heading {
    font-size: 1.5rem;
  }

  .option__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .option__ico {
    width: 4.5rem;
    height: 4.5rem;
  }
  .form-row--2 {
    flex-direction: column;
  }

  .footer__main {
    grid-template-columns: 1fr;
    padding: 2rem 1rem 1.5rem;
    gap: 1.75rem;
  }
  .footer__bottom-inner {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2.5rem 0.75rem;
  }
  h2.section__title {
    font-size: 1.25rem;
  }
  .hero__title {
    font-size: 1.4rem;
  }
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
  }

  .step {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .expertise__footer-benefits {
    flex-direction: column;
  }

  .member__top {
    grid-template-columns: 1fr;
  }
  .member__icon {
    width: 100%;
    height: auto;
  }
  .member__num {
    top: 1.25rem;
  }
  .member__tags {
    gap: 0.25rem;
  }
  .member__tag {
    font-size: 1rem;
  }
  .options__note {
    padding: 1rem;
  }
}
