/* =========================================================
   Bitrix composite button styles
   ========================================================= */

.bx-composite-btn {
  background: url(/bitrix/images/main/composite/sprite-1x.png) no-repeat right 0 #e94524;
  border-radius: 15px;
  color: #fff !important;
  display: inline-block;
  line-height: 30px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: bold !important;
  height: 31px !important;
  padding: 0 42px 0 17px !important;
  vertical-align: middle !important;
  text-decoration: none !important;
}

@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 2) and (min-resolution: 192dpi) {
  .bx-composite-btn {
    background-image: url(/bitrix/images/main/composite/sprite-2x.png);
    background-size: 42px 124px;
  }
}

.bx-composite-btn-fixed {
  position: absolute;
  top: -45px;
  right: 15px;
  z-index: 10;
}

.bx-btn-white {
  background-position: right 0;
  color: #fff !important;
}

.bx-btn-black {
  background-position: right -31px;
  color: #000 !important;
}

.bx-btn-red {
  background-position: right -62px;
  color: #555 !important;
}

.bx-btn-grey {
  background-position: right -93px;
  color: #657b89 !important;
}

.bx-btn-border {
  border: 1px solid #d4d4d4;
  height: 29px !important;
  line-height: 29px !important;
}

.bx-composite-loading {
  display: block;
  width: 40px;
  height: 40px;
  background: url(/bitrix/images/main/composite/loading.gif);
}


/* =========================================================
   Theme variables
   ========================================================= */

html {
  --theme-base-color: #000000;
  --theme-base-opacity-color: #0000001a;
  --theme-more-color: #000000;
  --theme-border-radius: 4px;
  --theme-text-transform: none;
  --theme-letter-spacing: normal;
  --theme-button-font-size: 0%;
  --theme-button-padding-2px: 0%;
  --theme-button-padding-1px: 0%;
  --theme-more-color-hue: 0;
  --theme-more-color-saturation: 0%;
  --theme-more-color-lightness: 0%;
  --theme-base-color-hue: 0;
  --theme-base-color-saturation: 0%;
  --theme-base-color-lightness: 0%;
  --theme-lightness-hover-diff: 6%;
}


/* =========================================================
   Page navigation
   ========================================================= */

.custom-page-nav {
  margin: 30px 0 40px;
  padding: 22px;
  background: #faf7fb;
  border: 1px solid #e3d6e8;
  border-radius: 10px;
}

.custom-page-nav__title {
  margin-bottom: 16px;
  color: #2a1b2f;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.custom-page-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.custom-page-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  background: #040e1a;
  color: #ffffff !important;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: none;
}

.custom-page-nav__link:hover {
  background: #452052;
  color: #ffffff !important;
  transform: none;
  box-shadow: none;
}

.custom-page-nav__link:active {
  background: #35183f;
}

@media (max-width: 767px) {
  .custom-page-nav {
    padding: 18px;
    border-radius: 8px;
  }

  .custom-page-nav__title {
    font-size: 19px;
  }

  .custom-page-nav__list {
    flex-direction: column;
    gap: 8px;
  }

  .custom-page-nav__link {
    width: 100%;
    min-height: 40px;
  }
}


/* =========================================================
   Services membranes cards
   ========================================================= */

.custom-services-membranes {
  margin: 40px 0;
}

.custom-services-membranes__title {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
}

.custom-services-membranes__intro {
  margin-bottom: 28px;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

.custom-services-membranes__col {
  margin-bottom: 24px;
}

.custom-services-membranes__card {
  height: 100%;
  padding: 22px;
  border: 1px solid #e6e6e6;
  border-radius: 14px;
  background: #fff;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.custom-services-membranes__card:hover {
  transform: translateY(-3px);
  border-color: #d0d0d0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.custom-services-membranes__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.custom-services-membranes__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f2f6fb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-services-membranes__icon svg {
  width: 24px;
  height: 24px;
  stroke: #1f5f9f;
}

.custom-services-membranes__name {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.custom-services-membranes__name a {
  color: #222;
  text-decoration: none;
}

.custom-services-membranes__name a:hover {
  color: #1f5f9f;
  text-decoration: underline;
}

.custom-services-membranes__text {
  color: #555;
  font-size: 15px;
  line-height: 1.55;
}

@media (max-width: 767px) {
  .custom-services-membranes__title {
    font-size: 24px;
  }

  .custom-services-membranes__card {
    padding: 18px;
  }
}


/* =========================================================
   Quick benefits
   ========================================================= */

.custom-quick-benefits {
  margin: 45px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.custom-quick-benefits__item {
  position: relative;
  min-height: 170px;
  padding: 28px 24px;
  background: #ffffff;
  border: 1px solid #e3ebe8;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(28, 52, 72, 0.08);
  overflow: hidden;
}

.custom-quick-benefits__item::before {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 110px;
  height: 110px;
  background: rgba(30, 155, 95, 0.09);
  border-radius: 50%;
}

.custom-quick-benefits__number {
  margin-bottom: 22px;
  color: #1e9b5f;
  font-size: 38px;
  line-height: 1;
  font-weight: 800;
}

.custom-quick-benefits__text {
  position: relative;
  z-index: 2;
  color: #1f2933;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 700;
}

@media (max-width: 991px) {
  .custom-quick-benefits {
    grid-template-columns: 1fr;
  }

  .custom-quick-benefits__item {
    min-height: auto;
  }
}


/* =========================================================
   Membrane benefits
   ========================================================= */

.custom-membrane-benefits {
  margin: 35px 0;
}

.custom-membrane-benefits__card {
  position: relative;
  height: 100%;
  min-height: 210px;
  padding: 28px 24px 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fb 100%);
  border: 1px solid #e3e8ee;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(20, 40, 70, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.custom-membrane-benefits__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(20, 40, 70, 0.14);
  border-color: #cfd9e5;
}

.custom-membrane-benefits__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #2f80ed, #27ae60);
}

.custom-membrane-benefits__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  background: #eef6ff;
  border-radius: 50%;
  color: #2f80ed;
}

.custom-membrane-benefits__icon svg {
  width: 26px;
  height: 26px;
  display: block;
  stroke: currentColor;
}

.custom-membrane-benefits__title {
  position: relative;
  margin: 0 0 12px;
  padding-left: 28px;
  font-size: 18px;
  line-height: 1.35;
  color: #1f2d3d;
}

.custom-membrane-benefits__title::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #27ae60;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.custom-membrane-benefits__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #4d5b6a;
}

.custom-membrane-benefits__text strong {
  color: #263747;
  font-weight: 600;
}

.custom-membrane-benefits__col {
  margin-bottom: 24px;
}

@media (max-width: 767px) {
  .custom-membrane-benefits {
    margin: 25px 0;
  }

  .custom-membrane-benefits__card {
    min-height: auto;
    padding: 24px 20px;
  }
}


/* =========================================================
   Work steps
   ========================================================= */

.custom-work-steps {
  margin-top: 24px;
  margin-bottom: 24px;
}

.custom-work-steps__col {
  margin-bottom: 24px;
}

.custom-work-steps__card {
  height: 100%;
  padding: 26px 24px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.custom-work-steps__card:hover {
  border-color: #1f75bd;
  box-shadow: 0 8px 22px rgba(31, 117, 189, 0.12);
  transform: translateY(-2px);
}

.custom-work-steps__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.custom-work-steps__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eef6fc;
}

.custom-work-steps__icon svg {
  width: 24px;
  height: 24px;
  stroke: #1f75bd;
}

.custom-work-steps__title {
  font-size: 18px;
  line-height: 1.25;
  color: #222222;
}

.custom-work-steps__text {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
}

@media (max-width: 767px) {
  .custom-work-steps__card {
    padding: 20px 18px;
  }

  .custom-work-steps__title {
    font-size: 17px;
  }
}


/* =========================================================
   Quality control
   ========================================================= */

.custom-quality-control {
  margin-top: 25px;
  margin-bottom: 25px;
}

.custom-quality-control__col {
  margin-bottom: 20px;
}

.custom-quality-control__card {
  height: 100%;
  padding: 24px 22px;
  background: #ffffff;
  border: 1px solid #e4e8ee;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(20, 40, 80, 0.06);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.custom-quality-control__card:hover {
  transform: translateY(-3px);
  border-color: #cfd8e3;
  box-shadow: 0 10px 26px rgba(20, 40, 80, 0.1);
}

.custom-quality-control__head {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.custom-quality-control__icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  margin-right: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0f6ff, #e6f0fb);
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-quality-control__icon svg {
  width: 24px;
  height: 24px;
  stroke: #1f75bd;
}

.custom-quality-control__title {
  font-size: 18px;
  line-height: 1.25;
  color: #222222;
}

.custom-quality-control__text {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
}

@media (max-width: 767px) {
  .custom-quality-control__card {
    padding: 20px 18px;
  }

  .custom-quality-control__title {
    font-size: 17px;
  }
}
