body {
    font-family: "Onest", sans-serif;
    background: #F3F5F7 url("/assets/img/bg-logo-mobile.png") no-repeat top center;
    background-size: contain;
}

html {
    scroll-behavior: smooth;
}

.font-ubuntu {
    font-family: "Ubuntu", sans-serif;
}

.link {
    color: #EA232A;
    text-decoration: underline;
    transition: color .2s;
}

.link:hover {
    color: #FF333A;
}

/* Вызывает проблемы на чёрных */
.container {
    padding: 0 1rem;
}

.btn-link {
    display: flex;
    align-items: center;
    gap: .5rem;
    width: max-content;
    padding: 3px 5px 3px 20px;
    font-family: Ubuntu, sans-serif;
    font-weight: 600;
    font-size: 14px;
    border-radius: 99px;
    background: #EA232A;
    color: #FFFFFF;
    border: 1px solid #EA232A;
    cursor: pointer;
    transition: background .2s, color .2s, border .2s;
}

.btn-link:hover {
    background: #FF333A;
}

.btn-link.secondary {
    padding: 12px 20px 12px 20px;
    background: transparent;
    color: #EA232A;
    border: 1px solid #EA232A;
    transition: background .2s, color .2s;
}

.btn-link.secondary:hover {
    color: #FFFFFF;
    background: #FF333A;
    border-color: #FF333A;
}

.btn-link.secondary::after {
    content: none;
}

.btn-link::after {
    content: "";
    width: 32px;
    height: 32px;
    border-radius: 99px;
    background: #FFFFFF url("/assets/img/icons/arrow-black-icon.svg") no-repeat center center;
    transform: rotate(-30deg);
}

.btn-link:hover::after {
    animation-name: spinning-alive;
    animation-iteration-count: 1;
    animation-delay: 0s;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-direction: alternate;
}

.btn-link[disabled] {
    background: #878787;
    color: #FFFFFF;
    border: 1px solid #878787;
    cursor: not-allowed;
}

.btn-link.secondary[disabled] {
    background: transparent;
    color: #878787;
    border: 1px solid #878787;
    cursor: not-allowed;
}

.btn-link[disabled]:hover::after {
    animation-name: none;
}

.btn-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 40px;
    height: 40px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 99px;
    background: #EA232A;
    border: 1px solid #EA232A;
    transition: background .2s, color .2s;
}

.btn-icon-link:hover {
    background: #FF333A;
}

.btn-icon-link::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: url("/assets/img/icons/arrow-white-icon.svg") no-repeat center center;
    transform: rotate(-30deg);
}

.btn-icon-link:hover::after {
    animation-name: spinning-alive;
    animation-iteration-count: 1;
    animation-delay: 0s;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-direction: alternate;
}

@keyframes spinning-alive {
    0% {
        transform: rotate(-30deg);
    }
    30% {
        transform: rotate(-10deg);
    }
    70% {
        transform: rotate(-410deg);
    }
    100% {
        transform: rotate(-390deg);
    }
}

#btn-up,
#btn-call {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 99px;
    color: #FFFFFF;
    background: #EA232A;
    border: 1px solid #EA232A;
    cursor: pointer;
    opacity: 1;
    transition: transform .2s,
        opacity .2s,
        color .2s,
        background-color .2s,
        border .2s;
}

#btn-up img {
    transform: rotate(-90deg);
}

.btn-up-wrapper:hover #btn-up {
    color: #FFFFFF;
    background: #FF333A;
    border-color: #FF333A;
    transform: translateY(-10px);
}

#btn-up.inactive {
    pointer-events: none;
    opacity: 0;
}

#btn-call img {
    width: 20px;
    height: 20px;
}

#btn-call:hover {
    color: #FFFFFF;
    background: #FF333A;
    border-color: #FF333A;
    transform: scale(1.2);
}

.btn {
    display: block;
    padding: .5rem 1rem;
    font-family: Ubuntu, sans-serif;
    color: #FFFFFF;
    background: #EA232A;
    border-radius: 99px;
    text-align: center;
    border: 1px solid #EA232A;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, color .2s, border .2s;
}

.btn:hover {
    background-color: #FF333A;
}

.btn.secondary {
    color: #EA232A;
    background: #FFFFFF;
    border: 1px transparent solid;
}

.btn.secondary:hover {
    color: #FFFFFF;
    background: #FF333A;
    border-color: #FF333A;
}

.section-title {
    width: max-content;
    padding: .5rem 1.5rem;
    font-size: 16px;
    color: #FFFFFF;
    background: #EA232A;
    border-radius: 999px;
}

.section-heading {
    font-family: "Ubuntu", sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 35px;
}

#header {
    top: 1rem;
    left: 0;
    margin: 1rem;
    border-radius: 2rem;
    background: transparent;
    border-bottom: 2px solid transparent;
    transition: background .3s, border .3s;
}

#header.active {
    background: #FFFFFF;
    border-bottom: 2px solid #00000022;
}

#header.force-active  {
    background: #FFFFFF !important;
}

#nav-mobile-open {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s;
}

#nav-mobile-close {
    position: absolute;
    top: 1rem;
    right: 2rem;
}

#nav-mobile-open.active,
#nav-mobile-close.active {
    pointer-events: auto;
    opacity: 1;
}

.header__nav-link {
    transition: color .3s;
}

.header__nav-link:hover {
    background: #FF333A;
}

.header__nav-link.active {
    font-weight: 600;
    color: #EA232A;
}

.mobile-nav {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100dvh;
    color: #FFFFFF;
    background: rgba(0,0,0, .5);
    backdrop-filter: blur(3px);
    font-size: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease-in-out;
    z-index: 1100;
}

.mobile-nav.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-item {
    display: block;
    width: 100%;
    padding: .75rem 0;
    text-align: center;
    background: transparent;
    transition: background-color .2s;
}

.mobile-nav-item:hover {
    background: #EA232A66;
}

section.hero {
    height: 75dvh;
}

.hero-heading-1 {
    font-family: "Ubuntu", sans-serif;
    font-size: 33px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

.hero-heading-2 {
    font-family: "Ubuntu", sans-serif;
    font-size: 33px;
    font-weight: 600;
    text-transform: uppercase;
    color: #EA232A;
    text-align: center;
}

.hero-grid {
    display: flex;
    flex-direction: column;
}

.hero-grid .hero-heading-2 {
    margin-bottom: 1rem;
}

.hero-grid .chips {
    /*margin-bottom: 6rem;*/
}

.chip {
    width: max-content;
    padding: .5rem 1.5rem;
    font-size: 14px;
    color: #EA232A;
    background: #FFFFFF;
    border-radius: 999px;
    cursor: pointer;
}



#services {
    position: relative;
}

#services .container {
    --bingus-x: 180px;
    --dingus-y: 70px;
    position: relative;
    background: url("/assets/img/god-is-dead-and-we-killed-him.png");
    background-position: top center;
    background-size: var(--bingus-x) var(--dingus-y);
    background-repeat: no-repeat;
    border-radius: 0;
    overflow: hidden;
}

#services .container.hack {
    background: #1A1A1A;
}

#services .container::before {
    content: "";
    position: absolute;
    top: var(--dingus-y);
    left: 49%;
    transform: translateX(-50%) scaleX(1.2);
    display: block;
    width: var(--bingus-x);
    height: calc(100% - var(--dingus-y));
    background: #1A1A1A;
    z-index: -1;
}

#services .services-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: calc(50% - var(--bingus-x)/2);
    height: 100%;
    background: #1A1A1A;
    z-index: -1;
}

#services .services-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: calc(50% - var(--bingus-x)/2);
    height: 100%;
    background: #1A1A1A;
    z-index: -1;
}

#btn-down {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -40%);
    padding: 20px;
    background: #EA232A;
    border-radius: 999px;
    cursor: pointer;
    animation-name: bounce;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    animation-duration: 1s;
    animation-delay: 3s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    z-index: 100;
    transition: background-color .2s;
}

#btn-down:hover {
    animation-play-state: paused;
    background-color: #FF333A;
}

@keyframes bounce {
    0% {
        transform: translate(-50%, -40%);
    }
    100% {
        transform: translate(-50%, -75%);
    }
}

#btn-down img {
    width: 33px;
    height: 33px;
    transform: rotate(90deg);
}

#services .services-wrapper {
    position: relative;
    margin: 0 -1rem;
    padding: 3rem 1.5rem 1rem;
    border-radius: 0;
    /*background: #1A1A1A;*/
    color: #FFFFFF;
}

.services-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
    margin-bottom: 3rem;
}

.services-head .section-heading {
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 3;
}

.services-head p {
    max-width: 100%;
    text-align: left;
    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 3;
    font-size: 14px;
}

.services-head .btn-link {
    justify-self: start;
    grid-row: 4 / 5;
    grid-column: 1 / 3;
}

.service {
    display: flex;
    flex-direction: column;
    padding: 15px;
    color: #000000;
    background: #FFFFFF;
    border-radius: 12px;
}

.service-head {
    --borad: 15px;
    position: relative;
    margin-bottom: 1rem;
    border-top-right-radius: var(--borad);
    border-bottom-left-radius: var(--borad);
    overflow: hidden;
}

.service-head .service-price {
    position: absolute;
    top: 0;
    left: 0;
    padding-bottom: 5px;
    padding-right: var(--borad);
    border-bottom-right-radius: var(--borad);
    font-weight: 600;
    font-size: 14px;
    color: #EA232A;
    background: #FFFFFF;
}

.service-head .service-price::before {
    content: "";
    position: absolute;
    top: 0;
    right: calc(-1*var(--borad));
    display: block;
    width: var(--borad);
    height: var(--borad);
    transform-origin: center center;
    transform: rotate(180deg);
    background: url("/assets/img/concave.svg") no-repeat center center;
    background-size: cover;
}

.service-head .service-price::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    display: block;
    width: var(--borad);
    height: var(--borad);
    transform-origin: center center;
    transform: rotate(180deg);
    background: url("/assets/img/concave.svg") no-repeat center center;
    background-size: cover;
}

.service-head img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-head .btn-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    padding-top: 15px;
    padding-left: var(--borad);
    border-top-left-radius: var(--borad);
    background: #FFFFFF;
}

.service-head .btn-wrapper::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: calc(-1*var(--borad));
    display: block;
    width: var(--borad);
    height: var(--borad);
    transform-origin: center center;
    background: url("/assets/img/concave.svg") no-repeat center center;
    background-size: cover;
}

.service-head .btn-wrapper::after {
    content: "";
    position: absolute;
    bottom: 100%;
    right: 0;
    display: block;
    width: var(--borad);
    height: var(--borad);
    transform-origin: center center;
    background: url("/assets/img/concave.svg") no-repeat center center;
    background-size: cover;
}


.service h3 {
    font-family: "Ubuntu", sans-serif;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 1rem;
}

.service p {
    margin-top: auto;
    font-size: 14px;
}



.about-head {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.about-head .section-heading {
    max-width: max-content;
}

.about-head p {
    max-width: max-content;
    text-align: left;
}

.about-content {
    position: relative;
    bottom: 0;
    display: flex;
    flex-direction: column-reverse;
    column-gap: 4rem;
    row-gap: 2rem;
}

.about-content .block-text {
    margin-top: 0;
}

.about-content .block-text p {
    font-size: 14px;
}

.about-video {
    position: relative;
    /*padding-bottom: 4rem;*/
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    overflow: hidden;
}

.about-video .decor-block {
    --borad: 15px;
    position: absolute;
    width: 40px;
    height: 70px;
    background: #F3F5F7;
    z-index: 20;
}

.about-video .decor-block:nth-child(1) {
    top: 0;
    left: 0;
    border-bottom-right-radius: var(--borad);
}

.about-video .decor-block:last-child {
    bottom: 0;
    right: 0;
    border-top-left-radius: var(--borad);
}

.about-video .decor-block:nth-of-type(1)::before,
.about-video .decor-block:nth-of-type(1)::after,
.about-video .decor-block:last-child::before,
.about-video .decor-block:last-child::after {
    content: "";
    position: absolute;
    display: block;
    width: var(--borad);
    height: var(--borad);
    transform-origin: center center;
    background: url("/assets/img/concave-blue.svg") no-repeat center center;
    background-size: cover;
}

.about-video .decor-block:nth-of-type(1)::before {
    bottom: calc(-1*var(--borad));
    left: 0;
    transform: rotate(180deg);
}

.about-video .decor-block:nth-of-type(1)::after {
    top: 0;
    right: calc(-1*var(--borad));
    transform: rotate(180deg);
}

.about-video .decor-block:last-child::before {
    bottom: 0;
    left: calc(-1*var(--borad));
}

.about-video .decor-block:last-child::after {
    top: calc(-1*var(--borad));
    right: 0;
}


.about-video .video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    background: #EA232A;
    border-radius: 99px;
    cursor: pointer;
    z-index: 11;
}

.about-video .video-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 10;
}

.about-video video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}


#technologies .container {
    --padding-x: 1.5rem;
    padding: 3rem var(--padding-x) 1rem;
    background: #1A1A1A;
    color: #FFFFFF;
    border-radius: 0;
}

.technologies-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.technologies-head .section-heading {
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 3;
}

.technologies-head p {
    text-align: left;
    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 3;
}

.technologies-head .btn-link {
    justify-self: end;
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 2;
    grid-column-end: 3;
}

.tech-marquee-wrapper {
    position: relative;
    left: calc(-1*var(--padding-x));
    width: calc(100% + 2*var(--padding-x));
    overflow: hidden;
    /*overflow-y: visible;*/
}

.tech-marquee {
    display: flex;
    gap: 1rem;
    width: max-content;
    padding: .5rem 0 .5rem 1rem;
    animation: scroll var(--duration) linear infinite;
}

.tech-marquee:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.tech {
    position: relative;
    width: 70px;
    height: 70px;
    padding: 10px;
    border-radius: 15px;
    background: #FFFFFF;
    cursor: pointer;
    transform-origin: center center;
    transition: width .2s,  transform .2s;
}

.tech:hover {
    /*width: 500px;*/
    transform: scale(1.2);
}

.tech img {
    width: 50px;
    height: 50px;
}

.tech .tech-description {
    opacity: 0;
    pointer-events: none;
}

#floating-tech {
    position: absolute;
    top: var(--y);
    left: var(--x);
    padding: 1rem;
    min-width: 300px;
    max-width: 400px;
    color: #000000;
    background: #FFFFFF;
    border-radius: 5px;
    transform: translate(10px, 5px);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 6px 16px 0 #00000024;
    transition: opacity .2s;
}

#floating-tech.left {
    transform: translate(calc(-100% - 10px), 5px);
}

#floating-tech.top {
    translate: 0 calc(-100% - 5px);
}

#floating-tech.active {
    opacity: 1;
    /*pointer-events: auto;*/
}

.portfolio-head {
    display: grid;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.portfolio-head .section-heading {
}

.portfolio-head p {
    max-width: max-content;
    text-align: left;
}

.case {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.case:nth-child(2n) {
    margin-top: 0;
}

.case .case-head {
    --borad: 15px;
    position: relative;
    border-top-left-radius: var(--borad);
    border-top-right-radius: var(--borad);
    border-bottom-left-radius: var(--borad);
    overflow: hidden;
}

.case .btn-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: end;
    justify-content: end;
    width: 70px;
    height: 70px;
    background: #F3F5F7;
    border-top-left-radius: var(--borad);
    z-index: 20;
}

.case .btn-wrapper::before,
.case .btn-wrapper::after {
    content: "";
    position: absolute;
    display: block;
    width: var(--borad);
    height: var(--borad);
    transform-origin: center center;
    background: url("/assets/img/concave-blue.svg") no-repeat center center;
    background-size: cover;
}

.case .btn-wrapper::before {
    bottom: 0;
    left: calc(-1*var(--borad));
}

.case .btn-wrapper::after {
    top: calc(-1*var(--borad));
    right: 0;
}


.case .case-head img {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
}

.case .case-head .btn-icon-link {
    width: 50px;
    height: 50px;
}

.case h3 {
    min-height: 3em;
    font-family: Ubuntu, sans-serif;
    font-size: 20px;
    font-weight: 600;
}



#reviews .container {
    background: #1A1A1A;
    color: #FFFFFF;
    border-radius: 0;
    overflow: hidden;
    --padding-x: 1.5rem;
    padding: 1rem var(--padding-x);
    /*padding: 1rem 0;*/
}

.reviews-head {
    /*--padding-x: 1.5rem;*/
    /*padding: 0 var(--padding-x);*/
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.reviews-head .section-heading {
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 3;
}

.reviews-head p {
    max-width: max-content;
    text-align: left;
    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 3;
}

.reviews-head .btn-link {
    justify-self: end;
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 2;
    grid-column-end: 3;
}

/*.reviews-slider-wrapper {*/
/*    position: relative;*/
/*    height: 320px;*/
/*}*/

#reviews {
    position: relative;
}

#reviews-slider.swiper {
    overflow: visible;
    cursor: grab;
}

.review {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 650px;
    padding: 30px;
    padding-bottom: 20px;
    color: #000000;
    background: #FFFFFF;
    border-radius: 30px;
}

.review p {
    position: relative;
    font-family: Ubuntu, sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 1rem;
}

.review p::before {
    content: "";
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    display: block;
    width: 30px;
    height: 30px;
    background: url("/assets/img/icons/quote-icon.svg") no-repeat;
    background-size: 30px 30px;
}

.review cite {
    /*display: grid;*/
    /*grid-template-columns: 1fr max-content;*/
    /*column-gap: 1rem;*/
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: auto;
}

.review cite b {
    font-size: 16px;
    font-style: normal;
}

.review cite small {
    font-size: 14px;
    font-style: normal;
}

.review cite .btn-review-link {
    justify-self: end;
    grid-row-start: 1;
    grid-row-end: 3;
    grid-column-start: 2;
    grid-column-end: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 50px;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 99px;
    background: #EA232A;
    border: 1px solid #EA232A;
    transition: background .2s, color .2s;
}

/* - - - Brief section: - - - */

#brief .container {
    padding: 0;
}

#brief .brief-head {
    padding: 0 1rem;
}

.brief-head {
    display: grid;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.brief-head .section-heading {
}

.brief-head p {
    max-width: max-content;
    text-align: left;
}

.brief-blocks {
    display: grid;
    grid-template-columns: 1fr;
}

.brief-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 20px;
    border-radius: 0;
}

.brief-block h4 {
    font-family: Ubuntu, sans-serif;
    font-weight: 600;
    font-size: 30px;
    margin-bottom: 1rem;
}

.block-red {
    color: #FFFFFF;
    background: #EA232A;
}

.block-red img {
    height: 150px;
}

.block-send {
    position: relative;
    background: #FFFFFF;
}

.form-wrapper {
    transition: opacity .5s;
}

.success-block {
    top: 0;
    left: 0;
    background: #FFFFFF;
    border-radius: 30px;
    transition: opacity .4s;
}

.success-block * {
    transition: opacity .2s;
}

.success-block .checkmark.animate {
    animation: spin;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    animation-duration: .5s;
    animation-delay: 1s;
    animation-iteration-count: 1;
    animation-direction: alternate;
}

@keyframes spin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

.brief-form {
    display: grid;
    row-gap: 1rem;
    column-gap: 2rem;
    margin-bottom: 1rem;
}

.brief-form #brief-file {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.input {
    display: flex;
    justify-content: space-between;
    padding: .75rem 1.5rem;
    border: 1px solid #000000;
    border-radius: 15px;
}

.input::placeholder {
    color: #000000;
    opacity: .5;
}

.block-contacts {
    background: #FFFFFF;
}

#brief .btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.social-link {
    padding: 20px;
    border-radius: 15px;
    background: #000;
}
/* - - - /Brief section - - - */


/* - - - Accordion: - - - */
.accordion {
    width: 100%;
}

.accordion-item {
    border-radius: 0.7rem;
    background: var(--accordion-item-body);
    box-shadow: 0 1px 5px 0 var(--accordion-item-shadow);
}

.accordion-item-header {
    padding: clamp(1.2rem, 4vw, 2rem);
    font-size: clamp(0.7rem, 0.8vw, 1rem);
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    color: var(	--accordion-item-header);
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

.accordion-item-header::after {
    content: "\002B";
    color: var(--red-color);
    font-size: clamp(1.5rem, 4.5vw, 3rem);
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
}

.accordion-item-header.active::after {
    content: "\2212";
}

.accordion-item-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.accordion-item-body-content {
    font-size: clamp(0.75rem, 0.8vw, 1rem);
    font-weight: 500;
    font-family: 'Manrope', sans-serif;
    color: var(--accordion-item-content);
    padding: clamp(1.2rem, 4vw, 2rem);
    line-height: 150%;
    border-top: 1px solid;
    border-image: linear-gradient(to right, transparent, var(--accordion-item-border), transparent) 1;
}
/* - - - /Accordion - - - */

/* - - - FAQ section: - - - */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: max-content;
    overflow: hidden;
}
.faq-list:first-child {
    border-top-right-radius: 30px;
    border-top-left-radius: 30px;
}
.faq-list:last-child {
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
}
.faq-item {
    padding: 0 1.5rem;
    background: #FFFFFF;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-item summary {
    cursor: pointer;
    padding: 1.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: #EA232A;
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-answer {
    padding-bottom: 1.25rem;
    max-width: 760px;
    line-height: 1.7;
    opacity: 0.85;
}
.faq-answer a {
    color: #EA232A;
    text-decoration: underline;
}

/*.faq-answer-wrapper {*/
/*    display: grid;*/
/*    grid-template-rows: 0fr;*/
/*    padding-bottom: 0;*/
/*    padding-top: 0;*/
/*    transition: padding .6s, grid-template-rows .6s;*/
/*}*/

/*details[open] .faq-answer-wrapper {*/
/*    grid-template-rows: 1fr;*/
/*    padding-bottom: 1rem;*/
/*    padding-top: .25rem;*/
/*}*/

/*.faq-answer-wrapper .faq-answer {*/
/*    overflow: hidden;*/
/*}*/

/* - - - /FAQ section - - - */

#footer .container {
    padding: 1rem 1.5rem;
    color: #FFFFFF;
    background: #1A1A1A;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    display: none;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    width: max-content;
    max-width: 100%;
    max-height: 11rem;
    font-size: 14px;
    padding: 1rem;
    background: #FFFFFF;
    border-radius: 0;
    z-index: 1000;
    border-top: 2px solid #00000022;
    transition: transform .5s, opacity .4s;
}

#cookie-banner.active {
    display: flex;
}

#cookie-banner.fading {
    transform: translate(-50%, 100px);
    opacity: 0;
}

#toast-popup {
    position: fixed;
    top: 130px;
    left: 50%;
    padding: 1rem;
    min-width: 300px;
    transform: translate(-50%, -300px);
    border-radius: 15px;
    background: #FFFFFF;
    opacity: 0;
    pointer-events: none;
    z-index: 1010;
    box-shadow: 0 6px 16px 0 #00000014;
    transition: transform .5s, opacity .5s;
}

#toast-popup.active {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.quiz-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.quiz-nav {
    position: relative;
    height: max-content;
    width: 100%;
    padding: 1.5rem;
    padding-right: 1rem;
    background: #FFFFFF;
    border-radius: 15px;
}

.quiz-nav nav {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.quiz-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .5rem 1rem;
    cursor: pointer;
}

.quiz-stage-title {

}

.quiz-stage-completion {
    display: flex;
    gap: .5rem;
    margin-left: auto;
}

#brief-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    appearance: none; /* Resets default look */
}

/* Background for Chrome/Safari/Edge */
progress::-webkit-progress-bar {
    background-color: #eee;
    border-radius: 10px;
}

/* Fill for Chrome/Safari/Edge */
progress::-webkit-progress-value {
    background-color: #EA232A;
    border-radius: 10px;
    transition: width 0.5s ease; /* Smooth filling effect */
}

/* Fill for Firefox */
progress::-moz-progress-bar {
    background-color: #EA232A;
    border-radius: 10px;
}

#brief-quiz {
    position: relative;
    padding: 3rem 1.5rem 1rem;
    background: #FFFFFF;
    border-radius: 30px;
    overflow: hidden;
    transition: opacity .4s;
}

.stupid-wrapper {
    position: relative;
}

/*#brief-quiz .quiz-wrapper {*/
/*    position: relative;*/
/*    padding: 3rem 1.5rem 1rem;*/
/*    border-radius: 30px;*/
/*    overflow: hidden;*/
/*}*/

.quiz-pages-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 70px;
    transition: height .5s;
}

.quiz-page {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: transform .5s, opacity .5s;
}

/*.quiz-page.prev {*/
    /*transform: translateX(-100%);*/
/*}*/

/*.quiz-page.next {*/
    /*transform: translateX(100%);*/
/*}*/

.quiz-page.active {
    opacity: 1;
    pointer-events: auto;
}

.quiz-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.5rem;
}

#brief-percentage {
    font-family: Ubuntu, sans-serif;
    font-weight: 600;
    font-size: 18px;
    opacity: 50%;
    transition: opacity .2s, color .2s;
}

#brief-percentage.well-done {
    color: #EA232A;
    opacity: 100%;
}

.brief-input {
    padding: 1rem 1.5rem;
    border: 1px solid #000000;
    border-radius: 15px;
}

.brief-input:focus {
    outline: none;
    /*border-bottom: 1px solid #EA232A;*/
}

.brief-textarea {
    padding: 1rem 1.5rem;
    border: 1px solid #000000;
    border-radius: 15px;
    /*border-bottom: 1px solid #000000;*/
}

.brief-textarea:focus {
    outline: none;
}

.input-line {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*height: 100%;*/
    gap: .25rem;
    width: 100%;
    min-width: 0;
}

.form-line {
    display: grid;
    grid-template-columns: 1fr;
    align-items: end;
    row-gap: .5rem;
    column-gap: 1rem;
}

.form-line.electric-boogaloo {
    grid-template-columns: 1fr;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
}

.custom-checkbox input {
    display: none;
}

.custom-checkbox::before {
    content: "";
    display: block;
    width: 1rem;
    height: 1rem;
    min-width: 1rem;
    background: #FFFFFF;
    border: 1px solid #000000;
    border-radius: 3px;
    cursor: pointer;
    transition: background .2s, border .2s;
}

.custom-checkbox.checked::before {
    background: #EA232A url("/assets/img/icons/checkmark-white-icon.svg") no-repeat;
    background-size: cover;
    border: 1px solid #EA232A;
}

.input-error-wrapper {
    position: relative;
}

.input-error-wrapper .error {
    position: absolute;
    top: 50%;
    right: 1rem;
    display: block;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}

.input-error-wrapper.active .error {
    opacity: 1;
    pointer-events: auto;
}

.input-error-wrapper .error-icon {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    background: url("/assets/img/icons/warning-icon.svg") center center no-repeat;
    background-size: cover;
}

.input-error-wrapper.custom-checkbox {
    padding-right: 3rem;
}

.input-error-wrapper.custom-checkbox .error {
    right: 1rem;
}

.input-error-wrapper .error-message {
    position: absolute;
    top: -.75rem;
    right: -.5rem;
    display: block;
    width: max-content;
    height: auto;
    max-width: 300px;
    padding: .5rem 1rem;
    border-radius: 5px;
    background: #FFFFFF;
    font-size: 14px;
    opacity: 1;
    transform: translateY(-100%);
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 6px 16px 0 #00000024;
    transition: opacity .2s;
}

.input-error-wrapper .error-message::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    transform: translate(-10px, 100%);
    width: 0; height: 0;
    border-style: solid;
    border-width: 10px 7px 0px 7px;
    border-color: #FFFFFF transparent transparent transparent;
}


.input-error-wrapper .input {
    width: 100%;
    transition: border-color .2s;
}

.input-error-wrapper.active .input {
    border-color: #EA232A;
}

.input-error-wrapper .brief-input {
    width: 100%;
    transition: border-color .2s;
}

.input-error-wrapper.active .brief-input {
    border-color: #EA232A;
}

.input-error-wrapper.active.custom-checkbox::before {
    border-color: #EA232A;
}

.input-error-wrapper.quiz-nav-item .error {
    right: 0;
    left: -.75rem;
}

.input-error-wrapper .brief-file-input {
    width: 100%;
    transition: border-color .2s;
}

.input-error-wrapper .brief-file-input + .error {
    right: .2rem;
}

.contact-phone .concealable {
    /*display: inline-block;*/
    /*width: 114px;*/
    transition: filter .2s;
}

.contact-phone .concealed {
    filter: blur(5px);
}

#process .container {
    padding: 1.5rem 1rem;
    color: #FFFFFF;
    background: #1A1A1A;
}

.process-content {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: space-between;
    border-radius: 15px;
    overflow: hidden;
}

.process-step {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    padding: 20px;
    /*height: 180px;*/
    color: #000000;
    border-radius: 0;
    background: #FFFFFF;
}

.process-step .step-number {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 99px;
    font-size: 20px;
    color: #FFFFFF;
    background: #EA232A;
}

.process-step h3 {
    font-family: Ubuntu, sans-serif;
    font-size: 20px;
    font-weight: 600;
}

.process-step p {
}

.process-arrow {
    position: absolute;
    display: none;
}


.arrow-left {
    right: 100%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.arrow-right {
    left: 100%;
    top: 50%;
    transform: translate(50%, -50%);
}

.arrow-down {
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
}

.process-step.final {
    background: #EA232A;
    color: #FFFFFF;
}

.process-step.final .step-number {
    color: #000000;
    background: #FFFFFF;
}


.step-1 .arrow-left,
.step-1 .arrow-down {
    display: none;
}

.step-2 .arrow-left,
.step-3 .arrow-right {
    display: none;
}

.step-4 .arrow-right,
.step-5 .arrow-down {
    display: none;
}
