/* Adaptive styles for ramnet theme */

@media (max-width: 1550px) {
  .boss__container,
  .bus__container,
  .jobs__container,
  .people__container,
  .project__wrapper,
  .quietion__container,
  .say__container,
  .time__container,
  .form__container,
  .all__project__container,
  .page-hero__container,
  .solution__container,
  .benefits__container,
  .specs-features__container,
  .gallery__container,
  .testimonials-mini__container,
  .work-steps__container,
  .final-cta__container,
  .action__container,
  .footer__flex,
  .footer__offer {
    max-width: 1350px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .page-hero {
    padding: 12rem 0 6rem 0;
  }

  /* Header Ð½ÐµÐ¼Ð½Ð¾Ð³Ð¾ ÐºÐ¾Ð¼Ð¿Ð°ÐºÑ‚Ð½ÐµÐµ Ð½Ð° Ð½Ð¾ÑƒÑ‚Ð±ÑƒÐºÐ°Ñ… */
  .header__container {
    padding: 0 32px;
  }

  .hero {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .time__cards {
    padding: 4rem 0;
  }
  .jobs__wrapper {
    justify-content: center;
    gap: 2.5rem;
  }
  .boss__lines {
    gap: 11rem;
  }

  /* Hero: ÑƒÐ¼ÐµÐ½ÑŒÑˆÐ°ÐµÐ¼ â€œÑ€Ð°Ð·Ð»ÐµÑ‚â€ Ñ‚ÐµÐºÑÑ‚Ð° */
  .hero__content {
    margin-left: 32px;
    margin-right: 32px;
    margin-top: 8rem;
    max-width: 820px;
  }

  .hero__title-line {
    margin-left: 12rem;
  }

  .hero__subtitle_second {
    margin-left: 6rem;
  }

  .features {
    width: 560px;
  }

  .button__container__main {
    width: 560px;
  }

  /* Jobs: Ð¸Ð·Ð±ÐµÐ³Ð°ÐµÐ¼ Ñ‚ÐµÑÐ½Ð¾Ñ‚Ñ‹, Ð½Ð¾ Ð±ÐµÐ· â€œÐ¿ÑƒÑÑ‚Ð¾Ñ‚Ñ‹â€ */
  .jobs__container {
    max-width: 1280px;
    padding-left: 32px;
    padding-right: 32px;
  }

  .jobs__cards {
    width: 760px;
  }

  /* Service cards: ÑƒÐ¼ÐµÐ½ÑŒÑˆÐ°ÐµÐ¼ Ð±Ð¾ÐºÐ¾Ð²Ñ‹Ðµ Ð¿Ð¾Ð»Ñ */
  .service__card {
    padding: 110px 60px;
  }

  .title__service {
    padding-left: 60px;
  }

  /* Projects */
  .project__card {
    padding: 24rem 3rem 3rem;
  }
}

@media (max-width: 1200px) {
  .boss__container,
  .bus__container,
  .jobs__container,
  .people__container,
  .project__wrapper,
  .quietion__container,
  .say__container,
  .time__container,
  .form__container,
  .all__project__container,
  .page-hero__container,
  .solution__container,
  .benefits__container,
  .specs-features__container,
  .gallery__container,
  .testimonials-mini__container,
  .work-steps__container,
  .final-cta__container,
  .action__container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero__content {
    margin-left: 24px;
    margin-right: 24px;
    margin-top: 6rem;
    max-width: 100%;
  }

  .hero__title-line,
  .hero__title-line-second {
    font-size: 64px;
  }

  .hero__subtitle,
  .hero__subtitle_second {
    font-size: 44px;
  }

  .jobs__container {
    gap: 32px;
  }

  .jobs__cards {
    width: 60%;
  }

  .people__card {
    width: calc(50% - 2rem);
  }

  .service__card__bg__wrapper {
    width: 50%;
    flex-basis: 50%;
  }

  .all__project__card {
    width: calc(50% - 1rem);
  }

  .project__video {
    width: 100%;
    max-width: 800px;
    height: 420px;
  }
}

@media (max-width: 992px) {
  .header {
    height: 84px;
  }

  .header__container {
    padding: 0 18px;
  }

  .menu__text,
  .call__to__action__button {
    font-size: 14px;
  }

  .hero {
    padding-top: 110px;
    padding-bottom: 56px;
  }

  .hero__background {
    width: 70%;
    opacity: 0.5;
  }

  .hero__title-line,
  .hero__title-line-second {
    font-size: 52px;
    margin-left: 0;
    line-height: 1.1;
  }

  .hero__subtitle,
  .hero__subtitle_second {
    font-size: 34px;
    margin-left: 0;
    width: auto;
  }

  .features,
  .button__container__main,
  .boss__text,
  .form__title__second,
  .project__about {
    width: 100%;
    max-width: 100%;
  }

  .project__wrapper,
  .footer__flex,
  .form__inner__flex,
  .testimonials-mini__flex,
  .final-cta__container,
  .action__container,
  .spec__flex,
  .spec__flex__second,
  .page__job__about {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 2rem 1rem;
  }

  .boss__lines {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 2rem 1rem;
  }

  .title__boss,
  .title__business,
  .title__job,
  .title__people,
  .title__quietion,
  .title__say {
    position: static;
    padding: 20px 0 12px;
  }

  .jobs {
    padding: 64px 0;
  }

  .jobs__container {
    flex-direction: column;
    height: auto;
    gap: 20px;
  }

  .jobs__wrapper,
  .jobs__cards {
    width: 100%;
    padding: 0;
  }

  .jobs__wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
  }

  .button__container__jobs {
    width: 100%;
    text-align: center;
  }

  .jobs__items {
    height: auto;
    font-size: 14px;
    line-height: 1.3;
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 8px 12px;
    border-radius: 999px;
  }

  .jobs__items.active {
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.12);
  }

  .jobs__items.active::after {
    display: none;
  }

  .jobs__item__card {
    position: relative;
    width: 100%;
    min-height: 0;
    padding: 22px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    background: #303030;
  }

  .jobs__item__card .card__bg,
  .jobs__item__card .card__bg__effect {
    display: none;
  }

  .jobs__item__card.active {
    display: none;
  }

  .jobs__cards {
    position: relative;
    z-index: 1;
    padding: 0;
    gap: 16px;
  }

  .jobs__hr {
    width: 100%;
    max-width: 220px;
  }

  .cards__text {
    width: 100%;
    max-width: 100%;
    line-height: 1.5;
  }

  .people__card__wrapper {
    max-height: none;
    overflow: visible;
    padding: 32px 0 56px;
    gap: 24px;
  }

  .project__left__columns,
  .project__right__columns {
    width: 100%;
    gap: 24px;
  }

  .project__card {
    padding: 220px 24px 24px;
  }

  .quietion__container {
    padding-top: 24px;
    padding-bottom: 56px;
  }

  .quietion__answer {
    margin-left: 0;
  }

  .service__card {
    padding: 80px 24px;
  }

  .time__cards {
    gap: 28px;
    padding: 40px 0 56px;
  }

  .time__card {
    width: calc(50% - 14px);
  }

  #form {
    width: 100%;
  }

  .form__images,
  .form__images__fon {
    display: none;
  }

  .page-hero {
    padding: 200px 0 70px;
  }

  .page-hero__container {
    flex-direction: column;
    align-items: center;
  }

  .page-hero__image {
    position: static;
    width: 100%;
    height: 360px;
    margin-top: 24px;
  }

  .page-hero__title,
  .page-hero__title__second {
    font-size: 44px;
  }

  .benefits__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .steps__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .specs-features__section-title {
    font-size: 25px;
}
  .service__ansver__lines {
    flex-direction: column;
  }
  .all__project__card__inset {
    opacity: 1;
    background: #282828c2;
    padding: 1rem;
}
  .page-hero {
    height: 100vh;
    padding: 15rem 0;
  }
  .page-hero__image {
    display: none;
  }

  .mobile__run__line {
    display: block;
    text-align: center;
    font-size: 25px;
  }
  .page-hero__image__mobile {
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    height: 55%;
    background-position: center;
  }
  .hero__lines {
    display: none;
  }

  .hero__lines__second {
    display: none;
  }

  .hero__lines__third {
    display: none;
  }
  .project__card__inset {
    opacity: 1;
    background: #282828c2;
    padding: 1rem;
  }
  .service__card__hidden {
    opacity: 1;
  }
  .service__card__bg {
    opacity: 1;
  }
  .service__card__bg__wrapper {
    position: relative;
  }
  .service__grid {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex-wrap: wrap;
    width: 100%;
  }
  .logo {
    width: 90px;
    height: 52px;
  }

  .people__card__wrapper__mobile {
    display: block;
    filter: invert(1);
  }

  .people__card__logo_line {
    filter: invert(1);
  }

  .people__card__text {
    filter: invert(1);
  }
  .people__card__wrapper {
    display: none;
  }
  #show__people {
    display: none;
  }
  .hero__background-image {
    display: none;
  }
  .hero__background-image-mobile {
    width: 150%;
    height: 50%;
    top: 0;
    position: absolute;
    background-size: cover;
    background-position: -10rem;
    z-index: 1;
    display: block;
  }
  .hero__background-image-mobile-effect {
    width: 150%;
    height: 50%;
    top: 5rem;
    position: absolute;
    background-size: cover;
    background-position: -10rem;
    z-index: -1;
    filter: blur(15px);
  }
  .header {
    height: 72px;
  }

  .header__container {
    padding: 0 12px;
  }

  .call__to__action {
    display: block;
  }

  .menu__text {
    display: none;
  }

  .menu__icon {
    width: 46px;
  }

  .menu__line:first-child,
  .menu__line:last-child {
    width: 40px;
  }

  .menu__line--middle {
    width: 44px;
    left: -4px;
  }

  .hero {
    padding-top: 200px;
    padding-bottom: 90px;
    height: 100vh;
  }

  .hero__background {
    width: 100%;
    opacity: 0.25;
  }

  .hero__content {
    margin: 0 auto;
    padding: 0 1rem;
  }

  .hero__title {
    margin-bottom: 57px;
  }

  .page__job__container {
    padding: 5rem 1rem;
  }

  .hero__title-line,
  .hero__title-line-second {
    font-size: 36px;
  }

  .hero__subtitle,
  .hero__subtitle_second {
    font-size: 24px;
  }

  .features__text {
    font-size: 14px;
  }

  .button__main,
  .button__main__black {
    width: 100%;
    max-width: 320px;
  }

  .button__container__service,
  .button__container__jobs,
  .button__container__main {
    width: 100%;
    margin: 0 auto;
  }

  .bus__hero,
  .time__hero,
  .project__title,
  .all__project__title,
  .solution__title,
  .section__title,
  .form__title,
  .form__title__second,
  .project__video__tile {
    font-size: 30px;
    line-height: 1.25;
    height: auto;
    text-align: left;
    justify-content: flex-start;
    padding: 20px 0;
  }

  .jobs {
    padding: 48px 0;
  }

  .title__job {
    padding-bottom: 16px;
  }

  .jobs__container {
    gap: 14px;
  }

  .jobs__wrapper {
    gap: 8px;
    overflow-x: auto;
    flex-wrap: wrap;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }

  .jobs__items {
    white-space: nowrap;
    flex: 0 0 auto;
    font-size: 13px;
    padding: 8px 10px;
  }

  .jobs__item__card {
    padding: 16px 14px;
    border-radius: 8px;
  }

  .jobs__cards {
    gap: 12px;
  }

  .cards__title {
    font-size: 15px;
  }

  .cards__text {
    font-size: 13px;
  }

  .bus__cards__wrapper {
    top: 0;
    gap: 20px;
    padding-bottom: 5rem;
  }

  .bus__card {
    width: 100%;
    padding-bottom: 0;
  }

  .bus__text {
    width: 100%;
    opacity: 1;
  }

  .people__card,
  .time__card,
  .all__project__card,
  .service__card__bg__wrapper {
    width: 100%;
  }

  .project__card {
    padding: 150px 16px 16px;
  }

  .project__card__title,
  .all__project__card__title {
    font-size: 22px;
    line-height: 1.2;
  }

  .project__about,
  .all__project__about,
  .solution__text,
  .solution__text__flex,
  .specs-features__desc {
    font-size: 16px;
    line-height: 1.5;
  }

  .quietion__quietion {
    font-size: 22px;
    line-height: 1.3;
  }

  .quietion__answer {
    font-size: 16px;
    line-height: 1.4;
    display: none;
  }

    .quietion__answer.active {
    display: block;
  }

  .say_hero {
    width: 100%;
    font-size: 22px;
    line-height: 1.4;
    padding: 56px 0;
  }

  .service__card {
    padding: 65px 16px;
  }

  .service__card__title {
    font-size: 24px;
    min-height: auto;
    max-width: 100%;
  }

  .form__container {
    padding-top: 32px;
    padding-bottom: 40px;
  }

  .form__text {
    font-size: 18px;
    line-height: 1.5;
  }

  .form__input {
    font-size: 16px;
  }

  .call__to__action__form__inset,
  .call__to__action__form__success {
    width: calc(100vw - 24px);
    padding: 48px 20px 24px;
  }

  .page-hero__title,
  .page-hero__title__second {
    font-size: 30px;
    margin-bottom: 0;
  }

  .page-hero__title__small {
    font-size: 28px;
  }

  .hero__promo {
    font-size: 18px;
    padding: 16px;
    background-image: none !important;
    text-align: center;
  }

  .hero__promo span {
    font-size: 18px;
  }

  .hero__stats {
    margin: 24px 0;
    gap: 8px;
  }

  .gallery__grid,
  .steps__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .project__video {
    height: 260px;
  }

  .footer__logo {
    width: 100%;
  }

  .footer__info__flex {
    gap: 6px;
  }

  .telegramm__text {
    display: none;
  }
}

@media (max-width: 480px) {
  .people__card__title__and__start {
    flex-direction: column;
  }
  .boss__container,
  .bus__container,
  .jobs__container,
  .people__container,
  .project__wrapper,
  .quietion__container,
  .say__container,
  .time__container,
  .form__container,
  .all__project__container,
  .page-hero__container,
  .solution__container,
  .benefits__container,
  .specs-features__container,
  .gallery__container,
  .testimonials-mini__container,
  .work-steps__container,
  .final-cta__container,
  .action__container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .service__card__bg {
    opacity: 1;
  }

  .people__card,
  .time__card,
  .all__project__card,
  .service__card__bg__wrapper {
    width: 100%;
    flex-basis: 100%;
    position: relative;
  }

  .hero__title-line,
  .hero__title-line-second {
    font-size: 30px;
  }

  .hero__subtitle,
  .hero__subtitle_second {
    font-size: 20px;
  }

  .service__card__title,
  .project__card__title,
  .all__project__card__title {
    font-size: 20px;
  }

  .say_hero,
  .quietion__quietion {
    font-size: 20px;
  }

  .project__video {
    height: 210px;
  }
}
