.menu-page {
  margin: 0 auto;
  max-width: clamp(1220px, calc(106.28vw + 403.77px), 1440px);
  padding: 0 25px;
  font-family: Corbel;
  vertical-align: middle;
}
.menu-page-title {
  font-weight: 700;
  font-size: clamp(48px, calc(1.389vw + 37.33px), 64px);
  line-height: clamp(52.01px, calc(1.388vw + 41.35px), 68px);
  letter-spacing: clamp(-0.14px, calc(-0.038vw + 0.15px), -0.58px);
  text-align: center;
  margin: 50px auto;
  max-width: 820px;
}
.menu-page-title:after {
  content: "";
  display: block;
  height: 4px;
  background: #0c1247;
  width: 40%;
  margin: 15px auto 0;
}
.menu-page-description,
.menu-page-description-two {
  margin: 0 auto;
  display: block;
  text-align: left;
  font-weight: 400;
  font-size: 17px;
  line-height: 25px;
  letter-spacing: -0.37px;
  border-bottom: 1px #00000029 solid;
  padding-bottom: 20px;
  margin-bottom: 48px;
  color: #1d1d1f;
}
.menu-page-description {
  max-width: 980px;
}
.menu-page-description-two {
  max-width: 1440px;
  padding: 0 20px;
}
.menu-page-image {
  /*width: 100%;       
  aspect-ratio: 1 / 1;  
  object-fit: cover;   
  display: block;
  */
  width: min(58.3333333333vw - 0px / 12 * 8, 1120px);
  aspect-ratio: 1.335483871;
  margin: 0 auto 80px;
}
@media (max-width: 1068px) {
  .menu-page-image {
    aspect-ratio: 1.3391304348;
  }
}

@media (max-width: 734px) {
  .menu-page-image {
    width: min(
      72.9166666667vw - var(--global-scrollbar-width) / 12 * 10,
      1400px
    );
    aspect-ratio: 1.3401015228;
  }
}
/*
.menu-page-image{
   margin: 0 auto 80px;
  max-width: 1120px;
  height: 838px;
}
  */
.menu-page-image img {
  width: 100%;
  height: 100%;
}
.page-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Две равные колонки */
  gap: 82px; /* Отступ между колонками (по желанию) */
}
.page-contacts-section h2 {
  text-align: left;
  font-family: Corbel;
  font-weight: 700;
  font-size: 40px;
  line-height: 44px;
  letter-spacing: 0%;
  vertical-align: middle;
}
.page-contacts {
  padding-top: 30px;
}
.page-contacts-item {
  max-width: 406px;
}
.page-contacts-item p,
.page-contacts-item ul {
  padding-bottom: 20px;
}
.page-contacts-item a {
  color: #0066cc !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: inline !important;
}
.page-contacts-item li {
  list-style: inside;
}
.page-contacts-map {
  max-width: 1571px;
  max-height: 693px;
}
.page-contacts-base {
  margin: 50px auto;
  max-width: 982px;
  padding: 40px 0;
  background-color: #f5f5f7;
  border: 1px #d2d2d7 solid;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.page-contacts-base li {
  font-family: Corbel;
  font-weight: 400;
  font-size: 17px;
  line-height: 25px;
  letter-spacing: -0.37px;
  text-align: center;
  vertical-align: middle;
}
.page-contacts-base li a {
  color: #1d1d1f;
}
.page-contacts-section h3 {
  font-family: Corbel;
  font-weight: 700;
  font-size: 28px;
  line-height: 32px;
  letter-spacing: 0.2px;
  vertical-align: middle;
  margin-bottom: 13px;
}
/**/
.features-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  /* отступ между блоками */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 20px 0;
}

.feature-item {
  flex: 1 1 calc(33.333% - 20px);
  /* 3 в ряд с учетом gap */
  text-align: left;
  min-width: 250px;
}

.feature-item img {
  width: 60px;
  /* малое изображение */
  height: auto;
  margin-bottom: 15px;
}

.feature-item p {
  font-weight: bold;
  color: black;
  text-align: left;
}

/* Адаптив */
@media (max-width: 1024px) {
  .feature-item {
    flex: 1 1 calc(50% - 20px);
    /* 2 в ряд */
  }
}

@media (max-width: 600px) {
  .feature-item {
    flex: 1 1 100%;
    /* 1 в ряд */
  }
}

.link-page a {
  padding: 10px;
  background: #0071e3;
  border: 1px solid #0066cc;
  color: white;
  border-radius: 50px;
  font-family: Corbel;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  margin: 0 auto;
}
  
/**/
.grid-container-page {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;
  padding: 0 20px;
  max-width: 1440px;
  margin: 0 auto;
}

.grid-item-page {
  max-width: 403px;
  overflow: hidden;
  text-align: center;
}

.grid-item-page-img {
  max-width: 366px;
  height: 219px;
}

.grid-item-page-img img {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

.grid-item-page .title {
  font-weight: bold;
  margin: 10px 0 5px;
  font-size: 16px;
}

.grid-item-page .text {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}
.menu-page-subtitle {
  display: block; /* перенос на новую строку */
  font-size: 14px; /* меньший размер, чем основной h1 */
  line-height: normal;
  margin-top: 10px;
}
/**/
.grid-container-detskii-prazdnik {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  padding: 0 20px;
  margin-bottom: 20px;
}

.grid-item-detskii-prazdnik {
  text-align: center;
}

.grid-item-detskii-prazdnik-img {
  width: 100%;
  max-width: 525px;
  height: 525px;
  margin: 0 auto 15px;
  overflow: hidden;
  border-radius: 10px;
}

.grid-item-detskii-prazdnik-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-item-detskii-prazdnik .title {
  font-weight: bold;
  margin-bottom: 10px;
}

.grid-item-detskii-prazdnik .btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
}
.static-text {
  font-family: Corbel;
  font-weight: 700;
  font-style: Bold;
  font-size: 28px;
  leading-trim: NONE;
  line-height: 32px;
  letter-spacing: -0.37px;
  vertical-align: middle;
  color: #6e6e73;
  padding: 0 30px;
  text-align: center;
}
@media (max-width: 1023px) {
  .grid-container-detskii-prazdnik {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .static-text {
    padding: 0 20px;
    font-size: 24px;
    margin: 40px 0;
  }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
  .grid-item-detskii-prazdnik-img {
    max-width: 100%;
    height: auto;
  }

  .grid-item-detskii-prazdnik-img img {
    height: auto;
    object-fit: contain; /* чтобы мелкие экраны не обрезали лицо :) */
  }
  .static-text {
    font-size: 16px;
    margin: 20px 0;
    line-height: normal;
  }
}
/**/
.section-cards-detskii-prazdnik {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
  max-width: 1780px;
  padding: 0 20px;
  margin: 0 auto;
}
.card-detskii-prazdnik {
  text-align: center;
  background: #fff;
  overflow: hidden;
}
.card-img-detskii-prazdnik {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 10px;
}
.card-img-detskii-prazdnik img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-title-detskii-prazdnik {
  font-weight: bold;
  margin: 15px 0 10px;
  text-transform: uppercase;
}
.card-text-detskii-prazdnik {
  font-size: 14px;
  color: #333;
  margin: 0 15px 15px;
  line-height: 1.5;
  text-align: left;
}
.card-btn-detskii-prazdnik {
  display: inline-block;
  padding: 10px 20px;
  margin-bottom: 20px;
  border-radius: 20px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
/**/
.kak-dobratsya {
  margin-top: 20px;
}
.iblock-slider-kak {
  margin-top: 20px;
}
.iblock-slide__title {
  font-weight: bold;
}
.iblock-slider-kak img {
  max-width: 500px;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}
.no-info-message{
  margin: 40px 0 20px 0;
}
.price-block-title{
  list-style: none !important;
}
/**/
.sertif-slide .after-slide{
    display: flex;
    flex-direction: column;
    min-height: 820px;
    border-radius: 12px;
    justify-content: space-between;
}
.sertif-slide .slide-header h3{
  min-height: 50px;
}
.sertif-slide button{
  margin-bottom: 15px;
}
.sertif-slide a{
  font-weight: 400 !important;
}
.sertif-slide img{
  height: 100% !important;
  width: 100%;
  object-fit: cover;
}
.feature-item-title-defore{
  margin-bottom: 15px;
}
.features-container {
    counter-reset: feat; /* сброс счетчика */
}

.feature-item-title-defore {
    counter-increment: feat; /* увеличиваем счетчик для каждого элемента */
    position: relative;
    padding-left: 60px; /* отступ под иконку */
    font-weight: bold;
}

/* кружок с картинкой + цифрой */
.feature-item-title-defore::before {
    content: counter(feat); /* авто-цифра */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);

    width: 40px;
    height: 40px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    font-weight: bold;
    color: #fff;

    background: url("../img/page-general/icon/img_preim_pg.png") no-repeat center/cover;
}
/*
.feature-item-title-defore:before{
      counter-increment: num;
    content: counter(num);
    display: inline-block;
    background: #0c1247;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-family: LatoBlack;
    font-size: 15px;
    font-style: normal;
    font-weight: normal;
    line-height: 31px;
    color: #fff;
    text-align: center;
    padding: 0;
    margin: 0 13px 0 -12px;
}
    */