/*
 * ALFASAM — изолированные стили страницы «О компании»
 * Все правила работают только внутри .alfasam-about.
 * Старые normalize.css, styles.css и media.css для этого блока подключать не нужно.
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

.alfasam-about {
  width: 100%;
  max-width: 100%;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #131313;
  line-height: 1.15;
  isolation: auto;
}

.alfasam-about,
.alfasam-about *,
.alfasam-about *::before,
.alfasam-about *::after {
  box-sizing: border-box;
}

.alfasam-about img {
  border-style: none;
}

.alfasam-about button,
.alfasam-about input,
.alfasam-about select,
.alfasam-about textarea {
  font-family: inherit;
}


/* заголовок */

.alfasam-about .tittle-top {
  max-width: 1170px;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35vh;
  margin-top: 100px;
}

.alfasam-about .tittle-top__text h2 {
  font-size: 40px;
  margin-bottom: 0;
  color: #131313;
  text-align: center;
  line-height: 1.2;
}

/* заголовок */

/* О компании*/

.alfasam-about .banner-top {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  margin-bottom: -30px;
}

.alfasam-about .banner-top__img {
  width: 50%;
  padding: 30px;
}

.alfasam-about .banner-top__img img {
  max-width: 100%;
}

.alfasam-about .banner-top__text h2 {
  font-size: 30px;
  color: #131313;
}

.alfasam-about .banner-top__text {
  max-width: 50%;
}

.alfasam-about .banner-top__text p {
  font-size: 17px;
  line-height: 1.5;
  color: #888888;
}

.alfasam-about .bold-bold {
  color: red;
  font-weight: 700;
  font-size: 22px;
}

.alfasam-about .bold-bold-black {
  font-weight: 700;
  color: #131313;
  font-size: 22px;
}

/* О компании*/

.alfasam-about .servises-tittle {
  margin: 0 auto;
  text-align: center;
}

.alfasam-about .servises-tittle h2 {
  font-size: 35px;
  position: relative;
}

.alfasam-about .services-cards {
  display: flex;
  justify-content: space-between;
  margin-top: 80px;
}

.alfasam-about .services-card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: auto;
  height: auto;
  padding: 2.8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ddddde, #ffffff);
  box-shadow: 20px 20px 60px #d0d1d2, 
             -20px -20px 60px #ffffff;
  border: 30px #f1f8fd;
}

.alfasam-about .services-card-icon img {
  width: 78px;
  height: 78px;
  padding: 15px;
}

.alfasam-about .services-card {
  height: 200px;
  width: 22%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.alfasam-about .services-card-text h3 {
  font-size: 17px;
  color: #131313;
  padding-top: 10px;
  position: relative;
}

.alfasam-about .services-card-text p {
  font-size: 15px;
  color: #131313;
  text-align: center;
  margin-top: 15px;
}

.alfasam-about .services-equip {
  margin-top: 50px;
}

.alfasam-about .equip-card {
  display: flex;
  border-radius: 15px;
  width: 80%;
  height: auto;
  margin: 0 auto;
  align-items: center;
  justify-content: space-around;
  padding: 20px 10px;
  background: #ffffff;
  padding-top: 50px;
}

.alfasam-about .equip-card-left {
  display: flex;
  border-radius: 15px;
  width: 80%;
  height: auto;
  margin: 0 auto;
  align-items: center;
  justify-content: space-around;
  padding: 20px 10px;
  background: #ffffff;
  padding-top: 50px;
}

.alfasam-about .equip-cards {
  display: flex;
  flex-direction: column;
}

.alfasam-about .equip-card-icon {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alfasam-about .equip-card-icon img {
  max-width: 450px;
}

.alfasam-about .equip-card-text {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.alfasam-about .equip-card-text-left {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
}

.alfasam-about .equip-card-text-left h3 {
  font-size: 20px;
}

.alfasam-about .equip-card-text-left p {
  font-size: 15px;
  margin-top: 10px;
  line-height: 1.5;
  color: #888888;
}

.alfasam-about .equip-card-text-left li {
  font-size: 15px;
  margin-top: 10px;
  color: #888888;
  line-height: 1.5;
}

.alfasam-about .equip-card-text-left ul {
  margin: 0;
}

.alfasam-about .equip-card-text h3 {
  font-size: 20px;
}

.alfasam-about .equip-card-text li {
  font-size: 15px;
  margin-top: 10px;
  color: #888888;
}

.alfasam-about .equip-card-text ul {
  margin: 0;
  line-height: 1.5;
}

.alfasam-about .equip-card-text p {
  font-size: 15px;
  margin-top: 10px;
  line-height: 1.5;
  color: #888888;
}

.alfasam-about .features-tittle h2 {
  font-size: 35px;
  position: relative;
  text-align: center;
}

.alfasam-about .features-cards {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  width: 90%;
  margin: 0 auto;
}

.alfasam-about .features-card {
  display: flex;
  flex-direction: column;
  border-radius: 15px;
  align-items: center;
  padding: 40px;
  margin: 20px 20px;
  background: linear-gradient(0deg, #ffffff, #ececec);
  background-size: 400% 400%;
  -webkit-animation: AnimationName 3s ease infinite;
  animation: grad 3s ease infinite;
  box-shadow: 7px 7px 30px #d9d9d9, 
             -7px -7px 30px #ffffff;
}

.alfasam-about .features {
  margin-top: 100px;
}

.alfasam-about .features-card-img {
  background: linear-gradient(145deg, #ddddde, #ffffff);
  box-shadow: 20px 20px 60px #d0d1d2, -20px -20px 60px #ffffff;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alfasam-about .features-card-img img {
  width: 100px;
  height: 100px;
  padding: 15px;
}

.alfasam-about .features-card-text p {
  font-size: 15px;
  color: #131313;
  text-align: center;
}

.alfasam-about .work-step {
  margin-top: 100px;
}

.alfasam-about .work-step-tittle h2 {
  font-size: 35px;
  position: relative;
  text-align: center;
  color: #131313;
}

.alfasam-about .work-step-cards {
  display: flex;
  flex-direction: column;
}

.alfasam-about .work-step-card {
  display: flex;
  flex-direction: row;
  padding: 20px;
  align-items: center;
  justify-content: space-around;
}

.alfasam-about .work-step-card-reverse {
  display: flex;
  flex-direction: row;
  padding: 20px;
  align-items: center;
  justify-content: space-around;
}

.alfasam-about .work-step-card-img {
  width: 30%;
}

.alfasam-about .work-step-card-img img {
  width: 100%;
}

.alfasam-about .work-step-card-img-reverse {
  width: 30%;
}

.alfasam-about .work-step-card-img-reverse img {
  width: 100%;
}

.alfasam-about .work-step-card-text {
  width: 60%;
}

.alfasam-about .work-step-card-text h4 {
  font-size: 20px;
}

.alfasam-about .work-step-card-text p {
  font-size: 15px;
  color: #888888;
}

.alfasam-about .work-step-card-text-reverse {
  width: 60%;
}

.alfasam-about .work-step-card-text-reverse h4 {
  font-size: 20px;
}

.alfasam-about .work-step-card-text-reverse p {
  font-size: 15px;
  color: #888888;
}

.alfasam-about .attent {
  display: flex;
  flex-direction: row;
  height: auto;
  align-items: center;
  justify-items: center;
  width: 100%;
  margin: 30px auto;
  border-radius: 15px;
  background: linear-gradient(0deg, #aa0b08, #eb3734);
  background-size: 400% 400%;
  -webkit-animation: AnimationName 2s ease infinite;
  animation: grad 2s ease infinite;
  box-shadow: 20px 20px 60px #d0d1d2, -20px -20px 60px #ffffff;
}

.alfasam-about .attent-content {
  display: flex;
  margin: 0 auto;
}

.alfasam-about .attent-tittle {
  margin: 0 auto;
}

.alfasam-about .attent-img {
  max-width: 100px;
  max-height: 100px;
}

.alfasam-about .attent-img img {
  max-width: 100px;
  max-height: 100px;
  padding: 15px;
}

.alfasam-about .attent-tittle h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 0;
}

.alfasam-about .attent-tittle p {
  color: #fff;
  font-size: 15px;
}

@-webkit-keyframes grad {
    0%{background-position:0% 26%}
    50%{background-position:100% 75%}
    100%{background-position:0% 26%}
}

@keyframes grad {
    0%{background-position:0% 26%}
    50%{background-position:100% 75%}
    100%{background-position:0% 26%} 
}

.alfasam-about .our-workers {
  margin-top: 80px;
}

.alfasam-about .our-workers-tittle h2 {
  text-align: center;
  font-size: 30px;
  color: #131313;
}

.alfasam-about .workers {
  margin: 50px auto;
  display: flex;
  align-items: center;
}

.alfasam-about .worker {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  height: 350px;
  margin: 0px 30px 30px;
  background: #ffffff;
  box-shadow: 10px 10px 18px #d9d9d9, -10px -10px 18px #ffffff;
}

.alfasam-about .worker-img {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 200px;
  min-width: 200px;
}

.alfasam-about .worker-img img {
  max-width: 200px;
  max-height: 200px;
  padding: 20px;
}

.alfasam-about .worker-name p {
  font-size: 20px;
  margin: 0;
  text-align: center;
  line-height: 1.5;
}

.alfasam-about .bold-set {
  font-weight: 700;
}

.alfasam-about .worker-email {
  font-size: 15px;
}

.alfasam-about .sertif {
  margin-top: 80px;
}

.alfasam-about .sertif-tittle h2 {
  text-align: center;
  font-size: 30px;
  color: #131313;
}

.alfasam-about .sertif-img {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 70%;
  margin: 0 auto;
}

.alfasam-about .sertif-img img {
  max-width: 200px;
  padding: 20px;
}

.alfasam-about .cash-pay {
  margin-top: 80px;
}

.alfasam-about .cash-pay-tittle h2 {
  text-align: center;
  font-size: 30px;
  color: #131313;
}

.alfasam-about .cta-btn {
  display: inline-block;
  border: none;
  background-color: #fff;
  color: #131313;
  box-shadow: -4px -2px 4px 0px #ffffff, 4px 2px 6px 0px #dfe4ea;
  width: 150px;
  height: 50px;
  margin: 0 auto 10px;
  font-size: 13px;
  border-radius: 10px;
  transition: 0.2s;
  font-family: "Montserrat", sans-serif;
  transition: 0.3s ease;
  font-weight: 700;
}

.alfasam-about .cta-btn:hover {
  background-color: #fff;
  color: rgb(237,33,58);
  cursor: pointer;
  box-shadow: -10px -10px 15px rgba(255,255,255,0.5), 10px 10px 15px rgba(70,70,70,0.12), inset -10px -10px 15px rgba(255,255,255,0.5), inset 10px 10px 15px rgba(70,70,70,0.12);
}

.alfasam-about .pay-cards {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.alfasam-about .pay-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 30%;
}

.alfasam-about .pay-card-text p {
  font-weight: 700;
  font-size: 17px;
  margin-top: 0;
}

.alfasam-about .pay-card-img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 220px;
}

.alfasam-about .pay-card-img img {
  max-width: 210px;
  max-height: 210px;
}

.alfasam-about .partners {
  margin-top: 80px;
}

.alfasam-about .partners-tittle h2 {
  text-align: center;
  font-size: 30px;
  color: #131313;
}

.alfasam-about .partners-text {
  font-size: 15px;
  color: #888888;
  text-align: center;
}

.alfasam-about .modalDialog {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
  z-index: 99999;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  display: none;
  pointer-events: none;
}

.alfasam-about .modalDialog:target {
  display: block;
  pointer-events: auto;
}

.alfasam-about .modalDialog > div {
  width: 500px;
  max-width: 80%;
  position: relative;
  margin: 10% auto;
  padding: 5px 20px 13px 20px;
  border-radius: 10px;
  background: #fff;
}

.alfasam-about .close {
  background: #aa0b08;
  color: #FFFFFF;
  line-height: 25px;
  position: absolute;
  right: -12px;
  text-align: center;
  top: -10px;
  width: 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50%;
}

.alfasam-about .openModal-text {
  color: #888888;
  font-size: 16px;
  line-height: 2;
}

.alfasam-about .openModal-tittle {
  text-align: center;
  font-size: 30px;
  color: #131313;
}

.alfasam-about .vnimanie {
  font-size: 17px;
  font-weight: 700;
}

.alfasam-about .close:hover {
  background: #eb0f0f;
}

.alfasam-about .special-work {
  color: #888888;
  font-size: 15px;
  text-align: center;
  margin: 0;
}

.alfasam-about .worker-email a {
  color: #aa0b08;
}

/* Совместимость с текущим классом в HTML */
.alfasam-about .partnes-tittle h2,
.alfasam-about .partners-tittle h2 {
  text-align: center;
  font-size: 30px;
  color: #131313;
}

@media (max-width: 1199px) {
  /* заголовок */

  .alfasam-about .tittle-top {
    padding-left: 12px;
    padding-right: 12px;
    margin-top: 80px;
  }

  .alfasam-about .tittle-top__text h2 {
    font-size: 32px;
  }

  /* заголовок */

  /* О компании*/

  .alfasam-about .banner-top {
    margin-bottom: -24px;
  }

  .alfasam-about .banner-top__img {
    padding: 24px;
  }

  .alfasam-about .banner-top__text h2 {
    font-size: 24px;
  }

  .alfasam-about .banner-top__text p {
    font-size: 13.6px;
  }

  .alfasam-about .bold-bold {
    font-size: 17.6px;
  }

  .alfasam-about .bold-bold-black {
    font-size: 17.6px;
  }

  /* О компании*/

  .alfasam-about .servises-tittle h2 {
    font-size: 28px;
  }

  .alfasam-about .services-cards {
    margin-top: 64px;
  }

  .alfasam-about .services-card-icon {
    border: 24px #f1f8fd;
  }

  .alfasam-about .services-card-icon img {
    width: 62.4px;
    height: 62.4px;
    padding: 12px;
  }

  .alfasam-about .services-card {
    height: 160px;
  }

  .alfasam-about .services-card-text h3 {
    font-size: 13.6px;
    padding-top: 8px;
  }

  .alfasam-about .services-card-text p {
    font-size: 12px;
    margin-top: 12px;
  }

  .alfasam-about .services-equip {
    margin-top: 40px;
  }

  .alfasam-about .equip-card {
    border-radius: 12px;
    padding: 16px 8px;
    padding-top: 40px;
  }

  .alfasam-about .equip-card-left {
    border-radius: 12px;
    padding: 16px 8px;
    padding-top: 40px;
  }

  .alfasam-about .equip-card-icon img {
    max-width: 360px;
  }

  .alfasam-about .equip-card-text-left h3 {
    font-size: 16px;
  }

  .alfasam-about .equip-card-text-left p {
    font-size: 12px;
    margin-top: 8px;
  }

  .alfasam-about .equip-card-text-left li {
    font-size: 12px;
    margin-top: 8px;
  }

  .alfasam-about .equip-card-text h3 {
    font-size: 16px;
  }

  .alfasam-about .equip-card-text li {
    font-size: 12px;
    margin-top: 8px;
  }

  .alfasam-about .equip-card-text p {
    font-size: 12px;
    margin-top: 8px;
  }

  .alfasam-about .features-tittle h2 {
    font-size: 28px;
  }

  .alfasam-about .features-card {
    border-radius: 12px;
    padding: 32px;
    margin: 16px 16px;
  }

  .alfasam-about .features {
    margin-top: 80px;
  }

  .alfasam-about .features-card-img {
    width: 96px;
    height: 96px;
  }

  .alfasam-about .features-card-img img {
    width: 80px;
    height: 80px;
    padding: 12px;
  }

  .alfasam-about .features-card-text p {
    font-size: 12px;
  }

  .alfasam-about .work-step {
    margin-top: 80px;
  }

  .alfasam-about .work-step-tittle h2 {
    font-size: 28px;
  }

  .alfasam-about .work-step-card {
    padding: 16px;
  }

  .alfasam-about .work-step-card-reverse {
    padding: 16px;
  }

  .alfasam-about .work-step-card-text h4 {
    font-size: 16px;
  }

  .alfasam-about .work-step-card-text p {
    font-size: 12px;
  }

  .alfasam-about .work-step-card-text-reverse h4 {
    font-size: 16px;
  }

  .alfasam-about .work-step-card-text-reverse p {
    font-size: 12px;
  }

  .alfasam-about .attent {
    margin: 24px auto;
    border-radius: 12px;
  }

  .alfasam-about .attent-img {
    max-width: 80px;
    max-height: 80px;
  }

  .alfasam-about .attent-img img {
    max-width: 80px;
    max-height: 80px;
    padding: 12px;
  }

  .alfasam-about .attent-tittle h3 {
    font-size: 16px;
  }

  .alfasam-about .attent-tittle p {
    font-size: 12px;
  }

  .alfasam-about .our-workers {
    margin-top: 64px;
  }

  .alfasam-about .our-workers-tittle h2 {
    font-size: 24px;
  }

  .alfasam-about .workers {
    margin: 40px auto;
  }

  .alfasam-about .worker {
    border-radius: 12px;
    height: 280px;
    margin: 0px 24px 24px;
  }

  .alfasam-about .worker-img {
    max-width: 160px;
    min-width: 160px;
  }

  .alfasam-about .worker-img img {
    max-width: 160px;
    max-height: 160px;
    padding: 16px;
  }

  .alfasam-about .worker-name p {
    font-size: 16px;
  }

  .alfasam-about .worker-email {
    font-size: 12px;
  }

  .alfasam-about .sertif {
    margin-top: 64px;
  }

  .alfasam-about .sertif-tittle h2 {
    font-size: 24px;
  }

  .alfasam-about .sertif-img img {
    max-width: 160px;
    padding: 16px;
  }

  .alfasam-about .cash-pay {
    margin-top: 64px;
  }

  .alfasam-about .cash-pay-tittle h2 {
    font-size: 24px;
  }

  .alfasam-about .cta-btn {
    width: 120px;
    height: 40px;
    margin: 0 auto 8px;
    font-size: 10.4px;
    border-radius: 8px;
  }

  .alfasam-about .pay-card-text p {
    font-size: 13.6px;
  }

  .alfasam-about .pay-card-img {
    width: 176px;
    height: 176px;
  }

  .alfasam-about .pay-card-img img {
    max-width: 168px;
    max-height: 168px;
  }

  .alfasam-about .partners {
    margin-top: 64px;
  }

  .alfasam-about .partners-tittle h2 {
    font-size: 24px;
  }

  .alfasam-about .partners-text {
    font-size: 12px;
  }

  .alfasam-about .openModal-text {
    font-size: 12.8px;
  }

  .alfasam-about .openModal-tittle {
    font-size: 24px;
  }

  .alfasam-about .vnimanie {
    font-size: 13.6px;
  }

  .alfasam-about .special-work {
    font-size: 12px;
  }
}

@media (max-width: 991px) {
  /* заголовок */

  .alfasam-about .tittle-top {
    padding-left: 10.5px;
    padding-right: 10.5px;
    margin-top: 70px;
  }

  .alfasam-about .tittle-top__text h2 {
    font-size: 28px;
  }

  /* заголовок */

  /* О компании*/

  .alfasam-about .banner-top {
    margin-bottom: -21px;
  }

  .alfasam-about .banner-top__img {
    padding: 21px;
  }

  .alfasam-about .banner-top__text h2 {
    font-size: 21px;
  }

  .alfasam-about .banner-top__text p {
    font-size: 11.9px;
  }

  .alfasam-about .bold-bold {
    font-size: 15.4px;
  }

  .alfasam-about .bold-bold-black {
    font-size: 15.4px;
  }

  /* О компании*/

  .alfasam-about .servises-tittle h2 {
    font-size: 24.5px;
  }

  .alfasam-about .services-cards {
    margin-top: 56px;
  }

  .alfasam-about .services-card-icon {
    border: 21px #f1f8fd;
  }

  .alfasam-about .services-card-icon img {
    width: 54.6px;
    height: 54.6px;
    padding: 10.5px;
  }

  .alfasam-about .services-card {
    height: 140px;
  }

  .alfasam-about .services-card-text h3 {
    font-size: 11.9px;
    padding-top: 7px;
  }

  .alfasam-about .services-card-text p {
    font-size: 10.5px;
    margin-top: 10.5px;
  }

  .alfasam-about .services-equip {
    margin-top: 35px;
  }

  .alfasam-about .equip-card {
    border-radius: 10.5px;
    padding: 14px 7px;
    padding-top: 35px;
  }

  .alfasam-about .equip-card-left {
    border-radius: 10.5px;
    padding: 14px 7px;
    padding-top: 35px;
  }

  .alfasam-about .equip-card-icon img {
    max-width: 315px;
  }

  .alfasam-about .equip-card-text-left h3 {
    font-size: 14px;
  }

  .alfasam-about .equip-card-text-left p {
    font-size: 10.5px;
    margin-top: 7px;
  }

  .alfasam-about .equip-card-text-left li {
    font-size: 10.5px;
    margin-top: 7px;
  }

  .alfasam-about .equip-card-text h3 {
    font-size: 14px;
  }

  .alfasam-about .equip-card-text li {
    font-size: 10.5px;
    margin-top: 7px;
  }

  .alfasam-about .equip-card-text p {
    font-size: 10.5px;
    margin-top: 7px;
  }

  .alfasam-about .features-tittle h2 {
    font-size: 24.5px;
  }

  .alfasam-about .features-card {
    border-radius: 10.5px;
    padding: 28px;
    margin: 14px 14px;
  }

  .alfasam-about .features {
    margin-top: 70px;
  }

  .alfasam-about .features-card-img {
    width: 84px;
    height: 84px;
  }

  .alfasam-about .features-card-img img {
    width: 70px;
    height: 70px;
    padding: 10.5px;
  }

  .alfasam-about .features-card-text p {
    font-size: 10.5px;
  }

  .alfasam-about .work-step {
    margin-top: 70px;
  }

  .alfasam-about .work-step-tittle h2 {
    font-size: 24.5px;
  }

  .alfasam-about .work-step-card {
    padding: 14px;
  }

  .alfasam-about .work-step-card-reverse {
    padding: 14px;
  }

  .alfasam-about .work-step-card-text h4 {
    font-size: 14px;
  }

  .alfasam-about .work-step-card-text p {
    font-size: 10.5px;
  }

  .alfasam-about .work-step-card-text-reverse h4 {
    font-size: 14px;
  }

  .alfasam-about .work-step-card-text-reverse p {
    font-size: 10.5px;
  }

  .alfasam-about .attent {
    margin: 21px auto;
    border-radius: 10.5px;
  }

  .alfasam-about .attent-img {
    max-width: 70px;
    max-height: 70px;
  }

  .alfasam-about .attent-img img {
    max-width: 70px;
    max-height: 70px;
    padding: 10.5px;
  }

  .alfasam-about .attent-tittle h3 {
    font-size: 14px;
  }

  .alfasam-about .attent-tittle p {
    font-size: 10.5px;
  }

  .alfasam-about .our-workers {
    margin-top: 56px;
  }

  .alfasam-about .our-workers-tittle h2 {
    font-size: 21px;
  }

  .alfasam-about .workers {
    margin: 35px auto;
  }

  .alfasam-about .worker {
    border-radius: 10.5px;
    height: 245px;
    margin: 0px 21px 21px;
  }

  .alfasam-about .worker-img {
    max-width: 140px;
    min-width: 140px;
  }

  .alfasam-about .worker-img img {
    max-width: 140px;
    max-height: 140px;
    padding: 14px;
  }

  .alfasam-about .worker-name p {
    font-size: 14px;
  }

  .alfasam-about .worker-email {
    font-size: 10.5px;
  }

  .alfasam-about .sertif {
    margin-top: 56px;
  }

  .alfasam-about .sertif-tittle h2 {
    font-size: 21px;
  }

  .alfasam-about .sertif-img img {
    max-width: 140px;
    padding: 14px;
  }

  .alfasam-about .cash-pay {
    margin-top: 56px;
  }

  .alfasam-about .cash-pay-tittle h2 {
    font-size: 21px;
  }

  .alfasam-about .cta-btn {
    width: 105px;
    height: 35px;
    margin: 0 auto 7px;
    font-size: 9.1px;
    border-radius: 7px;
  }

  .alfasam-about .pay-card-text p {
    font-size: 11.9px;
  }

  .alfasam-about .pay-card-img {
    width: 154px;
    height: 154px;
  }

  .alfasam-about .pay-card-img img {
    max-width: 147px;
    max-height: 147px;
  }

  .alfasam-about .partners {
    margin-top: 56px;
  }

  .alfasam-about .partners-tittle h2 {
    font-size: 21px;
  }

  .alfasam-about .partners-text {
    font-size: 10.5px;
  }

  .alfasam-about .openModal-text {
    font-size: 11.2px;
  }

  .alfasam-about .openModal-tittle {
    font-size: 21px;
  }

  .alfasam-about .vnimanie {
    font-size: 11.9px;
  }

  .alfasam-about .special-work {
    font-size: 10.5px;
  }
}

@media screen and (max-width: 650px) {
  .alfasam-about .banner-top {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
  }

  .alfasam-about .banner-top__text {
    max-width: 100%;
    text-align: center;
    margin-top: -35px;
  }

  .alfasam-about .banner-top__img {
    width: 80%;
  }

  .alfasam-about .services {
    margin-top: 49px;
  }

  .alfasam-about .services-cards {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 28px;
  }

  .alfasam-about .services-card {
    flex-wrap: wrap;
    width: 35%;
  }

  .alfasam-about .services-card-text {
    text-align: center;
    position: relative;
  }

  .alfasam-about .services-card-text h3 {
    padding-top: 0;
    margin-top: 7px;
  }

  .alfasam-about .equip-card {
    flex-direction: column;
    width: 100%;
  }

  .alfasam-about .equip-card-left {
    flex-direction: column-reverse;
    width: 100%;
  }

  .alfasam-about .equip-card-icon {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .alfasam-about .equip-card-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .alfasam-about .equip-card-text h3 {
    font-size: 14px;
    margin-bottom: 3.5px;
  }

  .alfasam-about .equip-card-text p {
    margin-top: 0;
  }

  .alfasam-about .equip-card-text-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .alfasam-about .equip-card-text-left h3 {
    font-size: 14px;
    margin-bottom: 3.5px;
  }

  .alfasam-about .equip-card-text-left p {
    margin-top: 0;
  }

  .alfasam-about .work-step-card {
    flex-direction: column;
  }

  .alfasam-about .work-step-card-text {
    width: 80%;
    text-align: center;
  }

  .alfasam-about .work-step-card-text h4 {
    margin-bottom: 3.5px;
  }

  .alfasam-about .work-step-card-reverse {
    flex-direction: column-reverse;
  }

  .alfasam-about .work-step-card-text-reverse {
    width: 80%;
    text-align: center;
  }

  .alfasam-about .work-step-card-text-reverse h4 {
    margin-bottom: 3.5px;
  }

  .alfasam-about .attent {
    width: 100%;
  }

  .alfasam-about .pay-cards {
    flex-direction: column;
  }

  .alfasam-about .pay-card-img img {
    width: 175px;
  }

  .alfasam-about .pay-card {
    margin-top: 35px;
  }

  .alfasam-about .pay-card-img img {
    max-width: 175px;
    max-height: 175px;
  }

  .alfasam-about .equip-card-text ul {
    margin: 0;
    text-align: center;
    padding: 0;
    margin-left: -10px;
  }

  .alfasam-about .equip-card-text-left ul {
    margin: 0;
    text-align: center;
    padding: 0;
  }

  .alfasam-about .equip-card-text p {
    margin-top: 14px;
  }

  .alfasam-about .equip-card-text-left p {
    margin-top: 14px;
  }

  .alfasam-about .equip-card-text-left {
    text-align: center;
  }

  .alfasam-about .equip-card-text {
    text-align: center;
  }

  .alfasam-about .worker-img {
    max-width: 105px;
    min-width: 105px;
  }

  .alfasam-about .special-work {
    margin-top: 7px;
    line-height: 1.5;
  }

  .alfasam-about .modalDialog > div {
    margin: 0 auto;
    max-width: 95%;
    height: 100%;
    overflow: auto;
    padding: 30px 20px 13px 20px;
  }

  .alfasam-about .pay-card {
    width: 100%;
  }

  .alfasam-about .close {
    right: 5px;
    top: 35px;
  }

  .alfasam-about .attent-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    justify-content: center;
  }

  .alfasam-about .attent-tittle {
    text-align: center;
  }

  .alfasam-about .attent-tittle p {
    margin-top: 3.5px;
  }

  .alfasam-about .attent-tittle h3 {
    margin: 0;
  }
}

@media screen and (max-width: 480px) {
  .alfasam-about .banner-top__img {
    padding: 0;
  }

  .alfasam-about .banner-top__text {
    margin-top: 0;
  }

  .alfasam-about .services-cards {
    flex-direction: column;
  }

  .alfasam-about .services-card {
    flex-wrap: nowrap;
    width: 80%;
  }

  .alfasam-about .cta-btn {
    margin: 7px auto 7px;
  }

  .alfasam-about .pay-card-text p {
    text-align: center;
  }

  .alfasam-about .attent-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    justify-content: center;
  }

  .alfasam-about .attent-tittle {
    text-align: center;
  }

  .alfasam-about .attent-tittle h3 {
    margin: 0;
  }

  .alfasam-about .attent-tittle p {
    margin-top: 3.5px;
  }
}

/* ==========================================================
   FIX 2026-08-13 v2 — специалисты, «Внимание», модальные окна
   ========================================================== */

/* Карточки специалистов */
.alfasam-about .worker {
  text-align: center;
}

.alfasam-about .worker-img {
  width: 160px;
  height: 160px;
  min-width: 160px;
  max-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  overflow: hidden;
  border-radius: 50%;
}

.alfasam-about .worker-img img {
  width: 160px !important;
  height: 160px !important;
  max-width: none !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  display: block;
}

.alfasam-about .worker-name,
.alfasam-about .special-work,
.alfasam-about .worker-email,
.alfasam-about .worker-name p,
.alfasam-about .worker-email p {
  width: 100%;
  text-align: center;
  margin-left: 0;
  margin-right: 0;
}

/* Блок «Внимание» */
.alfasam-about .attent {
  align-items: center;
  justify-content: center;
}

.alfasam-about .attent-content {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.alfasam-about .attent-tittle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
}

.alfasam-about .attent-tittle h3,
.alfasam-about .attent-tittle p {
  margin: 0;
}

.alfasam-about .attent-tittle p {
  margin-top: 4px;
}

/* ==========================================================
   Модальные окна — без огромной тени и без горизонтального скролла
   ========================================================== */
.alfasam-about .modalDialog {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 20px 15px !important;
  background: rgba(0, 0, 0, 0.80) !important;
  border: 0 !important;
  outline: 0 !important;
  z-index: 999999 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  pointer-events: none;
}

.alfasam-about .modalDialog:target {
  display: flex !important;
  align-items: center;
  justify-content: center;
  pointer-events: auto !important;
}

.alfasam-about .modalDialog > div {
  position: relative !important;
  width: 500px !important;
  max-width: calc(100% - 10px) !important;
  height: auto !important;
  max-height: none !important;
  margin: auto !important;
  padding: 20px !important;
  overflow: visible !important;
  background: #fff !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

.alfasam-about .modalDialog > div::before,
.alfasam-about .modalDialog > div::after {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.alfasam-about .close {
  z-index: 2 !important;
}

/* Не даём основной странице прокручиваться при открытом окне */
html:has(.alfasam-about .modalDialog:target),
body:has(.alfasam-about .modalDialog:target) {
  overflow: hidden !important;
}

/* Убираем светлые разделители/полосы шаблона Aspro только при открытой модалке */
body:has(.alfasam-about .modalDialog:target) .left_block,
body:has(.alfasam-about .modalDialog:target) .right_block,
body:has(.alfasam-about .modalDialog:target) .sidebar,
body:has(.alfasam-about .modalDialog:target) .sidearea,
body:has(.alfasam-about .modalDialog:target) .menu_top_block,
body:has(.alfasam-about .modalDialog:target) .content_wrapper_block,
body:has(.alfasam-about .modalDialog:target) .content_wrapper,
body:has(.alfasam-about .modalDialog:target) .wrapper_inner,
body:has(.alfasam-about .modalDialog:target) .maxwidth-theme {
  border-color: transparent !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Скрываем собственные скроллбары боковой панели, которые выглядят как белые линии */
body:has(.alfasam-about .modalDialog:target) .left_block,
body:has(.alfasam-about .modalDialog:target) .sidebar,
body:has(.alfasam-about .modalDialog:target) .sidearea {
  scrollbar-width: none !important;
}

body:has(.alfasam-about .modalDialog:target) .left_block::-webkit-scrollbar,
body:has(.alfasam-about .modalDialog:target) .sidebar::-webkit-scrollbar,
body:has(.alfasam-about .modalDialog:target) .sidearea::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

@media screen and (max-width: 650px) {
  .alfasam-about .worker-img {
    width: 105px;
    height: 105px;
    min-width: 105px;
    max-width: 105px;
  }

  .alfasam-about .worker-img img {
    width: 105px !important;
    height: 105px !important;
  }

  .alfasam-about .attent-content {
    flex-direction: column;
    text-align: center;
  }

  .alfasam-about .modalDialog {
    padding: 10px !important;
    align-items: flex-start !important;
  }

  .alfasam-about .modalDialog > div {
    width: 100% !important;
    max-width: 100% !important;
    margin: auto !important;
    padding: 30px 20px 20px !important;
    overflow: visible !important;
  }
}


/* ==========================================================
   FIX 2026-08-13 v3 — модалки вынесены в <body>, как в эталонной странице
   Это позволяет затемнять ВЕСЬ шаблон Aspro, включая верхнюю шапку.
   ========================================================== */

html.alfasam-modal-lock,
body.alfasam-modal-lock {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

/* После JS модальные окна становятся прямыми детьми body */
body > .modalDialog[id^="openModal"] {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483646 !important;

  display: none !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;

  margin: 0 !important;
  padding: 24px !important;

  background: rgba(7, 10, 16, 0.90) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  backdrop-filter: blur(6px) !important;

  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;

  overflow-x: hidden !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
  pointer-events: none !important;
}

/* Открытие через #openModal, #openModal-1 и т.д. */
body > .modalDialog[id^="openModal"]:target {
  display: flex !important;
  pointer-events: auto !important;
}

/* Белая карточка */
body > .modalDialog[id^="openModal"] > div {
  position: relative !important;

  width: 500px !important;
  max-width: min(500px, calc(100vw - 48px)) !important;
  height: auto !important;
  max-height: calc(100dvh - 48px) !important;

  margin: auto !important;
  padding: 28px 26px 24px !important;

  overflow-x: hidden !important;
  overflow-y: auto !important;

  background: #ffffff !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .34) !important;

  box-sizing: border-box !important;
}

/* Заголовок */
body > .modalDialog[id^="openModal"] .openModal-tittle {
  margin: 8px 0 20px !important;
  color: #131313 !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 30px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

/* Основной текст */
body > .modalDialog[id^="openModal"] .openModal-text {
  margin: 0 0 14px !important;
  color: #888888 !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.9 !important;
}

/* Важный текст */
body > .modalDialog[id^="openModal"] .vnimanie {
  margin: 0 0 18px !important;
  color: #131313 !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

/* Кнопка закрытия */
body > .modalDialog[id^="openModal"] .close {
  position: absolute !important;
  top: -11px !important;
  right: -11px !important;
  z-index: 2147483647 !important;

  display: grid !important;
  place-items: center !important;

  width: 26px !important;
  height: 26px !important;
  padding: 0 !important;
  margin: 0 !important;

  background: #c91414 !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 50% !important;
  box-shadow: 0 8px 20px rgba(0,0,0,.24) !important;

  font-family: Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 26px !important;
  text-align: center !important;
  text-decoration: none !important;
}

body > .modalDialog[id^="openModal"] .close:hover {
  background: #eb0f0f !important;
  color: #fff !important;
}

/* Внутренний скролл аккуратный */
body > .modalDialog[id^="openModal"] > div {
  scrollbar-width: thin;
  scrollbar-color: rgba(160,160,160,.55) transparent;
}

body > .modalDialog[id^="openModal"] > div::-webkit-scrollbar {
  width: 7px;
}

body > .modalDialog[id^="openModal"] > div::-webkit-scrollbar-track {
  background: transparent;
}

body > .modalDialog[id^="openModal"] > div::-webkit-scrollbar-thumb {
  background: rgba(160,160,160,.55);
  border-radius: 999px;
}

@media screen and (max-width: 650px) {
  body > .modalDialog[id^="openModal"] {
    padding: 12px !important;
    align-items: center !important;
  }

  body > .modalDialog[id^="openModal"] > div {
    width: 100% !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 24px) !important;
    padding: 28px 20px 22px !important;
    border-radius: 12px !important;
  }

  body > .modalDialog[id^="openModal"] .openModal-tittle {
    font-size: 23px !important;
    margin-bottom: 16px !important;
  }

  body > .modalDialog[id^="openModal"] .openModal-text {
    font-size: 14px !important;
    line-height: 1.7 !important;
  }

  body > .modalDialog[id^="openModal"] .vnimanie {
    font-size: 14px !important;
  }

  body > .modalDialog[id^="openModal"] .close {
    top: 8px !important;
    right: 8px !important;
  }
}
