.inclusive {
    color: #fefefe;
    font-family: Gilroy, sans-serif;
    font-size: 16px;
    margin: 16px 0;
    text-transform: unset;
}

.tabs__text_program {
    text-transform: unset;
}

.switch-program__next:after, .switch-program__prev:before {
    content: "";
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-top: unset;
    border-left: unset;
    display: inline-block;
    transform: rotate(-45deg);
}
.switch-program__prev:before{
    transform: rotate(135deg);

}

.switch-program__next, .switch-program__prev {
    display: flex;
    color: white;
}
@media screen and (max-width: 768px){
	.switch-program__next, .switch-program__prev {
		font-size: 16px;
	}
}
.switch-program__wrap a:hover{
	color: #de9058;
}
.switch-program__wrap a:hover:before, .switch-program__wrap a:hover:after{
	border-color: #de9058;
}

.switch-program__wrap {
    display: flex;
    justify-content: space-between;
    height: 50px;
    /*align-items: center;*/ 
}


.contacts__slider .background-img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contacts__slider .splide__slide {
    background: #000;
    height: 560px;
    padding: 40px 100px 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.contacts__slider .splide__arrow {
    height: unset;
    width: unset;
    display: block;
    padding: 0;
    background: unset !important;
    border: unset;
    opacity: unset !important;
}

.contacts__slider .splide__arrow svg {
    fill: unset;
    height: unset;
    width: unset;
}


@media screen and (max-width: 768px) {
    .contacts__slider .splide__slide {
        height: 265px;
        padding: 30px;
        max-height: 80vh;
    }
    .contacts__slider .splide__arrow {
        scale: 0.7;
    }
}





.social_feedback {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 99999
}

.social_feedback .social_desktop .icon {
    display: none;
    margin-bottom: 10px;
    background-repeat: no-repeat;
    background-size: contain;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    cursor: pointer
}

.social_feedback .social_desktop .icon.telegram {
    background-image: url("../img/sm_telegram.svg")
}

.social_feedback .social_desktop .icon.whatsapp {
    background-image: url("../img/sm_whatsapp.svg")
}

.social_feedback .social_desktop .menu {
    background: url("../img/message.svg?2") no-repeat;
    background-color: transparent;
    background-size: contain;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    box-shadow: 0 0 43.4px 0 #de905866;
    cursor: pointer
}

.social_feedback .social_desktop.active .menu {
    background-image: url("../img/message_close.svg?2")
}

.social_feedback .social_desktop.active .icon {
    display: block
}

.social_feedback .social_mob {
    display: none
}

@media (max-width: 1152px) {
    
.iframe-container {
    display: flex;
    justify-content: center; /* Центрируем iframe по горизонтали */
    align-items: center; /* Центрируем iframe по вертикали */
    margin: 20px 0; /* Отступ сверху и снизу */
    }

    .iframe-container iframe {
    width: 150px;
    height: 50px;
    border: none; /* Убираем рамку */
    }

    .iframe-container iframe {
        width: 100%; /* Убираем фиксированную ширину, чтобы iframe адаптировался */
        max-width: 150px; /* Ограничиваем максимальную ширину */
    }
}

@media only screen and (max-width:480px) {
    .social_feedback {
        bottom: 10px;
        left: 10px
    }

    .social_feedback .social_desktop {
        display: none
    }

    .social_feedback .social_mob {
        display: block;
        margin-bottom: 10px;
        padding: 7px 80px 7px 10px;
        background-repeat: no-repeat;
        background-position: center right 7px;
        border-radius: 5px;
        color: #fff;
        font-size: 14px;
        line-height: 1
    }

    .social_feedback .social_mob.telegram {
        background-image: url("../img/sm_telegram_red.svg");
        background-color: #000000;
        border: 1px solid #de9058;
        color: #de9058
    }

    .social_feedback .social_mob.whatsapp {
        background-image: url("../img/sm_whatsapp_black.svg");
        background-color: #000000
    }
}
.snowflake {
    --size: 1vw;
    width: var(--size);
    height: var(--size);
    background: white;
    border-radius: 50%;
    position: absolute;
    top: -5vh;
  }
  
  @keyframes snowfall {
    0% {
      transform: translate3d(var(--left-ini), 0, 0);
    }
    100% {
      transform: translate3d(var(--left-end), 110vh, 0);
    }
  }
  .snowflake:nth-child(1) {
    --size: 0.6vw;
    --left-ini: 1vw;
    --left-end: -5vw;
    left: 3vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -4s;
  }
  
  .snowflake:nth-child(2) {
    --size: 0.2vw;
    --left-ini: 5vw;
    --left-end: -5vw;
    left: 43vw;
    animation: snowfall 8s linear infinite;
    animation-delay: -5s;
  }
  
  .snowflake:nth-child(3) {
    --size: 0.2vw;
    --left-ini: -3vw;
    --left-end: 9vw;
    left: 30vw;
    animation: snowfall 13s linear infinite;
    animation-delay: -10s;
  }
  
  .snowflake:nth-child(4) {
    --size: 0.4vw;
    --left-ini: -1vw;
    --left-end: 9vw;
    left: 31vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -6s;
  }
  
  .snowflake:nth-child(5) {
    --size: 0.6vw;
    --left-ini: 7vw;
    --left-end: 5vw;
    left: 20vw;
    animation: snowfall 14s linear infinite;
    animation-delay: -3s;
  }
  
  .snowflake:nth-child(6) {
    --size: 0.4vw;
    --left-ini: -5vw;
    --left-end: 3vw;
    left: 39vw;
    animation: snowfall 13s linear infinite;
    animation-delay: -8s;
  }
  
  .snowflake:nth-child(7) {
    --size: 0.6vw;
    --left-ini: 6vw;
    --left-end: 4vw;
    left: 91vw;
    animation: snowfall 13s linear infinite;
    animation-delay: -3s;
  }
  
  .snowflake:nth-child(8) {
    --size: 0.8vw;
    --left-ini: -1vw;
    --left-end: 1vw;
    left: 56vw;
    animation: snowfall 13s linear infinite;
    animation-delay: -4s;
  }
  
  .snowflake:nth-child(9) {
    --size: 0.4vw;
    --left-ini: 2vw;
    --left-end: 1vw;
    left: 22vw;
    animation: snowfall 8s linear infinite;
    animation-delay: -4s;
  }
  
  .snowflake:nth-child(10) {
    --size: 1vw;
    --left-ini: 2vw;
    --left-end: 0vw;
    left: 36vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -1s;
  }
  
  .snowflake:nth-child(11) {
    --size: 0.2vw;
    --left-ini: -3vw;
    --left-end: 5vw;
    left: 53vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -9s;
  }
  
  .snowflake:nth-child(12) {
    --size: 0.8vw;
    --left-ini: -1vw;
    --left-end: 4vw;
    left: 79vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -2s;
  }
  
  .snowflake:nth-child(13) {
    --size: 1vw;
    --left-ini: -4vw;
    --left-end: 1vw;
    left: 83vw;
    animation: snowfall 9s linear infinite;
    animation-delay: -8s;
  }
  
  .snowflake:nth-child(14) {
    --size: 0.2vw;
    --left-ini: 0vw;
    --left-end: -3vw;
    left: 93vw;
    animation: snowfall 13s linear infinite;
    animation-delay: -6s;
  }
  
  .snowflake:nth-child(15) {
    --size: 0.2vw;
    --left-ini: -8vw;
    --left-end: -2vw;
    left: 79vw;
    animation: snowfall 7s linear infinite;
    animation-delay: -10s;
  }
  
  .snowflake:nth-child(16) {
    --size: 0.2vw;
    --left-ini: -7vw;
    --left-end: 8vw;
    left: 14vw;
    animation: snowfall 6s linear infinite;
    animation-delay: -2s;
  }
  
  .snowflake:nth-child(17) {
    --size: 0.8vw;
    --left-ini: -3vw;
    --left-end: -7vw;
    left: 7vw;
    animation: snowfall 10s linear infinite;
    animation-delay: -9s;
  }
  
  .snowflake:nth-child(18) {
    --size: 0.4vw;
    --left-ini: -9vw;
    --left-end: -4vw;
    left: 30vw;
    animation: snowfall 10s linear infinite;
    animation-delay: -7s;
  }
  
  .snowflake:nth-child(19) {
    --size: 0.8vw;
    --left-ini: 3vw;
    --left-end: 1vw;
    left: 98vw;
    animation: snowfall 8s linear infinite;
    animation-delay: -7s;
  }
  
  .snowflake:nth-child(20) {
    --size: 0.2vw;
    --left-ini: -9vw;
    --left-end: 2vw;
    left: 57vw;
    animation: snowfall 15s linear infinite;
    animation-delay: -9s;
  }
  
  .snowflake:nth-child(21) {
    --size: 0.2vw;
    --left-ini: -9vw;
    --left-end: 10vw;
    left: 49vw;
    animation: snowfall 9s linear infinite;
    animation-delay: -9s;
  }
  
  .snowflake:nth-child(22) {
    --size: 1vw;
    --left-ini: 6vw;
    --left-end: -2vw;
    left: 36vw;
    animation: snowfall 8s linear infinite;
    animation-delay: -4s;
  }
  
  .snowflake:nth-child(23) {
    --size: 0.6vw;
    --left-ini: -6vw;
    --left-end: 9vw;
    left: 9vw;
    animation: snowfall 10s linear infinite;
    animation-delay: -4s;
  }
  
  .snowflake:nth-child(24) {
    --size: 1vw;
    --left-ini: -5vw;
    --left-end: 5vw;
    left: 42vw;
    animation: snowfall 13s linear infinite;
    animation-delay: -1s;
  }
  
  .snowflake:nth-child(25) {
    --size: 0.6vw;
    --left-ini: 2vw;
    --left-end: -3vw;
    left: 19vw;
    animation: snowfall 8s linear infinite;
    animation-delay: -4s;
  }
  
  .snowflake:nth-child(26) {
    --size: 0.4vw;
    --left-ini: -8vw;
    --left-end: -4vw;
    left: 15vw;
    animation: snowfall 7s linear infinite;
    animation-delay: -8s;
  }
  
  .snowflake:nth-child(27) {
    --size: 1vw;
    --left-ini: 7vw;
    --left-end: 7vw;
    left: 7vw;
    animation: snowfall 13s linear infinite;
    animation-delay: -5s;
  }
  
  .snowflake:nth-child(28) {
    --size: 0.8vw;
    --left-ini: 10vw;
    --left-end: -3vw;
    left: 84vw;
    animation: snowfall 7s linear infinite;
    animation-delay: -1s;
  }
  
  .snowflake:nth-child(29) {
    --size: 1vw;
    --left-ini: -2vw;
    --left-end: 8vw;
    left: 26vw;
    animation: snowfall 10s linear infinite;
    animation-delay: -2s;
  }
  
  .snowflake:nth-child(30) {
    --size: 0.8vw;
    --left-ini: 7vw;
    --left-end: -1vw;
    left: 13vw;
    animation: snowfall 12s linear infinite;
    animation-delay: -1s;
  }
  
  .snowflake:nth-child(31) {
    --size: 0.8vw;
    --left-ini: -2vw;
    --left-end: -3vw;
    left: 22vw;
    animation: snowfall 7s linear infinite;
    animation-delay: -5s;
  }
  
  .snowflake:nth-child(32) {
    --size: 0.2vw;
    --left-ini: 1vw;
    --left-end: 8vw;
    left: 88vw;
    animation: snowfall 6s linear infinite;
    animation-delay: -4s;
  }
  
  .snowflake:nth-child(33) {
    --size: 0.8vw;
    --left-ini: -9vw;
    --left-end: -6vw;
    left: 4vw;
    animation: snowfall 12s linear infinite;
    animation-delay: -4s;
  }
  
  .snowflake:nth-child(34) {
    --size: 1vw;
    --left-ini: -7vw;
    --left-end: 2vw;
    left: 55vw;
    animation: snowfall 15s linear infinite;
    animation-delay: -5s;
  }
  
  .snowflake:nth-child(35) {
    --size: 1vw;
    --left-ini: -7vw;
    --left-end: 0vw;
    left: 24vw;
    animation: snowfall 9s linear infinite;
    animation-delay: -2s;
  }
  
  .snowflake:nth-child(36) {
    --size: 0.2vw;
    --left-ini: -9vw;
    --left-end: -8vw;
    left: 39vw;
    animation: snowfall 10s linear infinite;
    animation-delay: -9s;
  }
  
  .snowflake:nth-child(37) {
    --size: 0.4vw;
    --left-ini: -6vw;
    --left-end: 8vw;
    left: 91vw;
    animation: snowfall 12s linear infinite;
    animation-delay: -10s;
  }
  
  .snowflake:nth-child(38) {
    --size: 0.4vw;
    --left-ini: -6vw;
    --left-end: -6vw;
    left: 37vw;
    animation: snowfall 10s linear infinite;
    animation-delay: -3s;
  }
  
  .snowflake:nth-child(39) {
    --size: 0.8vw;
    --left-ini: 7vw;
    --left-end: -7vw;
    left: 82vw;
    animation: snowfall 13s linear infinite;
    animation-delay: -4s;
  }
  
  .snowflake:nth-child(40) {
    --size: 0.2vw;
    --left-ini: 6vw;
    --left-end: -1vw;
    left: 45vw;
    animation: snowfall 11s linear infinite;
    animation-delay: -7s;
  }
  
  .snowflake:nth-child(41) {
    --size: 0.4vw;
    --left-ini: -9vw;
    --left-end: -7vw;
    left: 39vw;
    animation: snowfall 10s linear infinite;
    animation-delay: -6s;
  }
  
  .snowflake:nth-child(42) {
    --size: 0.8vw;
    --left-ini: 7vw;
    --left-end: -5vw;
    left: 18vw;
    animation: snowfall 8s linear infinite;
    animation-delay: -2s;
  }
  
  .snowflake:nth-child(43) {
    --size: 0.8vw;
    --left-ini: 5vw;
    --left-end: -5vw;
    left: 99vw;
    animation: snowfall 10s linear infinite;
    animation-delay: -10s;
  }
  
  .snowflake:nth-child(44) {
    --size: 0.4vw;
    --left-ini: -6vw;
    --left-end: -6vw;
    left: 70vw;
    animation: snowfall 14s linear infinite;
    animation-delay: -5s;
  }
  
  .snowflake:nth-child(45) {
    --size: 0.8vw;
    --left-ini: 4vw;
    --left-end: 2vw;
    left: 75vw;
    animation: snowfall 12s linear infinite;
    animation-delay: -9s;
  }
  
  .snowflake:nth-child(46) {
    --size: 0.4vw;
    --left-ini: -8vw;
    --left-end: 2vw;
    left: 74vw;
    animation: snowfall 13s linear infinite;
    animation-delay: -6s;
  }
  
  .snowflake:nth-child(47) {
    --size: 0.2vw;
    --left-ini: 0vw;
    --left-end: 0vw;
    left: 74vw;
    animation: snowfall 6s linear infinite;
    animation-delay: -6s;
  }
  
  .snowflake:nth-child(48) {
    --size: 0.8vw;
    --left-ini: 8vw;
    --left-end: -6vw;
    left: 65vw;
    animation: snowfall 7s linear infinite;
    animation-delay: -7s;
  }
  
  .snowflake:nth-child(49) {
    --size: 0.8vw;
    --left-ini: 1vw;
    --left-end: -1vw;
    left: 70vw;
    animation: snowfall 7s linear infinite;
    animation-delay: -9s;
  }
  
  .snowflake:nth-child(50) {
    --size: 0.6vw;
    --left-ini: 3vw;
    --left-end: -1vw;
    left: 18vw;
    animation: snowfall 15s linear infinite;
    animation-delay: -6s;
  }
  
  /* added small blur every 6 snowflakes*/
  .snowflake:nth-child(6n) {
    filter: blur(1px);
  }



/* Rounded interface and compact map-free footer — 2026-11-13. */
:root {
  --barsuk-radius-control: 14px;
  --barsuk-radius-image: 16px;
  --barsuk-radius-card: 20px;
}
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.btn-wrap a,
.btn-wrap input,
.master_sign,
.auth-btn,
.burger-button,
.main__text_nav a,
.go_up,
.mobile-phone,
.mobile-menu,
.socials li a,
.filter__hash a,
.filter__select,
.rules__icon {
  border-radius: var(--barsuk-radius-control);
}
img,
video,
.wp-video,
.mejs-container,
.tabs__img_wrap,
.master__images_wrap .splide__slide,
.contacts__slider .splide__slide,
.contacts__slider .splide__track,
.about__img_wrap {
  border-radius: var(--barsuk-radius-image);
}
.tabs__img_wrap,
.master__images_wrap .splide__slide,
.contacts__slider .splide__slide,
.wp-video,
.mejs-container {
  overflow: hidden;
}
.logo img,
.popup__logo img,
.contacts__decor,
.rules__icon img {
  border-radius: 0;
}
.masters__wrap > li,
.tabs__item > ul > li,
.testimonials__wrap > li,
.page .master__wrapper,
.about__wrap,
.filter__wrap,
.contacts__wrap,
.contacts.page .contacts__text_wrap,
.contacts.page .contacts__contacts_wrap,
.popup,
.pum-container {
  border-radius: var(--barsuk-radius-card);
}
.masters__wrap > li,
.tabs__item > ul > li,
.testimonials__wrap > li {
  overflow: hidden;
}
.contacts__inner,
.popup__inner {
  border-radius: calc(var(--barsuk-radius-card) - 8px);
}
.masters__wrap .sticker,
.page .master__wrapper .sticker {
  border-radius: 8px;
}
#contacts {
  padding-bottom: 64px;
}
#contacts .contacts__wrap {
  position: relative;
  inset: auto;
  width: min(560px, calc(100% - 48px));
  margin: 0 auto;
}
#contacts .contacts__inner .phone {
  font-size: clamp(21px, 4.8vw, 34px);
}
@media (max-width: 767px) {
  #contacts { padding-bottom: 40px; }
}


/* Compact back-to-top control and footer without taxi CTA — 2026-11-13. */
.go_up {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  right: 16px;
  bottom: 20px;
  padding: 0;
  border-radius: 50%;
  transform: none;
  z-index: 999;
}
.go_up span { display: none; }
.go_up svg {
  width: 22px;
  height: 22px;
  margin: 0;
  transform: rotate(-90deg);
}
@media (min-width: 1153px) {
  .footer__top { grid-template-columns: 184px minmax(200px, 1fr); }
  .footer__top > p { max-width: 320px; }
}

/* Floating Telegram contact in the former messenger position — 2026-11-14. */
.telegram_feedback .social_desktop .icon {
  margin-bottom: 0;
  box-shadow: 0 4px 24px #0006;
}
.telegram_feedback a:focus-visible {
  outline: 2px solid #de9058;
  outline-offset: 4px;
}
@media only screen and (max-width: 480px) {
  .telegram_feedback {
    bottom: max(20px, env(safe-area-inset-bottom));
  }
  .telegram_feedback .social_mob {
    margin-bottom: 0;
    min-height: 44px;
    box-sizing: border-box;
    padding: 7px 50px 7px 12px;
    border-radius: var(--barsuk-radius-control, 14px);
    line-height: 1.2;
  }
}

/* Mobile contact alignment and gallery spacing — 2026-11-14. */
@media screen and (max-width: 1152px) {
  .mobile-menu .phone-adress,
  .mobile-menu .phone-adress p {
    text-align: center;
  }
  .header .mobile-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    box-sizing: border-box;
    padding: 0;
    line-height: 1;
  }
  .header .mobile-phone svg {
    display: block;
    height: 14px;
    flex-shrink: 0;
    margin: 0;
  }
  .page .master__images_wrap {
    row-gap: 16px;
  }
}

/* Keep the mobile about image inside its rounded frame — 2026-11-14. */
@media screen and (max-width: 1152px) {
  #about-2 .about__img_wrap {
    overflow: hidden;
  }
  #about-2 .about__img_wrap::after {
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center bottom;
    border-radius: inherit;
  }
}

/* Photo and complete copy fit the first mobile viewport — 2026-11-14. */
.main__visual { display: none; }
@media screen and (max-width: 767px) {
  #main {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    row-gap: 8px;
    height: calc(100vh - 90px);
    height: calc(100svh - 90px);
    min-height: 0;
    box-sizing: border-box;
    padding: 0 0 80px;
    overflow: hidden;
    isolation: isolate;
  }
  #main::before { display: none; }
  #main .main__visual {
    display: block;
    position: relative;
    min-height: 0;
    width: 100%;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 80%, rgba(222, 144, 88, .1), transparent 70%);
  }
  #main .main__visual img {
    position: absolute;
    top: 0;
    left: 50%;
    height: max(120%, 115vw);
    max-height: none;
    width: auto;
    max-width: none;
    /* Center the visible portrait, allowing for the transparent left side. */
    transform: translateX(-75.6%);
    border-radius: 0;
    opacity: 1;
    filter: none;
  }
  #main .main__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 72%, #121010 100%);
  }
  #main > .container {
    min-width: 0;
    padding-left: 20px;
    padding-right: 20px;
  }
  #main .main__text_wrap {
    text-align: center;
    margin: 0 0 12px;
  }
  #main .main__text_wrap .up-text {
    font-size: 13px;
    line-height: 1.2;
    margin: 0 0 6px;
    text-shadow: none;
  }
  #main .main__text_wrap .main__title {
    font-size: clamp(24px, 6.8vw, 29px);
    line-height: 1.08;
    margin: 0 0 10px;
    text-shadow: none;
  }
  #main .main__text_wrap p {
    max-width: none;
    margin: 0;
    font-size: clamp(13px, 3.55vw, 15px);
    color: #c4c0bd;
    line-height: 1.4;
    text-shadow: none;
  }
  #main .main__text_bottom .btn-wrap a {
    height: 44px;
    min-height: 44px;
    padding: 0 16px;
    font-size: 18px;
    line-height: 42px;
    background-color: rgba(18, 16, 16, .65);
  }
}

/* Sparse generated atmosphere for the mobile homepage — 2026-11-14. */
#main .main__title { margin-bottom: 24px; }
@media screen and (max-width: 767px) {
  #main ~ .masters,
  #main ~ #tabs,
  #main ~ #contacts {
    position: relative;
    isolation: isolate;
  }
  #main ~ .masters::before,
  #main ~ #tabs::before,
  #main ~ #contacts::before {
    content: "";
    position: absolute;
    z-index: -1;
    pointer-events: none;
    inset: 0 0 auto;
    width: 100%;
    height: 520px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    mix-blend-mode: screen;
    -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 72%, transparent);
    mask-image: linear-gradient(transparent, #000 14%, #000 72%, transparent);
  }
  #main ~ .masters::before {
    background-image: url("../img/mobile-silk-v2.webp");
    opacity: .65;
    transform: scaleY(-1);
  }
  #main ~ #tabs::before {
    background-image: url("../img/mobile-haze-v2.webp");
    opacity: .42;
  }
  #main ~ #contacts::before {
    height: 100%;
    background-image: url("../img/mobile-silk-v2.webp");
    opacity: .5;
    transform: scaleX(-1);
  }
}

/* Breathing room for mobile program details — 2026-11-14. */
@media screen and (max-width: 1152px) {
  .tabs__text_wrap .tabs__text_desc { margin-bottom: 16px; }
  .tabs__text_wrap .tabs__text_program { margin: 0; line-height: 1.4; }
  .tabs__text_wrap .tabs__text_program + .tabs__text_program { margin-top: 8px; }
  .tabs__text_wrap > .btn-wrap { margin-top: 16px; }
}

/* Crisp vector ornaments — 2026-11-14. */
.title__wrap::after {
  background-image: url("../img/title-decor-v2.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  left: 50%;
}
.contacts__inner .contacts__decor {
  width: 165px;
  height: 42px;
  max-width: 100%;
  object-fit: contain;
}

/* Compact mobile hero actions, age badge, and contextual back-to-top — 2026-11-14. */
#main .main__text_bottom { display: block; }
#main .main__actions { display: flex; align-items: center; gap: 12px; }
#main .main__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex-shrink: 0;
  width: 220px;
  max-width: 100%;
  height: 44px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid #de9058;
  border-radius: var(--barsuk-radius-control, 14px);
  font-family: Gilroy, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
}
#main .main__cta--primary { color: #121010; background: #de9058; }
#main .main__cta--secondary { color: #fefefe; background: transparent; }
#main .main__cta:focus-visible { outline: 2px solid #de9058; outline-offset: 3px; }
@media (min-width: 768px) and (max-width: 1152px) {
  #main .main__actions { justify-content: center; }
}

.go_up {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.go_up.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
@media screen and (max-width: 767px) {
  #main .main__actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  #main .main__age-badge {
    position: absolute;
    z-index: 2;
    left: 50%;
    transform: translateX(-50%);
    bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #de9058;
    border-radius: 50%;
    background: rgba(35, 22, 16, .92);
    color: #fefefe;
    font-family: Gilroy, sans-serif;
    font-size: 15px;
    line-height: 1;
  }
}


/* Compact mobile typography and components — 2026-11-14. */
@media (max-width: 767px) {
  body { font-size: 14px; }
  section:not(#main) { padding-top: 28px; padding-bottom: 28px; }
  .title__wrap { padding-bottom: 54px; margin-bottom: 24px; }
  .title__wrap p { font-size: 13px; line-height: 1.3; margin-bottom: 8px; }
  .title__wrap h1, .title__wrap h2 {
    font-size: clamp(24px, 6.8vw, 28px);
    line-height: 1.15;
  }
  .title__wrap::after { width: 168px; height: 42px; }
  h3 { font-size: 22px; line-height: 1.25; }
  .about__wrap h3, #about-2 h3 { font-size: 20px; line-height: 1.25; margin-bottom: 14px; }
  .about__wrap p { font-size: 14px; line-height: 1.55; margin-bottom: 12px; text-align: left; }
  .about__text_wrap { padding: 8px; }
  #about-2 .about__wrap { gap: 20px; }
  #about-2 .about__img_wrap { min-height: 0; height: clamp(320px, 105vw, 440px); }
  .masters__wrap, .tabs__item ul { gap: 20px; }
  .masters__wrap > li, .tabs__item > ul > li, .testimonials__wrap > li,
  .page .master__wrapper, .about__wrap, .filter__wrap, .contacts__wrap,
  .contacts.page .contacts__text_wrap, .contacts.page .contacts__contacts_wrap { border-radius: 16px; }
  .masters__wrap > li { padding: 8px; }
  .masters__wrap img { height: clamp(220px, 72vw, 290px); object-position: center 25%; }
  .masters__wrap img, .tabs__img_wrap, .tabs__img_wrap img,
  .testimonials__wrap img { border-radius: 12px; }
  .masters__wrap .master__name { font-size: 20px; line-height: 1.25; margin-top: 10px; margin-bottom: 12px; }
  .specs { font-size: 15px; line-height: 1.2; margin-bottom: 16px; }
  .masters__wrap .sticker, .page .master__wrapper .sticker { font-size: 12px; padding: 3px 6px; }
  .masters__wrap .sticker { top: 18px; left: 18px; }
  .btn-wrap a, .btn-wrap input { min-height: 44px; font-size: 15px; line-height: 1.25; padding: 10px 18px; }
  .masters__wrap .btn-wrap a { padding: 10px 14px; }
  li.masters__all { min-height: 260px; padding: 20px; }
  li.masters__all .burger-button { width: 64px; height: 64px; margin-bottom: 18px; }
  li.masters__all .masters__all_title { font-size: 20px; }
  li.masters__all p { font-size: 14px; }
  .tabs { margin-bottom: 24px; }
  .tabs li { font-size: 15px; white-space: normal; margin-bottom: 4px; }
  .tabs li a { padding-bottom: 6px; line-height: 1.35; }
  .tabs__img_wrap img { height: clamp(200px, 58vw, 250px); min-height: 0; max-height: 250px; object-position: center 25%; }
  .tabs__text_wrap { padding: 10px 8px 8px; }
  .tabs__text_name { font-size: 20px; line-height: 1.25; margin-bottom: 8px; }
  .tabs__text_desc { font-size: 14px; line-height: 1.5; }
  .tabs__text_wrap .tabs__text_desc { margin-bottom: 14px; }
  .tabs__text_wrap .tabs__text_program { font-size: 16px; }
  .tabs__text_price { font-size: 20px; }
  .tabs__text_wrap > .btn-wrap { margin-top: 14px; }
  .all-programs__btn { max-width: 230px; margin-top: 24px; }
  .page .master__name { font-size: 24px; line-height: 1.2; margin-bottom: 16px; }
  .page .master__text_wrap { padding: 12px 8px; }
  .page .master__stats_wrap p { font-size: 15px; line-height: 1.4; }
  .page .stats_icon { width: 20px; height: 20px; }
  .page .master__images_wrap { row-gap: 12px; }
  .program-page .master__text_wrap { padding: 12px; }
  .program-page .subtitle { font-size: 16px; }
  .program-page .duration { font-size: 18px; }
  .program-page .price { font-size: 24px; }
  .program-page .master__images_wrap img { max-height: 360px; object-fit: cover; object-position: center 25%; }
  .inclusive { font-size: 14px; margin: 12px 0; }
  .switch-program__next, .switch-program__prev { font-size: 14px; }
  .testimonials__wrap img { height: 240px; object-position: center 25%; }
  .testimonials__wrap .master__name { font-size: 20px; line-height: 1.25; margin-bottom: 12px; }
  .testimonials__info { padding: 8px; font-size: 14px; line-height: 1.5; }
  .contacts__slider .splide__slide { height: 220px; padding: 24px; }
  #contacts { padding-bottom: 28px; }
  .contacts__inner { padding: 18px; border-radius: 10px; }
  .contacts__inner .contacts__decor { width: 132px; height: 34px; margin-bottom: 16px; }
  #contacts .contacts__inner .phone, .contacts__inner .email { font-size: clamp(18px, 4.9vw, 21px); margin-bottom: 14px; }
  .contacts__inner .adress { font-size: 15px; margin-bottom: 14px; }
  .contacts__inner p { font-size: 14px; line-height: 1.5; }
  .contacts.page .contacts__text_wrap, .contacts.page .contacts__contacts_wrap { padding: 16px; }
  .contacts.page .contacts__work { font-size: 20px; }
  .contacts.page .contacts__text_wrap .subtitle { font-size: 16px; }
  .breadcrumbs, .breadcrumbs li a { font-size: 13px; }
  .filter__toggle a { font-size: 18px; }
  .popup__title { font-size: 26px; line-height: 1.2; }
  input:not([type="submit"]):not([type="button"]), select, textarea { font-size: 16px; }
  .footer__top .logo { display: block; width: 190px; max-width: 100%; margin: 0 auto; }
  .footer__top .logo img { width: 100%; height: auto; }
  footer p { font-size: 12px; line-height: 1.5; }
  .footer__top, .footer__bottom { padding-top: 24px; padding-bottom: 24px; }
  /* The floating Telegram widget is gone; use the freed space for the photo. */
  #main { padding-bottom: 24px; }
}

/* Telegram in the header, with a centered mobile logo. */
.header__telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: #de9058;
  border: 1px solid #de9058;
  border-radius: 14px;
}
.header__telegram svg { display: block; width: 20px; height: 20px; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__actions .btn-wrap a { padding-left: 16px; padding-right: 16px; }
.header__telegram:focus-visible { outline: 2px solid #de9058; outline-offset: 3px; }
@media (max-width: 1152px) {
  .header .container .mobile { grid-template-columns: 76px minmax(0, 1fr) 76px; column-gap: 4px; }
  .header .mobile > .logo { justify-self: center; width: 150px; max-width: 100%; display: flex; align-items: center; }
  .header .mobile > .logo img { width: 100%; height: auto; max-height: 42px; object-fit: contain; }
  .mobile-contact-actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
  .mobile-contact-actions .header__telegram { flex-basis: 36px; width: 36px; height: 36px; }
  .mobile-contact-actions .header__telegram svg { width: 18px; height: 18px; }
}

/* Compact full-width card previews — 2026-11-14. */
@media (max-width: 767px) {
  .masters__wrap .img__wrap {
    display: block;
    height: clamp(180px, 52vw, 220px);
    background: #171515;
    border-radius: 12px;
    overflow: hidden;
  }
  .masters__wrap .img__wrap img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center 30%;
  }
  .tabs__img_wrap {
    display: block;
    height: clamp(170px, 48vw, 210px);
    background: #171515;
  }
  .tabs__img_wrap img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: center 30%;
  }
  #main-slider .splide__slide { background: #171515; }
  #main-slider .splide__slide img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
  .program-page .master__images_wrap img { height: 250px; max-height: 250px; object-fit: contain; object-position: center; }
}
@media (max-width: 1152px) {
  .header .mobile-menu { width: 36px; justify-self: start; }
}

/* Keep preview text flow compact and consistent. */
@media (max-width: 767px) {
  .tabs__text_wrap { justify-content: flex-start; }
  .tabs__text_wrap .tabs__text_name { display: block; margin-bottom: 8px; }
  .masters__wrap .img__wrap, .tabs__img_wrap { width: 100%; }
}

/* Natural photo proportions on program detail pages and clean preview text. */
@media (max-width: 767px) {
  .program-page .master__images_wrap { overflow: hidden; border-radius: 12px; }
  .program-page .master__images_wrap img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: initial;
  }
  .tabs__text_desc > br:first-child,
  .tabs__text_desc > br:last-child { display: none; }
}

/* Clear program hierarchy and taller mobile previews — 2026-11-14. */
.program-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 12px 0 0;
}
.program-meta > div { min-width: 0; }
.program-meta dt {
  margin: 0 0 4px;
  font-family: Gilroy, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
  color: #aaa4a0;
}
.program-meta dd {
  margin: 0;
  font-family: Constantia, serif;
  font-size: 22px;
  line-height: 1.25;
  color: #de9058;
}
.tabs__text_wrap { justify-content: flex-start; }
.tabs__text_wrap > .btn-wrap { margin: 14px 0 0; }
.tabs__text_wrap .tabs__text_desc { margin: 16px 0 0; }
.tabs__text_desc p { margin: 0; font-size: inherit; line-height: inherit; }
.program-page .program-meta { max-width: 410px; margin-top: 12px; }
.program-page .price-block { margin: 16px 0 24px; }
.program-page .subtitle { margin: 0 0 16px; line-height: 1.5; }
.program-page .master__descr p {
  margin: 0 0 1em;
  font-family: Gilroy, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-align: left;
  color: #b8b3af;
  overflow-wrap: break-word;
}
.program-page .master__descr p:last-child { margin-bottom: 0; }
@media (min-width: 1153px) {
  .program-page .master__wrapper { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .masters__wrap .img__wrap { height: clamp(270px, 80vw, 340px); }
  .tabs__img_wrap { height: clamp(250px, 76vw, 320px); }
  .masters__wrap .img__wrap img,
  .tabs__img_wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
  .masters__wrap .master__name { font-size: 18px; line-height: 1.2; margin: 8px 0 6px; }
  .masters__wrap .specs { font-size: 13px; line-height: 1.3; margin-bottom: 8px; gap: 8px; }
  .masters__wrap .spec__wrap { white-space: nowrap; }
  .masters__wrap .btn-wrap a,
  .tabs__text_wrap > .btn-wrap a { min-height: 44px; padding: 10px 14px; font-size: 14px; line-height: 1.2; }
  .tabs__text_wrap { padding: 10px 6px 6px; }
  .tabs__text_wrap .tabs__text_name { font-size: 18px; line-height: 1.2; margin-bottom: 0; }
  .tabs__text_wrap .program-meta { gap: 8px 12px; margin-top: 8px; }
  .tabs__text_wrap .program-meta dt { font-size: 11px; margin-bottom: 2px; }
  .tabs__text_wrap .program-meta dd { font-size: 17px; }
  .tabs__text_wrap > .btn-wrap { margin-top: 10px; }
  .tabs__text_wrap .tabs__text_desc {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .program-page .master__name { margin-bottom: 0; }
  .program-page .program-meta { margin-top: 12px; gap: 10px; }
  .program-page .program-meta dd { font-size: 20px; }
  .program-page .price-block { margin: 14px 0 20px; }
  .program-page .master__descr p { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
  .program-page .subtitle { font-size: 14px; margin-bottom: 16px; }
}

/* Black browser surround and native dark controls — 2026-11-14. */
html { background-color: #000000; color-scheme: dark; }
/* Let the background cover the complete document, with one continuous fade. */
body {
  height: auto;
  min-height: 100%;
  background-color: #000000;
  background-image: linear-gradient(to bottom, #121010 0%, #121010 55%, #000000 100%);
  background-repeat: no-repeat;
  background-size: 100% 100vh;
  background-size: 100% 100svh;
}

/* Smooth mobile hero transition into the masters section — 2026-11-14. */
@media (max-width: 767px) {
  #main {
    background: linear-gradient(
      to bottom,
      #121010 0%,
      #121010 calc(100% - 200px),
      #000000 100%
    );
  }
  #main + .masters { background-color: #000000; }
}

/* Balance the desktop hero copy vertically — 2026-11-14. */
@media (min-width: 1153px) {
  #main .main__inner {
    position: relative;
    top: 56px;
  }
}

/* Stronger rounding for actions on desktop and mobile — 2026-11-14. */
button,
input[type="button"], input[type="submit"], input[type="reset"],
.btn-wrap a, .btn-wrap input, .master_sign, .auth-btn,
.burger-button, .go_up, .mobile-phone, .mobile-menu,
.header__telegram, .socials li a, .filter__hash a,
#main .main__cta {
  border-radius: 999px;
}


/* Shared spacing rhythm: page sections, cards and text — 2026-11-14. */
:root {
  --barsuk-space-xs: 8px;
  --barsuk-space-sm: 12px;
  --barsuk-space-md: 16px;
  --barsuk-space-lg: 24px;
  --barsuk-layout-gap: 32px;
  --barsuk-content-gap: 32px;
  --barsuk-section-space: 64px;
  --barsuk-title-gap: 40px;
  --barsuk-card-padding: 24px;
  --barsuk-copy-inset: 16px;
}
main > section:not(#main), #contacts {
  padding-top: var(--barsuk-section-space);
  padding-bottom: var(--barsuk-section-space);
}
main > section:not(#main) .title__wrap { margin-bottom: var(--barsuk-title-gap); }
.title__wrap > p { margin-bottom: var(--barsuk-space-md); }
.breadcrumbs { width: max-content; max-width: calc(100% - 48px); margin: 0 auto; padding-top: var(--barsuk-space-md); }
.breadcrumbs ul { justify-content: center; flex-wrap: wrap; gap: var(--barsuk-space-xs) var(--barsuk-space-sm); }
.masters__wrap, .tabs__item > ul, .contacts.page .contacts__page_wrap { gap: var(--barsuk-layout-gap); }
.masters__wrap > li:not(.masters__all), .tabs__item > ul > li, .testimonials__wrap > li { padding: var(--barsuk-space-xs); }
.about__wrap, #about-2 .about__wrap { padding: var(--barsuk-space-xs); gap: var(--barsuk-content-gap); }
.about__text_wrap, .page .master__text_wrap, .program-page .master__text_wrap { padding: var(--barsuk-copy-inset); }
.about__wrap h3, #about-2 h3, .contacts.page .contacts__text_wrap h3 { margin: 0 0 var(--barsuk-space-md); }
.about__wrap p, .contacts.page .contacts__text_wrap p, .page .master__descr p { margin: 0 0 var(--barsuk-space-md); }
.about__text_wrap > p:last-child, .contacts.page .contacts__text_wrap > p:last-child, .page .master__descr > p:last-child { margin-bottom: 0; }
.contacts.page .subtitle:empty, .contacts.page .contacts__text_wrap p:empty { display: none; }
.contacts.page .contacts__text_wrap, .contacts.page .contacts__contacts_wrap, .contacts__inner { padding: var(--barsuk-card-padding); }
.contacts.page .contacts__contacts, .contacts.page .adress { margin: 0 0 var(--barsuk-space-md); }
.contacts.page .contacts__contacts li { margin-bottom: var(--barsuk-space-xs); }
.contacts.page .contacts__contacts li:last-child { margin-bottom: 0; }
.contacts.page .contacts__work { margin-bottom: var(--barsuk-space-xs); }
.contacts__inner .contacts__decor, #contacts .contacts__inner .phone,
.contacts__inner .email, .contacts__inner .adress { margin-bottom: var(--barsuk-space-md); }
.contacts__inner > p:last-child { margin-bottom: 0; }
.page .master__wrapper, .program-page .master__wrapper { gap: var(--barsuk-content-gap); }
.page .master__images_wrap { gap: var(--barsuk-space-md); }
.masters__wrap .master__name { margin: var(--barsuk-space-xs) 0; }
.masters__wrap .specs { margin-bottom: var(--barsuk-space-xs); }
.tabs__item > ul > li { column-gap: var(--barsuk-layout-gap); }
.tabs__text_wrap { padding: var(--barsuk-space-md) var(--barsuk-space-md) var(--barsuk-space-md) 0; }
.tabs__text_wrap .tabs__text_name { margin-bottom: 0; }
.tabs__text_wrap .program-meta { margin-top: var(--barsuk-space-xs); }
.tabs__text_wrap > .btn-wrap, .tabs__text_wrap .tabs__text_desc { margin-top: var(--barsuk-space-sm); }
.program-page .program-meta { margin-top: var(--barsuk-space-sm); }
.program-page .price-block { margin: var(--barsuk-space-md) 0 var(--barsuk-space-lg); }
.program-page .subtitle { margin: 0 0 var(--barsuk-space-md); }
.filter__wrap { padding: var(--barsuk-card-padding); margin-bottom: var(--barsuk-layout-gap); }
.filter__select_wrap { gap: var(--barsuk-space-md); margin-bottom: var(--barsuk-space-lg); }
.all-programs__btn { margin-top: var(--barsuk-layout-gap); }
.testimonials__info { padding: var(--barsuk-copy-inset); }
.testimonials__info .master__name { margin: 0 0 var(--barsuk-space-sm); }
.testimonials__info > p { margin: 0; }
.testimonials__wrap.splide__list { display: flex; gap: 0; }
@media (min-width: 1153px) {
  .page .master__wrapper, .program-page .master__wrapper { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .page:not(.program-page) .master__images_wrap { grid-template-columns: minmax(0, 4fr) minmax(0, 1fr); }
  /* Fade the old opaque backdrop into the continuous page background. */
  #main::before {
    -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
  }
}
@media (max-width: 1152px) {
  :root {
    --barsuk-layout-gap: 24px;
    --barsuk-content-gap: 16px;
    --barsuk-section-space: 40px;
    --barsuk-title-gap: 32px;
    --barsuk-card-padding: 20px;
    --barsuk-copy-inset: 8px;
  }
  .tabs__text_wrap { padding: var(--barsuk-space-sm) var(--barsuk-space-xs) var(--barsuk-space-xs); }
}
@media (max-width: 767px) {
  :root {
    --barsuk-section-space: 32px;
    --barsuk-title-gap: 24px;
    --barsuk-card-padding: 16px;
  }
  .title__wrap > p { margin-bottom: var(--barsuk-space-xs); }
  .about__wrap h3, #about-2 h3 { margin-bottom: var(--barsuk-space-md); }
  .masters__wrap .master__name { margin: var(--barsuk-space-xs) 0; }
  .tabs__text_wrap > .btn-wrap, .tabs__text_wrap .tabs__text_desc { margin-top: var(--barsuk-space-sm); }
  .program-page .price-block { margin: var(--barsuk-space-md) 0 var(--barsuk-space-lg); }
}

/* Contained about portrait and balanced narrow-screen header — 2026-11-14. */
.about__wrap p { text-align: left; }
@media (min-width: 1153px) {
  #about-2 .about__img_wrap { overflow: hidden; }
  #about-2 .about__img_wrap::after {
    top: 0;
    bottom: 0;
    left: 50%;
    right: auto;
    height: 100%;
    width: auto;
    aspect-ratio: 492 / 824;
    background-size: auto 100%;
    background-position: right bottom;
    transform: translateX(-50%);
  }
}
@media (max-width: 767px) {
  .header .container .mobile {
    grid-template-columns: 36px minmax(0, 1fr) 80px;
    column-gap: 12px;
  }
  .header .mobile > .logo { min-width: 0; }
  .mobile-contact-actions { gap: 8px; }
}

/* Edge-to-edge preview photos, with inset card content — 2026-11-14. */
.masters__wrap > li:not(.masters__all),
.tabs__item > ul > li {
  padding: 0;
  overflow: hidden;
}
.masters__wrap > li:not(.masters__all) > .img__wrap,
.tabs__item > ul > li > .tabs__img_wrap {
  display: block;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
}
.masters__wrap .img__wrap img,
.tabs__item .tabs__img_wrap img {
  display: block;
  width: 100%;
  border-radius: 0;
}
.masters__wrap > li:not(.masters__all) > .master__name {
  margin: var(--barsuk-space-md) var(--barsuk-space-md) var(--barsuk-space-xs);
}
.masters__wrap > li:not(.masters__all) > .specs {
  margin: 0 var(--barsuk-space-md) var(--barsuk-space-xs);
}
.masters__wrap > li:not(.masters__all) > .btn-wrap {
  margin: 0 var(--barsuk-space-md) var(--barsuk-space-md);
}
.tabs__item > ul > li > .tabs__text_wrap {
  min-width: 0;
  padding: var(--barsuk-space-md) var(--barsuk-space-md) var(--barsuk-space-md) 0;
}
@media (max-width: 1152px) {
  .tabs__item > ul > li > .tabs__text_wrap { padding: var(--barsuk-space-md); }
}

/* One text family across the site; decorative type only for headings. */
:root {
  --barsuk-font-body: Gilroy, Arial, sans-serif;
  --barsuk-font-heading: Constantia, Georgia, serif;
}
/* Override legacy component families and inline widget/menu styles, not sizes. */
body,
body :where(p, a, span, div, li, ul, ol, dl, dt, dd, small, strong, em, b,
  label, button, input, select, textarea, option, optgroup, address, time,
  blockquote, figcaption, legend, table, thead, tbody, tfoot, tr, th, td,
  pre, code, kbd, samp):where(:not(.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands)) {
  font-family: var(--barsuk-font-body) !important;
}
body :is(h1, h2, h3, h4, h5, h6, .title, .pum-title),
body :is(h1, h2, h3, h4, h5, h6, .title, .pum-title)
  :where(span, a, strong, em, b, small) {
  font-family: var(--barsuk-font-heading) !important;
}
/* This is an eyebrow above the main title, despite the legacy h1 markup. */
body .main__text_wrap .up-text,
body .main__text_wrap .up-text :where(span, a, strong, em, b, small) {
  font-family: var(--barsuk-font-body) !important;
}

/* Center contact labels with their icons and keep master card actions separated. */
.contacts.page .contacts__contacts li {
  display: flex;
  align-items: center;
  gap: var(--barsuk-space-md, 16px);
}
.contacts.page .contacts__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  box-sizing: border-box;
  line-height: 1;
  margin: 0;
  border-radius: 50%;
}
.contacts.page .contacts__icon svg { display: block; }
.contacts.page .contacts__contacts li > span {
  min-width: 0;
  line-height: 1.4;
}
.masters__wrap > li:not(.masters__all) > .specs {
  margin-bottom: var(--barsuk-space-md, 16px);
}

/* Start profile photos and thumbnail navigation at the leading edge. */
#main-slider .splide__slide { background-position: left center !important; }
#main-slider .splide__slide img,
#main-slider .master-profile-video,
#main-slider .master-video-poster { object-position: left center; }

/* Compact, left-aligned breadcrumbs within the same content width. */
.breadcrumbs {
  width: 1152px;
  max-width: calc(100% - 48px);
  margin: 0 auto;
  padding-top: 12px;
  text-align: left;
}
.breadcrumbs ul { justify-content: flex-start; align-items: center; gap: 4px 8px; }
.breadcrumbs, .breadcrumbs li, .breadcrumbs li a { font-size: 13px; line-height: 1.35; }
.breadcrumbs li { min-width: 0; }
.breadcrumbs li:last-child { overflow-wrap: anywhere; }
/* Names, ages and program names use the regular text face, including page titles. */
body .masters.page > .container > .title__wrap :is(h1, h2),
body .masters.page > .container > .title__wrap :is(h1, h2) :is(span, a) {
  font-family: var(--barsuk-font-body) !important;
  text-transform: none;
  font-size: 34px;
  line-height: 1.25;
}
.page .master__name, .tabs__text_name { text-transform: none; }
.masters.page > .container > .title__wrap { padding-bottom: 58px; margin-bottom: 28px; }
/* Main gallery media fills the frame; the thumbnail strip stays at its start. */
#main-slider .splide__slide { background-position: center 20% !important; }
#main-slider .splide__slide img,
#main-slider .master-profile-video,
#main-slider .master-video-poster { object-fit: cover; object-position: center 20%; }
@media (max-width: 767px) {
  .breadcrumbs, .breadcrumbs li, .breadcrumbs li a { font-size: 12px; }
  .breadcrumbs ul { gap: 4px 6px; }
  body .masters.page > .container > .title__wrap :is(h1, h2),
  body .masters.page > .container > .title__wrap :is(h1, h2) :is(span, a) { font-size: 24px; }
  .masters.page > .container > .title__wrap { padding-bottom: 48px; margin-bottom: 20px; }
}

.masters.page #main-slider .master-video-stage > img,
.masters.page #main-slider .master-video-stage > video { object-fit: cover; object-position: center 20%; }

/* One heading inside each detail card; no repeated title or ornament above it. */
main > section.masters.page:not(#main) { padding-top: 32px; }
body .masters.page .master__text_wrap > h1.master__name,
body .masters.page .master__text_wrap > h1.master__name > span {
  font-family: var(--barsuk-font-body) !important;
  font-weight: 400;
  text-transform: none;
}
body .masters.page .master__text_wrap > h1.master__name {
  color: #de9058;
  font-size: 34px;
  line-height: 1.25;
  margin: 0 0 16px;
}
body .masters.page .master__text_wrap > h1.master__name > span { color: #fefefe; }
@media (max-width: 767px) {
  main > section.masters.page:not(#main) { padding-top: 24px; }
  body .masters.page .master__text_wrap > h1.master__name { font-size: 24px; }
}

/* Temporarily hidden sections; content remains available for restoration. */



/* Larger, thin vector arrows without filled circular badges. */
.contacts__slider .splide__arrow {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 0;
  scale: 1;
  border: 0;
  background: transparent !important;
  opacity: 1 !important;
}
.contacts__slider .splide__arrow--prev { left: 12px; }
.contacts__slider .splide__arrow--next { right: 12px; }
.contacts__slider .splide__arrow .arrow-btn {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  line-height: 1;
  opacity: 1;
}
.contacts__slider .splide__arrow svg { display: none; }
.contacts__slider .splide__arrow .arrow-btn::before {
  content: "";
  display: block;
  width: 64px;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48' fill='none'%3E%3Cpath d='M6 24H58M42 8L58 24L42 40' stroke='white' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.85));
  transition: opacity 160ms ease;
}
.contacts__slider .splide__arrow--prev .arrow-btn::before { transform: rotate(180deg); }
.contacts__slider .splide__arrow:hover .arrow-btn::before { opacity: .75; }
.contacts__slider .splide__arrow:focus-visible { outline: 1px solid #de9058; outline-offset: 2px; border-radius: 8px; }
@media (max-width: 767px) {
  .contacts__slider .splide__arrow { width: 56px; height: 64px; scale: 1; }
  .contacts__slider .splide__arrow--prev { left: 4px; }
  .contacts__slider .splide__arrow--next { right: 4px; }
  .contacts__slider .splide__arrow .arrow-btn::before { width: 52px; height: 42px; }
}

/* Temporarily hide program categories; the default All list stays visible. */


/* Interior gallery arrows are desktop-only; touch navigation remains enabled. */
@media (max-width: 1152px) {
  .contacts__slider .splide__arrows { display: none !important; }
}

/* Shared color roles: primary text, accent values, secondary copy. */
:root {
  --barsuk-color-text: #fefefe;
  --barsuk-color-accent: #de9058;
  --barsuk-color-muted: #909090;
}
body :is(h1, h2, h3, h4, h5, h6), body .title {
  color: var(--barsuk-color-text);
}
body .main__text_wrap .up-text,
body .title__wrap > p { color: var(--barsuk-color-accent); }
/* The name is the primary text; age is an accent in every master card. */
body .master__name { color: var(--barsuk-color-accent); }
body .master__name > span,
body .tabs__text_name { color: var(--barsuk-color-text); }
body .tabs__text_name:hover,
body .masters__wrap .master__name:hover > span { color: var(--barsuk-color-accent); }
/* Parameter labels and values use the same hierarchy in previews and details. */
body .spec__title,
body .program-meta dt,
body .page .master__stats_wrap p { color: var(--barsuk-color-muted); }
body .spec__value,
body .program-meta dd,
body .page .master__stats_wrap p > span { color: var(--barsuk-color-accent); }
/* Descriptions are secondary to titles and program prices. */
body .main__text_wrap p,
body .tabs__text_desc,
body .tabs__text_desc p,
body .page .master__descr,
body .page .master__descr p,
body .program-page .subtitle,
body .program-page .inclusive,
body .about__text_wrap p,
body .contacts.page .contacts__text_wrap p,
body .contacts.page .contacts__text_wrap .subtitle,
body .testimonials__info > p,
body .masters__all_content > p:not(.masters__all_title) { color: var(--barsuk-color-muted); }
/* Contact information stays white; hours are an accent, explanations are muted. */
body .contacts__inner .phone,
body .contacts__inner .email,
body .contacts__inner .adress,
body .contacts.page .contacts__contacts li > span,
body .contacts.page .contacts__contacts li > a,
body .contacts.page .adress,
body .header .phone-adress > a { color: var(--barsuk-color-text); }
body .contacts.page .contacts__work { color: var(--barsuk-color-accent); }
body .contacts.page .contacts__work_sub,
body .contacts__inner > p { color: var(--barsuk-color-muted); }
body .mobile-drawer .mobile-drawer__value,
body .mobile-drawer .mobile-drawer__phone { color: var(--barsuk-color-text); }
body .mobile-drawer .mobile-drawer__label,
body .mobile-drawer .mobile-drawer__subtext { color: var(--barsuk-color-muted); }
body .header__quick-info a,
body .header__quick-info .header__quick-hours { color: var(--barsuk-color-accent); }
body .breadcrumbs li { color: var(--barsuk-color-muted); }
body .breadcrumbs li a { color: var(--barsuk-color-accent); }
body .breadcrumbs li:last-child a { color: var(--barsuk-color-muted); }

/* The Contacts page already contains a full contact card above its gallery. */

