.methods {
  margin-top: 180px;
}

.methods__intro {
  width: var(--grid-right);
  max-width: none;
  margin-left: calc(var(--grid-left) + var(--grid-gap));
}

.methods__headline {
  width: 100%;
  max-width: none;
  margin: 0 0 clamp(56px, 7vw, 104px);
  padding-left: 0;
  color: var(--accent);
  font-size: var(--type-display-size);
  font-weight: var(--type-display-weight);
  line-height: 1.25;
  hyphens: none;
}

.methods__headline.is-visible {
  transition-duration: 920ms;
}

.methods__subtitle,
.methods__accent-line {
  display: none;
}

.methods__label {
  max-width: 600px;
}

.methods__list {
  display: grid;
  gap: 12px;
  width: 100%;
}

.method {
  position: relative;
  min-height: 170px;
  padding: 28px 90px 40px 40px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  border: 0;
  border-radius: 30px;
  background: var(--surface);
  transition:
    opacity var(--motion-duration) var(--motion-ease) var(--reveal-delay),
    transform var(--motion-duration) var(--motion-ease) var(--reveal-delay),
    filter var(--motion-duration) var(--motion-ease) var(--reveal-delay),
    box-shadow 260ms ease,
    background-color 260ms ease;
}

.method__content {
  min-width: 0;
}

.method__title {
  margin: 0;
  color: var(--text-light);
  font-size: var(--type-method-card-title-size);
  font-weight: var(--type-method-card-title-weight);
  line-height: var(--type-method-card-title-line);
  
}

.method__body {
  max-width: 860px;
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: var(--type-body-tight-size);
  font-weight: var(--type-body-tight-weight);
  line-height: var(--type-body-tight-line);
}

.method__icon {
  position: absolute;
  right: 38px;
  top: 50%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 1;
  transform: translateY(-50%);
  transition: transform 320ms ease, opacity 320ms ease;
}

.method__icon-svg {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.method:hover,
.method:focus-within {
  transform: translate3d(0, -4px, 0);
}

.method:hover .method__icon,
.method:focus-within .method__icon {
  transform: translate3d(0, -50%, 0) scale(1.08);
}

.methods .method:nth-child(1),
.advantages .advantage-card:nth-child(1),
.delivery .delivery-item:nth-child(1) {
  --reveal-delay: 0ms;
}

.methods .method:nth-child(2),
.advantages .advantage-card:nth-child(2),
.delivery .delivery-item:nth-child(2) {
  --reveal-delay: 80ms;
}

.methods .method:nth-child(3),
.advantages .advantage-card:nth-child(3) {
  --reveal-delay: 160ms;
}

.methods .method:nth-child(4),
.advantages .advantage-card:nth-child(4) {
  --reveal-delay: 240ms;
}

.works {
  position: relative;
  width: 100%;
  margin-right: 0;
  margin-left: 0;
  padding: 0;
  overflow: hidden;
}

.works__slider {
  --works-gap: clamp(12px, 1.4vw, 28px);
  width: 100%;
  height: 600px;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  transition: transform 820ms var(--motion-ease), opacity 820ms var(--motion-ease);
}

.works .swiper-wrapper {
  display: flex;
  width: max-content;
  height: 100%;
  gap: var(--works-gap);
  align-items: stretch;
  transition: none !important;
}

.works .swiper-slide {
  flex-shrink: 0;
  width: calc((var(--works-slider-width, 100vw) - (2 * var(--works-gap))) / 3);
  min-width: 0;
  max-width: none;
  height: 100%;
  overflow: hidden;
  border-radius: 30px;
  background: var(--surface);
  /*border: 1px solid black;var(--surface-border);*/
  transition: transform 280ms ease, box-shadow 280ms ease;
}

.works__card {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: inherit;
}

.works__card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.works__slider.is-dragging {
  cursor: grabbing;
}

.works__thumb {
  display: block;
  width: 100%;
  max-height: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.works__card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.works__thumb-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transform: scale(1.001);
  transition: transform 700ms var(--motion-ease-soft), filter 700ms var(--motion-ease-soft);
}

.works__slider.is-inspecting .swiper-slide:hover {
  transform: translate3d(0, -6px, 0);
}

.works__slider.is-inspecting .swiper-slide:hover .works__thumb-image {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.03);
}

.advantages {
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.advantage-card {
  width: 100%;
  height: 262px;
  padding: 40px;
  overflow: hidden;
  border: 0;
  border-radius: 30px;
  background: var(--surface);
  transition:
    opacity var(--motion-duration) var(--motion-ease) var(--reveal-delay),
    transform var(--motion-duration) var(--motion-ease) var(--reveal-delay),
    filter var(--motion-duration) var(--motion-ease) var(--reveal-delay),
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.advantage-card h2 {
  max-width: 460px;
  margin: 0 0 20px;
  color: var(--accent);
  font-size: var(--type-card-title-size);
  font-weight: var(--type-card-title-weight);
  line-height: 1.25;
  
}

.advantage-card p {
  max-width: min(485px, 100%);
  margin: 0;
  color: var(--text-dim);
  font-size: var(--type-body-tight-size);
  font-weight: var(--type-body-tight-weight);
  line-height: var(--type-body-tight-line);
}

.advantage-card:hover,
.advantage-card:focus-within {
  transform: translate3d(0, -4px, 0);
}

@media (min-width: 1921px) {
  .advantage-card p {
    max-width: none;
  }
}

.tariff {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, var(--grid-left)) minmax(0, var(--grid-right));
  column-gap: var(--grid-gap);
  align-items: stretch;
  padding-right: var(--page-x);
  padding-left: var(--page-x);
}

.tariff__image,
.tariff__content {
  position: relative;
  min-width: 0;
  height: 600px;
  min-height: 600px;
  overflow: hidden;
  border: 0;
  border-radius: 30px;
  background: var(--surface);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.tariff__image {
  padding: 0;
}

.tariff__image-media,
.tariff__image img {
  width: 100%;
  height: 100%;
}

.tariff__image img {
  object-fit: cover;
  object-position: center center;
  transition: transform 900ms var(--motion-ease-soft), filter 900ms var(--motion-ease-soft);
}

.tariff__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: clamp(56px, 5vw, 88px) clamp(28px, 5vw, 84px);
  text-align: left;
}

.tariff__image:hover img {
  transform: scale(1.035);
  filter: saturate(1.03);
}

.tariff__copy {
  display: grid;
  justify-items: start;
  align-content: start;
  width: 100%;
  max-width: 860px;
  margin: 0;
  gap: 0;
}

.tariff__content h2 {
  margin: 0 0 36px;
  color: var(--text-light);
  font-size: var(--type-tariff-title-size);
  font-weight: var(--type-tariff-title-weight);
  line-height: var(--type-tariff-title-line);
  
}

.tariff__content p {
  max-width: 860px;
  margin: 0;
  color: var(--text-dim);
  font-size: var(--type-body-relaxed-size);
  font-weight: var(--type-body-relaxed-weight);
  line-height: var(--type-body-relaxed-line);
}

.tariff__content .tariff__subtitle {
  margin-top: -20px;
  color: var(--accent);
}

.tariff__content .tariff__description {
  margin-top: 28px;
}

.tariff__meta {
  width: 100%;
  max-width: 860px;
  margin-top: 42px;
  padding-top: 0;
}

.tariff__footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 0;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.tariff__content p + .tariff__footer {
  margin-top: 18px;
}

.tariff__button {
  flex: 0 0 290px;
  width: 290px;
  height: 60px;
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--text-muted);
  border-radius: 10px;
  background: transparent;
  color: var(--text-light);
  font-size: var(--type-ui-size);
  font-weight: var(--type-ui-weight);
  line-height: var(--type-ui-line);
  text-align: center;
  white-space: nowrap;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.tariff__button:hover {
  border-color: var(--text-light);
  background: var(--text-light);
  color: var(--control-text-dark);
  transform: none;
}

.tariff__button:active {
  border-color: var(--text-light);
  background: var(--text-light);
  color: var(--control-text-dark);
}

.tariff__price {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  flex: 0 0 auto;
  color: var(--text-light);
  font-size: var(--type-price-size);
  font-weight: var(--type-price-weight);
  line-height: var(--type-price-line);
  white-space: nowrap;
}

.tariff__price span {
  color: var(--text-dim);
  font-size: var(--type-price-meta-size);
  font-weight: var(--type-price-meta-weight);
  line-height: var(--type-price-meta-line);
}

.tariff__controls {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  margin-top: 0;
}

.tariff__nav {
  display: inline-flex;
  align-items: center;
  gap: 30px;
}

.tariff__nav-button {
  position: relative;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--surface);
  color: rgba(255, 255, 255, 0.96);
  transition: opacity var(--transition), background-color var(--transition), color var(--transition), transform var(--transition);
}

.tariff__nav-button::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 16px;
  height: 16px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.tariff__nav-button--prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.tariff__nav-button--next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

@media (hover: hover) {
  .tariff__nav-button:hover {
    background: var(--control-default);
    color: var(--control-text-dark);
    transform: scale(1.04);
  }
}

.tariff__nav-button:active {
  background: var(--control-active);
  color: var(--control-text-dark);
}

@media (min-width: 1920px) {
  .tariff__content {
    padding: 155px 155px;
  }

  .tariff__copy,
  .tariff__content p,
  .tariff__meta {
    max-width: 980px;
  }

  .tariff__content h2 {
    
    font-size: 35px;
  }

  

  .tariff__meta {
    margin-top: 48px;
  }


}

.tariff[class*="tariff--motion-"].is-animate-next .tariff__image-media,
.tariff[class*="tariff--motion-"].is-animate-prev .tariff__image-media,
.tariff[class*="tariff--motion-"].is-animate-next .tariff__copy,
.tariff[class*="tariff--motion-"].is-animate-prev .tariff__copy,
.tariff[class*="tariff--motion-"].is-animate-next .tariff__footer,
.tariff[class*="tariff--motion-"].is-animate-prev .tariff__footer {
  animation-fill-mode: forwards;
}

.tariff[class*="tariff--motion-"].is-reveal .tariff__image-media,
.tariff[class*="tariff--motion-"].is-reveal .tariff__copy,
.tariff[class*="tariff--motion-"].is-reveal .tariff__footer {
  animation-fill-mode: both;
}

.tariff--motion-depth.is-animate-next .tariff__image-media,
.tariff--motion-depth.is-animate-prev .tariff__image-media,
.tariff--motion-depth.is-animate-next .tariff__copy,
.tariff--motion-depth.is-animate-prev .tariff__copy,
.tariff--motion-depth.is-animate-next .tariff__footer,
.tariff--motion-depth.is-animate-prev .tariff__footer {
  animation-duration: 260ms;
  animation-timing-function: cubic-bezier(0.6, 0.02, 0.7, 0.2);
}

.tariff--motion-depth.is-reveal .tariff__image-media,
.tariff--motion-depth.is-reveal .tariff__copy,
.tariff--motion-depth.is-reveal .tariff__footer {
  animation-duration: 420ms;
  animation-timing-function: cubic-bezier(0.18, 0.82, 0.22, 1);
}

.tariff--motion-depth.is-animate-next .tariff__image-media {
  animation-name: tariffDepthCardOutNext;
}

.tariff--motion-depth.is-animate-prev .tariff__image-media {
  animation-name: tariffDepthCardOutPrev;
}

.tariff--motion-depth.is-animate-next .tariff__copy {
  animation-name: tariffDepthCopyOutNext;
}

.tariff--motion-depth.is-animate-prev .tariff__copy {
  animation-name: tariffDepthCopyOutPrev;
}

.tariff--motion-depth.is-animate-next .tariff__footer {
  animation-name: tariffDepthFooterOutNext;
}

.tariff--motion-depth.is-animate-prev .tariff__footer {
  animation-name: tariffDepthFooterOutPrev;
}

.tariff--motion-depth.is-reveal.is-animate-next .tariff__image-media {
  animation-name: tariffDepthCardInNext;
}

.tariff--motion-depth.is-reveal.is-animate-prev .tariff__image-media {
  animation-name: tariffDepthCardInPrev;
}

.tariff--motion-depth.is-reveal.is-animate-next .tariff__copy {
  animation-name: tariffDepthCopyInNext;
  animation-delay: 40ms;
}

.tariff--motion-depth.is-reveal.is-animate-prev .tariff__copy {
  animation-name: tariffDepthCopyInPrev;
  animation-delay: 40ms;
}

.tariff--motion-depth.is-reveal.is-animate-next .tariff__footer {
  animation-name: tariffDepthFooterInNext;
  animation-delay: 90ms;
}

.tariff--motion-depth.is-reveal.is-animate-prev .tariff__footer {
  animation-name: tariffDepthFooterInPrev;
  animation-delay: 90ms;
}

.tariff--motion-image-first.is-animate-next .tariff__image-media,
.tariff--motion-image-first.is-animate-prev .tariff__image-media {
  animation-duration: 240ms;
  animation-timing-function: cubic-bezier(0.65, 0.02, 0.7, 0.2);
}

.tariff--motion-image-first.is-animate-next .tariff__copy,
.tariff--motion-image-first.is-animate-prev .tariff__copy,
.tariff--motion-image-first.is-animate-next .tariff__footer,
.tariff--motion-image-first.is-animate-prev .tariff__footer {
  animation-duration: 180ms;
  animation-timing-function: cubic-bezier(0.6, 0.02, 0.7, 0.2);
}

.tariff--motion-image-first.is-reveal .tariff__image-media {
  animation-duration: 360ms;
  animation-timing-function: cubic-bezier(0.16, 0.84, 0.24, 1);
}

.tariff--motion-image-first.is-reveal .tariff__copy,
.tariff--motion-image-first.is-reveal .tariff__footer {
  animation-duration: 300ms;
  animation-timing-function: cubic-bezier(0.18, 0.82, 0.22, 1);
}

.tariff--motion-image-first.is-animate-next .tariff__image-media {
  animation-name: tariffImageFirstCardOutNext;
}

.tariff--motion-image-first.is-animate-prev .tariff__image-media {
  animation-name: tariffImageFirstCardOutPrev;
}

.tariff--motion-image-first.is-animate-next .tariff__copy,
.tariff--motion-image-first.is-animate-next .tariff__footer {
  animation-name: tariffImageFirstCopyOutNext;
}

.tariff--motion-image-first.is-animate-prev .tariff__copy,
.tariff--motion-image-first.is-animate-prev .tariff__footer {
  animation-name: tariffImageFirstCopyOutPrev;
}

.tariff--motion-image-first.is-reveal.is-animate-next .tariff__image-media {
  animation-name: tariffImageFirstCardInNext;
}

.tariff--motion-image-first.is-reveal.is-animate-prev .tariff__image-media {
  animation-name: tariffImageFirstCardInPrev;
}

.tariff--motion-image-first.is-reveal.is-animate-next .tariff__copy,
.tariff--motion-image-first.is-reveal.is-animate-next .tariff__footer {
  animation-name: tariffImageFirstCopyInNext;
  animation-delay: 120ms;
}

.tariff--motion-image-first.is-reveal.is-animate-prev .tariff__copy,
.tariff--motion-image-first.is-reveal.is-animate-prev .tariff__footer {
  animation-name: tariffImageFirstCopyInPrev;
  animation-delay: 120ms;
}

@keyframes tariffCardOutNext {
  to {
    opacity: 0;
    transform: translate3d(-28px, 0, 0) rotate(-3.5deg) scale(0.95);
  }
}

@keyframes tariffCardOutPrev {
  to {
    opacity: 0;
    transform: translate3d(28px, 0, 0) rotate(3.5deg) scale(0.95);
  }
}

@keyframes tariffCopyOutNext {
  to {
    opacity: 0;
    transform: translate3d(34px, 0, 0) rotate(1deg);
  }
}

@keyframes tariffCopyOutPrev {
  to {
    opacity: 0;
    transform: translate3d(-34px, 0, 0) rotate(-1deg);
  }
}

@keyframes tariffCardInNext {
  from {
    opacity: 0;
    transform: translate3d(34px, 0, 0) rotate(4deg) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

@keyframes tariffCardInPrev {
  from {
    opacity: 0;
    transform: translate3d(-34px, 0, 0) rotate(-4deg) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }
}

@keyframes tariffCopyInNext {
  from {
    opacity: 0;
    transform: translate3d(-28px, 0, 0) rotate(-0.8deg);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes tariffCopyInPrev {
  from {
    opacity: 0;
    transform: translate3d(28px, 0, 0) rotate(0.8deg);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes tariffDepthCardOutNext {
  to {
    opacity: 0;
    transform: translate3d(-38px, 0, 0) scale(0.94) rotate(-2.2deg);
    filter: blur(10px);
  }
}

@keyframes tariffDepthCardOutPrev {
  to {
    opacity: 0;
    transform: translate3d(38px, 0, 0) scale(0.94) rotate(2.2deg);
    filter: blur(10px);
  }
}

@keyframes tariffDepthCopyOutNext {
  to {
    opacity: 0;
    transform: translate3d(-18px, 18px, 0);
    filter: blur(8px);
  }
}

@keyframes tariffDepthCopyOutPrev {
  to {
    opacity: 0;
    transform: translate3d(18px, 18px, 0);
    filter: blur(8px);
  }
}

@keyframes tariffDepthFooterOutNext {
  to {
    opacity: 0;
    transform: translate3d(-12px, 22px, 0) scale(0.98);
    filter: blur(8px);
  }
}

@keyframes tariffDepthFooterOutPrev {
  to {
    opacity: 0;
    transform: translate3d(12px, 22px, 0) scale(0.98);
    filter: blur(8px);
  }
}

@keyframes tariffDepthCardInNext {
  from {
    opacity: 0;
    transform: translate3d(42px, 0, 0) scale(1.04) rotate(1.8deg);
    filter: blur(12px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    filter: blur(0);
  }
}

@keyframes tariffDepthCardInPrev {
  from {
    opacity: 0;
    transform: translate3d(-42px, 0, 0) scale(1.04) rotate(-1.8deg);
    filter: blur(12px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    filter: blur(0);
  }
}

@keyframes tariffDepthCopyInNext {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes tariffDepthCopyInPrev {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes tariffDepthFooterInNext {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.98);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes tariffDepthFooterInPrev {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.98);
    filter: blur(10px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes tariffImageFirstCardOutNext {
  to {
    opacity: 0;
    transform: translate3d(-52px, 0, 0);
    filter: blur(12px);
  }
}

@keyframes tariffImageFirstCardOutPrev {
  to {
    opacity: 0;
    transform: translate3d(52px, 0, 0);
    filter: blur(12px);
  }
}

@keyframes tariffImageFirstCopyOutNext {
  to {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
}

@keyframes tariffImageFirstCopyOutPrev {
  to {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
}

@keyframes tariffImageFirstCardInNext {
  from {
    opacity: 0;
    transform: translate3d(56px, 0, 0);
    filter: blur(14px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes tariffImageFirstCardInPrev {
  from {
    opacity: 0;
    transform: translate3d(-56px, 0, 0);
    filter: blur(14px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes tariffImageFirstCopyInNext {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes tariffImageFirstCopyInPrev {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

.clients.section {
}

.clients .section__label {
  grid-column: 1;
}

.clients__content {
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(72px, 8vw, 168px);
  column-gap: clamp(28px, 4vw, 64px);
  align-items: start;
  min-width: 0;
  margin-top: 0;
}

.clients__grid {
  grid-column: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 62px 54px;
  align-items: center;
  min-width: 0;
}

.clients__ghost {
  grid-column: 2;
  min-width: 0;
  min-height: 100%;
}

.client-logo {
  justify-self: center;
  display: block;
  width: auto;
  height: auto;
  max-width: 170px;
  max-height: 56px;
  color: var(--text-light);
  opacity: 0.9;
  fill: currentColor;
  transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease;
}

.clients__grid .client-logo:nth-child(4n + 1) {
  justify-self: start;
}

.client-logo use,
.client-logo path {
  fill: currentColor;
}

.clients__grid .client-logo:nth-child(1) { --reveal-delay: 0ms; }
.clients__grid .client-logo:nth-child(2) { --reveal-delay: 40ms; }
.clients__grid .client-logo:nth-child(3) { --reveal-delay: 80ms; }
.clients__grid .client-logo:nth-child(4) { --reveal-delay: 120ms; }
.clients__grid .client-logo:nth-child(5) { --reveal-delay: 160ms; }
.clients__grid .client-logo:nth-child(6) { --reveal-delay: 200ms; }
.clients__grid .client-logo:nth-child(7) { --reveal-delay: 240ms; }
.clients__grid .client-logo:nth-child(8) { --reveal-delay: 280ms; }
.clients__grid .client-logo:nth-child(9) { --reveal-delay: 320ms; }
.clients__grid .client-logo:nth-child(10) { --reveal-delay: 360ms; }
.clients__grid .client-logo:nth-child(11) { --reveal-delay: 400ms; }
.clients__grid .client-logo:nth-child(12) { --reveal-delay: 440ms; }

.clients__grid .client-logo:hover {
  opacity: 1;
  transform: translate3d(0, -2px, 0);
}

.client-logo--gazprombank {
  width: 135px;
  height: 28px;
}

.client-logo--tass {
  width: 39px;
  height: 39px;
}

.client-logo--sber {
  width: 95px;
  height: 26px;
}

.client-logo--lukoil {
  width: 39px;
  height: 39px;
}

.client-logo--rosoboronexport {
  width: 135px;
  height: 26px;
}

.client-logo--vtb {
  width: 83px;
  height: 30px;
}

.client-logo--ugmk {
  width: 92px;
  height: 31px;
}

.client-logo--moscow-chamber {
  width: 135px;
  height: 28px;
}

.client-logo--nornickel {
  width: 135px;
  height: 29px;
}

.client-logo--rosatom {
  width: 52px;
  height: 52px;
}

.client-logo--s7 {
  width: 94px;
  height: 30px;
}

.client-logo--fosagro {
  width: 76px;
  height: 52px;
}

.delivery.section {
  margin-bottom: 180px;
}

.delivery__list {
  display: grid;
  gap: 20px;
  width: 100%;
  min-width: 0;
}

.delivery-item {
  width: 100%;
  overflow: hidden;
  border-radius: 30px;
  background: var(--surface);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.delivery-item__head {
  width: 100%;
  /*min-height: 170px;*/
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 40px;
  padding: 40px;
  border: 0;
  background: transparent;
  color: var(--text-light);
  text-align: left;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 260ms ease;
}

.delivery-item__icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: transform 260ms ease, color 260ms ease, opacity 260ms ease;
}

.delivery-item__lead {
  min-width: 0;
  color: var(--text-light);
  font-size: var(--type-body-relaxed-size);
  font-weight: var(--type-body-relaxed-weight);
  line-height: var(--type-body-relaxed-line);
}

.delivery-item__toggle {
  position: relative;
  justify-self: end;
  display: block;
  width: 32px;
  height: 32px;
  color: var(--text-light);
  opacity: 1;
  transition: transform 260ms ease, opacity 260ms ease, color 260ms ease;
}

.delivery-item__toggle::before,
.delivery-item__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--transition), opacity var(--transition);
}

.delivery-item__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.delivery-item.is-open .delivery-item__toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.delivery-item__panel {
  height: 0;
  overflow: hidden;
  transition: height 260ms ease;
}

.delivery-item__body {
  padding: 0 72px 56px 40px;
  color: var(--text-muted);
  font-size: var(--type-body-relaxed-size);
  font-weight: var(--type-body-relaxed-weight);
  line-height: var(--type-body-relaxed-line);
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 240ms ease, transform 240ms ease;
}

.delivery-item:hover {
  transform: translate3d(0, -4px, 0);
}

.delivery-item:hover .delivery-item__icon {
  transform: translate3d(0, -2px, 0) scale(1.04);
}

.delivery-item:hover .delivery-item__toggle {
  opacity: 1;
  transform: translate3d(0, -1px, 0);
}

.delivery-item__head:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.delivery-item.is-revealed .delivery-item__body {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.delivery-item__body p {
  margin: 0 0 28px;
}

.delivery-item__subhead {
  margin: 0 0 8px;
  color: var(--text-light);
  font-size: var(--type-body-relaxed-size);
  font-weight: 700;
  line-height: var(--type-body-relaxed-line);
}

.delivery-item__subhead + p,
.delivery-item__subhead + ul {
  margin-top: 0;
}

.delivery-item__body p:last-child {
  margin-bottom: 0;
}

.delivery-item__body ul {
  margin: 0 0 28px;
  padding-left: 24px;
}

.site-footer {
  padding: 0;
  background: var(--surface);
}

.site-footer__inner {
  width: 100%;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, var(--grid-left)) minmax(0, var(--grid-right));
  column-gap: var(--grid-gap);
  align-items: center;
  border-radius: 0;
  background: transparent;
}

.site-footer__content {
  grid-column: 2;
  width: 100%;
  min-width: 0;
  padding: 0;
}

.site-footer__title {
  max-width: 1120px;
  margin: 0;
  color: var(--accent);
  font-size: var(--type-footer-title-size);
  font-weight: var(--type-footer-title-weight);
  line-height: var(--type-footer-title-line);
  text-transform: var(--type-footer-title-transform);
}

.site-footer__title span {
  display: block;
}

.site-footer__title span:nth-child(2) {
  color: var(--text-muted);
}

.site-footer__line {
  width: 100%;
  max-width: 1120px;
  height: 1px;
  margin: 72px 0 52px;
  background: rgba(255, 255, 255, 0.18);
  opacity: 0.5;
  transition-duration: 860ms;
}

.site-footer__line.is-visible {
  opacity: 0.5;
}

.site-footer__bottom {
  display: grid;
  grid-template-columns: auto minmax(72px, 0.35fr) auto;
  align-items: center;
  max-width: 1120px;
  column-gap: 32px;
}

.site-footer__contacts {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
  color: var(--text-light);
  font-size: var(--type-footer-contact-size);
  line-height: var(--type-footer-contact-line);
  text-transform: var(--type-footer-contact-transform);
}

.site-footer__divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.07);
}

.site-footer__button {
  grid-column: 3;
  justify-self: start;
  width: 250px;
  min-height: 60px;
  padding: 0 0;
  border: 1px solid #919191;
  background: transparent;
  color: #FFF;
  font-size: var(--type-ui-size);
}

.site-footer__button:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: #111111;
  transform: none;
}

.site-footer__button:active {
  border-color: #949494;
  background: #949494;
  color: #111111;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: var(--page-x);
  opacity: 0;
  pointer-events: none;
  transition: opacity 620ms ease;
}

.modal--gallery {
  padding: 0;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.46);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  will-change: opacity;
}

.modal__dialog {
  position: relative;
  width: min(100%, 1920px);
  min-height: min(90svh, 760px);
  padding: clamp(44px, 7vw, 128px) clamp(28px, 7vw, 130px) clamp(36px, 6vw, 84px);
  overflow: hidden;
  border-radius: 30px;
  background: var(--surface-soft);
  color: var(--text-light);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}

#request-modal .modal__dialog {
  width: min(100%, 1120px);
  min-height: min(90svh, 760px);
  max-height: min(88svh, 980px);
  padding: clamp(44px, 4.6vw, 76px) clamp(32px, 4.8vw, 72px) clamp(34px, 4vw, 56px);
  overflow-y: auto;
  align-content: start;
  box-shadow: none;
}

.modal__close {
  position: absolute;
  top: 42px;
  right: 42px;
  z-index: 5;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(242, 242, 242, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0);
  transition:
    background-color var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.modal__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

.modal__close-icon {
  width: 20px;
  height: 20px;
  display: block;
  margin: auto;
  color: currentColor;
  fill: currentColor;
  transition: transform var(--transition);
}

.modal__close:hover {
  color: rgba(255, 255, 255, 0.96);
  transform: translate3d(0, -2px, 0);
}

.modal__close:active {
  color: rgba(255, 255, 255, 0.98);
  transform: translate3d(0, 0, 0) scale(0.98);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.modal__close:hover .modal__close-icon {
  transform: scale(1.04);
}

.request-form {
  height: 100%;
}

.request-form__view--form {
  max-width: 1430px;
}

.request-form__title {
  margin: 0;
  color: var(--text-light);
  font-size: var(--type-modal-title-size);
  font-weight: var(--type-modal-title-weight);
  line-height: var(--type-modal-title-line);
  
}

.request-form__title::after {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  margin-top: 28px;
  background: var(--accent);
}

.request-form__lead {
  max-width: 1160px;
  margin: 56px 0 72px;
  color: var(--text-muted);
  font-size: var(--type-modal-body-size);
  line-height: var(--type-modal-body-line);
}

.request-form__fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  max-width: 1420px;
  margin-bottom: 54px;
}

.request-form__field input {
  width: 100%;
  height: 48px;
  border: 0;
  border-bottom: 1px solid rgba(145, 145, 145, 0.45);
  outline: none;
  background: transparent;
  color: var(--text-light);
  font-size: var(--type-modal-body-size);
  line-height: var(--type-modal-body-line);
}

.request-form__field input::placeholder {
  color: #555;
}

.request-form__field input:focus {
  border-bottom-color: var(--accent);
}

.request-form__field input:focus-visible {
  outline: none;
}

.request-form__field:not(.request-form__field--phone) {
  position: relative;
}

.request-form__field:not(.request-form__field--phone)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 2px;
  background: rgba(145, 145, 145, 0.45);
  pointer-events: none;
}

.request-form__field:not(.request-form__field--phone) input {
  border-bottom: 0;
}

.request-form__field:not(.request-form__field--phone):focus-within::after {
  background: var(--accent);
}

.request-form__field input:-webkit-autofill,
.request-form__field input:-webkit-autofill:hover,
.request-form__field input:-webkit-autofill:focus,
.request-form__field input:-webkit-autofill:active {
  -webkit-text-fill-color: var(--text-light);
  -webkit-box-shadow: 0 0 0 1000px var(--surface-soft) inset;
  box-shadow: 0 0 0 1000px var(--surface-soft) inset;
  caret-color: var(--text-light);
  font-family: inherit;
  font-size: var(--type-modal-body-size);
  line-height: var(--type-modal-body-line);
}

.request-form__phone-control {
  display: grid;
  position: relative;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  height: 48px;
  border-bottom: 0;
}

.request-form__phone-control::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 2px;
  background: rgba(145, 145, 145, 0.45);
  pointer-events: none;
}

.request-form__phone-prefix {
  color: var(--text-light);
  font-size: var(--type-modal-body-size);
  line-height: var(--type-modal-body-line);
  white-space: nowrap;
}

.request-form__field--phone input {
  border-bottom: 0;
}

.request-form__field--phone:focus-within .request-form__phone-control::after {
  background: var(--accent);
}

.request-form__file {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 58px;
  color: var(--text-light);
  cursor: pointer;
  font-size: var(--type-modal-body-size);
  line-height: var(--type-modal-body-line);
}

.request-form__file:focus-within {
  color: var(--accent);
}

.request-form__file input {
  display: none;
}

.request-form__file-icon {
  position: relative;
  width: 26px;
  height: 26px;
}

.request-form__file-icon::before,
.request-form__file-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.request-form__file-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.request-form__consent-block {
  max-width: 1180px;
  margin-bottom: 86px;
  display: grid;
  gap: 4px;
}

.request-form__consent {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  color: var(--text-dim);
  cursor: pointer;
  font-size: var(--type-consent-size);
  line-height: var(--type-consent-line);
}

.request-form__consent-main {
  display: block;
  color: var(--text-dim);
  padding-top: 2px;
}

.request-form__consent-note {
  display: block;
  margin: 0 0 0 56px;
  color: rgba(157, 157, 157, 0.82);
  font-size: calc(var(--type-consent-size) - 1px);
}

.request-form__consent input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.request-form__checkbox {
  position: relative;
  width: 24px;
  height: 24px;
  border: 1px solid var(--control-default);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
}

.request-form__checkbox::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--control-text-dark);
  border-bottom: 2px solid var(--control-text-dark);
  transform: translate(-50%, -62%) rotate(-45deg) scale(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.request-form__consent input:checked + .request-form__checkbox {
  border-color: var(--accent);
  background: var(--accent);
}

.request-form__consent input:checked + .request-form__checkbox::after {
  transform: translate(-50%, -62%) rotate(-45deg) scale(1);
}

.request-form__consent:focus-within .request-form__checkbox {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 141, 40, 0.18);
}

.request-form__consent a {
  color: #9d9d9d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.request-form__consent a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.request-form__consent-note a {
  color: #9d9d9d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.request-form__consent-note a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.request-form__bottom {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10%;
}

.request-form__submit {
  width: 290px;
  min-width: 290px;
  height: 60px;
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--text-muted);
  border-radius: 10px;
  background: transparent;
  color: var(--text-light);
  font-size: var(--type-ui-size);
  font-weight: var(--type-ui-weight);
  line-height: var(--type-ui-line);
  text-align: center;
  white-space: nowrap;
  transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}

.request-form__submit:disabled {
  border-color: var(--text-muted);
  color: var(--text-muted);
  cursor: not-allowed;
}

.request-form__submit:not(:disabled):hover {
  border-color: var(--accent-button-hover);
  background: var(--accent-button-hover);
  color: var(--control-text-dark);
}

.request-form__submit:focus-visible,
.request-form__submit:not(:disabled):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-color: var(--accent-button-hover);
  background: var(--accent-button-hover);
  color: var(--control-text-dark);
}

.request-form__submit:not(:disabled):active {
  border-color: var(--accent-button-active);
  background: var(--accent-button-active);
  color: var(--control-text-dark);
}

.request-form__contacts {
  display: flex;
  align-items: center;
  gap: 52px;
  color: var(--text-light);
  font-size: var(--type-contact-size);
  line-height: var(--type-contact-line);
}

.request-form__view--success {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 40px;
  text-align: center;
  pointer-events: none;
  background-image: url("../assets/request-success-check.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: clamp(220px, 32%, 526px) auto;
}

.request-form__success-title {
  position: relative;
  z-index: 1;
  margin: 0 0 36px;
  color: var(--text-light);
  font-size: var(--type-modal-title-size);
  font-weight: var(--type-modal-title-weight);
  line-height: var(--type-modal-title-line);
}

.request-form__success-text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-muted);
  font-size: var(--type-modal-body-size);
  line-height: var(--type-modal-body-line);
}

.modal__dialog--gallery {
  width: 100%;
  min-height: 100svh;
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(44px, 72px) minmax(0, 1fr) minmax(44px, 72px);
  grid-template-areas: "prev stage next";
  align-items: center;
  gap: clamp(8px, 1vw, 18px);
  padding:
    clamp(24px, 2vw, 36px)
    clamp(12px, 1.5vw, 24px);
  border-radius: 0;
  background: rgba(20, 20, 20, 0.96);
}

.gallery-modal__stage {
  grid-area: stage;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.gallery-modal__viewport {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: none;
  max-height: none;
  display: grid;
  place-items: center;
  position: relative;
  border: 0;
  background: transparent;
}

.gallery-modal__viewport--loading {
  min-width: min(72vw, 960px);
  aspect-ratio: var(--gallery-placeholder-aspect, 2048 / 1365);
}

.gallery-modal__viewport picture {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.gallery-modal__viewport img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - 104px);
  border-radius: 0;
  object-fit: contain;
  border: 0;
}

.gallery-modal__media-slot {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.gallery-modal__media-slot picture,
.gallery-modal__media-slot img {
  transition: opacity 220ms ease, transform 280ms ease;
}

.gallery-modal__viewport--loading .gallery-modal__media-slot picture,
.gallery-modal__viewport--loading .gallery-modal__media-slot img,
.gallery-modal__media-slot picture,
.gallery-modal__media-slot img {
  opacity: 0;
  transform: scale(0.985);
}

.gallery-modal__viewport.is-ready .gallery-modal__media-slot picture,
.gallery-modal__viewport.is-ready .gallery-modal__media-slot img {
  opacity: 1;
  transform: scale(1);
}

.gallery-modal__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 0;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.06) 8%, rgba(255, 255, 255, 0.2) 18%, rgba(255, 255, 255, 0.06) 33%),
    rgba(255, 255, 255, 0.05);
  background-size: 220% 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  animation: gallery-placeholder-shimmer 1.15s linear infinite;
}

.gallery-modal__loading-label {
  position: relative;
  z-index: 1;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.62);
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.gallery-modal__viewport.is-ready .gallery-modal__placeholder {
  opacity: 0;
  transition: opacity 220ms ease 120ms;
  pointer-events: none;
}

@keyframes gallery-placeholder-shimmer {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -20% 0;
  }
}

.gallery-modal__nav {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #000;
  color: rgba(255, 255, 255, 0.96);
  transition: background-color var(--transition), color var(--transition), transform var(--transition);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.gallery-modal__nav--prev {
  grid-area: prev;
}

.gallery-modal__nav--next {
  grid-area: next;
}

.gallery-modal__nav::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 11px;
  height: 11px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.gallery-modal__nav--prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

.gallery-modal__nav--next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

@media (hover: hover) {
  .gallery-modal__nav:hover {
    background: var(--control-default);
    color: var(--control-text-dark);
    transform: translateY(-1px);
  }
}

.gallery-modal__nav:active {
  background: var(--control-active);
  color: var(--control-text-dark);
}

.modal--gallery.is-zoom-open .gallery-modal__nav,
.modal--gallery.is-zoom-open .gallery-modal__stage {
  pointer-events: none;
}

.modal--gallery.is-zoom-open .modal__close--gallery {
  z-index: 12;
  pointer-events: auto;
}

.gallery-zoom {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: grid;
  place-items: center;
  padding: clamp(28px, 4vw, 40px);
  background: rgba(8, 8, 8, 0.82);
}

.gallery-zoom__scroller {
  width: 100%;
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  cursor: zoom-out;
}

.gallery-zoom__media {
  min-width: 100%;
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(16px, 2vw, 24px);
}

.gallery-zoom__viewport {
  position: relative;
  min-width: min(84vw, 1280px);
  aspect-ratio: var(--gallery-placeholder-aspect, 2048 / 1365);
}

.gallery-zoom__viewport--loading {
  display: grid;
  place-items: center;
}

.gallery-zoom__slot {
  display: grid;
  place-items: center;
}

.gallery-zoom__slot picture,
.gallery-zoom__slot img {
  transition: opacity 220ms ease, transform 280ms ease;
}

.gallery-zoom__viewport--loading .gallery-zoom__slot picture,
.gallery-zoom__viewport--loading .gallery-zoom__slot img,
.gallery-zoom__slot picture,
.gallery-zoom__slot img {
  opacity: 0;
  transform: scale(0.985);
}

.gallery-zoom__viewport.is-ready .gallery-zoom__slot picture,
.gallery-zoom__viewport.is-ready .gallery-zoom__slot img {
  opacity: 1;
  transform: scale(1);
}

.gallery-zoom__viewport.is-ready .gallery-zoom__placeholder {
  opacity: 0;
  transition: opacity 220ms ease 120ms;
}

.gallery-zoom__image {
  display: block;
  width: auto;
  max-width: none;
  height: min(90svh, 1200px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
