/* hero */
.hero {
   padding-top: 20px;
   padding-bottom: 100px;
   width: 100%;
   display: flex;
   justify-content: center;
   column-gap: 20px;
   position: relative;

   background: url("../img/hero.png");
   background-position: bottom;
   background-size: contain;
   background-repeat: no-repeat;
   user-select: none;
}
.hero_box {
   display: flex;
   flex-direction: column;
   z-index: 3;
   transition: all ease-in-out 0.3s;
}
.hero_box.unactive {
   width: 400px;
   position: absolute;
   align-items: center;
   transform: scale(0.75);
   filter: brightness(0.5);
   z-index: 2;
}
.hero_box.unactive:not(.right) {
   left: 60px;
}
.hero_box.unactive.right {
   right: 60px;
}
.hero_box.unactive .hero_info {
   display: none;
}
.hero_box.unactive.furthest {
   width: 10px;
   position: absolute;
   transform: scale(0.5);
   filter: brightness(0.25);
   z-index: 1;
}
.hero_box.unactive.furthest:not(.right) {
   left: 120px;
}
.hero_box.unactive.furthest.right {
   right: 120px;
}

/* Остальные стили остаются без изменений */
.hero_magic {
   position: relative;
}
.hero_img {
   width: 480px;
   height: 480px;
   border-radius: 10px;
}
.hero_star {
   width: 90px;
   height: 90px;
   object-fit: contain;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.5));
   z-index: 6;
}
.hero_logo {
   width: 400px;
   height: auto;
   object-fit: contain;
   position: absolute;
   bottom: 20px;
   left: 50%;
   transform: translateX(-50%);
   filter: drop-shadow(0 4px 10px 0 rgba(0, 0, 0, 0.5));
   z-index: 6;
}
.hero_info {
   position: relative;
   margin-top: 60px;
   width: 100%;
   max-width: 480px;
}
.hero_info img {
   display: block;
   width: 300px;
   height: 300px;
   position: absolute;
   left: 0;
   top: 0;
   transform: translateX(-150px) translateY(-135px);
}
.hero_subtitle {
   color: var(--accent);
   font-size: 32px;
   font-weight: 700;
   letter-spacing: -1px;
   text-align: start;
}
.hero_text {
   margin: 20px 0 40px 0;
   color: var(--accent);
   font-weight: 600;
   letter-spacing: 1px;
   text-align: start;
}
.hero_cta {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 12px 32px;
   margin: 0 0 30px 0;
   border-radius: 5px;
   width: 100%;
   border: 1px solid var(--accent);
   background-color: var(--accent);
   color: #000;
   font-weight: 700;
   letter-spacing: 1px;
   text-transform: uppercase;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.hero_box.unactive .hero_cta {
   display: none;
}
.hero_data {
   color: var(--accent);
   font-size: 12px;
   font-weight: 500;
   letter-spacing: 0px;
   text-align: start;
}

/* hovers */
.hero_box:not(.unactive) .hero_logo {
   transition: ease-in-out 0.75s;
}
.hero_box:not(.unactive):hover .hero_logo {
   transform: translateX(-50%) translateY(-20px);
   transition: ease-in-out 0.75s;
}
.hero_box.unactive:hover {
   transform: scale(0.76);
}
.hero_box.unactive.furthest:hover {
   transform: scale(0.51);
}

/* movement */
.movement {
   object-fit: contain;
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   filter: drop-shadow(0 4px 4px 0 rgba(0, 0, 0, 0.5));
}

/* lumekko */
.movement.lumekko {
   display: flex;
   flex-direction: column;
   gap: 60px;
   top: calc(50% - 60px);
   transition: ease-in-out 1s;
}
.movement.lumekko .lumekko_row {
   display: flex;
   gap: 60px;
   transition: ease-in-out 1s;
}
.movement.lumekko img {
   height: 100px;
   width: 100px;
   object-fit: contain;
}
.hero_box:hover .movement.lumekko {
   gap: 0;
}
.hero_box:hover .movement.lumekko .lumekko_row {
   gap: 0;
}

/* umikoria */
.movement.umikoria {
   display: flex;
   top: calc(50% - 20px);
   transition: ease-in-out 1s;
}
.umikoria_000,
.umikoria_001 {
   height: 200px;
   width: 200px;
   background-image: url("../img/services/umikoria/tile_000.png");
   background-size: cover;
   transform: rotate(-15deg);
   box-shadow: 0 4px 7.5px 0 #0008;
   transition: ease-in-out 1s;
}
.umikoria_001 {
   height: 200px;
   width: 200px;
   background-image: url("../img/services/umikoria/tile_001.png");
   background-size: cover;
   transform: rotate(15deg);
}
.hero_box:hover .umikoria_000 {
   height: 250px;
   width: 250px;
   background-image: url("../img/services/umikoria/tile_010.png");
}
.hero_box:hover .umikoria_001 {
   height: 250px;
   width: 250px;
   background-image: url("../img/services/umikoria/tile_011.png");
}

/* sinkora */
#sinkora-box:hover .hero_star {
   width: 200px;
   height: 200px;
   animation: rotate-star 15s linear infinite;
   transition: ease-in-out 1s;
}
@keyframes rotate-star {
   from {
      transform: translate(-50%, -50%) rotate(0deg);
   }
   to {
      transform: translate(-50%, -50%) rotate(360deg);
   }
}

/* signetix */
.movement.signetix {
   display: flex;
   top: calc(50% - 40px);
   transition: ease-in-out 1s;
}
.signetix_wm {
   position: absolute;
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
   opacity: 0;
   transition: ease-in-out 1s;
   z-index: 4;
}
.movement.signetix .signetix_imgs {
   display: flex;
   transition: ease-in-out 1s;
   z-index: 0;
}
.signetix_imgs img {
   margin: 0 -100px;
   height: 200px;
   width: 200px;
   object-fit: cover;
   box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.5);
   filter: blur(2px);
   transition: ease-in-out 1s;
}
.signetix_imgs img:nth-child(2) {
   margin: 0;
   margin-top: -30px;
   height: 230px;
   width: 230px;
   z-index: 5;
}
.hero_box:hover .signetix_imgs img {
   margin: 0 -140px;
}
.hero_box:hover .signetix_imgs img:nth-child(2) {
   margin: 0;
   margin-top: -40px;
   height: 260px;
   width: 260px;
   filter: blur(0px);
}
.hero_box:hover .signetix_wm {
   opacity: 1;
}

/* raita */
.movement.raita {
   display: flex;
   transition: ease-in-out 1s;
}
.front {
   position: absolute;
   top: -175px;
   left: -150px;
   height: 300px;
   width: 300px;
   object-fit: contain;
   transform: rotate(-5deg);
   transition: ease-in-out 1s;
   opacity: 1;
}
.inner {
   position: absolute;
   top: -175px;
   left: -250px;
   height: 250px;
   width: 500px;
   object-fit: contain;
   transform: rotate(-5deg);
   transition: ease-in-out 1s;
   opacity: 0;
}
.cd {
   position: absolute;
   top: -167px;
   left: 28px;
   height: 210px;
   width: 210px;
   object-fit: contain;
   transition: ease-in-out 1s;
   opacity: 0;
   z-index: 7;
}

.hero_box:hover .movement.raita .front {
   opacity: 0;
}
.hero_box:hover .movement.raita .inner {
   opacity: 1;
}
.hero_box:hover .movement.raita .cd {
   opacity: 1;
   animation: rotate-cd 15s linear infinite;
   transition: ease-in-out 1s;
}
@keyframes rotate-cd {
   from {
      transform: rotate(0deg);
   }
   to {
      transform: rotate(360deg);
   }
}
