.technology-coffee-machines-page {
  background: #fff;
  width: 100%;
  overflow-x: hidden;
}

.tcm-banner {
  width: 100vw;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 100px 0 60px 0;
  position: relative;
}

.tcm-banner .tcm-banner-txt {
  background: rgba(214, 194, 176, 0.86);
  border-radius: 0 0 0 30px;
  padding: 30px 40px;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.tcm-banner-title {
  color: #000;
  font-family: "Mulish-SemiBold", sans-serif;
  font-size: 30px;
  font-weight: 600;
  text-transform: uppercase;
}

.tcm-banner-desc {
  color: #000;
  font-family: "Mulish-SemiBold", sans-serif;
  font-size: 16px;
  font-weight: 600;
  max-width: 820px;
}

.tcm-steps {
  background: #f1f0ef;
  padding: 50px 0 0 0;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  width: 100vw;
}

.tcm-step {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  width: 360px;
  box-sizing: border-box;
}

.tcm-step-icon {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 119px;
}

@media (max-width: 768px) {
/* Кастомный стиль для третьего блока */
.tcm-step:nth-child(3) .tcm-step-icon {
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 70px;
}

/* Кастомный стиль для изображения в третьем блоке */
.tcm-step:nth-child(3) .tcm-step-icon img {
  margin-bottom: 40px;
}
}

.tcm-step-icon img {
  width: 90px;
  height: 119px;
  object-fit: contain;
}

.tcm-step-title {
  color: #70554e;
  text-align: center;
  font-family: "Mulish-Bold", sans-serif;
  font-size: 15px;
  font-weight: 700;
  align-self: stretch;
}

.tcm-step-desc {
  color: #000;
  text-align: center;
  font-family: "Mulish-Regular", sans-serif;
  font-size: 13px;
  font-weight: 400;
  align-self: stretch;
}

.tcm-step-bar {
  background: #d2c3b2;
  width: 360px;
  height: 4px;
  margin: 10px 0;
}

.tcm-main-block {
  background: #f1f0ef;
  padding: 50px 0 80px 0;
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  width: 100vw;
}

.tcm-main-img {
  padding: 10px;
  width: 570px;
  display: flex;
  align-items: flex-start;
}

.tcm-main-img img {
  width: 100%;
  height: 335px;
  object-fit: cover;
}

.tcm-main-content {
  padding: 10px;
  width: 550px;
  display: flex;
  flex-direction: column;
  /* gap: 15px; */
  align-items: flex-start;
}

.tcm-main-title {
  color: #000;
  font-family: "Mulish-Regular", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.tcm-main-title .highlight {
  /* font-family: "Mulish", sans-serif; */
  font-weight: 400;
}

.tcm-main-adv {
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
}

.tcm-main-adv-item {
  color: #70554e;
  font-family: "Mulish-Bold", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.tcm-main-adv-desc {
  color: #000;
  font-family: "Mulish-Regular", sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 10px;
}

.tcm-bottom-banner {
  background: #d3c3b2;
  padding: 25px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
}

.tcm-bottom-banner-text {
  color: #000;
  text-align: center;
  font-family: "Mulish-Regular", sans-serif;
  font-size: 20px;
  font-weight: 400;
  max-width: 1140px;
  width: 100%;
}

/* Мобильный текст под баннером */
.tcm-banner-mobile-text {
  display: none;
}

@media (max-width: 1200px) {
  .tcm-banner .tcm-banner-txt { max-width: 98vw; }
  .tcm-main-img, .tcm-main-content { width: 100%; max-width: 100vw; }
  .tcm-main-block { flex-direction: column; align-items: center; }
}

@media (max-width: 900px) {
  .tcm-banner { padding: 60px 0 30px 0; }
  .tcm-banner .tcm-banner-txt { padding: 20px; }
  .tcm-main-img img { height: 200px; }
  .tcm-main-content { padding: 5px; }
}

@media (max-width: 760px) {
  .tcm-banner-title { font-size: 22px; }
  .tcm-banner-desc { font-size: 13px; }
  .tcm-step, .tcm-main-img, .tcm-main-content { width: 100vw; min-width: 0; }
  .tcm-main-img img { height: 320px; }
  .tcm-bottom-banner-text { font-size: 20px; padding: 20px; }
  .tcm-banner-txt.tcm-banner-desktop-text {
    display: none;
  }
  .tcm-banner-mobile-text {
    display: block;
    background: #f1f0ef;
    padding: 20px 15px 15px 15px;
    margin-top: 0;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  }
  .tcm-banner-mobile-text .tcm-banner-title {
    font-size: 25px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    text-align: center;
  }
  .tcm-banner-mobile-text .tcm-banner-desc {
    font-size: 16px;
    color: #222;
    text-align: center;
    padding: 5px 5px;
  }
  .tcm-main-content {
    padding: 20px !important;
  }
  .tcm-main-block {
    background: #f1f0ef;
    padding: 30px 0 20px 0;
  }
} 