

/* Start:/local/templates/mrdoors2025/components/bitrix/news.list/page_slider_top/style.css?178766024613036*/

.hero {
    background-color: var(--main-color);
}

.hero__wrapper {
    margin: 0 auto;
    width: 100%;
    height: 725px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.hero .swiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    position: relative;
    background: var(--bg-pc) center/cover no-repeat;
}

.hero .swiper-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 48%, rgba(0, 0, 0, 0) 100%);
}

div.hero__content {
    color: white;
    width: 100%;
    height: 100%;
    display: flex;
    padding-top: 20px;
    padding-bottom: 40px;
    flex-direction: column;
    gap: 100px;
    align-self: stretch;
    justify-content: end;
    position: relative;
    z-index: 3;
}

.hero__content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    z-index: 5;
}
@media (max-width: 768px) {
    .hero__content-wrapper {
        gap: 20px;
    }
}

.hero__content-title {
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 740px;
    color: var(--white);
    font-family: "Cera Pro";
    font-size: 54px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
}
@media (max-width: 1350px) {
  .hero__content-title {
        position: relative;
        max-width: 640px;
    }
}
@media (max-width: 1160px) {
  .hero__content-title_slogan {
        font-family: 'Cera Pro';
        font-style: normal;
        font-weight: 500;
        font-size: 30px;
        line-height: 36px;
        display: flex;
        align-items: center;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        color: #F5F5F5;
    }
}
@media (max-width: 480px) {
    .hero__content-title {
        font-size: 28px;
        margin-left: 0;
    }
}

.hero__content-title_h1 {
    font-size: 23px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    line-height: 1;
}
@media (max-width: 768px) {
    .hero__content-title_h1 {
        font-size: 17px;
        line-height: 1;
    }
}
@media (max-width: 480px) {
    .hero__content-title_h1 {
        font-size: 12px;
        line-height: 1;
    }
}


.hero__content-title_slogan {
    font-family: "Cera Pro";
    position: relative;
    margin-left: 28px;
    margin-bottom: 10px;
    font-style: normal;
    font-weight: 500;
    font-size: 40px;
    line-height: 48px;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #F5F5F5;
}
.hero__content-title_slogan::before {
    content: "";
    position: absolute;
    top: 12px;
    left: -28px;
    width: 10px;
    height: 80px;
    background: #b52126;
}
@media (max-width: 768px) {
    .hero__content-title_slogan::before {
        top: 10px;
        height: calc(100% - 14px);
    }
}
@media (max-width: 768px) {
    .hero__content-title_slogan {
        position: relative;
        font-family: 'Cera Pro';
        font-style: normal;
        font-weight: 500;
        font-size: 25px;
        line-height: 30px;
        display: flex;
        align-items: center;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        color: #F5F5F5;
        margin-left: 21px;
    }
    .hero__content-title_slogan::before {
        width: 10px;
        left: -21px;
        top: 4px;
        height: 58px;
    }
}

.hero__content-button {
    color: #FFF !important;
    border: 1px solid #FFF;
    text-align: center;
    font-family: "Cera Pro";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    text-transform: uppercase;
    background: transparent !important;
    display: flex;
    max-width: 360px;
    padding: 20px 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 0 18px rgba(0, 0, 0, 0.45);
}

.hero__content-button:hover {
    background: rgba(245, 245, 245, 0.7) !important;
    color: #2c3e50 !important;
    transform: none !important;
    border-color: transparent !important;
}

.swiper-pagination-bullets {
    width: unset !important;
}

.hero__content-list-wrapper .swiper-pagination {
    display: flex;
    gap: 16px;
    z-index: 10;
    position: static;
    align-self: end;
}

.hero__content-list-wrapper .swiper-pagination-bullet {
    width: 18px;
    height: 18px;
    aspect-ratio: 1/1;
    border-radius: 0;
    background-color: #D9D9D933;
    opacity: 1;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.hero__content-list-wrapper .swiper-pagination-bullet-active {
    background-color: #F5F5F599;
    border-color: #F5F5F599;
}

.hero .swiper-button-next,
.hero .swiper-button-prev {
    color: white;
    z-index: 15;
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
}

.hero .swiper-button-prev {
    left: 40px;
}

.hero .swiper-button-next {
    right: 40px;
}

.hero__content-list-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    z-index: 5;
}

.hero__content-list {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
    color: #ccc;
}

.hero__content-list li,
.hero__content-list li a {
    position: relative;
    white-space: nowrap;
    color: #BABABA;
    font-family: "Cera Pro";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7), 0 0 18px rgba(0, 0, 0, 0.45);
}

.hero__content-list li a {
    cursor: pointer;
}

.hero__content-list li:not(:last-child) {
    padding-right: 30px;
}

.hero__content-list li:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: 0px;
    color: #BABABA;
    font-family: "Cera Pro";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.hero__cursor-left,
.hero__cursor-right {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 20;
    /*cursor: none;*/
}

.hero__cursor-left.hidden,
.hero__cursor-right.hidden {
    opacity: 0;
    pointer-events: none;
}

.hero__cursor-left {
    left: 0;
}

.hero__cursor-right {
    right: 0;
}

.hero__custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 1000;
    transform: translate(-50%, -50%);
}

@media (max-width: 1050px) {
    .hero__content-list {
        grid-template-columns: repeat(2, auto);
    }

    .hero__content-list li:nth-child(2)::after {
        content: none;
    }
}

@media (max-width: 768px) {
    .hero__content-list {
        gap: 16px;
    }

    .hero__content-list li:not(:last-child) {
        padding-right: 20px;
    }

    .hero__content-list li {
        font-size: 12px;
    }

    .hero__content-list-wrapper .swiper-pagination {
        gap: 12px;
    }

    .hero__content-list-wrapper .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }

    .hero__content-title {
        font-size: 40px;
        max-width: 440px;
    }

    .hero__content-button {
        height: 34px;
        padding: 0;
        gap: 10px;
        max-width: 230px;
        font-size: 12px;
    }

    .hero__content-list li:not(:last-child)::after {
        font-size: 12px;
    }

    div.hero__content {
        gap: 40px;
    }

    .hero__wrapper {
        height: 463px;
    }

    .hero div.swiper-slide {
        background: var(--bg-mob) center/cover no-repeat;
    }
}

@media (max-width: 600px) {
    .hero__content-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero__wrapper {
        height: 727px;
    }

    .hero__content-list li:not(:last-child)::after {
        content: none;
    }

    .hero__content-list li:not(:last-child) {
        padding-right: 0;
    }

    .hero__content-list li:nth-child(4) {
        display: none;
    }

    .hero__content-list {
        grid-template-columns: repeat(3, auto);
    }

    .hero__content-wrapper {
        gap: 26px;
    }

    .hero__content-list-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .hero__content-list-wrapper .swiper-pagination {
        align-self: unset;
    }

    .hero__content-list {
        display: flex;
        gap: 15px;
        justify-content: space-between;
        width: 100%;
        flex-wrap: wrap;
    }

    .hero__content-button {
        max-width: 100%;
    }

    .hero__content-title {
        max-width: 400px;
        font-size: 40px;
    }
}

@media (max-width: 400px) {
    .hero__content-list {
        justify-content: center;
    }
}

@media (max-width: 375px) {
    .hero div.swiper-slide {
        background: var(--bg-tab) center/cover no-repeat;
    }
}

/* */
.hero__wrapper:has(.hero__content-additional-img-wrapper) {
    /*cursor: auto !important;*/
}

.hero__content:has(.hero__content-additional-img-wrapper) {
    position: relative;
}

.hero__content-additional-img-wrapper {
    position: absolute;
    right: 100px;
    top: 120px;
}

.hero__content-additional-img {}

.hero__content-additional-img-link {}

.hero__content-additional-img-img {
    display: block;
    max-width: 400px;
    height: auto;
    object-fit: cover;

    outline: none;
    border: none;
    user-select: none;
}

.hero__wrapper:has(.hero__content-additional-img-wrapper) .hero__custom-cursor {
    display: none;
}

@media (max-width: 1250px) {
    .hero__content-additional-img-img {
        max-width: 300px;
    }
}

@media (max-width: 1060px) {
    .hero__content-additional-img-wrapper {
        top: auto;
        bottom: 100px;
    }

    .hero__content-additional-img-img {
        max-width: 200px;
    }
}

@media (max-width: 840px) {
    .hero__content-additional-img-wrapper {
        right: 20px;
    }

    .hero__content-additional-img-img {
        max-width: 150px;
    }
}

@media (max-width: 650px) {
    .hero__content-additional-img-wrapper {
        top: 80px;
        right: 10px;
    }

    .hero__content-additional-img-img {
        max-width: 100px;
    }

    .hero__content:has(.hero__content-additional-img-wrapper) .hero__content-title {
        max-width: calc(100% - 10px);
        font-size: 26px;
    }
}

.hero__wrapper .slide-text {
    position: absolute;
    bottom: 260px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    z-index: 1;
}
.hero__wrapper .slide-text:before {
    content: "";
    display: block;
    width: 10px;
    height: 100%;
    position: absolute;
    top: 4px;
    left: 100px;
    background-color: #ce141c;
}
.hero__wrapper .slide-text--bold {
    font-weight: 500;
    text-transform: uppercase;
    text-align: left;
    font-size: 40px;
    line-height: 48px;
    margin-left: 40px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75), 0 0 22px rgba(0, 0, 0, 0.5);
}
.hero__wrapper .slide-text--regular {
    font-size: 36px;
    font-weight: 300;
    text-transform: uppercase;
    text-align: left;
    line-height: 36px;
    margin-left: 40px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75), 0 0 22px rgba(0, 0, 0, 0.5);
}
@media (max-width: 1250px) {
    .hero__wrapper .slide-text {
        bottom: 300px;
    }
    .hero__wrapper .slide-text--regular {
        line-height: 32px;
        font-size: 32px;
    }
}
@media (max-width: 1024px) {
    .hero__wrapper .slide-text {
        bottom: 330px;
    }
}
@media (max-width: 800px) {
    .hero__wrapper .slide-text {
        bottom: 330px;
    }
    .hero__wrapper .slide-text:before {
        left: 80px;
    }
}
@media (max-width: 769px) {
    .hero__wrapper .slide-text {
        bottom: 230px;
    }
}
@media (max-width: 650px) {
    .hero__wrapper .slide-text {
        bottom: 215px;
    }
    .hero__wrapper .slide-text:before {
        left: 80px;
    }
}
@media (max-width: 580px) {
    .hero__wrapper .slide-text--bold {
        font-size: 25px;
        line-height: 28px;
        margin-left: 30px;
    }
}
@media (max-width: 480px) {
    .hero__wrapper .slide-text {
        bottom: 270px;
        gap: 10px;
    }
    .hero__wrapper .slide-text:before {
        width: 8px;
        left: 20px;
    }

    .hero__wrapper .slide-text--regular {
        line-height: 20px;
        font-size: 20px;
        margin-left: 30px;
    }
}
.hero__wrapper a:not(.hero__content-button) {
    display: contents;
    color: #ffffff;
}
/* End */


/* Start:/local/templates/mrdoors2025/components/bitrix/news.list/services/style.css?17930910034134*/
/* =========================================
   Контейнеры и обертки
   ========================================= */
.page-container {
  max-width: 1920px;
  margin-inline: auto;
  padding-inline: 100px;
}

.services-slot {
  padding-top: 24px;
}

/* =========================================
   Блок .md-block
   ========================================= */
.md-block {
  font-family: "Cera Pro", sans-serif;
  color: #2e3234;
  min-width: 0;
  container-type: inline-size;
}

.md-block * {
  box-sizing: border-box;
}

/* =========================================
   Сетка сервисов
   ========================================= */
.md-service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

/* =========================================
   Карточка сервиса
   ========================================= */
.md-service {
  padding: 0;
  border: 0;
  background: white;
  color: inherit;
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.md-service:hover {
  box-shadow: inset 0 3px #ce141b;
}

.md-service:focus-visible {
  outline: 2px solid #ce141b;
  outline-offset: 3px;
}

/* Контент карточки */
.md-service-copy {
  display: flex;
  flex-direction: column;
  padding: 22px 18px 18px;
  min-height: 146px;
  flex: 1;
}

.md-service-copy strong {
  font-size: 20px;
  line-height: 1.12;
  font-weight: 500;
  max-width: 220px;
}

.md-service-short {
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  line-height: 1.35;
  color: #666c6e;
}

/* Изображение карточки */
.md-service img {
  height: 160px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.4s;
}

.md-service:hover img {
  transform: scale(1.025);
}

/* Специфические позиции для 3-й и 4-й карточек */
.md-service[data-md-service="3"] img {
  object-position: center center;
}

.md-service[data-md-service="4"] img {
  object-position: 70% center;
}

/* Иконка плюса */
.md-service-plus {
  display: grid;
  place-items: center;
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 32px;
  height: 32px;
  background: white;
  color: #2e3234;
  font-size: 24px;
  line-height: 1;
}

/* =========================================
   Адаптивность (Media Queries)
   ========================================= */
@media (max-width: 1100px) {
  .page-container {
    padding-inline: 40px;
  }
  
  .md-service-grid {
    gap: 10px;
  }
  
  .md-service-copy {
    padding: 18px 14px;
    min-height: 162px;
  }
  
  .md-service-copy strong {
    font-size: 18px;
  }
  
  .md-service img {
    height: 145px;
  }
}

@media (max-width: 1000px) {
  .page-container {
    padding-inline: 40px;
  }
}

@media (max-width: 750px) {
  .page-container {
    padding-inline: 20px;
  }

  .services-slot {
    padding-top: 20px;
  }

  .md-service-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    scrollbar-width: thin;
  }
  
  .md-service {
    flex: 0 0 230px;
    scroll-snap-align: start;
  }
  
  .md-service-copy {
    min-height: 137px;
  }
  
  .md-service-copy strong {
    font-size: 21px;
  }
  
  .md-service img {
    height: 150px;
  }
}

@media (max-width: 650px) {
  .page-container {
    padding-inline: 20px;
  }

  .services-slot {
    padding-top: 16px;
  }
}

/* =========================================
   Контейнерные запросы (Container Queries)
   ========================================= */
@container (max-width: 700px) {
  .md-service-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
  }
  
  .md-service {
    flex: 0 0 230px;
    scroll-snap-align: start;
  }
}

/* =========================================
   Доступность (Reduced Motion)
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  .md-service img {
    transition: none;
  }
}
/* End */


/* Start:/local/templates/mrdoors2025/components/bitrix/catalog.section.list/catalog_solutions/style.css?17930910034220*/
.sec_type.catalog-solutions {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    padding: 0 100px;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 36px;
    overflow-x: clip;
}

.sec_type.catalog-solutions .sec_type__title {
    color: #2e3234;
    font-family: "Cera Pro";
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
}

.catalog-description {
    margin: 0;
    color: #2e3234;
    font-family: "Cera Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    max-width: 620px;
    font-size: 16px;
    line-height: 1.3;
}

.catalog-description a {
    color: #2e3234;
    font-family: "Cera Pro";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
}

.catalog-solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.catalog-item {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
    cursor: pointer;
}

.catalog-item__media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
    z-index: 0;
}

.catalog-item:hover .catalog-item__media {
    transform: scale(1.05);
}

.catalog-item__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 49.52%, rgba(0, 0, 0, 0.50) 85.58%);
}

.catalog-item--business .catalog-item__overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.50) 13.94%, rgba(0, 0, 0, 0) 49.52%, rgba(0, 0, 0, 0.50) 85.58%);
}

.catalog-item__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    color: #F5F5F5;
    font-family: "Cera Pro";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    border-left: 4px solid #CE141D;
    padding: 0 10px;
}

.catalog-item__content {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    padding: 20px 20px;
}

.catalog-slide-title {
    color: #F5F5F5;
    font-family: "Cera Pro";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin: 0;
}

@media (max-width: 1280px) {
    .catalog-solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .catalog-slide-title {
        font-size: 20px;
    }

    .catalog-item__badge {
        font-size: 16px;
    }
}

@media (max-width: 1024px) {
    .catalog-description {
        font-size: 14px;
    }

    .catalog-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-item__badge {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .sec_type.catalog-solutions {
        padding: 0 80px;
    }

    .sec_type.catalog-solutions .sec_type__title {
        font-size: 24px;
        white-space: normal;
    }

    .catalog-solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .catalog-slide-title {
        font-size: 18px;
    }

    .catalog-item__badge {
        font-size: 14px;
        top: 16px;
        left: 16px;
        padding: 0 8px;
    }
}

@media (max-width: 600px) {
    .sec_type.catalog-solutions {
        padding: 0 80px;
    }
}

@media (max-width: 480px) {
    .sec_type.catalog-solutions {
        margin-top: 60px;
        padding: 0 20px;
    }

    .sec_type.catalog-solutions .sec_type__title {
        white-space: normal;
    }

    .catalog-solutions-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .catalog-slide-title {
        font-size: 16px;
    }

    .catalog-item__content {
        padding: 12px;
    }

    .catalog-item__badge {
        font-size: 14px;
        top: 12px;
        left: 12px;
        padding: 0 8px;
        border-left-width: 3px;
    }
}

/* End */


/* Start:/local/templates/mrdoors2025/components/bitrix/news.list/benefits/style.css?17930910037607*/
/* =========================================
   Глобальные сбросы и базовые стили
   ========================================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f5f5f5;
  color: #2e3234;
  font-family: "Cera Pro", sans-serif;
  font-size: 16px;
}

button {
  font: inherit;
  cursor: pointer;
  border-radius: 0;
  border: 0;
  background: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #ce141b;
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
}

h2, h3, p {
  margin: 0;
}

h2 {
  font-size: 36px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
}

/* =========================================
   Контейнеры и обертки
   ========================================= */
.page-container {
  max-width: 1920px;
  margin-inline: auto;
  padding-inline: 100px;
}

.benefits-slot {
  padding-block: 80px;
}

/* =========================================
   Блок .md-block (с поддержкой @container)
   ========================================= */
.md-block {
  font-family: "Cera Pro", sans-serif;
  color: #2e3234;
  min-width: 0;
  container-type: inline-size; /* Ключевое свойство для работы @container */
}

/* =========================================
   Заголовок секции и действия (навигация)
   ========================================= */
.md-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.md-section-head h2 {
  line-height: 1.1;
}

.md-benefits-head {
  align-items: center;
}

/* =========================================
   Заголовки (исправлено и дополнено)
   ========================================= */

/* Основной заголовок секции (h2) */
.md-block h2 {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
}

/* Заголовки карточек (h3) */
.md-block h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 16px;
}

/* Уточнения для шапки секции преимуществ */
.md-section-head h2 {
  line-height: 1.1;
}

.md-benefits-head h2 {
  max-width: 740px;
}

/* Уточнение для заголовка внутри карточки */
.md-story-copy h3 {
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 16px;
}

/* =========================================
   Адаптивность заголовков
   ========================================= */
@media (max-width: 1100px) {
  .md-block h2 {
    font-size: 32px;
  }
}

@media (max-width: 750px) {
  .md-block h2 {
    font-size: 27px;
  }
  
  .md-story h3 {
    font-size: 24px;
  }
  
  .md-kicker {
    font-size: 10px;
  }
}

@media (max-width: 650px) {
  .md-block h2 {
    font-size: 26px;
  }
}

.md-benefits-head h2 {
  max-width: 740px;
}

.md-heading-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-shrink: 0;
}

/* Навигация карусели */
.md-carousel-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: #2e3234;
}

.md-carousel-count {
  min-width: 90px;
  text-align: right;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  margin-right: 12px;
  color: #666c6e;
}

.md-carousel-nav button {
  width: 46px;
  height: 46px;
  border: 1px solid #cacac7;
  color: inherit;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.md-carousel-nav svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.md-carousel-nav button:hover:not(:disabled) {
  background: #2e3234;
  border-color: #2e3234;
  color: #fff;
}

.md-carousel-nav button:disabled {
  opacity: 0.25;
  cursor: default;
}

.md-carousel-nav button:focus-visible {
  outline: 2px solid #ce141b;
  outline-offset: 3px;
}

/* =========================================
   Карусель (Rail) и карточки (Story)
   ========================================= */
.md-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #a0a2a1 transparent;
  padding-bottom: 12px;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}

.md-rail > * {
  flex: 0 0 26%;
  scroll-snap-align: start;
  min-width: 0;
}

.md-rail:focus-visible {
  outline: 1px solid #ce141b;
  outline-offset: 5px;
}

/* Улучшения для свайпа (drag-to-scroll) */
.md-swipe-rail {
  scrollbar-width: none;
  padding-bottom: 0;
  cursor: grab;
  touch-action: pan-x pan-y pinch-zoom;
}

.md-swipe-rail::-webkit-scrollbar {
  display: none;
}

.md-swipe-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}

.md-swipe-rail img {
  -webkit-user-drag: none;
  user-select: none;
}

/* Карточка истории */
.md-story {
  background: #fff;
  overflow: hidden;
}

.md-story > img {
  width: 100%;
  height: 175px;
  object-fit: cover;
}

.md-story-copy {
  padding: 22px;
}

.md-story-copy h3 {
  margin: 0 0 16px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
}

.md-story-copy p {
  color: #62686b;
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.md-story-copy a {
  border-bottom: 1px solid #a3a5a5;
  color: inherit;
  text-decoration: none;
}

.md-story-copy a:hover {
  color: #ce141b;
  border-color: #ce141b;
}

/* Подзаголовок (кикер) */
.md-kicker {
  display: block;
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #666c6e;
  margin-bottom: 14px;
}

/* =========================================
   Контейнерные запросы (@container)
   ========================================= */
@container (max-width: 1050px) {
  .md-benefits-head {
    flex-wrap: wrap;
  }
  
  .md-heading-actions {
    width: 100%;
    justify-content: space-between;
  }
  
  .md-carousel-count {
    text-align: left;
  }
}

@container (max-width: 700px) {
  .md-rail > * {
    flex-basis: 84%;
  }
}

/* =========================================
   Адаптивность (Media Queries)
   ========================================= */
@media (max-width: 1100px) {
  .page-container {
    padding-inline: 40px;
  }
  
  .benefits-slot {
    padding-block: 70px 46px;
  }
}

@media (max-width: 1000px) {
  .page-container {
    padding-inline: 40px;
  }
}

@media (max-width: 750px) {
  .page-container {
    padding-inline: 20px;
  }

  .benefits-slot {
    padding-block: 50px;
  }

  .md-section-head {
    gap: 16px;
    margin-bottom: 24px;
  }

  h2 {
    font-size: 27px;
  }

  .md-rail > * {
    flex-basis: 84%;
  }

  .md-story > img {
    height: 215px;
  }

  .md-story-copy {
    padding: 24px;
  }

  .md-story h3 {
    font-size: 24px;
  }

  .md-kicker {
    font-size: 10px;
  }
}

@media (max-width: 650px) {
  .page-container {
    padding-inline: 20px;
  }

  .benefits-slot {
    padding-top: 46px;
    padding-bottom: 20px;
  }

  h2 {
    font-size: 26px;
  }
}

/* =========================================
   Доступность (Reduced Motion)
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  .md-rail {
    scroll-behavior: auto;
  }
  
  .md-carousel-nav button {
    transition: none;
  }
}
/* End */


/* Start:/local/templates/mrdoors2025/components/bitrix/news.list/portfolio/style.css?17930910035033*/
/* =========================================
   Секция Портфолио (основные отступы)
   ========================================= */
.portfolio {
  margin: 0;
  padding: 70px 0;
  background: #2e3234;
  color: #fff;
}

.portfolio .md-section-intro {
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.45;
  max-width: 800px;
}

/* =========================================
   Заголовок и кнопки управления
   ========================================= */
.md-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.md-section-head h2 {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
}

.md-controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* Специфичный цвет границ для кнопок в портфолио */
.portfolio .md-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid #727576;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.portfolio .md-controls button:hover:not(:disabled) {
  background: #2e3234;
  border-color: #2e3234;
  color: #fff;
}

.portfolio .md-controls button:disabled {
  opacity: 0.3;
  cursor: default;
  background: transparent;
  color: inherit;
}

.portfolio .md-controls button:focus-visible {
  outline: 2px solid #ce141b;
  outline-offset: 3px;
}

/* =========================================
   Карусель (Rail)
   ========================================= */
.md-rail {
  display: flex;
  gap: 20px; /* Отступ между карточками */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Скрываем скроллбар в Firefox */
  padding-bottom: 12px;
  scroll-behavior: smooth;
}

.md-rail::-webkit-scrollbar {
  display: none; /* Скрываем скроллбар в Chrome/Safari */
}

.md-rail:focus-visible {
  outline: 2px solid #ce141b;
  outline-offset: 4px;
}

/* На десктопе карточки занимают чуть меньше половины ширины */
.portfolio .md-rail > * {
  flex: 0 0 49%;
  flex-basis: 49%;
  scroll-snap-align: start;
  min-width: 0;
}

/* =========================================
   Карточка портфолио
   ========================================= */
.portfolio-card {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.portfolio-card > img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.35s ease-out;
}

.portfolio-card h3 {
  font-size: 23px;
  line-height: 1.2;
  font-weight: 500;
  margin: 22px 0 12px;
  transition: color 0.2s;
}

.portfolio-card p {
  font-size: 15px;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================================
   Подвал секции (кнопки действий)
   ========================================= */
.portfolio-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
}

.md-outline {
  font-family: inherit;
  font-size: 14px;
  padding: 14px 20px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  text-align: center;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.md-outline:hover {
  background: #2e3234;
  color: #fff;
}

.portfolio-bottom > a {
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  padding-bottom: 4px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

/* =========================================
   Адаптивность (Media Queries)
   ========================================= */
@media (max-width: 1100px) {
  .portfolio-card > img {
    height: 330px;
  }
}

@media (max-width: 750px) {
  .portfolio {
    padding-block: 45px;
  }

  .md-section-head {
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
  }

  .md-section-head h2 {
    font-size: 27px;
  }

  .portfolio .md-section-intro {
    font-size: 16px;
    margin-top: 20px;
  }

  /* На мобильных показываем почти одну карточку на экран */
  .portfolio .md-rail > * {
    flex: 0 0 90%;
    flex-basis: 90%;
  }

  .portfolio-card > img {
    height: 290px;
  }

  .portfolio-card h3 {
    font-size: 21px;
  }

  .portfolio-bottom {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 16px;
  }
  
  .portfolio .md-controls button {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .md-rail {
    scroll-behavior: auto;
  }
  .portfolio-card > img {
    transition: none;
  }
}
/* End */


/* Start:/local/templates/mrdoors2025/components/bitrix/news.list/trusted/style.css?17930910036988*/
.md-block {
  font-family: "Cera Pro", sans-serif;
  color: #2e3234;
  min-width: 0;
  container-type: inline-size;
}

.md-block h2 {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
}

.md-block h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
}

.md-kicker {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #666c6e;
  margin-bottom: 14px;
}

.md-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.md-section-head h2 {
  line-height: 1.1;
}

.md-section-intro {
  font-size: 18px;
  line-height: 1.45;
  max-width: 800px;
  margin-top: 24px;
}

.md-video {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 34px;
}

.md-video-caption h3 {
  font-size: 30px;
  line-height: 1.1;
  margin: 0 0 24px;
  font-weight: 500;
}

.md-video-caption p {
  color: #62686b;
  margin-bottom: 24px;
}

.md-text-link {
  display: inline-block;
  border-bottom: 1px solid #aaa;
  font-size: 14px;
  padding-bottom: 5px;
  color: #666c6e;
}

.md-video-frame.is-playing .md-video-start {
  display: none !important;
}

.md-video-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: #2e3234;
  width: 100%;
  overflow: hidden;
}

.md-video-start {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: none;
  color: white;
  cursor: pointer;
}

.md-video-start img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.md-video-start:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, #0009);
}

.md-play {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border: 1px solid #fff;
  background: #ffffffec;
  color: #2e3234;
  font-size: 24px;
}

.md-video-duration {
  position: absolute;
  bottom: 24px;
  left: 26px;
  z-index: 1;
  font-size: 14px;
}

.md-video-frame iframe {
  border: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.md-video-status {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 7px;
  background: #2e3234;
  color: white;
  z-index: 4;
  font-size: 12px;
}

.md-video-status:empty {
  display: none;
}

.md-factory-card .md-story-copy {
  padding: 22px;
}

.md-factory-card h3 {
  font-size: 22px;
}

.md-factory-card .md-kicker {
  font-size: 10px;
}

.md-production-facts .md-rail > * {
  flex-basis: 26%;
}

.md-carousel-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 22px;
}

.md-carousel-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: #2e3234;
}

.md-carousel-count {
  min-width: 90px;
  text-align: right;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
  margin-right: 12px;
  color: #666c6e;
}

.md-carousel-nav button {
  border: 1px solid #cacac7;
  width: 46px;
  height: 46px;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}

.md-carousel-nav svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.md-carousel-nav button:hover:not(:disabled) {
  background: #2e3234;
  border-color: #2e3234;
  color: #fff;
}

.md-carousel-nav button:disabled {
  opacity: .25;
  cursor: default;
}

.md-carousel-nav button:focus-visible {
  outline: 2px solid #ce141b;
  outline-offset: 3px;
}

.md-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #a0a2a1 transparent;
  padding-bottom: 12px;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}

.md-rail > * {
  scroll-snap-align: start;
  min-width: 0;
}

.md-rail:focus-visible {
  outline: 1px solid #ce141b;
  outline-offset: 5px;
}

.md-swipe-rail {
  scrollbar-width: none;
  padding-bottom: 0;
  cursor: grab;
  touch-action: pan-x pan-y pinch-zoom;
}

.md-swipe-rail::-webkit-scrollbar {
  display: none;
}

.md-swipe-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}

.md-swipe-rail img {
  -webkit-user-drag: none;
  user-select: none;
}

.md-story {
  background: #fff;
  overflow: hidden;
}

.md-story > img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.md-factory-card > img {
  height: 175px;
}

.md-story-copy a, .md-rail-footer a {
    border-bottom: 1px solid #a3a5a5;
    color: #666c6e;
}

.md-story-copy {
  padding: 25px 24px 30px;
}

.md-story-copy h3 {
  margin: 0 0 16px;
}

.md-story-copy p {
  color: #62686b;
  margin: 0;
}

.md-story-copy a,
.md-rail-footer a {
  border-bottom: 1px solid #a3a5a5;
}

.md-rail-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 14px;
  font-size: 16px;
  color: #666c6e;
}
.production-slot {
    padding-block: 80px;
}

@media (max-width: 1100px) {
  .md-video {
    gap: 28px;
  }
  .md-production-facts .md-rail > * {
    flex-basis: 32%;
  }
}

@media (max-width: 750px) {
  .md-section-head {
    gap: 16px;
    margin-bottom: 24px;
  }
  .md-block h2 {
    font-size: 27px;
  }
  .md-section-intro {
    font-size: 16px;
    margin-top: 20px;
  }
  .md-kicker {
    font-size: 10px;
  }
  .md-video {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 30px;
  }
  .md-video-caption h3 {
    font-size: 25px;
    margin-bottom: 16px;
  }
  .md-video-caption p {
    margin-bottom: 16px;
  }
  .md-play {
    width: 54px;
    height: 54px;
    font-size: 20px;
  }
  .md-video-duration {
    bottom: 18px;
    left: 18px;
    font-size: 12px;
  }
  .md-production-facts .md-rail > * {
    flex-basis: 80%;
  }
  .md-factory-card > img {
    height: 185px;
  }
  .md-rail-footer {
    align-items: flex-start;
    font-size: 12px;
  }
  .md-rail-footer p {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .md-rail {
    scroll-behavior: auto;
  }
  .md-carousel-nav button {
    transition: none;
  }
}
/* preloaded iframe under cover until play */
.md-video-frame iframe[aria-hidden="true"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.md-video-frame.is-playing iframe {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}
.md-video-frame.is-playing .md-video-start {
  display: none;
}.md-video-frame video {
  border: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: #000;
  object-fit: contain;
}
.md-video-frame.is-playing video {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* End */


/* Start:/local/templates/mrdoors2025/components/bitrix/news.list/stock/style.css?17930910032438*/
/* Заголовок секции и ссылка "Смотреть все" */
.md-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.md-section-head > a {
  font-size: 14px;
  white-space: nowrap;
  margin-top: 10px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  color: inherit;
  text-decoration: none;
}

.md-section-head > a:hover {
  color: #ce141b;
  border-color: #ce141b;
}

/* Подзаголовок (кикер) */
.md-kicker {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #666c6e;
  margin-bottom: 14px;
}

/* Основной контейнер секции */
.editorial-section {
  margin: 0 auto 80px;
}

/* Сетка карточек */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Карточка */
.editorial-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.editorial-copy {
  padding: 25px 24px 22px;
  flex: 1;
}

.editorial-copy h3 {
  font-size: 21px;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 16px;
}

.editorial-copy p {
  font-size: 14px;
  line-height: 1.45;
  color: #666c6e;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.editorial-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

/* Эффект при наведении */
.editorial-card:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* =========================================
   Адаптивность (строго из исходника)
   ========================================= */
@media (max-width: 1100px) {
  .editorial-copy {
    padding: 22px 18px;
  }
  
  .editorial-copy h3 {
    font-size: 19px;
  }
}

@media (max-width: 750px) {
  .editorial-section {
    margin-bottom: 50px;
  }
  
  .editorial-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 12px;
  }
  
  .editorial-card {
    flex: 0 0 87%;
    scroll-snap-align: start;
    min-width: 0;
  }
  
  .editorial-copy {
    padding: 24px;
  }
  
  .editorial-copy h3 {
    font-size: 21px;
  }
  
  .editorial-card img {
    height: 170px;
  }
}
/* End */


/* Start:/local/templates/mrdoors2025/components/bitrix/news.list/news/style.css?17930910032438*/
/* Заголовок секции и ссылка "Смотреть все" */
.md-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.md-section-head > a {
  font-size: 14px;
  white-space: nowrap;
  margin-top: 10px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  color: inherit;
  text-decoration: none;
}

.md-section-head > a:hover {
  color: #ce141b;
  border-color: #ce141b;
}

/* Подзаголовок (кикер) */
.md-kicker {
  display: block;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #666c6e;
  margin-bottom: 14px;
}

/* Основной контейнер секции */
.editorial-section {
  margin: 0 auto 80px;
}

/* Сетка карточек */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Карточка */
.editorial-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  text-decoration: none;
  color: inherit;
}

.editorial-copy {
  padding: 25px 24px 22px;
  flex: 1;
}

.editorial-copy h3 {
  font-size: 21px;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 16px;
}

.editorial-copy p {
  font-size: 14px;
  line-height: 1.45;
  color: #666c6e;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.editorial-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

/* Эффект при наведении */
.editorial-card:hover h3 {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* =========================================
   Адаптивность (строго из исходника)
   ========================================= */
@media (max-width: 1100px) {
  .editorial-copy {
    padding: 22px 18px;
  }
  
  .editorial-copy h3 {
    font-size: 19px;
  }
}

@media (max-width: 750px) {
  .editorial-section {
    margin-bottom: 50px;
  }
  
  .editorial-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 12px;
  }
  
  .editorial-card {
    flex: 0 0 87%;
    scroll-snap-align: start;
    min-width: 0;
  }
  
  .editorial-copy {
    padding: 24px;
  }
  
  .editorial-copy h3 {
    font-size: 21px;
  }
  
  .editorial-card img {
    height: 170px;
  }
}
/* End */


/* Start:/local/templates/mrdoors2025/components/bitrix/news.list/designers/style.css?17930910033610*/
/* =========================================
   Секция дизайнеров
   ========================================= */
.designers-section {
  padding-block: 10px 80px;
}

.designers-section .md-section-head h2 {
  font-size: 36px; /* Наследуется из .md-block h2, но явно для секции */
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
}

/* =========================================
   Кнопки управления (стрелки)
   ========================================= */
.md-controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.md-controls button {
  width: 44px;
  height: 44px;
  border: 1px solid #cacac7;
  color: inherit;
  background: transparent;
  font-family: inherit;
  font-size: 24px; /* Оптимально для символов ‹ › */
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.md-controls button:hover:not(:disabled) {
  background: #2e3234;
  color: #fff;
  border-color: #2e3234;
}

.md-controls button:disabled {
  opacity: 0.3;
  cursor: default;
  background: transparent;
  color: inherit;
}

.md-controls button:focus-visible {
  outline: 2px solid #ce141b;
  outline-offset: 3px;
}

/* =========================================
   Карусель (Rail)
   ========================================= */
.md-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #a0a2a1 transparent;
  padding-bottom: 12px;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}

.md-rail > * {
  scroll-snap-align: start;
  min-width: 0;
}

.md-rail:focus-visible {
  outline: 1px solid #ce141b;
  outline-offset: 5px;
}

/* =========================================
   Карточка дизайнера
   ========================================= */
.designer-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.designer-card > img {
  height: 355px;
  object-fit: cover;
  object-position: top;
  width: 100%;
}

.designer-card h3 {
  font-size: 23px;
  line-height: 1.2;
  font-weight: 500;
  margin: 0;
}

.designer-card p {
  font-size: 14px;
  line-height: 1.45;
  color: #666c6e;
  margin: 0;
}

.designer-card p:empty {
  display: none;
}

.designer-card > a {
  font-size: 14px;
  line-height: 1.4;
  margin-top: auto;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #a3a5a5;
  padding-bottom: 2px;
  width: max-content;
}

.designer-card > a:hover {
  color: #ce141b;
  border-color: #ce141b;
}

/* Кнопка "Запись к дизайнеру" */
.designer-card .md-outline {
  margin-top: 6px;
  font-family: inherit;
  font-size: 14px;
  padding: 14px 20px;
  border: 1px solid #2e3234;
  background: transparent;
  color: #2e3234;
  text-align: center;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.designer-card .md-outline:hover {
  background: #2e3234;
  color: #fff;
}

/* =========================================
   Адаптивность (строго из исходника)
   ========================================= */
@media (max-width: 1100px) {
  .designer-card > img {
    height: 300px;
  }
}

@media (max-width: 750px) {
  .designers-section {
    padding-block: 0 50px;
  }
  
  .designers-section .md-section-head h2 {
    font-size: 25px;
  }
  
  .designers-section .md-rail > * {
    flex-basis: 84%;
  }
  
  .designer-card > img {
    height: 315px;
  }
}
/* End */


/* Start:/local/templates/mrdoors2025/components/bitrix/news.list/feedback_black/style.css?17876446823140*/
section.feedback {margin-top: 80px;padding: 0 100px;display: flex;flex-direction: column;gap: 40px;}@media (max-width: 768px) {section.feedback {padding: 0 0 0 80px;}}@media (max-width: 480px) {section.feedback {margin-top: 60px;padding: 0 20px;}}.feedback__title {color: #4C4A44;font-family: "Cera Pro";font-size: 36px;font-style: normal;font-weight: 500;line-height: normal;text-transform: uppercase;}.feedback-swiper-wrapper {position: relative;}.feedbackSwiper {width: 100%;height: 500px;}.feedbackSwiper .swiper-slide {background-size: cover;background-position: center;position: relative;overflow: hidden;display: flex;align-items: flex-end;}.feedback-slide-content {background: linear-gradient(0deg, rgb(17 17 17) 15%, rgb(17 17 17 / 8%) 90%, rgb(17 17 17 / 0%) 100%);padding: 20px 40px;width: 100%;display: flex;flex-direction: column;gap: 15px;}.feedback-stars-wrapper {display: flex;gap: 5px;}.feedback-client-info {display: flex;flex-direction: column;gap: 8px;}.feedback-client-name {color: var(--White-Background, #F5F5F5);font-family: "Cera Pro";font-size: 14px;font-style: normal;font-weight: 500;line-height: 150%;text-transform: uppercase;}.feedback-client-comment {color: var(--White-Background, #F5F5F5);font-family: "Cera Pro";font-size: 12px;font-style: normal;font-weight: 400;line-height: 150%;}.feedback-info-buttons {display: flex;justify-content: space-between;align-items: center;}.feedback-button-wrapper {display: none;gap: 20px;margin-right: 20px;}.feedback-button-prev, .feedback-button-next {width: 50px;height: 50px;flex-shrink: 0;border-radius: 50%;border: 1px solid #4C4A44;display: flex;align-items: center;justify-content: center;}.feedback-button-prev {position: absolute;top: 50%;left: -70px;transform: translateY(-50%);z-index: 2;}.feedback-button-next {position: absolute;top: 50%;right: -70px;transform: translateY(-50%);z-index: 2;}.feedback-link-footer-mobile {color: #4C4A44;text-align: center;font-family: "Cera Pro";font-size: 20px;font-style: normal;font-weight: 400;line-height: 100%;padding: 4px 0;}@media (max-width: 480px) {.feedback-link-footer-mobile {font-size: 16px;}}@media (max-width: 1160px) {.feedbackSwiper {height: 310px;}}@media (max-width: 1024px) {.feedback-button-prev, .feedback-button-next {width: 30px;height: 30px;}.feedback-button-prev img, .feedback-button-next img {width: 14px;height: 14px;}.feedback-button-prev {left: -50px;}.feedback-button-next {right: -50px;}.feedback__title {font-size: 24px;}}@media (max-width: 768px) {.feedback-swiper-wrapper .feedback-button-prev, .feedback-swiper-wrapper .feedback-button-next {display: none;}.feedback-button-wrapper {display: flex;}.feedback-button-wrapper .feedback-button-prev, .feedback-button-wrapper .feedback-button-next {position: static;transform: none;}.feedback-slide-content {padding: 20px 20px;gap: 10px;}}@media (max-width: 450px) {.feedback-slide-content {padding: 10px;}}
.feedback_black { margin-top: 80px; padding-top: 80px; padding-bottom: 80px; background-color: #4C4A44; color: #F5F5F5; }
.feedback_black .feedback-header { margin-bottom: 40px; }
.feedback_black .feedback__title { color: #F5F5F5; }
/* End */


/* Start:/local/templates/mrdoors2025/components/bitrix/news.list/faq/style.css?17810192001925*/
section.faq {margin-top: 80px;}@media (max-width: 480px) {section.faq {margin-top: 60px;}}.faq__accordion-item {position: relative;-webkit-tap-highlight-color: transparent;}.faq__accordion-item:last-child {margin-bottom: 0;}.faq__accordion-item:first-child .faq__accordion-header {border-top: 1px solid #BABABA;}.faq__accordion-header {display: flex;justify-content: space-between;align-items: center;gap: 12px;height: auto;padding: 16px 10px;background-color: transparent;cursor: pointer;color: var(--Medium-Gray, #4C4A44);font-family: "Cera Pro";font-size: 18px;font-style: normal;font-weight: 400;line-height: 150%;text-transform: uppercase;position: relative;border-bottom: 1px solid #BABABA;}.faq__accordion-icon {right: 20px;transition: transform 0.5s ease, color 0.5s ease;width: 26px;min-width:25px;height: 26px;}.faq__accordion-icon path {fill: #4C4A44;}.faq__accordion-item--active .faq__accordion-icon {transform: rotate(-90deg);}.faq__accordion-header:hover, .faq__accordion-item--active .faq__accordion-icon path {background-color: #4C4A44;color: #F5F5F5;}.faq__accordion-header:hover .faq__accordion-icon path {fill: #F5F5F5;}.faq__accordion-item--active .faq__accordion-header, .faq__accordion-icon path {background-color: #4C4A44;color: #F5F5F5;}.faq__accordion-item--active .faq__accordion-header .faq__accordion-icon path {fill: #F5F5F5;}.faq__accordion-content {position: relative;overflow: hidden;max-height: 0;transition: max-height 0.6s ease;color: #0E0E0E;}.faq__accordion-content p {padding: 20px;color: var(--Medium-Gray, #4C4A44);font-family: Inter;font-size: 16px;font-style: normal;font-weight: 400;}.faq__link {color: #0E0E0E;text-decoration: underline;font-weight: 600;transition: color 0.3s ease;}.faq__accordion-text {display: block;word-break: break-word;}@media (max-width: 768px) {.faq__accordion-header {font-size: 12px;padding: 12px 10px;}.faq__accordion-icon {width: 16px;height: 16px;}}
/* End */


/* Start:/local/components/cmd_u/forms/templates/page_form/style.css?17930910039322*/
.consultation {position: relative;overflow: hidden;background-repeat: no-repeat, no-repeat;background-size: cover;background-position: center;margin-top: 80px;}@media (max-width: 480px) {.consultation {margin-top: 60px;}}.consultation::before {content: "";position: absolute;left: -173px;bottom: -340px;width: 1037px;height: 1037px;border-radius: 1037px;background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.7) 10%, rgba(0, 0, 0, 0) 100%);pointer-events: none;}div.consultation__wrapper {position: relative;display: flex;align-items: center;justify-content: space-between;gap: 40px;color: #fff;z-index: 1;padding-top: 80px;padding-bottom: 80px;}.consultation__title {color: #F5F5F5;font-size: 36px;font-style: normal;font-weight: 500;line-height: 39px;text-transform: uppercase;max-width: 520px;}.consultation__subtitle {color: #F5F5F5;font-size: 16px;font-style: normal;font-weight: 400;line-height: 20px;max-width: 259px;}.list_files {display: flex;flex-direction: column;gap: 10px;}.list_file {display: flex;align-items: center;gap: 5px;}.list_file img {width: 54px;height: 54px;}.list_file_name {font-weight: 500;font-style: Medium;font-size: 24px;line-height: 100%;letter-spacing: 0%;text-decoration: underline;text-decoration-style: solid;text-decoration-thickness: 0%;text-decoration-skip-ink: auto;color: #FFFFFF;}.consultation__content {display: flex;flex-direction: column;gap: 40px;}.consultation__form {background: #4C4A44;padding: 40px;display: flex;flex-direction: column;gap: 40px;max-width: 480px;width: 100%;}.form_title {font-weight: 700;font-style: Bold;font-size: 16px;line-height: 100%;text-transform: uppercase;color: #F5F5F5;}.consultation__inputs {display: flex;flex-direction: column;gap: 28px;}.div_input {width: 100%;position: relative;}.div_input input {width: 100%;}.required-icon {right: 0px;top: 0px;position: absolute;font-size: 20px;color: #D11B1D;}.consultation__form input[type=text], .consultation__form input[type=tel], .consultation__form input[type=email] {background: transparent;border: none;border-bottom: 1px solid #BABABA;padding-bottom: 16px;font-size: 16px;font-style: normal;font-weight: 250;line-height: 100%;}.consultation__form input::placeholder, .consultation__form textarea::placeholder {color: #BABABA;}.consultation__checkbox-input[type=checkbox] {-webkit-appearance: none;-moz-appearance: none;appearance: none;width: 20px;height: 20px;border: 1px solid #F4F1EA;position: relative;border-radius: 0;flex-shrink: 0;cursor: pointer;}.consultation__checkbox-input[type=checkbox]:checked::after {content: "";position: absolute;left: 50%;top: 50%;width: 5px;height: 10px;border: solid #F4F1EA;border-width: 0 2px 2px 0;transform: translate(-50%, -65%) rotate(45deg);}.consultation__checkbox {display: flex;align-items: center;gap: 13px;color: #F4F1EA;font-size: 16px;font-style: normal;font-weight: 400;line-height: normal;}.consultation__checkbox a {color: #F4F1EA;font-size: 16px;font-style: normal;font-weight: 400;line-height: normal;text-decoration-line: underline;text-decoration-style: solid;text-decoration-skip-ink: auto;text-decoration-thickness: auto;text-underline-offset: auto;text-underline-position: from-font;text-decoration: underline;}.consultation__form button {position: relative;display: flex;padding: 20px 24px;justify-content: center;align-items: center;gap: 10px;align-self: stretch;background: #F5F5F5;color: #111;text-align: center;font-size: 16px;font-style: normal;font-weight: 400;line-height: 100%;text-transform: uppercase;}.consultation__form button:hover {text-decoration: underline;text-underline-offset: 4px;}.form_textarea {background: transparent;border: none;border-bottom: 1px solid #BABABA;padding-bottom: 16px;color: #BABABA;font-size: 16px;font-style: normal;font-weight: 250;line-height: 100%;outline: none;resize: none;height: 50px;}.checkboxes_new {display: flex;flex-direction: column;gap: 10px;}.checkbox_item_input[type=checkbox] {-webkit-appearance: none;-moz-appearance: none;appearance: none;width: 20px;height: 20px;border: 1px solid #F4F1EA;position: relative;border-radius: 0;flex-shrink: 0;cursor: pointer;}.checkbox_item_input[type=checkbox]:checked::after {content: "";position: absolute;left: 50%;top: 50%;width: 5px;height: 10px;border: solid #F4F1EA;border-width: 0 2px 2px 0;transform: translate(-50%, -65%) rotate(45deg);}.checkbox_item {display: flex;align-items: center;gap: 13px;color: #F4F1EA;font-size: 16px;font-style: normal;font-weight: 400;line-height: normal;}.checkbox_item span a {color: #F4F1EA;font-size: 16px;font-style: normal;font-weight: 400;line-height: normal;text-decoration-line: underline;text-decoration-style: solid;text-decoration-skip-ink: auto;text-decoration-thickness: auto;text-underline-offset: auto;text-underline-position: from-font;text-decoration: underline;}@media (min-width: 1441px) {.consultation__form {max-width: 600px;width: 100%;}}@media (max-width: 860px) {.consultation__wrapper {flex-direction: column;}.consultation__wrapper {align-items: start;}.consultation__form {max-width: 100%;width: 100%;}}@media screen and (max-width: 768px) {.list_file_name {font-size: 20px;}.consultation__title {font-size: 24px;}}@media screen and (max-width: 480px) {.list_file img {width: 36px;height: 36px;}.list_file_name {font-size: 14px;}}@media (max-width: 360px) {.consultation__form button {font-size: 16px;}}

/* =========================================
   Обертка формы консультации
   ========================================= */
.consult-form {
  padding: 32px;
  background: #fff;
  color: #2e3234;
}

/* =========================================
   Основная структура формы (.md-form)
   ========================================= */
.md-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Сетка для имени и телефона (2 колонки) */
.md-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Стили лейблов (кроме чекбоксов) */
.md-form label:not(.md-consent) {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13px;
}

/* Поля ввода и текстовые области */
.md-form input:not([type=checkbox]),
.md-form textarea {
  border: 1px solid #cacac7;
  border-radius: 0;
  background: #fff;
  color: #2e3234;
  font: inherit;
  font-size: 14px;
  width: 100%;
  padding: 0 12px;
  height: 44px;
  resize: vertical;
  transition: border-color 0.2s;
}

.md-form input:not([type=checkbox]):focus,
.md-form textarea:focus {
  border-color: #2e3234;
  outline: none;
}

.md-form textarea {
  min-height: 65px;
  height: auto;
  padding: 12px;
}

/* =========================================
   Чекбоксы согласия (.md-consent)
   ========================================= */
.md-consent {
  display: flex;
  gap: 10px;
  font-size: 11px;
  line-height: 1.35;
  color: #666c6e;
  cursor: pointer;
}

.md-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  accent-color: #2e3234;
  margin: 1px 0;
  cursor: pointer;
}

.md-consent a {
  color: inherit;
  text-decoration: underline;
}

.md-consent a:hover {
  color: #ce141b;
}

/* =========================================
   Дополнительные элементы формы
   ========================================= */
.md-optional {
  color: #777;
  font-size: 11px;
  font-weight: 400;
  display: inline;
}

.md-submit {
  font-family: inherit;
  font-size: 14px;
  padding: 14px 20px;
  border: 1px solid #2e3234;
  border-radius: 0;
  text-align: center;
  cursor: pointer;
  text-transform: uppercase;
  background: #2e3234;
  color: #fff;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  margin-top: 8px;
}

.md-submit:hover {
  background: #464b4d;
  border-color: #464b4d;
}

.md-form-note {
  font-size: 11px !important;
  line-height: 1.3;
  color: #666c6e;
  margin: 0;
}

.md-form-result {
  font-size: 14px;
  line-height: 1.4;
  padding: 16px;
  background: #f5f5f5;
  border-left: 2px solid #ce141b;
  color: #2e3234;
  margin: 0;
}

/* =========================================
   Состояние фокуса (доступность)
   ========================================= */
.md-form :focus-visible {
  outline: 2px solid #ce141b;
  outline-offset: 3px;
}

.consultation__wrapper.consult-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

/* =========================================
   Адаптивность (Мобильные устройства)
   ========================================= */
@media (max-width: 750px) {
  .consult-form {
    padding: 24px;
  }
  
  .md-field-row {
    grid-template-columns: 1fr; /* На мобильном имя и телефон друг под другом */
  }
}
@media (max-width: 1100px) {
    .consultation__wrapper.consult-layout {
        gap: 45px;
    }
    .consult-layout h2 {
        font-size: 30px;
    }
    div.consultation__wrapper {
      padding: 65px 40px;
    }
}
@media (max-width: 750px) {
    .consultation__wrapper.consult-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    div.consultation__wrapper {
      padding: 40px 20px;
    }
    .consultation__content {
      gap: 18px;
    }
}
/* End */
/* /local/templates/mrdoors2025/components/bitrix/news.list/page_slider_top/style.css?178766024613036 */
/* /local/templates/mrdoors2025/components/bitrix/news.list/services/style.css?17930910034134 */
/* /local/templates/mrdoors2025/components/bitrix/catalog.section.list/catalog_solutions/style.css?17930910034220 */
/* /local/templates/mrdoors2025/components/bitrix/news.list/benefits/style.css?17930910037607 */
/* /local/templates/mrdoors2025/components/bitrix/news.list/portfolio/style.css?17930910035033 */
/* /local/templates/mrdoors2025/components/bitrix/news.list/trusted/style.css?17930910036988 */
/* /local/templates/mrdoors2025/components/bitrix/news.list/stock/style.css?17930910032438 */
/* /local/templates/mrdoors2025/components/bitrix/news.list/news/style.css?17930910032438 */
/* /local/templates/mrdoors2025/components/bitrix/news.list/designers/style.css?17930910033610 */
/* /local/templates/mrdoors2025/components/bitrix/news.list/feedback_black/style.css?17876446823140 */
/* /local/templates/mrdoors2025/components/bitrix/news.list/faq/style.css?17810192001925 */
/* /local/components/cmd_u/forms/templates/page_form/style.css?17930910039322 */
