/* Shared phone and tablet layouts. Desktop artwork stays in site-sections.css. */
.mobile-menu-icon:focus-visible {
  outline: 2px solid #4b83ff;
  outline-offset: 3px;
}

@media (min-width: 993px) and (max-width: 1199px) {
  .main-menu {
    column-gap: 18px;
  }
  .header-right {
    column-gap: 16px;
  }
  .header-right .default-btn {
    padding: 14px 44px 14px 18px;
  }
}

@media (max-width: 992px) {
  html {
    scroll-padding-top: 88px;
  }
  body {
    cursor: auto;
  }
  body header.main-header.transparent,
  body:not(.viewport-lg) header.main-header.transparent {
    position: fixed;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #edf0f5;
    cursor: auto;
  }
  .saas-home header.main-header.transparent {
    background: #191fb3;
  }
  .navigation-inner {
    min-height: 76px;
    gap: 16px;
  }
  .navigation-inner .site-logo {
    max-width: 160px;
    padding: 10px 0;
  }
  .navigation-inner .site-logo img {
    display: block;
    width: 100%;
    height: auto;
  }
  .header-right {
    gap: 12px;
    flex-shrink: 0;
  }
  .header-right .sidebar-trigger {
    display: none;
  }
  .header-right .mobile-menu-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: #191d28;
    cursor: pointer;
  }
  .navigation-menu {
    display: none;
  }
  .dl-cursor {
    display: none;
  }
  :is(.row, .contact-form-group, .mv-grid, .pricing-plans) > * {
    min-width: 0;
  }
  :is(.hero-section, .app-hero, .saas-hero, .tech-hero) {
    padding-top: 120px;
  }
  :is(
    .hero-img-holder,
    .saas-illustration,
    .tech-img-holder,
    .it-content-img,
    .content-img-holder,
    .app-img-holder
  ) {
    max-width: 100%;
  }
  .hero-img-holder {
    margin-left: 0;
  }
  .it-content-img {
    width: 100%;
    background-size: contain;
  }
  .it-content-img img {
    width: 100%;
    max-width: 450px;
    height: auto;
    margin-top: 24px;
  }
  .steps-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 0;
  }
  .steps-ribbon,
  .steps-list::before,
  .step-pin {
    display: none;
  }
  .steps-list .step {
    padding: 16px;
    text-align: center;
  }
  .steps-list .step-badge {
    position: static;
    transform: none;
    margin: 0 auto 16px;
  }
  .steps-list .step-title {
    margin: 0 0 8px;
  }
  .steps-list .step-text {
    max-width: 100%;
  }
  .approach-steps {
    min-height: 0;
  }
  .project-info-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pricing-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .coverflow-wrap {
    padding: 24px 44px 40px;
  }
  .t-carousel {
    overflow: hidden;
  }
  .t-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .ghost-card {
    display: none;
  }
  .device-stage {
    max-width: 100%;
  }
  .it-cta-wrap .it-cta-img {
    max-width: 100%;
  }
  .footer-section .container {
    padding-right: 20px;
    padding-left: 20px;
  }
  .footer-area {
    row-gap: 28px;
  }
  .location-line,
  .business-id,
  .phone-number {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 767px) {
  :root {
    --floating-button-size: 44px;
    --floating-button-bottom: max(16px, env(safe-area-inset-bottom));
    --floating-button-right: max(16px, env(safe-area-inset-right));
    --floating-button-gap: 12px;
  }
  body {
    font-size: 16px;
    line-height: 1.65;
  }
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  h1,
  h2,
  h3,
  p {
    overflow-wrap: break-word;
  }
  h1 {
    font-size: clamp(30px, 7.5vw, 42px);
    line-height: 1.18;
    letter-spacing: -0.7px;
  }
  h2,
  .section-heading h2 {
    font-size: clamp(25px, 6.5vw, 34px);
    line-height: 1.25;
    letter-spacing: -0.5px;
  }
  h3 {
    line-height: 1.4;
  }
  p,
  .section-heading p {
    font-size: 16px;
    line-height: 1.7;
  }
  .section-heading br,
  .hero-content br,
  .page-header br {
    display: none;
  }
  .padding {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .padding-top {
    padding-top: 48px;
  }
  .padding-bottom {
    padding-bottom: 48px;
  }
  .sm-padding {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .page-header {
    padding: 120px 0 48px;
    min-height: 0;
  }
  .page-header h1,
  .page-header h2 {
    font-size: clamp(28px, 7vw, 38px);
    line-height: 1.25;
  }
  .hero-section {
    padding-top: 112px;
    padding-bottom: 48px;
  }
  .hero-content h1 {
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.18;
  }
  :is(.app-hero, .saas-hero, .tech-hero) .hero-content h1 {
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.18;
  }
  .hero-content p {
    font-size: 16px;
    line-height: 1.7;
  }
  .hero-wrap,
  .content-area {
    row-gap: 24px;
  }
  .hero-img-holder {
    width: 100%;
    margin-top: 20px;
  }
  #homeHero .hero-bubble {
    --bubble-size: min(100%, 340px);
    position: relative;
    right: auto;
    bottom: auto;
    margin: 24px auto 0;
    opacity: 1;
    transform: none;
    animation: none;
  }
  #homeHero.is-inview .hero-bubble {
    animation: none;
  }
  .hero-img-holder .animated-shape {
    width: 100%;
    max-width: 100%;
  }
  .saas-illustration img {
    max-width: 100%;
    height: auto;
  }
  .btn-group {
    flex-wrap: wrap;
    gap: 12px;
  }
  .default-btn {
    min-height: 44px;
  }
  .content-area {
    padding-left: 0;
    padding-right: 0;
  }
  .content-img-holder {
    margin-bottom: 16px;
  }
  .animated-dots,
  .anim-illustration {
    display: none;
  }
  .wow {
    visibility: visible !important;
    animation: none !important;
  }
  .animate-fade-scale,
  #capabilitiesSection .content-img-holder,
  #capabilitiesSection .content-info > *,
  #projectSection .section-heading,
  .it-cta-wrap .section-heading,
  .it-cta-wrap .btn-group {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .mv-grid,
  .pricing-plans,
  .project-info-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .promo-ribbons {
    gap: 20px;
    padding: 0;
  }
  .ribbon {
    opacity: 1;
    transform: none;
  }
  .ribbon__bar,
  .ribbon--flip .ribbon__bar {
    height: auto;
    min-height: 56px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .ribbon__bar::after,
  .ribbon__bar::before {
    display: none;
  }
  .ribbon__title {
    white-space: normal;
    font-size: 15px;
    line-height: 1.4;
  }
  .ribbon--flip .ribbon__bar {
    padding-left: 16px;
    padding-right: 62px;
  }
  .mv-card,
  .pricing-plan,
  .pricing-table,
  .service-details-content,
  .blog-details-content {
    min-width: 0;
    overflow-wrap: break-word;
  }
  .project-details-content img,
  .service-details-content img,
  .blog-details-content img {
    max-width: 100%;
    height: auto;
  }
  .project-info-list {
    padding: 24px 20px;
    gap: 20px;
  }
  .project-carousel-wraper {
    padding-left: 0;
    padding-right: 0;
  }
  .coverflow-wrap {
    padding: 20px 12px 40px;
  }
  .coverflow-swiper .swiper-slide {
    width: min(260px, 75vw);
  }
  .cf-card img {
    height: 280px;
  }
  .cf-meta {
    padding: 12px;
  }
  .cf-title {
    font-size: 18px;
  }
  .cf-cat {
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .t-carousel {
    padding: 12px 12px 76px;
  }
  .t-track {
    gap: 20px;
    touch-action: pan-y;
  }
  .t-card {
    padding: 84px 20px 24px;
  }
  .t-avatar {
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
  }
  .t-card::after {
    top: 24px;
    right: 20px;
    font-size: 48px;
  }
  .t-quote {
    font-size: 15px;
    line-height: 1.7;
  }
  .t-nav {
    top: auto;
    bottom: 12px;
    transform: none;
    width: 44px;
    height: 44px;
  }
  .t-prev {
    left: calc(50% - 52px);
  }
  .t-next {
    right: calc(50% - 52px);
  }
  .t-nav:hover {
    transform: none;
  }
  .t-dots {
    flex-wrap: wrap;
  }
  .testimonial-stack-container {
    display: grid;
    height: auto;
    padding: 20px 4px;
  }
  .testimonial-stacked-card {
    position: relative;
    grid-area: 1 / 1;
    min-width: 0;
    margin: 0;
    pointer-events: none;
  }
  .testimonial-stacked-card.active {
    pointer-events: auto;
  }
  .testimonial-card-front {
    padding: 24px 20px;
  }
  .testimonial-card-back {
    transform: rotate(-3deg);
  }
  .testimonial-header {
    align-items: flex-start;
    gap: 12px;
  }
  .testimonial-avatar {
    flex-shrink: 0;
  }
  .author-role {
    overflow-wrap: anywhere;
  }
  .device-stage {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .device {
    width: min(300px, calc(100vw - 56px));
    height: auto;
    aspect-ratio: 1 / 2;
    border-width: 8px;
    border-radius: 34px;
  }
  .device-screen {
    border-radius: 24px;
  }
  .post-card-mini .mini-body {
    padding: 12px;
  }
  .post-card-mini .mini-body p {
    font-size: 14px;
    line-height: 1.5;
  }
  .features-tab .tab-thumb .animated-shape {
    max-width: 100%;
  }
  .features-tab .nav {
    flex-wrap: wrap;
    gap: 8px;
  }
  .app-img-holder .download-moc {
    width: min(100%, 300px);
  }
  .projects-counters.animated-counter-section {
    margin: 32px 16px;
    padding: 40px 12px;
    border-radius: 20px;
  }
  .projects-counters .counter-box {
    flex-basis: calc(50% - 15px);
    min-width: 0;
  }
  .projects-counters .counter,
  .projects-counters .unit {
    font-size: 32px;
  }
  .projects-counters .counter-box p {
    font-size: 14px;
    line-height: 1.5;
  }
  .contact-section {
    padding-top: 112px;
  }
  .contact-form-group {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-form-group .form-field,
  .contact-form .form-field.submit-btn {
    grid-column: 1 / -1;
    min-width: 0;
  }
  input,
  select,
  textarea,
  .form-control {
    font-size: 16px;
    max-width: 100%;
  }
  textarea.form-control {
    min-height: 140px;
  }
  .address-row {
    gap: 24px;
  }
  .address-block {
    min-width: 0;
    flex: 1 1 100%;
    align-items: flex-start;
  }
  .contact-details li i,
  .address-block i {
    flex-shrink: 0;
  }
  .contact-details li a,
  .address-block a {
    overflow-wrap: anywhere;
  }
  .map-wrapper.two-maps .map-block {
    flex-basis: 100%;
    padding: 16px 20px;
  }
  .map-wrapper.two-maps iframe {
    height: 280px;
  }
  .contact-form-wrap,
  .team-form {
    max-width: 100%;
  }
  .page-header.error {
    height: auto;
    min-height: 70svh;
  }
  .blog-content,
  .blog-details-content,
  .sidebar-widget {
    overflow-wrap: anywhere;
  }
  .pagination,
  .post-meta,
  .tags {
    flex-wrap: wrap;
    gap: 8px;
  }
  .footer-section .footer-area {
    row-gap: 20px;
  }
  .footer-widget p {
    max-width: 100%;
  }
  .footer-logo img {
    max-width: 180px;
    height: auto;
  }
  .footer-social li a {
    width: 44px;
    height: 44px;
  }
  .footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .footer-social li,
  .footer-social li:not(:last-of-type) {
    margin: 0;
  }
  .footer-social li a:after {
    width: 100%;
    height: 100%;
  }
  .footer-list a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .copyright-text {
    padding: 20px 0 88px;
    font-size: 13px;
    line-height: 1.7;
  }
  .pcbt-panel {
    max-height: calc(100dvh - 100px);
  }
  .pcbt-panel.open {
    right: 12px;
    left: 12px;
    bottom: calc(var(--floating-button-bottom) + var(--floating-button-size) + 12px);
    width: auto;
  }
  #scrollup,
  .pcbt-launcher {
    touch-action: manipulation;
  }
}

@media (max-width: 575px) {
  .header-right > .default-btn {
    display: none !important;
  }
  .steps-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .steps-list .step {
    text-align: left;
    padding: 12px 0;
  }
  .steps-list .step-badge {
    margin-left: 0;
  }
  .footer-area > [class*='col-'] {
    width: 100%;
  }
  .site-preloader .preloader-logo {
    width: 160px;
    height: 54px;
  }
}

@media (max-width: 359px) {
  .container,
  .footer-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .navigation-inner .site-logo {
    max-width: 140px;
  }
  .default-btn {
    padding-left: 18px;
    padding-right: 48px;
    font-size: 13px;
  }
  .device {
    width: calc(100vw - 48px);
  }
}

@media (hover: none), (pointer: coarse) {
  body,
  body.viewport-lg,
  header.main-header.transparent {
    cursor: auto;
  }
  .dl-cursor {
    display: none;
  }
  .project-item .project-content {
    bottom: 0;
    padding-bottom: 24px;
  }
  .project-item:hover .project-content {
    padding-bottom: 24px;
  }
}
