@media screen and (min-width: 1440px) {
  .poster {
    height: 64vh;
    min-height: 600px;
  }

  .footer a.phone,
.footer a.email {
    font-size: 80px;
    line-height: 96px;
  }
}
@media screen and (max-width: 1366px) {
  .poster {
    font-size: 70px;
    line-height: 85px;
  }

  .footer a.phone,
.footer a.email {
    font-size: 70px;
    line-height: 85px;
  }
  .footer a.phone {
    margin-left: -120px;
  }
}
@media screen and (max-width: 1280px) {
  .poster_wrap.max_width {
    padding: 0;
  }
  .poster_contain {
    padding-left: 50px;
  }
}
@media screen and (max-width: 1080px) {
  .header,
.max_width,
.shift_items {
    padding: 0 40px;
  }

  .poster {
    font-size: 64px;
    line-height: 80px;
    min-height: 560px;
  }
  .poster_contain {
    width: auto;
    padding-left: 100px;
  }
  .poster.poster_works, .poster.poster_documents {
    min-height: 450px;
    height: 70vh;
  }

  .ftext__section[data-id=layout], .ftext__section[data-id=applayout] {
    padding-left: 32px;
    padding-right: 32px;
  }
  .ftext__section[data-id=layout] video, .ftext__section[data-id=applayout] video {
    max-width: 100%;
  }
  .ftext__section[data-id=layout] img {
    max-width: 100%;
  }

  .custom_form textarea {
    overflow: hidden;
  }
}
@media screen and (max-width: 980px) {
  .scroll_contain {
    overflow: auto;
  }

  .poster_contain {
    padding-left: 40px;
  }
  .poster__target, .poster__desc {
    margin-left: 80px;
  }
  .poster__title, .poster__desc {
    padding-left: 0;
    width: auto;
  }

  .works_item {
    width: 400px;
  }
  .works_item.works_item_big {
    display: block;
    width: 100%;
    margin-top: 0;
  }
  .works_item.works_item_big .works_item__tags,
.works_item.works_item_big .works_item__name,
.works_item.works_item_big .works_item__img {
    width: 670px;
  }
  .works_item.works_item_big .works_item__img:empty {
    height: 830px;
  }

  .documents__page {
    padding: 0;
  }
  .documents__page_pic {
    width: 400px;
  }

  .ftext__section[data-id=layout], .ftext__section[data-id=applayout] {
    padding-left: 22px;
    padding-right: 22px;
  }
  .ftext__section[data-id=applayout] {
    width: 100vw;
    overflow-x: auto;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    -webkit-overflow-scrolling: touch;
    scrollbar-width-: none;
  }
  .ftext__section[data-id=applayout]::-webkit-scrollbar {
    display: none;
  }
  .ftext__section__applayouts {
    display: block;
    white-space: nowrap;
  }
  .ftext__section__applayouts img {
    margin-right: 22px;
  }

  .footer {
    height: auto;
  }
  .footer .max_width {
    align-items: flex-end;
  }
  .footer a.phone {
    margin-left: -108px;
  }
  .footer_contain {
    margin-top: 100px;
    padding-left: 120px;
  }
  .footer__bottom {
    position: static;
    margin-top: 100px;
    margin-bottom: 50px;
  }
  .footer__bottom a {
    margin-right: 20px;
  }

  .about_photo {
    width: 400px;
    height: auto;
  }
  .about_photo img {
    width: 100%;
  }
  .about__inner {
    background-size: 60%;
    background-position: -20% 46%;
  }
}
@media screen and (max-width: 912px) {
  .desktop {
    display: none;
  }

  *.mobile {
    display: inline-block;
  }

  span.mobile {
    display: inline;
  }

  .poster {
    height: 65vh;
    min-height: 430px;
    font-size: 56px;
    line-height: 74px;
  }
  .poster h1.poster__title {
    font-size: 64px;
    line-height: 74px;
  }
  .poster_contain {
    padding-left: 0;
    width: 80vw;
  }
  .poster__target {
    display: inline;
    margin-left: 0;
    white-space: normal;
  }
  .poster__desc {
    margin-left: 0;
    width: 100%;
  }
  .poster.poster_works .poster__title, .poster.poster_documents .poster__title {
    line-height: 74px;
  }

  .works {
    justify-content: center;
  }
  .works_item {
    width: 450px;
    margin-bottom: 30px !important;
  }
  .works_item:nth-child(odd), .works_item:nth-child(even) {
    margin-top: 0 !important;
  }
  .works_item.works_item_big {
    width: 450px;
  }
  .works_item.works_item_big .works_item__tags,
.works_item.works_item_big .works_item__name,
.works_item.works_item_big .works_item__img {
    width: auto;
    height: auto;
  }
  .works_item.works_item_big .works_item__img:empty {
    height: 510px;
  }
  .works_item.works_item_big .works_item__info {
    width: auto;
  }

  .footer_contain {
    padding-left: 40px;
  }
  .footer a.phone,
.footer a.email {
    font-size: 56px;
  }
  .footer a.phone {
    margin-left: -36px;
  }
  .footer .copyright {
    display: block;
    width: 100%;
    flex: none;
    margin-right: 0;
    margin-bottom: 40px !important;
  }
  .footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .footer__bottom > a:last-child {
    margin-right: 0;
  }

  .header .phone {
    display: none;
  }
  .header__logo {
    background-size: cover;
    width: 20px;
    overflow: hidden;
  }
  .header__logo sub {
    display: none;
  }
  .header__feedback_btn {
    position: fixed;
    bottom: 30px !important;
    right: 30px !important;
    font-size: 0;
    padding: 0;
    margin: 0 !important;
    height: 56px;
    width: 56px;
    background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2032%2030%22%20id%3D%22svg_chat%22%20width%3D%22100%25%22%20height%3D%22100%25%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M16%2026c8.84%200%2016-5.82%2016-13S24.84%200%2016%200%200%205.82%200%2013a11.72%2011.72%200%20004.12%208.71L3.33%2030l7.53-4.69A19.11%2019.11%200%200016%2026z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E") no-repeat center center;
    background-size: 20px;
  }
  .header__feedback_btn:active {
    position: fixed;
    top: auto;
  }
  .header.light .header__feedback_btn {
    background-color: var(--primary-color) !important;
  }

  .error_page .head {
    padding: 30px 40px;
  }
  .error_page .btn_start {
    display: none !important;
  }

  .menu {
    padding: 9px;
    border-radius: 28px;
    -webkit-backdrop-filter: saturate(180%) blur(5px);
    backdrop-filter: saturate(180%) blur(5px);
    background: #F5F7FA80;
    white-space: nowrap;
  }
  .menu_wrap {
    display: flex;
    position: fixed;
    top: auto;
    bottom: 30px;
  }
  .menu a {
    display: inline-block;
    line-height: 40px;
    border-radius: 20px;
    color: var(--primary-txt) !important;
    padding: 0 16px;
  }
  .menu a:first-child {
    display: inline-block;
  }
  .menu a.active {
    background-color: var(--primary-color);
    color: white !important;
  }
  .menu a.active:after {
    display: none;
  }

  .about__poster__title {
    font-size: 64px;
    line-height: 74px;
    margin: 36px 0;
  }
  .about__poster__title .stories_circle {
    right: 30px;
    left: auto;
    bottom: 110px;
  }
  .about__team_count, .about__working_years {
    font-size: 64px;
  }
  .about_photo {
    width: 450px;
  }
  .about__benefits__item {
    width: auto;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 100px;
  }

  .shift_items {
    justify-content: center;
  }
  .shift_items__item {
    margin: 0 0 30px 0 !important;
  }

  body.light_header:not(.bg_dark) .logo #logo_atma {
    fill: var(--primary-color) !important;
  }
  body.light_header:not(.bg_dark) .header__feedback_btn:not(.fixed) {
    background-color: var(--primary-color) !important;
    color: var(--primary-txt) !important;
    filter: none;
  }
  body.light_header:not(.bg_dark) .menu a, body.light_header:not(.bg_dark) a.ln_toggle {
    color: var(--primary-txt) !important;
  }
  body.light_header:not(.bg_dark) .menu a.active {
    color: #ffffff !important;
  }
}
@media screen and (max-width: 880px) {
  * {
    outline: none !important;
  }
  *:focus, *:focus-within, *:focus-visible, *:active {
    outline: none !important;
  }

  .poster {
    font-size: 48px;
    line-height: 58px;
  }
  .poster_contain {
    width: 70vw;
  }
  .poster.poster_works, .poster.poster_documents {
    padding: 0 24px;
    justify-content: center;
  }
}
@media screen and (max-width: 760px) {
  .about_index {
    padding: 0 24px 30px 24px;
  }
  .about__inner {
    padding-top: 0;
  }
  .about__desc {
    font-size: 24px;
  }
  .about__info {
    margin: 35px 0;
  }
  .about__info__cell {
    padding-right: 20px;
  }
  .about__team_count, .about__working_years {
    font-size: 36px;
    font-weight: 400;
  }
  .about__poster {
    padding-top: 0;
    min-height: auto;
  }
  .about__poster__title {
    font-size: 48px;
    line-height: 56px;
    margin: 0 0 20px 0;
  }
  .about__poster__title .stories_circle {
    display: none;
  }
  .about__benefits {
    max-width: none;
    padding: 0 24px;
  }
  .about__benefits h3 {
    font-size: 36px;
    line-height: 44px;
  }
  .about__benefits__item {
    margin-bottom: 50px;
  }
  .about_photo {
    width: 100vw;
  }
  .about__logos {
    grid-template-columns: repeat(2, 1fr);
    padding: 70px 0;
    max-width: none;
  }
  .about__hr {
    margin-bottom: 56px;
  }
  .about .documents__link_all {
    margin-bottom: 60px;
  }

  .shift_items {
    padding: 0;
    margin-bottom: 20px;
  }

  .documents_section__h {
    font-size: 36px;
    padding: 0 24px;
    line-height: 46px;
    margin-bottom: 40px;
  }
  .documents_section .max_width {
    margin: 0;
    max-width: none;
  }
  .documents_section.section_index {
    padding: 50px 0;
  }
  .documents__link_all {
    margin: 40px 24px 0 24px;
  }
  .documents__page_pic {
    width: 100vw;
  }
  .documents__page .shift_items {
    margin-bottom: 0;
  }
  .documents__page .shift_items__item:last-child {
    margin-bottom: 0 !important;
  }
  .documents_index .documents__inner {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .documents_index .documents_item {
    margin-left: 24px;
  }
  .documents_type {
    margin: 60px 0 45px;
  }

  ._cur {
    display: none !important;
  }

  .poster {
    font-size: 36px;
    line-height: 44px;
  }
  .poster .highlight {
    box-shadow: none;
    padding: 0;
    background-color: transparent;
    font-weight: normal;
    margin: 0;
  }
  .poster__desc {
    display: none;
  }
  .poster_works .filter {
    min-width: auto;
  }
  .poster.poster_works, .poster.poster_documents {
    justify-content: flex-start;
    max-width: none;
    padding: 0 24px 48px;
    margin-top: 0;
    height: auto;
    min-height: auto;
  }
  .poster.poster_works .poster__title, .poster.poster_documents .poster__title {
    font-size: 48px !important;
    line-height: 56px !important;
  }
  .poster.poster_index {
    min-height: auto;
    height: auto;
    margin-bottom: 50px;
  }
  .poster.poster_index .poster__title b {
    font-weight: normal;
  }
  .poster.poster_index .poster__desc {
    display: none;
  }
  .poster_contain {
    width: auto;
    padding: 24px;
  }

  .header {
    height: 90px;
  }
  .header_wrap {
    height: 1px;
  }
  .header__feedback_btn {
    bottom: 82px !important;
  }

  .header,
.max_width,
.custom_form {
    padding: 0 24px;
  }

  .custom_form {
    padding-bottom: 120px;
    width: 100% !important;
  }
  .custom_form .max_width {
    padding: 0;
  }
  .custom_form .action {
    display: block;
    margin-bottom: 40px;
  }
  .custom_form .action .send_btn {
    display: block;
  }
  .custom_form .action .tip {
    margin-left: 0;
    margin-top: 16px;
  }
  .custom_form_cancel {
    top: 24px;
    right: 24px;
  }
  .custom_form textarea {
    height: 90px;
  }

  .works_index {
    padding-bottom: 50px;
  }
  .works_index .works {
    padding-top: 0;
  }
  .works_index .max_width {
    padding: 0;
  }
  .works_item {
    width: 100%;
    margin-bottom: 20px !important;
  }
  .works_item.works_item_big {
    width: 100%;
  }
  .works_item__img {
    width: 100vw;
    max-width: 100vw;
    min-height: auto;
    aspect-ratio: 450/540;
  }
  .works_item__name, .works_item__tags {
    padding: 0 24px 10px 24px;
  }
  .works_item__info {
    padding: 0 24px;
  }
  .works_item__name {
    padding: 0;
  }
  .works_item__tags {
    font-size: 18px;
    padding-bottom: 60px;
  }
  .works_item__new:after {
    right: 12px;
  }

  .footer a.phone,
.footer a.email {
    font-size: 36px;
    line-height: 44px;
  }
  .footer a.phone {
    margin-left: 0 !important;
  }
  .footer_contain {
    text-align: center;
    padding-left: 0;
  }
  .footer_schedule {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 8px;
  }
  .footer .address {
    font-size: 18px;
    line-height: 21px;
    margin-top: 8px;
  }
  .footer_fixed {
    min-height: auto;
  }
  .footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer__bottom .copyright {
    margin: 0;
    margin-bottom: 20px !important;
  }
  .footer .privacy_policy {
    flex-basis: 100%;
    padding-bottom: 22px;
  }
  .footer .privacy_policy a {
    margin-right: 0;
  }
  .footer .use_cookies_text {
    padding: 20px 20%;
  }

  .ftext {
    display: block;
    color: #000000;
    font-size: 24px;
    line-height: 32px;
  }
  .ftext__section[data-id=h1], .ftext__section[data-id=h2], .ftext__section[data-id=h3], .ftext__section[data-id=p], .ftext__section[data-id=quote], .ftext__section[data-id=author] {
    padding-left: 24px;
    padding-right: 24px;
  }
  .ftext__section[data-id=full_image] .desc, .ftext__section[data-id=image] .desc, .ftext__section[data-id=layout] .desc {
    margin-top: 16px;
    text-align: left;
    padding: 0 24px;
  }
  .ftext__section[data-id=video] .video_timeline {
    bottom: 20px;
    opacity: 1;
    left: 22px;
    right: 22px;
  }
  .ftext__section[data-id=p] {
    margin-bottom: 0;
  }
  .ftext__section h1 {
    line-height: 40px;
    font-size: 32px;
      margin-top: 72px;
  }
  .ftext__section h2 {
    font-size: 24px;
    line-height: 28px;
  }
  .ftext__section h3, .ftext__section p, .ftext__section ul, .ftext__section ol {
    font-size: 21px;
    line-height: 32px;
  }
  .ftext__section h3 {
    margin-bottom: 0;
  }
  .ftext__section blockquote {
    margin: 30px 0;
    line-height: 28px;
    font-size: 24px;
    padding: 42px 0 42px 26px;
  }
  .ftext__section.pt {
    padding-top: 32px;
  }
  .ftext__section.pb {
    padding-bottom: 32px;
  }

  .inner__poster {
    margin-bottom: 34px;
  }
  .inner_page .max_width {
    padding: 0;
  }
  .inner_page .works {
    padding-top: 0;
  }

  .magnetic {
    transform: none !important;
  }

  .dots {
    display: none !important;
  }

  .error_page {
    padding: 0 24px;
  }
  .error_page .head {
    padding: 30px 24px;
  }
  .error_page .error_text, .error_page .error_desc, .error_page .error_link {
    font-size: 24px;
    line-height: 28px;
  }
  .error_page .error_text {
    font-size: 48px;
    line-height: 56px;
    margin-bottom: 20px;
  }

  .clutch {
    margin-right: 40px !important;
  }
  .clutch:after {
    display: none;
  }

  .use_cookies {
    height: auto;
    flex-direction: column;
    padding: 16px 16px 70px;
    justify-content: space-between;
  }
  .use_cookies__msg {
    margin-bottom: 20px;
  }
  .use_cookies__btn {
    width: 100%;
  }

  .menu {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
  .menu_wrap, .menu_wrap.fixed_bottom {
    bottom: -1px;
  }

  .logos_smooth {
    display: none;
  }
}
@media screen and (max-width: 560px) {
  .poster_contain {
    width: auto;
    padding: 0 24px;
  }

  .menu {
    width: 100vw;
    text-align: center;
  }
  .menu_wrap .menu, .menu_wrap.fixed_bottom .menu {
    display: flex;
    justify-content: space-around;
    padding: 14px 0;
    border-radius: 12px 12px 0 0;
  }
  .menu_wrap .menu a, .menu_wrap.fixed_bottom .menu a {
    line-height: 30px;
    padding: 0;
    margin: 0;
  }
  .menu_wrap .menu a.active, .menu_wrap.fixed_bottom .menu a.active {
    box-shadow: -15px 0 0 0 var(--primary-color), 15px 0 0 0 var(--primary-color);
  }

  .about__inner {
    background-image: none;
  }

  .footer .use_cookies_text {
    padding: 20px 5%;
  }

  .header__feedback_btn {
    right: 12px !important;
  }
}
@media screen and (max-width: 412px) {
  .custom_form textarea {
    height: 116px;
  }
  .custom_form__complete {
    font-size: 20px;
  }

  .footer .max_width {
    padding: 0;
    align-items: center;
  }
  .footer.contacts_page .footer__bottom {
    display: none;
  }

  .menu {
    width: 100vw;
    text-align: center;
  }
  .menu_wrap .menu, .menu_wrap.fixed_bottom .menu {
    padding: 14px 10px;
  }
  .menu_wrap .menu a, .menu_wrap.fixed_bottom .menu a {
    font-size: 14px;
  }
}
@media screen and (max-height: 740px) and (min-width: 760px) {
  .footer__bottom {
    position: static;
  }
}

/* Site refresh: scoped additions, preserving the animated title. */
.refresh-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.header__project_btn { display: none; }
.poster-actions, .service-intro { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }
.poster-actions .btn, .service-intro .btn { box-sizing: border-box; max-width: 100%; }
.service-intro__price { font-size: 24px; }
.contacts_page #map .static-map { width: 100%; height: 100%; object-fit: cover; object-position: 52% 63%; display: block; }
.contacts_page #map .static-map__attr { position: absolute; right: 8px; bottom: 6px; font-size: 11px; color: rgba(255,255,255,.5); z-index: 2; }
.contacts_page #map .static-map__attr a { color: inherit; }
.contacts_page #map .refresh-map-pin { display: none; position: absolute; top: 50%; left: 50%; }
.contacts_page.show_pin #map .refresh-map-pin { display: block; }
.contacts_page #map .refresh-map-pin .map_pin__drop { clip: auto; width: min(300px, 80vw); box-sizing: border-box; }
@media screen and (max-width: 768px) {
    .header .header__feedback_btn { display: none !important; }
    .header .header__project_btn { display: inline-block; font-size: 12px; line-height: 16px; padding: 10px 12px; white-space: nowrap; }
    .header .header__info .ln_toggle { margin-left: 12px; }
    .poster-actions { flex-direction: column; align-items: stretch; }
    .poster-actions .btn { width: 100%; }
    .menu_wrap { transition: transform 200ms ease; }
    .menu_wrap.refresh-menu-hidden { transform: translate(-50%, calc(100% + 60px)) !important; pointer-events: none; }
    .body_wrapper_wrapper { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
}

/* Homepage services: independent of page initialization and hero styles. */
.home-services { padding: 64px 0; }
.home-services .section_index_h { margin: 0 0 32px; }
.home-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-services__card { display: flex; flex-direction: column; min-width: 0; box-sizing: border-box; padding: 28px; border-radius: 20px; background: var(--elem-light-grey); color: var(--primary-txt); text-decoration: none; }
.home-services__card:focus-visible { outline: 2px solid var(--primary-color); outline-offset: 4px; }
.home-services__name { margin: 0 0 12px; font-size: 24px; line-height: 29px; font-weight: bold; overflow-wrap: anywhere; }
.home-services__announce { margin: 0 0 24px; font-size: 16px; line-height: 24px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-services__price { margin-top: auto; font-size: 24px; line-height: 29px; overflow-wrap: anywhere; }
.home-services__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.home-services__actions .btn { box-sizing: border-box; max-width: 100%; white-space: normal; }
@media screen and (max-width: 1199px) { .home-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media screen and (max-width: 767px) {
    .home-services { padding: 40px 0; }
    .home-services .section_index_h { font-size: 32px; }
    .home-services__grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .home-services__card { padding: 24px; }
    .home-services__actions { flex-direction: column; align-items: stretch; }
}
