@media (max-width: 980px) {
  :root {
    --header-h: 132px;
  }

  .site-header {
    z-index: 1200;
  }

  .site-header .display-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .site-header__mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .site-header__mobile-phone {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
    background-color: var(--accent);
    position: relative;
    animation: phonePulse 1600ms ease-out infinite;
    transform: translateZ(0);
  }

  @keyframes phonePulse {
    0% {
      transform: scale(1);
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14), 0 0 0 0 rgba(247, 197, 30, 0.45);
    }
    70% {
      transform: scale(1.04);
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14), 0 0 0 14px rgba(247, 197, 30, 0);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14), 0 0 0 14px rgba(247, 197, 30, 0);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .site-header__mobile-phone {
      animation: none;
    }
  }

  .site-header__logo {
    width: auto;
    height: 40px;
  }

  .site-header__burger {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 0;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .burger-icon {
    width: 28px;
    height: 20px;
    display: grid;
    align-content: space-between;
  }

  .burger-icon__line {
    width: 100%;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
    transition: transform 220ms ease, opacity 220ms ease, background-color 220ms ease;
    transform-origin: center;
  }

  .site-header--overlay .burger-icon__line {
    background: #ffffff;
  }

  .site-header:not(.site-header--overlay) .burger-icon__line {
    background: var(--text);
  }

  body.is-menu-open .burger-icon__line {
    background: var(--text);
  }

  body.is-menu-open .burger-icon__line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  body.is-menu-open .burger-icon__line:nth-child(2) {
    opacity: 0;
  }

  body.is-menu-open .burger-icon__line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .col-wrapper {
    position: fixed;
    top: var(--toolbar-h);
    right: 0;
    width: min(360px, 86vw);
    height: calc(100vh - var(--toolbar-h));
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 260ms ease;
    z-index: 1210;
    padding: 18px 18px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.is-menu-open .col-wrapper {
    transform: translateX(0);
  }
  body.is-menu-open .menu--secondary{
    padding: 0 18px;
  }
  body.is-menu-open .site-header a,
  body.is-menu-open .site-header .menu--secondary a{
    color: var(--text);
  }
  .mobile-menu-overlay {
    position: fixed;
    top: var(--toolbar-h);
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1190;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  body.is-menu-open .mobile-menu-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  body.is-menu-open {
    overflow: hidden;
  }

  .site-header__call-to-action {
    padding: 25px 0;
    width: 100%;
  }

  .site-header__call-to-action-link {
    width: 100%;
  }

  .modal {
    padding: 12px;
  }

  .modal__dialog {
    width: 100%;
    max-height: 88vh;
    border-radius: 14px;
  }

  .usm-gallery {
    grid-template-columns: 1fr;
  }

  .ui-dialog.usm-calc-modal {
    width: calc(100% - 24px) !important;
    border-radius: 14px;
  }

  .ui-dialog.usm-calc-modal .ui-dialog-content {
    max-height: 88vh;
  }

  .site-header__row--primary {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
    flex-direction: column;
    align-items: start;
  }

  .site-header__row--secondary {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 3px solid rgba(15, 23, 42, 0.16);
    padding-left: 18px;
    margin-left: -18px;
    margin-right: -18px;
  }

  .site-header__phone {
    margin-left: 0;
    width: 100%;
  }

  .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .site-header__nav {
    width: 100%;
  }

  .menu__item {
    width: calc(100% + 36px);
    margin: 0 -18px;
    padding: 0 18px;
  }

  .menu--primary .menu__item+.menu__item,
  .menu--secondary .menu__item+.menu__item {
    border-top: 1px solid rgba(15, 23, 42, 0.12);
  }

  .menu__link {
    display: block;
    width: 100%;
    padding: 12px 6px;
  }

  .hero__title {
    font-size: 30px;
  }

  .page-hero {
    padding: calc(var(--header-offset) + 36px) 0 52px;
  }

  .page-hero__frame {
    padding: 16px;
    border-radius: 16px;
  }

  .page-hero__title {
    font-size: 30px;
  }

  .page-hero__subtitle {
    font-size: 16px;
  }

  .page-body {
    padding: 36px 0;
  }

  .section {
    padding: 52px 0;
  }

  .two-col--60-40 {
    grid-template-columns: 1fr;
  }

  .two-col--50-50 {
    grid-template-columns: 1fr;
  }

  .two-col__aside {
    justify-items: start;
  }

  .two-col--about {
    grid-template-columns: 1fr;
  }

  #about .two-col--about {
    gap: 52px;
  }

  #about .about__text .btn {
    width: 100%;
    margin-top: 52px;
    font-size: 18px;
  }

  .about-stats__row {
    grid-template-columns: 90px 1fr;
  }

  .cards--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #buildings .cards--3 {
    grid-template-columns: 1fr;
  }

  .section--buildings .purpose-card__title {
    font-size: 18px;
  }

  .section--buildings .purpose-card__text {
    font-size: 14px;
  }

  .projects__track {
    gap: 14px;
  }

  .cards--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-slide {
    flex: 0 0 calc(100% - 80px);
    min-height: 360px;
  }

  .review-slide__img {
    height: 360px;
  }

  .contacts {
    grid-template-columns: 1fr;
  }

  #contacts .section__head,
  #contacts .contacts__subtitle,
  #contacts .office-card,
  #contacts .office-card__addr,
  #contacts .office-card__links {
    text-align: center;
    padding: 0;
  }
  #contacts .section__title{
    width: 100%;
  }
  #contacts .office-card__links {
    justify-items: center;
  }

  .office-grid {
    grid-template-columns: 1fr;
  }

  .calc {
    padding: 16px;
  }

  .calc-grid--3,
  .calc-grid--2 {
    grid-template-columns: 1fr;
  }

  .tech {
    grid-template-columns: 1fr;
  }

  .section--tech .section__text {
    font-size: 14px;
    line-height: 1.45;
  }

  .tech__legend {
    text-align: left;
  }

  .tech__item {
    text-align: left;
  }

  .tech__label {
    font-size: 14px;
  }

  .tech__meta {
    justify-content: flex-start;
    font-size: 12px;
  }

  .tech__value,
  .tech__pct {
    font-size: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    text-align: center;
  }

  .footer-grid {
    justify-items: center;
  }

  .footer-col--office {
    justify-items: center;
  }

  .footer__logo {
    margin-inline: auto;
  }

  .footer__links {
    justify-items: center;
  }

  .footer-menu {
    text-align: center;
  }

  .footer-col--mobile-collapse .footer__title {
    cursor: pointer;
  }

  .footer-col--mobile-collapse .footer-menu {
    height: 0;
    overflow: hidden;
    transition: height 260ms ease;
  }

  .section--solutions .section__title {
    font-size: 24px;
  }

  .section--solutions .section__lead {
    font-size: 16px;
  }

  .section--solutions .section__text {
    font-size: 15px;
  }

  #projects .projects__controls {
    left: -40px;
    right: 0;
    width: calc(100% + 80px);
    padding: 0;
  }

  #projects .projects__btn {
    width: 52px;
    height: 52px;
    border-radius: 999px;
  }

  #projects .projects__btn[data-projects-prev] {
    border-radius: 0 999px 999px 0;
  }

  #projects .projects__btn[data-projects-next] {
    border-radius: 999px 0 0 999px;
  }

  #projects .center {
    padding-top: 52px;
  }

  #projects .center .btn {
    font-size: 16px;
  }

  #projects .project-card__title {
    font-size: 18px;
  }

  #projects .project-card__text,
  #projects .project-card__meta {
    font-size: 14px;
  }

  #reviews .reviews__controls {
    left: -20px;
    right: 0;
    width: calc(100% + 40px);
    padding: 0;
    margin: 0;
    top: 100px;
  }

  #reviews .reviews__btn {
    width: 52px;
    height: 52px;
    border-radius: 999px;
  }

  #reviews .reviews__btn[data-reviews-prev] {
    border-radius: 0 999px 999px 0;
  }

  #reviews .reviews__btn[data-reviews-next] {
    border-radius: 999px 0 0 999px;
  }

  #steps .step-card {
    min-height: auto;
  }

  #geography .geo__sticky {
    min-height: auto;
    height: 45vh;
  }

  #geography .geo__inner {
    min-height: auto;
    height: 45vh;
  }

  #geography .geo__panel {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    width: auto;
    max-height: calc(100% - 24px);
  }

  .adv-card__title{
    font-size: 18px;
  }
}

@media (max-width: 620px) {
  :root {
    --header-h: 150px;
  }

  .site-header__logo {
    width: auto;
    height: 40px;
  }

  .site-header__row--secondary {
    padding: 6px 0;
  }

  .hero__content {
    padding-bottom: 18px;
    min-height: auto;
  }

  .hero__card {
    padding: 16px;
  }

  .projects__track {
    gap: 12px;
  }

  .hero__title {
    font-size: 26px;
  }

  .section__title {
    font-size: 26px;
  }

  .section--solutions .section__title {
    font-size: 22px;
  }

  .section--solutions .section__lead {
    font-size: 15px;
  }

  .section--solutions .section__text {
    font-size: 14px;
  }

  .about-stats__value {
    font-size: 22px;
  }

  .cards--3 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards--2 {
    grid-template-columns: 1fr;
  }

  .review-slide {
    flex: 0 0 100%;
    min-height: auto;
  }

  .review-slide__photo {
    width: 100%;
    margin-left: 0;
  }

  .review-slide__img {
    height: 260px;
  }

  .review-card {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin-top: -28px;
  }

  .project-card__img {
    height: 200px;
  }

  .house-media__img {
    height: 280px;
  }

  .faq {
    gap: 10px;
  }

  .faq-item__btn {
    grid-template-columns: 32px 1fr;
    padding: 14px 14px;
    gap: 10px;
  }

  .faq-item__icon {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .faq-item__q {
    font-size: 16px;
  }

  .faq-item__text {
    padding: 0 14px 14px 56px;
  }

  .faq-item__panel {
    overflow: hidden;
    transition: height 280ms ease;
  }

  .map__frame {
    height: 320px;
  }

  .tech-chart {
    width: 260px;
    height: 260px;
  }

  .tech-total__num {
    font-size: 36px;
  }

  .tech-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .section--tech .section__text {
    font-size: 14px;
  }

  .tech__label {
    font-size: 14px;
  }

  .tech__value,
  .tech__pct {
    font-size: 14px;
  }
}