@media screen and (max-width: 1740px) {
  .team.section .section-inner .team-slider {
    overflow-x: scroll;
    gap: 10px;
    justify-content: start;
    padding-block: 30px;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgb(99, 99, 99) rgba(107, 107, 107, 0.12);
  }

  .team.section .section-inner .team-slider .team-card {
    min-width: 300px;
    height: 450px;
  }

  .team-slider::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
  }

  .team-slider::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.38);
    border-radius: 999px;

    border: 3px solid transparent;
    background-clip: padding-box;
  }

  .team-slider::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.55);
    background-clip: padding-box;
  }

  .team.section .section-inner .team-slider .team-card.small_slide {
    min-width: 300px;
    height: 450px;
    transform: translateY(0px);
  }
  .team.section .section-inner .team-slider .team-card.small_slide .team-photo {
    width: 200px;
    height: 200px;
  }

  .team.section .section-inner .team-slider .team-card.small_slide:last-child {
    background: linear-gradient(90deg, #192343 0%, #000C3F 69.76%);
  }

  .team.section .section-inner .team-slider .team-card.middle_slide {
    background: #192343;
    min-width: 300px;
    height: 450px;
    transform: translateY(0px);
  }
  .team.section .section-inner .team-slider .team-card.middle_slide .team-photo {
    width: 200px;
    height: 200px;
  }

  .team.section .section-inner .team-slider .team-card.big_slide {
    background: #192343;
    min-width: 300px;
    height: 450px;
  }
  .team.section .section-inner .team-slider .team-card.big_slide .team-photo {
    width: 200px;
    height: 200px;
  }
}

@media screen and (max-width: 1440px) {
  .projects .section-inner,
  .pricing .section-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
  }

  .services-grid {
    max-width: 1200px;
    gap: 26px;
    display: flex;
    flex-direction: column;
  }

  .service-card--tall {
    width: 100%;
    min-height: unset;
    height: 400px;
    background-image: unset;
  }

  .benefits-grid {
    display: flex;
    gap: 50px;
    width: 100%;
    max-width: 100vw;
    overflow-x: auto;
    padding-inline: 30px;
  }
  .benefits-grid::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  .benefit-card {
    min-width: 350px;
  }

  .projects-grid {
    gap: 26px;
  }

  .pricing-grid {
    display: grid;
    place-content: stretch;
    height: auto;
    justify-content: center;
    gap: 20px;
  }

  .sp-form  input ,.sp-contact{
        height: 50px;
    }

  .sp-form .sp-textarea {
        height: 100px;
    }
}

@media screen and (max-width: 1100px) {
  .header-container .nav-bar {
    width: 94%;
  }
  .header-container .nav-bar .nav-list {
    display: none !important;
  }
  .header-container .nav-bar .start-button {
    display: none !important;
  }
  .header-container .nav-bar .mm-burger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .header-container .nav-bar {
    grid-template-columns: 1fr auto;
    padding-inline: 16px 16px;
  }
  .projects-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .projects-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    height: 400px;
  }

  .project-card--wide {
    min-height: 230px;
    border-radius: 22px;
    height: 350px;
    background-position: 0 0, right 40px bottom -100px;
    background-size: auto, 350px auto;
  }

  .project-card--small {
    min-height: 250px;
    border-radius: 22px;
    padding: 18px;
  }

  .pricing.section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-inline: 0px;
  }

  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .project-card--tall {
    min-height: 230px;
    border-radius: 22px;
    height: 350px;
    padding: 22px;
    background-position: 0 0, right 44px bottom 10px;
    background-size: auto, 360px auto;
  }
  .project-card__text {
    font-size: 18px;
  }

  .project-card__title {
    font-size: 30px;
  }
  .project-card__text {
    font-size: 20px;
    line-height: 1.35;
  }

  .language_btns {
    display: none;
  }

  .mm_language_btns {
    height: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    border: 0;
    width: 500px;
  }
  .mm_language_btns button {
    flex: 1;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(57, 86, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 160ms ease, background 160ms ease,
      border-color 160ms ease;
  }
  .mm_language_btns button span {
    transform: none !important;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.92);
  }
  .mm_language_btns button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
  }
  .mm_language_btns button:active {
    transform: scale(0.98);
  }
  .mm_language_btns button:focus-visible {
    outline: 2px solid rgba(37, 59, 255, 0.35);
    outline-offset: 2px;
  }
  .mm_language_btns button.is-active {
    background: rgba(37, 59, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.28);
  }

  .project-card--wide_opacity-content,
  .project-card--small_opacity-content,
  .project-card--tall_opacity-content {
    opacity: 0;
  }

  .project-card--wide .project-card__content,
  .project-card--small .project-card__content,
  .project-card--tall .project-card__content {
    opacity: 1;
  }

  .project-card:hover {
    transform: none;
  }

  .project-card--tall_opacity-content {
    padding: 20px;
    gap: 45px;
  }
  .project-card--tall_opacity-content h2 {
    margin: 0;
  }

  .logo,
  .project_hand_icon {
    display: none !important;
  }
  .companyName {
    font-size: 80px;
  }
  .companyName__ie {
    font-size: 30px;
  }
}

@media (max-width: 860px) {
  .section-inner,
  .projects .section-inner,
  .pricing .section-inner {
    width: 100%;
    margin: 0 auto;
  }

  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "card1"
      "card2"
      "card3";
    gap: 14px;
  }
  .service-card:first-child {
    height: 300px;
  }
  .service-card--tall {
    width: 100%;
    min-height: 170px;
    justify-content: flex-start;
    align-items: flex-start;
    background-position: right bottom;
    background-size: 240px auto;
  }

  .card-tall {
    width: 100%;
    height: auto;
  }

  .right-top,
  .right-bottom {
    min-height: 170px;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
  }

  .right-top .image-holder,
  .right-bottom .image-holder {
    flex: 0 0 40%;
    justify-content: flex-end;
  }
  .section-benefit {
    width: 100%;
  }

  .benefit-card {
    padding: 16px 12px;
    border-radius: 18px;
  }
  .benefit-card .card-title {
    margin: 0 0 8px;
  }

  .projects.section {
    width: 100%;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 14px;
  }
  .project-a,
  .project-b,
  .project-d {
    grid-column: auto;
    grid-row: auto;
  }
  .projects-bottom-grid {
    display: flex;
    flex-direction: column;
    height: unset;
  }


  .big_slide{
    order: 1;
  }
  .middle_slide{
    order: 2;
  }
  .small_slide{
    order: 3;
  }

  .price-card {
    min-width: 250px;
  }
  .project-card--wide {
    min-height: 240px;
    background-size: auto, 300px auto;
    background-position: 0 0, right -30px bottom -90px;
  }

  .project-card--joywork {
    background-size: auto, 150px auto;
    background-position: 0 0, right 40px bottom -100px;
  }
  .project-card--aflot {
    height: 300px;
    background-size: auto, 150px auto;
    background-position: 0 0, right 40px bottom 0px;
  }
  .project-card--simpleslider {
    background-size: auto, 150px auto;
    background-position: 0 0, right 40px bottom 10px;
  }

  .project-card--wide_opacity-content p {
    gap: 10px;
    max-width: 520px;
  }
  .project-card--wide_opacity-content p h2 {
    margin: 20px;
  }

  .project-card--wide_opacity-content {
    padding: 20px;
  }
  .project-card--tall_opacity-content {
    gap: 20px;
  }

  .pricing-grid {
    padding-bottom: 40px;
    display: flex;
    overflow: auto;
    justify-content: start;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.38) rgba(255, 255, 255, 0.12);
  }

  .pricing-grid::-webkit-scrollbar {
    height: 40px;
  }

  .pricing-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
  }

  .pricing-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.38);
    border-radius: 999px;

    border: 3px solid transparent;
    background-clip: padding-box;
  }

  .pricing-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.55);
    background-clip: padding-box;
  }

  .sp-form {
    grid-template-columns: 1fr;
  }
  .sp-input,
  .sp-contact,
  .sp-textarea {
    width: 100%;
  }

  .companyName {
    font-size: 60px;
  }
  .companyName__ie {
    font-size: 20px;
  }
}

@media screen and (max-width: 475px) {
  .start-button {
    display: none;
  }
  .hero-title {
    font-size: 30px;
    padding: 3px;
  }
  .hero-subtitle {
    font-size: 15px;
  }

  .section-inner,
  .projects .section-inner,
  .pricing .section-inner {
    width: 100%;
    margin: 0 auto;
  }

  .mm_language_btns {
    width: 100%;
  }

  .mm__head span {
    font-size: 20px;
  }

  .mm__body a {
    font-size: 14px;
  }

  .mm__big {
    font-size: 20px;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 14px;
  }
  .card-title {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .card-text {
    font-size: 12px;
    line-height: 1.35;
    max-width: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "card1"
      "card2"
      "card3";
    gap: 12px;
  }

  .service-card .card-text {
    font-size: 16px;
  }

  .service-card--tall {
    min-height: 150px;
    height: 300px;
    background-position: right bottom;
    background-size: 220px auto;
  }

  .right-top,
  .right-bottom {
    min-height: 150px;
    gap: 10px;
  }

  .right-top .image-holder,
  .right-bottom .image-holder {
    flex: 0 0 42%;
  }

  .right-top .image-holder img,
  .right-bottom .image-holder img {
    max-width: 140px;
  }

  .right-top .card-top,
  .right-bottom .card-top {
    width: 58%;
    margin: 0;
    gap: 6px;
    align-items: flex-start;
  }

  .benefits-grid {
    gap: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
  }
  .benefits-grid .benefit-card {
    height: 300px;
    width: 100%;
  }
  .benefits-grid .benefit-card .card-icon {
    width: 50px;
    height: 50px;
    margin: 0;
  }
  .benefits-grid .benefit-card .right {
    transform: scale(2);
  }
  .benefits-grid .benefit-card .card-title {
    float: left;
    font-size: 20px;
  }
  .benefits-grid .benefit-card .card-text {
    font-size: 16px;
    line-height: 1.35;
  }

  .card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }
  .card-icon img {
    width: 40px;
    height: 40px;
  }

  .benefit-card {
    padding: 12px 10px;
    border-radius: 16px;
    gap: 10px;
    min-width: unset;
  }
  .benefit-card .card-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 8px;
  }
  .benefit-card .card-title {
    font-size: 12px;
    margin: 0;
  }
  .benefit-card .card-text {
    font-size: 10px;
    line-height: 1.25;
    letter-spacing: 0;
  }

  .projects-grid {
    gap: 12px;
    margin-top: 12px;
  }

  .projects-bottom-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .project-card--wide {
    min-height: 200px;
    background-size: auto, 300px auto;
    background-position: 0 0, right -10px bottom -55px;
  }
  .project-card--wide {
    min-height: 240px;
    background-size: auto, 200px auto;
    background-position: 0 0, right 0px bottom -60px;
  }

  .project-card--joywork {
    background-size: auto, 150px auto;
    background-position: 0 0, right 40px bottom -100px;
  }
  .project-card--aflot {
    background-size: auto, 150px auto;
    background-position: 0 0, right 40px bottom 0px;
  }

  .project-card--aflot .project-card--small_opacity-content p{
    font-size: 14px;
  }

  .project-card--simpleslider {
    background-size: auto, 150px auto !important;
    background-position: 0 0, right 40px bottom 10px;
  }
  .project-card {
    height: 250px;
  }

  .project-card__content {
    height: 90%;
  }
  .project-card__content h3 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .project-card__content p {
    font-size: 16px;
  }

  .project-card--wide_opacity-content {
    padding: 20px;
    gap: 10px;
  }
  .project-card--wide_opacity-content h2 {
    font-size: 20px;
  }
  .project-card--wide_opacity-content p {
    font-size: 15px;
  }

  .project-card--tall_opacity-content {
    padding: 20px;
    gap: 10px;
  }
  .project-card--tall_opacity-content h2 {
    font-size: 20px;
  }
  .project-card--tall_opacity-content p {
    font-size: 16px;
  }

  .project-card--small_opacity-content {
    padding: 20px;
    gap: 10px;
  }
  .project-card--small_opacity-content h2 {
    font-size: 20px;
  }
  .project-card--small_opacity-content p {
    font-size: 16px;
  }

  .project-card--small {
    min-height: 170px;
    padding: 14px;
    border-radius: 18px;
  }

  .project-card--tall {
    min-height: 220px;
    padding: 18px;
    background-size: auto, 320px auto;
    background-position: 0 0, right 0 bottom 0;
  }

  .project-card__title {
    font-size: 14px;
    margin-bottom: 6px;
  }
  .project-card__text {
    font-size: 11px;
    line-height: 1.25;
  }

  .project-card--small_opacity-content h2 , .project-card--wide_opacity-content h2 ,.project-card--tall_opacity-content h2 {
    font-size: 25px !important;
    font-weight: 500;
  }

  .project-card--small_opacity-content p , .project-card--wide_opacity-content p ,.project-card--tall_opacity-content p {
    font-size: 15px !important;
  }


  .section-inner {
    width: 100%;
  }

  .pricing.section {
    width: 100%;
  }
  .pricing-grid {
    display: flex;
    justify-content: start;
    align-items: center;
    overflow-x: scroll;
    overflow-y: unset;
    height: 400px;
  }

  .price-card {
    border-radius: 18px;
  }
  .price-icon {
    width: 92px;
    margin-bottom: 8px;
    width: 90px !important;
    height: 90px;
  }
  .technical_work {
    margin-bottom: 10px !important;
  }
  .price-icon img {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }
  .price-title {
    font-size: 16px;
    margin-top: 0;
  }
  .price-subtitle {
    font-size: 14px;
  }
  .price-value {
    font-size: 20px;
    margin: 10px 0;
  }
  .price-btn {
    width: 100%;
    min-height: 32px;
    font-size: 12px;
    margin-top: 10px;
  }

  .sp-form {
    width: 100%;
  }
  .sp-title {
    font-size: 20px;
  }
  .sp-subtitle {
    font-size: 15px;
  }
  .sp-input,
  .sp-contact,
  .sp-input-full,
  .sp-textarea {
    width: 100% !important;
    height: 50px;
  }
  .companyName {
    font-size: 40px !important;
  }
  .companyName__ie {
    font-size: 14px;
  }

  /* ===== Footer Grid Layout ===== */
  .site-footer .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "services contacts"
      "social   social"; /* 1 element on second row */
    gap: 28px;
    align-items: start;
  }

  /* map columns to grid areas */
  .site-footer .footer-col:nth-child(1) {
    grid-area: services;
  }
  .site-footer .footer-col:nth-child(2) {
    grid-area: contacts;
  }
  .site-footer .footer-col:nth-child(3) {
    grid-area: social;
  }

   .site-footer .footer-col:nth-child(3) .social-btn{
    width: 30px;
    height: 30px;
    object-fit: cover;
   }

   .site-footer .footer-col:nth-child(3) .social-btn img{
    width: 100%;
    height: 100%;
   }

  /* social block full width */
  .site-footer .footer-col--right {
    justify-self: start;
  }

  /* bottom stays single row */
  .site-footer .footer-bottom {
    margin-top: 18px;
  }
}
