.carousel {
  position: relative;
  box-sizing: border-box;
}

.carousel *,
.carousel :after,
.carousel :before {
  box-sizing: inherit;
}

.carousel.is-draggable {
  cursor: move;
  cursor: grab;
}

.carousel.is-dragging {
  cursor: move;
  cursor: grabbing;
}

.carousel__viewport {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  max-height: 100%;
}

.carousel__track {
  display: flex;
}

.carousel__slide {
  flex: 0 0 auto;
  width: var(--carousel-slide-width, 60%);
  max-width: 100%;
  padding: 1rem;
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  -ms-scroll-chaining: none;
  overscroll-behavior: contain;
}

.has-dots {
  margin-bottom: calc(0.5rem + 22px);
}

.carousel__dots {
  margin: 0 auto;
  padding: 0;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  justify-content: center;
  list-style: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.carousel__dots .carousel__dot {
  margin: 0;
  padding: 0;
  display: block;
  position: relative;
  width: 22px;
  height: 22px;
  cursor: pointer;
}

.carousel__dots .carousel__dot:after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: currentColor;
  opacity: 0.25;
  transition: opacity 0.15s ease-in-out;
}

.carousel__dots .carousel__dot.is-selected:after {
  opacity: 1;
}

.carousel__button {
  width: var(--carousel-button-width, 48px);
  height: var(--carousel-button-height, 48px);
  padding: 0;
  border: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: all;
  cursor: pointer;
  color: var(--carousel-button-color, currentColor);
  background: var(--carousel-button-bg, transparent);
  border-radius: var(--carousel-button-border-radius, 50%);
  box-shadow: var(--carousel-button-shadow, none);
  transition: opacity 0.15s;
}

.carousel__button.is-next,
.carousel__button.is-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.carousel__button.is-prev {
  left: 10px;
}

.carousel__button.is-next {
  right: 10px;
}

.carousel__button[disabled] {
  cursor: default;
  opacity: 0.3;
}

.carousel__button svg {
  width: var(--carousel-button-svg-width, 50%);
  height: var(--carousel-button-svg-height, 50%);
  fill: none;
  stroke: currentColor;
  stroke-width: var(--carousel-button-svg-stroke-width, 1.5);
  stroke-linejoin: bevel;
  stroke-linecap: round;
  filter: var(--carousel-button-svg-filter, none);
  pointer-events: none;
}

html.with-fancybox {
  scroll-behavior: auto;
}

body.compensate-for-scrollbar {
  overflow: hidden !important;
  touch-action: none;
}

.fancybox__container {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  direction: ltr;
  margin: 0;
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0)
    env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  color: var(--fancybox-color, #fff);
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  z-index: 1050;
  outline: 0;
  transform-origin: top left;
  --carousel-button-width: 48px;
  --carousel-button-height: 48px;
  --carousel-button-svg-width: 24px;
  --carousel-button-svg-height: 24px;
  --carousel-button-svg-stroke-width: 2.5;
  --carousel-button-svg-filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.4));
}

.fancybox__container *,
.fancybox__container ::after,
.fancybox__container ::before {
  box-sizing: inherit;
}

.fancybox__container :focus {
  outline: 0;
}

body:not(.is-using-mouse) .fancybox__container :focus {
  box-shadow:
    0 0 0 1px #fff,
    0 0 0 2px var(--fancybox-accent-color, rgba(1, 210, 232, 0.94));
}

.fancybox__backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: var(--fancybox-bg, rgba(24, 24, 27, 0.92));
}

.fancybox__carousel {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  z-index: 10;
}

.fancybox__carousel.has-dots {
  margin-bottom: calc(0.5rem + 22px);
}

.fancybox__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
  cursor: default;
}

.fancybox__track {
  display: flex;
  height: 100%;
}

.fancybox__slide {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 48px 8px 8px;
  position: relative;
  -ms-scroll-chaining: none;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  outline: 0;
  overflow: auto;
  --carousel-button-width: 36px;
  --carousel-button-height: 36px;
  --carousel-button-svg-width: 22px;
  --carousel-button-svg-height: 22px;
}

.fancybox__slide::after,
.fancybox__slide::before {
  content: '';
  flex: 0 0 0;
  margin: auto;
}

@media all and (min-width: 1024px) {
  .fancybox__container {
    --carousel-button-width: 48px;
    --carousel-button-height: 48px;
    --carousel-button-svg-width: 27px;
    --carousel-button-svg-height: 27px;
  }
  .fancybox__slide {
    padding: 64px 100px;
  }
}

.fancybox__content {
  margin: 0 env(safe-area-inset-right, 0) 0 env(safe-area-inset-left, 0);
  padding: 36px;
  color: var(--fancybox-content-color, #374151);
  background: var(--fancybox-content-bg, #fff);
  position: relative;
  align-self: center;
  display: flex;
  flex-direction: column;
  z-index: 20;
}

.fancybox__content :focus:not(.carousel__button.is-close) {
  outline: dotted thin;
  box-shadow: none;
}

.fancybox__caption {
  align-self: center;
  max-width: 100%;
  margin: 0;
  padding: 1rem 0 0;
  line-height: 1.375;
  color: var(--fancybox-color, currentColor);
  visibility: visible;
  cursor: auto;
  flex-shrink: 0;
  overflow-wrap: anywhere;
}

.is-loading .fancybox__caption {
  visibility: hidden;
}

.fancybox__container > .carousel__dots {
  top: 100%;
  color: var(--fancybox-color, #fff);
}

.fancybox__nav .carousel__button {
  z-index: 40;
}

.fancybox__nav .carousel__button.is-next {
  right: 8px;
}

.fancybox__nav .carousel__button.is-prev {
  left: 8px;
}

.carousel__button.is-close {
  position: absolute;
  top: 8px;
  right: 8px;
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  right: calc(env(safe-area-inset-right, 0px) + 8px);
  z-index: 40;
}

@media all and (min-width: 1024px) {
  .fancybox__nav .carousel__button.is-next {
    right: 40px;
  }
  .fancybox__nav .carousel__button.is-prev {
    left: 40px;
  }
  .carousel__button.is-close {
    right: 40px;
  }
}

.fancybox__content > .carousel__button.is-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--fancybox-color, #fff);
}

.fancybox__no-click,
.fancybox__no-click button {
  pointer-events: none;
}

.fancybox__spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  color: var(--fancybox-color, currentColor);
}

.fancybox__slide .fancybox__spinner {
  cursor: pointer;
  z-index: 1053;
}

.fancybox__spinner svg {
  animation: 2s linear infinite fancybox-rotate;
  transform-origin: center center;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 100%;
  height: 100%;
}

.fancybox__spinner svg circle {
  fill: none;
  stroke-width: 2.75;
  stroke-miterlimit: 10;
  stroke-dasharray: 1, 200;
  stroke-dashoffset: 0;
  animation: 1.5s ease-in-out infinite fancybox-dash;
  stroke-linecap: round;
  stroke: currentColor;
}

@keyframes fancybox-rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes fancybox-dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -35px;
  }
  100% {
    stroke-dasharray: 89, 200;
    stroke-dashoffset: -124px;
  }
}

.carousel__button.is-close,
.carousel__dots,
.fancybox__backdrop,
.fancybox__caption,
.fancybox__nav {
  opacity: var(--fancybox-opacity, 1);
}

.fancybox__container.is-animated[aria-hidden='false']
  .carousel__button.is-close,
.fancybox__container.is-animated[aria-hidden='false'] .carousel__dots,
.fancybox__container.is-animated[aria-hidden='false'] .fancybox__backdrop,
.fancybox__container.is-animated[aria-hidden='false'] .fancybox__caption,
.fancybox__container.is-animated[aria-hidden='false'] .fancybox__nav {
  animation: 0.15s backwards fancybox-fadeIn;
}

.fancybox__container.is-animated.is-closing .carousel__button.is-close,
.fancybox__container.is-animated.is-closing .carousel__dots,
.fancybox__container.is-animated.is-closing .fancybox__backdrop,
.fancybox__container.is-animated.is-closing .fancybox__caption,
.fancybox__container.is-animated.is-closing .fancybox__nav {
  animation: 0.15s both fancybox-fadeOut;
}

.fancybox-fadeIn {
  animation: 0.15s both fancybox-fadeIn;
}

.fancybox-fadeOut {
  animation: 0.1s both fancybox-fadeOut;
}

.fancybox-zoomInUp {
  animation: 0.2s both fancybox-zoomInUp;
}

.fancybox-zoomOutDown {
  animation: 0.15s both fancybox-zoomOutDown;
}

.fancybox-throwOutUp {
  animation: 0.15s both fancybox-throwOutUp;
}

.fancybox-throwOutDown {
  animation: 0.15s both fancybox-throwOutDown;
}

@keyframes fancybox-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fancybox-fadeOut {
  to {
    opacity: 0;
  }
}

@keyframes fancybox-zoomInUp {
  from {
    transform: scale(0.97) translate3d(0, 16px, 0);
    opacity: 0;
  }
  to {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 1;
  }
}

@keyframes fancybox-zoomOutDown {
  to {
    transform: scale(0.97) translate3d(0, 16px, 0);
    opacity: 0;
  }
}

@keyframes fancybox-throwOutUp {
  to {
    transform: translate3d(0, -30%, 0);
    opacity: 0;
  }
}

@keyframes fancybox-throwOutDown {
  to {
    transform: translate3d(0, 30%, 0);
    opacity: 0;
  }
}

.fancybox__carousel .carousel__slide {
  scrollbar-width: thin;
  scrollbar-color: #ccc rgba(255, 255, 255, 0.1);
}

.fancybox__carousel .carousel__slide::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.fancybox__carousel .carousel__slide::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255, 0.1);
}

.fancybox__carousel .carousel__slide::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 2px;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
}

.fancybox__carousel.is-draggable .fancybox__slide,
.fancybox__carousel.is-draggable .fancybox__slide .fancybox__content {
  cursor: move;
  cursor: grab;
}

.fancybox__carousel.is-dragging .fancybox__slide,
.fancybox__carousel.is-dragging .fancybox__slide .fancybox__content {
  cursor: move;
  cursor: grabbing;
}

.fancybox__carousel .fancybox__slide .fancybox__content {
  cursor: auto;
}

.fancybox__carousel .fancybox__slide.can-zoom_in .fancybox__content {
  cursor: zoom-in;
}

.fancybox__carousel .fancybox__slide.can-zoom_out .fancybox__content {
  cursor: zoom-out;
}

.fancybox__carousel .fancybox__slide.is-draggable .fancybox__content {
  cursor: move;
  cursor: grab;
}

.fancybox__carousel .fancybox__slide.is-dragging .fancybox__content {
  cursor: move;
  cursor: grabbing;
}

.fancybox__image {
  transform-origin: 0 0;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: none;
}

.has-image .fancybox__content {
  padding: 0;
  background: 0 0;
  min-height: 1px;
}

.is-closing .has-image .fancybox__content {
  overflow: visible;
}

.has-image[data-image-fit='contain'] {
  overflow: visible;
  touch-action: none;
}

.has-image[data-image-fit='contain'] .fancybox__content {
  flex-direction: row;
  flex-wrap: wrap;
}

.has-image[data-image-fit='contain'] .fancybox__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.has-image[data-image-fit='contain-w'] {
  overflow-x: hidden;
  overflow-y: auto;
}

.has-image[data-image-fit='contain-w'] .fancybox__content {
  min-height: auto;
}

.has-image[data-image-fit='contain-w'] .fancybox__image {
  max-width: 100%;
  height: auto;
}

.has-image[data-image-fit='cover'] {
  overflow: visible;
  touch-action: none;
}

.has-image[data-image-fit='cover'] .fancybox__content {
  width: 100%;
  height: 100%;
}

.has-image[data-image-fit='cover'] .fancybox__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fancybox__carousel .fancybox__slide.has-html5video .fancybox__content,
.fancybox__carousel .fancybox__slide.has-iframe .fancybox__content,
.fancybox__carousel .fancybox__slide.has-map .fancybox__content,
.fancybox__carousel .fancybox__slide.has-pdf .fancybox__content,
.fancybox__carousel .fancybox__slide.has-video .fancybox__content {
  max-width: 100%;
  flex-shrink: 1;
  min-height: 1px;
  overflow: visible;
}

.fancybox__carousel .fancybox__slide.has-iframe .fancybox__content,
.fancybox__carousel .fancybox__slide.has-map .fancybox__content,
.fancybox__carousel .fancybox__slide.has-pdf .fancybox__content {
  width: 100%;
  height: 80%;
}

.fancybox__carousel .fancybox__slide.has-html5video .fancybox__content,
.fancybox__carousel .fancybox__slide.has-video .fancybox__content {
  width: 960px;
  height: 540px;
  max-width: 100%;
  max-height: 100%;
}

.fancybox__carousel .fancybox__slide.has-html5video .fancybox__content,
.fancybox__carousel .fancybox__slide.has-map .fancybox__content,
.fancybox__carousel .fancybox__slide.has-pdf .fancybox__content,
.fancybox__carousel .fancybox__slide.has-video .fancybox__content {
  padding: 0;
  background: rgba(24, 24, 27, 0.9);
  color: #fff;
}

.fancybox__carousel .fancybox__slide.has-map .fancybox__content {
  background: #e5e3df;
}

.fancybox__html5video,
.fancybox__iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
  background: 0 0;
}

.fancybox-placeholder {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.fancybox__thumbs {
  flex: 0 0 auto;
  position: relative;
  padding: 0 3px;
  opacity: var(--fancybox-opacity, 1);
}

.fancybox__container.is-animated[aria-hidden='false'] .fancybox__thumbs {
  animation: 0.15s ease-in backwards fancybox-fadeIn;
}

.fancybox__container.is-animated.is-closing .fancybox__thumbs {
  opacity: 0;
}

.fancybox__thumbs .carousel__slide {
  flex: 0 0 auto;
  width: var(--fancybox-thumbs-width, 96px);
  margin: 0;
  padding: 8px 3px;
  box-sizing: content-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  cursor: pointer;
}

.fancybox__thumbs .carousel__slide .fancybox__thumb::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-width: 5px;
  border-style: solid;
  border-color: var(--fancybox-accent-color, rgba(34, 213, 233, 0.96));
  opacity: 0;
  transition: opacity 0.15s;
  border-radius: var(--fancybox-thumbs-border-radius, 4px);
}

.fancybox__thumbs .carousel__slide.is-nav-selected .fancybox__thumb::after {
  opacity: 0.92;
}

.fancybox__thumbs .carousel__slide > * {
  pointer-events: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.fancybox__thumb {
  position: relative;
  width: 100%;
  padding-top: calc(100% / (var(--fancybox-thumbs-ratio, 1.5)));
  background-size: cover;
  background-position: center center;
  background-color: rgba(255, 255, 255, 0.1);
  background-repeat: no-repeat;
  border-radius: var(--fancybox-thumbs-border-radius, 4px);
}

.fancybox__toolbar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0) 0,
    rgba(0, 0, 0, 0.006) 8.1%,
    rgba(0, 0, 0, 0.021) 15.5%,
    rgba(0, 0, 0, 0.046) 22.5%,
    rgba(0, 0, 0, 0.077) 29%,
    rgba(0, 0, 0, 0.114) 35.3%,
    rgba(0, 0, 0, 0.155) 41.2%,
    rgba(0, 0, 0, 0.198) 47.1%,
    rgba(0, 0, 0, 0.242) 52.9%,
    rgba(0, 0, 0, 0.285) 58.8%,
    rgba(0, 0, 0, 0.326) 64.7%,
    rgba(0, 0, 0, 0.363) 71%,
    rgba(0, 0, 0, 0.394) 77.5%,
    rgba(0, 0, 0, 0.419) 84.5%,
    rgba(0, 0, 0, 0.434) 91.9%,
    rgba(0, 0, 0, 0.44) 100%
  );
  padding: 0;
  touch-action: none;
  display: flex;
  justify-content: space-between;
  --carousel-button-svg-width: 20px;
  --carousel-button-svg-height: 20px;
  opacity: var(--fancybox-opacity, 1);
  text-shadow: var(
    --fancybox-toolbar-text-shadow,
    1px 1px 1px rgba(0, 0, 0, 0.4)
  );
}

@media all and (min-width: 1024px) {
  .fancybox__toolbar {
    padding: 8px;
  }
}

.fancybox__container.is-animated[aria-hidden='false'] .fancybox__toolbar {
  animation: 0.15s ease-in backwards fancybox-fadeIn;
}

.fancybox__container.is-animated.is-closing .fancybox__toolbar {
  opacity: 0;
}

.fancybox__toolbar__items {
  display: flex;
}

.fancybox__toolbar__items--left {
  margin-right: auto;
}

.fancybox__toolbar__items--center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.fancybox__toolbar__items--right {
  margin-left: auto;
}

@media (max-width: 640px) {
  .fancybox__toolbar__items--center:not(:last-child) {
    display: none;
  }
}

.fancybox__counter {
  min-width: 72px;
  padding: 0 10px;
  line-height: var(--carousel-button-height, 48px);
  text-align: center;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: subpixel-antialiased;
}

.fancybox__progress {
  background: var(--fancybox-accent-color, rgba(34, 213, 233, 0.96));
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform: scaleX(0);
  transform-origin: 0;
  transition-property: transform;
  transition-timing-function: linear;
  z-index: 30;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.fancybox__container:-ms-fullscreen::backdrop {
  opacity: 0;
}

.fancybox__container:fullscreen::-ms-backdrop {
  opacity: 0;
}

.fancybox__container:fullscreen::backdrop {
  opacity: 0;
}

.fancybox__button--fullscreen g:nth-child(2) {
  display: none;
}

.fancybox__container:-ms-fullscreen
  .fancybox__button--fullscreen
  g:nth-child(1) {
  display: none;
}

.fancybox__container:fullscreen .fancybox__button--fullscreen g:nth-child(1) {
  display: none;
}

.fancybox__container:-ms-fullscreen
  .fancybox__button--fullscreen
  g:nth-child(2) {
  display: block;
}

.fancybox__container:fullscreen .fancybox__button--fullscreen g:nth-child(2) {
  display: block;
}

.fancybox__button--slideshow g:nth-child(2),
.fancybox__container.has-slideshow .fancybox__button--slideshow g:nth-child(1) {
  display: none;
}

.fancybox__container.has-slideshow .fancybox__button--slideshow g:nth-child(2) {
  display: block;
}

*,
::after,
::before {
  box-sizing: border-box;
}

a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  font-size: var(--fs-22);
  font-family: 'Proxima Nova Rg', Manrope, Roboto, sans-serif;
  margin: 0;
  font-weight: 400;
  color: var(--white);
  background-color: var(--bg);
}

a {
  text-decoration: none;
  color: inherit;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:after,
blockquote:before,
q:after,
q:before {
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  max-width: 100%;
  /* см. комментарий в critical.css: без height: auto атрибуты
     width/height на <img> искажают пропорции фотографий */
  height: auto;
  display: block;
  margin: 0 auto;
  max-height: 680px;
}

.show-my-wrapper {
  transition: 0.3s;
  z-index: 1100;
  box-sizing: border-box;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 320px;
  max-width: 800px;
  width: 100%;
  min-height: 170px;
  background: #f5f5f5;
  padding: 15px 25px;
  font-family: sans-serif;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.my-popup-done {
  border: 8px solid #45ea45;
}

.my-popup-error {
  border: 8px solid red;
}

.show-my-wrapper p {
  font-weight: 700;
  font-size: 30px;
  margin: 0 0 15px;
}

.show-my-wrapper span {
  margin: 0;
  font-size: 18px;
}

.show-my-wrapper b {
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

.show-my-wrapper b:hover {
  background-color: #c5c5c5;
}

.show-my-wrapper i {
  transform: rotateZ(45deg);
  width: 25px;
  height: 3px;
  background: #000;
  border-radius: 15px;
}

.show-my-wrapper i::after {
  content: '';
  display: block;
  width: inherit;
  height: inherit;
  background: inherit;
  transform: rotateZ(90deg);
  border-radius: 15px;
}

@media (max-width: 425px) {
  .show-my-wrapper {
    height: 101%;
    width: 101%;
    border: none !important;
  }
}

:root {
  --grad: linear-gradient(132deg, #121824 0%, #792679 100%);
  --black: #111010;
  --white: #ffffff;
  --bg: #f3f3f3;
  --accent: #803db1;
  --primary: #0d6e71;
  --gray: #777777;
  --scale-factor: min(1, 100vw / 1400);
  --scale-factor-up: 1;
  --fs-14: calc(14px * var(--scale-factor-up));
  --fs-16: calc(16px * var(--scale-factor-up));
  --fs-18: calc(18px * var(--scale-factor-up));
  --fs-20: calc(20px * var(--scale-factor-up));
  --fs-22: calc(22px * var(--scale-factor-up));
  --fs-24: calc(24px * var(--scale-factor-up));
  --fs-30: calc(30px * var(--scale-factor-up));
  --fs-36: calc(36px * var(--scale-factor-up));
  --fs-48: calc(48px * var(--scale-factor-up));
  --fs-60: calc(60px * var(--scale-factor-up));
  --space-40: calc(40 * var(--scale-factor-up) * 1px);
  --space-121: calc(121px * var(--scale-factor-up));
  --space-128: calc(128px * var(--scale-factor-up));
  --space-96: calc(96px * var(--scale-factor-up));
  --container-max-width: calc(1400px * var(--scale-factor-up));
}

.btn {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--fs-16);
  min-height: 56px;
  padding: 0 calc(52px * var(--scale-factor-up));
  text-align: center;
  border-radius: 9px;
  position: relative;
  color: var(--white);
  font-weight: 700;
  overflow: hidden;
  transition: 0.3s;
  background-color: transparent;
  border: 2px solid var(--white);
  text-transform: uppercase;
  cursor: pointer;
}

.btn::after {
  top: -32px;
  content: '';
  display: block;
  transform: rotate(25deg);
  position: absolute;
  width: 20px;
  height: 130px;
  z-index: 1;
  opacity: 0.55;
  background: #fff;
  animation: 2.8s ease-out infinite btn-effect;
}

.btn:hover {
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.container {
  width: calc(1421px * var(--scale-factor-up));
  margin-left: auto;
  margin-right: auto;
}

.h1 {
  font-size: var(--fs-60);
  line-height: 1.1;
  font-weight: 700;
}

.h1 span {
  color: var(--accent);
}

.h2 {
  font-size: var(--fs-48);
  line-height: 1.2;
  font-weight: 700;
}

.h2 span {
  color: var(--accent);
}

.h3 {
  font-size: var(--fs-30);
  line-height: 104%;
}

.h3 span {
  color: var(--accent);
}

.subtitle {
  color: var(--gray);
  font-size: var(--fs-22);
  line-height: 120%;
}

.ta_c {
  text-align: center;
}

.color_accent {
  color: var(--accent);
}

.text_14 {
  font-size: var(--fs-14);
}

.text_16 {
  font-size: var(--fs-16);
}

.text_18 {
  font-size: var(--fs-18);
}

.text_20 {
  font-size: var(--fs-20);
}

.mb_60 {
  margin-bottom: var(--space-60);
}

.mb_96 {
  margin-bottom: var(--space-96);
}

.mb_40 {
  margin-bottom: 40px;
}

.m_small {
  margin-left: var(--space-40);
  margin-right: var(--space-40);
}

.p_big {
  padding-left: var(--space-121);
  padding-right: var(--space-121);
}

.p_top {
  padding-top: var(--space-128);
  padding-bottom: var(--space-128);
}

.br_20 {
  border-radius: 20px;
}

@media (min-width: 2800px) {
  :root {
    --scale-factor-up: 2;
  }
}

.-hide {
  display: none !important;
}

@keyframes btn-effect {
  0% {
    left: -20%;
  }
  100%,
  35% {
    left: 110%;
  }
}

.popup {
  border: 10px solid var(--accent);
  border-radius: 30px;
}

.popup__wrapper {
  max-width: 440px;
  width: 100%;
}

.form {
  flex-direction: column;
  align-items: center;
}

.form__wrap {
  padding: 0;
}

.form__inp {
  margin-top: 1.5rem;
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2rem;
  border: 1px solid var(--borderColor);
  border-radius: 8px;
}

.form__politica,
.form__subinp {
  color: var(--gray);
  font-style: italic;
  font-size: 0.9rem;
  display: block;
  margin-top: 0.5rem;
  line-height: 125%;
}

.form__politica a {
  text-decoration: underline;
}

.form__btn {
  padding: 1rem 3rem;
  font-size: 1.2rem;
  margin: 2rem auto 1rem;
  display: block;
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.bread {
  margin-left: calc(var(--index) * -4);
  margin-bottom: calc(var(--index) * 0.9);
}

.bread ol {
  display: flex;
}

.bread ol li {
  font-size: calc(var(--index) * 0.6);
  margin-right: 10px;
}

.bread ol li:not(:last-child):after {
  content: ' – ';
  display: inline-block;
  margin-left: 5px;
}

.bread ol li a {
  color: var(--textColor);
}

.carousel__dots {
  display: none;
}

@keyframes blink {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.advantages {
  border-top: 1px solid #b9b9b9;
  border-bottom: 1px solid #b9b9b9;
}

.advantages__wrapper {
  color: var(--black);
}

.advantages__title {
  max-width: calc(1122px * var(--scale-factor-up));
  margin-left: auto;
  margin-right: auto;
}

.advantages__content {
  display: flex;
}

.advantages__elem {
  width: 25%;
  padding: 42px 42px 42px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  padding-bottom: calc(70px * var(--scale-factor-up));
  border-right: 1px solid #b9b9b9;
}

.advantages__elem:last-child {
  border-right: none;
}

.advantages__num {
  position: absolute;
  font-weight: 700;
  font-size: calc(296px * var(--scale-factor-up));
  line-height: 100%;
  color: #dfdfdf;
  bottom: 0;
  left: 17px;
  z-index: -1;
}

.advantages__img {
  width: calc(78px * var(--scale-factor-up));
  height: calc(78px * var(--scale-factor-up));
}

.advantages__name {
  font-weight: 700;
  font-size: var(--fs-24);
  line-height: 120%;
  margin-top: 34px;
  margin-bottom: 6px;
}

.advantages__desc {
  font-weight: 400;
  font-size: var(--fs-18);
  line-height: 120%;
  color: var(--gray);
  margin-bottom: calc(58px * var(--scale-factor-up));
}

.choice {
  background-color: var(--black);
  position: relative;
}

.choice__title {
  max-width: calc(854px * var(--scale-factor-up));
  margin-bottom: 6px;
  margin-left: auto;
  margin-right: auto;
}

.choice__decor_left {
  left: 0;
  top: 25%;
  position: absolute;
  width: calc(206px * var(--scale-factor-up));
  z-index: 0;
}

.choice__decor_right {
  position: absolute;
  width: calc(206px * var(--scale-factor-up));
  right: 0;
  top: 65%;
  z-index: 0;
}

.quiz {
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  z-index: 4;
}

.quiz__progress {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  display: none;
  margin-bottom: 40px;
}

.quiz__progress__bar {
  flex: 1;
  height: 4px;
  background-color: #e7e7e7;
  border-radius: 4px;
  overflow: hidden;
  margin-right: 20px;
}

.quiz__progress__line {
  height: 100%;
  background-color: var(--accent);
  width: 20%;
  transition: 0.3s;
}

.quiz__progress__counter {
  font-size: 18px;
  color: var(--black);
}

.quiz__progress__current {
  font-weight: 600;
}

.quiz__progress__total {
  color: var(--gray);
}

.quiz__step {
  display: none;
}

.quiz__step[data-step='1'] {
  display: block;
}

.quiz__step__content {
  margin-bottom: 40px;
}

.quiz__step__content_last {
  padding: 30px;
  background-color: #313131;
  border-radius: 30px;
  margin-bottom: 20px;
}

.quiz__step__title {
  font-size: var(--fs-30);
  margin: 0 0 10px;
}

@media (max-width: 768px) {
  .quiz__step__title {
    font-size: 24px;
  }
}

.quiz__step__description {
  font-size: 16px;
  color: var(--grayBDC2D3);
  margin: 0 0 30px;
}

.quiz__step.fadeIn {
  animation: 0.4s forwards fadeIn;
}

.quiz__step.fadeOut {
  animation: 0.4s forwards fadeOut;
}

.quiz__options {
  margin-top: calc(40px * var(--scale-factor-up));
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(calc(350px * var(--scale-factor-up)), 1fr)
  );
  gap: 30px;
  margin-bottom: 20px;
}

.quiz__option {
  background-color: #313131;
  border: 1.5px solid var(--grayBDC2D3);
  border-radius: calc(36px * var(--scale-factor-up));
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  padding: 20px;
  padding-bottom: calc(45px * var(--scale-factor-up));
  gap: 20px;
  align-items: center;
}

.quiz__option:hover {
  border-color: rgba(var(--accent), 0.3);
}

.quiz__option.active {
  border-color: green;
  background-color: rgba(164, 136, 108, 0.05);
  transform: scale(1);
  transition: 0.3s;
}

.quiz__option:active {
  transform: scale(0.95);
}

.quiz__option__image {
  width: 100%;
  height: calc(380px * var(--scale-factor-up));
  border-radius: calc(16px * var(--scale-factor-up));
}

.quiz__option__image img {
  width: 100%;
  object-fit: contain;
}

.quiz__option__name {
  font-weight: 700;
  font-size: var(--fs-24);
  line-height: 108%;
  text-align: center;
}

.quiz__option__label {
  margin-top: 45px;
  font-weight: 500;
  font-size: var(--fs-18);
  line-height: 122%;
  letter-spacing: -0.02em;
}

.quiz__form__inputs {
  max-width: 500px;
  margin-bottom: 30px;
}

.quiz__form__group {
  margin-bottom: 20px;
}

.quiz__form__group input[type='tel'],
.quiz__form__group input[type='text'] {
  width: 100%;
  height: 50px;
  border: 1px solid var(--grayBDC2D3);
  border-radius: 20px;
  padding: 0 15px;
  font-size: 16px;
  color: var(--black);
  outline: 0;
  transition: 0.3s;
}

.quiz__form__group input[type='tel']:focus,
.quiz__form__group input[type='text']:focus {
  border-color: var(--accent);
}

.quiz__form__group input[type='tel']:-ms-input-placeholder,
.quiz__form__group input[type='text']:-ms-input-placeholder {
  color: var(--gray);
}

.quiz__form__group input[type='tel']::placeholder,
.quiz__form__group input[type='text']::placeholder {
  color: var(--gray);
}

.quiz__form__group--checkbox {
  display: flex;
  align-items: center;
}

.quiz__form__group--checkbox input[type='checkbox'] {
  margin-right: 10px;
}

.quiz__form__group--checkbox label {
  font-size: 14px;
  color: var(--grayBDC2D3);
}

.quiz__form__group--checkbox label a {
  color: var(--accent);
  text-decoration: none;
}

.quiz__form__group--checkbox label a:hover {
  text-decoration: underline;
}

.quiz__buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 576px) {
  .quiz__buttons {
    flex-direction: column;
    gap: 15px;
  }
  .quiz__buttons .quiz-btn {
    width: 100%;
  }
}

.quiz__btn {
  height: 50px;
  padding: 0 30px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.quiz__btn--prev {
  border: 1px solid var(--grayBDC2D3);
  color: var(--grayBDC2D3);
}

.quiz__btn--prev:hover {
  color: var(--black);
}

.quiz__btn--next,
.quiz__btn--prev {
  display: none;
}

.quiz__btn--next,
.quiz__btn--submit {
  background-color: var(--accent);
  color: var(--white);
}

.quiz__btn--next:hover,
.quiz__btn--submit:hover {
  background-color: var(--accent);
}

.quiz__btn--next:disabled,
.quiz__btn--submit:disabled {
  background-color: var(--gray);
  color: var(--grayBDC2D3);
  cursor: not-allowed;
}

.get_portrait {
  display: flex;
  align-items: center;
  gap: calc(120px * var(--scale-factor-up));
  color: var(--black);
}

.get_portrait__decor {
  position: absolute;
  left: 0;
  top: -58%;
  width: calc(864px * var(--scale-factor-up));
  z-index: 1;
}

.get_portrait__wrapper {
  background-color: var(--white);
  position: relative;
}

.get_portrait__content {
  display: flex;
  flex-direction: column;
}

.get_portrait__step {
  border-left: 1px solid #b9b9b9;
  border-right: 1px solid #b9b9b9;
  border-top: 1px solid #b9b9b9;
  width: calc(597px * var(--scale-factor-up));
  height: calc(170px * var(--scale-factor-up));
  display: flex;
  padding: 23px;
  gap: 20px;
}

.get_portrait__step_number {
  position: relative;
  font-weight: 700;
  font-size: var(--fs-48);
  line-height: 100%;
  color: var(--bg);
  width: calc(181px * var(--scale-factor-up));
  height: calc(104px * var(--scale-factor-up));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  flex-shrink: 0;
}

.get_portrait__step_number:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  background: url(../images/icons/green_bg.svg) center center/contain no-repeat;
  width: inherit;
  height: inherit;
  z-index: -1;
}

.get_portrait__step_title {
  font-weight: 700;
  font-size: var(--fs-24);
  line-height: 100%;
  color: #111010;
  margin-bottom: 9px;
}

.get_portrait__step_desc {
  font-size: var(--fs-16);
  line-height: 120%;
  color: var(--gray);
}

.get_portrait__step_btn {
  margin-top: 18px;
  width: 100%;
  display: flex;
  justify-content: end;
}

.get_portrait__step_btn button {
  background-color: var(--black);
}

.stroke {
  background-color: var(--accent);
}

.stroke__list {
  cursor: pointer;
  font-weight: 700;
  font-size: var(--fs-16);
  color: #fff;
  display: flex;
  gap: 20px;
  height: 56px;
  align-items: center;
  white-space: nowrap;
  animation: 30s linear infinite marquee;
}

.stroke__list li {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.stroke__list li:before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  background-color: #fff;
  border-radius: 100%;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.steps {
  position: relative;
  z-index: 1;
}

.steps__wrapper {
  background-color: var(--black);
  position: relative;
}

.steps__decor {
  position: absolute;
  z-index: 0;
  right: -270px;
  top: 50%;
  width: calc(1044px * var(--scale-factor-up));
  height: calc(1036 * var(--scale-factor-up));
  transform: translateY(-50%);
}

.steps__title {
  margin-bottom: 28px;
}

.steps__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.steps__elem {
  background-color: #313131;
  border-radius: calc(36px * var(--scale-factor-up));
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(86px * var(--scale-factor-up));
}

.steps__elem_img {
  border-radius: calc(16px * var(--scale-factor-up));
  height: calc(364px * var(--scale-factor-up));
}

.steps__elem_img img {
  height: inherit;
  object-fit: contain;
}

.steps__elem_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  position: relative;
}

.steps__elem_number {
  font-weight: 700;
  font-size: calc(61px * var(--scale-factor-up));
  line-height: 100%;
  color: #313131;
  border-radius: 100%;
  background-color: #f3f3f3;
  width: calc(129px * var(--scale-factor-up));
  height: calc(129px * var(--scale-factor-up));
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  top: 0;
}

.steps__elem_title {
  line-height: 160%;
  margin-bottom: 6px;
}

.steps__elem_desc {
  font-size: var(--fs-16);
  line-height: 160%;
  color: #aeaeae;
}

.steps__form {
  border-radius: calc(36px * var(--scale-factor-up));
  background: linear-gradient(132deg, #121824 0, #792679 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.steps__form_text {
  padding-left: calc(80px * var(--scale-factor-up));
  max-width: calc(510px * var(--scale-factor-up));
}

.steps__form_title {
  line-height: 120%;
  color: #fff;
}

.steps__form_desc {
  font-size: var(--fs-18);
  line-height: 120%;
  color: #fff;
  margin-bottom: 26px;
  margin-top: 12px;
}

.steps__form_img {
  flex-grow: 0;
}

.steps__form_img_mobile {
  display: none;
}

.production__wrapper {
  position: relative;
  background: var(--bg);
  color: var(--black);
}

.production__decor_left {
  top: -20%;
  position: absolute;
  left: 0;
  width: calc(177px * var(--scale-factor-up));
  height: calc(878px * var(--scale-factor-up));
}

.production__decor_right {
  top: 23%;
  position: absolute;
  right: 0;
  width: calc(162px * var(--scale-factor-up));
  height: calc(976px * var(--scale-factor-up));
}

.production__steps {
  width: calc(880px * var(--scale-factor-up));
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.production__steps_line {
  position: absolute;
  width: 100%;
  border: 1px dashed #c9c9c9;
  top: 50%;
  left: 0;
  z-index: 0;
}

.production__steps_elements {
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
}

.production__steps_elements span {
  border-radius: 100%;
  font-size: var(--fs-30);
  line-height: 100%;
  text-align: center;
  color: #777;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  background-color: var(--bg);
}

.production__content {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(4, 1fr);
}

.production__content_elem {
  background: var(--white);
  border-radius: calc(36px * var(--scale-factor-up));
  padding: 16px;
}

.production__content_img {
  border-radius: calc(16px * var(--scale-factor-up));
  height: calc(245px * var(--scale-factor-up));
  margin-bottom: 16px;
}

.production__content_text {
  text-align: center;
}

.production__content_title {
  font-size: var(--fs-24);
  line-height: 100%;
  font-weight: 700;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8px;
}

.production__content_desc {
  font-size: var(--fs-16);
  line-height: 120%;
  color: #777;
}

.production__content_btn {
  margin-top: calc(16px * var(--scale-factor-up));
}

.production__content_btn button {
  background: var(--accent);
  width: 100%;
  border-radius: 12px;
  min-height: 48px;
}

.portraits__wrapper {
  background-color: var(--black);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.portraits__decor_left {
  position: absolute;
  left: -20%;
  width: calc(617px * var(--scale-factor-up));
  height: calc(617px * var(--scale-factor-up));
  top: 27%;
}

.portraits__decor_right {
  position: absolute;
  width: calc(617px * var(--scale-factor-up));
  height: calc(617px * var(--scale-factor-up));
  right: -20%;
  top: 17%;
}

.portraits__tabs {
  display: flex;
  justify-content: space-between;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--white);
}

.single_main__decor img {
  margin: 0;
}

.single_article__decor img {
  margin: 0;
}

.portraits__tabs_elem {
  padding: 15px 20px;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
  flex-grow: 1;
  color: #cccccc;
  border-right: 1px solid var(--bg);
}

.portraits__tabs_elem:last-child {
  border-right: none;
}

.portraits__tabs_elem.active {
  background-color: #8257b6;
  color: #fff;
}

.portraits__content {
  position: relative;
}

.portraits__content_tab {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s,
    visibility 0.5s;
  pointer-events: none;
}

.portraits__content_tab.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.portraits__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 20px;
  height: calc(854px * var(--scale-factor-up));
}

.portraits__item {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.portraits__item:hover img {
  transform: scale(1.05);
}

.portraits__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.portraits__item:nth-child(1) {
  grid-column: 1/3;
  grid-row: 1/5;
}

.portraits__item:nth-child(2) {
  grid-column: 1/3;
  grid-row: 5/7;
}

.portraits__item:nth-child(3) {
  grid-column: 3/5;
  grid-row: 1/3;
}

.portraits__item:nth-child(4) {
  grid-column: 3/5;
  grid-row: 3/7;
}

.portraits__item:nth-child(5) {
  grid-column: 5/7;
  grid-row: 1/4;
}

.portraits__item:nth-child(6) {
  grid-column: 5/7;
  grid-row: 4/7;
}

.otzivy__wrapper {
  background-color: var(--white);
  padding: 78px 0;
}

.otzivy__slider {
  position: relative;
}

.otzivy__slider_mobile {
  display: none;
}

.otzivy__slider .is-next {
  color: #111010;
  right: -50px;
}

.otzivy__slider .is-next svg {
  stroke-width: 4px;
}

.otzivy__slider .is-prev {
  color: #111010;
  left: -50px;
}

.otzivy__slider .is-prev svg {
  stroke-width: 4px;
}

.otzivy__title {
  color: var(--black);
}

.otzivy__content {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 20px;
  height: calc(700px * var(--scale-factor-up));
  padding: 10px;
  width: 100%;
}

.otzivy__elem {
  border-radius: 20px;
  overflow: hidden;
}

.otzivy__elem:nth-child(1) {
  grid-column: 1/3;
  grid-row: 1/5;
}

.otzivy__elem:nth-child(2) {
  grid-column: 3/5;
  grid-row: 1/3;
}

.otzivy__elem:nth-child(3) {
  grid-column: 5/7;
  grid-row: 1/3;
}

.otzivy__elem:nth-child(4) {
  grid-column: 3/7;
  grid-row: 3/5;
}

.otzivy__card {
  position: relative;
}

.otzivy__text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  background: linear-gradient(
    180deg,
    rgba(17, 16, 16, 0) 0,
    rgba(17, 16, 16, 0.74) 72.92%
  );
}

.form_black__wrapper {
  background-color: var(--black);
}

.form_black__content {
  display: flex;
  gap: 30px;
  margin-left: var(--space-40);
}

.form_black__video {
  height: calc(355px * var(--scale-factor-up));
  width: calc(574px * var(--scale-factor-up));
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
}

.form_black__text {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.form_black__title {
  margin-bottom: 13px;
  line-height: 100%;
}

.form_black__desc {
  font-weight: 400;
  font-size: var(--fs-16);
  line-height: 160%;
  color: #aeaeae;
}

.form_black__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 400;
  font-size: var(--fs-16);
  line-height: 160%;
  color: #aeaeae;
}

.form_black__contacts_phone {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
}

.form_black__contacts_phone:before {
  content: '';
  display: block;
  background: url(../images/icons/phone.svg) center center no-repeat;
  width: 24px;
  height: 24px;
}

.form_black__btn {
  flex-grow: 1;
  align-content: flex-end;
}

.form_black__btn button {
  background-color: var(--white);
  color: var(--black);
  border: none;
  font-size: var(--fs-16);
}

.last {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: center;
  color: var(--black);
  position: relative;
  z-index: 2;
}

.last__wrapper {
  background-color: var(--white);
  overflow: hidden;
  position: relative;
  padding: 76px 0;
}

.last__decor_left {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
}

.last__decor_right {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}

.last__img {
  width: calc(387px * var(--scale-factor-up));
  height: calc(365px * var(--scale-factor-up));
}

.last__content {
  display: flex;
  flex-direction: column;
  max-width: calc(609px * var(--scale-factor-up));
}

.last__subtitle {
  font-size: var(--fs-16);
  line-height: 120%;
  margin-bottom: 15px;
}

.last__form {
  display: flex;
  gap: 16px;
  flex-direction: column;
}

.last__form_btn {
  background-color: var(--accent) !important;
  margin-top: 10px;
  border: none;
  width: fit-content;
}

.form__input {
  max-width: calc(320px * var(--scale-factor-up));
  font-weight: 400;
  font-size: var(--fs-14);
  line-height: 99%;
  color: #111010;
  border: 1px solid #bdbdbd;
  border-radius: 100px;
  min-height: 38px;
  padding: 0 18px;
}

.form__input::placeholder,
input[type='tel'].form__input::placeholder {
  color: #111010;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 2fr 1.5fr 2fr;
  grid-template-areas: 'logo desc desc desc' 'contacts links partners images' 'prav prav prav prav';
  color: #fff;
}

.footer__wrapper {
  background-color: #313131;
  padding: 40px 0 36px;
}

.footer__logo {
  grid-area: logo;
  justify-self: start;
}

.footer__desc {
  grid-area: desc;
  font-weight: 600;
  font-size: 14px;
  line-height: 150%;
  align-content: center;
}

.footer__contacts {
  grid-area: contacts;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contacts_tel {
  font-size: var(--fs-16);
  line-height: 190%;
  text-decoration: underline;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
}

/* Телефон: на десктопе — текст, на мобильном — кликабельная ссылка */
@media (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

.footer__contacts_mail {
  font-size: 14px;
  line-height: 150%;
  text-transform: lowercase;
}

.footer__contacts_address {
  font-size: 14px;
  line-height: 150%;
}

.footer__contacts_socials {
  display: flex;
  gap: 8px;
}

.footer__contacts_socials img {
  width: 26px;
  height: 26px;
}

.footer__links {
  grid-area: links;
  font-size: 14px;
  line-height: 150%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px 40px;
  align-content: baseline;
}

.footer__partners {
  grid-area: partners;
}

.footer__partners p {
  font-size: 14px;
  line-height: 150%;
  margin-bottom: 18px;
}

.footer__partners_img {
  border-radius: 10px;
  width: calc(186px * var(--scale-factor-up));
  height: calc(131px * var(--scale-factor-up));
  overflow: hidden;
}

.footer__partners_img img {
  margin: 0;
}

.footer__images {
  grid-area: images;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}

.footer__images img {
  display: block;
  border-radius: 10px;
  overflow: hidden;
}

.footer__prav {
  grid-area: prav;
  justify-self: center;
  font-size: 12px;
  margin-top: 50px;
  color: #fff;
}

.-strong {
  font-weight: 700;
}

.last_stroke {
  height: 56px;
  background-color: var(--accent);
  color: var(--white);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-18);
}

.last_stroke a {
  text-decoration: underline;
}

.fancybox__content {
  border-radius: 10px;
}

.popup {
  display: none;
}

.popup_wrapper {
  max-width: 440px;
  width: 100%;
}

.popup .form {
  flex-direction: column;
  align-items: center;
}

.popup .form div {
  max-width: 300px;
  width: 100%;
  margin-right: 0;
  margin-bottom: 20px;
}

.popup .form div:last-child {
  margin-bottom: 0;
  margin-top: 10px;
}

.popup .form div input {
  max-width: 100%;
  width: 100%;
  display: block;
}

.popup .form-wrap {
  padding: 0;
}

.popup .form .btn {
  display: block;
  margin: 0 auto;
}

.simple_form {
  padding: 20px 30px;
  background: #f7f7f7;
  border-radius: 10px;
}

.simple_form__title {
  text-align: center;
  font-weight: 700;
  font-size: var(--fs-30);
}

.simple_form input {
  width: 100%;
  text-align: left;
  padding: 10px 15px;
  margin-bottom: 13px;
  font-size: 16px;
  border-radius: 12px;
  outline: 0;
  border-color: #dcdcdc;
}

.simple_form .-sub_inp {
  font-size: var(--fs-16);
  font-style: italic;
  display: block;
  margin-bottom: 16px;
}

.simple_form button {
  font-size: 16px;
  width: 100%;
  margin-bottom: 16px;
  background: var(--accent);
}

.simple_form .politica {
  line-height: 1.2 !important;
  letter-spacing: 0;
  text-align: left;
  font-size: 12px !important;
}

.articles {
  position: relative;
  padding: 70px 0 80px;
  background-color: #111010;
  color: var(--white);
  /* Фон убран: указанного SVG-фона в проекте нет,
     правило отправляло браузер за 404 на каждой странице со статьями */
}

.articles__decor {
  position: absolute;
}

.articles__decor img {
  margin: 0;
  width: 100%;
  object-fit: cover;
}

.articles__decor_right {
  right: 0;
  top: -500px;
  width: calc(615px * var(--scale-factor-up));
}

.articles__circle_left {
  left: 0;
  top: -500px;
  width: calc(508px * var(--scale-factor-up));
  height: calc(1036px * var(--scale-factor-up));
}

.articles__circle_right {
  right: 0;
  width: calc(250px * var(--scale-factor-up));
  height: calc(250px * var(--scale-factor-up));
}

.articles__triangle_left {
  left: 0;
  width: calc(146px * var(--scale-factor-up));
  top: 25%;
}

.articles__triangle_right {
  right: 0;
  width: calc(120px * var(--scale-factor-up));
  bottom: 10%;
}

.articles__title {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  color: var(--white);
}

.articles__grid {
  display: grid;
  position: relative;
  z-index: 3;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

@media (max-width: 1024px) {
  .articles__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .articles__grid {
    grid-template-columns: 1fr;
  }
}

.articles__item {
  display: flex;
  flex-direction: column;
  background-color: #313131;
  border-radius: 32px;
  overflow: hidden;
  transition: 0.3s;
  height: 100%;
  padding: 20px;
}

.articles__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.articles__item:hover .articles__img {
  transform: scale(1.05);
}

.articles__item--hidden {
  display: none;
}

.articles__img-wrapper {
  position: relative;
  height: 0;
  padding-bottom: 75%;
  overflow: hidden;
  background-color: #333;
  border-radius: 16px;
}

.articles__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.articles__tags {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  z-index: 2;
}

.articles__tag {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  font-size: 12px;
  padding: 5px 12px;
  color: var(--white);
}

.articles__tag--date,
.articles__tag--type {
  background-color: rgba(0, 0, 0, 0.7);
}

.articles__item-title {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: 1.3;
}

.articles__item-text {
  text-align: center;
  font-size: var(--fs-16);
  line-height: 160%;
  color: #aeaeae;
  margin-bottom: 20px;
  flex-grow: 1;
}

.articles__btn:hover {
  background-color: var(--white);
  color: #000;
}

.articles__more-wrapper {
  text-align: center;
}

.articles__more-btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
  letter-spacing: 1px;
}

.articles__more-btn:hover {
  background-color: var(--white);
  color: #000;
}

.articles__more-btn--hidden {
  display: none;
}

.single_article {
  padding: 64px 100px 0;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  margin-bottom: 40px;
}

.single_article::after {
  background-color: #e9e9e9;
  content: '';
  display: block;
  width: 100%;
  height: 48px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.single_article__decor {
  position: absolute;
  left: 0;
  top: 7%;
  width: calc(588px * var(--scale-factor-up));
  height: calc(1036px * var(--scale-factor-up));
  opacity: 0.6;
}

.single_article__text {
  padding: 20px 0;
  display: block;
  font-size: 20px;
  line-height: 120%;
}

.single_article__text b {
  font-weight: 700;
}

.single_article__img {
  padding: 20px 0;
}

.single_article__img img {
  border-radius: 36px;
}

.single_article__vertical {
  display: flex;
  gap: 30px;
}

.single_article__vertical_elem {
  width: 50%;
}

.single_article__horizontal_elem {
  display: flex;
  gap: 40px;
}

.single_article__horizontal_img,
.single_article__horizontal_text {
  width: 50%;
}

.single_article__callback {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.single_article__callback_accent {
  background-color: var(--accent);
  color: var(--white);
  min-width: 260px;
}

.single_article__callback_secondary {
  border-color: var(--accent);
  color: var(--accent);
  min-width: 260px;
}

.single_article__prev {
  margin-top: 64px;
  position: relative;
  z-index: 3;
  font-size: 14px;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.single_article__prev a:hover {
  text-decoration: underline;
}

.single_about {
  padding: 32px 100px;
  margin-top: 64px;
  margin-bottom: 64px;
  display: flex;
  justify-content: space-between;
  background-color: var(--white);
  border-radius: 16px;
  align-items: center;
}

.single_about__content {
  display: flex;
  gap: 16px;
  align-items: start;
}

.single_about__img {
  border-radius: 100%;
  box-shadow: 0 4px 20px 0 rgba(87, 86, 179, 0.13);
  width: 65px;
  height: 65px;
}

.single_about__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 4px;
}

.single_about__link {
  font-size: 14px;
  text-decoration: underline;
}

.single_about__socials {
  display: flex;
  padding-left: 64px;
  height: initial;
  border-left: 1px solid #e9e9e9;
  gap: 30px;
  align-items: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.articles__item--appearing {
  animation: 0.5s forwards fadeIn;
}

@media screen and (max-width: 1500px) {
  .cat_main__wrapper {
    padding-top: 110px;
  }
  .cat_main__content {
    margin-left: calc((100% - 1180px * var(--scale-factor-up)) / 2);
  }
  .cat_main__white svg {
    max-width: calc(922px * var(--scale-factor-up));
  }
  .cat_main__dots {
    bottom: 310px;
  }
  .single_main__img {
    width: calc(524px * var(--scale-factor-up));
  }
  .single_main__decor {
    display: none;
  }
  .single_main__wrapper {
    background-color: var(--black);
    border-bottom-left-radius: 150px;
    min-height: auto;
    padding-bottom: 164px;
  }
  .single_main__title {
    font-size: 40px;
    max-width: calc(600px * var(--scale-factor-up));
  }
  .single_article {
    margin-top: -100px;
    border-radius: 0;
  }
  .single_article__decor {
    display: none;
  }
  .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 70px;
  }
  .m_main__elem {
    height: calc(695px * var(--scale-factor-up));
  }
  .m_main__img {
    height: calc(300px * var(--scale-factor-up));
  }
  .p_big {
    padding-left: var(--space-121);
    padding-right: var(--space-121);
  }
  .quiz__option__image {
    height: auto;
  }
  .quiz__option__label {
    margin-top: 10px;
  }
}

@media screen and (max-width: 1252px) {
  :root {
    --space-128: calc(80px * var(--scale-factor-up));
  }
  .container {
    padding: 0 40px;
    width: 100%;
  }
  .h2 {
    font-size: var(--fs-36);
    line-height: 120%;
  }
  .subtitle {
    font-size: var(--fs-20);
  }
  .header__nav {
    position: fixed;
    left: -240px;
    top: 110px;
    transition: left 0.4s;
    flex-direction: column;
    background: var(--black);
    padding: 16px;
  }
  .header__nav.-active {
    left: 0;
  }
  .header__nav_mobile {
    display: flex;
    font-size: var(--fs-16);
    font-weight: 700;
    text-transform: uppercase;
    color: #978d8d;
    gap: 40px;
  }
  .header__burger {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .header__burger span {
    display: block;
    height: 4px;
    background: #978d8d;
  }
  .m_main {
    gap: 5px;
  }
  .m_main__elem {
    height: auto;
    padding-top: 37px;
  }
  .m_main__elem_one,
  .m_main__elem_two {
    background-size: cover;
  }
  .m_main__title {
    font-size: var(--fs-36);
  }
  .m_main__subtitle {
    font-size: var(--fs-20);
  }
  .m_main__img {
    height: auto;
    width: 100%;
    margin-top: calc(25px * var(--scale-factor-up));
  }
  .m_main__img img {
    object-fit: cover;
    object-position: left;
  }
  .m_main__button {
    margin-top: 40px;
  }
  .m_main__bullet {
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px 16px;
  }
  .m_main__bullet_elem {
    width: 47%;
    height: calc(109px * var(--scale-factor-up));
  }
  .m_main__bullet_text {
    font-size: var(--fs-20);
  }
  .advantages__img {
    width: calc(40px * var(--scale-factor-up));
    height: calc(40px * var(--scale-factor-up));
  }
  .advantages__elem {
    padding: 23px 16px;
  }
  .advantages__elem:first-child {
    padding-left: 0;
  }
  .advantages__elem:last-child {
    padding-right: 0;
  }
  .advantages__num {
    font-size: calc(196px * var(--scale-factor-up));
    color: rgba(223, 223, 223, 0.568627451);
  }
  .advantages__name {
    margin-top: 17px;
    font-size: var(--fs-18);
  }
  .advantages__desc {
    font-size: var(--fs-14);
  }
  .quiz {
    padding-bottom: 0;
  }
  .quiz__options {
    grid-template-columns: repeat(
      auto-fill,
      minmax(calc(265px * var(--scale-factor-up)), 1fr)
    );
  }
  .quiz__option__image {
    height: calc(329px * var(--scale-factor-up));
    overflow: hidden;
  }
  .quiz__option__label {
    margin-top: 15px;
    font-size: var(--fs-16);
  }
  .quiz__option__name {
    font-size: var(--fs-20);
  }
  .choice__decor_left,
  .choice__decor_right {
    display: none;
  }
  .get_portrait {
    flex-direction: column;
    gap: 32px;
  }
  .get_portrait__wrapper {
    padding: 80px 46px;
  }
  .get_portrait__decor {
    display: none;
  }
  .get_portrait__step:last-child {
    border-bottom: 1px solid #b9b9b9;
  }
  .get_portrait__step_btn {
    justify-content: start;
  }
  .steps__elem {
    padding: 46px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .steps__elem_img {
    order: 2;
    overflow: hidden;
    height: calc(238px * var(--scale-factor-up));
  }
  .steps__elem_img img {
    margin: 0;
    object-fit: cover;
    width: 100%;
  }
  .steps__elem_text {
    order: 1;
  }
  .steps__elem_number {
    width: calc(64px * var(--scale-factor-up));
    height: calc(64px * var(--scale-factor-up));
    font-size: var(--fs-30);
  }
  .steps__elem_desc {
    max-width: 80%;
  }
  .steps__form {
    position: relative;
    padding: 40px 0;
    overflow: hidden;
  }
  .steps__form_text {
    padding-left: 40px;
  }
  .steps__form_img {
    position: absolute;
    height: 100%;
    width: auto;
    right: -20px;
  }
  .steps__form_img_pc {
    display: none;
  }
  .steps__form_img_mobile {
    display: block;
  }
  .steps__form_img img {
    height: inherit;
  }
  .production {
    display: flex;
    gap: 20px;
  }
  .production__decor_left,
  .production__decor_right {
    display: none;
  }
  .production__steps {
    width: calc(40px * var(--scale-factor-up));
    margin-bottom: 0;
  }
  .production__steps_elements {
    height: 100%;
    flex-direction: column;
    justify-content: space-around;
  }
  .production__steps_line {
    top: 10%;
    left: 20px;
    height: 80%;
    width: 1px;
  }
  .production__content {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .production__content_elem {
    display: flex;
    gap: 16px;
  }
  .production__content_img {
    width: calc(260px * var(--scale-factor-up));
    height: calc(135px * var(--scale-factor-up));
    margin-bottom: 0;
    overflow: hidden;
    flex-shrink: 0;
  }
  .production__content_img img {
    width: inherit;
    height: inherit;
    object-fit: cover;
  }
  .production__content_text {
    text-align: left;
  }
  .production__content_title {
    margin: 0 0 8px;
  }
  .portraits__tabs {
    overflow-x: auto;
    border: none;
    padding-bottom: 10px;
  }
  .portraits__tabs::-webkit-scrollbar {
    height: 3px;
    background-color: var(--accent);
    border-radius: 10px;
  }
  .portraits__tabs::-webkit-scrollbar-thumb {
    background-color: var(--accent);
    border-radius: 10px;
  }
  .portraits__tabs::-webkit-scrollbar-track {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.2);
    background-color: #e7e7e7;
  }
  .portraits__tabs_elem {
    flex-shrink: 0;
    font-size: var(--fs-16);
    border: 1px solid var(--white);
  }
  .portraits__tabs_elem:first-child {
    border-radius: 10px 0 0 10px;
  }
  .portraits__tabs_elem:last-child {
    border-radius: 0 10px 10px 0;
  }
  .portraits__decor_right {
    display: none;
  }
  .portraits__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(9, 1fr);
    height: calc(1300px * var(--scale-factor-up));
  }
  .portraits__item:nth-child(1) {
    grid-column: 1/3;
    grid-row: 1/4;
  }
  .portraits__item:nth-child(2) {
    grid-column: 1/3;
    grid-row: 4/6;
  }
  .portraits__item:nth-child(3) {
    grid-column: 3/5;
    grid-row: 1/3;
  }
  .portraits__item:nth-child(4) {
    grid-column: 1/3;
    grid-row: 6/9;
  }
  .portraits__item:nth-child(5) {
    grid-column: 3/5;
    grid-row: 3/7;
  }
  .portraits__item:nth-child(6) {
    grid-column: 3/5;
    grid-row: 7/10;
  }
  .otzivy {
    margin: 0 40px;
  }
  .otzivy__title {
    margin-left: -40px;
  }
  .otzivy__slider {
    display: none;
  }
  .otzivy__slider_mobile {
    display: block;
  }
  .otzivy__slider .is-next {
    color: #fff;
    right: 10px;
  }
  .otzivy__elem {
    padding: 0 8px;
  }
  .otzivy__card {
    height: 370px;
    border-radius: 12px;
    overflow: hidden;
  }
  .otzivy__img {
    height: inherit;
  }
  .otzivy__img img {
    height: 100%;
    width: 100%;
    object-position: top;
    object-fit: cover;
  }
  .form_black__content {
    flex-wrap: wrap;
    margin: 0;
  }
  .form_black__video {
    order: 2;
    width: 100%;
  }
  .form_black__title {
    text-align: center;
  }
  .form_black__text {
    order: 1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
  }
  .form_black__btn {
    flex-grow: unset;
  }
  .form_black__btn button {
    width: 160px;
    min-height: 48px;
  }
  .form_black__contacts {
    gap: 4px;
  }
  .last__decor_left {
    display: none;
  }
  .last__decor_right {
    right: -180px;
  }
  .last__content {
    order: 1;
  }
  .last__img {
    order: 2;
    flex-shrink: 0;
    width: calc(315px * var(--scale-factor-up));
    height: calc(315px * var(--scale-factor-up));
  }
  .last__form_btn {
    width: 100%;
  }
  .footer {
    gap: 24px;
    grid-template-columns: 1fr 2fr 1.5fr;
    grid-template-areas: 'logo desc desc desc' 'contacts links partners .' 'images images . .' 'prav prav prav prav';
  }
  .footer__images {
    justify-self: baseline;
  }
  .footer__prav {
    text-align: left;
    margin-top: 0;
  }
  .cat_main__wrapper {
    min-height: 659px;
    margin-top: -115px;
    padding-top: 120px;
  }
  .cat_main__gray {
    height: calc(660px * var(--scale-factor-up));
    left: -60px;
    right: unset;
  }
  .cat_main__gray img {
    height: 100%;
    object-fit: cover;
    object-position: left;
  }
  .cat_main__white {
    height: calc(544px * var(--scale-factor-up));
  }
  .cat_main__white img {
    height: 100%;
    object-fit: cover;
    object-position: left;
  }
  .cat_main__content {
    margin-left: unset;
    width: 100%;
    padding-left: 40px;
    gap: 10px;
  }
  .cat_main__title {
    font-size: var(--fs-36);
  }
  .cat_main__subtitle {
    font-size: var(--fs-20);
  }
  .cat_main__text {
    flex-shrink: 0;
    max-width: 400px;
  }
  .cat_main__image {
    height: calc(370px * var(--scale-factor-up));
    flex-shrink: 0;
    width: 500px;
  }
  .cat_main__image_elem {
    height: inherit;
  }
  .cat_main__btn {
    margin-top: 20px;
  }
  .cat_main__dots {
    bottom: 60px;
  }
  .articles__grid {
    gap: 16px;
  }
  .articles__item-title {
    font-size: 18px;
    margin-top: 20px;
  }
  .articles__item {
    border-radius: 12px;
  }
  .articles__decor {
    display: none;
  }
  .single_container {
    padding-left: 40px;
    padding-right: 40px;
  }
  .single_main__img {
    width: 320px;
  }
  .single_main__title {
    max-width: calc(421px * var(--scale-factor-up));
  }
  .single_main__desc {
    font-size: 16px;
    line-height: 150%;
  }
  .single_article {
    width: calc(100% - 80px);
    padding: 20px 32px 0;
    margin-top: -120px;
  }
  .single_article__text {
    font-size: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .single_article__img {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .single_about {
    width: calc(100% - 80px);
  }
}

@media screen and (max-width: 767px) {
  :root {
    --space-128: calc(48px * var(--scale-factor-up));
    --fs-36: calc(28px * var(--scale-factor-up));
  }
  .container {
    padding: 0 12px;
  }
  .h2 {
    font-size: var(--fs-36);
    line-height: 120%;
  }
  .btn {
    min-height: 48px;
  }
  .subtitle {
    font-size: 16px;
  }
  .mb_40 {
    margin-bottom: 25px;
  }
  .header__logo {
    width: 64px;
    flex-shrink: 0;
  }
  .header__container {
    gap: 10px;
  }
  .header__nav {
    top: 80px;
  }
  .header__nav_mobile {
    gap: 15px;
  }
  .m_main {
    overflow-x: auto;
    gap: 10px;
  }
  .m_main__elem {
    flex-shrink: 0;
    width: 265px;
    gap: 10px;
  }
  .m_main__title {
    font-size: 28px;
    margin-bottom: 0;
  }
  .m_main__img {
    margin-top: 0;
  }
  .m_main__img img {
    height: 100%;
  }
  .m_main__bullet_elem {
    width: 100%;
    border-radius: 12px;
  }
  .advantages {
    border: none;
  }
  .advantages__content {
    flex-wrap: wrap;
  }
  .advantages__elem {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 20px;
    border: 1px solid #b9b9b9;
    align-items: center;
  }
  .advantages__elem:first-child {
    padding-left: 16px;
  }
  .advantages__elem:last-child {
    padding-right: 16px;
    border-right: inset;
  }
  .advantages__name {
    font-size: 18px;
    margin-top: 0;
    width: calc(100% - 60px);
  }
  .advantages__desc {
    font-size: 14px;
    margin-bottom: 0;
    line-height: 120%;
  }
  .advantages__num {
    left: auto;
    right: 20px;
    top: 0;
    bottom: auto;
  }
  .advantages__img {
    width: 40px;
    height: 40px;
  }
  .quiz {
    padding-top: 0;
  }
  .quiz__options {
    gap: 16px;
  }
  .quiz__option {
    border-radius: 12px;
  }
  .quiz__option__image {
    height: auto;
  }
  .quiz__step__content_last {
    padding: 16px;
    border-radius: 12px;
  }
  .get_portrait__wrapper {
    padding: 48px 0;
  }
  .get_portrait__title {
    text-align: center;
  }
  .get_portrait__step {
    width: 100%;
    height: auto;
    padding: 15px 8px 30px;
  }
  .get_portrait__step_number {
    width: calc(97px * var(--scale-factor-up));
    height: calc(60px * var(--scale-factor-up));
    font-size: 26px;
    order: 1;
  }
  .get_portrait__step_text {
    order: 2;
  }
  .get_portrait__step_title {
    font-size: 18px;
  }
  .get_portrait__step_desc {
    font-size: 14px;
  }
  .get_portrait__step_btn button {
    padding: 0;
    width: 100%;
  }
  .stroke__list li {
    font-size: 16px;
  }
  .steps__decor {
    display: none;
  }
  .steps__elem {
    position: relative;
    padding: 16px;
    border-radius: 12px;
  }
  .steps__elem_img {
    order: 1;
  }
  .steps__elem_text {
    position: static;
  }
  .steps__elem_title {
    font-size: 20px;
    line-height: 120%;
  }
  .steps__elem_desc {
    font-size: 14px;
    width: 100%;
  }
  .steps__elem_number {
    width: 40px;
    height: 40px;
    font-size: 19px;
    right: 25px;
    top: 25px;
  }
  .steps__form {
    flex-direction: column;
    gap: 26px;
    padding-bottom: 0;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 12px;
  }
  .steps__form_text {
    text-align: center;
    padding-left: 0;
  }
  .steps__form_img {
    position: static;
  }
  .steps__form_btn button {
    margin: 0 auto;
  }
  .production {
    gap: 10px;
  }
  .production__content_elem {
    flex-wrap: wrap;
    border-radius: 12px;
    padding: calc(16px * var(--scale-factor-up));
  }
  .production__content_img {
    border-radius: 8px;
    overflow: hidden;
  }
  .production__steps_line {
    top: 11%;
    height: 78%;
    left: 14.5px;
  }
  .production__steps_elements span {
    width: 29px;
    height: 29px;
    font-size: 21px;
  }
  .portraits__grid {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
    height: auto;
    gap: 16px;
  }
  .portraits__grid .portraits__item {
    grid-column: unset;
    grid-row: unset;
  }
  .portraits__item {
    border: 2px solid #fff;
  }
  .otzivy {
    margin: 0;
  }
  .otzivy__title {
    margin-left: 0;
  }
  .otzivy__wrapper {
    padding-bottom: 48px;
  }
  .otzivy__elem {
    width: 100%;
    height: 376px;
    padding: 0 38px;
  }
  .otzivy__slider .is-next {
    color: #111010;
    right: -10px;
  }
  .otzivy__slider .is-prev {
    left: -10px;
  }
  .form_black__wrapper {
    padding-top: 48px;
  }
  .form_black__desc {
    text-align: center;
  }
  .form_black__video {
    height: auto;
  }
  .form_black__contacts {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }
  .form_black__btn {
    width: 100%;
  }
  .form_black__btn button {
    width: inherit;
  }
  .last__img {
    display: none;
  }
  .last__content {
    text-align: center;
  }
  .last__title {
    margin-bottom: 10px;
  }
  .form__input {
    max-width: 100%;
    width: 100%;
  }
  .last__decor_right {
    display: none;
  }
  .footer {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 'logo logo' 'desc desc' 'links links' 'partners contacts' 'images images' 'prav prav';
  }
  .last_stroke {
    height: auto;
    padding: 10px 0;
    font-size: 14px;
  }
  .popup {
    padding: 0;
  }
  .simple_form {
    padding: 24px;
  }
  .cat_main {
    min-height: 685px;
    padding-bottom: 25px;
  }
  .cat_main__wrapper {
    min-height: 660px;
  }
  .cat_main__content {
    flex-wrap: wrap;
    padding: 12px;
    justify-content: center;
    gap: 24px;
  }
  .cat_main__text {
    flex-shrink: 1;
    width: 100%;
    text-align: center;
  }
  .cat_main__title {
    font-size: 36px;
  }
  .cat_main__btn button {
    width: 100%;
  }
  .cat_main__image {
    width: 500px;
    height: 400px;
  }
  .cat_main__dots {
    bottom: 0;
  }
  .cat_main__dots_elem {
    background: rgba(255, 255, 255, 0.23);
  }
  .cat_main__dots_elem.-active {
    background: #fff;
  }
  .single_main {
    flex-direction: column;
  }
  .single_main__wrapper {
    border-radius: 0;
    padding-bottom: 0;
    background: #000;
    background: linear-gradient(
      180deg,
      #000 0,
      #000 71%,
      rgba(0, 0, 0, 0) 71%,
      rgba(255, 255, 255, 0) 100%
    );
  }
  .single_main__img {
    margin-top: 20px;
    position: static;
    width: calc(100% + 90px);
    margin-left: -45px;
    z-index: 1;
  }
  .single_main__title {
    font-size: 28px;
  }
  .single_main__desc {
    width: 100%;
  }
  .single_container {
    padding-left: 12px;
    padding-right: 12px;
    width: 100%;
  }
  .single_article {
    margin-top: -150px;
    padding-top: 175px;
    width: calc(100% - 24px);
  }
  .single_article__vertical {
    flex-wrap: wrap;
    gap: 12px;
  }
  .single_article__vertical_elem {
    width: 100%;
  }
  .single_article__vertical_elem:nth-child(2) {
    display: flex;
    flex-direction: column;
  }
  .single_article__vertical_elem:nth-child(2) .single_article__vertical_text {
    order: 1;
  }
  .single_article__vertical_elem:nth-child(2) .single_article__vertical_img {
    order: 2;
  }
  .single_article__vertical_img,
  .single_article__vertical_text {
    padding: 8px 0;
  }
  .single_article__horizontal_elem {
    flex-direction: column;
    gap: 0;
  }
  .single_article__horizontal_text {
    width: 100%;
    order: 1;
  }
  .single_article__horizontal_img {
    order: 2;
    width: 100%;
  }
  .single_article__callback {
    flex-wrap: wrap;
    gap: 16px;
  }
  .single_about {
    flex-direction: column;
    width: calc(100% - 24px);
  }
  .single_about__content {
    width: 100%;
  }
  .single_about__socials {
    width: 100%;
    padding: 0 0 0 20px;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
  }
}

.header__item {
  position: relative;
  display: inline-block;
}

.production__content_title {
  padding-top: 16px;
}

.header__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: #2d3748;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 12px 0;
  min-width: 280px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 8px;
  border: 1px solid #4a5568;
}

.header__item_hover:hover .header__dropdown {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.header__dropdown.show {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.header__dropdown-link {
  display: block;
  padding: 12px 24px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  border-left: 3px solid transparent;
}

.header__dropdown-link:hover {
  background-color: #f8f9fa;
  color: #803db1;
  border-left-color: #803db1;
  padding-left: 21px;
}

.header__dropdown-link:active {
  background-color: #e9ecef;
}

@media screen and (max-width: 1200px) {
  .header__dropdown {
    left: 0;
    transform: translateY(-10px);
    min-width: 250px;
    max-width: 300px;
  }

  .header__item_hover:hover .header__dropdown {
    transform: translateY(0);
  }

  .header__dropdown.show {
    transform: translateY(0);
  }
}

@media screen and (max-width: 767px) {
  .header__dropdown {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(100%);
    border-radius: 20px 20px 0 0;
    max-height: 80vh;
    overflow-y: auto;
    margin-top: 0;
    min-width: unset;
    width: 100%;
    max-width: 100%;
    padding: 16px 0;
    box-sizing: border-box;
  }

  .header__item_hover:hover .header__dropdown {
    transform: translateY(100%);
  }

  .header__dropdown.show {
    transform: translateY(0);
  }

  .header__dropdown-link {
    padding: 16px 20px;
    font-size: 16px;
    white-space: normal;
    line-height: 1.5;
  }

  .header__dropdown::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .header__dropdown.show::before {
    opacity: 1;
  }
}

@media (hover: none) and (pointer: coarse) {
  .header__item_hover:hover .header__dropdown {
    display: none;
  }

  .header__dropdown.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  @media screen and (max-width: 767px) {
    .header__dropdown.show {
      transform: translateY(0);
    }
  }
}

.cat_main {
  overflow: hidden;
  position: relative;
  background: #111010;
}

.cat_main__image_elem {
  border: 2px solid #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .cat_main {
    border: 2px solid #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }
}

@media (max-width: 767px) {
  .cat_main {
    margin: 10px;
    border-radius: 12px;
  }

  .cat_main__image {
    margin-top: 20px;
    width: 100%;
  }

  .cat_main__image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
  }

  .cat_main__title {
    font-size: 24px;
    line-height: 1.3;
  }

  .cat_main__subtitle {
    font-size: 16px;
  }

  .cat_main__btn .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .cat_main__dots {
    bottom: 15px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .cat_main__title {
    font-size: 32px;
  }

  .cat_main__image img {
    max-height: 350px;
  }
}

@media (min-width: 1024px) {
  .cat_main__title {
    font-size: 42px;
  }

  .cat_main__image img {
    max-height: 777px;
  }
}

@media (min-width: 768px) {
  .cat_main {
    justify-content: flex-start;
    border: none;
    box-shadow: none;
  }

  .cat_main__image_elem {
    border: 2px solid #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }
}

@media (max-width: 767px) {
  .cat_main__text {
    order: 1;
    width: 100%;
    text-align: center;
  }
}

.cat_main__image img {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  display: block;
}

.cat_main__image_elem {
  width: 100%;
  border: 2px solid #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.breadcrumbs span[itemprop='name']:not(.breadcrumbs__link) {
  color: #fff;
  text-decoration: none;
}
.m_main {
  width: 100%;
  justify-content: center;
}
.m_main__elem {
  flex: 1;
  min-width: 0;
}
@media (max-width: 600px) {
  .m_main {
    flex-direction: column;
    gap: 0;
  }
  .m_main__elem {
    width: 100%;
    height: auto;
    min-height: 420px;
  }
}
.m_main__img {
  margin-top: auto;
  flex-grow: 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
}
.m_main__img img {
  width: 100%;
  height: auto;
  max-height: 110%;
  object-fit: contain;
  object-position: bottom;
  display: block;
}
.advantages__img svg {
  width: 100%;
  height: 100%;
  display: block;
  color: var(--black);
}
.cat_main {
  position: relative;
  padding-bottom: 80px;
}
.cat_main__image {
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cat_main__image_elem {
  position: relative;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}
.cat_main__image_elem.-active {
  opacity: 1;
  pointer-events: auto;
  height: auto;
  overflow: visible;
}
.cat_main__image_elem img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.cat_main__dots {
  position: static;
  transform: none;
  margin-top: 24px;
  justify-content: center;
}

@media (min-width: 1421px) {
  .container {
    max-width: 2100px;
    width: calc(100% - 80px);
  }
}

@media (min-width: 1500px) and (max-width: 2100px) {
  .cat_main__content {
    margin-left: auto;
    margin-right: auto;
    max-width: 1600px;
    padding-left: 40px;
    padding-right: 40px;
  }
  .cat_main__image {
    max-width: 800px;
  }
}

@media (max-width: 1500px) {
  .cat_main__content {
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 1200px) {
  .portraits__decor_left,
  .portraits__decor_right,
  .articles__decor_right,
  .articles__decor_left {
    display: none;
  }

  .choice__decor_left,
  .choice__decor_right {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .cat_main__content {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    padding: 24px 24px;
  }
  .cat_main__image {
    width: 100%;
    max-width: 600px;
    height: auto;
  }
  .cat_main__text {
    width: 100%;
    text-align: center;
    max-width: 600px;
  }
  .footer {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      'logo logo'
      'desc desc'
      'contacts links'
      'partners images'
      'prav prav';
  }
  .m_main__bullet {
    flex-wrap: wrap;
    justify-content: center;
  }
  .m_main__bullet_elem {
    width: calc(45% - 10px);
  }
}

@media (max-width: 768px) {
  .cat_main__content {
    flex-direction: column;
    align-items: center;
    padding: 16px;
    gap: 20px;
    margin-left: 0;
    margin-right: 0;
  }
  .cat_main__text {
    width: 100%;
    text-align: center;
    max-width: 100%;
  }
  .cat_main__image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .m_main__bullet {
    flex-wrap: wrap;
    justify-content: center;
  }
  .m_main__bullet_elem {
    width: calc(50% - 20px);
    min-width: 160px;
  }

  .footer {
    grid-template-columns: 1fr;
    grid-template-areas: 'logo' 'desc' 'contacts' 'links' 'partners' 'images' 'prav';
  }
  .form_black__content {
    flex-direction: column;
  }
}

@media (max-width: 630px) {
  .footer__links {
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
  }
}

@media (max-width: 480px) {
  .m_main__bullet_elem {
    width: 100%;
  }
  .footer__images {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 2100px) {
  .container {
    width: calc(1421px * var(--scale-factor-up));
    max-width: none;
  }
  .cat_main__content {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
}

.cat_main {
  background-color: #f3f3f3;
}

@media (min-width: 2100px) {
  .cat_main__content {
    margin-right: calc((100% - 1421px * var(--scale-factor-up)) / 2);
  }
}

.otzivy__viewport {
  overflow: hidden;
  position: relative;
}
.otzivy__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.otzivy__track > div {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
}
.otzivy__nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  color: #111010;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.otzivy__nav-btn:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.otzivy__nav-btn svg {
  width: 18px;
  height: 18px;
}
.otzivy__nav-btn--prev {
  left: 12px;
}
.otzivy__nav-btn--next {
  right: 12px;
}
.otzivy__dots-wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.otzivy__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(17, 16, 16, 0.2);
  cursor: pointer;
  padding: 0;
  transition:
    background 0.3s,
    transform 0.3s;
}
.otzivy__dot.is-active {
  background: #803db1;
  transform: scale(1.5);
}

@media (min-width: 1201px) {
  .otzivy__elem {
    height: 100%;
  }
  .otzivy__card {
    height: 100%;
    overflow: hidden;
  }
  .otzivy__img {
    height: 100%;
  }
  .otzivy__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 767px) {
  .otzivy__elem {
    padding: 0 8px;
    height: 340px;
  }
}

.single_article__full_text {
  color: #111010;
  font-size: 17px;
  line-height: 1.7;
}
.single_article__full_text h2 {
  font-size: calc(28px * var(--scale-factor-up));
  font-weight: 700;
  line-height: 1.25;
  color: #111010;
  margin: 36px 0 16px;
}
.single_article__full_text h3 {
  font-size: calc(22px * var(--scale-factor-up));
  font-weight: 700;
  line-height: 1.3;
  color: #111010;
  margin: 28px 0 12px;
}
.single_article__full_text p {
  margin: 0 0 16px;
  line-height: 1.75;
  color: #333;
}
.single_article__full_text strong,
.single_article__full_text b {
  font-weight: 700;
  color: #111010;
}
.single_article__full_text a {
  color: var(--accent);
  text-decoration: underline;
}
.single_article__full_text a:hover {
  text-decoration: none;
}
.single_article__full_text ul,
.single_article__full_text ol {
  margin: 12px 0 20px 24px;
  padding: 0;
}
.single_article__full_text ul {
  list-style: disc;
}
.single_article__full_text ol {
  list-style: decimal;
}
.single_article__full_text li {
  margin-bottom: 8px;
  line-height: 1.65;
  color: #333;
}
/* Картинки внутри статьи: единый размер и сохранение пропорций.
   height: auto обязателен — у тегов <img> проставлены атрибуты width/height
   (защита от скачков вёрстки при загрузке), и без него высота бралась бы
   из атрибута, а ширина ужималась по контейнеру: фото выглядели сплющенными.
   max-height: none снимает общий лимит 680px из правила img выше — он
   обрезал высоту, не пересчитывая ширину, и тоже искажал пропорции. */
/* Главное фото страницы: размер задаёт контейнер, поэтому общий лимит
   max-height: 680px из правила img здесь лишний — он обрезал высоту,
   не пересчитывая ширину, и фото выглядело сплющенным. */
.single_main__img img {
  max-height: none;
}

.single_article__full_text img {
  display: block;
  max-width: 400px;
  height: auto;
  max-height: none;
  margin: 24px auto;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
@media (max-width: 767px) {
  .single_article__full_text {
    font-size: 15px;
  }
  .single_article__full_text h2 {
    font-size: 22px;
    margin: 24px 0 12px;
  }
  .single_article__full_text h3 {
    font-size: 18px;
    margin: 20px 0 10px;
  }
  .single_article__full_text img {
    margin: 16px auto;
    border-radius: 10px;
  }
}

/* ── Кастомный скроллбар ── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
  background: #4a3a5a;
  border-radius: 4px;
  border: 2px solid #1a1a1a;
}
::-webkit-scrollbar-thumb:hover {
  background: #803db1;
}
* {
  scrollbar-width: thin;
  scrollbar-color: #4a3a5a #1a1a1a;
}

@media (min-width: 1500px) and (max-width: 1750px) {
  .single_main__text {
    max-width: 500px !important;
  }
}
