/* hero */

.hero{
    height: calc(100dvh + 100px);
    position: relative;
    width: 100dvw;
    overflow: hidden;
}

.hero::before{
    content: "";
    background-color: var(--colorRed);
    left: 0; top:0;
    width: 100%; height: 100%;
    position: absolute;
    pointer-events: none;
    opacity: 1;
    transition: opacity 1s;
}
.hero.on::before{
    opacity: 0;
}


.hero .logo-wrapper{
    max-width: 735px;
    width: 100vw;
    padding-inline: 40px;
}
.hero .logo{
    width: 100%;
}
.hero .logo > img{
    width: 100%;
}


.logo-moto{
    font-size: 37px;
    line-height: 77px;
    letter-spacing: .18px;
    text-align: center;
    font-weight: 700;
    margin-top: 45px;
    color: #000;
    transform: translateY(200%);
    opacity: 0;
    transition: all .3s;
    transition-delay: 1s;
}

.hero.on .logo-moto{
    opacity: 1;
    transform: translateY(0);
}


.hero > .bubble-left-top{
    width: 800px;
    top: 0;
    left: 0;
    transform: translate(-100px, -200px);
}
.hero > .bubble-left-bottom{
    width: 600px;
    bottom: 0;
    left: 0;
    transform: translateX(-150px);
}
.hero > .bubble-left-bottom > img{
    transform: rotate(-180deg);
}
.hero > .bubble-right{
    width: 1200px;
    bottom: 0;
    right: 0;
    transform: translate(20vw, -200px);
}
.hero > .bubble-right img{
    transform: rotate(45deg);
}


@media screen and (max-width: 1600px) { 
    .hero > .bubble-right{
        width: 1000px;
        transform: translate(20vw, -300px);
    }
}
@media screen and (max-width: 1440px) { 
    .hero > .bubble-right{
        width: 1100px;
        transform: translate(40vw, -300px);
    }
    .hero > .bubble-left-bottom{
        width: 600px;
        transform: translateX(-250px);
    }
}
@media screen and (max-width: 1180px) { 
    .hero > .bubble-right{
        width: 800px;
        transform: translate(40vw, -300px);
    }
    .hero > .bubble-right img{
        transform: rotate(70deg);
    }
    .hero > .bubble-left-bottom{
        width: 500px;
        transform: translateX(-250px);
    }
}
@media screen and (max-width: 980px) { 
    .hero .logo{
        max-width: 600px
    }
    .logo-moto{
        font-size: 28px;
        line-height: 55px;
    }
}
@media screen and (max-width: 920px) { 
    .hero > .bubble-left-bottom{
        display: none;
    }
    .hero > .bubble-left-top{
        transform: translate(0);
        width: 600px;
        left: 30%;
    }
    .hero > .bubble-right{
        width: 600px;
        bottom: 0;
        right: unset;
        left: 0;
        transform: translateX(-25vw);
    }
    .hero > .bubble-right img{
        transform: rotate(140deg);
    }
}
@media screen and (max-width: 520px) { 
    .logo-moto{
        font-size: 20px;
        line-height: 35px;
        margin-top: 21px;
    }
    .hero > .bubble-right{
        width: 500px;
        transform: translateX(-50%);
    }
}


/* intro */

.intro{
    position: relative;
    overflow: hidden;
    height: 100dvh;
}

.intro-text{
    color: #000;
    font-weight: 700;
    font-size: 30px;
    line-height: 50px;
    transform: translateX(-100%);
    opacity: 0;
    transition: all .3s;
}

.intro.on .intro-text{
    transform: translateX(0);
    opacity: 1;    
}
.intro .bubble-right{
    right: -200px;
    width: 70vw;
    left: unset;
    z-index: -1;
    top: 50%;
    transform: translateY(-50%);
}
.intro .bubble-right img{
    width: 100%;
    transform: rotate(-200deg);
}

.intro-wrapper{
    width: 100dvw;
    gap: clamp(3rem, 5vw, 100px);
    max-width: 1720px;
    align-items: flex-end;
}

.intro-text{
    /* width: 560px; */
    width: 35%;
}

.intro-image{
    width: 65%;
    transform: translateY(100%);
    opacity: 0;
    transition: all .3s;
}
.intro.on .intro-image{
    transform: translateY(0);
    opacity: 1;
}

.intro-image img{
    width: 100%;
}

@media screen and (max-width: 1320px) { 
    .intro-wrapper{
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .intro-image{
        width:100%;
        max-width: 800px;
    }
    .intro-text{
        width: 100%;
        max-width: 560px;
    }
    .intro .bubble-right{
        right: unset;
        left: 50%;
        top: unset;
        bottom: 0;
        width: 100%;
        max-width: 800px;
        transform: translate(-50%);
        padding-inline: 2rem;
    }
}

@media screen and (max-width: 680px) { 
    .intro{
        height: auto;
        padding-block: 60px 150px;
    }
    .intro-wrapper{
        gap: 60px;
    }
    .intro .bubble-right{
        left: -50px;
        bottom: 0;
        width: 120vw;
        max-width: unset;
        transform: translate(0);
    }
}
@media screen and (max-width: 620px) { 
    .intro-wrapper{
        text-align: left;
    }
    .intro-text{    
        font-size: 25px;
        line-height: 40px;
    }

}
@media screen and (max-width: 480px) { 
    .intro .bubble-right{
        transform: translateY(-50px);    
    }
}
@media screen and (max-width: 420px) { 
    .intro .bubble-right{
        width: 130vw;
    }
}

/* wave seperator */

.wave-seperator{
    position: relative;
    height:400px;
    margin-top: -100px;
    overflow: hidden;
}
.wave-seperator > .bubble{
    width: 110vw;
    transform: translate(-50px, -100px);
    filter: var(--filterPink);
}
.wave-seperator > .bubble img{
    transform: rotate(-21deg);
}

@media screen and (max-width: 1320px) { 
    .wave-seperator{
        height:300px;
        margin-top: 0;
    }    
}
@media screen and (max-width: 920px) { 
    .wave-seperator{
        height:200px;
        margin-top: 0;
    }    
    .wave-seperator > .bubble{
        transform: translate(-50px, 0);
    }   
}
@media screen and (max-width: 520px) {    
    .wave-seperator > .bubble{
        width: 150vw;
    }   
}

/* about */


.about .section-header{
    max-width: 750px;
}

.about-info{
    margin-top: 104px;
    font-size: 45px;
    line-height: 55px;
    text-align: center;
    max-width: 921px;
}

.about{
    position: relative;
    overflow: hidden;
    background-color: #FFEEEF;
    padding-bottom: 400px;
}

.about-info span{
    font-weight: 700;
}

@media screen and (max-width: 1440px) { 
    .about{
        padding-bottom: 432px;
    }
}
@media screen and (max-width: 1320px) { 
    .about-info{
        font-size: 40px;
        line-height: 50px;
    }
}
@media screen and (max-width: 1020px) { 
    .about-info{
        margin-top: 70px;
        font-size: 35px;
        line-height: 45px;
    }
}
@media screen and (max-width: 920px) { 
    .about{
        padding-top: 2rem;
    }
}
@media screen and (max-width: 780px) { 
    .about-info{
        font-size: 30px;
    }
}
@media screen and (max-width: 520px) { 
    .about{
        padding-bottom: 250px;
    }
    .about-info{
        margin-top: 50px;
        font-size: 25px;
        line-height: 40px;
    }
}

/* dot seperator */

.dot-seperator{
    overflow: hidden;
    height: 400px;
    position: relative;
    margin-top: -450px;
}

.dot-seperator .bubble{
    z-index: 2;
    filter: brightness(0) invert(1);
}
.dot-seperator .bubble-left{
    width: 400px;
    left: -100px;
    bottom: 0;
}
.dot-seperator .bubble-right{
    width: 350px;
    right: -50px;
    top: 0;
}
.dot-seperator .bubble-left img{
    transform: rotate(180deg);
}

@media screen and (max-width: 1440px) {
    .dot-seperator{
        height: 400px;
        margin-top: -400px;
    }
}
@media screen and (max-width: 820px) {
    .dot-seperator .bubble-left{
        left: -200px;
    }
    .dot-seperator .bubble-right{
        right: -150px;
    }
}
@media screen and (max-width: 520px) {
    .dot-seperator .bubble-left{
        width: 180px;
        left: -20px;
    }
    .dot-seperator .bubble-right{
        right: -50px;
        width: 120px;
    }
    .dot-seperator{
        height: 200px;
        margin-top: -250px;
    }
}

/* line seperator */
.line-seperator{
    position: relative;
    overflow: hidden;
    height: 600px;
    margin-top: -300px;
    padding-bottom: 0; 
    z-index: 4;
}
.line-seperator::before{
    content: "";
    bottom: 0;
    left: 0;
    width: 100%; 
    height: 250px;
    background-color: var(--colorSec);
    position: absolute;
}
.line-seperator .line{
    left: 0;
    top: 0;
    width: 110vw;
    position: absolute;
}
.line-seperator .line > img{
    width: 100%;
}
.line-seperator .line{
    left: 0;
    top: 0;
}
@media screen and (min-height: 1100px) {
    .line-seperator{
        height: 700px;
    }
    .line-seperator::before{
        height: 350px;
    }
}
@media screen and (max-width: 1960px) {
    .line-seperator{
        height: 400px;
        margin-top: -300px;
        padding-bottom: 100px; 
    }
    .line-seperator::before{
        height: 100px;
    }
}
@media screen and (max-width: 1440px) {
    .line-seperator{
        padding-bottom: 0;
        height: 300px
    }
    .line-seperator::before{
        display: none;
    }
}
@media screen and (max-width: 520px) {
    .line-seperator{
        height: 150px;
        margin-top: -150px;
    }
}

/* actions */

.actions{
    min-height: 920px;
    padding-top: 2rem;
    margin-top: -200px;
    position: relative;
    z-index: 20;
}

.actions-grid-outer{
    background-color: var(--colorSec);
    width: 100%;
    padding-bottom: clamp(60px, 8vw, 110px);
}

.actions-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, auto);
    grid-gap: 1rem 2rem;
    max-width: 1220px;
    margin-top: 100px;
}

.action{
    display: grid;
    grid-template-rows: subgrid;
    flex-direction: column;
    grid-row: 1 / -1;
    text-align: center;
    --width: 212px;
    position: relative;
}

.action:before{
    content: "";
    width: 100%;
    height: 110%;
    background-color: var(--colorRed);
    position: absolute;
    left:0;
    bottom: 0;
    transition: height .3s;
}
.action.on:before{
    height: 0;
}

.actions-grid > div:nth-of-type(1):before{transition-delay: 0.1s;}
.actions-grid > div:nth-of-type(2):before{transition-delay: 0.2s;}
.actions-grid > div:nth-of-type(3):before{transition-delay: 0.3s;}
.actions-grid > div:nth-of-type(4):before{transition-delay: 0.4s;}

.action-icon{
    background-color: var(--colorRed);
    aspect-ratio: 1;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: var(--width);
    margin-inline: auto;
}

.action-title{
    font-size: 30px;
    letter-spacing: .15px;
    line-height: 35px;
    align-self: center;
    font-weight: 700;
}

.action-info{
    font-size: 20px;
    line-height: 30px;
    background-color: #fff;
    color: #000;
    padding: 2rem 1.5rem;
    min-height: 333px;
    max-width: var(--width);
    margin-inline: auto;
}

@media screen and (max-width: 1960px) { 
    .actions{
        margin-top: -105px;
    }
}
@media screen and (max-width: 1220px) { 
    .actions-grid{
        grid-gap: 1rem;
    }
}
@media screen and (max-width: 980px) { 
    .actions{
        margin-top: 0;
        background-color: var(--colorSec);
    }
    .actions-grid-outer{
        padding-bottom: 60px;
    }
    .actions-grid{
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        margin-top: 50px;
    }
    .action:nth-of-type(1),
    .action:nth-of-type(2){
        grid-row: 1 / 4;
    }
    .action:nth-of-type(3),
    .action:nth-of-type(4){
        grid-row: 4 / 8;
        margin-top: 1rem;
    }
    .action-info{
        min-height: unset;
    }
    .action::before{display: none;}
    .action{
        opacity: 0;
        transition: opacity .3s;
    }
    .action.on{
        opacity: 1;
    }
}
@media screen and (max-width: 620px) { 
    .action-title{
        font-size: 25px;
        line-height: 30px;
        letter-spacing: .13px;
    }
    .action-info{
        line-height: 25px;
    }
}
@media screen and (max-width: 480px) { 
    .actions-grid{
        grid-template-columns: 1fr;
        margin-top: 30px;
    }
    .action{
        grid-column: 1 / -1;
    }
    .action:nth-of-type(2){
        grid-row: 4 / 8;
        margin-top: 1rem;
    }
    .action:nth-of-type(3){
        grid-row: 8 / 12;
    }
    .action:nth-of-type(4){
        grid-row: 12 / 16;
    }
}

/* numbers */

.numbers{
    padding-block: 64px 0;
}

.numbers-grid{
    display: grid;
    grid-template-columns: repeat(2, 50%);
    max-width: 900px;
    margin-inline: auto;
    margin-top: 29px;
}
.numbers-block{
    aspect-ratio: 1;
    color: #000;
    position: relative;
    font-size: 20px;
    letter-spacing: .1px;
    line-height: 25px;
    opacity: 0;
    transition: opacity .3s;
    /* perspective: 1000px; */
}
.numbers-block.on{
    opacity: 1;
}
.numbers-block.red .numbers-card{
    background-color: var(--colorRed);
    color: #fff;
}
.numbers-card{
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .3s;
    background-color: var(--colorSec);
    position: relative;
}

.numbers-card > div{
    width: 100%;
    height: 100%;  
    position: absolute;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden; 
    left: 0; top: 0; 
}

.numbers-front{
    padding: 44px 75px 44px 25px; 
}
.numbers-back{
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
}
.numbers-block .numbers-card{
    /* transform: rotateY(180deg); */
}
.numbers-block .numbers-back{
    background-color: var(--colorRed);
}
.numbers-block.red .numbers-back img{
    filter: brightness(0) invert(1);
}
.numbers-block.red .numbers-back{
    background-color: var(--colorSec);
}
.numbers-block.red .numbers-back img{
    filter: var(--filterRed);
}
.numbers-block.on .numbers-card{
    /* transform: rotateY(0); */
}


.block-title{
    font-size: 30px;
    letter-spacing: .15px;
    color: var(--colorRed);
    margin-bottom: 45px;
    transition: all .3s;
    transition-delay: .3s;
    opacity: 0;
    transform: translateY(-100%);
}

.numbers-block.red .block-title{
    color: #fff;
}
.block-info{
    transition: all .3s;
    transition-delay: .6s;
    opacity: 0;
    transform: translateX(-50%);    
}
.block-icon{
    position: absolute;
    right: 47px;
    bottom: 26px;
    filter: brightness(0) saturate(100%) invert(18%) sepia(97%) saturate(7365%) hue-rotate(0deg) brightness(99%) contrast(92%);
    opacity: 0;
    transform: translateY(100%);
    transition: all .3s;
    transition-delay: .3s;
}
.numbers-block.red .block-icon{
    filter: none;
}
.numbers-block.on :is(.block-title, .block-icon, .block-info){
    opacity: 1;
    transform: translateY(0);
}

.block-info span{
    display: block;
    font-size: 35px;
    font-weight: 700;
    margin-block: .5ch;
}
.block-info span.block{
    display: block;
    font-size: 20px;
    font-weight: 300;
}
.block-info span.lg{
    font-size: 40px;
    display: inline-block;
}

@media screen and (max-width: 960px) { 
    .numbers-block  {
        aspect-ratio: unset;
        height: 450px;
    }
    .block-icon{
        right: .5rem;
        bottom: 1rem;
        width: 130px;
    }    
}
@media screen and (max-width: 760px) { 
    .numbers-front{
        padding-right: 2.5rem;
    }
}
@media screen and (max-width: 720px) { 
    .numbers-grid{
        display: flex;
        flex-direction: column;
    }
    .numbers-grid > div:nth-of-type(2){
        order:2;
    }
    .numbers-front{
        padding: 52px 2rem 18px 28px;
    }
}
@media screen and (max-width: 520px) {
    .numbers .wrapper{
        padding-inline: 2rem;
    }     
}
/* summary */

.summary{
    height: 700px;    
    position: relative;
    overflow: hidden;
    z-index: 2;
    margin-top: -100px;  
}
.summary .line{
    position: absolute;
    left: 50%;
    top: 0;
    width: 120vw;
    transform: translate(-49%, 125px);
}
.summary .line img{
    width: 100%;
}
.summary-header{
    color: var(--colorRed);
    text-align: center;
    font-size: 45px;
    padding-top: 16rem;
}
.summary-header .top{
    color:#000;
    font-size: 25px;
    margin-bottom: 17px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all .3s;
    font-weight: 700;
}
.summary-header.on .top{
    transform: translateY(0);
    opacity: 1;
}

.summary-header span{
    display: inline-block;
    letter-spacing: .23px;
    font-weight: 700;
    opacity: 0;
    transform: scale(0.2);
    transition: all .3s;
    font-weight: 700;
}
.summary-header.on span{
    opacity: 1;
    transform: scale(1);
}
.summary-header.on span:nth-of-type(1){transition-delay: .2s;}
.summary-header.on span:nth-of-type(2){transition-delay: .4s;}
.summary-header.on span:nth-of-type(3){transition-delay: .6s;}

.summary-header span:not(:last-of-type){
    margin-right: 1ch;
}
.summary .bubble-left{
    height: auto;
    left: 0;
    width: 800px;
    top: 0;
}
.summary .bubble-left img{
    transform-origin: top left;
    transform: rotate(25deg);
}
.summary .bubble-right{
    right: -100px;
    top: 0;
    width: 500px;
}

@media screen and (max-width: 2600px) {
    .summary-header{
        padding-top: 12rem;
    }
}
@media screen and (max-width: 2200px) {
    .summary-header{
        padding-top: 8rem;
    }
}
@media screen and (max-width: 1980px) {
    .summary-header{
        padding-top: 6rem;
    }
}
@media screen and (max-width: 1880px) {
    .summary{
        margin-top: -50px;
    }
    .summary .line{
        transform: translate(-49%, 100px);
    }
    .summary-header{
        padding-top: 8rem;
    }
}

@media screen and (max-width: 1480px) { 
    .summary .bubble-left{
        left: -150px
    }
    .summary .bubble-right{
        right: -150px;
    }
    .summary .line{
        width: 130vw;
    }
}
@media screen and (max-width: 1360px) { 
    .summary{
        height: 600px;
        margin-top: 60px;
    }
    .summary .bubble-left{
        left: -150px
    }
    .summary .bubble-right{
        width: 400px;
        right: -150px;
    }
    .summary .line{
        transform: translate(-50%, 0);
    }
}
@media screen and (max-width: 1080px) {
    .summary-header{
        padding-top: 4rem;
    }
}
@media screen and (max-width: 920px) { 
    .summary-header{
        font-size: 40px;
        padding-top: 0;
    }
    .summary{
        height: 610px;
    }
    .summary .bubble-right{
        width: 250px; right: -30px;
    }
    .summary .bubble-left{
        width: 400px;
        left: -50px;
        top: unset;
        bottom: 20px;
    }
    .summary .bubble-left img{
        transform-origin: top left;
        transform: rotate(0);
    }
}
@media screen and (max-width: 780px) { 
    .summary-header span{
        display: block;
    }
    .summary-header span:not(:last-of-type){
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
@media screen and (max-width: 520px) { 
    .summary .bubble-left{
        width: 300px;
    }
}

/* articles */

.article{
    overflow: hidden;
}

.articles article{
    position: relative;
    height: 100dvh;
    position: sticky;
    top: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.article-info{
    position: relative;
    max-width: 354px;
    font-size: 16px;
    color: #000;
    margin-left: 90px;
    opacity: 1;
}


.article-header{
    font-size: 30px;
    font-weight: 800;
    line-height: 35px;
    margin-block: 15px;
    color: var(--colorRed);
    position: relative;
}

.article-more{
    margin-top: 36px;
    border-bottom: 1px solid #000;
    font-weight: 700;
    width: fit-content;
    position: relative;    
}


.article-text{
    position: relative;
}

.article-info .bubble-text{
    position: absolute;
    left: -232px;
    top: -190px;
    width: 740px;
    opacity: 0.9;
}

.article-info .bubble-text img{
    width: 100%;   
    transform: rotate(200deg); 
}

@media screen and (max-width: 680px) { 
    .articles article{
        position: relative;
        display: block;
        height: auto;
    }
    .articles article .abs{
        position: relative;
        aspect-ratio: 16/9;
        height: auto;
    }
    .article-info{
        max-width: unset;
        margin-left: 0;
        padding:20px 18px;
        margin-bottom: 18px;
    }
    .article-info .bubble-text{
        display: none;
    }
    .article-header{
        margin-top: 0;
    }
    .article-more{display: none;}
}