.cid-cosmetic {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #ffffff;
    /* overflow: hidden; */

 
  padding: 1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.3s;
  border-radius: 20px;
  margin-top: 20px;
}

.cid-cosmetic .mbr-fallback-image.disabled {
    display: none;
}

.cid-cosmetic .mbr-fallback-image {
    display: block;
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}

.cid-cosmetic .content-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

@media (max-width: 992px) {
    .cid-cosmetic .content-wrapper {
        padding: 0 16px;
    }
}



.cid-cosmetic .content-wrapper::before {
    left: 0;
}

.cid-cosmetic .content-wrapper::after {
    right: 0;
}

.cid-cosmetic .content-wrap {
    width: -webkit-fill-available;
    min-width: -moz-available;
    align-items: center;
}

.cid-cosmetic .mbr-section-title {
    margin-bottom: 32px;
    color: #0a0a0a;
}

.cid-cosmetic .text-wrapper .mbr-text {
    display: inline-block;
    width: 80%;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .cid-cosmetic .text-wrapper .mbr-text {
        width: 100%;
    }
}

.cid-cosmetic .mbr-section-btn {
    margin-top: 1.5em;
    margin-block-end: 1.5em;
}
@media (max-width: 992px) {
    .cid-cosmetic .mbr-section-btn {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}
.cid-cosmetic .image-wrapper {
    position: relative;
}

@media (max-width: 992px) {
    .cid-cosmetic .image-wrapper {
        margin-top: 32px;
    }
}



.cid-cosmetic .image-wrapper .image-wrap img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    animation: none;
}

@media (max-width: 992px) {
    .cid-cosmetic .image-wrapper .image-wrap img {
        height: 300px;
    }
}

.cid-cosmetic .mbr-text {
    color: var(--text-color);
}

.cid-items {
    margin-top: 100px;
    margin-block-end: 100px;
}
.cid-items p {
    text-align: center !important;
}
.rounded-full {
  border-radius: 9999px;
}
.justify-center {
  justify-content: center;
}
.items-center {
  align-items: center;
}
.w-16 {
  width: 4rem;
}
.h-16 {
  height: 4rem;
}
.flex {
  display: flex;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mbr-section-btn .btn-cosmetic {
    position: relative;
    /* overflow: hidden; */
    padding: 5px 50px;
    margin: 0;
    border-radius: 10px;
    text-align: center;
    background: linear-gradient(to bottom,#54a5cf 0%,#005fa3 100%);
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    line-height: 2em;
    text-decoration: none;
}

.duration-300 {
  transition-duration: .3s;
}
.transition {
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
}
.show-sm:hover {
  box-shadow: 0 15px 30px -20px rgba(0,0,0,.5);
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.rounded-2xl {
  border-radius: 1rem;
}
/* .overflow-hidden {
  overflow: hidden;
} */
.flex-col {
  flex-direction: column;
}
.h-full {
  height: 100%;
}
.flex {
  display: flex;
}


/* .overflow-hidden {
  overflow: hidden;
} */
.h-48 {
  height: 17rem;
}

.group:hover .group-hover\:scale-105 {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.duration-500 {
  transition-duration: .5s;
}
.transition {
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .15s;
}
.object-cover {
  -o-object-fit: cover;
  object-fit: cover;
}
.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}
img, video {
  max-width: 100%;
  height: auto;
}
img, svg, video, canvas, audio, iframe, embed, object {
  display: block;

}
@media (min-width: 768px) {
  .md\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}
@media (min-width: 768px) {
  .md\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}


.p-6 {
  padding: 1.5rem;
}
.flex-col {
  flex-direction: column;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex {
  display: flex;
}
*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}



.mbr-fallback-image.disabled {
    display: none;
}

.mbr-fallback-image {
    display: block;
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}

.cid-content-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
}

@media (max-width: 992px) {
    .cid-content-wrapper {
        padding: 0 16px;
    }
}

.cid-content-wrapper::before,
.cid-content-wrapper::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 1000vh;
    background-color: #eaeaea;
}

.cid-content-wrapper::before {
    left: 0;
}

.cid-content-wrapper::after {
    right: 0;
}

.content-wrap {
    width: -webkit-fill-available;
    min-width: -moz-available;
    margin: 0 -4px;
}

.mbr-section-title {
    margin-top: 1em;
    color: #0a0a0a;
    font-size: 2.5em;
}

.cid-item {
    padding: 0 4px;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .cid-item {
        margin-bottom: 16px;
    }

    .cid-item:last-child {
        margin-bottom: 0;
    }
}

.cid-item .item-wrapper {
    position: relative;
    height: 100%;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 435px;
}

.text-1 {
    font-size: 3em;
}
.text-2 {
    font-size: 2em;
}
@media (max-width: 992px) {
    .text-1 {
        font-size: 2.5em;
        text-align: center;
    }

    .text-2 {
        font-size: 1.5em;
        text-align: center;
    }
}
@media (max-width: 768px) {
    .text-1 {
        font-size: 2em;
        text-align: center;
    }

    .text-2 {
        font-size: 1em;
        text-align: center;
    }
}
@media (max-width: 992px) {
    .cid-item .item-wrapper {
        padding: 24px 16px;
        min-height: 350px;
    }
}
@media (min-width: 992px) and (max-width: 1200px) {
  .star-5 .star-4 {
    
    font-size: calc( 1.2625rem + (1.75 - 1.2625) * ((100vw - 62rem) / (87 - 62)));
    line-height: calc( 1.2 * (1.2625rem + (1.75 - 1.2625) * ((100vw - 62rem) / (87 - 62))));
  }
}
@media (min-width: 1200px) {
  .star-5 .star-4 {
    font-size: 2rem;
  }
}

.cid-item .item-wrapper .item-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cid-item .item-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0a0a;
    opacity: 0.6;
    pointer-events: none;
    z-index: 1;
}

.cid-item .item-wrapper .person-wrapper {
    position: relative;
    z-index: 1;
}

.cid-item .item-wrapper .person-wrapper .item-name {
    margin-bottom: 4px;
}

.cid-item .item-wrapper .person-wrapper .item-role {
    margin-bottom: 0;
}

.cid-item .item-wrapper .item-content {
    position: relative;
    z-index: 1;
}

.cid-item .item-wrapper .item-content .rating-wrapper {
    margin-bottom: 8px;
}

.cid-item .item-wrapper .item-content .rating-wrapper .rating-wrap {
    display: inline-flex;
}

.cid-item .item-wrapper .item-content .rating-wrapper .rating-wrap .mbr-star {
    margin-right: 2px;
    margin-bottom: 0;
}

.cid-item .item-wrapper .item-content .rating-wrapper .rating-wrap .mbr-star:last-child {
    margin-right: 0;
}

.cid-item .item-wrapper .item-content .item-text {
    margin-bottom: 0;
}

.btn-wrapper {
    margin-top: -10%;
}

.item-name {
    color: #ffffff;
}

.item-role {
    color: #ffffff;
}

.item-text {
    color: #ffffff;
}

.mbr-star {
    color: #ff4306;
}

.mbr-star,
.rating-wrapper {
    color: #ffdd1a;
}

.group:hover .group-hover\:scale-105 {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.duration-500 {
  transition-duration: .5s;
}
.transition {
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .15s;
}
.object-cover {
  -o-object-fit: cover;
  object-fit: cover;
}
.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}
img, video {
  max-width: 100%;
  height: auto;
}
img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
}
*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}
*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / .5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ;
  --tw-brightness: ;
  --tw-contrast: ;
  --tw-grayscale: ;
  --tw-hue-rotate: ;
  --tw-invert: ;
  --tw-saturate: ;
  --tw-sepia: ;
  --tw-drop-shadow: ;
  --tw-backdrop-blur: ;
  --tw-backdrop-brightness: ;
  --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ;
  --tw-backdrop-hue-rotate: ;
  --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ;
  --tw-backdrop-saturate: ;
  --tw-backdrop-sepia: ;
  --tw-contain-size: ;
  --tw-contain-layout: ;
  --tw-contain-paint: ;
  --tw-contain-style: ;
}


.promo-text {
    color: #e5e7eb;
}

/* .promo {
  background-color: var(--contrast-color) !important;
  position: absolute !important;
  left: 0;
  right: 0;
  margin-top: 50px;
  margin-block-end: 50px;
  padding-top: 3rem;
  padding-bottom: 3rem;
}




@media (max-width: 992px) {
    .promo-us .promo {
background-color: var(--contrast-color) !important;
  position: absolute;
  left: 0;
  right: 0;
  margin-top: 20px;
  margin-block-end: 20px;
  padding-top: 2rem;
  padding-bottom: 2rem;
    }
}
@media (min-width: 992px) and (max-width: 1200px) {
  .promo-us .promo {
background-color: var(--contrast-color) !important;
  position: absolute;
  left: 0;
  right: 0;
  margin-top: 50px;
  margin-block-end: 50px;
  padding-top: 3rem;
  padding-bottom: 3rem;
  }
}
@media (min-width: 1200px) {
  .promo-us .promo {
    font-size: 2rem;
  }
} */

.testimonials-section .promo-text{
  font-size: 2em;
  font-family: 'Varela Round', sans-serif;

  font-style: normal;

  margin-top: 100px;
  margin-bottom: 1.5rem;
  color: var(--text-color);
}
/* ===== HERO VIDEO ===== */
.hero-media {
  width: 100%;
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  width: 100%;
  height: 100%;
  max-width: 420px;      /* как у картинки раньше */
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
}
/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .hero-media {
    min-height: auto;
    margin-top: 24px; /* отступ от текста */
  }

  .hero-video {
    max-width: 100%;
    aspect-ratio: 16 / 9; /* лучше для мобилок */
    border-radius: 12px;
  }
}

/* ===== VERY SMALL ===== */
@media (max-width: 480px) {
  .hero-video {
    aspect-ratio: 4 / 4; /* красиво под вертикальные экраны */
  }
}