:root {
    --accent: #ffc85e;
    --black: #333639;
    --black-70: rgba(51, 54, 57, 0.7);
    --black-30: rgba(51, 54, 57, 0.3);
    --white: #fdfdfd;
    --second-bg: #f4f7f5;
    --footer-pattern: radial-gradient(circle at 1px 1px, rgba(253, 253, 253, 0.08) 1px, transparent 0);
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Onest', sans-serif;
}

.project-single-page {
    padding-top: 11px;
}

.project-hero {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding-top: 15px;
    padding-right: 157px;
    gap: 196px;
}

.section-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    height: 40px;
    padding: 10px 14px 10px 12px;
    border-left: 3px solid var(--accent);
    background: var(--second-bg);
    color: var(--black-70);
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}

.section-label::after {
    content: '';
    position: absolute;
    top: 0;
    right: -5px;
    width: 15px;
    height: 100%;
    background: inherit;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.section-label--center {
    align-self: center;
}

.section-label--dark {
    height: 40px;
    padding: 10px 16px 10px 15px;
    border-left-width: 3px;
    background: var(--white);
    font-size: 16px;
    font-weight: 600;
}

.section-label--dark::after {
    right: -15px;
    width: 15px;
}

.project-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 680px;
    padding-top: 71px;
    flex: 1 1 680px;
}

.project-hero__title {
    width: 680px;
    margin: 0;
    color: var(--black);
    font-family: var(--font-heading);
    font-size: 49px;
    font-weight: 700;
    line-height: normal;
    text-transform: capitalize;
}

.project-hero__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 0;
    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.project-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.project-meta-item svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.project-hero__desc {
    width: 680px;
    margin: 0;
    color: var(--black-70);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.project-hero__desc p {
    margin: 0;
}

.project-hero__desc p + p {
    margin-top: 15px;
}

.btn-primary,
.btn-dark {
    display: inline-flex;
    align-items: center;
    height: 50px;
    border: 0;
    color: var(--black);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    text-decoration: none;
    text-transform: capitalize;
    cursor: pointer;
}

.btn-primary {
    min-width: 212px;
    background: none;
}

.btn-dark {
    min-width: 101px;
    background: var(--black);
    color: var(--white);
    justify-content: center;
    padding: 0 20px;
    clip-path: polygon(18px 0, 100% 0, calc(100% - 18px) 100%, 0 100%);
}

.btn-dark--wide {
    min-width: 208px;
}

.btn-primary__left,
.btn-primary__right {
    display: block;
    width: 20px;
    height: 50px;
    flex-shrink: 0;
    background: var(--accent);
}

.btn-primary__left {
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.btn-primary__center {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 15px 20px;
    background: var(--accent);
    white-space: nowrap;
}

.btn-primary__right {
    transform: rotate(180deg);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.project-hero__visual {
    position: relative;
    width: 522px;
    height: 650px;
    flex: 1 1 522px;
}

.project-hero__video {
    width: 100%;
    height: 100%;
}

.project-hero__media,
.project-hero__media img,
.project-hero__video iframe {
    width: 100%;
    height: 100%;
}

.project-hero__media img {
    object-fit: cover;
}

.project-hero__video iframe {
    border: 0;
}

.project-hero__play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0;
    border: 0;
    background: var(--accent);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.project-hero__play span {
    width: 0;
    height: 0;
    margin-left: 3px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid var(--black);
}

.project-story {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 160px;
}

.project-story__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 900px;
}

.project-story__title {
    margin: 20px 0;
    color: var(--black);
    text-align: center;
    font-family: var(--font-heading);
    font-size: 49px;
    font-weight: 700;
    line-height: normal;
}

.project-story__desc {
    margin: 0;
    color: var(--black-70);
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.project-story__track {
    display: grid;
    grid-template-columns: repeat(3, 440px);
    gap: 40px;
    width: 100%;
    padding-top: 40px;
}

.project-story__track-scrollbar {
    display: none;
}

.story-card {
    position: relative;
    width: 440px;
    height: 587px;
    overflow: hidden;
    cursor: pointer;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--white);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    z-index: 1;
}

.story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-card__btn {
    top: 55%;
    left: 50%;
    width: 81px;
    height: 80px;
    opacity: 0;
    visibility: hidden;
    background: var(--second-bg);
    transform: translate(-50%, -50%) skew(-14deg);
    transition: all 0.3s ease-in-out;
}
.story-card:hover .story-card__btn {
    top: 50%;
    opacity: 1;
    visibility: visible;
}
.story-card > img {
    transition: all 0.3s ease-in-out;
}
.story-card:hover > img {
    transform: scale(1.1);
}
.story-card__btn svg {
    width: auto;
    transform: skew(14deg);
}

.story-card__badge {
    position: absolute;
    left: 50%;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    transform: translateX(-50%);
    z-index: 1;
}

.story-card__badge-side {
    display: block;
    width: 20px;
    height: 50px;
    flex-shrink: 0;
    background: var(--white);
}

.story-card__badge-side--left {
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.story-card__badge-side--right {
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
}

.story-card__badge-center {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 15px 20px;
    background: var(--white);
    color: var(--black);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    white-space: nowrap;
}

.story-card__badge--accent {
    min-width: 181px;
}

.story-card__badge--accent .story-card__badge-side,
.story-card__badge--accent .story-card__badge-center {
    background: var(--accent);
}

.story-card__gallery {
    display: none;
}

.fancybox__backdrop {
    background: var(--white);
}

.fancybox__content {
    color: var(--black);
}

.fancybox__container {
    --fancybox-color: var(--black);
    --fancybox-bg: transparent;
}

.fancybox__container .f-button {
    top: 20px;
    right: 20px;
    width: 50px;
    height: 40px;
    border-radius: 0;
    color: var(--black);
    background: var(--white);
    border: 1px solid var(--black);
    transform: skew(-15deg);
    opacity: 0.6;
}
.fancybox__container .f-button svg {
    stroke: var(--black);
    transform: skew(15deg);
}

body .f-button:hover:not([disabled]),
body .fancybox__container .f-button:hover {
    background: var(--white);
    opacity: 1;
}

.fancybox__container .f-button svg {
    display: none;
}

.fancybox__container .f-button[data-fancybox-close]::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background-image: url(../../images/cross.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 18px;
    transform: skew(15deg);
}

body .is-horizontal .f-carousel__nav .f-button.is-next,
body .is-horizontal .fancybox__nav .f-button.is-next,
body .is-horizontal .f-carousel__nav .f-button.is-prev,
body .is-horizontal .fancybox__nav .f-button.is-prev,
body .fancybox__nav > button.f-button {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: skew(-15deg);
}
body .fancybox__nav > button svg {
    transform: skew(15deg);
}

body .is-horizontal .f-carousel__nav .f-button.is-next::before,
body .is-horizontal .fancybox__nav .f-button.is-next::before {
    position: static;
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url(../../images/next-arrow-icon.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: skew(15deg);
}

body .is-horizontal .f-carousel__nav .f-button.is-prev::before,
body .is-horizontal .fancybox__nav .f-button.is-prev::before {
    position: static;
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url(../../images/prev-arrow-icon.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transform: skew(15deg);
}

.fancybox__toolbar {
    padding: 20px;
}

.fancybox__toolbar__items {
    gap: 0;
}

.fancybox__caption {
    padding: 20px 24px 24px;
    color: var(--black);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    background: var(--white);
}

.fancybox__footer {
    background: transparent;
}

.fancybox__slide.has-image .fancybox__content {
    background: var(--white);
    padding: 20px;
}

.fancybox__slide {
    padding: 60px 20px 20px;
}
.fancybox__thumbs.is-horizontal,
.is-compact .fancybox__thumbs,
.fancybox__slide,
.f-thumbs__viewport {
    background: var(--second-bg);
}

.project-story__progress {
    display: none;
}

.project-single-page .section-get-started {
    margin-top: 160px;
}

.project-cta {
    display: grid;
    grid-template-columns: 680px 720px;
    min-height: 645px;
    margin-top: 160px;
    background: var(--accent);
    overflow: hidden;
}

.project-cta__content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 40px 80px 80px;
    background: var(--accent);
}

.project-cta__content::after {
    content: '';
    position: absolute;
    top: 0;
    right: -100px;
    width: 100px;
    height: 100%;
    background: var(--accent);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.project-cta__tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    height: 40px;
    padding: 10px 15px 10px 15px;
    border-left: 3px solid var(--black);
    background: var(--white);
    color: var(--black-70);
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}

.project-cta__tag::after {
    content: '';
    position: absolute;
    top: 0;
    right: -15px;
    width: 15px;
    height: 100%;
    background: var(--white);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.project-cta__title {
    position: relative;
    z-index: 1;
    width: 600px;
    margin: 20px 0;
    color: var(--black);
    font-family: var(--font-heading);
    font-size: 39px;
    font-weight: 700;
    line-height: normal;
}

.project-cta__desc {
    position: relative;
    z-index: 1;
    width: 560px;
    margin: 0 0 20px;
    color: var(--black);
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
}

.project-cta__form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.project-cta__row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.project-cta__field {
    width: 100%;
    border-bottom: 1px solid var(--black-30);
}

.project-cta__field input,
.project-cta__field textarea {
    width: 100%;
    height: 56px;
    padding: 20px 0;
    border: 0;
    background: transparent;
    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    outline: none;
}

.project-cta__field textarea {
    height: 72px;
    resize: none;
}

.project-cta__field input::placeholder,
.project-cta__field textarea::placeholder {
    color: rgba(51, 54, 57, 0.3);
}

.project-cta__field--wide {
    width: 100%;
}

.project-cta__privacy {
    width: 100%;
    margin: 0;
    padding-top: 0;
    color: var(--black-70);
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
}

.project-cta__privacy a {
    color: var(--black);
    text-decoration: underline;
}

.project-cta__visual,
.project-cta__visual picture,
.project-cta__visual img {
    width: 100%;
    height: 100%;
}

.project-cta__visual {
    position: relative;
}

.project-cta__visual::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 100%;
    background: var(--accent);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    z-index: 1;
}

.project-cta__visual img {
    object-fit: cover;
}

.project-cta .btn-dark {
    align-self: center;
    min-width: 130px;
}

.related-projects {
    display: grid;
    grid-template-columns: 440px 440px 440px;
    grid-auto-rows: auto;
    align-items: stretch;
    gap: 40px;
    padding-top: 160px;
    padding-bottom: 160px;
}

.related-projects__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 440px;
}

.related-projects__tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 5px 10px 15px;
    border-left: 3px solid var(--accent);
    background: var(--second-bg);
    color: var(--black-70);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.related-projects__tag::after {
    content: '';
    position: absolute;
    top: 0;
    right: -15px;
    width: 15px;
    height: 100%;
    background: inherit;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.related-projects__title {
    margin: 0;
    color: var(--black);
    font-family: var(--font-heading);
    font-size: 49px;
    font-weight: 700;
    line-height: normal;
}

.related-projects__desc {
    margin: 0;
    color: var(--black-70);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.related-projects__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    text-decoration: none;
}

.related-projects__back-left,
.related-projects__back-right {
    width: 20px;
    height: 50px;
    background: var(--black);
}

.related-projects__back-left {
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.related-projects__back-center {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    height: 50px;
    padding: 15px 20px;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    text-transform: capitalize;
    white-space: nowrap;
}

.related-projects__back-right {
    position: relative;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    right: 1px;
}

.related-projects__cards {
    align-self: start;
    width: 920px;
    overflow: hidden;
}

.related-projects__cards .swiper-wrapper {
    box-sizing: border-box;
}

.related-projects__cards .swiper-slide {
    width: 440px;
}

.project-card {
    position: relative;
    width: 440px;
    min-height: 529px;
    border: 1px solid var(--black-30);
    background: var(--white);
    overflow: hidden;
}

.project-card__image-link {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
}

.project-card__image-wrap {
    display: block;
    width: 100%;
    height: 330px;
}

.project-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card__hover {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 152px;
    height: 40px;
    background: rgba(253, 253, 253, 0.94);
    color: var(--black);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

.project-card:hover .project-card__hover {
    opacity: 1;
}

.project-card__content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: -40px;
    padding: 24px 20px 40px;
    background: var(--white);
    clip-path: polygon(0 0, 100% 40px, 100% 100%, 0 100%);
}

.project-card__tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 21px;
    padding: 4px 10px 4px 5px;
    border-left: 2px solid var(--accent);
    background: var(--second-bg);
    color: var(--black-70);
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
}

.project-card__tag::after {
    content: '';
    position: absolute;
    top: 0;
    right: -5px;
    width: 5px;
    height: 100%;
    background: inherit;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.project-card__title {
    margin: 0;
    color: var(--black);
    font-family: var(--font-heading);
    font-size: 31px;
    font-weight: 700;
    line-height: normal;
}
.project-card__title a {
    text-decoration: none;
}
.project-card__title a:hover {
    text-decoration: underline;
}

.project-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.project-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.project-card__meta-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.project-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: fit-content;
    height: 40px;
    margin-top: auto;
}

.project-pagination-wrapper {
    padding-top: 115px;
}

.project-pagination--mobile {
    display: none;
}

.project-pagination__bullets {
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-pagination__bullets .project-pagination__dash,
.project-pagination__bullets .swiper-pagination-bullet {
    width: 25px;
    height: 20px;
    margin: 0 !important;
    background: var(--black);
    clip-path: polygon(26% 0, 100% 0, 74% 100%, 0 100%);
    border-radius: 0;
    opacity: 1;
    cursor: pointer;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.project-pagination__bullets .project-pagination__dash--active,
.project-pagination__bullets .swiper-pagination-bullet-active {
    background: var(--accent);
    background-color: var(--accent);
}

.project-pagination__arrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--black);
    opacity: 0.6;
    cursor: pointer;
    font-weight: 400;
    line-height: 1;
}

.project-pagination__arrow::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--black);
    transform: skew(-19deg);
}

.project-pagination__arrow:hover {
    color: var(--black);
}

.project-pagination__arrow.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

.project-pagination__arrow svg {
    position: relative;
    z-index: 1;
    width: 10px;
    height: 15px;
}
