:root {
    --unbounded: "Unbounded", cursive;
    --helvetica: "Helvetica", sans-serif;
    --roboto: "Roboto", sans-serif;
    --primary: #1A1A1A;
    --primaryLight: #FFFFFF;
    --secondary: #343434;
    --accent: #000000;
    --accentHover: #343434;
    --accentActive: #000000;
    --100vh: 100vh;
    --headerHeight: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    font: inherit;
    text-decoration: none;
}

input,
button,
textarea {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
}

input:focus,
textarea:focus {
    outline: none;
}

button {
    cursor: pointer;
}

img {
    vertical-align: top;
}

ul,
ol {
    list-style: none;
}

body {
    font-family: var(--roboto);
    font-weight: 400;
    color: var(--secondary);
    display: flex;
    flex-direction: column;
    min-height: var(--100vh);
    height: 100%;
    overflow-y: scroll;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-grow: 0;
}

.section {
    padding-top: 80px;
}

.section--dark {
    background-color: #050505;
    padding-top: 40px;
    margin-top: 40px;
}

.section--dark + .section--dark {
    margin-top: 0;
}

.section__title {
    max-width: 700px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.section--dark .section__title {
    color: #fff;
}

[class*=__container] {
    max-width: 1440px;
    padding: 0 40px;
    margin: 0 auto;
}

h1,
.h1-like,
h2,
.h2-like,
h3,
.h3-like,
h4,
.h4-like,
h5,
.h5-like {
    font-family: var(--unbounded);
    color: var(--primary);
    font-weight: 800;
    line-height: 119.5%;
}

h1,
.h1-like {
    font-size: 60px;
}

h2,
.h2-like {
    font-size: 40px;
}

/* Icons */
.svg-logo {
    width: 162px;
    height: 18px;
    fill: var(--primaryLight);
}

.arrow-link {
    width: 17.5px;
    height: 17.5px;
    stroke: var(--primaryLight);
    transition: stroke 0.25s, transform 0.25s;
}

.play {
    width: 78px;
    height: 76px;
    fill: var(--primaryLight);
}

.vk {
    width: 40px;
    height: 40px;
    fill: var(--primaryLight);
}

.instagram {
    width: 40px;
    height: 40px;
    fill: var(--primaryLight);
}

.load-more-cases {
    height: 34px;
    width: 0;
    fill: #fff;
    opacity: 0;
    transition: opacity .15s;
    animation: spin 2s infinite linear;
}

/* Button */
.button {
    font-family: var(--helvetica);
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    color: var(--primaryLight);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 20px;
    transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}

.button.--icon {
    justify-content: space-between;
}

.button[disabled] svg {
    stroke: #C3C3C3;
}

.button:not([disabled]):hover .arrow-link {
    transform: rotate(45deg);
}

.button.--accent {
    background: var(--accent);
}

.button.--light {
    background: #fff;
    color: #050505;
}

.button.--black {
    background: #000;
}

.btn-show-more {
    padding: 15px 0;
    margin-top: 15px;
}

.btn-show-more.load {
    .load-more-cases {
        width: 34px;
        margin-left: 10px;
        opacity: 1;
    }
}

.button.--accent:not([disabled]):hover {
    background: var(--accentHover);
}

.button.--accent:not([disabled]):active {
    background: var(--accentActive);
}

.button.--accent[disabled] {
    background: #C3C3C3;
    cursor: default;
}

.button.--white {
    background: transparent;
    border: 1px solid var(--primaryLight);
}

.button.--white:not([disabled]):hover {
    border-color: var(--accentHover);
}

.button.--white:not([disabled]):active {
    border-color: var(--accentActive);
}

.button.--white[disabled] {
    border-color: #C3C3C3;
    color: #C3C3C3;
    cursor: default;
}

/* Checkbox */
.checkbox {
    display: flex;
    cursor: pointer;
}

.checkbox:hover .checkbox__box,
.checkbox:focus .checkbox__box {
    border-color: #A8A8A8;
}

.checkbox input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

input:checked+.checkbox__box {
    background: #fff;
    border-color: #fff;
}

.checkbox__box {
    width: 21px;
    height: 21px;
    border-radius: 50%;
    border: 1px solid #fff;
    margin-right: 8px;
    transition: background-color 0.25s, border-color 0.25s;
}

.checkbox__text {
    max-width: 175px;
    font-family: var(--roboto);
    font-size: 18px;
    text-transform: lowercase;
    color: #fff;
}

/* Input */
.input {
    max-width: 550px;
    position: relative;
}

.input input {
    font-family: var(--roboto);
    font-size: 20px;
    width: 100%;
    height: 70px;
    padding: 0 40px;
    background: var(--primaryLight);
    border: 1px solid transparent;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.25s, color 0.25s;
}

.input input.is-invalid {
    border-color: var(--accent);
}

.input input.is-invalid~span.input__error {
    position: absolute;
    top: calc(100% + 2px);
    left: 20px;
    font-size: 14px;
    color: var(--accent);
    display: block;
    opacity: 1;
}

span.input__error {
    display: none;
    opacity: 0;
    transition: opacity 0.25s;
}

.input input:-webkit-autofill {
    -webkit-text-fill-color: var(--primary);
    color: var(--primary) !important;
    border-color: transparent;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
}

.input input:focus,
.input input:hover,
.input input:-webkit-autofill:hover,
.input input:-webkit-autofill:focus {
    background: var(--primaryLight);
    border-color: #FFF;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
}



/* Video-components */
.video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: opacity 0.25s;
    z-index: 2;
}

.video__load {
    width: 50px;
    height: 50px;
    fill: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.25s;
    animation: spin-with-translate 2s infinite linear;
    pointer-events: none;
    z-index: 2;
}

.video__load.active {
    opacity: 1;
}

.video__image {
    z-index: 2;
}

.video__description {
    z-index: 3;
}

.video__description,
.video__image {
    transition: opacity 0.25s;
}

/* Header */
.header {
    background: #050505;
    padding: 25px 0;
    border-radius: 0 0 20px 20px;
    color: var(--primaryLight);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
}

.header.--hide {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}

.header__container {
    display: flex;
    align-items: center;
}

.header__logo {
    margin-right: 50px;
}

.header__contact {
    margin-left: auto;
}

.header__button {
    font-family: var(--roboto);
    font-weight: 400;
    font-size: 15px;
    color: var(--primaryLight);
    text-transform: uppercase;
    padding: 10px 16px;
    border: 1px solid var(--primaryLight);
    border-radius: 8px;
    transition: border-color 0.25s, color 0.25s;
}

.header__button:hover {
    border-color: var(--accent);
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    font-family: var(--helvetica);
    font-size: 16px;
}

.nav__link {
    margin-right: 20px;
    position: relative;
}

.nav__link::after {
    content: "";
    position: absolute;
    display: block;
    right: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.5s;
}

.nav__link:hover::after {
    content: "";
    width: 100%;
    display: block;
    position: absolute;
    left: 0;
    bottom: -3px;
    height: 2px;
    transition: width 0.5s;
}

/* Mobile nav */
.mobile-nav {
    width: 100%;
    height: 100%;
    background: var(--accent);
    transform: translate(0, -100%);
    transition: transform 0.3s;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 99;
}

.mobile-nav.--open {
    transform: translate(0, 0);
}

.mobile-nav__wrapper {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    padding: 0 10px;
    padding-top: calc(var(--headerHeight) + 30px) !important;
    padding-bottom: 60px !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.mobile-nav__nav {
    display: grid;
    grid-row-gap: 8px;
    align-items: center;
    justify-content: start;
    align-content: center;
    margin-bottom: 70px;
}

.mobile-nav__link {
    font-family: var(--unbounded);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primaryLight);
    font-size: 25px;
}

.mobile-nav__buttons {
    display: grid;
    grid-gap: 5px;
    grid-template-columns: repeat(2, 1fr);
}

.mobile-nav__call-button {
    font-family: var(--roboto);
    padding: 15px 10px;
    grid-column: 1/-1;
}

.mobile-nav__social-button {
    padding: 10px 0;
}

.mobile-nav__social-button.--vk svg {
    width: 29px;
    height: 29px;
}

.mobile-nav__social-button.--insta svg {
    width: 24px;
    height: 24px;
}

/* Burger */
.burger {
    width: 20px;
    height: 16px;
    position: relative;
}

.burger.--open .burger__line {
    opacity: 0;
}

.burger.--open::before {
    top: 50%;
    transform: translate(0, -50%) rotate(-45deg);
}

.burger.--open::after {
    bottom: 50%;
    transform: translate(0, 50%) rotate(45deg);
}

.burger::before,
.burger::after {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    right: 0;
    height: 2px;
    width: 100%;
    background: var(--primaryLight);
    border-radius: 3px;
    transition: transform 0.25s, top 0.25s, bottom 0.25s;
}

.burger::before {
    top: 0;
}

.burger::after {
    bottom: 0;
}

.burger__line {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
    height: 2px;
    width: 70%;
    background: var(--primaryLight);
    border-radius: 3px;
    transition: opacity 0.25s;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    height: var(--100vh);
    max-height: 1080px;
    border-radius: 0 0 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.hero__background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin-top: 30px;
}

.hero__background img,
.hero__background video {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.hero__container {
    position: relative;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.hero__content {
    height: 100%;
    color: var(--primaryLight);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero__title {
    color: inherit;
    margin-bottom: 15px;
    margin-top: 60px;
    max-width: 730px;
}

.hero__description {
    font-size: 22px;
    line-height: 105%;
    letter-spacing: -0.01em;
    max-width: 660px;
    margin-bottom: 60px;
}

.hero__buttons {
    display: flex;
}

.hero__buttons .button {
    padding: 25px 36px;
    max-width: 317px;
}

.hero__buttons .button+.button {
    margin-left: 16px;
}

/* Cases */
.cases__wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
}

.case-preview {
    display: block;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    filter: grayscale(100%);
    transition: filter 0.25s;
    cursor: pointer;
}

.case-preview::before {
    content: "";
    display: block;
    padding-top: 72.2852512156%;
}

.case-preview img,
.case-preview video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.case-preview:hover {
    filter: grayscale(0);
}

.case-preview__description {
    position: absolute;
    bottom: 20px;
    left: 35px;
    color: var(--primaryLight);
    z-index: 6;
}

.case-preview__footnote {
    font-family: var(--roboto);
    font-size: 21px;
    text-transform: lowercase;
    line-height: 105%;
}

.case-preview__title {
    min-height: 76px;
    font-family: var(--unbounded);
    font-size: 36px;
    font-weight: 400;
    line-height: 105%;
    letter-spacing: -0.01em;
}


/* Case content */
.case-content__preview {
    display: block;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    filter: grayscale(100%);
    transition: filter 0.25s;
    cursor: pointer;

}

.case-content__preview::before {
    content: "";
    display: block;
    padding-top: 72.2852512156%;
}

.case-content__preview img,
.case-content__preview video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.case-content__preview:hover {
    filter: grayscale(0);
}

.case-content__preview-description {
    position: absolute;
    bottom: 20px;
    left: 35px;
    color: var(--primaryLight);
    z-index: 6;
}

.case-content__preview-footnote {
    font-family: var(--roboto);
    font-size: 21px;
    text-transform: lowercase;
    line-height: 105%;
}

.case-content__preview-title {
    min-height: 76px;
    font-family: var(--unbounded);
    font-size: 36px;
    font-weight: 400;
    line-height: 105%;
    letter-spacing: -0.01em;
}


/* Services */
.services__wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: -5px;
}

.services__item {
    flex: 0 0 calc(50% - 10px);
    margin: 5px;
}

.service-preview {
    height: 177px;
    background: #fff;
    border-radius: 20px;
    transition: background-color 0.25s;
}

.service-preview:hover {
    background: #A8A8A8;
}

.service-preview:hover .arrow-link {
    transform: rotate(45deg);
}

.service-preview:active {
    background: var(--accentHover);
}

.service-preview__link {
    display: flex;
    align-items: flex-end;
    height: 100%;
    width: 100%;
    position: relative;
    padding: 20px 35px;
}

.service-preview svg {
    position: absolute;
    top: 20px;
    right: 35px;
    z-index: 1;
}

.service-preview__title {
    max-width: 430px;
    font-family: var(--unbounded);
    font-size: 30px;
    font-weight: 400;
    color: #050505;
    line-height: 105%;
    letter-spacing: -0.01em;
    text-transform: lowercase;
}

/* Service */
.service {
    margin-top: var(--headerHeight);
    padding-top: 65px;
}

.service__head {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-gap: 15px 50px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.service__title,
.service__subtitle {
    font-family: var(--unbounded);
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
}

.service__subtitle {
    max-width: 80%;
    margin-bottom: 30px;
}

.service__head-button .button {
    padding: 25px 30px;
    font-weight: 700;
}

.service__media {
    display: block;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transform: translateZ(0);
    margin-bottom: 80px;
}

.service__media.iframe {
    aspect-ratio: 16/9;
}

.iframe__poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;

    -webkit-transition: opacity .3s;
    -moz-transition: opacity .3s;
    -ms-transition: opacity .3s;
    -o-transition: opacity .3s;
    transition: opacity .3s;
}

.iframe__poster~iframe {
    opacity: 0;
}

.service__media iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    margin: 0;
    padding: 0;
    border: none;

}

.service__description {
    margin-bottom: 55px;
}

.service__description ul {
    list-style: disc;
    padding-left: 40px;
}

.service__description ol {
    list-style: decimal;
    padding-left: 40px;
}

.service__description .content {
    height: 140px;
    font-family: var(--roboto);
    font-size: 22px;
    line-height: 120%;
    letter-spacing: -0.01em;
}

/* Shooting steps */
.shooting-step {
    overflow: hidden;
}

.shooting-step__list {
    display: flex;
    flex-wrap: wrap;
    margin: -6px;
}

.shooting-step__item {
    padding: 45px 35px;
    height: 320px;
    flex: 0 0 calc(50% - 12px);
    background: var(--secondary);
    font-family: var(--unbounded);
    color: var(--primaryLight);
    border-radius: 20px;
    margin: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.shooting-step__button {
    font-family: var(--helvetica);
    align-items: start;
}

.shooting-step__button:hover {
    background: var(--accentHover);
}

.shooting-step__button:active {
    background: var(--accentActive);
}

.shooting-step__button svg {
    align-self: flex-end;
}

.shooting-step__number {
    font-size: 30px;
}

.shooting-step__description {
    font-size: 22px;
}

.shooting-step__description ul {
    list-style-type: disc;
    padding-left: 30px;
    font-size: 20px;
}

/* Advantages */
.advantages {
    margin-bottom: 80px;
}

.advantages__list {
    display: flex;
    flex-wrap: wrap;
    margin: -6px;
    margin-bottom: 30px;
}

.advantages__item {
    flex: 0 0 calc(50% - 12px);
    padding: 25px 30px;
    margin: 6px;
    background: var(--primaryLight);
    box-shadow: -3px 3px 22px rgba(0, 0, 0, 0.14);
    border-radius: 20px;
    font-family: var(--unbounded);
    font-size: 22px;
}

.advantages__button .button {
    width: 100%;
    height: 78px;
}

/* Show-more */
.show-more__content {
    position: relative;
    overflow: hidden;
    transition: height 0.25s;
}

.show-more__hide {
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, #ffffff 100%);
    transition: opacity 0.25s;
}

.show-more__btn {
    display: inline-block;
    margin-top: 5px;
    font-size: 18px;
    text-decoration: underline;
    color: #AAA5A5;
    cursor: pointer;
}

.show-more__btn:hover {
    color: var(--accent);
}

/* Form card */
.form-card__item {
    display: flex;
    align-items: stretch;
    border-radius: 20px;
    overflow: hidden;
    background: #F6F8FA;
    box-shadow: -3px 3px 22px rgba(0, 0, 0, 0.14);
}

.form-card__item.--show {
    z-index: 5;
    opacity: 1;
}

.form-card__item.--hide {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    height: 0;
    width: 0;
}

.form-card__content {
    align-self: center;
    flex: 1 0 55%;
    padding: 45px 70px;
}

.form-card__image {
    flex: 1 0 45%;
    border-radius: 20px;
    box-shadow: -3px 3px 22px rgba(0, 0, 0, 0.14);
}

.form-card__thank {
    font-family: var(--unbounded);
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--primary);
}

.form-card__thank span {
    color: var(--accent);
}

/* Quiz */
.quiz__form-wrapper {
    display: flex;
    height: 455px;
    align-items: stretch;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: -3px 3px 22px rgba(0, 0, 0, 0.14);
}

.quiz__form {
    flex: 0 0 55%;
    padding: 45px 70px;
    display: flex;
    flex-direction: column;
    position: relative;
    color: #fff;
}

.quiz__image {
    flex: 0 0 45%;
    display: block;
    overflow: hidden;
    position: relative;
}

.quiz__image::before {
    content: "";
    display: block;
    padding-top: 73%;
}

.quiz__image img,
.quiz__image video {
    position: absolute;
    border-radius: 20px;
    top: 50%;
    left: 0;
    right: 0;
    transform: translate(0, -50%);
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.quiz__title {
    font-size: 30px;
    font-family: var(--unbounded);
    max-width: 767px;
    margin-bottom: 30px;
}

.quiz__ask {
    margin-bottom: 20px;
    transition: opacity .25s;
}

.quiz__ask.--hide {
    position: absolute;
    pointer-events: none;
    opacity: 0;
}

.quiz__answer {
    display: grid;
    grid-template-columns: repeat(2, 205px);
    grid-gap: 15px;
}

.quiz__input {
    max-width: 400px;
    color: #000;
}

.quiz__input+.quiz__input {
    margin-top: 30px;
}

.quiz__button-next {
    max-width: 320px;
    height: 78px;
    margin-top: auto;
}

.send-quiz-load-icon {
    width: 25px;
    height: 25px;
    fill: #fff;
    opacity: 0;
    transition: opacity 0.25s;
    animation: spin 2s infinite linear;
}

.quiz__button-submit {
    max-width: 320px;
    height: 78px;
    margin-top: 30px;
    display: none;
}

.quiz__button-submit.load .send-quiz-load-icon {
    margin-left: 10px;
    opacity: 1;
}

.quiz__button-ok {
    height: 65px;
    max-width: 400px;
    padding: 27px 0 22px;
    margin-top: 30px;
}

.quiz__finish.--hide {
    position: absolute;
    pointer-events: none;
    opacity: 0;
}

.quiz__thank {
    display: none;
    font-family: var(--unbounded);
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    align-self: center;
    padding: 45px 70px;
}


/* Call-back */
.call-back {
    padding-bottom: 40px;
}

.call-back__card {
    display: flex;
    align-items: stretch;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: -3px 3px 22px rgba(0, 0, 0, 0.14);
}

.call-back__content {
    align-self: center;
    flex: 0 0 55%;
    padding: 45px 70px;
}

.call-back__image {
    flex: 0 0 45%;
    border-radius: 20px;
    box-shadow: -3px 3px 22px rgba(0, 0, 0, 0.14);
    aspect-ratio: 529 / 608;
}

.call-back__title {
    font-family: var(--unbounded);
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 25px;
}

.call-back__title span {
    color: #fff;
}

.call-back__input {
    max-width: 400px;
}

.call-back__input+.call-back__input {
    margin-top: 30px;
}

.call-back__button {
    height: 65px;
    max-width: 400px;
    padding: 27px 0 22px;
    margin-top: 30px;
}

.call-back__button--light {
    background: #fff;
    color: #050505;
}

.call-back__button--light:hover {
    background: #A8A8A8;
}

.call-back__button.load .send-call-back-load-icon {
    opacity: 1;
    margin-left: 10px;
}

.send-call-back-load-icon {
    width: 25px;
    height: 25px;
    fill: #fff;
    opacity: 0;
    transition: opacity 0.25s;
    animation: spin 2s infinite linear;
}

.call-back__thank {
    display: none;
    font-family: var(--unbounded);
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
}

.call-back__image {
    display: block;
    overflow: hidden;
    position: relative;
}

.call-back__image::before {
    content: "";
    display: block;
    padding-top: 73%;
}

.call-back__image img,
.call-back__image video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

/* Showreel */
.showreel__video {
    background: var(--secondary);
    border-radius: 20px;
    transform: translateZ(0);
    display: block;
    overflow: hidden;
    position: relative;
}

.showreel__video img,
.showreel__video video,
.showreel__video iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    margin: 0;
    padding: 0;
    border: none;
}

.showreel__description {
    text-transform: uppercase;
    color: var(--primaryLight);
    position: absolute;
    left: 75px;
    bottom: 70px;
}

.showreel__footnote {
    font-family: var(--helvetica);
    font-size: 20px;
}

.showreel__title {
    font-family: var(--unbounded);
    font-size: 40px;
}

/* Ticker */
.ticker {
    width: 100%;
    height: 68px;
}

.ticker .swiper-slide {
    height: 100%;
}

.ticker .swiper-wrapper {
    transition-timing-function: linear !important;
}

.ticker__track {
    height: 100%;
}

.ticker__list {
    display: flex;
    align-items: center;
}

.ticker__item img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    filter: grayscale(1) contrast(0.5);
}

/* Contacts */
.contacts__wrapper {
    display: grid;
    grid-template-columns: 3fr 3fr 1fr;
    grid-template-rows: 84px 84px 420px;
    grid-gap: 10px;
}

.contacts__item {
    border-radius: 20px;
    overflow: hidden;
    background: var(--accent);
    transition: background-color 0.25s;
}

.contacts__item:not(.contacts__address, .contacts__map):hover {
    background: var(--accentHover);
}

.contacts__item:not(.contacts__address, .contacts__map):active {
    background: var(--accentActive);
}

.contacts__title {
    font-family: var(--unbounded);
    font-size: 25px;
    font-weight: 800;
    color: var(--primaryLight);
    text-transform: uppercase;
}

.contacts__phone,
.contacts__email {
    grid-row: 1/3;
}

.contacts__phone a,
.contacts__email a {
    padding: 25px 30px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
    position: relative;
}

.contacts__phone svg,
.contacts__email svg {
    position: absolute;
    top: 25px;
    right: 30px;
    width: 25px;
    height: 25px;
}

.contacts__vk a,
.contacts__instagram a {
    padding: 25px 30px;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacts__address {
    grid-column: 1/2;
    padding: 25px 30px;
    background: var(--secondary);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-direction: column;
}

.contacts__address ul {
    font-family: var(--helvetica);
    font-size: 17px;
    color: var(--primaryLight);
    margin-bottom: 20px;
}

.contacts__address ul .address__street {
    transition: color 0.25s;
}

.contacts__address ul li+li {
    margin-top: 20px;
}

.contacts__map {
    grid-column: 2/-1;
    background: #ccc;
    filter: grayscale(1);
    transition: filter 0.25s;
}

.contacts__map:hover {
    filter: grayscale(0);
}

/* Footer */
.footer {
    margin-top: 85px;
    background: #050505;
    color: #fff;
    border-radius: 20px 20px 0 0;
}

.footer__top {
    padding: 40px 0;
}

.footer__top .footer__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__bottom {
    padding: 50px 0;
    background: var(--secondary);
    border-radius: 20px 20px 0 0;
}

.footer__bottom .footer__container {
    display: grid;
    grid-template-columns: 3fr 1fr;
}

.footer__logo {
    margin-bottom: 35px;
}

.footer__logo .svg-logo {
    width: 287px;
    height: 32px;
}

.footer__scroll-up {
    width: 180px;
    height: 135px;
    padding: 15px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--secondary);
    position: relative;
    color: #BFB8B8;
}

.footer__scroll-up button {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    transition: color 0.25s;
}

.footer__scroll-up:hover button {
    color: var(--primaryLight);
}

.footer__scroll-up:hover button svg {
    stroke: var(--primaryLight);
    transform: rotate(-45deg);
}

.footer__scroll-up span {
    font-size: 20px;
    font-family: var(--unbounded);
    font-weight: 700;
}

.footer__scroll-up .arrow-link {
    position: absolute;
    top: 18px;
    right: 18px;
    stroke: #BFB8B8;
}

.footer__contacts {
    text-align: right;
}

.footer__phone {
    font-family: var(--unbounded);
    font-size: 27px;
    font-weight: 800;
    margin-bottom: 25px;
    transition: color 0.25s;
}

.footer__phone:hover {
    color: var(--accent);
}

.footer__social li+li {
    margin-top: 15px;
}

.footer__social a {
    font-family: var(--roboto);
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: underline;
    transition: color 0.25s, text-decoration-color 0.25s;
}

.footer__social a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

/* Footer menu */
.menu {
    font-family: var(--roboto);
}

.menu__item {
    margin-bottom: 15px;
}

.menu__item ul li a {
    font-size: 14px;
    line-height: 169%;
    color: #C3C3C3;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: color 0.25s, text-decoration-color 0.25s;
}

.menu__item ul li a:hover {
    color: var(--primaryLight);
    text-decoration-color: var(--primaryLight);
}

.menu__title {
    font-size: 16px;
    margin-bottom: 10px;
}

.modal-video {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .8);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    -webkit-transition: opacity .25s;
    -moz-transition: opacity .25s;
    -ms-transition: opacity .25s;
    -o-transition: opacity .25s;
    transition: opacity .25s;

}

.modal-video.--open {
    opacity: 1;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;

}

.modal-video__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    z-index: 1;

    cursor: pointer;
}

.modal-video__close::before,
.modal-video__close::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    border-radius: 3px;
    background: var(--secondary);
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.modal-video__close::before {
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    -moz-transform: translate(-50%, -50%) rotate(45deg);
    -ms-transform: translate(-50%, -50%) rotate(45deg);
    -o-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
}

.modal-video__close::after {
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    -moz-transform: translate(-50%, -50%) rotate(-45deg);
    -ms-transform: translate(-50%, -50%) rotate(-45deg);
    -o-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-video__inner {
    width: 80%;
    aspect-ratio: 16/0;
    position: relative;
}

.modal-video iframe {
    width: 100%;
    position: relative;
    aspect-ratio: 16/9;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 24px;
    overflow: hidden;
    background: var(--secondary);
}


@media screen and (max-width: 1440px) {
    [class*=__container] {
        max-width: 1310px;
    }

    /* Hero */
    .hero {
        max-height: 800px;
    }
}

@media screen and (max-width: 1170px) {
    .quiz__answer {
        grid-template-columns: 1fr;
    }

    .quiz__form,
    .call-back__content {
        padding: 40px 30px;
    }
}


@media screen and (max-width: 1024px) {

    .section {
        padding-top: 65px;
    }

    [class*=__container] {
        padding: 0 20px;
    }

    h1,
    .h1-like {
        font-size: 36px;
    }

    h2,
    .h2-like {
        font-size: 30px;
    }

    .input input.is-invalid~span.input__error {
        left: 10px
    }

    /* Icons */
    .svg-logo {
        width: 101px;
        height: 12px;
    }

    .play {
        width: 73px;
        height: 72px;
    }

    /* Button */
    .button {
        font-size: 14px;
        border-radius: 10px;
    }

    /* Checkbox */
    .checkbox__text {
        font-size: 14px;
    }

    /* Input */
    .input input {
        height: 50px;
        padding: 0 30px;
        border-radius: 10px;
    }

    /* Header */
    .header {
        padding: 13px 0;
    }

    .header__button {
        font-size: 12px;
        padding: 6px 13px;
    }

    /* Nav */
    .nav {
        font-size: 12px;
    }

    /* Hero */
    .hero {
        max-height: 580px;
    }

    .hero__content {
        justify-content: flex-end;
        padding-bottom: 70px;
    }

    .hero__title {
        margin-top: 0;
        max-width: 400px;
    }

    .hero__description {
        font-size: 14px;
        max-width: 270px;
        margin-bottom: 40px;
    }

    .hero__buttons .button {
        padding: 16px 12px;
        max-width: 300px;
    }

    .hero__buttons .button+.button {
        margin-left: 10px;
    }

    /* Cases */
    .cases {
        padding-top: 65px;
    }

    .case-preview__description {
        bottom: 15px;
        left: 15px;
    }

    .case-preview__footnote {
        font-size: 12px;
    }

    .case-preview__title {
        min-height: 38px;
        max-width: 230px;
        font-size: 18px;
    }

    /* Services */
    .service-preview {
        height: 99px;
    }

    .service-preview__title {
        font-size: 18px;
    }

    /* Service */
    .service__head {
        margin-bottom: 30px;
    }

    .service__title,
    .service__subtitle {
        font-size: 30px;
    }

    .service__head-button .button {
        padding: 15px 12px;
    }

    .service__media {
        display: block;
        overflow: hidden;
        position: relative;
    }

    .service__description .content {
        font-size: 14px;
    }

    /* Shootin steps */
    .shooting-step__number {
        font-size: 24px;
    }

    .shooting-step__description {
        font-size: 16px;
    }

    .shooting-step__description ul {
        padding-left: 25px;
        font-size: 14px;
    }

    /* Advantages */
    .advantages__item {
        padding: 15px 20px;
        font-size: 12px;
    }

    /* Form card */
    .form-card__content {
        padding: 30px 15px;
    }

    /* Quiz */
    .quiz__title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .quiz__form-wrapper {
        height: auto;
        min-height: 421px;
    }

    .quiz__answer-options {
        grid-template-columns: 1fr;
        grid-gap: 5px;
    }

    .quiz__button {
        max-width: 340px;
        margin-top: 20px;
        padding: 15px 20px;
    }

    .quiz__button-submit {
        margin-top: auto;
    }

    /* Call-back */
    .call-back__title {
        font-size: 30px;
    }

    /* Showreel */
    .showreel__description {
        left: 15px;
        bottom: 45px;
    }

    .showreel__footnote {
        font-size: 14px;
    }

    .showreel__title {
        font-size: 26px;
    }

    /* Ticker */
    .ticker {
        height: 54px;
    }

    /* Contacts */
    .contacts__wrapper {
        grid-template-rows: 84px 84px 350px;
    }

    .contacts__title {
        font-size: 16px;
    }

    .contacts__address ul {
        font-size: 13px;
    }

    .contacts__address ul li+li {
        margin-top: 15px;
    }

    /* Footer */
    .footer__bottom .footer__container {
        grid-template-columns: 1fr;
    }

    .footer__logo {
        margin-bottom: 20px;
    }

    .footer__logo .svg-logo {
        width: 220px;
        height: 24px;
    }

    .footer__contacts {
        -moz-text-align-last: left;
        text-align-last: left;
        margin-bottom: 35px;
        grid-row: 1/2;
    }

}

@media screen and (max-width: 767px) {

    [class*=__container] {
        padding: 0 10px;
    }

    h1,
    .h1-like {
        font-size: 32px;
    }

    /* Input */
    .input input {
        padding: 15px 20px;
        font-size: 16px;
    }

    /* Header */
    .header {
        padding: 20px 0;
        border-radius: 0 0 10px 10px;
    }

    .header__nav {
        display: none;
    }

    .header__button {
        display: none;
    }

    /* Hero */
    .hero {
        min-height: var(--100vh);
        height: 100%;
    }

    .hero__content {
        padding-bottom: 50px;
    }

    .hero__description {
        margin-bottom: 30px;
    }

    .hero__buttons {
        display: block;
    }

    .hero__buttons .button {
        max-width: 100%;
    }

    .hero__buttons .button+.button {
        margin-left: 0;
        margin-top: 10px;
    }

    /* Cases */
    .cases__wrapper {
        grid-template-columns: 1fr;
    }

    .case-preview__description {
        left: 10px;
    }

    /* Services */
    .services__wrapper {
        margin: -5px 0;
    }

    .services__item {
        flex: 0 0 100%;
        margin: 5px 0;
    }

    /* Service */
    .service__head {
        grid-template-columns: 1fr;
        margin-bottom: 20px;
    }

    .service__title,
    .service__subtitle {
        font-size: 24px;
    }

    .service__subtitle {
        max-width: 100%;
    }

    .service__media {
        display: block;
        overflow: hidden;
        position: relative;
    }

    /* Shootinf steps */
    .shooting-step__list {
        flex-wrap: nowrap;
        overflow-y: hidden;
        overflow-x: auto;
    }

    .shooting-step__list *::-webkit-scrollbar {
        width: 0;
    }

    .shooting-step__list *::-webkit-scrollbar-track {
        background: transparent;
    }

    .shooting-step__list *::-webkit-scrollbar-thumb {
        background-color: transparent;
        border-radius: 0;
        border: none;
    }

    .shooting-step__item {
        flex: 0 0 85%;
        padding: 25px 12px;
        height: 250px;
    }

    .shooting-step__number {
        font-size: 18px;
    }

    .shooting-step__description {
        font-size: 14px;
    }

    .shooting-step__description ul {
        padding-left: 20px;
        font-size: 12px;
    }

    /* Advantages */
    .advantages__list {
        margin: 0;
        margin-bottom: 20px;
    }

    .advantages__item {
        flex: 0 0 100%;
        padding: 20px 15px;
        margin: 0;
        font-size: 14px;
    }

    .advantages__item+.advantages__item {
        margin-top: 10px;
    }

    /* Form card */
    .form-card__item {
        flex-direction: column;
    }

    .form-card__content {
        padding: 30px 10px;
        align-self: flex-start;
        width: 100%;
    }

    /* Quiz */
    .quiz__form-wrapper {
        flex-direction: column;
    }

    .quiz__form {
        padding: 30px 10px;
    }

    .quiz__button-next,
    .quiz__button-submit {
        height: 65px;
        max-width: 100%;
    }

    .quiz__input+.quiz__input {
        margin-top: 25px;
    }

    .quiz__button-submit {
        margin-top: 25px;
    }

    /* Call-back */
    .call-back__card {
        flex-direction: column;
    }

    .call-back__content {
        padding: 30px 10px;
        align-self: flex-start;
        width: 100%;
    }

    .call-back__input+.call-back__input {
        margin-top: 25px;
    }

    .call-back__button-submit {
        margin-top: 25px;
    }

    .call-back__image {
        display: block;
        overflow: hidden;
        position: relative;
    }

    .call-back__image::before {
        content: "";
        display: block;
        padding-top: 82.3333333333%;
    }

    .call-back__image img,
    .call-back__image video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
    }

    /* Showreel */
    .showreel__video {
        display: block;
        overflow: hidden;
        position: relative;
    }

    /* .showreel__video::before {
      content: "";
      display: block;
      padding-top: 178.3333333333%;
    } */
    .showreel__description {
        left: 25px;
        bottom: 50px;
    }

    /* Contacts */
    .contacts__wrapper {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 134px 134px 86px auto 300px;
    }

    .contacts__phone,
    .contacts__email {
        grid-column: 1/3;
        grid-row: auto;
    }

    .contacts__address {
        grid-column: 1/3;
    }

    .contacts__map {
        grid-column: 1/3;
    }

    /* Footer */
    .footer {
        margin-top: 10px;
    }

    .footer__top .footer__container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__scroll-up {
        width: 270px;
        height: 120px;
        margin-top: 25px;
    }

    .modal-video__close {
        top: 10px;
        right: 10px;
        width: 20px;
        height: 20px;
    }
}

/* Other media */
@media screen and (min-width: 1170px) {
    .case-preview__play {
        display: none;
    }
}

@media screen and (max-width: 1024px) and (min-width: 481px) {
    .cases__wrapper {
        grid-gap: 6px;
    }
}

@media screen and (max-width: 1023px) {

    .contacts__phone svg,
    .contacts__email svg {
        width: 23px;
        height: 23px;
    }

    .modal-video__inner {
        width: 95%;
    }
}

@media screen and (max-width: 767px) and (orientation: landscape) {
    .cases__wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 768px) {
    .btn-show-more {
        margin-top: 20px;
    }

    .header__burger {
        display: none;
    }

    .mobile-nav {
        display: none;
    }
}

@media screen and (orientation: landscape) {
    .mobile-nav__wrapper {
        display: block;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-with-translate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}



/*  НАЧАЛО ШАБЛОНА СТРАНИЦЫ КОНТЕНТ КЕЙС     */

.page-cc__title,
.page-cc__subtitle {
    font-family: var(--unbounded);
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
}

.page-cc__subtitle {
    margin-block: 30px 20px;
}

@media screen and (max-width: 767px) {

    .page-cc__title,
    .page-cc__subtitle {
        font-size: 24px;
    }
}

@media screen and (max-width: 1024px) {

    .page-cc__title,
    .page-cc__subtitle {
        font-size: 30px;
    }
}

.page-cc__image+.page-cc__head {
    margin-top: 30px;
}

.page-cc__title span {
    color: var(--accent);
}

.page-cc__description {
    line-height: 1.3;
    margin-bottom: 30px;
}

.page-cc__image {
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* @media screen and (max-width: 1024px) {
        .page-cc__image {
            aspect-ratio: 4/3;
        }
    } */

.page-cc__image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.page-cc__video div {
    margin-bottom: 30px;
}

/*  КОНЕЦ ШАБЛОНА СТРАНИЦЫ КОНТЕНТ КЕЙС     */




/*  НАЧАЛО ШАБЛОНА СЕКЦИИ КОНТЕНТ КЕЙС     */

/* Case content */
.case-content__preview {
    display: block;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    filter: grayscale(100%);
    transition: filter 0.25s;
    cursor: pointer;
    aspect-ratio: 16/9;
    gap: 15px;
}

.case-content__preview::before {
    content: "";
    display: block;
    padding-top: 72.2852512156%;
}

.case-content__preview img,
.case-content__preview video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.case-content__preview:hover {
    filter: grayscale(0);
}

.case-content__preview-description {
    position: absolute;
    bottom: 20px;
    left: 35px;
    right: 35px;
    color: var(--primaryLight);
    z-index: 6;
    justify-content: space-between;
    align-items: center;
    width: -webkit-fill-available;
}

@media screen and (min-width: 420px) {
    .case-content__preview-description {
        display: flex;
    }
}

.case-content__preview-footnote {
    font-family: var(--roboto);
    font-size: 21px;
    text-transform: lowercase;
    line-height: 105%;
}

.case-content__preview-title {
    min-height: 76px;
    font-family: var(--unbounded);
    font-size: 36px;
    font-weight: 400;
    line-height: 105%;
    letter-spacing: -0.01em;
}

.ccpd__button {
    padding: 16px 12px;
    box-sizing: border-box;
    max-width: 300px;
}

@media screen and (max-width: 420px) {
    .ccpd__button {
        max-width: 200px;
        align-self: left;
    }
}

@media screen and (min-width: 1025px) {
    .ccpd__button {
        padding: 25px 36px;
    }
}

@media screen and (max-width: 1024px) {

    /* Case content */
    .case-content__preview {
        aspect-ratio: 4/3;
    }

    .case-content {
        padding-top: 65px;
    }

    .case-content__preview-description {
        bottom: 15px;
        left: 15px;
    }

    .case-content__preview-footnote {
        font-size: 12px;
    }

    .case-content__preview-title {
        min-height: 38px;
        max-width: 230px;
        font-size: 18px;
    }
}


/*  КОНЕЦ ШАБЛОНА СЕКЦИИ КОНТЕНТ КЕЙС     */


/*   НАЧАЛО СТИЛЕЙ КОНТАКТОВ ФУТЕРА   */

.contacts__item-icon {
    position: absolute;
    top: 25px;
}

.contacts__address {
    position: relative;
}

.contacts__address ul  {
    margin-top: 70px;
}

.address__city {
    font-size: 17px;
    font-weight: 700;
}

.address__street {
    color: #ccc;
}

.address__city {
    font-family: var(--unbounded) !important;
    text-transform: uppercase;
}

/*   КОНЕЦ СТИЛЕЙ КОНТАКТОВ ФУТЕРА   */
