* {
  font-family: "Manrope", system-ui, sans-serif;
}

.company-page-shell {
  margin-top: 120px;
  padding-top: 48px;
}

.company-page {
  color: var(--text);
}

.company-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  line-height: 1;
  margin-bottom: 56px;
}

.company-breadcrumbs a {
  color: var(--text);
  text-decoration: none;
}

.company-breadcrumbs__sep {
  color: #9a9fa8;
}

.company-about__tag {
  margin-bottom: 48px;
}

.company-about__title {
  font-size: clamp(36px, 2.2vw, 40px);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 48px;
  max-width: 1380px;
}

.company-about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 52px;
}

.company-about-card {
  min-width: 0;
}

.company-about-card--media img {
  width: 100%;
  display: block;
  border-radius: 16px;
  object-fit: cover;
}

.company-about-card--text h2 {
  color: var(--color-primary-blue);
  font-size: clamp(30px, 2vw, 32px);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 26px;
}

.company-about-card--text p {
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.28;
  color: #2f3136;
  margin-bottom: 24px;
}

.company-about-card--text p:last-of-type {
  margin-bottom: 0;
}

.company-about__cta {
  margin-top: 0;
  margin-bottom: 0;
}

.company-capabilities {
  margin-top: 48px;
}

.company-capabilities h2 {
  font-size: clamp(34px, 2.3vw, 40px);
  line-height: 1.06;
  color: var(--text);
  margin-bottom: 48px;
  margin-top: 48px;
}

.company-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.company-capability-card {
  min-height: 453px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 52px 38px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.company-capability-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to top, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.12)),
    var(--card-image);
  background-repeat: no-repeat;
  background-size:
    100% 100%,
    cover;
  background-position: center, center;
  opacity: 0.28;
  pointer-events: none;
}

.company-capability-card > * {
  position: relative;
  z-index: 1;
}

.company-capability-card h3 {
  font-size: clamp(28px, 2vw, 32px);
  font-weight: 400;
  line-height: 1.06;
  margin-bottom: 0;
  max-width: 380px;
}

.company-capability-card p {
  font-size: clamp(18px, 1vw, 20px);
  line-height: 1.28;
  max-width: 520px;
}

.company-capability-card__image {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.company-video-banner {
  margin-top: 44px;
  min-height: 410px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("/local/templates/main/img/company/video.png") center/cover no-repeat;
}

.company-video-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    92deg,
    rgba(20, 20, 22, 0.62) 18%,
    rgba(20, 20, 22, 0.26) 58%,
    rgba(20, 20, 22, 0.42) 100%
  );
  z-index: 1;
}

.company-video-banner__content {
  position: absolute;
  left: 40px;
  top: 36px;
  z-index: 3;
}

.company-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
}

.company-chip--light {
  border: 1px solid #fff;
  color: #fff;
  font-weight: 400;
  font-size: clamp(16px, 1vw, 18px);
  background: transparent;
}

.company-video-banner h2 {
  margin-top: 48px;
  color: #f1f3f7;
  font-size: clamp(32px, 2vw, 40px);
  font-weight: 400;
  line-height: 1.12;
}

.company-video-banner__play {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: none;
  background: rgba(229, 6, 6, 1);
  cursor: pointer;
  position: relative;
  z-index: 3;
  transition: transform 0.2s ease;
}

.company-video-banner__play::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 28px;
  width: 0;
  height: 0;
  border-top: 22px solid transparent;
  border-bottom: 22px solid transparent;
  border-left: 32px solid #ffffff;
}

.company-video-banner__play:hover {
  transform: scale(1.05);
}

.company-delivery {
  position: relative;
  margin-top: 44px;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(440px, 1.08fr) minmax(380px, 1fr);
  min-height: 670px;
  background: url("/local/templates/main/img/company/delivery_bg.png") center/cover no-repeat;
}

.company-delivery::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 1;
  pointer-events: none;
}

.company-delivery__content {
  position: relative;
  z-index: 2;
  padding: 56px 40px 52px;
}

.company-delivery h2 {
  margin-top: 46px;
  color: #eef1f6;
  font-size: clamp(32px, 2vw, 40px);
  line-height: 1.12;
  font-weight: 400;
}

.company-delivery-accordion {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.company-delivery-item {
  border: 1px solid rgba(206, 216, 233, 0.42);
  border-radius: 16px;
  background: rgba(17, 21, 28, 0.52);
  backdrop-filter: blur(2px);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 0.28s ease,
    background-color 0.28s ease,
    box-shadow 0.28s ease;
}

.company-delivery-item[open] {
  border-color: #62c3ef;
  background: rgba(98, 195, 239, 0.1);
  box-shadow: inset 0 0 0 1px rgba(98, 195, 239, 0.22);
}

.company-delivery-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 22px 56px 22px 24px;
  color: rgba(236, 236, 236, 1);
  font-size: clamp(20px, 1.2vw, 24px);
  line-height: 1.2;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: color 0.28s ease;
}

.company-delivery-item summary:focus,
.company-delivery-item summary:focus-visible {
  outline: none;
}

.company-delivery-item:not([open]) summary {
  color: rgba(236, 236, 236, 1);
}

.company-delivery-item[open] summary {
  color: #fac518;
}

.company-delivery-item summary::-webkit-details-marker {
  display: none;
}

.company-delivery-item summary::after {
  content: "";
  width: 14px;
  height: 14px;
  border-right: 2px solid #919191;
  border-bottom: 2px solid #919191;
  transform: rotate(45deg);
  position: absolute;
  right: 24px;
  top: 24px;
  transition:
    transform 0.28s ease,
    top 0.28s ease,
    border-color 0.28s ease;
}

.company-delivery-item[open] summary::after {
  transform: rotate(-135deg);
  top: 31px;
  border-right-color: #919191;
  border-bottom-color: #919191;
}

.company-delivery-item > p,
.company-delivery-item > ul {
  margin: 0 24px 20px;
  color: #fff;
  font-size: clamp(16px, 1vw, 18px);
  line-height: 1.36;
}

.company-delivery-item > ul {
  padding-left: 26px;
}

.company-delivery__visual {
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.company-delivery__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: translateX(0);
  opacity: 1;
  transition:
    transform 0.42s ease,
    opacity 0.42s ease;
  pointer-events: none;
}

.company-delivery__image.is-sliding-out-right {
  transform: translateX(100%);
  opacity: 0.9;
}

.company-delivery__image--incoming {
  z-index: 2;
  transform: translateX(100%);
  opacity: 1;
}

.company-delivery__image--incoming.is-sliding-in-right {
  transform: translateX(0);
}

.company-delivery__planet {
  display: none;
  position: absolute;
  right: -156px;
  bottom: -168px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(157, 199, 255, 0.94),
    rgba(48, 88, 146, 0.96) 54%,
    rgba(23, 48, 89, 1) 100%
  );
  box-shadow:
    inset -100px -80px 140px rgba(7, 20, 43, 0.9),
    inset 40px 42px 80px rgba(186, 223, 255, 0.4),
    0 50px 110px rgba(3, 11, 24, 0.62);
}

.company-delivery__planet::before,
.company-delivery__planet::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.company-delivery__planet::before {
  inset: 86px;
  border: 2px solid rgba(255, 255, 255, 0.23);
  box-shadow:
    0 0 0 26px rgba(255, 255, 255, 0.07),
    0 0 0 68px rgba(255, 255, 255, 0.04);
}

.company-delivery__planet::after {
  inset: 0;
  background:
    repeating-radial-gradient(
      circle at 56% 52%,
      transparent 0 58px,
      rgba(255, 255, 255, 0.19) 58px 60px
    ),
    repeating-radial-gradient(
      circle at 48% 48%,
      transparent 0 94px,
      rgba(255, 255, 255, 0.13) 94px 96px
    );
  opacity: 0.9;
  mix-blend-mode: screen;
}

.company-workflow {
  margin-top: 48px;
}

.company-workflow__tag {
  margin-bottom: 42px;
}

.company-workflow h2 {
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.08;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 34px;
}

.company-workflow-slider {
  width: 100%;
}

.company-workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.company-workflow-card {
  min-height: 360px;
  border-radius: 16px;
  padding: 34px 30px 22px;
  position: relative;
  overflow: hidden;
  color: #eef2f7;
}

.company-workflow-card h3 {
  font-size: clamp(20px, 1.4vw, 24px);
  line-height: 1.18;
  font-weight: 400;
  margin-bottom: 18px;
  max-width: 90%;
}

.company-workflow-card p {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.3;
  max-width: 92%;
}

.company-workflow-card__num {
  position: absolute;
  right: 20px;
  bottom: -54px;
  font-size: clamp(126px, 10vw, 190px);
  line-height: 0.95;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
}

.company-workflow-grid .company-workflow-card:nth-child(1) {
  background: radial-gradient(
    118% 88% at 100% 100%,
    #83c9eb 0%,
    #64b8df 58%,
    #5eaed4 100%
  );
}

.company-workflow-grid .company-workflow-card:nth-child(2) {
  background: radial-gradient(
    138% 95% at 100% 100%,
    #54b9e8 0%,
    #2091c8 62%,
    #1e87bd 100%
  );
}

.company-workflow-grid .company-workflow-card:nth-child(3) {
  background: radial-gradient(
    160% 96% at 100% 100%,
    #6d6d6d 0%,
    #484848 56%,
    #2f2f2f 100%
  );
}

.company-workflow-grid .company-workflow-card:nth-child(4) {
  background: radial-gradient(
    136% 95% at 100% 100%,
    #2f8ed0 0%,
    #245faa 62%,
    #1d4c94 100%
  );
}

@media (max-width: 1680px) {
  .company-breadcrumbs {
    font-size: 20px;
    margin-bottom: 42px;
  }

  .company-about__tag {
    margin-bottom: 38px;
  }

  .company-about-grid {
    gap: 30px 32px;
  }

  .company-about-card--text h2 {
    font-size: clamp(28px, 2vw, 40px);
    margin-bottom: 18px;
  }

  .company-about-card--text p {
    font-size: clamp(18px, 1.1vw, 24px);
    margin-bottom: 18px;
  }

  .company-capability-card {
    min-height: 430px;
    padding: 32px 30px;
  }

  .company-capability-card h3 {
    font-size: clamp(26px, 1.7vw, 34px);
  }

  .company-capability-card p {
    font-size: clamp(18px, 1vw, 22px);
  }

  .company-video-banner {
    min-height: 310px;
  }

  .company-chip {
    font-size: 18px;
    padding: 10px 20px;
  }

  .company-video-banner h2 {
    margin-top: 28px;
    font-size: clamp(28px, 2.1vw, 42px);
  }

  .company-video-banner__play {
    width: 82px;
    height: 82px;
  }

  .company-video-banner__play::before {
    left: 32px;
    top: 21px;
    border-top-width: 18px;
    border-bottom-width: 18px;
    border-left-width: 26px;
  }

  .company-delivery {
    min-height: 520px;
    grid-template-columns: 1fr 0.94fr;
  }

  .company-delivery__content {
    padding: 38px 28px;
  }

  .company-delivery h2 {
    margin-top: 28px;
    font-size: clamp(30px, 2.1vw, 40px);
  }

  .company-delivery-accordion {
    margin-top: 32px;
  }

  .company-delivery-item summary {
    font-size: clamp(21px, 1.3vw, 30px);
    padding: 18px 48px 18px 20px;
  }

  .company-delivery-item summary::after {
    width: 12px;
    height: 12px;
    right: 20px;
    top: 20px;
  }

  .company-delivery-item[open] summary::after {
    top: 27px;
  }

  .company-delivery-item > p,
  .company-delivery-item > ul {
    font-size: clamp(16px, 1vw, 22px);
    margin: 0 20px 16px;
  }

  .company-delivery__planet {
    width: 580px;
    height: 580px;
    right: -118px;
    bottom: -132px;
  }

  .company-workflow {
    margin-top: 32px;
  }

  .company-workflow__tag {
    margin-bottom: 28px;
  }

  .company-workflow h2 {
    font-size: clamp(32px, 2.2vw, 44px);
    margin-bottom: 24px;
  }

  .company-workflow-grid {
    gap: 16px;
  }

  .company-workflow-card {
    min-height: 290px;
    padding: 24px 22px 16px;
  }

  .company-workflow-card h3 {
    font-size: clamp(22px, 1.5vw, 30px);
    margin-bottom: 12px;
  }

  .company-workflow-card p {
    font-size: clamp(16px, 0.94vw, 19px);
  }

  .company-workflow-card__num {
    font-size: clamp(94px, 7.6vw, 140px);
    bottom: -26px;
    right: 12px;
  }
}

@media (max-width: 1200px) {
  .company-page-shell {
    padding-top: 48px;
    padding-bottom: 0;
  }

  .company-about__title {
    margin-bottom: 32px;
  }

  .company-about-grid {
    grid-template-columns: 1fr;
  }

  .company-about__cta {
    margin-top: 0;
  }

  .company-capabilities {
    margin-top: 64px;
  }

  .company-capabilities-grid {
    grid-template-columns: 1fr;
  }

  .company-video-banner {
    margin-top: 30px;
    min-height: 256px;
    justify-content: flex-start;
    align-items: flex-end;
  }

  .company-video-banner__content {
    top: 22px;
    left: 20px;
    right: 20px;
  }

  .company-video-banner h2 {
    margin-top: 20px;
    max-width: 640px;
  }

  .company-video-banner__play {
    margin: 0 0 28px 24px;
    width: 70px;
    height: 70px;
  }

  .company-video-banner__play::before {
    left: 28px;
    top: 18px;
    border-top-width: 16px;
    border-bottom-width: 16px;
    border-left-width: 24px;
  }

  .company-delivery {
    margin-top: 30px;
    grid-template-columns: 1fr;
    min-height: initial;
  }

  .company-delivery__content {
    padding: 28px 20px;
  }

  .company-delivery__visual {
    height: 320px;
  }

  .company-delivery__planet {
    width: 480px;
    height: 480px;
    right: -86px;
    bottom: -186px;
  }

  .company-workflow {
    margin-top: 30px;
  }

  .company-workflow__tag {
    margin-bottom: 20px;
  }

  .company-workflow h2 {
    margin-bottom: 18px;
  }

  .company-workflow-slider {
    overflow: visible;
  }

  .company-workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .company-page-shell {
    padding-top: 26px;
    padding-bottom: 0;
    margin-top: 60px;
  }

  .company-breadcrumbs {
    gap: 10px;
    font-size: 16px;
    margin-bottom: 24px;
    margin-left: 16px;
  }

  .company-about {
    padding: 0 16px;
  }

  .company-about__tag {
    padding: 11px 20px;
    font-size: 16px;
    margin-bottom: 22px;
    min-height: auto;
  }

  .company-about__title {
    font-size: 24px;
    font-weight: 400;
    max-width: 328px;
    margin-bottom: 24px;
  }

  .company-about-grid {
    gap: 20px;
  }

  .company-about-card--media img {
    border-radius: 14px;
    min-height: 200px;
  }

  .company-about-card--text h2 {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .company-about-card--text p {
    font-size: 16px;
    line-height: normal;
    margin-bottom: 0;
  }

  .company-about-grid > .company-about-card--text:nth-of-type(2) {
    display: contents;
  }

  .company-about-grid > .company-about-card--text:nth-of-type(2) > h2 {
    order: 3;
    margin-bottom: 0;
  }

  .company-about-grid > .company-about-card--media:nth-of-type(2) {
    order: 4;
  }

  .company-about-grid > .company-about-card--text:nth-of-type(2) > p {
    order: 5;
  }

  .company-about-grid > .company-about-card--text:nth-of-type(2) > p:first-of-type {
    margin-top: 0;
  }

  .company-about__cta {
    padding: 11px 20px;
    font-size: 16px;
  }

  .company-capabilities {
    margin-top: 42px;
    padding: 0 16px;
  }

  .company-capabilities h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .company-capabilities-grid {
    gap: 16px;
  }

  .company-capability-card {
    min-height: 290px;
    padding: 20px 18px;
    border-radius: 8px;
    gap: 18px;
  }

  .company-capability-card h3 {
    font-size: 24px;
  }

  .company-capability-card p {
    font-size: 16px;
    line-height: 1.35;
  }

  .company-video-banner {
    border-radius: 8px;
    min-height: 264px;
    margin: 24px 16px;
  }

  .company-video-banner__content {
    top: 18px;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
  }

  .company-chip {
    font-size: 16px;
    padding: 12px 24px;
  }

  .company-video-banner h2 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    line-height: normal;
    max-width: 310px;
  }

  .company-video-banner__play {
    width: 58px;
    height: 58px;
    margin: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
  }

  .company-video-banner__play::before {
    left: 22px;
    top: 15px;
    border-top-width: 13px;
    border-bottom-width: 13px;
    border-left-width: 18px;
  }

  .company-delivery {
    border-radius: 14px;
    margin: 24px 16px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: linear-gradient(180deg, #232427 0%, #15506f 100%);
  }

  .company-delivery__content {
    padding: 24px 16px 0;
  }

  .company-delivery h2 {
    margin-top: 16px;
    font-size: 24px;
  }

  .company-delivery-accordion {
    margin-top: 20px;
    gap: 10px;
  }

  .company-delivery-item {
    border-radius: 12px;
  }

  .company-delivery-item summary {
    font-size: 18px;
    padding: 14px 42px 14px 14px;
  }

  .company-delivery-item summary::after {
    right: 14px;
    top: 15px;
    width: 10px;
    height: 10px;
  }

  .company-delivery-item[open] summary::after {
    top: 20px;
  }

  .company-delivery-item > p,
  .company-delivery-item > ul {
    margin: 0 14px 14px;
    font-size: 16px;
    line-height: 1.35;
  }

  .company-delivery__visual {
    position: relative;
    inset: auto;
    width: 100%;
    height: 320px;
    margin-top: 16px;
    overflow: hidden;
    order: 2;
  }

  .company-delivery__image {
    object-position: right bottom;
  }

  .company-delivery__planet {
    width: 300px;
    height: 300px;
    right: -34px;
    bottom: -110px;
  }

  .company-workflow {
    margin: 24px 16px;
  }

  .company-workflow__tag {
    margin-bottom: 14px;
    min-height: auto;
    padding: 11px 20px;
    font-size: 16px;
  }

  .company-workflow h2 {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .company-workflow-slider {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
  }

  .company-workflow-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-left: 16px;
    padding-right: 14px;
    padding-bottom: 4px;
  }

  .company-workflow-grid::-webkit-scrollbar {
    display: none;
  }

  .company-workflow-card {
    flex: 0 0 84%;
    max-width: 284px;
    min-height: 232px;
    border-radius: 12px;
    padding: 18px 14px 14px;
    scroll-snap-align: start;
  }

  .company-workflow-card h3 {
    font-size: 25px;
    margin-bottom: 10px;
  }

  .company-workflow-card p {
    font-size: 16px;
    line-height: 1.35;
    max-width: 80%;
  }

  .company-workflow-card__num {
    font-size: 98px;
    right: 10px;
    bottom: -28px;
  }
}

.company-gallery {
  margin: 24px 16px;
}

.company-gallery__tag {
  margin-bottom: 48px;
}

.company-gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.company-gallery h2 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.08;
  color: var(--text);
}

.company-gallery-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.company-gallery-tab {
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  border-radius: 8px;
  min-height: 57px;
  padding: 12px 33px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.company-gallery-tab.is-active,
.company-gallery-tab:hover {
  background: #f2f3f5;
  border-color: #474a50;
}

.company-gallery-pages {
  width: 100%;
}

.company-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(228px, 15vw, 300px);
  gap: 8px;
}

.company-gallery-grid[hidden] {
  display: none;
}

.company-gallery-item {
  min-width: 0;
}

.company-gallery-grid .company-gallery-item:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.company-gallery-grid .company-gallery-item:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.company-gallery-grid .company-gallery-item:nth-child(3) {
  grid-column: 3;
  grid-row: 1 / span 2;
}

.company-gallery-grid .company-gallery-item:nth-child(4) {
  grid-column: 4;
  grid-row: 1;
}

.company-gallery-grid .company-gallery-item:nth-child(5) {
  grid-column: 1;
  grid-row: 3;
}

.company-gallery-grid .company-gallery-item:nth-child(6) {
  grid-column: 2;
  grid-row: 2 / span 2;
}

.company-gallery-grid .company-gallery-item:nth-child(7) {
  grid-column: 3;
  grid-row: 3;
}

.company-gallery-grid .company-gallery-item:nth-child(8) {
  grid-column: 4;
  grid-row: 2 / span 2;
}

.company-gallery-card {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.company-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

@media (hover: hover) and (pointer: fine) {
  .company-gallery-card:hover img {
    transform: scale(1.06);
  }
}

.company-gallery-card__zoom {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(56, 59, 66, 0.58);
  backdrop-filter: blur(1px);
}

.company-gallery-card__zoom::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 17px;
  height: 17px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='17' viewBox='0 0 17 17' fill='none'%3E%3Cpath d='M10.625 1.75H15.25V6.375' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7.20837 9.79163L15.25 1.75' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7.08331 3.41663H4.33331C3.59693 3.41663 3 4.01325 3 4.74963V12.6663C3 13.4026 3.59693 13.9996 4.33331 13.9996H12.25C12.9864 13.9996 13.5833 13.4026 13.5833 12.6663V9.91663' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.company-gallery__show-more {
  display: none;
}

.company-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}

.company-gallery-lightbox.is-open {
  display: block;
}

.company-gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(11, 12, 16, 0.82);
  backdrop-filter: blur(2px);
  cursor: pointer;
}

.company-gallery-lightbox__content {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(82vw, 1020px);
  max-height: 90vh;
  border-radius: 16px;
  overflow: hidden;
  background: #101318;
}

.company-gallery-lightbox__content img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

.company-gallery-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(12, 14, 20, 0.58);
  cursor: pointer;
  z-index: 1;
}

.company-gallery-lightbox__close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1.5px;
  background: #fff;
}

.company-gallery-lightbox__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.company-gallery-lightbox__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.company-shortcuts {
  margin-top: 48px;
  margin-bottom: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.company-shortcuts-card {
  border-radius: 16px;
  min-height: 306px;
  aspect-ratio: 852 / 336;
  position: relative;
  overflow: hidden;
  padding: 52px;
  display: flex;
  flex-direction: column;
  gap: 0;
  background-origin: border-box;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 100% 100%;
  justify-content: space-between;
}

.company-shortcuts-card--catalog {
  background-color: #3c3d40;
  background-image: url("/local/templates/main/img/company/goto_catalog.png");
}

.company-shortcuts-card--configurator {
  background-color: #2e95d2;
  background-image: url("/local/templates/main/img/company/goto_configurator.png");
}

.company-shortcuts-card__title {
  margin: 0;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.08;
  color: #ececec;
  max-width: 560px;
}

.company-shortcuts-card__button {
  align-self: flex-start;
  min-width: 322px;
  min-height: 70px;
  text-decoration: none;
  line-height: normal;
}

.company-gallery__footer {
  margin-top: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.company-gallery__cta {
  min-width: 332px;
  text-decoration: none;
  background: #19407e;
}

.company-gallery-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.company-gallery-nav {
  flex-shrink: 0;
}

@media (max-width: 1680px) {
  .company-gallery {
    margin-top: 34px;
  }

  .company-gallery__tag {
    margin-bottom: 28px;
  }

  .company-gallery__head {
    margin-bottom: 24px;
  }

  .company-gallery h2 {
    font-size: clamp(32px, 2.3vw, 44px);
  }

  .company-shortcuts-card {
    min-height: unset;
    padding: 44px 42px;
  }

  .company-shortcuts-card__title {
    font-size: clamp(32px, 2.2vw, 40px);
  }
}

@media (max-width: 1200px) {
  .company-gallery__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .company-gallery-tabs {
    gap: 12px;
  }

  .company-gallery-tab {
    min-height: 52px;
    padding: 10px 22px;
    font-size: 15px;
  }

  .company-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(152px, 22vw, 300px);
    gap: 10px;
  }

  .company-gallery-item {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .company-gallery__footer {
    margin-top: 34px;
  }

  .company-gallery__cta {
    min-width: 280px;
  }

  .company-shortcuts {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .company-shortcuts-card {
    min-height: unset;
    padding: 30px 26px 34px;
  }

  .company-shortcuts-card__title {
    font-size: clamp(34px, 6vw, 48px);
    max-width: 82%;
  }

  .company-shortcuts-card__button {
    min-width: 272px;
  }
}

@media (max-width: 767px) {
  .company-gallery {
    margin-top: 24px;
  }

  .company-gallery__tag {
    margin-bottom: 16px;
    min-height: auto;
    padding: 11px 20px;
    font-size: 16px;
  }

  .company-gallery__head {
    margin-bottom: 16px;
    gap: 14px;
  }

  .company-gallery h2 {
    font-size: 24px;
    line-height: 1.05;
  }

  .company-gallery-tabs {
    width: calc(100vw - 28px);
    margin-left: calc(50% - 50vw + 14px);
    margin-right: calc(50% - 50vw + 14px);
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 2px;
  }

  .company-gallery-tabs::-webkit-scrollbar {
    display: none;
  }

  .company-gallery-tab {
    flex: 0 0 auto;
    min-height: 56px;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 18px;
  }

  .company-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 12px;
  }

  .company-gallery-card {
    border-radius: 12px;
    aspect-ratio: 16 / 9;
  }

  .company-gallery-card__zoom {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 16px;
  }

  .company-gallery-grid.is-collapsed .company-gallery-item:nth-child(n + 5) {
    display: none;
  }

  .company-gallery__show-more {
    width: 100%;
    margin-top: 14px;
    min-height: 72px;
    border-radius: 12px;
    border: 1.5px solid var(--text);
    background: transparent;
    color: var(--text);
    font-size: 16px;
    line-height: 1;
    text-transform: lowercase;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .company-gallery__footer {
    margin-top: 14px;
    display: block;
  }

  .company-gallery__cta {
    width: 100%;
    min-width: 0;
    min-height: 72px;
    font-size: 16px;
    margin-top: 0;
  }

  .company-gallery-controls {
    display: none;
  }

  .company-gallery-lightbox__content {
    width: min(94vw, 640px);
    border-radius: 12px;
  }

  .company-gallery-lightbox__close {
    width: 40px;
    height: 40px;
    top: 10px;
    right: 10px;
  }

  .company-shortcuts {
    margin: 24px 16px;
    gap: 14px;
  }

  .company-shortcuts-card {
    aspect-ratio: unset;
    /* min-height: 550px; */
    border-radius: 14px;
    padding: 20px 20px 34px;
  }

  .company-shortcuts-card--catalog {
      aspect-ratio: 492 / 570;

    background-image: url("/local/templates/main/img/company/goto_catalog_mob.png");
  }

  .company-shortcuts-card--configurator {
      aspect-ratio: 492 / 570;

    background-image: url("/local/templates/main/img/company/goto_configurator_mob.png");
  }

  .company-shortcuts-card__title {
    max-width: 100%;
    font-size: clamp(20px, 6vw, 24px);
    line-height: 1.1;
  }

  .company-shortcuts-card__button {
    align-self: stretch;
    min-width: 0;
    width: 100%;
    max-width: none;
    height: 60px;
    font-size: 16px;
  }
}
